aws-sdk-health 1.20.0 → 1.21.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 040eef9ba937590643d7290afee70fc7a003260f
4
- data.tar.gz: cb3c12338f735782a2cc6fb38e6bfbdd12ef7b93
3
+ metadata.gz: ade9468f1c3087397993fe4b5125d8ae533d70ac
4
+ data.tar.gz: 3b566684b34eff2d804bab0f4fc184d54b692bae
5
5
  SHA512:
6
- metadata.gz: d970c4c5f5058d59f04554bedd915cb0ca084468388e3819072e2c2b5f4457f7623d56674b9764d81ee774130a7b1b1454e29ac0a38c0fb5e47931006109b399
7
- data.tar.gz: 48b1b3de833c3e76d6ca19841572b98b5bd48330d4eb95b74ca8c4f87715dd807cef4dd0045b88501974c229ef5c616f3b8a2c6c03ae191657dc11ee6f411c83
6
+ metadata.gz: 6fa35e3ea38111b9c1691a62c001072c31aa5db7674b56e919ba3a573a58b6f1b794229dc1f59df043a9681340ff31ace73410492b1017f911b74f43f086b058
7
+ data.tar.gz: 14703b3fdf60bbeba3e1410b4a8c7c918b0874e403d9776d7c50e0839ed4f816a3bdc8fab1122008dd96d0154fd3f647902d255a79d1a0da992ffd444bd679f6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-health/customizations'
42
42
  # @service
43
43
  module Aws::Health
44
44
 
45
- GEM_VERSION = '1.20.0'
45
+ GEM_VERSION = '1.21.0'
46
46
 
47
47
  end
@@ -264,6 +264,59 @@ module Aws::Health
264
264
 
265
265
  # @!group API Operations
266
266
 
267
+ # Returns a list of accounts in the organization from AWS Organizations
268
+ # that are affected by the provided event.
269
+ #
270
+ # Before you can call this operation, you must first enable AWS Health
271
+ # to work with AWS Organizations. To do this, call the
272
+ # EnableHealthServiceAccessForOrganization operation from your
273
+ # organization's master account.
274
+ #
275
+ # @option params [required, String] :event_arn
276
+ # The unique identifier for the event. Format:
277
+ # `arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID
278
+ # `. Example: `Example:
279
+ # arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456`
280
+ #
281
+ # @option params [String] :next_token
282
+ # If the results of a search are large, only a portion of the results
283
+ # are returned, and a `nextToken` pagination token is returned in the
284
+ # response. To retrieve the next batch of results, reissue the search
285
+ # request and include the returned token. When all results have been
286
+ # returned, the response does not contain a pagination token value.
287
+ #
288
+ # @option params [Integer] :max_results
289
+ # The maximum number of items to return in one batch, between 10 and
290
+ # 100, inclusive.
291
+ #
292
+ # @return [Types::DescribeAffectedAccountsForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
293
+ #
294
+ # * {Types::DescribeAffectedAccountsForOrganizationResponse#affected_accounts #affected_accounts} => Array<String>
295
+ # * {Types::DescribeAffectedAccountsForOrganizationResponse#next_token #next_token} => String
296
+ #
297
+ # @example Request syntax with placeholder values
298
+ #
299
+ # resp = client.describe_affected_accounts_for_organization({
300
+ # event_arn: "eventArn", # required
301
+ # next_token: "nextToken",
302
+ # max_results: 1,
303
+ # })
304
+ #
305
+ # @example Response structure
306
+ #
307
+ # resp.affected_accounts #=> Array
308
+ # resp.affected_accounts[0] #=> String
309
+ # resp.next_token #=> String
310
+ #
311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedAccountsForOrganization AWS API Documentation
312
+ #
313
+ # @overload describe_affected_accounts_for_organization(params = {})
314
+ # @param [Hash] params ({})
315
+ def describe_affected_accounts_for_organization(params = {}, options = {})
316
+ req = build_request(:describe_affected_accounts_for_organization, params)
317
+ req.send_request(options)
318
+ end
319
+
267
320
  # Returns a list of entities that have been affected by the specified
268
321
  # events, based on the specified filter criteria. Entities can refer to
269
322
  # individual customer resources, groups of customer resources, or any
@@ -346,6 +399,87 @@ module Aws::Health
346
399
  req.send_request(options)
347
400
  end
348
401
 
