aws-sdk-health 1.48.0 → 1.50.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: 8af89698f4445081612e29e6b4abec52cbfdb71f52cd18972fd4645dfe3bbd3f
4
- data.tar.gz: 66cbe16afc760dad39bfe39d9ff949fb678b6cfa6a8847167f4cf21892328b56
3
+ metadata.gz: f7ff570685ea1893d0cdd6056d4ad6bf699dd4223f97b3218d7b14621663bf04
4
+ data.tar.gz: 383a6bca6510d4cf34009648bee1cc66362179fff8060ebaa9a0af3857620d44
5
5
  SHA512:
6
- metadata.gz: 5212c9002ad0565a77e2fd21cd1613a9be162a8fe6d4214a6cbbcda64fba98e17bc676ecce1afc482a6e7c08a86382e46b952603eedc1eb0f4e66fb03deb502d
7
- data.tar.gz: c589cbd828b5622c9d4679e30ca40b63c0b464e21365eb8670650456b8f03241124e548b614bd71cd0ada090a3e04f2f7f552853be7a24e2acd12d99fda3e1c4
6
+ metadata.gz: 1c3455da090a8304b6207b88b9ead97a74e2c2f864a799b70dec6bfbb3e3559014511c320e1a93583ff07a90f6119248e67d17aa2856e106b1cb35f51b31795d
7
+ data.tar.gz: 5821496cb98285b590ffde81e6b353299ed3b97b30ef418c46c0d05f0ba4a82698333b386127c7cc93fb02726058063904cc45e758717bca06f759d6fbe3d873
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2023-05-11)
5
+ ------------------
6
+
7
+ * Feature - Add support for regional endpoints
8
+
9
+ 1.49.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.48.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -313,4 +325,4 @@ Unreleased Changes
313
325
  1.0.0.rc2 (2016-12-09)
314
326
  ------------------
315
327
 
316
- * Feature - Initial release of `aws-sdk-health`.
328
+ * Feature - Initial release of `aws-sdk-health`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.48.0
1
+ 1.50.0
@@ -452,10 +452,9 @@ module Aws::Health
452
452
  # Returns a list of entities that have been affected by the specified
453
453
  # events, based on the specified filter criteria. Entities can refer to
454
454
  # individual customer resources, groups of customer resources, or any
455
- # other construct, depending on the Amazon Web Services service. Events
456
- # that have impact beyond that of the affected entities, or where the
457
- # extent of impact is unknown, include at least one entity indicating
458
- # this.
455
+ # other construct, depending on the Amazon Web Service. Events that have
456
+ # impact beyond that of the affected entities, or where the extent of
457
+ # impact is unknown, include at least one entity indicating this.
459
458
  #
460
459
  # At least one event ARN is required.
461
460
  #
@@ -551,7 +550,7 @@ module Aws::Health
551
550
  # events for one or more accounts in your organization in Organizations,
552
551
  # based on the filter criteria. Entities can refer to individual
553
552
  # customer resources, groups of customer resources, or any other
554
- # construct, depending on the Amazon Web Services service.
553
+ # construct, depending on the Amazon Web Service.
555
554
  #
556
555
  # At least one event Amazon Resource Name (ARN) and account ID are
557
556
  # required.
@@ -952,8 +951,8 @@ module Aws::Health
952
951
 
953
952
  # Returns the event types that meet the specified filter criteria. You
954
953
  # can use this API operation to find information about the Health event,
955
- # such as the category, Amazon Web Services service, and event code. The
956
- # metadata for each event appears in the [EventType][1] object.
954
+ # such as the category, Amazon Web Service, and event code. The metadata
955
+ # for each event appears in the [EventType][1] object.
957
956
  #
958
957
  # If you don't specify a filter criteria, the API operation returns all
959
958
  # event types, in no particular order.
@@ -985,6 +984,11 @@ module Aws::Health
985
984
  # The maximum number of items to return in one batch, between 10 and
986
985
  # 100, inclusive.
987
986
  #
987
+ # <note markdown="1"> If you don't specify the `maxResults` parameter, this operation
988
+ # returns a maximum of 30 items by default.
989
+ #
990
+ # </note>
991
+ #
988
992
  # @return [Types::DescribeEventTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
989
993
  #
