aws-sdk-account 1.8.0 → 1.9.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: 63a5f95f9ff923895857cc21dc19ac9672796db2d4adfc8081654307b5525ed1
4
- data.tar.gz: ece6d3b01601efea28e0aab1d9d239e064c994e4b3fb30eb320fb1df2e9b86f7
3
+ metadata.gz: c083159738d1001296cf4aa027117e9b8cdac5bc2bfc35539ee9acaaed62cbcd
4
+ data.tar.gz: 5df284ca0817b9338b25c1d4b5f30eed3cb09b9663dd68b2f589b54ece34e639
5
5
  SHA512:
6
- metadata.gz: 771c84e3702ea56ac6e52010554803c8d0f5427adb00803a77a6eb936d2393ac8d7c9a8c0f83ddee064007c21eefa2d88169a0b374d63a5a8b42f46e2c888d6b
7
- data.tar.gz: 34fd70dc5319a0f919259125d53e1a228306d98a26fb4545ef5e444e3a973ee1a345e824330731941124ebf52e1a71a0b5ca2edd76cfaf7a485c921507a5936c
6
+ metadata.gz: 85504118999237e9bf102aab5141c5b83526165cbcad1337e4a21e913ab7ede2c1ceacfb19d61ec39466c05f0b3ed76cbbb8be5d89cad694e8697276dfb5bab6
7
+ data.tar.gz: ddd05059d5c76696efc8f381940449c4e569ec2937800507ec5f205d3465f1e8814ea9f486322cf6bbd72373a34aa183b1015049a68f3554e2eb591d07485cb1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.8.0 (2022-10-25)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.9.0
@@ -777,7 +777,7 @@ module Aws::Account
777
777
  params: params,
778
778
  config: config)
779
779
  context[:gem_name] = 'aws-sdk-account'
780
- context[:gem_version] = '1.8.0'
780
+ context[:gem_version] = '1.9.0'
781
781
  Seahorse::Client::Request.new(handlers, context)
782
782
  end
783
783
 
@@ -9,216 +9,91 @@
9
9
 