402
+ # Returns a list of entities that have been affected by one or more
403
+ # events for one or more accounts in your organization in AWS
404
+ # Organizations, based on the filter criteria. Entities can refer to
405
+ # individual customer resources, groups of customer resources, or any
406
+ # other construct, depending on the AWS service.
407
+ #
408
+ # At least one event ARN and account ID are required. Results are sorted
409
+ # by the `lastUpdatedTime` of the entity, starting with the most recent.
410
+ #
411
+ # Before you can call this operation, you must first enable AWS Health
412
+ # to work with AWS Organizations. To do this, call the
413
+ # EnableHealthServiceAccessForOrganization operation from your
414
+ # organization's master account.
415
+ #
416
+ # @option params [required, Array<Types::EventAccountFilter>] :organization_entity_filters
417
+ # A JSON set of elements including the `awsAccountId` and the
418
+ # `eventArn`.
419
+ #
420
+ # @option params [String] :locale
421
+ # The locale (language) to return information in. English (en) is the
422
+ # default and the only supported value at this time.
423
+ #
424
+ # @option params [String] :next_token
425
+ # If the results of a search are large, only a portion of the results
426
+ # are returned, and a `nextToken` pagination token is returned in the
427
+ # response. To retrieve the next batch of results, reissue the search
428
+ # request and include the returned token. When all results have been
429
+ # returned, the response does not contain a pagination token value.
430
+ #
431
+ # @option params [Integer] :max_results
432
+ # The maximum number of items to return in one batch, between 10 and
433
+ # 100, inclusive.
434
+ #
435
+ # @return [Types::DescribeAffectedEntitiesForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
436
+ #
437
+ # * {Types::DescribeAffectedEntitiesForOrganizationResponse#entities #entities} => Array&lt;Types::AffectedEntity&gt;
438
+ # * {Types::DescribeAffectedEntitiesForOrganizationResponse#failed_set #failed_set} => Array&lt;Types::OrganizationAffectedEntitiesErrorItem&gt;
439
+ # * {Types::DescribeAffectedEntitiesForOrganizationResponse#next_token #next_token} => String
440
+ #
441
+ # @example Request syntax with placeholder values
442
+ #
443
+ # resp = client.describe_affected_entities_for_organization({
444
+ # organization_entity_filters: [ # required
445
+ # {
446
+ # event_arn: "eventArn", # required
447
+ # aws_account_id: "accountId", # required
448
+ # },
449
+ # ],
450
+ # locale: "locale",
451
+ # next_token: "nextToken",
452
+ # max_results: 1,
453
+ # })
454
+ #
455
+ # @example Response structure
456
+ #
457
+ # resp.entities #=> Array
458
+ # resp.entities[0].entity_arn #=> String
459
+ # resp.entities[0].event_arn #=> String
460
+ # resp.entities[0].entity_value #=> String
461
+ # resp.entities[0].entity_url #=> String
462
+ # resp.entities[0].aws_account_id #=> String
463
+ # resp.entities[0].last_updated_time #=> Time
464
+ # resp.entities[0].status_code #=> String, one of "IMPAIRED", "UNIMPAIRED", "UNKNOWN"
465
+ # resp.entities[0].tags #=> Hash
466
+ # resp.entities[0].tags["tagKey"] #=> String
467
+ # resp.failed_set #=> Array
468
+ # resp.failed_set[0].aws_account_id #=> String
469
+ # resp.failed_set[0].event_arn #=> String
470
+ # resp.failed_set[0].error_name #=> String
471
+ # resp.failed_set[0].error_message #=> String
472
+ # resp.next_token #=> String
473
+ #
474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntitiesForOrganization AWS API Documentation
475
+ #
476
+ # @overload describe_affected_entities_for_organization(params = {})
477
+ # @param [Hash] params ({})
478
+ def describe_affected_entities_for_organization(params = {}, options = {})
479
+ req = build_request(:describe_affected_entities_for_organization, params)
480
+ req.send_request(options)
481
+ end
482
+
349
483
  # Returns the number of entities that are affected by each of the
350
484
  # specified events. If no events are specified, the counts of all
351
485
  # affected entities are returned.
@@ -465,8 +599,8 @@ module Aws::Health
465
599
  end
466
600
 
467
601
  # Returns detailed information about one or more specified events.
468
- # Information includes standard event data (region, service, etc., as
469
- # returned by DescribeEvents), a detailed event description, and
602
+ # Information includes standard event data (region, service, and so on,
603
+ # as returned by DescribeEvents), a detailed event description, and
470
604
  # possible additional metadata that depends upon the nature of the
471
605
  # event. Affected entities are not included; to retrieve those, use the
472
606
  # DescribeAffectedEntities operation.
@@ -525,6 +659,76 @@ module Aws::Health
525
659
  req.send_request(options)
526
660
  end
527
661
 
662
+ # Returns detailed information about one or more specified events for
663
+ # one or more accounts in your organization. Information includes
664
+ # standard event data (Region, service, and so on, as returned by
665
+ # DescribeEventsForOrganization, a detailed event description, and
666
+ # possible additional metadata that depends upon the nature of the
667
+ # event. Affected entities are not included; to retrieve those, use the
668
+ # DescribeAffectedEntitiesForOrganization operation.
669
+ #
670
+ # Before you can call this operation, you must first enable AWS Health
671
+ # to work with AWS Organizations. To do this, call the
672
+ # EnableHealthServiceAccessForOrganization operation from your
673
+ # organization's master account.
674
+ #
675
+ # @option params [required, Array<Types::EventAccountFilter>] :organization_event_detail_filters
676
+ # A set of JSON elements that includes the `awsAccountId` and the
677
+ # `eventArn`.
678
+ #
679
+ # @option params [String] :locale
680
+ # The locale (language) to return information in. English (en) is the
681
+ # default and the only supported value at this time.
682
+ #
683
+ # @return [Types::DescribeEventDetailsForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
684
+ #
685
+ # * {Types::DescribeEventDetailsForOrganizationResponse#successful_set #successful_set} => Array&lt;Types::OrganizationEventDetails&gt;
686
+ # * {Types::DescribeEventDetailsForOrganizationResponse#failed_set #failed_set} => Array&lt;Types::OrganizationEventDetailsErrorItem&gt;
687
+ #
688
+ # @example Request syntax with placeholder values
689
+ #
690
+ # resp = client.describe_event_details_for_organization({
691
+ # organization_event_detail_filters: [ # required
692
+ # {
693
+ # event_arn: "eventArn", # required
694
+ # aws_account_id: "accountId", # required
695
+ # },
696
+ # ],
697
+ # locale: "locale",
698
+ # })
699
+ #
700
+ # @example Response structure
701
+ #
702
+ # resp.successful_set #=> Array
703
+ # resp.successful_set[0].aws_account_id #=> String
704
+ # resp.successful_set[0].event.arn #=> String
705
+ # resp.successful_set[0].event.service #=> String
706
+ # resp.successful_set[0].event.event_type_code #=> String
707
+ # resp.successful_set[0].event.event_type_category #=> String, one of "issue", "accountNotification", "scheduledChange", "investigation"
708
+ # resp.successful_set[0].event.region #=> String
709
+ # resp.successful_set[0].event.availability_zone #=> String
710
+ # resp.successful_set[0].event.start_time #=> Time
711
+ # resp.successful_set[0].event.end_time #=> Time
712
+ # resp.successful_set[0].event.last_updated_time #=> Time
713
+ # resp.successful_set[0].event.status_code #=> String, one of "open", "closed", "upcoming"
714
+ # resp.successful_set[0].event_description.latest_description #=> String
715
+ # resp.successful_set[0].event_metadata #=> Hash
716
+ # resp.successful_set[0].event_metadata["metadataKey"] #=> String
717
+ # resp.failed_set #=> Array
718
+ # resp.failed_set[0].aws_account_id #=> String
719
+ # resp.failed_set[0].event_arn #=> String
720
+ # resp.failed_set[0].error_name #=> String
721
+ # resp.failed_set[0].error_message #=> String
722
+ #
723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetailsForOrganization AWS API Documentation
724
+ #
725
+ # @overload describe_event_details_for_organization(params = {})
726
+ # @param [Hash] params ({})
727
+ def describe_event_details_for_organization(params = {}, options = {})
728
+ req = build_request(:describe_event_details_for_organization, params)
729
+ req.send_request(options)
730
+ end
731
+
528
732
  # Returns the event types that meet the specified filter criteria. If no
