aws-sdk-servicediscovery 1.30.0 → 1.31.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f50384ae753d9d570facdb53b004b755558f3603289e00d2571d83d9b6149ce1
4
- data.tar.gz: 40131ac2dcee2397fb0976e7cb4cf7b8e3e96a6f33ddc9dafa4375a08e0da40f
3
+ metadata.gz: 9dcafc14b550a611110cc7ce9064785a5b9d88d6f2e88975bff8aca3e33e331c
4
+ data.tar.gz: 1e651749c5570c9dbe013755b71e588c5f40895e29972011f84f4461e19cda84
5
5
  SHA512:
6
- metadata.gz: ebbc9bb11931a728703d37a1424ef780162f79deb0de7dae95ca371864ef89c278f95b73e060cabe51aa04120d77166f073cb7c853b794b7a93650f64a06508a
7
- data.tar.gz: f5335f5a52a4dadd633661f5f5333ef3671efabbb7d259bd64257cfcdeb0497f07c5c22bd1d8d1288a4269a5ff3f32201554f9ac7cd9f4b5863fa8adc0b187ec
6
+ metadata.gz: 1d23509c8d68c4ae92a22d883e5886fd7c543b6e221cf9888fa1683a3dce3487aa6919aaf27b3d5a0b587264fa9f75eec4f773f51cfeb13d9d35ee5f11902878
7
+ data.tar.gz: 5bb7b0cb0083dc280f3e8a27857a17e8044945dabaf5f639f37f110b38049ce6ec15592547ca221b2c36d5d68f86823624bee2ca23bcbb83bba3f9fdb85a0788
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-servicediscovery/customizations'
48
48
  # @!group service
49
49
  module Aws::ServiceDiscovery
50
50
 
51
- GEM_VERSION = '1.30.0'
51
+ GEM_VERSION = '1.31.0'
52
52
 
53
53
  end
@@ -949,10 +949,16 @@ module Aws::ServiceDiscovery
949
949
  # instances.
950
950
  #
951
951
  # @option params [Hash<String,String>] :query_parameters
952
- # A string map that contains attributes with values that you can use to
953
- # filter instances by any custom attribute that you specified when you
954
- # registered the instance. Only instances that match all the specified
955
- # key/value pairs will be returned.
952
+ # Filters to scope the results based on custom attributes for the
953
+ # instance. For example, `\{version=v1, az=1a\}`. Only instances that
954
+ # match all the specified key-value pairs will be returned.
955
+ #
956
+ # @option params [Hash<String,String>] :optional_parameters
957
+ # Opportunistic filters to scope the results based on custom attributes.
958
+ # If there are instances that match both the filters specified in both
959
+ # the `QueryParameters` parameter and this parameter, they are returned.
960
+ # Otherwise, these filters are ignored and only instances that match the
961
+ # filters specified in the `QueryParameters` parameter are returned.
956
962
  #
957
963
  # @option params [String] :health_status
958
964
  # The health status of the instances that you want to discover.
@@ -998,6 +1004,9 @@ module Aws::ServiceDiscovery
998
1004
  # query_parameters: {
999
1005
  # "AttrKey" => "AttrValue",
1000
1006
  # },
1007
+ # optional_parameters: {
1008
+ # "AttrKey" => "AttrValue",
1009
+ # },
1001
1010
  # health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL
1002
1011
  # })
1003
1012
  #
@@ -2356,7 +2365,7 @@ module Aws::ServiceDiscovery
2356
2365
  params: params,
2357
2366
  config: config)
2358
2367
  context[:gem_name] = 'aws-sdk-servicediscovery'
2359
- context[:gem_version] = '1.30.0'
2368
+ context[:gem_version] = '1.31.0'
2360
2369
  Seahorse::Client::Request.new(handlers, context)
2361
2370
  end
2362
2371
 
@@ -217,6 +217,7 @@ module Aws::ServiceDiscovery
217
217
  DiscoverInstancesRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "ServiceName"))
218
218
  DiscoverInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DiscoverMaxResults, location_name: "MaxResults"))
