aws-sdk-health 1.23.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-health.rb +1 -1
- data/lib/aws-sdk-health/client.rb +9 -3
- data/lib/aws-sdk-health/client_api.rb +5 -1
- data/lib/aws-sdk-health/types.rb +16 -4
- 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: 0ec33542b739162ec3cf66dcf0b4d2651551bbf5f81e8bf600231367c4738a68
|
4
|
+
data.tar.gz: cc9417d1600831551ab7c75a157e2df400d2f2bf406606104428c0f5891e39e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e5d988515dff9812942e5c79b1ad4d2a3373ad19399864e4cc3e0a4fc1c29f4fb58ec7056ec0f4bdd4271543fbbafde60a05eaabc565cf5d853202705a6a82b
|
7
|
+
data.tar.gz: 35def45948fddfd5bf2993ecf6147922073691bf364cad9f893dd181927a641ab1b8d596dd692360fd66311858c8cf025acce22c354c709c41a27e711356c186
|
data/lib/aws-sdk-health.rb
CHANGED
@@ -346,6 +346,7 @@ module Aws::Health
|
|
346
346
|
# @return [Types::DescribeAffectedAccountsForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
347
347
|
#
|
348
348
|
# * {Types::DescribeAffectedAccountsForOrganizationResponse#affected_accounts #affected_accounts} => Array<String>
|
349
|
+
# * {Types::DescribeAffectedAccountsForOrganizationResponse#event_scope_code #event_scope_code} => String
|
349
350
|
# * {Types::DescribeAffectedAccountsForOrganizationResponse#next_token #next_token} => String
|
350
351
|
#
|
351
352
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
@@ -362,6 +363,7 @@ module Aws::Health
|
|
362
363
|
#
|
363
364
|
# resp.affected_accounts #=> Array
|
364
365
|
# resp.affected_accounts[0] #=> String
|
366
|
+
# resp.event_scope_code #=> String, one of "PUBLIC", "ACCOUNT_SPECIFIC", "NONE"
|
365
367
|
# resp.next_token #=> String
|
366
368
|
#
|
367
369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedAccountsForOrganization AWS API Documentation
|
@@ -504,7 +506,7 @@ module Aws::Health
|
|
504
506
|
# organization_entity_filters: [ # required
|
505
507
|
# {
|
506
508
|
# event_arn: "eventArn", # required
|
507
|
-
# aws_account_id: "accountId",
|
509
|
+
# aws_account_id: "accountId",
|
508
510
|
# },
|
509
511
|
# ],
|
510
512
|
# locale: "locale",
|
@@ -704,6 +706,7 @@ module Aws::Health
|
|
704
706
|
# resp.successful_set[0].event.end_time #=> Time
|
705
707
|
# resp.successful_set[0].event.last_updated_time #=> Time
|
706
708
|
# resp.successful_set[0].event.status_code #=> String, one of "open", "closed", "upcoming"
|
709
|
+
# resp.successful_set[0].event.event_scope_code #=> String, one of "PUBLIC", "ACCOUNT_SPECIFIC", "NONE"
|
707
710
|
# resp.successful_set[0].event_description.latest_description #=> String
|
708
711
|
# resp.successful_set[0].event_metadata #=> Hash
|
709
712
|
# resp.successful_set[0].event_metadata["metadataKey"] #=> String
|
@@ -753,7 +756,7 @@ module Aws::Health
|
|
753
756
|
# organization_event_detail_filters: [ # required
|
754
757
|
# {
|
755
758
|
# event_arn: "eventArn", # required
|
756
|
-
# aws_account_id: "accountId",
|
759
|
+
# aws_account_id: "accountId",
|
757
760
|
# },
|
758
761
|
# ],
|
759
762
|
# locale: "locale",
|
@@ -773,6 +776,7 @@ module Aws::Health
|
|
773
776
|
# resp.successful_set[0].event.end_time #=> Time
|
774
777
|
# resp.successful_set[0].event.last_updated_time #=> Time
|
775
778
|
# resp.successful_set[0].event.status_code #=> String, one of "open", "closed", "upcoming"
|
779
|
+
# resp.successful_set[0].event.event_scope_code #=> String, one of "PUBLIC", "ACCOUNT_SPECIFIC", "NONE"
|
776
780
|
# resp.successful_set[0].event_description.latest_description #=> String
|
777
781
|
# resp.successful_set[0].event_metadata #=> Hash
|
778
782
|
# resp.successful_set[0].event_metadata["metadataKey"] #=> String
|
@@ -939,6 +943,7 @@ module Aws::Health
|
|
939
943
|
# resp.events[0].end_time #=> Time
|
940
944
|
# resp.events[0].last_updated_time #=> Time
|
941
945
|
# resp.events[0].status_code #=> String, one of "open", "closed", "upcoming"
|
946
|
+
# resp.events[0].event_scope_code #=> String, one of "PUBLIC", "ACCOUNT_SPECIFIC", "NONE"
|
942
947
|
# resp.next_token #=> String
|
943
948
|
#
|
944
949
|
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEvents AWS API Documentation
|
@@ -1030,6 +1035,7 @@ module Aws::Health
|
|
1030
1035
|
# resp.events[0].service #=> String
|
1031
1036
|
# resp.events[0].event_type_code #=> String
|
1032
1037
|
# resp.events[0].event_type_category #=> String, one of "issue", "accountNotification", "scheduledChange", "investigation"
|
1038
|
+
# resp.events[0].event_scope_code #=> String, one of "PUBLIC", "ACCOUNT_SPECIFIC", "NONE"
|
1033
1039
|
# resp.events[0].region #=> String
|
1034
1040
|
# resp.events[0].start_time #=> Time
|
1035
1041
|
# resp.events[0].end_time #=> Time
|
@@ -1118,7 +1124,7 @@ module Aws::Health
|
|
1118
1124
|
params: params,
|
1119
1125
|
config: config)
|
1120
1126
|
context[:gem_name] = 'aws-sdk-health'
|
1121
|
-
context[:gem_version] = '1.
|
1127
|
+
context[:gem_version] = '1.24.0'
|
1122
1128
|
Seahorse::Client::Request.new(handlers, context)
|
1123
1129
|
end
|
1124
1130
|
|
@@ -89,6 +89,7 @@ module Aws::Health
|
|
89
89
|
eventArnList = Shapes::ListShape.new(name: 'eventArnList')
|
90
90
|
eventDescription = Shapes::StringShape.new(name: 'eventDescription')
|
91
91
|
eventMetadata = Shapes::MapShape.new(name: 'eventMetadata')
|
92
|
+
eventScopeCode = Shapes::StringShape.new(name: 'eventScopeCode')
|
92
93
|
eventStatusCode = Shapes::StringShape.new(name: 'eventStatusCode')
|
93
94
|
eventStatusCodeList = Shapes::ListShape.new(name: 'eventStatusCodeList')
|
94
95
|
eventType = Shapes::StringShape.new(name: 'eventType')
|
@@ -136,6 +137,7 @@ module Aws::Health
|
|
136
137
|
DescribeAffectedAccountsForOrganizationRequest.struct_class = Types::DescribeAffectedAccountsForOrganizationRequest
|
137
138
|
|
138
139
|
DescribeAffectedAccountsForOrganizationResponse.add_member(:affected_accounts, Shapes::ShapeRef.new(shape: affectedAccountsList, location_name: "affectedAccounts"))
|
140
|
+
DescribeAffectedAccountsForOrganizationResponse.add_member(:event_scope_code, Shapes::ShapeRef.new(shape: eventScopeCode, location_name: "eventScopeCode"))
|
139
141
|
DescribeAffectedAccountsForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
140
142
|
DescribeAffectedAccountsForOrganizationResponse.struct_class = Types::DescribeAffectedAccountsForOrganizationResponse
|
141
143
|
|
@@ -261,10 +263,11 @@ module Aws::Health
|
|
261
263
|
Event.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "endTime"))
|
262
264
|
Event.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "lastUpdatedTime"))
|
263
265
|
Event.add_member(:status_code, Shapes::ShapeRef.new(shape: eventStatusCode, location_name: "statusCode"))
|
266
|
+
Event.add_member(:event_scope_code, Shapes::ShapeRef.new(shape: eventScopeCode, location_name: "eventScopeCode"))
|
264
267
|
Event.struct_class = Types::Event
|
265
268
|
|
266
269
|
EventAccountFilter.add_member(:event_arn, Shapes::ShapeRef.new(shape: eventArn, required: true, location_name: "eventArn"))
|
267
|
-
EventAccountFilter.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: accountId,
|
270
|
+
EventAccountFilter.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: accountId, location_name: "awsAccountId"))
|
268
271
|
EventAccountFilter.struct_class = Types::EventAccountFilter
|
269
272
|
|
270
273
|
EventAggregate.add_member(:aggregate_value, Shapes::ShapeRef.new(shape: aggregateValue, location_name: "aggregateValue"))
|
@@ -336,6 +339,7 @@ module Aws::Health
|
|
336
339
|
OrganizationEvent.add_member(:service, Shapes::ShapeRef.new(shape: service, location_name: "service"))
|
337
340
|
OrganizationEvent.add_member(:event_type_code, Shapes::ShapeRef.new(shape: eventTypeCode, location_name: "eventTypeCode"))
|
338
341
|
OrganizationEvent.add_member(:event_type_category, Shapes::ShapeRef.new(shape: eventTypeCategory, location_name: "eventTypeCategory"))
|
342
|
+
OrganizationEvent.add_member(:event_scope_code, Shapes::ShapeRef.new(shape: eventScopeCode, location_name: "eventScopeCode"))
|
339
343
|
OrganizationEvent.add_member(:region, Shapes::ShapeRef.new(shape: region, location_name: "region"))
|
340
344
|
OrganizationEvent.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "startTime"))
|
341
345
|
OrganizationEvent.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "endTime"))
|
data/lib/aws-sdk-health/types.rb
CHANGED
@@ -151,6 +151,9 @@ module Aws::Health
|
|
151
151
|
# A JSON set of elements of the affected accounts.
|
152
152
|
# @return [Array<String>]
|
153
153
|
#
|
154
|
+
# @!attribute [rw] event_scope_code
|
155
|
+
# @return [String]
|
156
|
+
#
|
154
157
|
# @!attribute [rw] next_token
|
155
158
|
# If the results of a search are large, only a portion of the results
|
156
159
|
# are returned, and a `nextToken` pagination token is returned in the
|
@@ -163,6 +166,7 @@ module Aws::Health
|
|
163
166
|
#
|
164
167
|
class DescribeAffectedAccountsForOrganizationResponse < Struct.new(
|
165
168
|
:affected_accounts,
|
169
|
+
:event_scope_code,
|
166
170
|
:next_token)
|
167
171
|
include Aws::Structure
|
168
172
|
end
|
@@ -174,7 +178,7 @@ module Aws::Health
|
|
174
178
|
# organization_entity_filters: [ # required
|
175
179
|
# {
|
176
180
|
# event_arn: "eventArn", # required
|
177
|
-
# aws_account_id: "accountId",
|
181
|
+
# aws_account_id: "accountId",
|
178
182
|
# },
|
179
183
|
# ],
|
180
184
|
# locale: "locale",
|
@@ -456,7 +460,7 @@ module Aws::Health
|
|
456
460
|
# organization_event_detail_filters: [ # required
|
457
461
|
# {
|
458
462
|
# event_arn: "eventArn", # required
|
459
|
-
# aws_account_id: "accountId",
|
463
|
+
# aws_account_id: "accountId",
|
460
464
|
# },
|
461
465
|
# ],
|
462
466
|
# locale: "locale",
|
@@ -939,6 +943,9 @@ module Aws::Health
|
|
939
943
|
# `closed`, and `upcoming`.
|
940
944
|
# @return [String]
|
941
945
|
#
|
946
|
+
# @!attribute [rw] event_scope_code
|
947
|
+
# @return [String]
|
948
|
+
#
|
942
949
|
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/Event AWS API Documentation
|
943
950
|
#
|
944
951
|
class Event < Struct.new(
|
@@ -951,7 +958,8 @@ module Aws::Health
|
|
951
958
|
:start_time,
|
952
959
|
:end_time,
|
953
960
|
:last_updated_time,
|
954
|
-
:status_code
|
961
|
+
:status_code,
|
962
|
+
:event_scope_code)
|
955
963
|
include Aws::Structure
|
956
964
|
end
|
957
965
|
|
@@ -964,7 +972,7 @@ module Aws::Health
|
|
964
972
|
#
|
965
973
|
# {
|
966
974
|
# event_arn: "eventArn", # required
|
967
|
-
# aws_account_id: "accountId",
|
975
|
+
# aws_account_id: "accountId",
|
968
976
|
# }
|
969
977
|
#
|
970
978
|
# @!attribute [rw] event_arn
|
@@ -1328,6 +1336,9 @@ module Aws::Health
|
|
1328
1336
|
# The category of the event type.
|
1329
1337
|
# @return [String]
|
1330
1338
|
#
|
1339
|
+
# @!attribute [rw] event_scope_code
|
1340
|
+
# @return [String]
|
1341
|
+
#
|
1331
1342
|
# @!attribute [rw] region
|
1332
1343
|
# The AWS Region name of the event.
|
1333
1344
|
# @return [String]
|
@@ -1356,6 +1367,7 @@ module Aws::Health
|
|
1356
1367
|
:service,
|
1357
1368
|
:event_type_code,
|
1358
1369
|
:event_type_category,
|
1370
|
+
:event_scope_code,
|
1359
1371
|
:region,
|
1360
1372
|
:start_time,
|
1361
1373
|
:end_time,
|
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.24.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: 2020-05-
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|