529
733
  # filter criteria are specified, all event types are returned, in no
530
734
  # particular order.
@@ -680,6 +884,159 @@ module Aws::Health
680
884
  req.send_request(options)
681
885
  end
682
886
 
887
+ # Returns information about events across your organization in AWS
888
+ # Organizations, meeting the specified filter criteria. Events are
889
+ # returned in a summary form and do not include the accounts impacted,
890
+ # detailed description, any additional metadata that depends on the
891
+ # event type, or any affected resources. To retrieve that information,
892
+ # use the DescribeAffectedAccountsForOrganization,
893
+ # DescribeEventDetailsForOrganization, and
894
+ # DescribeAffectedEntitiesForOrganization operations.
895
+ #
896
+ # If no filter criteria are specified, all events across your
897
+ # organization are returned. Results are sorted by `lastModifiedTime`,
898
+ # starting with the most recent.
899
+ #
900
+ # Before you can call this operation, you must first enable Health to
901
+ # work with AWS Organizations. To do this, call the
902
+ # EnableHealthServiceAccessForOrganization operation from your
903
+ # organization's master account.
904
+ #
905
+ # @option params [Types::OrganizationEventFilter] :filter
906
+ # Values to narrow the results returned.
907
+ #
908
+ # @option params [String] :next_token
909
+ # If the results of a search are large, only a portion of the results
910
+ # are returned, and a `nextToken` pagination token is returned in the
911
+ # response. To retrieve the next batch of results, reissue the search
912
+ # request and include the returned token. When all results have been
913
+ # returned, the response does not contain a pagination token value.
914
+ #
915
+ # @option params [Integer] :max_results
916
+ # The maximum number of items to return in one batch, between 10 and
917
+ # 100, inclusive.
918
+ #
919
+ # @option params [String] :locale
920
+ # The locale (language) to return information in. English (en) is the
921
+ # default and the only supported value at this time.
922
+ #
923
+ # @return [Types::DescribeEventsForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
924
+ #
925
+ # * {Types::DescribeEventsForOrganizationResponse#events #events} => Array&lt;Types::OrganizationEvent&gt;
926
+ # * {Types::DescribeEventsForOrganizationResponse#next_token #next_token} => String
927
+ #
928
+ # @example Request syntax with placeholder values
929
+ #
930
+ # resp = client.describe_events_for_organization({
931
+ # filter: {
932
+ # event_type_codes: ["eventType"],
933
+ # aws_account_ids: ["accountId"],
934
+ # services: ["service"],
935
+ # regions: ["region"],
936
+ # start_time: {
937
+ # from: Time.now,
938
+ # to: Time.now,
939
+ # },
940
+ # end_time: {
941
+ # from: Time.now,
942
+ # to: Time.now,
943
+ # },
944
+ # last_updated_time: {
945
+ # from: Time.now,
946
+ # to: Time.now,
947
+ # },
948
+ # entity_arns: ["entityArn"],
949
+ # entity_values: ["entityValue"],
950
+ # event_type_categories: ["issue"], # accepts issue, accountNotification, scheduledChange, investigation
951
+ # event_status_codes: ["open"], # accepts open, closed, upcoming
952
+ # },
953
+ # next_token: "nextToken",
954
+ # max_results: 1,
955
+ # locale: "locale",
956
+ # })
957
+ #
958
+ # @example Response structure
959
+ #
960
+ # resp.events #=> Array
961
+ # resp.events[0].arn #=> String
962
+ # resp.events[0].service #=> String
963
+ # resp.events[0].event_type_code #=> String
964
+ # resp.events[0].event_type_category #=> String, one of "issue", "accountNotification", "scheduledChange", "investigation"
965
+ # resp.events[0].region #=> String
966
+ # resp.events[0].start_time #=> Time
967
+ # resp.events[0].end_time #=> Time
968
+ # resp.events[0].last_updated_time #=> Time
969
+ # resp.events[0].status_code #=> String, one of "open", "closed", "upcoming"
970
+ # resp.next_token #=> String
971
+ #
972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventsForOrganization AWS API Documentation
973
+ #
974
+ # @overload describe_events_for_organization(params = {})
975
+ # @param [Hash] params ({})
976
+ def describe_events_for_organization(params = {}, options = {})
977
+ req = build_request(:describe_events_for_organization, params)
978
+ req.send_request(options)
979
+ end
980
+
981
+ # This operation provides status information on enabling or disabling
982
+ # AWS Health to work with your organization. To call this operation, you
983
+ # must sign in as an IAM user, assume an IAM role, or sign in as the
984
+ # root user (not recommended) in the organization's master account.
985
+ #
986
+ # @return [Types::DescribeHealthServiceStatusForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
987
+ #
988
+ # * {Types::DescribeHealthServiceStatusForOrganizationResponse#health_service_access_status_for_organization #health_service_access_status_for_organization} => String
989
+ #
990
+ # @example Response structure
991
+ #
992
+ # resp.health_service_access_status_for_organization #=> String
993
+ #
994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeHealthServiceStatusForOrganization AWS API Documentation
995
+ #
996
+ # @overload describe_health_service_status_for_organization(params = {})
997
+ # @param [Hash] params ({})
998
+ def describe_health_service_status_for_organization(params = {}, options = {})
999
+ req = build_request(:describe_health_service_status_for_organization, params)
1000
+ req.send_request(options)
1001
+ end
1002
+
1003
+ # Calling this operation disables Health from working with AWS
1004
+ # Organizations. This does not remove the Service Linked Role (SLR) from
1005
+ # the the master account in your organization. Use the IAM console, API,
1006
+ # or AWS CLI to remove the SLR if desired. To call this operation, you
1007
+ # must sign in as an IAM user, assume an IAM role, or sign in as the
1008
+ # root user (not recommended) in the organization's master account.
1009
+ #
1010
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1011
+ #
1012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DisableHealthServiceAccessForOrganization AWS API Documentation
1013
+ #
1014
+ # @overload disable_health_service_access_for_organization(params = {})
1015
+ # @param [Hash] params ({})
1016
+ def disable_health_service_access_for_organization(params = {}, options = {})
1017
+ req = build_request(:disable_health_service_access_for_organization, params)
1018
+ req.send_request(options)
1019
+ end
1020
+
1021
+ # Calling this operation enables AWS Health to work with AWS
1022
+ # Organizations. This applies a Service Linked Role (SLR) to the master
1023
+ # account in the organization. To learn more about the steps in this
1024
+ # process, visit enabling service access for AWS Health in AWS
1025
+ # Organizations. To call this operation, you must sign in as an IAM
1026
+ # user, assume an IAM role, or sign in as the root user (not
1027
+ # recommended) in the organization's master account.
1028
+ #
1029
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1030
+ #
1031
+ # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EnableHealthServiceAccessForOrganization AWS API Documentation
1032
+ #
1033
+ # @overload enable_health_service_access_for_organization(params = {})
1034
+ # @param [Hash] params ({})
1035
+ def enable_health_service_access_for_organization(params = {}, options = {})
1036
+ req = build_request(:enable_health_service_access_for_organization, params)
1037
+ req.send_request(options)
1038
+ end
1039
+
683
1040
  # @!endgroup
