aws-sdk-servicediscovery 1.27.0 → 1.32.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 271dd849412973dfc3ff51ab1f11f1656a8a733694dc31054b5ebff64d32e88e
|
4
|
+
data.tar.gz: ce26bc71f4b43d13eb157272d76a982f1b9887019aa29705e594e809c3766793
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b29d8ce4c1b73b66707ed1adc8c98e01b672669cbdd271ad9de45434173ef688956071209dc7ef50b7547412aa60adc8c76aa7de2c4582e52d38db28cdbc3be
|
7
|
+
data.tar.gz: ab04055f6faf39afed33a949db6288d8f879f30af11db9f24b2f25c7425eca9c7e3241974c428fb0313cfdf4676e14a81bf7242ff17a9280f5156894fb0f835f
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-servicediscovery/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::ServiceDiscovery
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.32.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::ServiceDiscovery
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::ServiceDiscovery
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -934,10 +949,16 @@ module Aws::ServiceDiscovery
|
|
934
949
|
# instances.
|
935
950
|
#
|
936
951
|
# @option params [Hash<String,String>] :query_parameters
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
940
|
-
#
|
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.
|
941
962
|
#
|
942
963
|
# @option params [String] :health_status
|
943
964
|
# The health status of the instances that you want to discover.
|
@@ -983,6 +1004,9 @@ module Aws::ServiceDiscovery
|
|
983
1004
|
# query_parameters: {
|
984
1005
|
# "AttrKey" => "AttrValue",
|
985
1006
|
# },
|
1007
|
+
# optional_parameters: {
|
1008
|
+
# "AttrKey" => "AttrValue",
|
1009
|
+
# },
|
986
1010
|
# health_status: "HEALTHY", # accepts HEALTHY, UNHEALTHY, ALL
|
987
1011
|
# })
|
988
1012
|
#
|
@@ -2341,7 +2365,7 @@ module Aws::ServiceDiscovery
|
|
2341
2365
|
params: params,
|
2342
2366
|
config: config)
|
2343
2367
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2344
|
-
context[:gem_version] = '1.
|
2368
|
+
context[:gem_version] = '1.32.0'
|
2345
2369
|
Seahorse::Client::Request.new(handlers, context)
|
2346
2370
|
end
|
2347
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
|
-
#
|
527
|
-
#
|
528
|
-
#
|
529
|
-
#
|
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.
|
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
|
1275
|
-
#
|
1276
|
-
#
|
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.
|
4
|
+
version: 1.32.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:
|
11
|
+
date: 2021-02-02 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.112.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.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|