aws-sdk-servicediscovery 1.62.0 → 1.64.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +149 -53
- 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: f58e644b0ac9d96ca5696c7b00294ef06b9ee45cbc48664bbfa6338994eb93f8
|
4
|
+
data.tar.gz: 3b38d6f1820a79542a9b67090448ca510c6fcb3fac6219aa40c2d88842c4f841
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ead97d91457be5ffc2e913778bef4b04f7bb1a2ed89526cef760c3650ae34f39143b3f053a33ccf20af569661d9c52dd686d0e527ae22ef9ce26968c477d0b35
|
7
|
+
data.tar.gz: 6d118833afb96565623e6c357fd8864dc09fbd7daafb1031c263ebc484df9c4be5d3994e6fe8e1a90da93ff19f6c542ee3b47c21e667c5d021a4afeba8bb3d3c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.63.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.62.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.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
|
@@ -292,8 +301,9 @@ module Aws::ServiceDiscovery
|
|
292
301
|
#
|
293
302
|
# @option options [String] :sdk_ua_app_id
|
294
303
|
# A unique and opaque application ID that is appended to the
|
295
|
-
# User-Agent header as app
|
296
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
297
307
|
#
|
298
308
|
# @option options [String] :secret_access_key
|
299
309
|
#
|
@@ -347,50 +357,65 @@ module Aws::ServiceDiscovery
|
|
347
357
|
# @option options [Aws::ServiceDiscovery::EndpointProvider] :endpoint_provider
|
348
358
|
# 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
359
|
#
|
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
|
-
#
|
360
|
+
# @option options [Float] :http_continue_timeout (1)
|
361
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
362
|
+
# request body. This option has no effect unless the request has "Expect"
|
363
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
364
|
+
# behaviour. This value can safely be set per request on the session.
|
365
|
+
#
|
366
|
+
# @option options [Float] :http_idle_timeout (5)
|
367
|
+
# The number of seconds a connection is allowed to sit idle before it
|
368
|
+
# is considered stale. Stale connections are closed and removed from the
|
369
|
+
# pool before making a request.
|
370
|
+
#
|
371
|
+
# @option options [Float] :http_open_timeout (15)
|
372
|
+
# The default number of seconds to wait for response data.
|
373
|
+
# This value can safely be set per-request on the session.
|
374
|
+
#
|
375
|
+
# @option options [URI::HTTP,String] :http_proxy
|
376
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
377
|
+
#
|
378
|
+
# @option options [Float] :http_read_timeout (60)
|
379
|
+
# The default number of seconds to wait for response data.
|
380
|
+
# This value can safely be set per-request on the session.
|
381
|
+
#
|
382
|
+
# @option options [Boolean] :http_wire_trace (false)
|
383
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
384
|
+
#
|
385
|
+
# @option options [Proc] :on_chunk_received
|
386
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
387
|
+
# of the response body is received. It provides three arguments: the chunk,
|
388
|
+
# the number of bytes received, and the total number of
|
389
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
390
|
+
#
|
391
|
+
# @option options [Proc] :on_chunk_sent
|
392
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
393
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
394
|
+
# the number of bytes read from the body, and the total number of
|
395
|
+
# bytes in the body.
|
396
|
+
#
|
397
|
+
# @option options [Boolean] :raise_response_errors (true)
|
398
|
+
# When `true`, response errors are raised.
|
399
|
+
#
|
400
|
+
# @option options [String] :ssl_ca_bundle
|
401
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
402
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
403
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
404
|
+
#
|
405
|
+
# @option options [String] :ssl_ca_directory
|
406
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
407
|
+
# authority files for verifying peer certificates. If you do
|
408
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
409
|
+
# default will be used if available.
|
378
410
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
411
|
+
# @option options [String] :ssl_ca_store
|
412
|
+
# Sets the X509::Store to verify peer certificate.
|
382
413
|
#
|
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.
|
414
|
+
# @option options [Float] :ssl_timeout
|
415
|
+
# Sets the SSL timeout in seconds
|
388
416
|
#
|
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.
|
417
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
418
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
394
419
|
#
|
395
420
|
def initialize(*args)
|
396
421
|
super
|
@@ -1052,6 +1077,9 @@ module Aws::ServiceDiscovery
|
|
1052
1077
|
# @option params [required, String] :namespace_name
|
1053
1078
|
# The `HttpName` name of the namespace. It's found in the
|
1054
1079
|
# `HttpProperties` member of the `Properties` member of the namespace.
|
1080
|
+
# In most cases, `Name` and `HttpName` match. However, if you reuse
|
1081
|
+
# `Name` for namespace creation, a generated hash is added to `HttpName`
|
1082
|
+
# to distinguish the two.
|
1055
1083
|
#
|
1056
1084
|
# @option params [required, String] :service_name
|
1057
1085
|
# The name of the service that you specified when you registered the
|
@@ -1180,6 +1208,21 @@ module Aws::ServiceDiscovery
|
|
1180
1208
|
#
|
1181
1209
|
# * {Types::DiscoverInstancesRevisionResponse#instances_revision #instances_revision} => Integer
|
1182
1210
|
#
|
1211
|
+
#
|
1212
|
+
# @example Example: To discover the revision for a registered instance
|
1213
|
+
#
|
1214
|
+
# # The following example discovers the revision ID for a registered instance.
|
1215
|
+
#
|
1216
|
+
# resp = client.discover_instances_revision({
|
1217
|
+
# namespace_name: "example-namespace",
|
1218
|
+
# service_name: "example-service",
|
1219
|
+
# })
|
1220
|
+
#
|
1221
|
+
# resp.to_h outputs the following:
|
1222
|
+
# {
|
1223
|
+
# instances_revision: 123456,
|
1224
|
+
# }
|
1225
|
+
#
|
1183
1226
|
# @example Request syntax with placeholder values
|
1184
1227
|
#
|
1185
1228
|
# resp = client.discover_instances_revision({
|
@@ -1867,7 +1910,7 @@ module Aws::ServiceDiscovery
|
|
1867
1910
|
end
|
1868
1911
|
|
1869
1912
|
# Lists summary information for all the services that are associated
|
1870
|
-
# with one or more
|
1913
|
+
# with one or more namespaces.
|
1871
1914
|
#
|
1872
1915
|
# @option params [String] :next_token
|
1873
1916
|
# For the first `ListServices` request, omit this value.
|
@@ -2129,12 +2172,10 @@ module Aws::ServiceDiscovery
|
|
2129
2172
|
#
|
2130
2173
|
# * For each attribute, the applicable value.
|
2131
2174
|
#
|
2132
|
-
#
|
2175
|
+
# Do not include sensitive information in the attributes if the
|
2133
2176
|
# namespace is discoverable by public DNS queries.
|
2134
2177
|
#
|
2135
|
-
#
|
2136
|
-
#
|
2137
|
-
# Supported attribute keys include the following:
|
2178
|
+
# The following are the supported attribute keys.
|
2138
2179
|
#
|
2139
2180
|
# AWS\_ALIAS\_DNS\_NAME
|
2140
2181
|
#
|
@@ -2165,6 +2206,9 @@ module Aws::ServiceDiscovery
|
|
2165
2206
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2166
2207
|
# values for any of the `AWS_INSTANCE` attributes.
|
2167
2208
|
#
|
2209
|
+
# * The `AWS_ALIAS_DNS_NAME` is not supported in the GovCloud (US)
|
2210
|
+
# Regions.
|
2211
|
+
#
|
2168
2212
|
# AWS\_EC2\_INSTANCE\_ID
|
2169
2213
|
#
|
2170
2214
|
# : *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
@@ -2406,6 +2450,23 @@ module Aws::ServiceDiscovery
|
|
2406
2450
|
#
|
2407
2451
|
# * {Types::UpdateHttpNamespaceResponse#operation_id #operation_id} => String
|
2408
2452
|
#
|
2453
|
+
#
|
2454
|
+
# @example Example: To update a HTTP namespace
|
2455
|
+
#
|
2456
|
+
# # The following example updates the description of a HTTP namespace.
|
2457
|
+
#
|
2458
|
+
# resp = client.update_http_namespace({
|
2459
|
+
# id: "ns-vh4nbmEXAMPLE",
|
2460
|
+
# namespace: {
|
2461
|
+
# description: "The updated namespace description.",
|
2462
|
+
# },
|
2463
|
+
# })
|
2464
|
+
#
|
2465
|
+
# resp.to_h outputs the following:
|
2466
|
+
# {
|
2467
|
+
# operation_id: "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE",
|
2468
|
+
# }
|
2469
|
+
#
|
2409
2470
|
# @example Request syntax with placeholder values
|
2410
2471
|
#
|
2411
2472
|
# resp = client.update_http_namespace({
|
@@ -2506,6 +2567,41 @@ module Aws::ServiceDiscovery
|
|
2506
2567
|
#
|
2507
2568
|
# * {Types::UpdatePrivateDnsNamespaceResponse#operation_id #operation_id} => String
|
2508
2569
|
#
|
2570
|
+
#
|
2571
|
+
# @example Example: To update a private DNS namespace
|
2572
|
+
#
|
2573
|
+
# # The following example updates the description of a private DNS namespace.
|
2574
|
+
#
|
2575
|
+
# resp = client.update_private_dns_namespace({
|
2576
|
+
# id: "ns-bk3aEXAMPLE",
|
2577
|
+
# namespace: {
|
2578
|
+
# description: "The updated namespace description.",
|
2579
|
+
# },
|
2580
|
+
# updater_request_id: "",
|
2581
|
+
# })
|
2582
|
+
#
|
2583
|
+
# resp.to_h outputs the following:
|
2584
|
+
# {
|
2585
|
+
# operation_id: "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE",
|
2586
|
+
# }
|
2587
|
+
#
|
2588
|
+
# @example Example: To update a public DNS namespace
|
2589
|
+
#
|
2590
|
+
# # The following example updates the description of a public DNS namespace.
|
2591
|
+
#
|
2592
|
+
# resp = client.update_private_dns_namespace({
|
2593
|
+
# id: "ns-bk3aEXAMPLE",
|
2594
|
+
# namespace: {
|
2595
|
+
# description: "The updated namespace description.",
|
2596
|
+
# },
|
2597
|
+
# updater_request_id: "",
|
2598
|
+
# })
|
2599
|
+
#
|
2600
|
+
# resp.to_h outputs the following:
|
2601
|
+
# {
|
2602
|
+
# operation_id: "ft52xe2koxhoeormaceymagglsdjEXAMPLE",
|
2603
|
+
# }
|
2604
|
+
#
|
2509
2605
|
# @example Request syntax with placeholder values
|
2510
2606
|
#
|
2511
2607
|
# resp = client.update_private_dns_namespace({
|
@@ -2699,7 +2795,7 @@ module Aws::ServiceDiscovery
|
|
2699
2795
|
params: params,
|
2700
2796
|
config: config)
|
2701
2797
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2702
|
-
context[:gem_version] = '1.
|
2798
|
+
context[:gem_version] = '1.64.0'
|
2703
2799
|
Seahorse::Client::Request.new(handlers, context)
|
2704
2800
|
end
|
2705
2801
|
|
@@ -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.64.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-05-13 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
|