684
1041
 
685
1042
  # @param params ({})
@@ -693,7 +1050,7 @@ module Aws::Health
693
1050
  params: params,
694
1051
  config: config)
695
1052
  context[:gem_name] = 'aws-sdk-health'
696
- context[:gem_version] = '1.20.0'
1053
+ context[:gem_version] = '1.21.0'
697
1054
  Seahorse::Client::Request.new(handlers, context)
698
1055
  end
699
1056
 
@@ -12,7 +12,13 @@ module Aws::Health
12
12
  include Seahorse::Model
13
13
 
14
14
  AffectedEntity = Shapes::StructureShape.new(name: 'AffectedEntity')
15
+ ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
15
16
  DateTimeRange = Shapes::StructureShape.new(name: 'DateTimeRange')
17
+ DescribeAffectedAccountsForOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeAffectedAccountsForOrganizationRequest')
18
+ DescribeAffectedAccountsForOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeAffectedAccountsForOrganizationResponse')
19
+ DescribeAffectedEntitiesForOrganizationFailedSet = Shapes::ListShape.new(name: 'DescribeAffectedEntitiesForOrganizationFailedSet')
20
+ DescribeAffectedEntitiesForOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeAffectedEntitiesForOrganizationRequest')
21
+ DescribeAffectedEntitiesForOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeAffectedEntitiesForOrganizationResponse')
16
22
  DescribeAffectedEntitiesRequest = Shapes::StructureShape.new(name: 'DescribeAffectedEntitiesRequest')
17
23
  DescribeAffectedEntitiesResponse = Shapes::StructureShape.new(name: 'DescribeAffectedEntitiesResponse')
18
24
  DescribeEntityAggregatesRequest = Shapes::StructureShape.new(name: 'DescribeEntityAggregatesRequest')
@@ -20,18 +26,26 @@ module Aws::Health
20
26
  DescribeEventAggregatesRequest = Shapes::StructureShape.new(name: 'DescribeEventAggregatesRequest')
21
27
  DescribeEventAggregatesResponse = Shapes::StructureShape.new(name: 'DescribeEventAggregatesResponse')
22
28
  DescribeEventDetailsFailedSet = Shapes::ListShape.new(name: 'DescribeEventDetailsFailedSet')
29
+ DescribeEventDetailsForOrganizationFailedSet = Shapes::ListShape.new(name: 'DescribeEventDetailsForOrganizationFailedSet')
30
+ DescribeEventDetailsForOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeEventDetailsForOrganizationRequest')
31
+ DescribeEventDetailsForOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeEventDetailsForOrganizationResponse')
32
+ DescribeEventDetailsForOrganizationSuccessfulSet = Shapes::ListShape.new(name: 'DescribeEventDetailsForOrganizationSuccessfulSet')
23
33
  DescribeEventDetailsRequest = Shapes::StructureShape.new(name: 'DescribeEventDetailsRequest')
24
34
  DescribeEventDetailsResponse = Shapes::StructureShape.new(name: 'DescribeEventDetailsResponse')
25
35
  DescribeEventDetailsSuccessfulSet = Shapes::ListShape.new(name: 'DescribeEventDetailsSuccessfulSet')
