aws-sdk-health 1.48.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-health/client.rb +1 -1
- data/lib/aws-sdk-health/endpoint_provider.rb +83 -207
- data/lib/aws-sdk-health/types.rb +0 -319
- data/lib/aws-sdk-health.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e78f68a7fd4bd126a0b4e9c13cc01892e4c8f0430093b993f5c02edf0dbf8f3
|
4
|
+
data.tar.gz: d91a1ac497ba5c6a007bbe57723a34ed4f9501280e434987571bba5793f329d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b82651be8e5748be000e07833ab47c5a509348028986d885cdd8497c7cc7eb44870d3897f5cbd195668ee87d5dcb10f21d4f3869deb66d25854ab355111ed096
|
7
|
+
data.tar.gz: be63f037cc9170bdc89b545ab375eba4e80c3fec1a5ea1991770fa7d08ff77735d7c50dcea13bba4fb5a53c2d5e7cde1d6ec48d01c810a12313d82b34f61e846
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.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.48.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
@@ -313,4 +320,4 @@ Unreleased Changes
|
|
313
320
|
1.0.0.rc2 (2016-12-09)
|
314
321
|
------------------
|
315
322
|
|
316
|
-
* Feature - Initial release of `aws-sdk-health`.
|
323
|
+
* Feature - Initial release of `aws-sdk-health`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -1379,7 +1379,7 @@ module Aws::Health
|
|
1379
1379
|
params: params,
|
1380
1380
|
config: config)
|
1381
1381
|
context[:gem_name] = 'aws-sdk-health'
|
1382
|
-
context[:gem_version] = '1.
|
1382
|
+
context[:gem_version] = '1.49.0'
|
1383
1383
|
Seahorse::Client::Request.new(handlers, context)
|
1384
1384
|
end
|
1385
1385
|
|
@@ -9,215 +9,91 @@
|
|
9
9
|
|
10
10
|
module Aws::Health
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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://health-fips.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://health-fips.#{region}.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://health.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://global.health.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://health-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://health-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://health.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://global.health.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://health-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://health-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://health.#{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://global.health.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "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://global.health.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "signingRegion"=>"cn-northwest-1"}]})
|
92
|
+
end
|
93
|
+
return Aws::Endpoints::Endpoint.new(url: "https://health.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
94
|
end
|
22
|
-
|
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
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5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ZWFzdC0xIn1dfSwiaGVhZGVy
|
210
|
-
cyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMiOlt7ImZu
|
211
|
-
Ijoic3RyaW5nRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiUmVnaW9uIn0sImF3
|
212
|
-
cy1jbi1nbG9iYWwiXX1dLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2ds
|
213
|
-
b2JhbC5oZWFsdGguYW1hem9uYXdzLmNvbS5jbiIsInByb3BlcnRpZXMiOnsi
|
214
|
-
YXV0aFNjaGVtZXMiOlt7Im5hbWUiOiJzaWd2NCIsInNpZ25pbmdOYW1lIjoi
|
215
|
-
aGVhbHRoIiwic2lnbmluZ1JlZ2lvbiI6ImNuLW5vcnRod2VzdC0xIn1dfSwi
|
216
|
-
aGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMi
|
217
|
-
OltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2hlYWx0aC57UmVnaW9u
|
218
|
-
fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
|
219
|
-
fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX1dfQ==
|
220
|
-
|
221
|
-
JSON
|
222
98
|
end
|
223
99
|
end
|
data/lib/aws-sdk-health/types.rb
CHANGED
@@ -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
|
@@ -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]
|
@@ -672,37 +529,6 @@ module Aws::Health
|
|
672
529
|
include Aws::Structure
|
673
530
|
end
|
674
531
|
|
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
532
|
# @!attribute [rw] filter
|
707
533
|
# Values to narrow the results returned.
|
708
534
|
# @return [Types::OrganizationEventFilter]
|
@@ -757,49 +583,6 @@ module Aws::Health
|
|
757
583
|
include Aws::Structure
|
758
584
|
end
|
759
585
|
|
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
586
|
# @!attribute [rw] filter
|
804
587
|
# Values to narrow the results returned.
|
805
588
|
# @return [Types::EventFilter]
|
@@ -907,27 +690,6 @@ module Aws::Health
|
|
907
690
|
#
|
908
691
|
# [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html
|
909
692
|
#
|
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
693
|
# @!attribute [rw] event_arns
|
932
694
|
# A list of event ARNs (unique identifiers). For example:
|
933
695
|
# `"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
|
@@ -1094,14 +856,6 @@ module Aws::Health
|
|
1094
856
|
# [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html
|
1095
857
|
# [2]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html
|
1096
858
|
#
|
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
859
|
# @!attribute [rw] event_arn
|
1106
860
|
# The unique identifier for the event. The event ARN has the
|
1107
861
|
# `arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
|
@@ -1244,44 +998,6 @@ module Aws::Health
|
|
1244
998
|
# [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html
|
1245
999
|
# [2]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventAggregates.html
|
1246
1000
|
#
|
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
1001
|
# @!attribute [rw] event_arns
|
1286
1002
|
# A list of event ARNs (unique identifiers). For example:
|
1287
1003
|
# `"arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456",
|
@@ -1419,15 +1135,6 @@ module Aws::Health
|
|
1419
1135
|
#
|
1420
1136
|
# [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventTypes.html
|
1421
1137
|
#
|
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
1138
|
# @!attribute [rw] event_type_codes
|
1432
1139
|
# A list of event type codes.
|
1433
1140
|
# @return [Array<String>]
|
@@ -1738,32 +1445,6 @@ module Aws::Health
|
|
1738
1445
|
#
|
1739
1446
|
# [1]: https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventsForOrganization.html
|
1740
1447
|
#
|
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
1448
|
# @!attribute [rw] event_type_codes
|
1768
1449
|
# A list of unique identifiers for event types. For example,
|
1769
1450
|
# `"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".`
|
data/lib/aws-sdk-health.rb
CHANGED
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.
|
4
|
+
version: 1.49.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:
|
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
|