aws-sdk-notifications 1.11.0 → 1.13.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.
@@ -32,6 +32,8 @@ module Aws::Notifications
32
32
  AssociateManagedNotificationAccountContactResponse = Shapes::StructureShape.new(name: 'AssociateManagedNotificationAccountContactResponse')
33
33
  AssociateManagedNotificationAdditionalChannelRequest = Shapes::StructureShape.new(name: 'AssociateManagedNotificationAdditionalChannelRequest')
34
34
  AssociateManagedNotificationAdditionalChannelResponse = Shapes::StructureShape.new(name: 'AssociateManagedNotificationAdditionalChannelResponse')
35
+ AssociateOrganizationalUnitRequest = Shapes::StructureShape.new(name: 'AssociateOrganizationalUnitRequest')
36
+ AssociateOrganizationalUnitResponse = Shapes::StructureShape.new(name: 'AssociateOrganizationalUnitResponse')
35
37
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
36
38
  ChannelArn = Shapes::StringShape.new(name: 'ChannelArn')
37
39
  ChannelAssociationOverrideOption = Shapes::StringShape.new(name: 'ChannelAssociationOverrideOption')
@@ -60,6 +62,8 @@ module Aws::Notifications
60
62
  DisassociateManagedNotificationAccountContactResponse = Shapes::StructureShape.new(name: 'DisassociateManagedNotificationAccountContactResponse')
61
63
  DisassociateManagedNotificationAdditionalChannelRequest = Shapes::StructureShape.new(name: 'DisassociateManagedNotificationAdditionalChannelRequest')
62
64
  DisassociateManagedNotificationAdditionalChannelResponse = Shapes::StructureShape.new(name: 'DisassociateManagedNotificationAdditionalChannelResponse')
65
+ DisassociateOrganizationalUnitRequest = Shapes::StructureShape.new(name: 'DisassociateOrganizationalUnitRequest')
66
+ DisassociateOrganizationalUnitResponse = Shapes::StructureShape.new(name: 'DisassociateOrganizationalUnitResponse')
63
67
  EnableNotificationsAccessForOrganizationRequest = Shapes::StructureShape.new(name: 'EnableNotificationsAccessForOrganizationRequest')
64
68
  EnableNotificationsAccessForOrganizationResponse = Shapes::StructureShape.new(name: 'EnableNotificationsAccessForOrganizationResponse')
65
69
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -107,6 +111,9 @@ module Aws::Notifications
107
111
  ListManagedNotificationEventsRequest = Shapes::StructureShape.new(name: 'ListManagedNotificationEventsRequest')
108
112
  ListManagedNotificationEventsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListManagedNotificationEventsRequestMaxResultsInteger')
109
113
  ListManagedNotificationEventsResponse = Shapes::StructureShape.new(name: 'ListManagedNotificationEventsResponse')
114
+ ListMemberAccountsRequest = Shapes::StructureShape.new(name: 'ListMemberAccountsRequest')
115
+ ListMemberAccountsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListMemberAccountsRequestMaxResultsInteger')
116
+ ListMemberAccountsResponse = Shapes::StructureShape.new(name: 'ListMemberAccountsResponse')
110
117
  ListNotificationConfigurationsRequest = Shapes::StructureShape.new(name: 'ListNotificationConfigurationsRequest')
111
118
  ListNotificationConfigurationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListNotificationConfigurationsRequestMaxResultsInteger')
112
119
  ListNotificationConfigurationsResponse = Shapes::StructureShape.new(name: 'ListNotificationConfigurationsResponse')
@@ -116,6 +123,9 @@ module Aws::Notifications
116
123
  ListNotificationHubsRequest = Shapes::StructureShape.new(name: 'ListNotificationHubsRequest')
117
124
  ListNotificationHubsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListNotificationHubsRequestMaxResultsInteger')
118
125
  ListNotificationHubsResponse = Shapes::StructureShape.new(name: 'ListNotificationHubsResponse')
