@aws-sdk/client-notifications 3.879.0 → 3.880.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.
Files changed (64) hide show
  1. package/README.md +33 -8
  2. package/dist-cjs/Notifications.js +8 -0
  3. package/dist-cjs/commands/AssociateOrganizationalUnitCommand.js +26 -0
  4. package/dist-cjs/commands/DisassociateOrganizationalUnitCommand.js +26 -0
  5. package/dist-cjs/commands/ListMemberAccountsCommand.js +26 -0
  6. package/dist-cjs/commands/ListOrganizationalUnitsCommand.js +26 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +13 -1
  9. package/dist-cjs/pagination/ListMemberAccountsPaginator.js +7 -0
  10. package/dist-cjs/pagination/ListOrganizationalUnitsPaginator.js +7 -0
  11. package/dist-cjs/pagination/index.js +2 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +125 -2
  13. package/dist-es/Notifications.js +8 -0
  14. package/dist-es/commands/AssociateOrganizationalUnitCommand.js +22 -0
  15. package/dist-es/commands/DisassociateOrganizationalUnitCommand.js +22 -0
  16. package/dist-es/commands/ListMemberAccountsCommand.js +22 -0
  17. package/dist-es/commands/ListOrganizationalUnitsCommand.js +22 -0
  18. package/dist-es/commands/index.js +4 -0
  19. package/dist-es/models/models_0.js +12 -0
  20. package/dist-es/pagination/ListMemberAccountsPaginator.js +4 -0
  21. package/dist-es/pagination/ListOrganizationalUnitsPaginator.js +4 -0
  22. package/dist-es/pagination/index.js +2 -0
  23. package/dist-es/protocols/Aws_restJson1.js +115 -0
  24. package/dist-types/Notifications.d.ts +29 -8
  25. package/dist-types/NotificationsClient.d.ts +7 -10
  26. package/dist-types/commands/AssociateChannelCommand.d.ts +1 -2
  27. package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +1 -2
  28. package/dist-types/commands/AssociateOrganizationalUnitCommand.d.ts +92 -0
  29. package/dist-types/commands/CreateEventRuleCommand.d.ts +1 -4
  30. package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +1 -7
  31. package/dist-types/commands/DisassociateChannelCommand.d.ts +1 -1
  32. package/dist-types/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +1 -2
  33. package/dist-types/commands/DisassociateOrganizationalUnitCommand.d.ts +86 -0
  34. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +1 -0
  35. package/dist-types/commands/GetNotificationEventCommand.d.ts +2 -6
  36. package/dist-types/commands/GetNotificationsAccessForOrganizationCommand.d.ts +1 -1
  37. package/dist-types/commands/ListMemberAccountsCommand.d.ts +101 -0
  38. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +3 -2
  39. package/dist-types/commands/ListNotificationEventsCommand.d.ts +3 -6
  40. package/dist-types/commands/ListOrganizationalUnitsCommand.d.ts +92 -0
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -5
  42. package/dist-types/commands/RegisterNotificationHubCommand.d.ts +1 -3
  43. package/dist-types/commands/TagResourceCommand.d.ts +1 -5
  44. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  45. package/dist-types/commands/index.d.ts +4 -0
  46. package/dist-types/index.d.ts +1 -8
  47. package/dist-types/models/models_0.d.ts +303 -1054
  48. package/dist-types/pagination/ListMemberAccountsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/ListOrganizationalUnitsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/index.d.ts +2 -0
  51. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  52. package/dist-types/ts3.4/Notifications.d.ts +68 -0
  53. package/dist-types/ts3.4/NotificationsClient.d.ts +24 -0
  54. package/dist-types/ts3.4/commands/AssociateOrganizationalUnitCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/DisassociateOrganizationalUnitCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListMemberAccountsCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListOrganizationalUnitsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +60 -0
  60. package/dist-types/ts3.4/pagination/ListMemberAccountsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListOrganizationalUnitsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  63. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  64. package/package.json +1 -1