990
994
  # * {Types::DescribeEventTypesResponse#event_types #event_types} => Array&lt;Types::EventType&gt;
@@ -1263,8 +1267,7 @@ module Aws::Health
1263
1267
 
1264
1268
  # This operation provides status information on enabling or disabling
1265
1269
  # Health to work with your organization. To call this operation, you
1266
- # must sign in as an IAM user, assume an IAM role, or sign in as the
1267
- # root user (not recommended) in the organization's management account.
1270
+ # must use the organization's management account.
1268
1271
  #
1269
1272
  # @return [Types::DescribeHealthServiceStatusForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1270
1273
  #
@@ -1284,11 +1287,9 @@ module Aws::Health
1284
1287
  end
1285
1288
 
1286
1289
  # Disables Health from working with Organizations. To call this
1287
- # operation, you must sign in as an Identity and Access Management (IAM)
1288
- # user, assume an IAM role, or sign in as the root user (not
1289
- # recommended) in the organization's management account. For more
1290
- # information, see [Aggregating Health events][1] in the *Health User
1291
- # Guide*.
1290
+ # operation, you must sign in to the organization's management account.
1291
+ # For more information, see [Aggregating Health events][1] in the
1292
+ # *Health User Guide*.
1292
1293
  #
1293
1294
  # This operation doesn't remove the service-linked role from the
1294
1295
  # management account in your organization. You must use the IAM console,
@@ -1379,7 +1380,7 @@ module Aws::Health
1379
1380
  params: params,
1380
1381
  config: config)
1381
1382
  context[:gem_name] = 'aws-sdk-health'
1382
- context[:gem_version] = '1.48.0'
1383
+ context[:gem_version] = '1.50.0'
1383
1384
  Seahorse::Client::Request.new(handlers, context)
1384
1385
  end
1385
1386
 
@@ -9,215 +9,52 @@
9
9
 