26
36
  DescribeEventTypesRequest = Shapes::StructureShape.new(name: 'DescribeEventTypesRequest')
27
37
  DescribeEventTypesResponse = Shapes::StructureShape.new(name: 'DescribeEventTypesResponse')
38
+ DescribeEventsForOrganizationRequest = Shapes::StructureShape.new(name: 'DescribeEventsForOrganizationRequest')
39
+ DescribeEventsForOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeEventsForOrganizationResponse')
28
40
  DescribeEventsRequest = Shapes::StructureShape.new(name: 'DescribeEventsRequest')
29
41
  DescribeEventsResponse = Shapes::StructureShape.new(name: 'DescribeEventsResponse')
42
+ DescribeHealthServiceStatusForOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeHealthServiceStatusForOrganizationResponse')
30
43
  EntityAggregate = Shapes::StructureShape.new(name: 'EntityAggregate')
31
44
  EntityAggregateList = Shapes::ListShape.new(name: 'EntityAggregateList')
32
45
  EntityFilter = Shapes::StructureShape.new(name: 'EntityFilter')
33
46
  EntityList = Shapes::ListShape.new(name: 'EntityList')
34
47
  Event = Shapes::StructureShape.new(name: 'Event')
48
+ EventAccountFilter = Shapes::StructureShape.new(name: 'EventAccountFilter')
35
49
  EventAggregate = Shapes::StructureShape.new(name: 'EventAggregate')
36
50
  EventAggregateList = Shapes::ListShape.new(name: 'EventAggregateList')
37
51
  EventArnsList = Shapes::ListShape.new(name: 'EventArnsList')
@@ -46,11 +60,21 @@ module Aws::Health
46
60
  EventTypeFilter = Shapes::StructureShape.new(name: 'EventTypeFilter')
47
61
  EventTypeList = Shapes::ListShape.new(name: 'EventTypeList')
48
62
  InvalidPaginationToken = Shapes::StructureShape.new(name: 'InvalidPaginationToken')
63
+ OrganizationAffectedEntitiesErrorItem = Shapes::StructureShape.new(name: 'OrganizationAffectedEntitiesErrorItem')
64
+ OrganizationEntityFiltersList = Shapes::ListShape.new(name: 'OrganizationEntityFiltersList')
65
+ OrganizationEvent = Shapes::StructureShape.new(name: 'OrganizationEvent')
66
+ OrganizationEventDetailFiltersList = Shapes::ListShape.new(name: 'OrganizationEventDetailFiltersList')
67
+ OrganizationEventDetails = Shapes::StructureShape.new(name: 'OrganizationEventDetails')
68
+ OrganizationEventDetailsErrorItem = Shapes::StructureShape.new(name: 'OrganizationEventDetailsErrorItem')
69
+ OrganizationEventFilter = Shapes::StructureShape.new(name: 'OrganizationEventFilter')
70
+ OrganizationEventList = Shapes::ListShape.new(name: 'OrganizationEventList')
49
71
  UnsupportedLocale = Shapes::StructureShape.new(name: 'UnsupportedLocale')
50
72
  accountId = Shapes::StringShape.new(name: 'accountId')
73
+ affectedAccountsList = Shapes::ListShape.new(name: 'affectedAccountsList')
51
74
  aggregateValue = Shapes::StringShape.new(name: 'aggregateValue')
52
75
  availabilityZone = Shapes::StringShape.new(name: 'availabilityZone')
53
76
  availabilityZones = Shapes::ListShape.new(name: 'availabilityZones')
77
+ awsAccountIdsList = Shapes::ListShape.new(name: 'awsAccountIdsList')
54
78
  count = Shapes::IntegerShape.new(name: 'count')
55
79
  dateTimeRangeList = Shapes::ListShape.new(name: 'dateTimeRangeList')
56
80
  entityArn = Shapes::StringShape.new(name: 'entityArn')
@@ -72,6 +96,7 @@ module Aws::Health
72
96
  eventTypeCategoryList = Shapes::ListShape.new(name: 'eventTypeCategoryList')
73
97
  eventTypeCode = Shapes::StringShape.new(name: 'eventTypeCode')
74
98
  eventTypeList = Shapes::ListShape.new(name: 'eventTypeList')
99
+ healthServiceAccessStatusForOrganization = Shapes::StringShape.new(name: 'healthServiceAccessStatusForOrganization')
75
100
  locale = Shapes::StringShape.new(name: 'locale')
76
101
  maxResults = Shapes::IntegerShape.new(name: 'maxResults')
77
102
  metadataKey = Shapes::StringShape.new(name: 'metadataKey')
@@ -98,10 +123,35 @@ module Aws::Health
98
123
  AffectedEntity.add_member(:tags, Shapes::ShapeRef.new(shape: tagSet, location_name: "tags"))
99
124
  AffectedEntity.struct_class = Types::AffectedEntity
100
125
 
126
+ ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
127
+ ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
128
+
101
129
  DateTimeRange.add_member(:from, Shapes::ShapeRef.new(shape: timestamp, location_name: "from"))
102
130
  DateTimeRange.add_member(:to, Shapes::ShapeRef.new(shape: timestamp, location_name: "to"))
103
131
  DateTimeRange.struct_class = Types::DateTimeRange
104
132
 