@@ -27,8 +27,7 @@ declare const AssociateManagedNotificationAdditionalChannelCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Associates an additional Channel with a particular <code>ManagedNotificationConfiguration</code>.</p>
31
- * <p>Supported Channels include Chatbot, the Console Mobile Application, and emails (notifications-contacts).</p>
30
+ * <p>Associates an additional Channel with a particular <code>ManagedNotificationConfiguration</code>.</p> <p>Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { AssociateOrganizationalUnitRequest, AssociateOrganizationalUnitResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateOrganizationalUnitCommand}.
14
+ */
15
+ export interface AssociateOrganizationalUnitCommandInput extends AssociateOrganizationalUnitRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateOrganizationalUnitCommand}.
21
+ */
22
+ export interface AssociateOrganizationalUnitCommandOutput extends AssociateOrganizationalUnitResponse, __MetadataBearer {
23
+ }
24
+ declare const AssociateOrganizationalUnitCommand_base: {
25
+ new (input: AssociateOrganizationalUnitCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateOrganizationalUnitCommandInput, AssociateOrganizationalUnitCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssociateOrganizationalUnitCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateOrganizationalUnitCommandInput, AssociateOrganizationalUnitCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associates an organizational unit with a notification configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, AssociateOrganizationalUnitCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, AssociateOrganizationalUnitCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // AssociateOrganizationalUnitRequest
38
+ * organizationalUnitId: "STRING_VALUE", // required
39
+ * notificationConfigurationArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new AssociateOrganizationalUnitCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param AssociateOrganizationalUnitCommandInput - {@link AssociateOrganizationalUnitCommandInput}
48
+ * @returns {@link AssociateOrganizationalUnitCommandOutput}
49
+ * @see {@link AssociateOrganizationalUnitCommandInput} for command's `input` shape.
50
+ * @see {@link AssociateOrganizationalUnitCommandOutput} for command's `response` shape.
51
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>User does not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>Unexpected error during processing of request.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>Request references a resource which does not exist. </p>
64
+ *
65
+ * @throws {@link ServiceQuotaExceededException} (client fault)
66
+ * <p>Request would cause a service quota to be exceeded.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>Request was denied due to request throttling. </p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>This exception is thrown when the notification event fails validation.</p>
73
+ *
74
+ * @throws {@link NotificationsServiceException}
75
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class AssociateOrganizationalUnitCommand extends AssociateOrganizationalUnitCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: AssociateOrganizationalUnitRequest;
85
+ output: {};
86
+ };
87
+ sdk: {
88
+ input: AssociateOrganizationalUnitCommandInput;
89
+ output: AssociateOrganizationalUnitCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -27,10 +27,7 @@ declare const CreateEventRuleCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates an <a href="https://docs.aws.amazon.com/notifications/latest/userguide/glossary.html">
31
- * <code>EventRule</code>
32
- * </a> that
33
- * is associated with a specified <code>NotificationConfiguration</code>.</p>
30
+ * <p>Creates an <a href="https://docs.aws.amazon.com/notifications/latest/userguide/glossary.html"> <code>EventRule</code> </a> that is associated with a specified <code>NotificationConfiguration</code>.</p>
34
31
  * @example
35
32
  * Use a bare-bones client and the command you need to make an API call.
36
33
  * ```javascript
@@ -27,13 +27,7 @@ declare const DeregisterNotificationHubCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deregisters a <code>NotificationConfiguration</code> in the specified Region.</p>
31
- * <note>
32
- * <p>You can't deregister the last <code>NotificationHub</code> in the account.
33
- * <code>NotificationEvents</code> stored in the deregistered <code>NotificationConfiguration</code> are no
34
- * longer be visible. Recreating a new <code>NotificationConfiguration</code> in the same Region restores access
35
- * to those <code>NotificationEvents</code>.</p>
36
- * </note>
30
+ * <p>Deregisters a <code>NotificationConfiguration</code> in the specified Region.</p> <note> <p>You can't deregister the last <code>NotificationHub</code> in the account. <code>NotificationEvents</code> stored in the deregistered <code>NotificationConfiguration</code> are no longer be visible. Recreating a new <code>NotificationConfiguration</code> in the same Region restores access to those <code>NotificationEvents</code>.</p> </note>
37
31
  * @example
38
32
  * Use a bare-bones client and the command you need to make an API call.
39
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const DisassociateChannelCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Disassociates a Channel from a specified <code>NotificationConfiguration</code>. Supported Channels include Chatbot, the Console Mobile Application, and emails (notifications-contacts).</p>
30
+ * <p>Disassociates a Channel from a specified <code>NotificationConfiguration</code>. Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const DisassociateManagedNotificationAdditionalChannelCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Disassociates an additional Channel from a particular <code>ManagedNotificationConfiguration</code>.</p>
31
- * <p>Supported Channels include Chatbot, the Console Mobile Application, and emails (notifications-contacts).</p>
30
+ * <p>Disassociates an additional Channel from a particular <code>ManagedNotificationConfiguration</code>.</p> <p>Supported Channels include Amazon Q Developer in chat applications, the Console Mobile Application, and emails (notifications-contacts).</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DisassociateOrganizationalUnitRequest, DisassociateOrganizationalUnitResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateOrganizationalUnitCommand}.
14
+ */
15
+ export interface DisassociateOrganizationalUnitCommandInput extends DisassociateOrganizationalUnitRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateOrganizationalUnitCommand}.
21
+ */
22
+ export interface DisassociateOrganizationalUnitCommandOutput extends DisassociateOrganizationalUnitResponse, __MetadataBearer {
23
+ }
24
+ declare const DisassociateOrganizationalUnitCommand_base: {
25
+ new (input: DisassociateOrganizationalUnitCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateOrganizationalUnitCommandInput, DisassociateOrganizationalUnitCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisassociateOrganizationalUnitCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateOrganizationalUnitCommandInput, DisassociateOrganizationalUnitCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes the association between an organizational unit and a notification configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, DisassociateOrganizationalUnitCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, DisassociateOrganizationalUnitCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // DisassociateOrganizationalUnitRequest
38
+ * organizationalUnitId: "STRING_VALUE", // required
39
+ * notificationConfigurationArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DisassociateOrganizationalUnitCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DisassociateOrganizationalUnitCommandInput - {@link DisassociateOrganizationalUnitCommandInput}
48
+ * @returns {@link DisassociateOrganizationalUnitCommandOutput}
49
+ * @see {@link DisassociateOrganizationalUnitCommandInput} for command's `input` shape.
50
+ * @see {@link DisassociateOrganizationalUnitCommandOutput} for command's `response` shape.
51
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>User does not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link InternalServerException} (server fault)
57
+ * <p>Unexpected error during processing of request.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>Request references a resource which does not exist. </p>
61
+ *
62
+ * @throws {@link ThrottlingException} (client fault)
63
+ * <p>Request was denied due to request throttling. </p>
64
+ *
65
+ * @throws {@link ValidationException} (client fault)
66
+ * <p>This exception is thrown when the notification event fails validation.</p>
67
+ *
68
+ * @throws {@link NotificationsServiceException}
69
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
70
+ *
71
+ *
72
+ * @public
73
+ */
74
+ export declare class DisassociateOrganizationalUnitCommand extends DisassociateOrganizationalUnitCommand_base {
75
+ /** @internal type navigation helper, not in runtime. */
76
+ protected static __types: {
77
+ api: {
78
+ input: DisassociateOrganizationalUnitRequest;
79
+ output: {};
80
+ };
81
+ sdk: {
82
+ input: DisassociateOrganizationalUnitCommandInput;
83
+ output: DisassociateOrganizationalUnitCommandOutput;
84
+ };
85
+ };
86
+ }
@@ -46,6 +46,7 @@ declare const GetNotificationConfigurationCommand_base: {
46
46
  * // status: "STRING_VALUE", // required
47
47
  * // creationTime: new Date("TIMESTAMP"), // required
48
48
  * // aggregationDuration: "STRING_VALUE",
49
+ * // subtype: "STRING_VALUE",
49
50
  * // };
50
51
  *
51
52
  * ```
@@ -27,12 +27,7 @@ declare const GetNotificationEventCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a specified <code>NotificationEvent</code>.</p>
31
- * <important>
32
- * <p>User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. <code>GetNotificationEvent</code> only returns notifications stored in the same Region in which the action is called.
33
- * User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub.
34
- * For more information, see <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">Notification hubs</a> in the <i>Amazon Web Services User Notifications User Guide</i>.</p>
35
- * </important>
30
+ * <p>Returns a specified <code>NotificationEvent</code>.</p> <important> <p>User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. <code>GetNotificationEvent</code> only returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">Notification hubs</a> in the <i>Amazon Web Services User Notifications User Guide</i>.</p> </important>
36
31
  * @example
37
32
  * Use a bare-bones client and the command you need to make an API call.
38
33
  * ```javascript
@@ -147,6 +142,7 @@ declare const GetNotificationEventCommand_base: {
147
142
  * // caption: "STRING_VALUE", // required
148
143
  * // },
149
144
  * // ],
145
+ * // organizationalUnitId: "STRING_VALUE",
150
146
  * // },
151
147
  * // };
152
148
  *
@@ -39,7 +39,7 @@ declare const GetNotificationsAccessForOrganizationCommand_base: {
39
39
  * const response = await client.send(command);
40
40
  * // { // GetNotificationsAccessForOrganizationResponse
41
41
  * // notificationsAccessForOrganization: { // NotificationsAccessForOrganization
42
- * // accessStatus: "ENABLED" || "DISABLED" || "PENDING", // required
42
+ * // accessStatus: "ENABLED" || "DISABLED" || "PENDING" || "FAILED", // required
43
43
  * // },
44
44
  * // };
45
45
  *
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListMemberAccountsRequest, ListMemberAccountsResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListMemberAccountsCommand}.
14
+ */
15
+ export interface ListMemberAccountsCommandInput extends ListMemberAccountsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListMemberAccountsCommand}.
21
+ */
22
+ export interface ListMemberAccountsCommandOutput extends ListMemberAccountsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListMemberAccountsCommand_base: {
25
+ new (input: ListMemberAccountsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMemberAccountsCommandInput, ListMemberAccountsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListMemberAccountsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMemberAccountsCommandInput, ListMemberAccountsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of member accounts associated with a notification configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, ListMemberAccountsCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, ListMemberAccountsCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // ListMemberAccountsRequest
38
+ * notificationConfigurationArn: "STRING_VALUE", // required
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * memberAccount: "STRING_VALUE",
42
+ * status: "STRING_VALUE",
43
+ * organizationalUnitId: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListMemberAccountsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListMemberAccountsResponse
48
+ * // memberAccounts: [ // MemberAccounts // required
49
+ * // { // MemberAccount
50
+ * // notificationConfigurationArn: "STRING_VALUE",
51
+ * // accountId: "STRING_VALUE", // required
52
+ * // status: "STRING_VALUE", // required
53
+ * // statusReason: "STRING_VALUE", // required
54
+ * // organizationalUnitId: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListMemberAccountsCommandInput - {@link ListMemberAccountsCommandInput}
63
+ * @returns {@link ListMemberAccountsCommandOutput}
64
+ * @see {@link ListMemberAccountsCommandInput} for command's `input` shape.
65
+ * @see {@link ListMemberAccountsCommandOutput} for command's `response` shape.
66
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>User does not have sufficient access to perform this action.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>Unexpected error during processing of request.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>Request references a resource which does not exist. </p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>Request was denied due to request throttling. </p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>This exception is thrown when the notification event fails validation.</p>
82
+ *
83
+ * @throws {@link NotificationsServiceException}
84
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListMemberAccountsCommand extends ListMemberAccountsCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListMemberAccountsRequest;
94
+ output: ListMemberAccountsResponse;
95
+ };
96
+ sdk: {
97
+ input: ListMemberAccountsCommandInput;
98
+ output: ListMemberAccountsCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -27,8 +27,7 @@ declare const ListNotificationConfigurationsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of abbreviated <code>NotificationConfigurations</code> according to
31
- * specified filters, in reverse chronological order (newest first).</p>
30
+ * <p>Returns a list of abbreviated <code>NotificationConfigurations</code> according to specified filters, in reverse chronological order (newest first).</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -39,6 +38,7 @@ declare const ListNotificationConfigurationsCommand_base: {
39
38
  * eventRuleSource: "STRING_VALUE",
40
39
  * channelArn: "STRING_VALUE",
41
40
  * status: "STRING_VALUE",
41
+ * subtype: "STRING_VALUE",
42
42
  * maxResults: Number("int"),
43
43
  * nextToken: "STRING_VALUE",
44
44
  * };
@@ -54,6 +54,7 @@ declare const ListNotificationConfigurationsCommand_base: {
54
54
  * // status: "STRING_VALUE", // required
55
55
  * // creationTime: new Date("TIMESTAMP"), // required
56
56
  * // aggregationDuration: "STRING_VALUE",
57
+ * // subtype: "STRING_VALUE",
57
58
  * // },
58
59
  * // ],
59
60
  * // };
@@ -27,12 +27,7 @@ declare const ListNotificationEventsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of <code>NotificationEvents</code> according to specified filters, in reverse chronological order (newest first).</p>
31
- * <important>
32
- * <p>User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. ListNotificationEvents only returns notifications stored in the same Region in which the action is called.
33
- * User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub.
34
- * For more information, see <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">Notification hubs</a> in the <i>Amazon Web Services User Notifications User Guide</i>.</p>
35
- * </important>
30
+ * <p>Returns a list of <code>NotificationEvents</code> according to specified filters, in reverse chronological order (newest first).</p> <important> <p>User Notifications stores notifications in the individual Regions you register as notification hubs and the Region of the source event rule. ListNotificationEvents only returns notifications stored in the same Region in which the action is called. User Notifications doesn't backfill notifications to new Regions selected as notification hubs. For this reason, we recommend that you make calls in your oldest registered notification hub. For more information, see <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">Notification hubs</a> in the <i>Amazon Web Services User Notifications User Guide</i>.</p> </important>
36
31
  * @example
37
32
  * Use a bare-bones client and the command you need to make an API call.
38
33
  * ```javascript
@@ -48,6 +43,7 @@ declare const ListNotificationEventsCommand_base: {
48
43
  * aggregateNotificationEventArn: "STRING_VALUE",
49
44
  * maxResults: Number("int"),
50
45
  * nextToken: "STRING_VALUE",
46
+ * organizationalUnitId: "STRING_VALUE",
51
47
  * };
52
48
  * const command = new ListNotificationEventsCommand(input);
53
49
  * const response = await client.send(command);
@@ -113,6 +109,7 @@ declare const ListNotificationEventsCommand_base: {
113
109
  * // },
114
110
  * // ],
115
111
  * // },
112
+ * // organizationalUnitId: "STRING_VALUE",
116
113
  * // },
117
114
  * // ],
118
115
  * // };
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListOrganizationalUnitsRequest, ListOrganizationalUnitsResponse } from "../models/models_0";
4
+ import { NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListOrganizationalUnitsCommand}.
14
+ */
15
+ export interface ListOrganizationalUnitsCommandInput extends ListOrganizationalUnitsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListOrganizationalUnitsCommand}.
21
+ */
22
+ export interface ListOrganizationalUnitsCommandOutput extends ListOrganizationalUnitsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListOrganizationalUnitsCommand_base: {
25
+ new (input: ListOrganizationalUnitsCommandInput): import("@smithy/smithy-client").CommandImpl<ListOrganizationalUnitsCommandInput, ListOrganizationalUnitsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListOrganizationalUnitsCommandInput): import("@smithy/smithy-client").CommandImpl<ListOrganizationalUnitsCommandInput, ListOrganizationalUnitsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of organizational units associated with a notification configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, ListOrganizationalUnitsCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, ListOrganizationalUnitsCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // ListOrganizationalUnitsRequest
38
+ * notificationConfigurationArn: "STRING_VALUE", // required
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListOrganizationalUnitsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListOrganizationalUnitsResponse
45
+ * // organizationalUnits: [ // OrganizationalUnits // required
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // nextToken: "STRING_VALUE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param ListOrganizationalUnitsCommandInput - {@link ListOrganizationalUnitsCommandInput}
54
+ * @returns {@link ListOrganizationalUnitsCommandOutput}
55
+ * @see {@link ListOrganizationalUnitsCommandInput} for command's `input` shape.
56
+ * @see {@link ListOrganizationalUnitsCommandOutput} for command's `response` shape.
57
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>User does not have sufficient access to perform this action.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>Unexpected error during processing of request.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>Request references a resource which does not exist. </p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>Request was denied due to request throttling. </p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>This exception is thrown when the notification event fails validation.</p>
73
+ *
74
+ * @throws {@link NotificationsServiceException}
75
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class ListOrganizationalUnitsCommand extends ListOrganizationalUnitsCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: ListOrganizationalUnitsRequest;
85
+ output: ListOrganizationalUnitsResponse;
86
+ };
87
+ sdk: {
88
+ input: ListOrganizationalUnitsCommandInput;
89
+ output: ListOrganizationalUnitsCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -27,11 +27,7 @@ declare const ListTagsForResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of tags for a specified Amazon Resource Name (ARN).</p>
31
- * <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your Amazon Web Services resources</a> in the <i>Tagging Amazon Web Services Resources User Guide</i>.</p>
32
- * <note>
33
- * <p>This is only supported for <code>NotificationConfigurations</code>.</p>
34
- * </note>
30
+ * <p>Returns a list of tags for a specified Amazon Resource Name (ARN).</p> <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your Amazon Web Services resources</a> in the <i>Tagging Amazon Web Services Resources User Guide</i>.</p> <note> <p>This is only supported for <code>NotificationConfigurations</code>.</p> </note>
35
31
  * @example
36
32
  * Use a bare-bones client and the command you need to make an API call.
37
33
  * ```javascript
@@ -27,9 +27,7 @@ declare const RegisterNotificationHubCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Registers a <code>NotificationConfiguration</code> in the specified Region.</p>
31
- * <p>There is a maximum of one <code>NotificationConfiguration</code> per Region. You can have a
32
- * maximum of 3 <code>NotificationHub</code> resources at a time.</p>
30
+ * <p>Registers a <code>NotificationConfiguration</code> in the specified Region.</p> <p>There is a maximum of one <code>NotificationConfiguration</code> per Region. You can have a maximum of 3 <code>NotificationHub</code> resources at a time.</p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -27,11 +27,7 @@ declare const TagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Tags the resource with a tag key and value.</p>
31
- * <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your Amazon Web Services resources</a> in the <i>Tagging Amazon Web Services Resources User Guide</i>.</p>
32
- * <note>
33
- * <p>This is only supported for <code>NotificationConfigurations</code>.</p>
34
- * </note>
30
+ * <p>Tags the resource with a tag key and value.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your Amazon Web Services resources</a> in the <i>Tagging Amazon Web Services Resources User Guide</i>.</p> <note> <p>This is only supported for <code>NotificationConfigurations</code>.</p> </note>
35
31
  * @example
36
32
  * Use a bare-bones client and the command you need to make an API call.
37
33
  * ```javascript
@@ -27,8 +27,7 @@ declare const UntagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Untags a resource with a specified Amazon Resource Name (ARN).</p>
31
- * <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your Amazon Web Services resources</a> in the <i>Tagging Amazon Web Services Resources User Guide</i>.</p>
30
+ * <p>Untags a resource with a specified Amazon Resource Name (ARN).</p> <p>For more information, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your Amazon Web Services resources</a> in the <i>Tagging Amazon Web Services Resources User Guide</i>.</p>
32
31
  * @example
33
32
  * Use a bare-bones client and the command you need to make an API call.
34
33
  * ```javascript
@@ -1,6 +1,7 @@
1
1
  export * from "./AssociateChannelCommand";
2
2
  export * from "./AssociateManagedNotificationAccountContactCommand";
3
3
  export * from "./AssociateManagedNotificationAdditionalChannelCommand";
4
+ export * from "./AssociateOrganizationalUnitCommand";
4
5
  export * from "./CreateEventRuleCommand";
5
6
  export * from "./CreateNotificationConfigurationCommand";
6
7
  export * from "./DeleteEventRuleCommand";
@@ -10,6 +11,7 @@ export * from "./DisableNotificationsAccessForOrganizationCommand";
10
11
  export * from "./DisassociateChannelCommand";
11
12
  export * from "./DisassociateManagedNotificationAccountContactCommand";
12
13
  export * from "./DisassociateManagedNotificationAdditionalChannelCommand";
14
+ export * from "./DisassociateOrganizationalUnitCommand";
13
15
  export * from "./EnableNotificationsAccessForOrganizationCommand";
14
16
  export * from "./GetEventRuleCommand";
15
17
  export * from "./GetManagedNotificationChildEventCommand";
@@ -24,9 +26,11 @@ export * from "./ListManagedNotificationChannelAssociationsCommand";
24
26
  export * from "./ListManagedNotificationChildEventsCommand";
25
27
  export * from "./ListManagedNotificationConfigurationsCommand";
26
28
  export * from "./ListManagedNotificationEventsCommand";
29
+ export * from "./ListMemberAccountsCommand";
27
30
  export * from "./ListNotificationConfigurationsCommand";
28
31
  export * from "./ListNotificationEventsCommand";
29
32
  export * from "./ListNotificationHubsCommand";
33
+ export * from "./ListOrganizationalUnitsCommand";
30
34
  export * from "./ListTagsForResourceCommand";
31
35
  export * from "./RegisterNotificationHubCommand";
32
36
  export * from "./TagResourceCommand";
@@ -1,12 +1,5 @@
1
1
  /**
2
- * <p>The <i>Amazon Web Services User Notifications API Reference</i> provides descriptions, API request parameters, and the JSON response for each of the User Notification API actions.</p>
3
- * <p>User Notification control plane APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p>
4
- * <p>
5
- * <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_GetNotificationEvent.html">GetNotificationEvent</a>
6
- * and <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_ListNotificationEvents.html">ListNotificationEvents</a> APIs are currently available in
7
- * <a href="https://docs.aws.amazon.com/notifications/latest/userguide/supported-regions.html">commercial partition Regions</a> and only return notifications stored in the same Region in which they're called.</p>
8
- * <p>The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a
9
- * <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">notification hub</a> in addition to US East (Virginia).</p>
2
+ * <p>The <i>User Notifications API Reference</i> provides descriptions, API request parameters, and the JSON response for each of the User Notifications API actions.</p> <p>User Notification control plane APIs are currently available in US East (Virginia) - <code>us-east-1</code>.</p> <p> <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_GetNotificationEvent.html">GetNotificationEvent</a> and <a href="https://docs.aws.amazon.com/notifications/latest/APIReference/API_ListNotificationEvents.html">ListNotificationEvents</a> APIs are currently available in <a href="https://docs.aws.amazon.com/notifications/latest/userguide/supported-regions.html">commercial partition Regions</a> and only return notifications stored in the same Region in which they're called.</p> <p>The User Notifications console can only be used in US East (Virginia). Your data however, is stored in each Region chosen as a <a href="https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html">notification hub</a> in addition to US East (Virginia).</p> <note> <p>For information about descriptions, API request parameters, and the JSON response for email contact related API actions, see the <a href="https://docs.aws.amazon.com/notificationscontacts/latest/APIReference/Welcome.html">User Notifications Contacts API Reference Guide</a>.</p> </note>
10
3
  *
11
4
  * @packageDocumentation
12
5
  */