126
+ ListOrganizationalUnitsRequest = Shapes::StructureShape.new(name: 'ListOrganizationalUnitsRequest')
127
+ ListOrganizationalUnitsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListOrganizationalUnitsRequestMaxResultsInteger')
128
+ ListOrganizationalUnitsResponse = Shapes::StructureShape.new(name: 'ListOrganizationalUnitsResponse')
119
129
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
120
130
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
121
131
  LocaleCode = Shapes::StringShape.new(name: 'LocaleCode')
@@ -145,6 +155,9 @@ module Aws::Notifications
145
155
  MediaElement = Shapes::StructureShape.new(name: 'MediaElement')
146
156
  MediaElementType = Shapes::StringShape.new(name: 'MediaElementType')
147
157
  MediaId = Shapes::StringShape.new(name: 'MediaId')
158
+ MemberAccount = Shapes::StructureShape.new(name: 'MemberAccount')
159
+ MemberAccountNotificationConfigurationStatus = Shapes::StringShape.new(name: 'MemberAccountNotificationConfigurationStatus')
160
+ MemberAccounts = Shapes::ListShape.new(name: 'MemberAccounts')
148
161
  MessageComponents = Shapes::StructureShape.new(name: 'MessageComponents')
149
162
  MessageComponentsSummary = Shapes::StructureShape.new(name: 'MessageComponentsSummary')
150
163
  MessageComponentsSummaryHeadlineString = Shapes::StringShape.new(name: 'MessageComponentsSummaryHeadlineString')
@@ -154,6 +167,7 @@ module Aws::Notifications
154
167
  NotificationConfigurationName = Shapes::StringShape.new(name: 'NotificationConfigurationName')
155
168
  NotificationConfigurationStatus = Shapes::StringShape.new(name: 'NotificationConfigurationStatus')
156
169
  NotificationConfigurationStructure = Shapes::StructureShape.new(name: 'NotificationConfigurationStructure')
170
+ NotificationConfigurationSubtype = Shapes::StringShape.new(name: 'NotificationConfigurationSubtype')
157
171
  NotificationConfigurations = Shapes::ListShape.new(name: 'NotificationConfigurations')
158
172
  NotificationEvent = Shapes::StructureShape.new(name: 'NotificationEvent')
159
173
  NotificationEventArn = Shapes::StringShape.new(name: 'NotificationEventArn')
@@ -169,6 +183,7 @@ module Aws::Notifications
169
183
  NotificationType = Shapes::StringShape.new(name: 'NotificationType')
170
184
  NotificationsAccessForOrganization = Shapes::StructureShape.new(name: 'NotificationsAccessForOrganization')
171
185
  OrganizationalUnitId = Shapes::StringShape.new(name: 'OrganizationalUnitId')
186
+ OrganizationalUnits = Shapes::ListShape.new(name: 'OrganizationalUnits')
172
187
  QuotaCode = Shapes::StringShape.new(name: 'QuotaCode')
173
188
  Region = Shapes::StringShape.new(name: 'Region')
174
189
  Regions = Shapes::ListShape.new(name: 'Regions')
@@ -268,6 +283,12 @@ module Aws::Notifications
268
283
 
269
284
  AssociateManagedNotificationAdditionalChannelResponse.struct_class = Types::AssociateManagedNotificationAdditionalChannelResponse
270
285
 
286
+ AssociateOrganizationalUnitRequest.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, required: true, location: "uri", location_name: "organizationalUnitId"))
287
+ AssociateOrganizationalUnitRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
288
+ AssociateOrganizationalUnitRequest.struct_class = Types::AssociateOrganizationalUnitRequest
289
+
290
+ AssociateOrganizationalUnitResponse.struct_class = Types::AssociateOrganizationalUnitResponse
291
+
271
292
  Channels.member = Shapes::ShapeRef.new(shape: ChannelArn)
272
293
 
273
294
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
@@ -341,6 +362,12 @@ module Aws::Notifications
341
362
 
342
363
  DisassociateManagedNotificationAdditionalChannelResponse.struct_class = Types::DisassociateManagedNotificationAdditionalChannelResponse
343
364
 
