aws-sdk-health 1.0.0.rc3 → 1.0.0.rc4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-health.rb +1 -1
- data/lib/aws-sdk-health/client.rb +15 -1
- data/lib/aws-sdk-health/types.rb +48 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81f7029074c0dc20b78b6bf61256c0968b05602c
|
4
|
+
data.tar.gz: 7090c3a76fef413affe84483ed37ef070c4b3c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 248802a46f5bb2aeb2ea6090363ffac43689b963a592e63588f67d202acb6cacd69c9c6f4f6ed9b0cd0589b516102d0cd9595cc715223c728b0749fdca359856
|
7
|
+
data.tar.gz: 7d8faebc3c687465fc5645d67142790f1a60a97a99cc7422a9dcd83f636e9bdc513600aa03125004d0b2111d52a720d13b8edc7934b74ce6b04a07063c0cfe3f
|
data/lib/aws-sdk-health.rb
CHANGED
@@ -18,6 +18,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
|
18
18
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
19
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
20
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
21
22
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
22
23
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
23
24
|
|
@@ -45,6 +46,7 @@ module Aws::Health
|
|
45
46
|
add_plugin(Aws::Plugins::ResponsePaging)
|
46
47
|
add_plugin(Aws::Plugins::StubResponses)
|
47
48
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
49
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
48
50
|
add_plugin(Aws::Plugins::SignatureV4)
|
49
51
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
50
52
|
|
@@ -225,6 +227,8 @@ module Aws::Health
|
|
225
227
|
# resp.entities[0].tags["tagKey"] #=> String
|
226
228
|
# resp.next_token #=> String
|
227
229
|
#
|
230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntities AWS API Documentation
|
231
|
+
#
|
228
232
|
# @overload describe_affected_entities(params = {})
|
229
233
|
# @param [Hash] params ({})
|
230
234
|
def describe_affected_entities(params = {}, options = {})
|
@@ -257,6 +261,8 @@ module Aws::Health
|
|
257
261
|
# resp.entity_aggregates[0].event_arn #=> String
|
258
262
|
# resp.entity_aggregates[0].count #=> Integer
|
259
263
|
#
|
264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEntityAggregates AWS API Documentation
|
265
|
+
#
|
260
266
|
# @overload describe_entity_aggregates(params = {})
|
261
267
|
# @param [Hash] params ({})
|
262
268
|
def describe_entity_aggregates(params = {}, options = {})
|
@@ -339,6 +345,8 @@ module Aws::Health
|
|
339
345
|
# resp.event_aggregates[0].count #=> Integer
|
340
346
|
# resp.next_token #=> String
|
341
347
|
#
|
348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventAggregates AWS API Documentation
|
349
|
+
#
|
342
350
|
# @overload describe_event_aggregates(params = {})
|
343
351
|
# @param [Hash] params ({})
|
344
352
|
def describe_event_aggregates(params = {}, options = {})
|
@@ -398,6 +406,8 @@ module Aws::Health
|
|
398
406
|
# resp.failed_set[0].error_name #=> String
|
399
407
|
# resp.failed_set[0].error_message #=> String
|
400
408
|
#
|
409
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetails AWS API Documentation
|
410
|
+
#
|
401
411
|
# @overload describe_event_details(params = {})
|
402
412
|
# @param [Hash] params ({})
|
403
413
|
def describe_event_details(params = {}, options = {})
|
@@ -453,6 +463,8 @@ module Aws::Health
|
|
453
463
|
# resp.event_types[0].category #=> String, one of "issue", "accountNotification", "scheduledChange"
|
454
464
|
# resp.next_token #=> String
|
455
465
|
#
|
466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventTypes AWS API Documentation
|
467
|
+
#
|
456
468
|
# @overload describe_event_types(params = {})
|
457
469
|
# @param [Hash] params ({})
|
458
470
|
def describe_event_types(params = {}, options = {})
|
@@ -549,6 +561,8 @@ module Aws::Health
|
|
549
561
|
# resp.events[0].status_code #=> String, one of "open", "closed", "upcoming"
|
550
562
|
# resp.next_token #=> String
|
551
563
|
#
|
564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEvents AWS API Documentation
|
565
|
+
#
|
552
566
|
# @overload describe_events(params = {})
|
553
567
|
# @param [Hash] params ({})
|
554
568
|
def describe_events(params = {}, options = {})
|
@@ -569,7 +583,7 @@ module Aws::Health
|
|
569
583
|
params: params,
|
570
584
|
config: config)
|
571
585
|
context[:gem_name] = 'aws-sdk-health'
|
572
|
-
context[:gem_version] = '1.0.0.
|
586
|
+
context[:gem_version] = '1.0.0.rc4'
|
573
587
|
Seahorse::Client::Request.new(handlers, context)
|
574
588
|
end
|
575
589
|
|
data/lib/aws-sdk-health/types.rb
CHANGED
@@ -44,6 +44,8 @@ module Aws::Health
|
|
44
44
|
# A map of entity tags attached to the affected entity.
|
45
45
|
# @return [Hash<String,String>]
|
46
46
|
#
|
47
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/AffectedEntity AWS API Documentation
|
48
|
+
#
|
47
49
|
class AffectedEntity < Struct.new(
|
48
50
|
:entity_arn,
|
49
51
|
:event_arn,
|
@@ -79,6 +81,8 @@ module Aws::Health
|
|
79
81
|
# The ending date and time of a time range.
|
80
82
|
# @return [Time]
|
81
83
|
#
|
84
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DateTimeRange AWS API Documentation
|
85
|
+
#
|
82
86
|
class DateTimeRange < Struct.new(
|
83
87
|
:from,
|
84
88
|
:to)
|
@@ -134,6 +138,8 @@ module Aws::Health
|
|
134
138
|
# 100, inclusive.
|
135
139
|
# @return [Integer]
|
136
140
|
#
|
141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntitiesRequest AWS API Documentation
|
142
|
+
#
|
137
143
|
class DescribeAffectedEntitiesRequest < Struct.new(
|
138
144
|
:filter,
|
139
145
|
:locale,
|
@@ -154,6 +160,8 @@ module Aws::Health
|
|
154
160
|
# returned, the response does not contain a pagination token value.
|
155
161
|
# @return [String]
|
156
162
|
#
|
163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntitiesResponse AWS API Documentation
|
164
|
+
#
|
157
165
|
class DescribeAffectedEntitiesResponse < Struct.new(
|
158
166
|
:entities,
|
159
167
|
:next_token)
|
@@ -173,6 +181,8 @@ module Aws::Health
|
|
173
181
|
# "arn:aws:health:us-west-1::event/AWS_EBS_LOST_VOLUME_xyz"`
|
174
182
|
# @return [Array<String>]
|
175
183
|
#
|
184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEntityAggregatesRequest AWS API Documentation
|
185
|
+
#
|
176
186
|
class DescribeEntityAggregatesRequest < Struct.new(
|
177
187
|
:event_arns)
|
178
188
|
include Aws::Structure
|
@@ -183,6 +193,8 @@ module Aws::Health
|
|
183
193
|
# events.
|
184
194
|
# @return [Array<Types::EntityAggregate>]
|
185
195
|
#
|
196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEntityAggregatesResponse AWS API Documentation
|
197
|
+
#
|
186
198
|
class DescribeEntityAggregatesResponse < Struct.new(
|
187
199
|
:entity_aggregates)
|
188
200
|
include Aws::Structure
|
@@ -252,6 +264,8 @@ module Aws::Health
|
|
252
264
|
# returned, the response does not contain a pagination token value.
|
253
265
|
# @return [String]
|
254
266
|
#
|
267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventAggregatesRequest AWS API Documentation
|
268
|
+
#
|
255
269
|
class DescribeEventAggregatesRequest < Struct.new(
|
256
270
|
:filter,
|
257
271
|
:aggregate_field,
|
@@ -273,6 +287,8 @@ module Aws::Health
|
|
273
287
|
# returned, the response does not contain a pagination token value.
|
274
288
|
# @return [String]
|
275
289
|
#
|
290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventAggregatesResponse AWS API Documentation
|
291
|
+
#
|
276
292
|
class DescribeEventAggregatesResponse < Struct.new(
|
277
293
|
:event_aggregates,
|
278
294
|
:next_token)
|
@@ -298,6 +314,8 @@ module Aws::Health
|
|
298
314
|
# default and the only supported value at this time.
|
299
315
|
# @return [String]
|
300
316
|
#
|
317
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetailsRequest AWS API Documentation
|
318
|
+
#
|
301
319
|
class DescribeEventDetailsRequest < Struct.new(
|
302
320
|
:event_arns,
|
303
321
|
:locale)
|
@@ -312,6 +330,8 @@ module Aws::Health
|
|
312
330
|
# Error messages for any events that could not be retrieved.
|
313
331
|
# @return [Array<Types::EventDetailsErrorItem>]
|
314
332
|
#
|
333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetailsResponse AWS API Documentation
|
334
|
+
#
|
315
335
|
class DescribeEventDetailsResponse < Struct.new(
|
316
336
|
:successful_set,
|
317
337
|
:failed_set)
|
@@ -354,6 +374,8 @@ module Aws::Health
|
|
354
374
|
# 100, inclusive.
|
355
375
|
# @return [Integer]
|
356
376
|
#
|
377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventTypesRequest AWS API Documentation
|
378
|
+
#
|
357
379
|
class DescribeEventTypesRequest < Struct.new(
|
358
380
|
:filter,
|
359
381
|
:locale,
|
@@ -379,6 +401,8 @@ module Aws::Health
|
|
379
401
|
# returned, the response does not contain a pagination token value.
|
380
402
|
# @return [String]
|
381
403
|
#
|
404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventTypesResponse AWS API Documentation
|
405
|
+
#
|
382
406
|
class DescribeEventTypesResponse < Struct.new(
|
383
407
|
:event_types,
|
384
408
|
:next_token)
|
@@ -450,6 +474,8 @@ module Aws::Health
|
|
450
474
|
# default and the only supported value at this time.
|
451
475
|
# @return [String]
|
452
476
|
#
|
477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventsRequest AWS API Documentation
|
478
|
+
#
|
453
479
|
class DescribeEventsRequest < Struct.new(
|
454
480
|
:filter,
|
455
481
|
:next_token,
|
@@ -470,6 +496,8 @@ module Aws::Health
|
|
470
496
|
# returned, the response does not contain a pagination token value.
|
471
497
|
# @return [String]
|
472
498
|
#
|
499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventsResponse AWS API Documentation
|
500
|
+
#
|
473
501
|
class DescribeEventsResponse < Struct.new(
|
474
502
|
:events,
|
475
503
|
:next_token)
|
@@ -490,6 +518,8 @@ module Aws::Health
|
|
490
518
|
# events.
|
491
519
|
# @return [Integer]
|
492
520
|
#
|
521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EntityAggregate AWS API Documentation
|
522
|
+
#
|
493
523
|
class EntityAggregate < Struct.new(
|
494
524
|
:event_arn,
|
495
525
|
:count)
|
@@ -548,6 +578,8 @@ module Aws::Health
|
|
548
578
|
# `UNKNOWN`).
|
549
579
|
# @return [Array<String>]
|
550
580
|
#
|
581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EntityFilter AWS API Documentation
|
582
|
+
#
|
551
583
|
class EntityFilter < Struct.new(
|
552
584
|
:event_arns,
|
553
585
|
:entity_arns,
|
@@ -609,6 +641,8 @@ module Aws::Health
|
|
609
641
|
# `closed`, and `upcoming`.
|
610
642
|
# @return [String]
|
611
643
|
#
|
644
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/Event AWS API Documentation
|
645
|
+
#
|
612
646
|
class Event < Struct.new(
|
613
647
|
:arn,
|
614
648
|
:service,
|
@@ -634,6 +668,8 @@ module Aws::Health
|
|
634
668
|
# The number of events of the associated issue type.
|
635
669
|
# @return [Integer]
|
636
670
|
#
|
671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventAggregate AWS API Documentation
|
672
|
+
#
|
637
673
|
class EventAggregate < Struct.new(
|
638
674
|
:aggregate_value,
|
639
675
|
:count)
|
@@ -647,6 +683,8 @@ module Aws::Health
|
|
647
683
|
# The most recent description of the event.
|
648
684
|
# @return [String]
|
649
685
|
#
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventDescription AWS API Documentation
|
687
|
+
#
|
650
688
|
class EventDescription < Struct.new(
|
651
689
|
:latest_description)
|
652
690
|
include Aws::Structure
|
@@ -668,6 +706,8 @@ module Aws::Health
|
|
668
706
|
# Additional metadata about the event.
|
669
707
|
# @return [Hash<String,String>]
|
670
708
|
#
|
709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventDetails AWS API Documentation
|
710
|
+
#
|
671
711
|
class EventDetails < Struct.new(
|
672
712
|
:event,
|
673
713
|
:event_description,
|
@@ -692,6 +732,8 @@ module Aws::Health
|
|
692
732
|
# A message that describes the error.
|
693
733
|
# @return [String]
|
694
734
|
#
|
735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventDetailsErrorItem AWS API Documentation
|
736
|
+
#
|
695
737
|
class EventDetailsErrorItem < Struct.new(
|
696
738
|
:event_arn,
|
697
739
|
:error_name,
|
@@ -798,6 +840,8 @@ module Aws::Health
|
|
798
840
|
# A list of event status codes.
|
799
841
|
# @return [Array<String>]
|
800
842
|
#
|
843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventFilter AWS API Documentation
|
844
|
+
#
|
801
845
|
class EventFilter < Struct.new(
|
802
846
|
:event_arns,
|
803
847
|
:event_type_codes,
|
@@ -836,6 +880,8 @@ module Aws::Health
|
|
836
880
|
# `accountNotification`).
|
837
881
|
# @return [String]
|
838
882
|
#
|
883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventType AWS API Documentation
|
884
|
+
#
|
839
885
|
class EventType < Struct.new(
|
840
886
|
:service,
|
841
887
|
:code,
|
@@ -869,6 +915,8 @@ module Aws::Health
|
|
869
915
|
# `accountNotification`).
|
870
916
|
# @return [Array<String>]
|
871
917
|
#
|
918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventTypeFilter AWS API Documentation
|
919
|
+
#
|
872
920
|
class EventTypeFilter < Struct.new(
|
873
921
|
:event_type_codes,
|
874
922
|
:services,
|
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.0.0.
|
4
|
+
version: 1.0.0.rc4
|
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: 2017-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|