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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fa2ceb608a54e9e97ce432f93c783fe1902a53e303dfc6128c9823de280dfb6
4
- data.tar.gz: 24fb61a8071d3352093a564f3bc1af3f56296f334abeee60b68f40347f3b1f14
3
+ metadata.gz: 9229ef9a409e795961533f20acc18934cfe56b91e73a4a424d791950bc8ec448
4
+ data.tar.gz: 15c7f95d8dfcc16646463f29fbe2d10044d45986df0dae9bbf6880cbe2a9b5a9
5
5
  SHA512:
6
- metadata.gz: b545fd42104144792b11ce41ef096febf40568ce5a73ecc09561d1b1102a57a0561f16a30c2d17140bc6394e2866a3b7ecb07d49f8b20740c98437ef1764487a
7
- data.tar.gz: 0daacbf30051109ba5b2fae4a4741fb03994f2873eec85ed78268354e9e144097e1630f88d4a5150d8d8e937d588372264451404ee41dd0b0f065c77813b0c5c
6
+ metadata.gz: 97596e7a1a6585d21caea1c1085b7e50c4e73e539d66e012393a38f3a1132d74beef08a5c3478dc1682bf8928e4220d8c4376124f7733eaba84a958aab1f0661
7
+ data.tar.gz: 673bcab34dc49a0822add8f4acb9e55a023f689a43c6942cc0fefbeac0dfbc98b71b96d4ecccd20854e17af9e75bc646528a20f8be9d7094508b8dc271841652
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2025-09-02)
5
+ ------------------
6
+
7
+ * Feature - Added Org support for notifications: - `ListMemberAccounts` gets member accounts list, `AssociateOrganizationalUnit` links OU to notification configuration, `DisassociateOrganizationalUnit` removes OU from notification configuration, `ListOrganizationalUnits` shows OUs configured for notifications.
8
+
9
+ 1.12.0 (2025-08-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.11.0 (2025-08-08)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.13.0
@@ -477,8 +477,9 @@ module Aws::Notifications
477
477
  # @!group API Operations
478
478
 
479
479
  # Associates a delivery [Channel][1] with a particular
480
- # `NotificationConfiguration`. Supported Channels include Chatbot, the
481
- # Console Mobile Application, and emails (notifications-contacts).
480
+ # `NotificationConfiguration`. Supported Channels include Amazon Q
481
+ # Developer in chat applications, the Console Mobile Application, and
482
+ # emails (notifications-contacts).
482
483
  #
483
484
  #
484
485
  #
@@ -488,8 +489,8 @@ module Aws::Notifications
488
489
  # The Amazon Resource Name (ARN) of the Channel to associate with the
489
490
  # `NotificationConfiguration`.
490
491
  #
491
- # Supported ARNs include Chatbot, the Console Mobile Application, and
492
- # notifications-contacts.
492
+ # Supported ARNs include Amazon Q Developer in chat applications, the
493
+ # Console Mobile Application, and notifications-contacts.
493
494
  #
494
495
  # @option params [required, String] :notification_configuration_arn
495
496
  # The ARN of the `NotificationConfiguration` to associate with the
@@ -546,15 +547,15 @@ module Aws::Notifications
546
547
  # Associates an additional Channel with a particular
547
548
  # `ManagedNotificationConfiguration`.
548
549
  #
549
- # Supported Channels include Chatbot, the Console Mobile Application,
550
- # and emails (notifications-contacts).
550
+ # Supported Channels include Amazon Q Developer in chat applications,
551
+ # the Console Mobile Application, and emails (notifications-contacts).
551
552
  #
552
553
  # @option params [required, String] :channel_arn
553
554
  # The Amazon Resource Name (ARN) of the Channel to associate with the
554
555
  # `ManagedNotificationConfiguration`.
555
556
  #
556
- # Supported ARNs include Chatbot, the Console Mobile Application, and
557
- # email (notifications-contacts).
557
+ # Supported ARNs include Amazon Q Developer in chat applications, the
558
+ # Console Mobile Application, and email (notifications-contacts).
558
559
  #
559
560
  # @option params [required, String] :managed_notification_configuration_arn
560
561
  # The Amazon Resource Name (ARN) of the
@@ -579,6 +580,33 @@ module Aws::Notifications
579
580
  req.send_request(options)
580
581
  end
581
582
 
583
+ # Associates an organizational unit with a notification configuration.
584
+ #
585
+ # @option params [required, String] :organizational_unit_id
586
+ # The unique identifier of the organizational unit to associate.
587
+ #
588
+ # @option params [required, String] :notification_configuration_arn
589
+ # The Amazon Resource Name (ARN) of the notification configuration to
590
+ # associate with the organizational unit.
591
+ #
592
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
593
+ #
594
+ # @example Request syntax with placeholder values
595
+ #
596
+ # resp = client.associate_organizational_unit({
597
+ # organizational_unit_id: "OrganizationalUnitId", # required
598
+ # notification_configuration_arn: "NotificationConfigurationArn", # required
599
+ # })
600
+ #
601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/AssociateOrganizationalUnit AWS API Documentation
602
+ #
603
+ # @overload associate_organizational_unit(params = {})
604
+ # @param [Hash] params ({})
605
+ def associate_organizational_unit(params = {}, options = {})
606
+ req = build_request(:associate_organizational_unit, params)
607
+ req.send_request(options)
608
+ end
609
+
582
610
  # Creates an [ `EventRule` ][1] that is associated with a specified
583
611
  # `NotificationConfiguration`.
584
612
  #
@@ -827,8 +855,8 @@ module Aws::Notifications
827
855
  end
828
856
 
829
857
  # Disassociates a Channel from a specified `NotificationConfiguration`.
830
- # Supported Channels include Chatbot, the Console Mobile Application,
831
- # and emails (notifications-contacts).
858
+ # Supported Channels include Amazon Q Developer in chat applications,
859
+ # the Console Mobile Application, and emails (notifications-contacts).
832
860
  #
833
861
  # @option params [required, String] :arn
834
862
  # The Amazon Resource Name (ARN) of the Channel to disassociate.
@@ -887,8 +915,8 @@ module Aws::Notifications
887
915
  # Disassociates an additional Channel from a particular
888
916
  # `ManagedNotificationConfiguration`.
889
917
  #
890
- # Supported Channels include Chatbot, the Console Mobile Application,
891
- # and emails (notifications-contacts).
918
+ # Supported Channels include Amazon Q Developer in chat applications,
919
+ # the Console Mobile Application, and emails (notifications-contacts).
892
920
  #
893
921
  # @option params [required, String] :channel_arn
894
922
  # The Amazon Resource Name (ARN) of the Channel to associate with the
@@ -916,6 +944,34 @@ module Aws::Notifications
916
944
  req.send_request(options)
917
945
  end
918
946
 
947
+ # Removes the association between an organizational unit and a
948
+ # notification configuration.
949
+ #
950
+ # @option params [required, String] :organizational_unit_id
951
+ # The unique identifier of the organizational unit to disassociate.
952
+ #
953
+ # @option params [required, String] :notification_configuration_arn
954
+ # The Amazon Resource Name (ARN) of the notification configuration to
955
+ # disassociate from the organizational unit.
956
+ #
957
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
958
+ #
959
+ # @example Request syntax with placeholder values
960
+ #
961
+ # resp = client.disassociate_organizational_unit({
962
+ # organizational_unit_id: "OrganizationalUnitId", # required
963
+ # notification_configuration_arn: "NotificationConfigurationArn", # required
964
+ # })
965
+ #
966
+ # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/DisassociateOrganizationalUnit AWS API Documentation
967
+ #
968
+ # @overload disassociate_organizational_unit(params = {})
969
+ # @param [Hash] params ({})
970
+ def disassociate_organizational_unit(params = {}, options = {})
971
+ req = build_request(:disassociate_organizational_unit, params)
972
+ req.send_request(options)
973
+ end
974
+
919
975
  # Enables service trust between User Notifications and Amazon Web
920
976
  # Services Organizations.
921
977
  #
@@ -1177,6 +1233,7 @@ module Aws::Notifications
1177
1233
  # * {Types::GetNotificationConfigurationResponse#status #status} => String
1178
1234
  # * {Types::GetNotificationConfigurationResponse#creation_time #creation_time} => Time
1179
1235
  # * {Types::GetNotificationConfigurationResponse#aggregation_duration #aggregation_duration} => String
1236
+ # * {Types::GetNotificationConfigurationResponse#subtype #subtype} => String
1180
1237
  #
1181
1238
  # @example Request syntax with placeholder values
1182
1239
  #
@@ -1192,6 +1249,7 @@ module Aws::Notifications
1192
1249
  # resp.status #=> String, one of "ACTIVE", "PARTIALLY_ACTIVE", "INACTIVE", "DELETING"
1193
1250
  # resp.creation_time #=> Time
1194
1251
  # resp.aggregation_duration #=> String, one of "LONG", "SHORT", "NONE"
1252
+ # resp.subtype #=> String, one of "ACCOUNT", "ADMIN_MANAGED"
1195
1253
  #
1196
1254
  # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/GetNotificationConfiguration AWS API Documentation
1197
1255
  #
@@ -1304,6 +1362,7 @@ module Aws::Notifications
1304
1362
  # resp.content.media[0].type #=> String, one of "IMAGE"
1305
1363
  # resp.content.media[0].url #=> String
1306
1364
  # resp.content.media[0].caption #=> String
1365
+ # resp.content.organizational_unit_id #=> String
1307
1366
  #
1308
1367
  # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/GetNotificationEvent AWS API Documentation
1309
1368
  #
@@ -1323,7 +1382,7 @@ module Aws::Notifications
1323
1382
  #
1324
1383
  # @example Response structure
1325
1384
  #
1326
- # resp.notifications_access_for_organization.access_status #=> String, one of "ENABLED", "DISABLED", "PENDING"
1385
+ # resp.notifications_access_for_organization.access_status #=> String, one of "ENABLED", "DISABLED", "PENDING", "FAILED"
1327
1386
  #
1328
1387
  # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/GetNotificationsAccessForOrganization AWS API Documentation
1329
1388
  #
@@ -1719,6 +1778,67 @@ module Aws::Notifications
1719
1778
  req.send_request(options)
1720
1779
  end
1721
1780
 
1781
+ # Returns a list of member accounts associated with a notification
1782
+ # configuration.
1783
+ #
1784
+ # @option params [required, String] :notification_configuration_arn
1785
+ # The Amazon Resource Name (ARN) of the notification configuration used
1786
+ # to filter the member accounts.
1787
+ #
1788
+ # @option params [Integer] :max_results
1789
+ # The maximum number of results to return in a single call. Valid values
1790
+ # are 1-100.
1791
+ #
1792
+ # @option params [String] :next_token
1793
+ # The token for the next page of results. Use the value returned in the
1794
+ # previous response.
1795
+ #
1796
+ # @option params [String] :member_account
1797
+ # The member account identifier used to filter the results.
1798
+ #
1799
+ # @option params [String] :status
1800
+ # The status used to filter the member accounts.
1801
+ #
1802
+ # @option params [String] :organizational_unit_id
1803
+ # The organizational unit ID used to filter the member accounts.
1804
+ #
1805
+ # @return [Types::ListMemberAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1806
+ #
1807
+ # * {Types::ListMemberAccountsResponse#member_accounts #member_accounts} => Array<Types::MemberAccount>
1808
+ # * {Types::ListMemberAccountsResponse#next_token #next_token} => String
1809
+ #
1810
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1811
+ #
1812
+ # @example Request syntax with placeholder values
1813
+ #
1814
+ # resp = client.list_member_accounts({
1815
+ # notification_configuration_arn: "NotificationConfigurationArn", # required
1816
+ # max_results: 1,
1817
+ # next_token: "NextToken",
1818
+ # member_account: "AccountId",
1819
+ # status: "ACTIVE", # accepts ACTIVE, PENDING, INACTIVE, CREATING, DELETING
1820
+ # organizational_unit_id: "OrganizationalUnitId",
1821
+ # })
1822
+ #
1823
+ # @example Response structure
1824
+ #
1825
+ # resp.member_accounts #=> Array
1826
+ # resp.member_accounts[0].notification_configuration_arn #=> String
1827
+ # resp.member_accounts[0].account_id #=> String
1828
+ # resp.member_accounts[0].status #=> String, one of "ACTIVE", "PENDING", "INACTIVE", "CREATING", "DELETING"
1829
+ # resp.member_accounts[0].status_reason #=> String
1830
+ # resp.member_accounts[0].organizational_unit_id #=> String
1831
+ # resp.next_token #=> String
1832
+ #
1833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListMemberAccounts AWS API Documentation
1834
+ #
1835
+ # @overload list_member_accounts(params = {})
1836
+ # @param [Hash] params ({})
1837
+ def list_member_accounts(params = {}, options = {})
1838
+ req = build_request(:list_member_accounts, params)
1839
+ req.send_request(options)
1840
+ end
1841
+
1722
1842
  # Returns a list of abbreviated `NotificationConfigurations` according
1723
1843
  # to specified filters, in reverse chronological order (newest first).
1724
1844
  #
@@ -1765,6 +1885,10 @@ module Aws::Notifications
1765
1885
  #
1766
1886
  # * Only `GET` and `LIST` calls can be run.
1767
1887
  #
1888
+ # @option params [String] :subtype
1889
+ # The subtype used to filter the notification configurations in the
1890
+ # request.
1891
+ #
1768
1892
  # @option params [Integer] :max_results
1769
1893
  # The maximum number of results to be returned in this call. Defaults to
1770
1894
  # 20.
@@ -1786,6 +1910,7 @@ module Aws::Notifications
1786
1910
  # event_rule_source: "Source",
1787
1911
  # channel_arn: "ChannelArn",
1788
1912
  # status: "ACTIVE", # accepts ACTIVE, PARTIALLY_ACTIVE, INACTIVE, DELETING
1913
+ # subtype: "ACCOUNT", # accepts ACCOUNT, ADMIN_MANAGED
1789
1914
  # max_results: 1,
1790
1915
  # next_token: "NextToken",
1791
1916
  # })
@@ -1800,6 +1925,7 @@ module Aws::Notifications
1800
1925
  # resp.notification_configurations[0].status #=> String, one of "ACTIVE", "PARTIALLY_ACTIVE", "INACTIVE", "DELETING"
1801
1926
  # resp.notification_configurations[0].creation_time #=> Time
1802
1927
  # resp.notification_configurations[0].aggregation_duration #=> String, one of "LONG", "SHORT", "NONE"
1928
+ # resp.notification_configurations[0].subtype #=> String, one of "ACCOUNT", "ADMIN_MANAGED"
1803
1929
  #
1804
1930
  # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListNotificationConfigurations AWS API Documentation
1805
1931
  #
@@ -1864,6 +1990,10 @@ module Aws::Notifications
1864
1990
  # The start token for paginated calls. Retrieved from the response of a
1865
1991
  # previous `ListEventRules` call. Next token uses Base64 encoding.
1866
1992
  #
1993
+ # @option params [String] :organizational_unit_id
1994
+ # The unique identifier of the organizational unit used to filter
1995
+ # notification events.
1996
+ #
1867
1997
  # @return [Types::ListNotificationEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1868
1998
  #
1869
1999
  # * {Types::ListNotificationEventsResponse#next_token #next_token} => String
@@ -1882,6 +2012,7 @@ module Aws::Notifications
1882
2012
  # aggregate_notification_event_arn: "NotificationEventArn",
1883
2013
  # max_results: 1,
1884
2014
  # next_token: "NextToken",
2015
+ # organizational_unit_id: "OrganizationalUnitId",
1885
2016
  # })
1886
2017
  #
1887
2018
  # @example Response structure
@@ -1922,6 +2053,7 @@ module Aws::Notifications
1922
2053
  # resp.notification_events[0].aggregation_summary.additional_summarization_dimensions[0].count #=> Integer
1923
2054
  # resp.notification_events[0].aggregation_summary.additional_summarization_dimensions[0].sample_values #=> Array
1924
2055
  # resp.notification_events[0].aggregation_summary.additional_summarization_dimensions[0].sample_values[0] #=> String
2056
+ # resp.notification_events[0].organizational_unit_id #=> String
1925
2057
  #
1926
2058
  # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListNotificationEvents AWS API Documentation
1927
2059
  #
@@ -1974,6 +2106,51 @@ module Aws::Notifications
1974
2106
  req.send_request(options)
1975
2107
  end
1976
2108
 
2109
+ # Returns a list of organizational units associated with a notification
2110
+ # configuration.
2111
+ #
2112
+ # @option params [required, String] :notification_configuration_arn
2113
+ # The Amazon Resource Name (ARN) of the notification configuration used
2114
+ # to filter the organizational units.
2115
+ #
2116
+ # @option params [Integer] :max_results
2117
+ # The maximum number of organizational units to return in a single call.
2118
+ # Valid values are 1-100.
2119
+ #
2120
+ # @option params [String] :next_token
2121
+ # The token for the next page of results. Use the value returned in the
2122
+ # previous response.
2123
+ #
2124
+ # @return [Types::ListOrganizationalUnitsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2125
+ #
2126
+ # * {Types::ListOrganizationalUnitsResponse#organizational_units #organizational_units} => Array<String>
2127
+ # * {Types::ListOrganizationalUnitsResponse#next_token #next_token} => String
2128
+ #
2129
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2130
+ #
2131
+ # @example Request syntax with placeholder values
2132
+ #
2133
+ # resp = client.list_organizational_units({
2134
+ # notification_configuration_arn: "NotificationConfigurationArn", # required
2135
+ # max_results: 1,
2136
+ # next_token: "NextToken",
2137
+ # })
2138
+ #
2139
+ # @example Response structure
2140
+ #
2141
+ # resp.organizational_units #=> Array
2142
+ # resp.organizational_units[0] #=> String
2143
+ # resp.next_token #=> String
2144
+ #
2145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/notifications-2018-05-10/ListOrganizationalUnits AWS API Documentation
2146
+ #
2147
+ # @overload list_organizational_units(params = {})
2148
+ # @param [Hash] params ({})
2149
+ def list_organizational_units(params = {}, options = {})
2150
+ req = build_request(:list_organizational_units, params)
2151
+ req.send_request(options)
2152
+ end
2153
+
1977
2154
  # Returns a list of tags for a specified Amazon Resource Name (ARN).
1978
2155
  #
1979
2156
  # For more information, see [Tagging your Amazon Web Services
@@ -2256,7 +2433,7 @@ module Aws::Notifications
2256
2433
  tracer: tracer
2257
2434
  )
2258
2435
  context[:gem_name] = 'aws-sdk-notifications'
2259
- context[:gem_version] = '1.11.0'
2436
+ context[:gem_version] = '1.13.0'
2260
2437
  Seahorse::Client::Request.new(handlers, context)
2261
2438
  end
2262
2439