133
+ DescribeAffectedAccountsForOrganizationRequest.add_member(:event_arn, Shapes::ShapeRef.new(shape: eventArn, required: true, location_name: "eventArn"))
134
+ DescribeAffectedAccountsForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
135
+ DescribeAffectedAccountsForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxResults, location_name: "maxResults"))
136
+ DescribeAffectedAccountsForOrganizationRequest.struct_class = Types::DescribeAffectedAccountsForOrganizationRequest
137
+
138
+ DescribeAffectedAccountsForOrganizationResponse.add_member(:affected_accounts, Shapes::ShapeRef.new(shape: affectedAccountsList, location_name: "affectedAccounts"))
139
+ DescribeAffectedAccountsForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
140
+ DescribeAffectedAccountsForOrganizationResponse.struct_class = Types::DescribeAffectedAccountsForOrganizationResponse
141
+
142
+ DescribeAffectedEntitiesForOrganizationFailedSet.member = Shapes::ShapeRef.new(shape: OrganizationAffectedEntitiesErrorItem)
143
+
144
+ DescribeAffectedEntitiesForOrganizationRequest.add_member(:organization_entity_filters, Shapes::ShapeRef.new(shape: OrganizationEntityFiltersList, required: true, location_name: "organizationEntityFilters"))
145
+ DescribeAffectedEntitiesForOrganizationRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
146
+ DescribeAffectedEntitiesForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
147
+ DescribeAffectedEntitiesForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxResults, location_name: "maxResults"))
148
+ DescribeAffectedEntitiesForOrganizationRequest.struct_class = Types::DescribeAffectedEntitiesForOrganizationRequest
149
+
150
+ DescribeAffectedEntitiesForOrganizationResponse.add_member(:entities, Shapes::ShapeRef.new(shape: EntityList, location_name: "entities"))
151
+ DescribeAffectedEntitiesForOrganizationResponse.add_member(:failed_set, Shapes::ShapeRef.new(shape: DescribeAffectedEntitiesForOrganizationFailedSet, location_name: "failedSet"))
152
+ DescribeAffectedEntitiesForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
153
+ DescribeAffectedEntitiesForOrganizationResponse.struct_class = Types::DescribeAffectedEntitiesForOrganizationResponse
154
+
105
155
  DescribeAffectedEntitiesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EntityFilter, required: true, location_name: "filter"))
106
156
  DescribeAffectedEntitiesRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
107
157
  DescribeAffectedEntitiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
@@ -130,6 +180,18 @@ module Aws::Health
130
180
 
131
181
  DescribeEventDetailsFailedSet.member = Shapes::ShapeRef.new(shape: EventDetailsErrorItem)
132
182
 
183
+ DescribeEventDetailsForOrganizationFailedSet.member = Shapes::ShapeRef.new(shape: OrganizationEventDetailsErrorItem)
184
+
185
+ DescribeEventDetailsForOrganizationRequest.add_member(:organization_event_detail_filters, Shapes::ShapeRef.new(shape: OrganizationEventDetailFiltersList, required: true, location_name: "organizationEventDetailFilters"))
186
+ DescribeEventDetailsForOrganizationRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
187
+ DescribeEventDetailsForOrganizationRequest.struct_class = Types::DescribeEventDetailsForOrganizationRequest
188
+
189
+ DescribeEventDetailsForOrganizationResponse.add_member(:successful_set, Shapes::ShapeRef.new(shape: DescribeEventDetailsForOrganizationSuccessfulSet, location_name: "successfulSet"))
190
+ DescribeEventDetailsForOrganizationResponse.add_member(:failed_set, Shapes::ShapeRef.new(shape: DescribeEventDetailsForOrganizationFailedSet, location_name: "failedSet"))
191
+ DescribeEventDetailsForOrganizationResponse.struct_class = Types::DescribeEventDetailsForOrganizationResponse
192
+
193
+ DescribeEventDetailsForOrganizationSuccessfulSet.member = Shapes::ShapeRef.new(shape: OrganizationEventDetails)
194
+
133
195
  DescribeEventDetailsRequest.add_member(:event_arns, Shapes::ShapeRef.new(shape: eventArnList, required: true, location_name: "eventArns"))
134
196
  DescribeEventDetailsRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
135
197
  DescribeEventDetailsRequest.struct_class = Types::DescribeEventDetailsRequest
@@ -150,6 +212,16 @@ module Aws::Health
150
212
  DescribeEventTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
151
213
  DescribeEventTypesResponse.struct_class = Types::DescribeEventTypesResponse
152
214
 
215
+ DescribeEventsForOrganizationRequest.add_member(:filter, Shapes::ShapeRef.new(shape: OrganizationEventFilter, location_name: "filter"))
216
+ DescribeEventsForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
217
+ DescribeEventsForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxResults, location_name: "maxResults"))
218
+ DescribeEventsForOrganizationRequest.add_member(:locale, Shapes::ShapeRef.new(shape: locale, location_name: "locale"))
219
+ DescribeEventsForOrganizationRequest.struct_class = Types::DescribeEventsForOrganizationRequest
220
+
221
+ DescribeEventsForOrganizationResponse.add_member(:events, Shapes::ShapeRef.new(shape: OrganizationEventList, location_name: "events"))
222
+ DescribeEventsForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
223
+ DescribeEventsForOrganizationResponse.struct_class = Types::DescribeEventsForOrganizationResponse
224
+
153
225
  DescribeEventsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: EventFilter, location_name: "filter"))
154
226
  DescribeEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
155
227
  DescribeEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxResults, location_name: "maxResults"))
@@ -160,6 +232,9 @@ module Aws::Health
160
232
  DescribeEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
161
233
  DescribeEventsResponse.struct_class = Types::DescribeEventsResponse
162
234
 
235
+ DescribeHealthServiceStatusForOrganizationResponse.add_member(:health_service_access_status_for_organization, Shapes::ShapeRef.new(shape: healthServiceAccessStatusForOrganization, location_name: "healthServiceAccessStatusForOrganization"))
236
+ DescribeHealthServiceStatusForOrganizationResponse.struct_class = Types::DescribeHealthServiceStatusForOrganizationResponse
237
+
163
238
  EntityAggregate.add_member(:event_arn, Shapes::ShapeRef.new(shape: eventArn, location_name: "eventArn"))
164
239
  EntityAggregate.add_member(:count, Shapes::ShapeRef.new(shape: count, location_name: "count"))