365
+ DisassociateOrganizationalUnitRequest.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, required: true, location: "uri", location_name: "organizationalUnitId"))
366
+ DisassociateOrganizationalUnitRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location_name: "notificationConfigurationArn"))
367
+ DisassociateOrganizationalUnitRequest.struct_class = Types::DisassociateOrganizationalUnitRequest
368
+
369
+ DisassociateOrganizationalUnitResponse.struct_class = Types::DisassociateOrganizationalUnitResponse
370
+
344
371
  EnableNotificationsAccessForOrganizationRequest.struct_class = Types::EnableNotificationsAccessForOrganizationRequest
345
372
 
346
373
  EnableNotificationsAccessForOrganizationResponse.struct_class = Types::EnableNotificationsAccessForOrganizationResponse
@@ -415,6 +442,7 @@ module Aws::Notifications
415
442
  GetNotificationConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: NotificationConfigurationStatus, required: true, location_name: "status"))
416
443
  GetNotificationConfigurationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
417
444
  GetNotificationConfigurationResponse.add_member(:aggregation_duration, Shapes::ShapeRef.new(shape: AggregationDuration, location_name: "aggregationDuration"))
445
+ GetNotificationConfigurationResponse.add_member(:subtype, Shapes::ShapeRef.new(shape: NotificationConfigurationSubtype, location_name: "subtype"))
418
446
  GetNotificationConfigurationResponse.struct_class = Types::GetNotificationConfigurationResponse
419
447
 
420
448
  GetNotificationEventRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationEventArn, required: true, location: "uri", location_name: "arn"))
@@ -499,9 +527,22 @@ module Aws::Notifications
499
527
  ListManagedNotificationEventsResponse.add_member(:managed_notification_events, Shapes::ShapeRef.new(shape: ManagedNotificationEvents, required: true, location_name: "managedNotificationEvents"))
500
528
  ListManagedNotificationEventsResponse.struct_class = Types::ListManagedNotificationEventsResponse
501
529
 
530
+ ListMemberAccountsRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "querystring", location_name: "notificationConfigurationArn"))
531
+ ListMemberAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListMemberAccountsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
532
+ ListMemberAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
533
+ ListMemberAccountsRequest.add_member(:member_account, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "memberAccount"))
534
+ ListMemberAccountsRequest.add_member(:status, Shapes::ShapeRef.new(shape: MemberAccountNotificationConfigurationStatus, location: "querystring", location_name: "status"))
535
+ ListMemberAccountsRequest.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location: "querystring", location_name: "organizationalUnitId"))
536
+ ListMemberAccountsRequest.struct_class = Types::ListMemberAccountsRequest
537
+
538
+ ListMemberAccountsResponse.add_member(:member_accounts, Shapes::ShapeRef.new(shape: MemberAccounts, required: true, location_name: "memberAccounts"))
539
+ ListMemberAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
540
+ ListMemberAccountsResponse.struct_class = Types::ListMemberAccountsResponse
541
+
502
542
  ListNotificationConfigurationsRequest.add_member(:event_rule_source, Shapes::ShapeRef.new(shape: Source, location: "querystring", location_name: "eventRuleSource"))
503
543
  ListNotificationConfigurationsRequest.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, location: "querystring", location_name: "channelArn"))
504
544
  ListNotificationConfigurationsRequest.add_member(:status, Shapes::ShapeRef.new(shape: NotificationConfigurationStatus, location: "querystring", location_name: "status"))
545
+ ListNotificationConfigurationsRequest.add_member(:subtype, Shapes::ShapeRef.new(shape: NotificationConfigurationSubtype, location: "querystring", location_name: "subtype"))
505
546
  ListNotificationConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNotificationConfigurationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
506
547
  ListNotificationConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
507
548
  ListNotificationConfigurationsRequest.struct_class = Types::ListNotificationConfigurationsRequest
@@ -518,6 +559,7 @@ module Aws::Notifications
518
559
  ListNotificationEventsRequest.add_member(:aggregate_notification_event_arn, Shapes::ShapeRef.new(shape: NotificationEventArn, location: "querystring", location_name: "aggregateNotificationEventArn"))
519
560
  ListNotificationEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNotificationEventsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
520
561
  ListNotificationEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
562
+ ListNotificationEventsRequest.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location: "querystring", location_name: "organizationalUnitId"))
521
563
  ListNotificationEventsRequest.struct_class = Types::ListNotificationEventsRequest
522
564
 
