aws-sdk-core 2.11.473 → 2.11.474

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
  SHA1:
3
- metadata.gz: fa83a8a4c2b32e6108971945cfbc4e3917674b57
4
- data.tar.gz: f594eb760ee71cccb204e626f00f59adc1c093be
3
+ metadata.gz: 81fbd740bfdbc3a1743d9e9fd486a1e55c2e0d4b
4
+ data.tar.gz: 4f5b679d273fa2826dfc802972961ac650d511cf
5
5
  SHA512:
6
- metadata.gz: 0e3a8e070924bfb5246c801055f6b835115e02ab529f9bf8cd2908425fb1864832051a04124a72e74116bace5d0e5d6fd0d2975cee1775e55fda9a0b5a84a0d0
7
- data.tar.gz: 9e30f5cf6cf6b0c7bb69db66c0f56d846f7cd2fddb60d8023a85becda5fe773687155308dd196d0d8401390f425ec34e0a97fb71651f9d99192f432e1d6e33e4
6
+ metadata.gz: 067fb628c5cab4bb48a8736dc56ea21f50c1dfa202342548c6a1ffc93b8ed4aef6965e366403e6afcf8d01b39b2c2f8f67ed6f8a0e7fc78df045ea51a75d8d9d
7
+ data.tar.gz: ca44a4a7399d57671407af521d7c63cbe9572a57bf03b0c0a48e205da4222d7a6fd5dbd9c728bacc2f576e90cb9fdf1f28e29538f8fcb22ebda848c8b586cdcc
@@ -2249,7 +2249,7 @@
2249
2249
  "locationName" : "templateSelectionExpression"
2250
2250
  },
2251
2251
  "TimeoutInMillis" : {
2252
- "shape" : "IntegerWithLengthBetween50And29000",
2252
+ "shape" : "IntegerWithLengthBetween50And30000",
2253
2253
  "locationName" : "timeoutInMillis"
2254
2254
  },
2255
2255
  "TlsConfig" : {
@@ -2320,7 +2320,7 @@
2320
2320
  "locationName" : "templateSelectionExpression"
2321
2321
  },
2322
2322
  "TimeoutInMillis" : {
2323
- "shape" : "IntegerWithLengthBetween50And29000",
2323
+ "shape" : "IntegerWithLengthBetween50And30000",
2324
2324
  "locationName" : "timeoutInMillis"
2325
2325
  },
2326
2326
  "TlsConfig" : {
@@ -2398,7 +2398,7 @@
2398
2398
  "locationName" : "templateSelectionExpression"
2399
2399
  },
2400
2400
  "TimeoutInMillis" : {
2401
- "shape" : "IntegerWithLengthBetween50And29000",
2401
+ "shape" : "IntegerWithLengthBetween50And30000",
2402
2402
  "locationName" : "timeoutInMillis"
2403
2403
  },
2404
2404
  "TlsConfig" : {
@@ -3937,7 +3937,7 @@
3937
3937
  "locationName" : "templateSelectionExpression"
3938
3938
  },
3939
3939
  "TimeoutInMillis" : {
3940
- "shape" : "IntegerWithLengthBetween50And29000",
3940
+ "shape" : "IntegerWithLengthBetween50And30000",
3941
3941
  "locationName" : "timeoutInMillis"
3942
3942
  },
3943
3943
  "TlsConfig" : {
@@ -4677,10 +4677,10 @@
4677
4677
  "min" : 0,
4678
4678
  "max" : 3600
4679
4679
  },
