aws-sdk-servicediscovery 1.49.0 → 1.51.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: 75cc950bbe40cb64166c5d55294731b0cf26f3c5f10b15e3ed819f080acbfc0d
4
- data.tar.gz: 2c05906a1137ed9e6090ed0294420ffd71a52d2ce1b735cf4ee0888929810370
3
+ metadata.gz: eca4c312cf3e538b206001bfb045d8d87a471edd607ad7396abc890588d83a0c
4
+ data.tar.gz: 4a618aa32bb511380134a984fa9ac90662796542baaeb8ca95eaae86b0b7c8bb
5
5
  SHA512:
6
- metadata.gz: a2192e4bc242fe9a0b12625829e5b13a510701b23efeba1725ed336e089a1fc2e3484785c802519b8ac5296dd7a8ae41bd6c954b13e0d5c13bb5c1d3ceec5e9a
7
- data.tar.gz: 727423c72217b296c4d805d6136dbbd6257282e191f8df45db0d4ff3f0aa968974f1363783674e9fb765b452f83035fc3e1a5121d2b197d8a85dd17c63cee0ea
6
+ metadata.gz: b71fb5c795991553e2d9971d0165e71b717744e45ca95d7ece6f1269641f369dcfd54e18836bd7d5127438adfd6fe09e964a0cb9dcb79bc487a0fa0a18b6e410
7
+ data.tar.gz: b753b2d4be4a1b8ae4539079e96eec15ce2bb027ae7adcd0125155346b2f7225a98a930f75bf5bbdd360d8a5a46e07390c2bb732dd1a4ab5ec1c26f74329e5ae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2023-03-23)
5
+ ------------------
6
+
7
+ * Feature - Reverted the throttling exception RequestLimitExceeded for AWS Cloud Map APIs introduced in SDK version 1.12.424 2023-03-09 to previous exception specified in the ErrorCode.
8
+
9
+ 1.50.0 (2023-03-09)
10
+ ------------------
11
+
12
+ * Feature - Updated all AWS Cloud Map APIs to provide consistent throttling exception (RequestLimitExceeded)
13
+
4
14
  1.49.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.51.0
@@ -696,7 +696,7 @@ module Aws::ServiceDiscovery
696
696
  #
697
697
  # If you want Cloud Map to create an `SRV` record when you register an
698
698
  # instance and you're using a system that requires a specific `SRV`
699
- # format, such as [HAProxy][1], specify the following for `Name`\:
699
+ # format, such as [HAProxy][1], specify the following for `Name`:
700
700
  #
701
701
  # * Start the name with an underscore (\_), such as `_exampleservice`.
702
702
  #
@@ -1994,13 +1994,13 @@ module Aws::ServiceDiscovery
1994
1994
  # When Cloud Map receives a DNS query for the specified DNS name, it
1995
1995
  # returns the applicable value:
1996
1996
  #
1997
- # * **If the health check is healthy**\: returns all the records
1997
+ # * **If the health check is healthy**: returns all the records
1998
1998
  #
1999
- # * **If the health check is unhealthy**\: returns the applicable value
1999
+ # * **If the health check is unhealthy**: returns the applicable value
2000
2000
  # for the last healthy instance
2001
2001
  #
2002
- # * **If you didn't specify a health check configuration**\: returns
2003
- # all the records
2002
+ # * **If you didn't specify a health check configuration**: returns all
2003
+ # the records
2004
2004
  #
2005
2005
  # For the current quota on the number of instances that you can register
2006
2006
  # using the same namespace and using the same service, see [Cloud Map
@@ -2064,7 +2064,7 @@ module Aws::ServiceDiscovery
2064
2064
  #
2065
2065
  # @option params [required, Hash<String,String>] :attributes
2066
2066
  # A string map that contains the following information for the service
2067
- # that you specify in `ServiceId`\:
2067
+ # that you specify in `ServiceId`:
2068
2068
  #
2069
2069
  # * The attributes that apply to the records that are defined in the
2070
2070
  # service.
@@ -2641,7 +2641,7 @@ module Aws::ServiceDiscovery
2641
2641
  params: params,
2642
2642
  config: config)
2643
2643
  context[:gem_name] = 'aws-sdk-servicediscovery'