523
565
  ListNotificationEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -532,6 +574,15 @@ module Aws::Notifications
532
574
  ListNotificationHubsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
533
575
  ListNotificationHubsResponse.struct_class = Types::ListNotificationHubsResponse
534
576
 
577
+ ListOrganizationalUnitsRequest.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "querystring", location_name: "notificationConfigurationArn"))
578
+ ListOrganizationalUnitsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListOrganizationalUnitsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
579
+ ListOrganizationalUnitsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
580
+ ListOrganizationalUnitsRequest.struct_class = Types::ListOrganizationalUnitsRequest
581
+
582
+ ListOrganizationalUnitsResponse.add_member(:organizational_units, Shapes::ShapeRef.new(shape: OrganizationalUnits, required: true, location_name: "organizationalUnits"))
583
+ ListOrganizationalUnitsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
584
+ ListOrganizationalUnitsResponse.struct_class = Types::ListOrganizationalUnitsResponse
585
+
535
586
  ListTagsForResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, required: true, location: "uri", location_name: "arn"))
536
587
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
537
588
 
@@ -636,6 +687,15 @@ module Aws::Notifications
636
687
  MediaElement.add_member(:caption, Shapes::ShapeRef.new(shape: TextPartReference, required: true, location_name: "caption"))
637
688
  MediaElement.struct_class = Types::MediaElement
638
689
 
690
+ MemberAccount.add_member(:notification_configuration_arn, Shapes::ShapeRef.new(shape: NotificationConfigurationArn, location_name: "notificationConfigurationArn"))
691
+ MemberAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
692
+ MemberAccount.add_member(:status, Shapes::ShapeRef.new(shape: MemberAccountNotificationConfigurationStatus, required: true, location_name: "status"))
693
+ MemberAccount.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "statusReason"))
694
+ MemberAccount.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, required: true, location_name: "organizationalUnitId"))
695
+ MemberAccount.struct_class = Types::MemberAccount
696
+
697
+ MemberAccounts.member = Shapes::ShapeRef.new(shape: MemberAccount)
698
+
639
699
  MessageComponents.add_member(:headline, Shapes::ShapeRef.new(shape: TextPartReference, location_name: "headline"))
640
700
  MessageComponents.add_member(:paragraph_summary, Shapes::ShapeRef.new(shape: TextPartReference, location_name: "paragraphSummary"))
641
701
  MessageComponents.add_member(:complete_description, Shapes::ShapeRef.new(shape: TextPartReference, location_name: "completeDescription"))
@@ -651,6 +711,7 @@ module Aws::Notifications
651
711
  NotificationConfigurationStructure.add_member(:status, Shapes::ShapeRef.new(shape: NotificationConfigurationStatus, required: true, location_name: "status"))
652
712
  NotificationConfigurationStructure.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "creationTime"))
653
713
  NotificationConfigurationStructure.add_member(:aggregation_duration, Shapes::ShapeRef.new(shape: AggregationDuration, location_name: "aggregationDuration"))
714
+ NotificationConfigurationStructure.add_member(:subtype, Shapes::ShapeRef.new(shape: NotificationConfigurationSubtype, location_name: "subtype"))
654
715
  NotificationConfigurationStructure.struct_class = Types::NotificationConfigurationStructure
655
716
 
656
717
  NotificationConfigurations.member = Shapes::ShapeRef.new(shape: NotificationConfigurationStructure)
@@ -670,6 +731,7 @@ module Aws::Notifications
670
731
  NotificationEvent.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
671
732
  NotificationEvent.add_member(:text_parts, Shapes::ShapeRef.new(shape: TextParts, required: true, location_name: "textParts"))
672
733
  NotificationEvent.add_member(:media, Shapes::ShapeRef.new(shape: Media, required: true, location_name: "media"))
734
+ NotificationEvent.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location_name: "organizationalUnitId"))
673
735
  NotificationEvent.struct_class = Types::NotificationEvent
674
736
 
675
737
  NotificationEventOverview.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationEventArn, required: true, location_name: "arn"))
@@ -680,6 +742,7 @@ module Aws::Notifications
680
742
  NotificationEventOverview.add_member(:aggregation_event_type, Shapes::ShapeRef.new(shape: AggregationEventType, location_name: "aggregationEventType"))
