aws-sdk-servicediscovery 1.61.0 → 1.63.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bec6b8e9ff04e69564855438b3e33c987aaea2ea4107f32964330a3e587e0c4
4
- data.tar.gz: 6b82bba4e83b8cb33c760f679f7ecd9a0d31b5d07d827535826d0f3962c59ae1
3
+ metadata.gz: 9b5445ce21b591b7e8cb59038338c9191f40ff40e7bad8cbcd0a17304c449531
4
+ data.tar.gz: 00e2ddf8bd547183c3c172feb5a971ab107962d8f91065882db256282d5c7a25
5
5
  SHA512:
6
- metadata.gz: 3621b189c4debb65e517b5f2bb2d357f6aefef97fa444de487343f109706d6970ac87c49951ebe725ebb62a7361b7176e498db5a1c2296978a1136e47c96d5c0
7
- data.tar.gz: b3cd7e619fe159eab1c442a6780f05d77bfd827674b259b3b6cc4c5b11c99df3c2ebc79e94c7cb8bc9fb85aefd7c0a718395fb8a4baa2b69fd4da38c124a3ce2
6
+ metadata.gz: d4f7c3b6922d178d9ebcdf9c0d446446c2d337dcbbf32f5311af84afb6dd5e1127232978448ddc6ac74a0edf24f1378dd94a770526f910c28cca3c39b6b6d890
7
+ data.tar.gz: 58894514469a2c6f5128ea49caf476ea964d4243cbb5c57bee138f216d808315ed4bef396431904e11a6d127dc1ad33ee3229f2c913b22518e1322c88012dfc4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.62.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.61.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
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
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
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 [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
375
- #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
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 [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
382
412
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
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 [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
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 specified namespaces.
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
- # <note markdown="1"> Do not include sensitive information in the attributes if the
2174
+ # Do not include sensitive information in the attributes if the
2133
2175
  # namespace is discoverable by public DNS queries.
2134
2176
  #
2135
- # </note>
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.61.0'
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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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"
@@ -14,6 +14,7 @@ module Aws::ServiceDiscovery
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ServiceDiscovery::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -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
- # <note markdown="1"> Do not include sensitive information in the attributes if the
2513
+ # Do not include sensitive information in the attributes if the
2511
2514
  # namespace is discoverable by public DNS queries.
2512
2515
  #
2513
- # </note>
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-servicediscovery/customizations'
52
52
  # @!group service
53
53
  module Aws::ServiceDiscovery
54
54
 
55
- GEM_VERSION = '1.61.0'
55
+ GEM_VERSION = '1.63.0'
56
56
 
57
57
  end