165
240
  EntityAggregate.struct_class = Types::EntityAggregate
@@ -188,6 +263,10 @@ module Aws::Health
188
263
  Event.add_member(:status_code, Shapes::ShapeRef.new(shape: eventStatusCode, location_name: "statusCode"))
189
264
  Event.struct_class = Types::Event
190
265
 
266
+ 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, required: true, location_name: "awsAccountId"))
268
+ EventAccountFilter.struct_class = Types::EventAccountFilter
269
+
191
270
  EventAggregate.add_member(:aggregate_value, Shapes::ShapeRef.new(shape: aggregateValue, location_name: "aggregateValue"))
192
271
  EventAggregate.add_member(:count, Shapes::ShapeRef.new(shape: count, location_name: "count"))
193
272
  EventAggregate.struct_class = Types::EventAggregate
@@ -245,11 +324,63 @@ module Aws::Health
245
324
  InvalidPaginationToken.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
246
325
  InvalidPaginationToken.struct_class = Types::InvalidPaginationToken
247
326
 
327
+ OrganizationAffectedEntitiesErrorItem.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: accountId, location_name: "awsAccountId"))
328
+ OrganizationAffectedEntitiesErrorItem.add_member(:event_arn, Shapes::ShapeRef.new(shape: eventArn, location_name: "eventArn"))
329
+ OrganizationAffectedEntitiesErrorItem.add_member(:error_name, Shapes::ShapeRef.new(shape: string, location_name: "errorName"))
330
+ OrganizationAffectedEntitiesErrorItem.add_member(:error_message, Shapes::ShapeRef.new(shape: string, location_name: "errorMessage"))
331
+ OrganizationAffectedEntitiesErrorItem.struct_class = Types::OrganizationAffectedEntitiesErrorItem
332
+
333
+ OrganizationEntityFiltersList.member = Shapes::ShapeRef.new(shape: EventAccountFilter)
334
+
335
+ OrganizationEvent.add_member(:arn, Shapes::ShapeRef.new(shape: eventArn, location_name: "arn"))
336
+ OrganizationEvent.add_member(:service, Shapes::ShapeRef.new(shape: service, location_name: "service"))
337
+ OrganizationEvent.add_member(:event_type_code, Shapes::ShapeRef.new(shape: eventTypeCode, location_name: "eventTypeCode"))
338
+ OrganizationEvent.add_member(:event_type_category, Shapes::ShapeRef.new(shape: eventTypeCategory, location_name: "eventTypeCategory"))
339
+ OrganizationEvent.add_member(:region, Shapes::ShapeRef.new(shape: region, location_name: "region"))
340
+ OrganizationEvent.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "startTime"))
341
+ OrganizationEvent.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "endTime"))
342
+ OrganizationEvent.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "lastUpdatedTime"))
343
+ OrganizationEvent.add_member(:status_code, Shapes::ShapeRef.new(shape: eventStatusCode, location_name: "statusCode"))
344
+ OrganizationEvent.struct_class = Types::OrganizationEvent
345
+
346
+ OrganizationEventDetailFiltersList.member = Shapes::ShapeRef.new(shape: EventAccountFilter)
347
+
348
+ OrganizationEventDetails.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: accountId, location_name: "awsAccountId"))
349
+ OrganizationEventDetails.add_member(:event, Shapes::ShapeRef.new(shape: Event, location_name: "event"))
350
+ OrganizationEventDetails.add_member(:event_description, Shapes::ShapeRef.new(shape: EventDescription, location_name: "eventDescription"))
351
+ OrganizationEventDetails.add_member(:event_metadata, Shapes::ShapeRef.new(shape: eventMetadata, location_name: "eventMetadata"))
352
+ OrganizationEventDetails.struct_class = Types::OrganizationEventDetails
353
+
354
+ OrganizationEventDetailsErrorItem.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: accountId, location_name: "awsAccountId"))
355
+ OrganizationEventDetailsErrorItem.add_member(:event_arn, Shapes::ShapeRef.new(shape: eventArn, location_name: "eventArn"))
356
+ OrganizationEventDetailsErrorItem.add_member(:error_name, Shapes::ShapeRef.new(shape: string, location_name: "errorName"))
357
+ OrganizationEventDetailsErrorItem.add_member(:error_message, Shapes::ShapeRef.new(shape: string, location_name: "errorMessage"))
358
+ OrganizationEventDetailsErrorItem.struct_class = Types::OrganizationEventDetailsErrorItem
359
+
360
+ OrganizationEventFilter.add_member(:event_type_codes, Shapes::ShapeRef.new(shape: eventTypeList, location_name: "eventTypeCodes"))
361
+ OrganizationEventFilter.add_member(:aws_account_ids, Shapes::ShapeRef.new(shape: awsAccountIdsList, location_name: "awsAccountIds"))
362
+ OrganizationEventFilter.add_member(:services, Shapes::ShapeRef.new(shape: serviceList, location_name: "services"))
363
+ OrganizationEventFilter.add_member(:regions, Shapes::ShapeRef.new(shape: regionList, location_name: "regions"))
364
+ OrganizationEventFilter.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTimeRange, location_name: "startTime"))
365
+ OrganizationEventFilter.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTimeRange, location_name: "endTime"))
366
+ OrganizationEventFilter.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTimeRange, location_name: "lastUpdatedTime"))
367
+ OrganizationEventFilter.add_member(:entity_arns, Shapes::ShapeRef.new(shape: entityArnList, location_name: "entityArns"))
368
+ OrganizationEventFilter.add_member(:entity_values, Shapes::ShapeRef.new(shape: entityValueList, location_name: "entityValues"))
369
+ OrganizationEventFilter.add_member(:event_type_categories, Shapes::ShapeRef.new(shape: eventTypeCategoryList, location_name: "eventTypeCategories"))
370
+ OrganizationEventFilter.add_member(:event_status_codes, Shapes::ShapeRef.new(shape: eventStatusCodeList, location_name: "eventStatusCodes"))
371
+ OrganizationEventFilter.struct_class = Types::OrganizationEventFilter
372
+
373
+ OrganizationEventList.member = Shapes::ShapeRef.new(shape: OrganizationEvent)
374
+
248
375
  UnsupportedLocale.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