681
743
  NotificationEventOverview.add_member(:aggregate_notification_event_arn, Shapes::ShapeRef.new(shape: NotificationEventArn, location_name: "aggregateNotificationEventArn"))
682
744
  NotificationEventOverview.add_member(:aggregation_summary, Shapes::ShapeRef.new(shape: AggregationSummary, location_name: "aggregationSummary"))
745
+ NotificationEventOverview.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location_name: "organizationalUnitId"))
683
746
  NotificationEventOverview.struct_class = Types::NotificationEventOverview
684
747
 
685
748
  NotificationEventSummary.add_member(:schema_version, Shapes::ShapeRef.new(shape: SchemaVersion, required: true, location_name: "schemaVersion"))
@@ -706,6 +769,8 @@ module Aws::Notifications
706
769
  NotificationsAccessForOrganization.add_member(:access_status, Shapes::ShapeRef.new(shape: AccessStatus, required: true, location_name: "accessStatus"))
707
770
  NotificationsAccessForOrganization.struct_class = Types::NotificationsAccessForOrganization
708
771
 
772
+ OrganizationalUnits.member = Shapes::ShapeRef.new(shape: OrganizationalUnitId)
773
+
709
774
  Regions.member = Shapes::ShapeRef.new(shape: Region)
710
775
 
711
776
  RegisterNotificationHubRequest.add_member(:notification_hub_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "notificationHubRegion"))
@@ -865,9 +930,9 @@ module Aws::Notifications
865
930
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
866
931
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
867
932
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
868
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
869
933
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
870
934
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
935
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
871
936
  end)
872
937
 
873
938
  api.add_operation(:associate_managed_notification_account_contact, Seahorse::Model::Operation.new.tap do |o|
@@ -880,9 +945,9 @@ module Aws::Notifications
880
945
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
881
946
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
882
947
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
883
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
884
948
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
885
949
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
950
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
886
951
  end)
887
952
 
888
953
  api.add_operation(:associate_managed_notification_additional_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -895,9 +960,24 @@ module Aws::Notifications
895
960
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
896
961
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
897
962
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
963
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
964
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
898
965
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
966
+ end)
967
+
968
+ api.add_operation(:associate_organizational_unit, Seahorse::Model::Operation.new.tap do |o|
969
+ o.name = "AssociateOrganizationalUnit"
970
+ o.http_method = "POST"
971
+ o.http_request_uri = "/organizational-units/associate/{organizationalUnitId}"
972
+ o.input = Shapes::ShapeRef.new(shape: AssociateOrganizationalUnitRequest)
973
+ o.output = Shapes::ShapeRef.new(shape: AssociateOrganizationalUnitResponse)
974
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
975
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
976
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
977
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
899
978
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
900
979
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
980
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
901
981
  end)
902
982
 
903
983
  api.add_operation(:create_event_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -910,9 +990,9 @@ module Aws::Notifications
910
990
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
911
991
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
912
992
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
913
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
914
993
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
915
994
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
916
996
  end)
917
997
 
918
998
  api.add_operation(:create_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -925,8 +1005,8 @@ module Aws::Notifications
925
1005
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
926
1006
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
927
1007
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
928
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
929
1008
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
930
1010
  end)
931
1011
 
932
1012
  api.add_operation(:delete_event_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -938,9 +1018,9 @@ module Aws::Notifications
938
1018
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
939
1019
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
940
1020
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
941
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
942
1021
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
943
1022
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1023
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
944
1024
  end)
945
1025
 
946
1026
  api.add_operation(:delete_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -952,9 +1032,9 @@ module Aws::Notifications
952
1032
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
953
1033
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
954
1034
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
955
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
956
1035
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
957
1036
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
958
1038
  end)
959
1039
 
960
1040
  api.add_operation(:deregister_notification_hub, Seahorse::Model::Operation.new.tap do |o|
@@ -966,9 +1046,9 @@ module Aws::Notifications
966
1046
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
967
1047
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
968
1048
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
969
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
970
1049
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
971
1050
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
972
1052
  end)
973
1053
 