4680
- "IntegerWithLengthBetween50And29000" : {
4680
+ "IntegerWithLengthBetween50And30000" : {
4681
4681
  "type" : "integer",
4682
4682
  "min" : 50,
4683
- "max" : 29000
4683
+ "max" : 30000
4684
4684
  },
4685
4685
  "IntegerWithLengthBetweenMinus1And86400" : {
4686
4686
  "type" : "integer",
@@ -4755,7 +4755,7 @@
4755
4755
  "locationName" : "templateSelectionExpression"
4756
4756
  },
4757
4757
  "TimeoutInMillis" : {
4758
- "shape" : "IntegerWithLengthBetween50And29000",
4758
+ "shape" : "IntegerWithLengthBetween50And30000",
4759
4759
  "locationName" : "timeoutInMillis"
4760
4760
  },
4761
4761
  "TlsConfig" : {
@@ -5944,7 +5944,7 @@
5944
5944
  "locationName" : "templateSelectionExpression"
5945
5945
  },
5946
5946
  "TimeoutInMillis" : {
5947
- "shape" : "IntegerWithLengthBetween50And29000",
5947
+ "shape" : "IntegerWithLengthBetween50And30000",
5948
5948
  "locationName" : "timeoutInMillis"
5949
5949
  },
5950
5950
  "TlsConfig" : {
@@ -6019,7 +6019,7 @@
6019
6019
  "locationName" : "templateSelectionExpression"
6020
6020
  },
6021
6021
  "TimeoutInMillis" : {
6022
- "shape" : "IntegerWithLengthBetween50And29000",
6022
+ "shape" : "IntegerWithLengthBetween50And30000",
6023
6023
  "locationName" : "timeoutInMillis"
6024
6024
  },
6025
6025
  "TlsConfig" : {
@@ -6097,7 +6097,7 @@
6097
6097
  "locationName" : "templateSelectionExpression"
6098
6098
  },
6099
6099
  "TimeoutInMillis" : {
6100
- "shape" : "IntegerWithLengthBetween50And29000",
6100
+ "shape" : "IntegerWithLengthBetween50And30000",
6101
6101
  "locationName" : "timeoutInMillis"
6102
6102
  },
6103
6103
  "TlsConfig" : {
@@ -1038,6 +1038,7 @@
1038
1038
  "Ec2LaunchTemplateVersionMismatch",
1039
1039
  "Ec2SubnetNotFound",
1040
1040
  "IamInstanceProfileNotFound",
1041
+ "IamLimitExceeded",
1041
1042
  "IamNodeRoleNotFound",
1042
1043
  "AsgInstanceLaunchFailures",
1043
1044
  "InstanceLimitExceeded",
@@ -49,7 +49,7 @@ module Aws
49
49
 
50
50
  private
51
51
 
52
- def endpoint_for(region, service, sts_regional_endpoints = 'legacy')
52
+ def endpoint_for(region, service, sts_regional_endpoints = 'regional')
53
53
  partition = get_partition(region)
54
54
  endpoint = default_endpoint(partition, service, region)
55
55
  service_cfg = partition.fetch("services", {}).fetch(service, {})
@@ -108,7 +108,7 @@ module Aws
108
108
 
109
109
  class << self
110
110
 
111
- def resolve(region, service, sts_regional_endpoints = nil)
111
+ def resolve(region, service, sts_regional_endpoints = 'regional')
112
112
  default_provider.resolve(region, service, sts_regional_endpoints)
113
113
  end
114
114
 
@@ -4,12 +4,12 @@ module Aws
4
4
  class STSRegionalEndpoints < Seahorse::Client::Plugin
5
5
 
6
6
  option(:sts_regional_endpoints,
7
- default: 'legacy',
7
+ default: 'regional',
8
8
  doc_type: String,
9
9
  docstring: <<-DOCS) do |cfg|
10
10
  Passing in 'regional' to enable regional endpoint for STS for all supported
11
- regions (except 'aws-global'), defaults to 'legacy' mode, using global endpoint
12
- for legacy regions.
11
+ regions (except 'aws-global'). Using 'legacy' mode will force all legacy
12
+ regions to resolve to the STS global endpoint.
13
13
  DOCS
14
14
  resolve_sts_regional_endpoints(cfg)
15
15
  end
@@ -21,7 +21,7 @@ for legacy regions.
21
21
  env_mode = nil if env_mode == ''
22
22
  cfg_mode = Aws.shared_config.sts_regional_endpoints(
23
23
  profile: cfg.profile)
24
- env_mode || cfg_mode || 'legacy'
24
+ env_mode || cfg_mode || 'regional'
25
25
  end
26
26
 
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.11.473'
2
+ VERSION = '2.11.474'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.473
4
+ version: 2.11.474
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-03-20 00:00:00.000000000 Z
11
+ date: 2020-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath