aws-sdk-notifications 1.12.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-notifications/client.rb +191 -14
- data/lib/aws-sdk-notifications/client_api.rb +157 -26
- data/lib/aws-sdk-notifications/types.rb +228 -15
- data/lib/aws-sdk-notifications.rb +1 -1
- data/sig/client.rbs +53 -1
- data/sig/types.rbs +63 -1
- metadata +1 -1
@@ -102,8 +102,8 @@ module Aws::Notifications
|
|
102
102
|
# The Amazon Resource Name (ARN) of the Channel to associate with the
|
103
103
|
# `NotificationConfiguration`.
|
104
104
|
#
|
105
|
-
# Supported ARNs include
|
106
|
-
# notifications-contacts.
|
105
|
+
# Supported ARNs include Amazon Q Developer in chat applications, the
|
106
|
+
# Console Mobile Application, and notifications-contacts.
|
107
107
|
# @return [String]
|
108
108
|
#
|
109
109
|
# @!attribute [rw] notification_configuration_arn
|
@@ -152,8 +152,8 @@ module Aws::Notifications
|
|
152
152
|
# The Amazon Resource Name (ARN) of the Channel to associate with the
|
153
153
|
# `ManagedNotificationConfiguration`.
|
154
154
|
#
|
155
|
-
# Supported ARNs include
|
156
|
-
# email (notifications-contacts).
|
155
|
+
# Supported ARNs include Amazon Q Developer in chat applications, the
|
156
|
+
# Console Mobile Application, and email (notifications-contacts).
|
157
157
|
# @return [String]
|
158
158
|
#
|
159
159
|
# @!attribute [rw] managed_notification_configuration_arn
|
@@ -175,6 +175,28 @@ module Aws::Notifications
|
|
175
175
|
#
|
176
176
|
class AssociateManagedNotificationAdditionalChannelResponse < Aws::EmptyStructure; end
|
177
177
|
|
178
|
+
# @!attribute [rw] organizational_unit_id
|
179
|
+
# The unique identifier of the organizational unit to associate.
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] notification_configuration_arn
|
183
|
+
# The Amazon Resource Name (ARN) of the notification configuration to
|
184
|
+
# associate with the organizational unit.
|
185
|
+
# @return [String]
|
186
|
+
#
|
187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/AssociateOrganizationalUnitRequest AWS API Documentation
|
188
|
+
#
|
189
|
+
class AssociateOrganizationalUnitRequest < Struct.new(
|
190
|
+
:organizational_unit_id,
|
191
|
+
:notification_configuration_arn)
|
192
|
+
SENSITIVE = []
|
193
|
+
include Aws::Structure
|
194
|
+
end
|
195
|
+
|
196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/AssociateOrganizationalUnitResponse AWS API Documentation
|
197
|
+
#
|
198
|
+
class AssociateOrganizationalUnitResponse < Aws::EmptyStructure; end
|
199
|
+
|
178
200
|
# Updating or deleting a resource can cause an inconsistent state.
|
179
201
|
#
|
180
202
|
# @!attribute [rw] message
|
@@ -501,6 +523,28 @@ module Aws::Notifications
|
|
501
523
|
#
|
502
524
|
class DisassociateManagedNotificationAdditionalChannelResponse < Aws::EmptyStructure; end
|
503
525
|
|
526
|
+
# @!attribute [rw] organizational_unit_id
|
527
|
+
# The unique identifier of the organizational unit to disassociate.
|
528
|
+
# @return [String]
|
529
|
+
#
|
530
|
+
# @!attribute [rw] notification_configuration_arn
|
531
|
+
# The Amazon Resource Name (ARN) of the notification configuration to
|
532
|
+
# disassociate from the organizational unit.
|
533
|
+
# @return [String]
|
534
|
+
#
|
535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/DisassociateOrganizationalUnitRequest AWS API Documentation
|
536
|
+
#
|
537
|
+
class DisassociateOrganizationalUnitRequest < Struct.new(
|
538
|
+
:organizational_unit_id,
|
539
|
+
:notification_configuration_arn)
|
540
|
+
SENSITIVE = []
|
541
|
+
include Aws::Structure
|
542
|
+
end
|
543
|
+
|
544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/DisassociateOrganizationalUnitResponse AWS API Documentation
|
545
|
+
#
|
546
|
+
class DisassociateOrganizationalUnitResponse < Aws::EmptyStructure; end
|
547
|
+
|
504
548
|
# @api private
|
505
549
|
#
|
506
550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/EnableNotificationsAccessForOrganizationRequest AWS API Documentation
|
@@ -944,6 +988,11 @@ module Aws::Notifications
|
|
944
988
|
# ^
|
945
989
|
# @return [String]
|
946
990
|
#
|
991
|
+
# @!attribute [rw] subtype
|
992
|
+
# The subtype of the notification configuration returned in the
|
993
|
+
# response.
|
994
|
+
# @return [String]
|
995
|
+
#
|
947
996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/GetNotificationConfigurationResponse AWS API Documentation
|
948
997
|
#
|
949
998
|
class GetNotificationConfigurationResponse < Struct.new(
|
@@ -952,7 +1001,8 @@ module Aws::Notifications
|
|
952
1001
|
:description,
|
953
1002
|
:status,
|
954
1003
|
:creation_time,
|
955
|
-
:aggregation_duration
|
1004
|
+
:aggregation_duration,
|
1005
|
+
:subtype)
|
956
1006
|
SENSITIVE = []
|
957
1007
|
include Aws::Structure
|
958
1008
|
end
|
@@ -1353,6 +1403,63 @@ module Aws::Notifications
|
|
1353
1403
|
include Aws::Structure
|
1354
1404
|
end
|
1355
1405
|
|
1406
|
+
# @!attribute [rw] notification_configuration_arn
|
1407
|
+
# The Amazon Resource Name (ARN) of the notification configuration
|
1408
|
+
# used to filter the member accounts.
|
1409
|
+
# @return [String]
|
1410
|
+
#
|
1411
|
+
# @!attribute [rw] max_results
|
1412
|
+
# The maximum number of results to return in a single call. Valid
|
1413
|
+
# values are 1-100.
|
1414
|
+
# @return [Integer]
|
1415
|
+
#
|
1416
|
+
# @!attribute [rw] next_token
|
1417
|
+
# The token for the next page of results. Use the value returned in
|
1418
|
+
# the previous response.
|
1419
|
+
# @return [String]
|
1420
|
+
#
|
1421
|
+
# @!attribute [rw] member_account
|
1422
|
+
# The member account identifier used to filter the results.
|
1423
|
+
# @return [String]
|
1424
|
+
#
|
1425
|
+
# @!attribute [rw] status
|
1426
|
+
# The status used to filter the member accounts.
|
1427
|
+
# @return [String]
|
1428
|
+
#
|
1429
|
+
# @!attribute [rw] organizational_unit_id
|
1430
|
+
# The organizational unit ID used to filter the member accounts.
|
1431
|
+
# @return [String]
|
1432
|
+
#
|
1433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListMemberAccountsRequest AWS API Documentation
|
1434
|
+
#
|
1435
|
+
class ListMemberAccountsRequest < Struct.new(
|
1436
|
+
:notification_configuration_arn,
|
1437
|
+
:max_results,
|
1438
|
+
:next_token,
|
1439
|
+
:member_account,
|
1440
|
+
:status,
|
1441
|
+
:organizational_unit_id)
|
1442
|
+
SENSITIVE = []
|
1443
|
+
include Aws::Structure
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
# @!attribute [rw] member_accounts
|
1447
|
+
# The list of member accounts that match the specified criteria.
|
1448
|
+
# @return [Array<Types::MemberAccount>]
|
1449
|
+
#
|
1450
|
+
# @!attribute [rw] next_token
|
1451
|
+
# The token to use for the next page of results.
|
1452
|
+
# @return [String]
|
1453
|
+
#
|
1454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListMemberAccountsResponse AWS API Documentation
|
1455
|
+
#
|
1456
|
+
class ListMemberAccountsResponse < Struct.new(
|
1457
|
+
:member_accounts,
|
1458
|
+
:next_token)
|
1459
|
+
SENSITIVE = []
|
1460
|
+
include Aws::Structure
|
1461
|
+
end
|
1462
|
+
|
1356
1463
|
# @!attribute [rw] event_rule_source
|
1357
1464
|
# The matched event source.
|
1358
1465
|
#
|
@@ -1399,6 +1506,11 @@ module Aws::Notifications
|
|
1399
1506
|
# * Only `GET` and `LIST` calls can be run.
|
1400
1507
|
# @return [String]
|
1401
1508
|
#
|
1509
|
+
# @!attribute [rw] subtype
|
1510
|
+
# The subtype used to filter the notification configurations in the
|
1511
|
+
# request.
|
1512
|
+
# @return [String]
|
1513
|
+
#
|
1402
1514
|
# @!attribute [rw] max_results
|
1403
1515
|
# The maximum number of results to be returned in this call. Defaults
|
1404
1516
|
# to 20.
|
@@ -1415,6 +1527,7 @@ module Aws::Notifications
|
|
1415
1527
|
:event_rule_source,
|
1416
1528
|
:channel_arn,
|
1417
1529
|
:status,
|
1530
|
+
:subtype,
|
1418
1531
|
:max_results,
|
1419
1532
|
:next_token)
|
1420
1533
|
SENSITIVE = []
|
@@ -1485,6 +1598,11 @@ module Aws::Notifications
|
|
1485
1598
|
# a previous `ListEventRules` call. Next token uses Base64 encoding.
|
1486
1599
|
# @return [String]
|
1487
1600
|
#
|
1601
|
+
# @!attribute [rw] organizational_unit_id
|
1602
|
+
# The unique identifier of the organizational unit used to filter
|
1603
|
+
# notification events.
|
1604
|
+
# @return [String]
|
1605
|
+
#
|
1488
1606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListNotificationEventsRequest AWS API Documentation
|
1489
1607
|
#
|
1490
1608
|
class ListNotificationEventsRequest < Struct.new(
|
@@ -1495,7 +1613,8 @@ module Aws::Notifications
|
|
1495
1613
|
:include_child_events,
|
1496
1614
|
:aggregate_notification_event_arn,
|
1497
1615
|
:max_results,
|
1498
|
-
:next_token
|
1616
|
+
:next_token,
|
1617
|
+
:organizational_unit_id)
|
1499
1618
|
SENSITIVE = []
|
1500
1619
|
include Aws::Structure
|
1501
1620
|
end
|
@@ -1554,6 +1673,49 @@ module Aws::Notifications
|
|
1554
1673
|
include Aws::Structure
|
1555
1674
|
end
|
1556
1675
|
|
1676
|
+
# @!attribute [rw] notification_configuration_arn
|
1677
|
+
# The Amazon Resource Name (ARN) of the notification configuration
|
1678
|
+
# used to filter the organizational units.
|
1679
|
+
# @return [String]
|
1680
|
+
#
|
1681
|
+
# @!attribute [rw] max_results
|
1682
|
+
# The maximum number of organizational units to return in a single
|
1683
|
+
# call. Valid values are 1-100.
|
1684
|
+
# @return [Integer]
|
1685
|
+
#
|
1686
|
+
# @!attribute [rw] next_token
|
1687
|
+
# The token for the next page of results. Use the value returned in
|
1688
|
+
# the previous response.
|
1689
|
+
# @return [String]
|
1690
|
+
#
|
1691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListOrganizationalUnitsRequest AWS API Documentation
|
1692
|
+
#
|
1693
|
+
class ListOrganizationalUnitsRequest < Struct.new(
|
1694
|
+
:notification_configuration_arn,
|
1695
|
+
:max_results,
|
1696
|
+
:next_token)
|
1697
|
+
SENSITIVE = []
|
1698
|
+
include Aws::Structure
|
1699
|
+
end
|
1700
|
+
|
1701
|
+
# @!attribute [rw] organizational_units
|
1702
|
+
# The list of organizational units that match the specified criteria.
|
1703
|
+
# @return [Array<String>]
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] next_token
|
1706
|
+
# The token to use for the next page of results. If there are no
|
1707
|
+
# additional results, this value is null.
|
1708
|
+
# @return [String]
|
1709
|
+
#
|
1710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListOrganizationalUnitsResponse AWS API Documentation
|
1711
|
+
#
|
1712
|
+
class ListOrganizationalUnitsResponse < Struct.new(
|
1713
|
+
:organizational_units,
|
1714
|
+
:next_token)
|
1715
|
+
SENSITIVE = []
|
1716
|
+
include Aws::Structure
|
1717
|
+
end
|
1718
|
+
|
1557
1719
|
# @!attribute [rw] arn
|
1558
1720
|
# The Amazon Resource Name (ARN) to use to list tags.
|
1559
1721
|
# @return [String]
|
@@ -1604,8 +1766,8 @@ module Aws::Notifications
|
|
1604
1766
|
# ^
|
1605
1767
|
# * `CHATBOT`
|
1606
1768
|
#
|
1607
|
-
# * Delivers notifications through
|
1608
|
-
# platforms (Slack, Chime).
|
1769
|
+
# * Delivers notifications through Amazon Q Developer in chat
|
1770
|
+
# applications to collaboration platforms (Slack, Chime).
|
1609
1771
|
#
|
1610
1772
|
# ^
|
1611
1773
|
# * `EMAIL`
|
@@ -2065,8 +2227,6 @@ module Aws::Notifications
|
|
2065
2227
|
# @return [Time]
|
2066
2228
|
#
|
2067
2229
|
# @!attribute [rw] notification_event
|
2068
|
-
# A short summary of a `ManagedNotificationEvent`. This is only used
|
2069
|
-
# when listing managed notification events.
|
2070
2230
|
# @return [Types::ManagedNotificationEventSummary]
|
2071
2231
|
#
|
2072
2232
|
# @!attribute [rw] aggregation_event_type
|
@@ -2264,6 +2424,42 @@ module Aws::Notifications
|
|
2264
2424
|
include Aws::Structure
|
2265
2425
|
end
|
2266
2426
|
|
2427
|
+
# Contains information about a member account.
|
2428
|
+
#
|
2429
|
+
# @!attribute [rw] notification_configuration_arn
|
2430
|
+
# The Amazon Resource Name (ARN) of the notification configuration
|
2431
|
+
# associated with the member account.
|
2432
|
+
# @return [String]
|
2433
|
+
#
|
2434
|
+
# @!attribute [rw] account_id
|
2435
|
+
# The AWS account ID of the member account.
|
2436
|
+
# @return [String]
|
2437
|
+
#
|
2438
|
+
# @!attribute [rw] status
|
2439
|
+
# The current status of the member account.
|
2440
|
+
# @return [String]
|
2441
|
+
#
|
2442
|
+
# @!attribute [rw] status_reason
|
2443
|
+
# The reason for the current status of the member account.
|
2444
|
+
# @return [String]
|
2445
|
+
#
|
2446
|
+
# @!attribute [rw] organizational_unit_id
|
2447
|
+
# The unique identifier of the organizational unit containing the
|
2448
|
+
# member account.
|
2449
|
+
# @return [String]
|
2450
|
+
#
|
2451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/MemberAccount AWS API Documentation
|
2452
|
+
#
|
2453
|
+
class MemberAccount < Struct.new(
|
2454
|
+
:notification_configuration_arn,
|
2455
|
+
:account_id,
|
2456
|
+
:status,
|
2457
|
+
:status_reason,
|
2458
|
+
:organizational_unit_id)
|
2459
|
+
SENSITIVE = []
|
2460
|
+
include Aws::Structure
|
2461
|
+
end
|
2462
|
+
|
2267
2463
|
# Describes the components of a notification message.
|
2268
2464
|
#
|
2269
2465
|
# @!attribute [rw] headline
|
@@ -2272,8 +2468,8 @@ module Aws::Notifications
|
|
2272
2468
|
# @return [String]
|
2273
2469
|
#
|
2274
2470
|
# @!attribute [rw] paragraph_summary
|
2275
|
-
# A paragraph long or multiple sentence summary. For example,
|
2276
|
-
# notifications.
|
2471
|
+
# A paragraph long or multiple sentence summary. For example, Amazon Q
|
2472
|
+
# Developer in chat applications notifications.
|
2277
2473
|
# @return [String]
|
2278
2474
|
#
|
2279
2475
|
# @!attribute [rw] complete_description
|
@@ -2362,6 +2558,10 @@ module Aws::Notifications
|
|
2362
2558
|
# ^
|
2363
2559
|
# @return [String]
|
2364
2560
|
#
|
2561
|
+
# @!attribute [rw] subtype
|
2562
|
+
# The subtype of the notification configuration.
|
2563
|
+
# @return [String]
|
2564
|
+
#
|
2365
2565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/NotificationConfigurationStructure AWS API Documentation
|
2366
2566
|
#
|
2367
2567
|
class NotificationConfigurationStructure < Struct.new(
|
@@ -2370,7 +2570,8 @@ module Aws::Notifications
|
|
2370
2570
|
:description,
|
2371
2571
|
:status,
|
2372
2572
|
:creation_time,
|
2373
|
-
:aggregation_duration
|
2573
|
+
:aggregation_duration,
|
2574
|
+
:subtype)
|
2374
2575
|
SENSITIVE = []
|
2375
2576
|
include Aws::Structure
|
2376
2577
|
end
|
@@ -2506,6 +2707,11 @@ module Aws::Notifications
|
|
2506
2707
|
# A list of media elements.
|
2507
2708
|
# @return [Array<Types::MediaElement>]
|
2508
2709
|
#
|
2710
|
+
# @!attribute [rw] organizational_unit_id
|
2711
|
+
# The unique identifier of the organizational unit associated with the
|
2712
|
+
# notification event.
|
2713
|
+
# @return [String]
|
2714
|
+
#
|
2509
2715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/NotificationEvent AWS API Documentation
|
2510
2716
|
#
|
2511
2717
|
class NotificationEvent < Struct.new(
|
@@ -2523,7 +2729,8 @@ module Aws::Notifications
|
|
2523
2729
|
:start_time,
|
2524
2730
|
:end_time,
|
2525
2731
|
:text_parts,
|
2526
|
-
:media
|
2732
|
+
:media,
|
2733
|
+
:organizational_unit_id)
|
2527
2734
|
SENSITIVE = []
|
2528
2735
|
include Aws::Structure
|
2529
2736
|
end
|
@@ -2587,6 +2794,11 @@ module Aws::Notifications
|
|
2587
2794
|
# Provides an aggregated summary data for notification events.
|
2588
2795
|
# @return [Types::AggregationSummary]
|
2589
2796
|
#
|
2797
|
+
# @!attribute [rw] organizational_unit_id
|
2798
|
+
# The unique identifier of the organizational unit in the notification
|
2799
|
+
# event overview.
|
2800
|
+
# @return [String]
|
2801
|
+
#
|
2590
2802
|
# @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/NotificationEventOverview AWS API Documentation
|
2591
2803
|
#
|
2592
2804
|
class NotificationEventOverview < Struct.new(
|
@@ -2597,7 +2809,8 @@ module Aws::Notifications
|
|
2597
2809
|
:notification_event,
|
2598
2810
|
:aggregation_event_type,
|
2599
2811
|
:aggregate_notification_event_arn,
|
2600
|
-
:aggregation_summary
|
2812
|
+
:aggregation_summary,
|
2813
|
+
:organizational_unit_id)
|
2601
2814
|
SENSITIVE = []
|
2602
2815
|
include Aws::Structure
|
2603
2816
|
end
|
data/sig/client.rbs
CHANGED
@@ -108,6 +108,16 @@ module Aws
|
|
108
108
|
) -> _AssociateManagedNotificationAdditionalChannelResponseSuccess
|
109
109
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateManagedNotificationAdditionalChannelResponseSuccess
|
110
110
|
|
111
|
+
interface _AssociateOrganizationalUnitResponseSuccess
|
112
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateOrganizationalUnitResponse]
|
113
|
+
end
|
114
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#associate_organizational_unit-instance_method
|
115
|
+
def associate_organizational_unit: (
|
116
|
+
organizational_unit_id: ::String,
|
117
|
+
notification_configuration_arn: ::String
|
118
|
+
) -> _AssociateOrganizationalUnitResponseSuccess
|
119
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateOrganizationalUnitResponseSuccess
|
120
|
+
|
111
121
|
interface _CreateEventRuleResponseSuccess
|
112
122
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateEventRuleResponse]
|
113
123
|
def arn: () -> ::String
|
@@ -205,6 +215,16 @@ module Aws
|
|
205
215
|
) -> _DisassociateManagedNotificationAdditionalChannelResponseSuccess
|
206
216
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateManagedNotificationAdditionalChannelResponseSuccess
|
207
217
|
|
218
|
+
interface _DisassociateOrganizationalUnitResponseSuccess
|
219
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateOrganizationalUnitResponse]
|
220
|
+
end
|
221
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#disassociate_organizational_unit-instance_method
|
222
|
+
def disassociate_organizational_unit: (
|
223
|
+
organizational_unit_id: ::String,
|
224
|
+
notification_configuration_arn: ::String
|
225
|
+
) -> _DisassociateOrganizationalUnitResponseSuccess
|
226
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateOrganizationalUnitResponseSuccess
|
227
|
+
|
208
228
|
interface _EnableNotificationsAccessForOrganizationResponseSuccess
|
209
229
|
include ::Seahorse::Client::_ResponseSuccess[Types::EnableNotificationsAccessForOrganizationResponse]
|
210
230
|
end
|
@@ -281,6 +301,7 @@ module Aws
|
|
281
301
|
def status: () -> ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
|
282
302
|
def creation_time: () -> ::Time
|
283
303
|
def aggregation_duration: () -> ("LONG" | "SHORT" | "NONE")
|
304
|
+
def subtype: () -> ("ACCOUNT" | "ADMIN_MANAGED")
|
284
305
|
end
|
285
306
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#get_notification_configuration-instance_method
|
286
307
|
def get_notification_configuration: (
|
@@ -399,6 +420,22 @@ module Aws
|
|
399
420
|
) -> _ListManagedNotificationEventsResponseSuccess
|
400
421
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedNotificationEventsResponseSuccess
|
401
422
|
|
423
|
+
interface _ListMemberAccountsResponseSuccess
|
424
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMemberAccountsResponse]
|
425
|
+
def member_accounts: () -> ::Array[Types::MemberAccount]
|
426
|
+
def next_token: () -> ::String
|
427
|
+
end
|
428
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#list_member_accounts-instance_method
|
429
|
+
def list_member_accounts: (
|
430
|
+
notification_configuration_arn: ::String,
|
431
|
+
?max_results: ::Integer,
|
432
|
+
?next_token: ::String,
|
433
|
+
?member_account: ::String,
|
434
|
+
?status: ("ACTIVE" | "PENDING" | "INACTIVE" | "CREATING" | "DELETING"),
|
435
|
+
?organizational_unit_id: ::String
|
436
|
+
) -> _ListMemberAccountsResponseSuccess
|
437
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMemberAccountsResponseSuccess
|
438
|
+
|
402
439
|
interface _ListNotificationConfigurationsResponseSuccess
|
403
440
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListNotificationConfigurationsResponse]
|
404
441
|
def next_token: () -> ::String
|
@@ -409,6 +446,7 @@ module Aws
|
|
409
446
|
?event_rule_source: ::String,
|
410
447
|
?channel_arn: ::String,
|
411
448
|
?status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING"),
|
449
|
+
?subtype: ("ACCOUNT" | "ADMIN_MANAGED"),
|
412
450
|
?max_results: ::Integer,
|
413
451
|
?next_token: ::String
|
414
452
|
) -> _ListNotificationConfigurationsResponseSuccess
|
@@ -428,7 +466,8 @@ module Aws
|
|
428
466
|
?include_child_events: bool,
|
429
467
|
?aggregate_notification_event_arn: ::String,
|
430
468
|
?max_results: ::Integer,
|
431
|
-
?next_token: ::String
|
469
|
+
?next_token: ::String,
|
470
|
+
?organizational_unit_id: ::String
|
432
471
|
) -> _ListNotificationEventsResponseSuccess
|
433
472
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationEventsResponseSuccess
|
434
473
|
|
@@ -444,6 +483,19 @@ module Aws
|
|
444
483
|
) -> _ListNotificationHubsResponseSuccess
|
445
484
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationHubsResponseSuccess
|
446
485
|
|
486
|
+
interface _ListOrganizationalUnitsResponseSuccess
|
487
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOrganizationalUnitsResponse]
|
488
|
+
def organizational_units: () -> ::Array[::String]
|
489
|
+
def next_token: () -> ::String
|
490
|
+
end
|
491
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Notifications/Client.html#list_organizational_units-instance_method
|
492
|
+
def list_organizational_units: (
|
493
|
+
notification_configuration_arn: ::String,
|
494
|
+
?max_results: ::Integer,
|
495
|
+
?next_token: ::String
|
496
|
+
) -> _ListOrganizationalUnitsResponseSuccess
|
497
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationalUnitsResponseSuccess
|
498
|
+
|
447
499
|
interface _ListTagsForResourceResponseSuccess
|
448
500
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
449
501
|
def tags: () -> ::Hash[::String, ::String]
|
data/sig/types.rbs
CHANGED
@@ -61,6 +61,15 @@ module Aws::Notifications
|
|
61
61
|
class AssociateManagedNotificationAdditionalChannelResponse < Aws::EmptyStructure
|
62
62
|
end
|
63
63
|
|
64
|
+
class AssociateOrganizationalUnitRequest
|
65
|
+
attr_accessor organizational_unit_id: ::String
|
66
|
+
attr_accessor notification_configuration_arn: ::String
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
70
|
+
class AssociateOrganizationalUnitResponse < Aws::EmptyStructure
|
71
|
+
end
|
72
|
+
|
64
73
|
class ConflictException
|
65
74
|
attr_accessor message: ::String
|
66
75
|
attr_accessor resource_id: ::String
|
@@ -163,6 +172,15 @@ module Aws::Notifications
|
|
163
172
|
class DisassociateManagedNotificationAdditionalChannelResponse < Aws::EmptyStructure
|
164
173
|
end
|
165
174
|
|
175
|
+
class DisassociateOrganizationalUnitRequest
|
176
|
+
attr_accessor organizational_unit_id: ::String
|
177
|
+
attr_accessor notification_configuration_arn: ::String
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class DisassociateOrganizationalUnitResponse < Aws::EmptyStructure
|
182
|
+
end
|
183
|
+
|
166
184
|
class EnableNotificationsAccessForOrganizationRequest < Aws::EmptyStructure
|
167
185
|
end
|
168
186
|
|
@@ -260,6 +278,7 @@ module Aws::Notifications
|
|
260
278
|
attr_accessor status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
|
261
279
|
attr_accessor creation_time: ::Time
|
262
280
|
attr_accessor aggregation_duration: ("LONG" | "SHORT" | "NONE")
|
281
|
+
attr_accessor subtype: ("ACCOUNT" | "ADMIN_MANAGED")
|
263
282
|
SENSITIVE: []
|
264
283
|
end
|
265
284
|
|
@@ -378,10 +397,27 @@ module Aws::Notifications
|
|
378
397
|
SENSITIVE: []
|
379
398
|
end
|
380
399
|
|
400
|
+
class ListMemberAccountsRequest
|
401
|
+
attr_accessor notification_configuration_arn: ::String
|
402
|
+
attr_accessor max_results: ::Integer
|
403
|
+
attr_accessor next_token: ::String
|
404
|
+
attr_accessor member_account: ::String
|
405
|
+
attr_accessor status: ("ACTIVE" | "PENDING" | "INACTIVE" | "CREATING" | "DELETING")
|
406
|
+
attr_accessor organizational_unit_id: ::String
|
407
|
+
SENSITIVE: []
|
408
|
+
end
|
409
|
+
|
410
|
+
class ListMemberAccountsResponse
|
411
|
+
attr_accessor member_accounts: ::Array[Types::MemberAccount]
|
412
|
+
attr_accessor next_token: ::String
|
413
|
+
SENSITIVE: []
|
414
|
+
end
|
415
|
+
|
381
416
|
class ListNotificationConfigurationsRequest
|
382
417
|
attr_accessor event_rule_source: ::String
|
383
418
|
attr_accessor channel_arn: ::String
|
384
419
|
attr_accessor status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
|
420
|
+
attr_accessor subtype: ("ACCOUNT" | "ADMIN_MANAGED")
|
385
421
|
attr_accessor max_results: ::Integer
|
386
422
|
attr_accessor next_token: ::String
|
387
423
|
SENSITIVE: []
|
@@ -402,6 +438,7 @@ module Aws::Notifications
|
|
402
438
|
attr_accessor aggregate_notification_event_arn: ::String
|
403
439
|
attr_accessor max_results: ::Integer
|
404
440
|
attr_accessor next_token: ::String
|
441
|
+
attr_accessor organizational_unit_id: ::String
|
405
442
|
SENSITIVE: []
|
406
443
|
end
|
407
444
|
|
@@ -423,6 +460,19 @@ module Aws::Notifications
|
|
423
460
|
SENSITIVE: []
|
424
461
|
end
|
425
462
|
|
463
|
+
class ListOrganizationalUnitsRequest
|
464
|
+
attr_accessor notification_configuration_arn: ::String
|
465
|
+
attr_accessor max_results: ::Integer
|
466
|
+
attr_accessor next_token: ::String
|
467
|
+
SENSITIVE: []
|
468
|
+
end
|
469
|
+
|
470
|
+
class ListOrganizationalUnitsResponse
|
471
|
+
attr_accessor organizational_units: ::Array[::String]
|
472
|
+
attr_accessor next_token: ::String
|
473
|
+
SENSITIVE: []
|
474
|
+
end
|
475
|
+
|
426
476
|
class ListTagsForResourceRequest
|
427
477
|
attr_accessor arn: ::String
|
428
478
|
SENSITIVE: []
|
@@ -539,6 +589,15 @@ module Aws::Notifications
|
|
539
589
|
SENSITIVE: []
|
540
590
|
end
|
541
591
|
|
592
|
+
class MemberAccount
|
593
|
+
attr_accessor notification_configuration_arn: ::String
|
594
|
+
attr_accessor account_id: ::String
|
595
|
+
attr_accessor status: ("ACTIVE" | "PENDING" | "INACTIVE" | "CREATING" | "DELETING")
|
596
|
+
attr_accessor status_reason: ::String
|
597
|
+
attr_accessor organizational_unit_id: ::String
|
598
|
+
SENSITIVE: []
|
599
|
+
end
|
600
|
+
|
542
601
|
class MessageComponents
|
543
602
|
attr_accessor headline: ::String
|
544
603
|
attr_accessor paragraph_summary: ::String
|
@@ -559,6 +618,7 @@ module Aws::Notifications
|
|
559
618
|
attr_accessor status: ("ACTIVE" | "PARTIALLY_ACTIVE" | "INACTIVE" | "DELETING")
|
560
619
|
attr_accessor creation_time: ::Time
|
561
620
|
attr_accessor aggregation_duration: ("LONG" | "SHORT" | "NONE")
|
621
|
+
attr_accessor subtype: ("ACCOUNT" | "ADMIN_MANAGED")
|
562
622
|
SENSITIVE: []
|
563
623
|
end
|
564
624
|
|
@@ -578,6 +638,7 @@ module Aws::Notifications
|
|
578
638
|
attr_accessor end_time: ::Time
|
579
639
|
attr_accessor text_parts: ::Hash[::String, Types::TextPartValue]
|
580
640
|
attr_accessor media: ::Array[Types::MediaElement]
|
641
|
+
attr_accessor organizational_unit_id: ::String
|
581
642
|
SENSITIVE: []
|
582
643
|
end
|
583
644
|
|
@@ -590,6 +651,7 @@ module Aws::Notifications
|
|
590
651
|
attr_accessor aggregation_event_type: ("AGGREGATE" | "CHILD" | "NONE")
|
591
652
|
attr_accessor aggregate_notification_event_arn: ::String
|
592
653
|
attr_accessor aggregation_summary: Types::AggregationSummary
|
654
|
+
attr_accessor organizational_unit_id: ::String
|
593
655
|
SENSITIVE: []
|
594
656
|
end
|
595
657
|
|
@@ -617,7 +679,7 @@ module Aws::Notifications
|
|
617
679
|
end
|
618
680
|
|
619
681
|
class NotificationsAccessForOrganization
|
620
|
-
attr_accessor access_status: ("ENABLED" | "DISABLED" | "PENDING")
|
682
|
+
attr_accessor access_status: ("ENABLED" | "DISABLED" | "PENDING" | "FAILED")
|
621
683
|
SENSITIVE: []
|
622
684
|
end
|
623
685
|
|