974
1054
  api.add_operation(:disable_notifications_access_for_organization, Seahorse::Model::Operation.new.tap do |o|
@@ -981,9 +1061,9 @@ module Aws::Notifications
981
1061
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
982
1062
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
983
1063
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
984
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
985
1064
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
986
1065
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
987
1067
  end)
988
1068
 
989
1069
  api.add_operation(:disassociate_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -995,8 +1075,8 @@ module Aws::Notifications
995
1075
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
996
1076
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
997
1077
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
998
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
999
1078
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1000
1080
  end)
1001
1081
 
1002
1082
  api.add_operation(:disassociate_managed_notification_account_contact, Seahorse::Model::Operation.new.tap do |o|
@@ -1008,9 +1088,9 @@ module Aws::Notifications
1008
1088
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1009
1089
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1010
1090
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1011
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1012
1091
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1013
1092
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1014
1094
  end)
1015
1095
 
1016
1096
  api.add_operation(:disassociate_managed_notification_additional_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -1022,8 +1102,21 @@ module Aws::Notifications
1022
1102
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1023
1103
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1024
1104
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1105
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1025
1106
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1107
+ end)
1108
+
1109
+ api.add_operation(:disassociate_organizational_unit, Seahorse::Model::Operation.new.tap do |o|
1110
+ o.name = "DisassociateOrganizationalUnit"
1111
+ o.http_method = "POST"
1112
+ o.http_request_uri = "/organizational-units/disassociate/{organizationalUnitId}"
1113
+ o.input = Shapes::ShapeRef.new(shape: DisassociateOrganizationalUnitRequest)
1114
+ o.output = Shapes::ShapeRef.new(shape: DisassociateOrganizationalUnitResponse)
1115
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1026
1118
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1119
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1027
1120
  end)
1028
1121
 
1029
1122
  api.add_operation(:enable_notifications_access_for_organization, Seahorse::Model::Operation.new.tap do |o|
@@ -1036,9 +1129,9 @@ module Aws::Notifications
1036
1129
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1037
1130
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1038
1131
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1039
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1040
1132
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1041
1133
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1042
1135
  end)
1043
1136
 
1044
1137
  api.add_operation(:get_event_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -1050,8 +1143,8 @@ module Aws::Notifications
1050
1143
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1051
1144
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1052
1145
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1053
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1054
1146
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1055
1148
  end)
1056
1149
 
1057
1150
  api.add_operation(:get_managed_notification_child_event, Seahorse::Model::Operation.new.tap do |o|
@@ -1063,8 +1156,8 @@ module Aws::Notifications
1063
1156
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1064
1157
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1065
1158
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1066
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1067
1159
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1160
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1068
1161
  end)
1069
1162
 
1070
1163
  api.add_operation(:get_managed_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1076,8 +1169,8 @@ module Aws::Notifications
1076
1169
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1077
1170
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1078
1171
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1079
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1080
1172
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1081
1174
  end)
1082
1175
 
1083
1176
  api.add_operation(:get_managed_notification_event, Seahorse::Model::Operation.new.tap do |o|
@@ -1089,8 +1182,8 @@ module Aws::Notifications
1089
1182
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1090
1183
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1091
1184
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1092
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1093
1185
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1186
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1094
1187
  end)
1095
1188
 
1096
1189
  api.add_operation(:get_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1102,8 +1195,8 @@ module Aws::Notifications
1102
1195
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1103
1196
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1104
1197
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1105
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1106
1198
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1199
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1107
1200
  end)
1108
1201
 
1109
1202
  api.add_operation(:get_notification_event, Seahorse::Model::Operation.new.tap do |o|
@@ -1115,8 +1208,8 @@ module Aws::Notifications
1115
1208
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1116
1209
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1117
1210
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1118
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1119
1211
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1212
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1120
1213
  end)
1121
1214
 