10
10
  module Aws::Health
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 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"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- 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://health-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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://health-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
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://health.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
47
+ return Aws::Endpoints::Endpoint.new(url: "https://global.health.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "signingRegion"=>"us-east-1"}]})
48
+ end
49
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
50
+ return Aws::Endpoints::Endpoint.new(url: "https://global.health.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "signingRegion"=>"cn-northwest-1"}]})
51
+ end
52
+ return Aws::Endpoints::Endpoint.new(url: "https://health.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
53
+ end
54
+ end
55
+ raise ArgumentError, "Invalid Configuration: Missing Region"
56
+ raise ArgumentError, 'No endpoint could be resolved'
24
57
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
58
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC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hcmd2IjpbeyJyZWYiOiJQYXJ0aXRp
171
- b25SZXN1bHQifSwic3VwcG9ydHNGSVBTIl19XX0seyJmbiI6ImJvb2xlYW5F
172
- cXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7
173
- InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJd
174
- fV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10s
175
- ImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vaGVhbHRoLWZpcHMue1JlZ2lv
176
- bn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJv
177
- cGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1d
178
- fSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkZJUFMgYW5kIER1YWxTdGFj
179
- ayBhcmUgZW5hYmxlZCwgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1
180
- cHBvcnQgb25lIG9yIGJvdGgiLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0
181
- aW9ucyI6W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoi
182
- VXNlRklQUyJ9LHRydWVdfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNv
183
- bmRpdGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVl
184
- LHsiZm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVz
185
- dWx0In0sInN1cHBvcnRzRklQUyJdfV19XSwidHlwZSI6InRyZWUiLCJydWxl
186
- cyI6W3siY29uZGl0aW9ucyI6W10sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7
187
- ImNvbmRpdGlvbnMiOlt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
- b25zIjpbXSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6
205
- W3siZm4iOiJzdHJpbmdFcXVhbHMiLCJhcmd2IjpbeyJyZWYiOiJSZWdpb24i
206
- fSwiYXdzLWdsb2JhbCJdfV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
207
- Z2xvYmFsLmhlYWx0aC5hbWF6b25hd3MuY29tIiwicHJvcGVydGllcyI6eyJh
208
- dXRoU2NoZW1lcyI6W3sibmFtZSI6InNpZ3Y0Iiwic2lnbmluZ05hbWUiOiJo
209
- ZWFsdGgiLCJzaWduaW5nUmVnaW9uIjoidXMtZWFzdC0xIn1dfSwiaGVhZGVy
210
- cyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMiOlt7ImZu
211
- Ijoic3RyaW5nRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiUmVnaW9uIn0sImF3
212
- cy1jbi1nbG9iYWwiXX1dLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2ds
213
- b2JhbC5oZWFsdGguYW1hem9uYXdzLmNvbS5jbiIsInByb3BlcnRpZXMiOnsi
214
- YXV0aFNjaGVtZXMiOlt7Im5hbWUiOiJzaWd2NCIsInNpZ25pbmdOYW1lIjoi
215
- aGVhbHRoIiwic2lnbmluZ1JlZ2lvbiI6ImNuLW5vcnRod2VzdC0xIn1dfSwi
216
- aGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMi
217
- OltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2hlYWx0aC57UmVnaW9u
218
- fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
219
- fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX1dfQ==
220
-
221
- JSON
222
59
  end
223
60
  end
@@ -108,14 +108,6 @@ module Aws::Health
108
108
  # [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_EventFilter.html
109
109
  # [2]: https://docs.aws.amazon.com/health/latest/APIReference/API_EntityFilter.html
110
110
  #
111
- # @note When making an API call, you may pass DateTimeRange
112
- # data as a hash:
113
- #
114
- # {
115
- # from: Time.now,
116
- # to: Time.now,
117
- # }
118
- #
119
111
  # @!attribute [rw] from
120
112
  # The starting date and time of a time range.
121
113
  # @return [Time]
@@ -133,15 +125,6 @@ module Aws::Health
133
125
  include Aws::Structure
134
126
  end
135
127
 
136
- # @note When making an API call, you may pass DescribeAffectedAccountsForOrganizationRequest
137
- # data as a hash:
138
- #
139
- # {
140
- # event_arn: "eventArn", # required
141
- # next_token: "nextToken",
142
- # max_results: 1,
143
- # }
144
- #
145
128
  # @!attribute [rw] event_arn
146
129
  # The unique identifier for the event. The event ARN has the
147
130
  # `arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
@@ -181,7 +164,7 @@ module Aws::Health
181
164
  #
182
165
  # @!attribute [rw] event_scope_code
183
166
  # This parameter specifies if the Health event is a public Amazon Web
184
- # Services service event or an account-specific event.
167
+ # Service event or an account-specific event.
185
168
  #
186
169
  # * If the `eventScopeCode` value is `PUBLIC`, then the
187
170
  # `affectedAccounts` value is always empty.
@@ -215,21 +198,6 @@ module Aws::Health
215
198
  include Aws::Structure
216
199
  end
217
200
 
218
- # @note When making an API call, you may pass DescribeAffectedEntitiesForOrganizationRequest
219
- # data as a hash:
220
- #
221
- # {
222
- # organization_entity_filters: [ # required
223
- # {
224
- # event_arn: "eventArn", # required
225
- # aws_account_id: "accountId",
226
- # },
227
- # ],
228
- # locale: "locale",
229
- # next_token: "nextToken",
230
- # max_results: 1,
231
- # }
232
- #
233
201
  # @!attribute [rw] organization_entity_filters
234
202
  # A JSON set of elements including the `awsAccountId` and the
235
203
  # `eventArn`.
@@ -293,32 +261,6 @@ module Aws::Health
293
261
  include Aws::Structure
294
262
  end
295
263
 
296
- # @note When making an API call, you may pass DescribeAffectedEntitiesRequest
297
- # data as a hash:
298
- #
299
- # {
300
- # filter: { # required
301
- # event_arns: ["eventArn"], # required
302
- # entity_arns: ["entityArn"],
303
- # entity_values: ["entityValue"],
304
- # last_updated_times: [
305
- # {
306
- # from: Time.now,
307
- # to: Time.now,
308
- # },
309
- # ],
310
- # tags: [
311
- # {
312
- # "tagKey" => "tagValue",
313
- # },
314
- # ],
315
- # status_codes: ["IMPAIRED"], # accepts IMPAIRED, UNIMPAIRED, UNKNOWN
316
- # },
317
- # locale: "locale",
318
- # next_token: "nextToken",
319
- # max_results: 1,
320
- # }
321
- #
322
264
  # @!attribute [rw] filter
323
265
  # Values to narrow the results returned. At least one event ARN is
324
266
  # required.
@@ -374,13 +316,6 @@ module Aws::Health
374
316
  include Aws::Structure
375
317
  end
376
318
 
377
- # @note When making an API call, you may pass DescribeEntityAggregatesRequest
378
- # data as a hash:
379
- #
380
- # {
381
- # event_arns: ["eventArn"],
382
- # }
383
- #
384
319
  # @!attribute [rw] event_arns
385
320
  # A list of event ARNs (unique identifiers). For example:
386
321
  # `"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
@@ -408,49 +343,6 @@ module Aws::Health
408
343
  include Aws::Structure
409
344
  end
410
345
 
411
- # @note When making an API call, you may pass DescribeEventAggregatesRequest
412
- # data as a hash:
413
- #
414
- # {
415
- # filter: {
416
- # event_arns: ["eventArn"],
417
- # event_type_codes: ["eventType"],
418
- # services: ["service"],
419
- # regions: ["region"],
420
- # availability_zones: ["availabilityZone"],
421
- # start_times: [
422
- # {
423
- # from: Time.now,
424
- # to: Time.now,
425
- # },
426
- # ],
427
- # end_times: [
428
- # {
429
- # from: Time.now,
430
- # to: Time.now,
431
- # },
432
- # ],
433
- # last_updated_times: [
434
- # {
435
- # from: Time.now,
436
- # to: Time.now,
437
- # },
438
- # ],
439
- # entity_arns: ["entityArn"],
440
- # entity_values: ["entityValue"],
441
- # event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
442
- # tags: [
443
- # {
444
- # "tagKey" => "tagValue",
445
- # },
446
- # ],
447
- # event_status_codes: ["open"], # accepts open, closed, upcoming
448
- # },
449
- # aggregate_field: "eventTypeCategory", # required, accepts eventTypeCategory
450
- # max_results: 1,
451
- # next_token: "nextToken",
452
- # }
453
- #
454
346
  # @!attribute [rw] filter
455
347
  # Values to narrow the results returned.
456
348
  # @return [Types::EventFilter]
@@ -505,19 +397,6 @@ module Aws::Health
505
397
  include Aws::Structure
506
398
  end
507
399
 
508
- # @note When making an API call, you may pass DescribeEventDetailsForOrganizationRequest
509
- # data as a hash:
510
- #
511
- # {
512
- # organization_event_detail_filters: [ # required
513
- # {
514
- # event_arn: "eventArn", # required
515
- # aws_account_id: "accountId",
516
- # },
517
- # ],
518
- # locale: "locale",
519
- # }
520
- #
521
400
  # @!attribute [rw] organization_event_detail_filters
522
401
  # A set of JSON elements that includes the `awsAccountId` and the
523
402
  # `eventArn`.
@@ -554,14 +433,6 @@ module Aws::Health
554
433
  include Aws::Structure
555
434
  end
556
435
 
557
- # @note When making an API call, you may pass DescribeEventDetailsRequest
558
- # data as a hash:
559
- #
560
- # {
561
- # event_arns: ["eventArn"], # required
562
- # locale: "locale",
563
- # }
564
- #
565
436
  # @!attribute [rw] event_arns
566
437
  # A list of event ARNs (unique identifiers). For example:
567
438
  # `"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
@@ -599,20 +470,6 @@ module Aws::Health
599
470
  include Aws::Structure
600
471
  end
601
472
 
602
- # @note When making an API call, you may pass DescribeEventTypesRequest
603
- # data as a hash:
604
- #
605
- # {
606
- # filter: {
607
- # event_type_codes: ["eventTypeCode"],
608
- # services: ["service"],
609
- # event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
610
- # },
611
- # locale: "locale",
612
- # next_token: "nextToken",
613
- # max_results: 1,
614
- # }
615
- #
616
473
  # @!attribute [rw] filter
617
474
  # Values to narrow the results returned.
618
475
  # @return [Types::EventTypeFilter]
@@ -633,6 +490,11 @@ module Aws::Health
633
490
  # @!attribute [rw] max_results
634
491
  # The maximum number of items to return in one batch, between 10 and
635
492
  # 100, inclusive.
493
+ #
494
+ # <note markdown="1"> If you don't specify the `maxResults` parameter, this operation
495
+ # returns a maximum of 30 items by default.
496
+ #
497
+ # </note>
636
498
  # @return [Integer]
637
499
  #
638
500
  # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventTypesRequest AWS API Documentation
@@ -672,37 +534,6 @@ module Aws::Health
672
534
  include Aws::Structure
673
535
  end
674
536
 
675
- # @note When making an API call, you may pass DescribeEventsForOrganizationRequest
676
- # data as a hash:
677
- #
678
- # {
679
- # filter: {
680
- # event_type_codes: ["eventType"],
681
- # aws_account_ids: ["accountId"],
682
- # services: ["service"],
683
- # regions: ["region"],
684
- # start_time: {
685
- # from: Time.now,
686
- # to: Time.now,
687
- # },
688
- # end_time: {
689
- # from: Time.now,
690
- # to: Time.now,
691
- # },
692
- # last_updated_time: {
693
- # from: Time.now,
694
- # to: Time.now,
695
- # },
696
- # entity_arns: ["entityArn"],
697
- # entity_values: ["entityValue"],
698
- # event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
699
- # event_status_codes: ["open"], # accepts open, closed, upcoming
700
- # },
701
- # next_token: "nextToken",
702
- # max_results: 1,
703
- # locale: "locale",
704
- # }
705
- #
706
537
  # @!attribute [rw] filter
707
538
  # Values to narrow the results returned.
708
539
  # @return [Types::OrganizationEventFilter]
@@ -757,49 +588,6 @@ module Aws::Health
757
588
  include Aws::Structure
758
589
  end
759
590
 
760
- # @note When making an API call, you may pass DescribeEventsRequest
761
- # data as a hash:
762
- #
763
- # {
764
- # filter: {
765
- # event_arns: ["eventArn"],
766
- # event_type_codes: ["eventType"],
767
- # services: ["service"],
768
- # regions: ["region"],
769
- # availability_zones: ["availabilityZone"],
770
- # start_times: [
771
- # {
772
- # from: Time.now,
773
- # to: Time.now,
774
- # },
775
- # ],
776
- # end_times: [
777
- # {
778
- # from: Time.now,
779
- # to: Time.now,
780
- # },
781
- # ],
782
- # last_updated_times: [
783
- # {
784
- # from: Time.now,
785
- # to: Time.now,
786
- # },
787
- # ],
788
- # entity_arns: ["entityArn"],
789
- # entity_values: ["entityValue"],
790
- # event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
791
- # tags: [
792
- # {
793
- # "tagKey" => "tagValue",
794
- # },
795
- # ],
796
- # event_status_codes: ["open"], # accepts open, closed, upcoming
797
- # },
798
- # next_token: "nextToken",
799
- # max_results: 1,
800
- # locale: "locale",
801
- # }
802
- #
803
591
  # @!attribute [rw] filter
804
592
  # Values to narrow the results returned.
805
593
  # @return [Types::EventFilter]
@@ -907,27 +695,6 @@ module Aws::Health
907
695
  #
908
696
  # [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html
909
697
  #
910
- # @note When making an API call, you may pass EntityFilter
911
- # data as a hash:
912
- #
913
- # {
914
- # event_arns: ["eventArn"], # required
915
- # entity_arns: ["entityArn"],
916
- # entity_values: ["entityValue"],
917
- # last_updated_times: [
918
- # {
919
- # from: Time.now,
920
- # to: Time.now,
921
- # },
922
- # ],
923
- # tags: [
924
- # {
925
- # "tagKey" => "tagValue",
926
- # },
927
- # ],
928
- # status_codes: ["IMPAIRED"], # accepts IMPAIRED, UNIMPAIRED, UNKNOWN
929
- # }
930
- #
931
698
  # @!attribute [rw] event_arns
932
699
  # A list of event ARNs (unique identifiers). For example:
933
700
  # `"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
@@ -1007,8 +774,8 @@ module Aws::Health
1007
774
  # @return [String]
1008
775
  #
1009
776
  # @!attribute [rw] service
1010
- # The Amazon Web Services service that is affected by the event. For
1011
- # example, `EC2`, `RDS`.
777
+ # The Amazon Web Service that is affected by the event. For example,
778
+ # `EC2`, `RDS`.
1012
779
  # @return [String]
1013
780
  #
1014
781
  # @!attribute [rw] event_type_code
@@ -1051,7 +818,7 @@ module Aws::Health
1051
818
  #
1052
819
  # @!attribute [rw] event_scope_code
1053
820
  # This parameter specifies if the Health event is a public Amazon Web
1054
- # Services service event or an account-specific event.
821
+ # Service event or an account-specific event.
1055
822
  #
1056
823
  # * If the `eventScopeCode` value is `PUBLIC`, then the
1057
824
  # `affectedAccounts` value is always empty.
@@ -1094,14 +861,6 @@ module Aws::Health
1094
861
  # [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html
1095
862
  # [2]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html
1096
863
  #
1097
- # @note When making an API call, you may pass EventAccountFilter
1098
- # data as a hash:
1099
- #
1100
- # {
1101
- # event_arn: "eventArn", # required
1102
- # aws_account_id: "accountId",
1103
- # }
1104
- #
1105
864
  # @!attribute [rw] event_arn
1106
865
  # The unique identifier for the event. The event ARN has the
1107
866
  # `arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
@@ -1244,44 +1003,6 @@ module Aws::Health
1244
1003
  # [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html
1245
1004
  # [2]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html
1246
1005
  #
1247
- # @note When making an API call, you may pass EventFilter
1248
- # data as a hash:
1249
- #
1250
- # {
1251
- # event_arns: ["eventArn"],
1252
- # event_type_codes: ["eventType"],
1253
- # services: ["service"],
1254
- # regions: ["region"],
1255
- # availability_zones: ["availabilityZone"],
1256
- # start_times: [
1257
- # {
1258
- # from: Time.now,
1259
- # to: Time.now,
1260
- # },
1261
- # ],
1262
- # end_times: [
1263
- # {
1264
- # from: Time.now,
1265
- # to: Time.now,
1266
- # },
1267
- # ],
1268
- # last_updated_times: [
1269
- # {
1270
- # from: Time.now,
1271
- # to: Time.now,
1272
- # },
1273
- # ],
1274
- # entity_arns: ["entityArn"],
1275
- # entity_values: ["entityValue"],
1276
- # event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
1277
- # tags: [
1278
- # {
1279
- # "tagKey" => "tagValue",
1280
- # },
1281
- # ],
1282
- # event_status_codes: ["open"], # accepts open, closed, upcoming
1283
- # }
1284
- #
1285
1006
  # @!attribute [rw] event_arns
1286
1007
  # A list of event ARNs (unique identifiers). For example:
1287
1008
  # `"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
@@ -1294,8 +1015,8 @@ module Aws::Health
1294
1015
  # @return [Array<String>]
1295
1016
  #
1296
1017
  # @!attribute [rw] services
1297
- # The Amazon Web Services services associated with the event. For
1298
- # example, `EC2`, `RDS`.
1018
+ # The Amazon Web Services associated with the event. For example,
1019
+ # `EC2`, `RDS`.
1299
1020
  # @return [Array<String>]
1300
1021
  #
1301
1022
  # @!attribute [rw] regions
@@ -1386,8 +1107,8 @@ module Aws::Health
1386
1107
  # [2]: https://docs.aws.amazon.com/health/latest/ug/cloudwatch-events-health.html
1387
1108
  #
1388
1109
  # @!attribute [rw] service
1389
- # The Amazon Web Services service that is affected by the event. For
1390
- # example, `EC2`, `RDS`.
1110
+ # The Amazon Web Service that is affected by the event. For example,
1111
+ # `EC2`, `RDS`.
1391
1112
  # @return [String]
1392
1113
  #
1393
1114
  # @!attribute [rw] code
@@ -1419,22 +1140,13 @@ module Aws::Health
1419
1140
  #
1420
1141
  # [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventTypes.html
1421
1142
  #
1422
- # @note When making an API call, you may pass EventTypeFilter
1423
- # data as a hash:
1424
- #
1425
- # {
1426
- # event_type_codes: ["eventTypeCode"],
1427
- # services: ["service"],
1428
- # event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
1429
- # }
1430
- #
1431
1143
  # @!attribute [rw] event_type_codes
1432
1144
  # A list of event type codes.
1433
1145
  # @return [Array<String>]
1434
1146
  #
1435
1147
  # @!attribute [rw] services
1436
- # The Amazon Web Services services associated with the event. For
1437
- # example, `EC2`, `RDS`.
1148
+ # The Amazon Web Services associated with the event. For example,
1149
+ # `EC2`, `RDS`.
1438
1150
  # @return [Array<String>]
1439
1151
  #
1440
1152
  # @!attribute [rw] event_type_categories
@@ -1494,9 +1206,13 @@ module Aws::Health
1494
1206
  # @return [String]
1495
1207
  #
1496
1208
  # @!attribute [rw] error_message
1497
- # The unique identifier for the event type. The format is
1498
- # `AWS_SERVICE_DESCRIPTION`. For example,
1499
- # `AWS_EC2_SYSTEM_MAINTENANCE_EVENT`.
1209
+ # A message that describes the error. Follow the error message and
1210
+ # retry your request.
1211
+ #
1212
+ # For example, the `InvalidAccountInputError` error message appears if
1213
+ # you call the `DescribeAffectedEntitiesForOrganization` operation and
1214
+ # specify the `AccountSpecific` value for the `EventScopeCode`
1215
+ # parameter, but don't specify an Amazon Web Services account.
1500
1216
  # @return [String]
1501
1217
  #
1502
1218
  # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/OrganizationAffectedEntitiesErrorItem AWS API Documentation
@@ -1528,8 +1244,8 @@ module Aws::Health
1528
1244
  # @return [String]
1529
1245
  #
1530
1246
  # @!attribute [rw] service
1531
- # The Amazon Web Services service that is affected by the event, such
1532
- # as EC2 and RDS.
1247
+ # The Amazon Web Service that is affected by the event, such as EC2
1248
+ # and RDS.
1533
1249
  # @return [String]
1534
1250
  #
1535
1251
  # @!attribute [rw] event_type_code
@@ -1546,7 +1262,7 @@ module Aws::Health
1546
1262
  #
1547
1263
  # @!attribute [rw] event_scope_code
1548
1264
  # This parameter specifies if the Health event is a public Amazon Web
1549
- # Services service event or an account-specific event.
1265
+ # Service event or an account-specific event.
1550
1266
  #
1551
1267
  # * If the `eventScopeCode` value is `PUBLIC`, then the
1552
1268
  # `affectedAccounts` value is always empty.
@@ -1738,32 +1454,6 @@ module Aws::Health
1738
1454
  #
1739
1455
  # [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html
1740
1456
  #
1741
- # @note When making an API call, you may pass OrganizationEventFilter
1742
- # data as a hash:
1743
- #
1744
- # {
1745
- # event_type_codes: ["eventType"],
1746
- # aws_account_ids: ["accountId"],
1747
- # services: ["service"],
1748
- # regions: ["region"],
1749
- # start_time: {
1750
- # from: Time.now,
1751
- # to: Time.now,
1752
- # },
1753
- # end_time: {
1754
- # from: Time.now,
1755
- # to: Time.now,
1756
- # },
1757
- # last_updated_time: {
1758
- # from: Time.now,
1759
- # to: Time.now,
1760
- # },
1761
- # entity_arns: ["entityArn"],
1762
- # entity_values: ["entityValue"],
1763
- # event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
1764
- # event_status_codes: ["open"], # accepts open, closed, upcoming
1765
- # }
1766
- #
1767
1457
  # @!attribute [rw] event_type_codes
1768
1458
  # A list of unique identifiers for event types. For example,
1769
1459
  # `"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".`
@@ -1775,8 +1465,8 @@ module Aws::Health
1775
1465
  # @return [Array<String>]
1776
1466
  #
1777
1467
  # @!attribute [rw] services
1778
- # The Amazon Web Services services associated with the event. For
1779
- # example, `EC2`, `RDS`.
1468
+ # The Amazon Web Services associated with the event. For example,
1469
+ # `EC2`, `RDS`.
1780
1470
  # @return [Array<String>]
1781
1471
  #
1782
1472
  # @!attribute [rw] regions
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-health/customizations'
52
52
  # @!group service
53
53
  module Aws::Health
54
54
 
55
- GEM_VERSION = '1.48.0'
55
+ GEM_VERSION = '1.50.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-health
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.50.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-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core