2644
- context[:gem_version] = '1.49.0'
2644
+ context[:gem_version] = '1.51.0'
2645
2645
  Seahorse::Client::Request.new(handlers, context)
2646
2646
  end
2647
2647
 
@@ -50,9 +50,6 @@ module Aws::ServiceDiscovery
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,42 +14,39 @@ module Aws::ServiceDiscovery
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
26
20
  end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
32
23
  end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?(region, "servicediscovery")
36
- return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.ca-central-1.amazonaws.com", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
37
31
  end
38
- if Aws::Endpoints::Matchers.string_equals?(region, "servicediscovery")
39
- return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
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"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
37
  end
41
- return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
39
  end
43
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
- end
45
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
- return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
45
  end
49
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
47
  end
51
- return Aws::Endpoints::Endpoint.new(url: "https://servicediscovery.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
53
50
  raise ArgumentError, 'No endpoint could be resolved'
54
51
 
55
52
  end
@@ -206,7 +206,7 @@ module Aws::ServiceDiscovery
206
206
  #
207
207
  # If you want Cloud Map to create an `SRV` record when you register an
208
208
  # instance and you're using a system that requires a specific `SRV`
209
- # format, such as [HAProxy][1], specify the following for `Name`\:
209
+ # format, such as [HAProxy][1], specify the following for `Name`:
210
210
  #
211
211
  # * Start the name with an underscore (\_), such as `_exampleservice`.
212
212
  #
@@ -1041,18 +1041,18 @@ module Aws::ServiceDiscovery
1041
1041
  #
1042
1042
  # You can create the following types of health checks:
1043
1043
  #
1044
- # * **HTTP**\: Route 53 tries to establish a TCP connection. If
1044
+ # * **HTTP**: Route 53 tries to establish a TCP connection. If
1045
1045
  # successful, Route 53 submits an HTTP request and waits for an HTTP
1046
1046
  # status code of 200 or greater and less than 400.
1047
1047
  #
1048
- # * **HTTPS**\: Route 53 tries to establish a TCP connection. If
1048
+ # * **HTTPS**: Route 53 tries to establish a TCP connection. If
1049
1049
  # successful, Route 53 submits an HTTPS request and waits for an
1050
1050
  # HTTP status code of 200 or greater and less than 400.
1051
1051
  #
1052
1052
  # If you specify HTTPS for the value of `Type`, the endpoint must
1053
1053
  # support TLS v1.0 or later.
1054
1054
  #
1055
- # * **TCP**\: Route 53 tries to establish a TCP connection.
1055
+ # * **TCP**: Route 53 tries to establish a TCP connection.
1056
1056
  #
1057
1057
  # If you specify `TCP` for `Type`, don't specify a value for
1058
1058
  # `ResourcePath`.
@@ -1291,7 +1291,7 @@ module Aws::ServiceDiscovery
1291
1291
  #
1292
1292
  # @!attribute [rw] attributes
1293
1293
  # A string map that contains the following information for the service
1294
- # that you specify in `ServiceId`\:
1294
+ # that you specify in `ServiceId`:
1295
1295
  #
1296
1296
  # * The attributes that apply to the records that are defined in the
1297
1297
  # service.
@@ -1896,23 +1896,23 @@ module Aws::ServiceDiscovery
1896
1896
  # Specify the namespaces that you want to get using one of the
1897
1897
  # following.
1898
1898
  #
1899
- # * `TYPE`\: Gets the namespaces of the specified type.
1899
+ # * `TYPE`: Gets the namespaces of the specified type.
1900
1900
  #
1901
- # * `NAME`\: Gets the namespaces with the specified name.
1901
+ # * `NAME`: Gets the namespaces with the specified name.
1902
1902
  #
1903
- # * `HTTP_NAME`\: Gets the namespaces with the specified HTTP name.
1903
+ # * `HTTP_NAME`: Gets the namespaces with the specified HTTP name.
1904
1904
  # @return [String]
1905
1905
  #
1906
1906
  # @!attribute [rw] values
1907
1907
  # Specify the values that are applicable to the value that you specify
1908
1908
  # for `Name`.
1909
1909
  #
1910
- # * `TYPE`\: Specify `HTTP`, `DNS_PUBLIC`, or `DNS_PRIVATE`.
1910
+ # * `TYPE`: Specify `HTTP`, `DNS_PUBLIC`, or `DNS_PRIVATE`.
1911
1911
  #
1912
- # * `NAME`\: Specify the name of the namespace, which is found in
1912
+ # * `NAME`: Specify the name of the namespace, which is found in
1913
1913
  # `Namespace.Name`.
1914
1914
  #
1915
- # * `HTTP_NAME`\: Specify the HTTP name of the namespace, which is
1915
+ # * `HTTP_NAME`: Specify the HTTP name of the namespace, which is
1916
1916
  # found in `Namespace.Properties.HttpProperties.HttpName`.
1917
1917
  # @return [Array<String>]
1918
1918
  #
@@ -1921,13 +1921,13 @@ module Aws::ServiceDiscovery
1921
1921
  # namespace matches the specified value. Valid values for `Condition`
1922
1922
  # are one of the following.
1923
1923
  #
1924
- # * `EQ`\: When you specify `EQ` for `Condition`, you can specify only
1924
+ # * `EQ`: When you specify `EQ` for `Condition`, you can specify only
1925
1925
  # one value. `EQ` is supported for `TYPE`, `NAME`, and `HTTP_NAME`.
1926
1926
  # `EQ` is the default condition and can be omitted.
1927
1927
  #
1928
- # * `BEGINS_WITH`\: When you specify `BEGINS_WITH` for `Condition`,
1929
- # you can specify only one value. `BEGINS_WITH` is supported for
1930
- # `TYPE`, `NAME`, and `HTTP_NAME`.
1928
+ # * `BEGINS_WITH`: When you specify `BEGINS_WITH` for `Condition`, you
1929
+ # can specify only one value. `BEGINS_WITH` is supported for `TYPE`,
1930
+ # `NAME`, and `HTTP_NAME`.
1931
1931
  # @return [String]
1932
1932
  #
1933
1933
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceFilter AWS API Documentation
@@ -2134,36 +2134,36 @@ module Aws::ServiceDiscovery
2134
2134
  # @!attribute [rw] name
2135
2135
  # Specify the operations that you want to get:
2136
2136
  #
2137
- # * **NAMESPACE\_ID**\: Gets operations related to specified
2137
+ # * **NAMESPACE\_ID**: Gets operations related to specified
2138
2138
  # namespaces.
2139
2139
  #
2140
- # * **SERVICE\_ID**\: Gets operations related to specified services.
2140
+ # * **SERVICE\_ID**: Gets operations related to specified services.
2141
2141
  #
2142
- # * **STATUS**\: Gets operations based on the status of the
2143
- # operations: `SUBMITTED`, `PENDING`, `SUCCEED`, or `FAIL`.
2142
+ # * **STATUS**: Gets operations based on the status of the operations:
2143
+ # `SUBMITTED`, `PENDING`, `SUCCEED`, or `FAIL`.
2144
2144
  #
2145
- # * **TYPE**\: Gets specified types of operation.
2145
+ # * **TYPE**: Gets specified types of operation.
2146
2146
  #
2147
- # * **UPDATE\_DATE**\: Gets operations that changed status during a
2147
+ # * **UPDATE\_DATE**: Gets operations that changed status during a
2148
2148
  # specified date/time range.
2149
2149
  # @return [String]
2150
2150
  #
2151
2151
  # @!attribute [rw] values
2152
2152
  # Specify values that are applicable to the value that you specify for
2153
- # `Name`\:
2153
+ # `Name`:
2154
2154
  #
2155
- # * **NAMESPACE\_ID**\: Specify one namespace ID.
2155
+ # * **NAMESPACE\_ID**: Specify one namespace ID.
2156
2156
  #
2157
- # * **SERVICE\_ID**\: Specify one service ID.
2157
+ # * **SERVICE\_ID**: Specify one service ID.
2158
2158
  #
2159
- # * **STATUS**\: Specify one or more statuses: `SUBMITTED`, `PENDING`,
2159
+ # * **STATUS**: Specify one or more statuses: `SUBMITTED`, `PENDING`,
2160
2160
  # `SUCCEED`, or `FAIL`.
2161
2161
  #
2162
- # * **TYPE**\: Specify one or more of the following types:
2162
+ # * **TYPE**: Specify one or more of the following types:
2163
2163
  # `CREATE_NAMESPACE`, `DELETE_NAMESPACE`, `UPDATE_SERVICE`,
2164
2164
  # `REGISTER_INSTANCE`, or `DEREGISTER_INSTANCE`.
2165
2165
  #
2166
- # * **UPDATE\_DATE**\: Specify a start date and an end date in Unix
2166
+ # * **UPDATE\_DATE**: Specify a start date and an end date in Unix
2167
2167
  # date/time format and Coordinated Universal Time (UTC). The start
2168
2168
  # date must be the first value.
2169
2169
  # @return [Array<String>]
@@ -2172,17 +2172,17 @@ module Aws::ServiceDiscovery
2172
2172
  # The operator that you want to use to determine whether an operation
2173
2173
  # matches the specified value. Valid values for condition include:
2174
2174
  #
2175
- # * `EQ`\: When you specify `EQ` for the condition, you can specify
2175
+ # * `EQ`: When you specify `EQ` for the condition, you can specify
2176
2176
  # only one value. `EQ` is supported for `NAMESPACE_ID`,
2177
2177
  # `SERVICE_ID`, `STATUS`, and `TYPE`. `EQ` is the default condition
2178
2178
  # and can be omitted.
2179
2179
  #
2180
- # * `IN`\: When you specify `IN` for the condition, you can specify a
2180
+ # * `IN`: When you specify `IN` for the condition, you can specify a
2181
2181
  # list of one or more values. `IN` is supported for `STATUS` and
2182
2182
  # `TYPE`. An operation must match one of the specified values to be
2183
2183
  # returned in the response.
2184
2184
  #
2185
- # * `BETWEEN`\: Specify a start date and an end date in Unix date/time
2185
+ # * `BETWEEN`: Specify a start date and an end date in Unix date/time
2186
2186
  # format and Coordinated Universal Time (UTC). The start date must
2187
2187
  # be the first value. `BETWEEN` is supported for `UPDATE_DATE`.
2188
2188
  # @return [String]
@@ -2225,14 +2225,14 @@ module Aws::ServiceDiscovery
2225
2225
  # @!attribute [rw] status
2226
2226
  # The status of the operation. Values include the following:
2227
2227
  #
2228
- # * **SUBMITTED**\: This is the initial state immediately after you
2228
+ # * **SUBMITTED**: This is the initial state immediately after you
2229
2229
  # submit a request.
2230
2230
  #
2231
- # * **PENDING**\: Cloud Map is performing the operation.
2231
+ # * **PENDING**: Cloud Map is performing the operation.
2232
2232
  #
2233
- # * **SUCCESS**\: The operation succeeded.
2233
+ # * **SUCCESS**: The operation succeeded.
2234
2234
  #
2235
- # * **FAIL**\: The operation failed. For the failure reason, see
2235
+ # * **FAIL**: The operation failed. For the failure reason, see
2236
2236
  # `ErrorMessage`.
2237
2237
  # @return [String]
2238
2238
  #
@@ -2458,7 +2458,7 @@ module Aws::ServiceDiscovery
2458
2458
  #
2459
2459
  # @!attribute [rw] attributes
2460
2460
  # A string map that contains the following information for the service
2461
- # that you specify in `ServiceId`\:
2461
+ # that you specify in `ServiceId`:
2462
2462
  #
2463
2463
  # * The attributes that apply to the records that are defined in the
2464
2464
  # service.
@@ -2875,7 +2875,7 @@ module Aws::ServiceDiscovery
2875
2875
  # returned by `ListServices`. Valid values for `Condition` include the
2876
2876
  # following:
2877
2877
  #
2878
- # * `EQ`\: When you specify `EQ`, specify one namespace ID for
2878
+ # * `EQ`: When you specify `EQ`, specify one namespace ID for
2879
2879
  # `Values`. `EQ` is the default condition and can be omitted.
2880
2880
  #
2881
2881
  # ^
@@ -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.49.0'
55
+ GEM_VERSION = '1.51.0'
56
56
 
57
57
  end
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.49.0
4
+ version: 1.51.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core