aws-sdk-account 1.12.0 → 1.14.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: 823568148853a7ff627adec30ad17952573b76405da4df7574e9c1180b717e8f
4
- data.tar.gz: 974dbbcc1c6988c4214a8b25e18dcde2d386c0b40b95ff018c41d688d560c79e
3
+ metadata.gz: 6eef2ec96b3aace340e7eab05bc2912c8b15c88d0ba9ea0550c1b6c434fe1bcd
4
+ data.tar.gz: e0a835e530bfb718b4291c4f562070f1fa1feea578cc682cafbf98a7f1588e2f
5
5
  SHA512:
6
- metadata.gz: 298679b57efa1bd23148d459d6dbbb64e07f0bebf29437df97724c2a551e92a5f414318f97c3b2ddcbe0400d7bf3522cbd408c90a5fff5652c993d6efb6ce48e
7
- data.tar.gz: 0c5e1d7ebd77db2c026bb98037720d1c26faea60e0e86ccc6a6981c659a61b9681a9b4b3d08381fff1da25fc3d7e85cfefcfaddc28dc124cffed91629ba77cee
6
+ metadata.gz: cc1b7827e6bdfdf953cde010641ec2a330311d226edc764622a58f7c2a38c45583422f03abafeafbcbeb40442e38de4657ea91f89b0dd1ec89b2ef75b8d88a9d
7
+ data.tar.gz: b36db4123ecac3e35eaa815f1c4a560016d709483e2bc8f966548bce2d0e44c293b45f946ff718c3be98163e736c065131b588fc0636ca0ea1e0b4a1e353fd47
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2023-06-16)
5
+ ------------------
6
+
7
+ * Feature - Improve pagination support for ListRegions
8
+
9
+ 1.13.0 (2023-06-15)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.12.0 (2023-05-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.14.0
@@ -1062,7 +1062,7 @@ module Aws::Account
1062
1062
  params: params,
1063
1063
  config: config)
1064
1064
  context[:gem_name] = 'aws-sdk-account'
1065
- context[:gem_version] = '1.12.0'
1065
+ context[:gem_version] = '1.14.0'
1066
1066
  Seahorse::Client::Request.new(handlers, context)
1067
1067
  end
1068
1068
 
@@ -25,46 +25,10 @@ module Aws::Account
25
25
  end
26
26
  if Aws::Endpoints::Matchers.set?(region)
27
27
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
29
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
30
- 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"))
31
- return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.api.aws", headers: {}, properties: {})
32
- end
33
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
34
- end
35
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
36
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
37
- return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.amazonaws.com", headers: {}, properties: {})
38
- end
39
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
40
- end
41
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
42
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
43
- return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.api.aws", headers: {}, properties: {})
44
- end
45
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
- end
28
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
47
29
  return Aws::Endpoints::Endpoint.new(url: "https://account.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
48
30
  end
49
- if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
50
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
51
- 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"))
52
- return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
53
- end
54
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
55
- end
56
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
57
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
58
- return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {})
59
- end
60
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
61
- end
62
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
63
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
64
- return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
65
- end
66
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
67
- end
31
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
68
32
  return Aws::Endpoints::Endpoint.new(url: "https://account.cn-northwest-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]})
69
33
  end
70
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
@@ -85,12 +49,6 @@ module Aws::Account
85
49
  end
86
50
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
87
51
  end
88
- if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
89
- return Aws::Endpoints::Endpoint.new(url: "https://account.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
90
- end
91
- if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
92
- return Aws::Endpoints::Endpoint.new(url: "https://account.cn-northwest-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]})
93
- end
94
52
  return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
95
53
  end
96
54
  end
@@ -9,6 +9,7 @@
9
9
 
10
10
 
11
11
  module Aws::Account
12
+ # @api private
12
13
  module Endpoints
13
14
 
14
15
  class DeleteAlternateContact
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-account/customizations'
52
52
  # @!group service
53
53
  module Aws::Account
54
54
 
55
- GEM_VERSION = '1.12.0'
55
+ GEM_VERSION = '1.14.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-account
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.14.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-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core