10
10
  module Aws::Account
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
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: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
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://account-fips.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
31
+ end
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://account-fips.#{region}.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
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://account.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://account.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
47
+ end
48
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
49
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
50
+ 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"))
51
+ return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]})
52
+ end
53
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
54
+ end
55
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
56
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
57
+ return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]})
58
+ end
59
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
60
+ end
61
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
62
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
63
+ return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]})
64
+ end
65
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
66
+ end
67
+ 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"}]})
68
+ end
69
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
70
+ 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"))
71
+ return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
72
+ end
73
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
74
+ end
75
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
76
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
77
+ return Aws::Endpoints::Endpoint.new(url: "https://account-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
78
+ end
79
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
80
+ end
81
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
82
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
83
+ return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
84
+ end
85
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
86
+ end
87
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
88
+ return Aws::Endpoints::Endpoint.new(url: "https://account.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]})
89
+ end
90
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
91
+ 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"}]})
92
+ end
93
+ return Aws::Endpoints::Endpoint.new(url: "https://account.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
94
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
95
+ raise ArgumentError, 'No endpoint could be resolved'
24
96
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
97
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
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ic3VwcG9ydHNEdWFsU3RhY2si
198
- XX1dfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltd
199
- LCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2FjY291bnQue1JlZ2lvbn0u
200
- e1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJvcGVy
201
- dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfSx7
202
- ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVk
203
- IGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFj
204
- ayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwidHlwZSI6
205
- InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W3siZm4iOiJzdHJpbmdF
206
- cXVhbHMiLCJhcmd2IjpbeyJyZWYiOiJSZWdpb24ifSwiYXdzLWdsb2JhbCJd
207
- fV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYWNjb3VudC51cy1lYXN0
208
- LTEuYW1hem9uYXdzLmNvbSIsInByb3BlcnRpZXMiOnsiYXV0aFNjaGVtZXMi
209
- Olt7Im5hbWUiOiJzaWd2NCIsInNpZ25pbmdOYW1lIjoiYWNjb3VudCIsInNp
210
- Z25pbmdSZWdpb24iOiJ1cy1lYXN0LTEifV19LCJoZWFkZXJzIjp7fX0sInR5
211
- cGUiOiJlbmRwb2ludCJ9LHsiY29uZGl0aW9ucyI6W3siZm4iOiJzdHJpbmdF
212
- cXVhbHMiLCJhcmd2IjpbeyJyZWYiOiJSZWdpb24ifSwiYXdzLWNuLWdsb2Jh
213
- bCJdfV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYWNjb3VudC5jbi1u
214
- b3J0aHdlc3QtMS5hbWF6b25hd3MuY29tLmNuIiwicHJvcGVydGllcyI6eyJh
215
- dXRoU2NoZW1lcyI6W3sibmFtZSI6InNpZ3Y0Iiwic2lnbmluZ05hbWUiOiJh
216
- Y2NvdW50Iiwic2lnbmluZ1JlZ2lvbiI6ImNuLW5vcnRod2VzdC0xIn1dfSwi
217
- aGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMi
218
- OltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2FjY291bnQue1JlZ2lv
219
- bn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6
220
- e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19XX0=
221
-
222
- JSON
223
98
  end
224
99
  end
@@ -62,24 +62,6 @@ module Aws::Account
62
62
  # Contains the details of the primary contact information associated
63
63
  # with an Amazon Web Services account.
64
64
  #
65
- # @note When making an API call, you may pass ContactInformation
66
- # data as a hash:
67
- #
68
- # {
69
- # address_line_1: "AddressLine", # required
70
- # address_line_2: "AddressLine",
71
- # address_line_3: "AddressLine",
72
- # city: "City", # required
73
- # company_name: "CompanyName",
74
- # country_code: "CountryCode", # required
75
- # district_or_county: "DistrictOrCounty",
76
- # full_name: "FullName", # required
77
- # phone_number: "ContactInformationPhoneNumber", # required
78
- # postal_code: "PostalCode", # required
79
- # state_or_region: "StateOrRegion",
80
- # website_url: "WebsiteUrl",
81
- # }
82
- #
83
65
  # @!attribute [rw] address_line_1
84
66
  # The first line of the primary contact address.
85
67
  # @return [String]
@@ -152,14 +134,6 @@ module Aws::Account
152
134
  include Aws::Structure
153
135
  end
154
136
 
155
- # @note When making an API call, you may pass DeleteAlternateContactRequest
156
- # data as a hash:
157
- #
158
- # {
159
- # account_id: "AccountId",
160
- # alternate_contact_type: "BILLING", # required, accepts BILLING, OPERATIONS, SECURITY
161
- # }
162
- #
163
137
  # @!attribute [rw] account_id
164
138
  # Specifies the 12 digit account ID number of the Amazon Web Services
165
139
  # account that you want to access or modify with this operation.
@@ -207,14 +181,6 @@ module Aws::Account
207
181
  include Aws::Structure
208
182
  end
209
183
 
210
- # @note When making an API call, you may pass GetAlternateContactRequest
211
- # data as a hash:
212
- #
213
- # {
214
- # account_id: "AccountId",
215
- # alternate_contact_type: "BILLING", # required, accepts BILLING, OPERATIONS, SECURITY
216
- # }
217
- #
218
184
  # @!attribute [rw] account_id
219
185
  # Specifies the 12 digit account ID number of the Amazon Web Services
220
186
  # account that you want to access or modify with this operation.
@@ -275,13 +241,6 @@ module Aws::Account
275
241
  include Aws::Structure
276
242
  end
277
243
 
278
- # @note When making an API call, you may pass GetContactInformationRequest
279
- # data as a hash:
280
- #
281
- # {
282
- # account_id: "AccountId",
283
- # }
284
- #
285
244
  # @!attribute [rw] account_id
286
245
  # Specifies the 12-digit account ID number of the Amazon Web Services
287
246
  # account that you want to access or modify with this operation. If
@@ -349,18 +308,6 @@ module Aws::Account
349
308
  include Aws::Structure
350
309
  end
351
310
 
352
- # @note When making an API call, you may pass PutAlternateContactRequest
353
- # data as a hash:
354
- #
355
- # {
356
- # account_id: "AccountId",
357
- # alternate_contact_type: "BILLING", # required, accepts BILLING, OPERATIONS, SECURITY
358
- # email_address: "EmailAddress", # required
359
- # name: "Name", # required
360
- # phone_number: "PhoneNumber", # required
361
- # title: "Title", # required
362
- # }
363
- #
364
311
  # @!attribute [rw] account_id
365
312
  # Specifies the 12 digit account ID number of the Amazon Web Services
366
313
  # account that you want to access or modify with this operation.
@@ -428,27 +375,6 @@ module Aws::Account
428
375
  include Aws::Structure
429
376
  end
430
377
 
431
- # @note When making an API call, you may pass PutContactInformationRequest
432
- # data as a hash:
433
- #
434
- # {
435
- # account_id: "AccountId",
436
- # contact_information: { # required
437
- # address_line_1: "AddressLine", # required
438
- # address_line_2: "AddressLine",
439
- # address_line_3: "AddressLine",
440
- # city: "City", # required
441
- # company_name: "CompanyName",
442
- # country_code: "CountryCode", # required
443
- # district_or_county: "DistrictOrCounty",
444
- # full_name: "FullName", # required
445
- # phone_number: "ContactInformationPhoneNumber", # required
446
- # postal_code: "PostalCode", # required
447
- # state_or_region: "StateOrRegion",
448
- # website_url: "WebsiteUrl",
449
- # },
450
- # }
451
- #
452
378
  # @!attribute [rw] account_id
453
379
  # Specifies the 12-digit account ID number of the Amazon Web Services
454
380
  # account that you want to access or modify with this operation. If
@@ -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.8.0'
55
+ GEM_VERSION = '1.9.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.8.0
4
+ version: 1.9.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core