1122
1215
  api.add_operation(:get_notifications_access_for_organization, Seahorse::Model::Operation.new.tap do |o|
@@ -1140,8 +1233,8 @@ module Aws::Notifications
1140
1233
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1141
1234
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1142
1235
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1143
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1144
1236
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1237
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1145
1238
  o[:pager] = Aws::Pager.new(
1146
1239
  limit_key: "max_results",
1147
1240
  tokens: {
@@ -1159,8 +1252,8 @@ module Aws::Notifications
1159
1252
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1160
1253
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1161
1254
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1162
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1163
1255
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1256
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1164
1257
  o[:pager] = Aws::Pager.new(
1165
1258
  limit_key: "max_results",
1166
1259
  tokens: {
@@ -1178,8 +1271,8 @@ module Aws::Notifications
1178
1271
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1179
1272
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1180
1273
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1181
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1182
1274
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1275
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1183
1276
  o[:pager] = Aws::Pager.new(
1184
1277
  limit_key: "max_results",
1185
1278
  tokens: {
@@ -1242,6 +1335,25 @@ module Aws::Notifications
1242
1335
  )
1243
1336
  end)
1244
1337
 
1338
+ api.add_operation(:list_member_accounts, Seahorse::Model::Operation.new.tap do |o|
1339
+ o.name = "ListMemberAccounts"
1340
+ o.http_method = "GET"
1341
+ o.http_request_uri = "/list-member-accounts"
1342
+ o.input = Shapes::ShapeRef.new(shape: ListMemberAccountsRequest)
1343
+ o.output = Shapes::ShapeRef.new(shape: ListMemberAccountsResponse)
1344
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1345
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1346
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1347
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1349
+ o[:pager] = Aws::Pager.new(
1350
+ limit_key: "max_results",
1351
+ tokens: {
1352
+ "next_token" => "next_token"
1353
+ }
1354
+ )
1355
+ end)
1356
+
1245
1357
  api.add_operation(:list_notification_configurations, Seahorse::Model::Operation.new.tap do |o|
1246
1358
  o.name = "ListNotificationConfigurations"
1247
1359
  o.http_method = "GET"
@@ -1296,6 +1408,25 @@ module Aws::Notifications
1296
1408
  )
1297
1409
  end)
1298
1410
 
1411
+ api.add_operation(:list_organizational_units, Seahorse::Model::Operation.new.tap do |o|
1412
+ o.name = "ListOrganizationalUnits"
1413
+ o.http_method = "GET"
1414
+ o.http_request_uri = "/organizational-units"
1415
+ o.input = Shapes::ShapeRef.new(shape: ListOrganizationalUnitsRequest)
1416
+ o.output = Shapes::ShapeRef.new(shape: ListOrganizationalUnitsResponse)
1417
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1418
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1419
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1420
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1421
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1422
+ o[:pager] = Aws::Pager.new(
1423
+ limit_key: "max_results",
1424
+ tokens: {
1425
+ "next_token" => "next_token"
1426
+ }
1427
+ )
1428
+ end)
1429
+
1299
1430
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1300
1431
  o.name = "ListTagsForResource"
1301
1432
  o.http_method = "GET"
@@ -1305,8 +1436,8 @@ module Aws::Notifications
1305
1436
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1306
1437
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1307
1438
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1308
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1309
1439
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1440
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1310
1441
  end)
1311
1442
 
1312
1443
  api.add_operation(:register_notification_hub, Seahorse::Model::Operation.new.tap do |o|
@@ -1319,8 +1450,8 @@ module Aws::Notifications
1319
1450
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1320
1451
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1321
1452
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1322
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1323
1453
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1454
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1324
1455
  end)
1325
1456
 
1326
1457
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1332,8 +1463,8 @@ module Aws::Notifications
1332
1463
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1333
1464
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1334
1465
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1335
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1336
1466
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1467
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1337
1468
  end)
1338
1469
 
1339
1470
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1345,8 +1476,8 @@ module Aws::Notifications
1345
1476
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1346
1477
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1347
1478
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1348
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1349
1479
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1480
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1350
1481
  end)
1351
1482
 
1352
1483
  api.add_operation(:update_event_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -1358,9 +1489,9 @@ module Aws::Notifications
1358
1489
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1359
1490
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1360
1491
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1361
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1362
1492
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1363
1493
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1494
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1364
1495
  end)
1365
1496
 
1366
1497
  api.add_operation(:update_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -1372,9 +1503,9 @@ module Aws::Notifications
1372
1503
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1373
1504
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1374
1505
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1375
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1376
1506
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1377
1507
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1508
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1378
1509
  end)
1379
1510
  end
1380
1511