249
376
  UnsupportedLocale.struct_class = Types::UnsupportedLocale
250
377
 
378
+ affectedAccountsList.member = Shapes::ShapeRef.new(shape: accountId)
379
+
251
380
  availabilityZones.member = Shapes::ShapeRef.new(shape: availabilityZone)
252
381
 
382
+ awsAccountIdsList.member = Shapes::ShapeRef.new(shape: accountId)
383
+
253
384
  dateTimeRangeList.member = Shapes::ShapeRef.new(shape: DateTimeRange)
254
385
 
255
386
  entityArnList.member = Shapes::ShapeRef.new(shape: entityArn)
@@ -297,6 +428,21 @@ module Aws::Health
297
428
  "uid" => "health-2016-08-04",
298
429
  }
299
430
 
431
+ api.add_operation(:describe_affected_accounts_for_organization, Seahorse::Model::Operation.new.tap do |o|
432
+ o.name = "DescribeAffectedAccountsForOrganization"
433
+ o.http_method = "POST"
434
+ o.http_request_uri = "/"
435
+ o.input = Shapes::ShapeRef.new(shape: DescribeAffectedAccountsForOrganizationRequest)
436
+ o.output = Shapes::ShapeRef.new(shape: DescribeAffectedAccountsForOrganizationResponse)
437
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
438
+ o[:pager] = Aws::Pager.new(
439
+ limit_key: "max_results",
440
+ tokens: {
441
+ "next_token" => "next_token"
442
+ }
443
+ )
444
+ end)
445
+
300
446
  api.add_operation(:describe_affected_entities, Seahorse::Model::Operation.new.tap do |o|
301
447
  o.name = "DescribeAffectedEntities"
302
448
  o.http_method = "POST"
@@ -313,6 +459,22 @@ module Aws::Health
313
459
  )
314
460
  end)
315
461
 
462
+ api.add_operation(:describe_affected_entities_for_organization, Seahorse::Model::Operation.new.tap do |o|
463
+ o.name = "DescribeAffectedEntitiesForOrganization"
464
+ o.http_method = "POST"
465
+ o.http_request_uri = "/"
466
+ o.input = Shapes::ShapeRef.new(shape: DescribeAffectedEntitiesForOrganizationRequest)
467
+ o.output = Shapes::ShapeRef.new(shape: DescribeAffectedEntitiesForOrganizationResponse)
468
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
469
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
470
+ o[:pager] = Aws::Pager.new(
471
+ limit_key: "max_results",
472
+ tokens: {
473
+ "next_token" => "next_token"
474
+ }
475
+ )
476
+ end)
477
+
316
478
  api.add_operation(:describe_entity_aggregates, Seahorse::Model::Operation.new.tap do |o|
317
479
  o.name = "DescribeEntityAggregates"
318
480
  o.http_method = "POST"
@@ -345,6 +507,15 @@ module Aws::Health
345
507
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
346
508
  end)
347
509
 
510
+ api.add_operation(:describe_event_details_for_organization, Seahorse::Model::Operation.new.tap do |o|
511
+ o.name = "DescribeEventDetailsForOrganization"
512
+ o.http_method = "POST"
513
+ o.http_request_uri = "/"
514
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventDetailsForOrganizationRequest)
515
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventDetailsForOrganizationResponse)
516
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
517
+ end)
518
+
348
519
  api.add_operation(:describe_event_types, Seahorse::Model::Operation.new.tap do |o|
349
520
  o.name = "DescribeEventTypes"
350
521
  o.http_method = "POST"
@@ -376,6 +547,48 @@ module Aws::Health
376
547
  }
377
548
  )
378
549
  end)
550
+
551
+ api.add_operation(:describe_events_for_organization, Seahorse::Model::Operation.new.tap do |o|
552
+ o.name = "DescribeEventsForOrganization"
553
+ o.http_method = "POST"
554
+ o.http_request_uri = "/"
555
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventsForOrganizationRequest)
556
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventsForOrganizationResponse)
557
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
558
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedLocale)
559
+ o[:pager] = Aws::Pager.new(
560
+ limit_key: "max_results",
561
+ tokens: {
562
+ "next_token" => "next_token"
563
+ }
564
+ )
565
+ end)
566
+
567
+ api.add_operation(:describe_health_service_status_for_organization, Seahorse::Model::Operation.new.tap do |o|
568
+ o.name = "DescribeHealthServiceStatusForOrganization"
569
+ o.http_method = "POST"
570
+ o.http_request_uri = "/"
571
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
572
+ o.output = Shapes::ShapeRef.new(shape: DescribeHealthServiceStatusForOrganizationResponse)
573
+ end)
574
+
575
+ api.add_operation(:disable_health_service_access_for_organization, Seahorse::Model::Operation.new.tap do |o|
576
+ o.name = "DisableHealthServiceAccessForOrganization"
577
+ o.http_method = "POST"
578
+ o.http_request_uri = "/"
579
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
580
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
581
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
582
+ end)
583
+
584
+ api.add_operation(:enable_health_service_access_for_organization, Seahorse::Model::Operation.new.tap do |o|
585
+ o.name = "EnableHealthServiceAccessForOrganization"
586
+ o.http_method = "POST"
587
+ o.http_request_uri = "/"
588
+ o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
589
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
590
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
591
+ end)
379
592
  end
380
593
 
381
594
  end