219
219
  DiscoverInstancesRequest.add_member(:query_parameters, Shapes::ShapeRef.new(shape: Attributes, location_name: "QueryParameters"))
220
+ DiscoverInstancesRequest.add_member(:optional_parameters, Shapes::ShapeRef.new(shape: Attributes, location_name: "OptionalParameters"))
220
221
  DiscoverInstancesRequest.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatusFilter, location_name: "HealthStatus"))
221
222
  DiscoverInstancesRequest.struct_class = Types::DiscoverInstancesRequest
222
223
 
@@ -502,6 +502,9 @@ module Aws::ServiceDiscovery
502
502
  # query_parameters: {
503
503
  # "AttrKey" => "AttrValue",
504
504
  # },
505
+ # optional_parameters: {
506
+ # "AttrKey" => "AttrValue",
507
+ # },
505
508
  # health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL
506
509
  # }
507
510
  #
@@ -523,10 +526,18 @@ module Aws::ServiceDiscovery
523
526
  # @return [Integer]
524
527
  #
525
528
  # @!attribute [rw] query_parameters
526
- # A string map that contains attributes with values that you can use
527
- # to filter instances by any custom attribute that you specified when
528
- # you registered the instance. Only instances that match all the
529
- # specified key/value pairs will be returned.
529
+ # Filters to scope the results based on custom attributes for the
530
+ # instance. For example, `\{version=v1, az=1a\}`. Only instances that
531
+ # match all the specified key-value pairs will be returned.
532
+ # @return [Hash<String,String>]
533
+ #
534
+ # @!attribute [rw] optional_parameters
535
+ # Opportunistic filters to scope the results based on custom
536
+ # attributes. If there are instances that match both the filters
537
+ # specified in both the `QueryParameters` parameter and this
538
+ # parameter, they are returned. Otherwise, these filters are ignored
539
+ # and only instances that match the filters specified in the
540
+ # `QueryParameters` parameter are returned.
530
541
  # @return [Hash<String,String>]
531
542
  #
532
543
  # @!attribute [rw] health_status
@@ -540,6 +551,7 @@ module Aws::ServiceDiscovery
540
551
  :service_name,
541
552
  :max_results,
542
553
  :query_parameters,
554
+ :optional_parameters,
543
555
  :health_status)
544
556
  SENSITIVE = []
545
557
  include Aws::Structure
@@ -1261,20 +1273,19 @@ module Aws::ServiceDiscovery
1261
1273
  # }
1262
1274
  #
1263
1275
  # @!attribute [rw] failure_threshold
1276
+ # This parameter has been deprecated and is always set to 1. AWS Cloud
1277
+ # Map waits for approximately 30 seconds after receiving an
1278
+ # `UpdateInstanceCustomHealthStatus` request before changing the
1279
+ # status of the service instance.
1280
+ #
1264
1281
  # The number of 30-second intervals that you want AWS Cloud Map to
1265
1282
  # wait after receiving an `UpdateInstanceCustomHealthStatus` request
1266
- # before it changes the health status of a service instance. For
1267
- # example, suppose you specify a value of `2` for `FailureTheshold`,
1268
- # and then your application sends an
1269
- # `UpdateInstanceCustomHealthStatus` request. AWS Cloud Map waits for
1270
- # approximately 60 seconds (2 x 30) before changing the status of the
1271
- # service instance based on that request.
1283
+ # before it changes the health status of a service instance.
1272
1284
  #
1273
1285
  # Sending a second or subsequent `UpdateInstanceCustomHealthStatus`
1274
- # request with the same value before `FailureThreshold x 30` seconds
1275
- # has passed doesn't accelerate the change. AWS Cloud Map still waits
1276
- # `FailureThreshold x 30` seconds after the first request to make the
1277
- # change.
1286
+ # request with the same value before 30 seconds has passed doesn't
1287
+ # accelerate the change. AWS Cloud Map still waits `30` seconds after
1288
+ # the first request to make the change.
1278
1289
  # @return [Integer]
1279
1290
  #
1280
1291
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/HealthCheckCustomConfig AWS API Documentation
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.30.0
4
+ version: 1.31.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core