@aws-sdk/client-notifications 3.730.0 → 3.731.1

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 (118) hide show
  1. package/README.md +115 -3
  2. package/dist-cjs/Notifications.js +28 -0
  3. package/dist-cjs/commands/AssociateManagedNotificationAccountContactCommand.js +26 -0
  4. package/dist-cjs/commands/AssociateManagedNotificationAdditionalChannelCommand.js +26 -0
  5. package/dist-cjs/commands/DisableNotificationsAccessForOrganizationCommand.js +26 -0
  6. package/dist-cjs/commands/DisassociateManagedNotificationAccountContactCommand.js +26 -0
  7. package/dist-cjs/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +26 -0
  8. package/dist-cjs/commands/EnableNotificationsAccessForOrganizationCommand.js +26 -0
  9. package/dist-cjs/commands/GetManagedNotificationChildEventCommand.js +26 -0
  10. package/dist-cjs/commands/GetManagedNotificationConfigurationCommand.js +26 -0
  11. package/dist-cjs/commands/GetManagedNotificationEventCommand.js +26 -0
  12. package/dist-cjs/commands/GetNotificationsAccessForOrganizationCommand.js +26 -0
  13. package/dist-cjs/commands/ListManagedNotificationChannelAssociationsCommand.js +26 -0
  14. package/dist-cjs/commands/ListManagedNotificationChildEventsCommand.js +26 -0
  15. package/dist-cjs/commands/ListManagedNotificationConfigurationsCommand.js +26 -0
  16. package/dist-cjs/commands/ListManagedNotificationEventsCommand.js +26 -0
  17. package/dist-cjs/commands/index.js +14 -0
  18. package/dist-cjs/models/models_0.js +25 -4
  19. package/dist-cjs/pagination/ListManagedNotificationChannelAssociationsPaginator.js +7 -0
  20. package/dist-cjs/pagination/ListManagedNotificationChildEventsPaginator.js +7 -0
  21. package/dist-cjs/pagination/ListManagedNotificationConfigurationsPaginator.js +7 -0
  22. package/dist-cjs/pagination/ListManagedNotificationEventsPaginator.js +7 -0
  23. package/dist-cjs/pagination/index.js +4 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +475 -5
  25. package/dist-es/Notifications.js +28 -0
  26. package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +22 -0
  27. package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +22 -0
  28. package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +22 -0
  29. package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +22 -0
  30. package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +22 -0
  31. package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +22 -0
  32. package/dist-es/commands/GetManagedNotificationChildEventCommand.js +22 -0
  33. package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +22 -0
  34. package/dist-es/commands/GetManagedNotificationEventCommand.js +22 -0
  35. package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +22 -0
  36. package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +22 -0
  37. package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +22 -0
  38. package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +22 -0
  39. package/dist-es/commands/ListManagedNotificationEventsCommand.js +22 -0
  40. package/dist-es/commands/index.js +14 -0
  41. package/dist-es/models/models_0.js +24 -3
  42. package/dist-es/pagination/ListManagedNotificationChannelAssociationsPaginator.js +4 -0
  43. package/dist-es/pagination/ListManagedNotificationChildEventsPaginator.js +4 -0
  44. package/dist-es/pagination/ListManagedNotificationConfigurationsPaginator.js +4 -0
  45. package/dist-es/pagination/ListManagedNotificationEventsPaginator.js +4 -0
  46. package/dist-es/pagination/index.js +4 -0
  47. package/dist-es/protocols/Aws_restJson1.js +445 -4
  48. package/dist-types/Notifications.d.ts +106 -3
  49. package/dist-types/NotificationsClient.d.ts +19 -5
  50. package/dist-types/commands/AssociateChannelCommand.d.ts +2 -2
  51. package/dist-types/commands/AssociateManagedNotificationAccountContactCommand.d.ts +91 -0
  52. package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +92 -0
  53. package/dist-types/commands/CreateEventRuleCommand.d.ts +4 -1
  54. package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +1 -1
  55. package/dist-types/commands/DeleteEventRuleCommand.d.ts +1 -1
  56. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
  57. package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +5 -2
  58. package/dist-types/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +88 -0
  59. package/dist-types/commands/DisassociateChannelCommand.d.ts +1 -1
  60. package/dist-types/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +88 -0
  61. package/dist-types/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +86 -0
  62. package/dist-types/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +88 -0
  63. package/dist-types/commands/GetEventRuleCommand.d.ts +1 -1
  64. package/dist-types/commands/GetManagedNotificationChildEventCommand.d.ts +130 -0
  65. package/dist-types/commands/GetManagedNotificationConfigurationCommand.d.ts +90 -0
  66. package/dist-types/commands/GetManagedNotificationEventCommand.d.ts +161 -0
  67. package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +1 -1
  68. package/dist-types/commands/GetNotificationEventCommand.d.ts +42 -3
  69. package/dist-types/commands/GetNotificationsAccessForOrganizationCommand.d.ts +83 -0
  70. package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
  71. package/dist-types/commands/ListEventRulesCommand.d.ts +1 -1
  72. package/dist-types/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +95 -0
  73. package/dist-types/commands/ListManagedNotificationChildEventsCommand.d.ts +121 -0
  74. package/dist-types/commands/ListManagedNotificationConfigurationsCommand.d.ts +92 -0
  75. package/dist-types/commands/ListManagedNotificationEventsCommand.d.ts +155 -0
  76. package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +2 -1
  77. package/dist-types/commands/ListNotificationEventsCommand.d.ts +41 -2
  78. package/dist-types/commands/ListNotificationHubsCommand.d.ts +1 -1
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  80. package/dist-types/commands/RegisterNotificationHubCommand.d.ts +3 -2
  81. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  82. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdateEventRuleCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +14 -0
  86. package/dist-types/index.d.ts +3 -3
  87. package/dist-types/models/models_0.d.ts +1830 -578
  88. package/dist-types/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListManagedNotificationChildEventsPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/ListManagedNotificationEventsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +4 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  94. package/dist-types/ts3.4/Notifications.d.ts +309 -0
  95. package/dist-types/ts3.4/NotificationsClient.d.ts +84 -0
  96. package/dist-types/ts3.4/commands/AssociateManagedNotificationAccountContactCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/GetManagedNotificationChildEventCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/GetManagedNotificationConfigurationCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/GetManagedNotificationEventCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/GetNotificationsAccessForOrganizationCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +51 -0
  107. package/dist-types/ts3.4/commands/ListManagedNotificationChildEventsCommand.d.ts +51 -0
  108. package/dist-types/ts3.4/commands/ListManagedNotificationConfigurationsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/ListManagedNotificationEventsCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  111. package/dist-types/ts3.4/models/models_0.d.ts +288 -38
  112. package/dist-types/ts3.4/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/ListManagedNotificationChildEventsPaginator.d.ts +11 -0
  114. package/dist-types/ts3.4/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +11 -0
  115. package/dist-types/ts3.4/pagination/ListManagedNotificationEventsPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  117. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  118. package/package.json +12 -12
@@ -27,7 +27,7 @@ declare const GetNotificationConfigurationCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a specified NotificationConfiguration.</p>
30
+ * <p>Returns a specified <code>NotificationConfiguration</code>.</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,11 +27,11 @@ declare const GetNotificationEventCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a specified NotificationEvent.</p>
30
+ * <p>Returns a specified <code>NotificationEvent</code>.</p>
31
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. GetNotificationEvent only returns notifications stored in the same Region in which the action is called.
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
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>AWS User Notifications User Guide</i>.</p>
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
35
  * </important>
36
36
  * @example
37
37
  * Use a bare-bones client and the command you need to make an API call.
@@ -88,6 +88,45 @@ declare const GetNotificationEventCommand_base: {
88
88
  * // eventStatus: "STRING_VALUE",
89
89
  * // aggregationEventType: "STRING_VALUE",
90
90
  * // aggregateNotificationEventArn: "STRING_VALUE",
91
+ * // aggregationSummary: { // AggregationSummary
92
+ * // eventCount: Number("int"), // required
93
+ * // aggregatedBy: [ // AggregationKeys // required
94
+ * // { // AggregationKey
95
+ * // name: "STRING_VALUE", // required
96
+ * // value: "STRING_VALUE", // required
97
+ * // },
98
+ * // ],
99
+ * // aggregatedAccounts: { // SummarizationDimensionOverview
100
+ * // name: "STRING_VALUE", // required
101
+ * // count: Number("int"), // required
102
+ * // sampleValues: [ // SampleAggregationDimensionValues
103
+ * // "STRING_VALUE",
104
+ * // ],
105
+ * // },
106
+ * // aggregatedRegions: {
107
+ * // name: "STRING_VALUE", // required
108
+ * // count: Number("int"), // required
109
+ * // sampleValues: [
110
+ * // "STRING_VALUE",
111
+ * // ],
112
+ * // },
113
+ * // aggregatedOrganizationalUnits: {
114
+ * // name: "STRING_VALUE", // required
115
+ * // count: Number("int"), // required
116
+ * // sampleValues: [
117
+ * // "STRING_VALUE",
118
+ * // ],
119
+ * // },
120
+ * // additionalSummarizationDimensions: [ // SummarizationDimensionOverviews
121
+ * // {
122
+ * // name: "STRING_VALUE", // required
123
+ * // count: Number("int"), // required
124
+ * // sampleValues: [
125
+ * // "STRING_VALUE",
126
+ * // ],
127
+ * // },
128
+ * // ],
129
+ * // },
91
130
  * // startTime: new Date("TIMESTAMP"),
92
131
  * // endTime: new Date("TIMESTAMP"),
93
132
  * // textParts: { // TextParts // required
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetNotificationsAccessForOrganizationRequest, GetNotificationsAccessForOrganizationResponse } 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 GetNotificationsAccessForOrganizationCommand}.
14
+ */
15
+ export interface GetNotificationsAccessForOrganizationCommandInput extends GetNotificationsAccessForOrganizationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetNotificationsAccessForOrganizationCommand}.
21
+ */
22
+ export interface GetNotificationsAccessForOrganizationCommandOutput extends GetNotificationsAccessForOrganizationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetNotificationsAccessForOrganizationCommand_base: {
25
+ new (input: GetNotificationsAccessForOrganizationCommandInput): import("@smithy/smithy-client").CommandImpl<GetNotificationsAccessForOrganizationCommandInput, GetNotificationsAccessForOrganizationCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetNotificationsAccessForOrganizationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetNotificationsAccessForOrganizationCommandInput, GetNotificationsAccessForOrganizationCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the AccessStatus of Service Trust Enablement for User Notifications and Amazon Web Services Organizations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, GetNotificationsAccessForOrganizationCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, GetNotificationsAccessForOrganizationCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = {};
38
+ * const command = new GetNotificationsAccessForOrganizationCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetNotificationsAccessForOrganizationResponse
41
+ * // notificationsAccessForOrganization: { // NotificationsAccessForOrganization
42
+ * // accessStatus: "ENABLED" || "DISABLED" || "PENDING", // required
43
+ * // },
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param GetNotificationsAccessForOrganizationCommandInput - {@link GetNotificationsAccessForOrganizationCommandInput}
49
+ * @returns {@link GetNotificationsAccessForOrganizationCommandOutput}
50
+ * @see {@link GetNotificationsAccessForOrganizationCommandInput} for command's `input` shape.
51
+ * @see {@link GetNotificationsAccessForOrganizationCommandOutput} for command's `response` shape.
52
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>User does not have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>Unexpected error during processing of request.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>Request was denied due to request throttling. </p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>This exception is thrown when the notification event fails validation.</p>
65
+ *
66
+ * @throws {@link NotificationsServiceException}
67
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
68
+ *
69
+ * @public
70
+ */
71
+ export declare class GetNotificationsAccessForOrganizationCommand extends GetNotificationsAccessForOrganizationCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: {};
76
+ output: GetNotificationsAccessForOrganizationResponse;
77
+ };
78
+ sdk: {
79
+ input: GetNotificationsAccessForOrganizationCommandInput;
80
+ output: GetNotificationsAccessForOrganizationCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -27,7 +27,7 @@ declare const ListChannelsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of Channels for a NotificationConfiguration.</p>
30
+ * <p>Returns a list of Channels for a <code>NotificationConfiguration</code>.</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,7 +27,7 @@ declare const ListEventRulesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of EventRules according to specified filters, in reverse chronological order (newest first).</p>
30
+ * <p>Returns a list of <code>EventRules</code> according to specified filters, in reverse chronological order (newest first).</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListManagedNotificationChannelAssociationsRequest, ListManagedNotificationChannelAssociationsResponse } 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 ListManagedNotificationChannelAssociationsCommand}.
14
+ */
15
+ export interface ListManagedNotificationChannelAssociationsCommandInput extends ListManagedNotificationChannelAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListManagedNotificationChannelAssociationsCommand}.
21
+ */
22
+ export interface ListManagedNotificationChannelAssociationsCommandOutput extends ListManagedNotificationChannelAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListManagedNotificationChannelAssociationsCommand_base: {
25
+ new (input: ListManagedNotificationChannelAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListManagedNotificationChannelAssociationsCommandInput, ListManagedNotificationChannelAssociationsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListManagedNotificationChannelAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListManagedNotificationChannelAssociationsCommandInput, ListManagedNotificationChannelAssociationsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of Account contacts and Channels associated with a <code>ManagedNotificationConfiguration</code>, in paginated format.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, ListManagedNotificationChannelAssociationsCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, ListManagedNotificationChannelAssociationsCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // ListManagedNotificationChannelAssociationsRequest
38
+ * managedNotificationConfigurationArn: "STRING_VALUE", // required
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListManagedNotificationChannelAssociationsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListManagedNotificationChannelAssociationsResponse
45
+ * // nextToken: "STRING_VALUE",
46
+ * // channelAssociations: [ // ManagedNotificationChannelAssociations // required
47
+ * // { // ManagedNotificationChannelAssociationSummary
48
+ * // channelIdentifier: "STRING_VALUE", // required
49
+ * // channelType: "STRING_VALUE", // required
50
+ * // overrideOption: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListManagedNotificationChannelAssociationsCommandInput - {@link ListManagedNotificationChannelAssociationsCommandInput}
58
+ * @returns {@link ListManagedNotificationChannelAssociationsCommandOutput}
59
+ * @see {@link ListManagedNotificationChannelAssociationsCommandInput} for command's `input` shape.
60
+ * @see {@link ListManagedNotificationChannelAssociationsCommandOutput} for command's `response` shape.
61
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>User does not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>Unexpected error during processing of request.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>Request references a resource which does not exist. </p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>Request was denied due to request throttling. </p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>This exception is thrown when the notification event fails validation.</p>
77
+ *
78
+ * @throws {@link NotificationsServiceException}
79
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class ListManagedNotificationChannelAssociationsCommand extends ListManagedNotificationChannelAssociationsCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: ListManagedNotificationChannelAssociationsRequest;
88
+ output: ListManagedNotificationChannelAssociationsResponse;
89
+ };
90
+ sdk: {
91
+ input: ListManagedNotificationChannelAssociationsCommandInput;
92
+ output: ListManagedNotificationChannelAssociationsCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,121 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListManagedNotificationChildEventsRequest, ListManagedNotificationChildEventsResponse } 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 ListManagedNotificationChildEventsCommand}.
14
+ */
15
+ export interface ListManagedNotificationChildEventsCommandInput extends ListManagedNotificationChildEventsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListManagedNotificationChildEventsCommand}.
21
+ */
22
+ export interface ListManagedNotificationChildEventsCommandOutput extends ListManagedNotificationChildEventsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListManagedNotificationChildEventsCommand_base: {
25
+ new (input: ListManagedNotificationChildEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListManagedNotificationChildEventsCommandInput, ListManagedNotificationChildEventsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListManagedNotificationChildEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListManagedNotificationChildEventsCommandInput, ListManagedNotificationChildEventsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of <code>ManagedNotificationChildEvents</code> for a specified aggregate <code>ManagedNotificationEvent</code>, ordered by creation time in reverse chronological order (newest first).</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, ListManagedNotificationChildEventsCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, ListManagedNotificationChildEventsCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // ListManagedNotificationChildEventsRequest
38
+ * aggregateManagedNotificationEventArn: "STRING_VALUE", // required
39
+ * startTime: new Date("TIMESTAMP"),
40
+ * endTime: new Date("TIMESTAMP"),
41
+ * locale: "STRING_VALUE",
42
+ * maxResults: Number("int"),
43
+ * relatedAccount: "STRING_VALUE",
44
+ * organizationalUnitId: "STRING_VALUE",
45
+ * nextToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListManagedNotificationChildEventsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListManagedNotificationChildEventsResponse
50
+ * // nextToken: "STRING_VALUE",
51
+ * // managedNotificationChildEvents: [ // ManagedNotificationChildEvents // required
52
+ * // { // ManagedNotificationChildEventOverview
53
+ * // arn: "STRING_VALUE", // required
54
+ * // managedNotificationConfigurationArn: "STRING_VALUE", // required
55
+ * // relatedAccount: "STRING_VALUE", // required
56
+ * // creationTime: new Date("TIMESTAMP"), // required
57
+ * // childEvent: { // ManagedNotificationChildEventSummary
58
+ * // schemaVersion: "STRING_VALUE", // required
59
+ * // sourceEventMetadata: { // ManagedSourceEventMetadataSummary
60
+ * // eventOriginRegion: "STRING_VALUE",
61
+ * // source: "STRING_VALUE", // required
62
+ * // eventType: "STRING_VALUE", // required
63
+ * // },
64
+ * // messageComponents: { // MessageComponentsSummary
65
+ * // headline: "STRING_VALUE", // required
66
+ * // },
67
+ * // aggregationDetail: { // AggregationDetail
68
+ * // summarizationDimensions: [ // SummarizationDimensionDetails
69
+ * // { // SummarizationDimensionDetail
70
+ * // name: "STRING_VALUE", // required
71
+ * // value: "STRING_VALUE", // required
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // eventStatus: "STRING_VALUE", // required
76
+ * // notificationType: "STRING_VALUE", // required
77
+ * // },
78
+ * // aggregateManagedNotificationEventArn: "STRING_VALUE", // required
79
+ * // organizationalUnitId: "STRING_VALUE",
80
+ * // },
81
+ * // ],
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param ListManagedNotificationChildEventsCommandInput - {@link ListManagedNotificationChildEventsCommandInput}
87
+ * @returns {@link ListManagedNotificationChildEventsCommandOutput}
88
+ * @see {@link ListManagedNotificationChildEventsCommandInput} for command's `input` shape.
89
+ * @see {@link ListManagedNotificationChildEventsCommandOutput} for command's `response` shape.
90
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
91
+ *
92
+ * @throws {@link AccessDeniedException} (client fault)
93
+ * <p>User does not have sufficient access to perform this action.</p>
94
+ *
95
+ * @throws {@link InternalServerException} (server fault)
96
+ * <p>Unexpected error during processing of request.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>Request was denied due to request throttling. </p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>This exception is thrown when the notification event fails validation.</p>
103
+ *
104
+ * @throws {@link NotificationsServiceException}
105
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
106
+ *
107
+ * @public
108
+ */
109
+ export declare class ListManagedNotificationChildEventsCommand extends ListManagedNotificationChildEventsCommand_base {
110
+ /** @internal type navigation helper, not in runtime. */
111
+ protected static __types: {
112
+ api: {
113
+ input: ListManagedNotificationChildEventsRequest;
114
+ output: ListManagedNotificationChildEventsResponse;
115
+ };
116
+ sdk: {
117
+ input: ListManagedNotificationChildEventsCommandInput;
118
+ output: ListManagedNotificationChildEventsCommandOutput;
119
+ };
120
+ };
121
+ }
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListManagedNotificationConfigurationsRequest, ListManagedNotificationConfigurationsResponse } 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 ListManagedNotificationConfigurationsCommand}.
14
+ */
15
+ export interface ListManagedNotificationConfigurationsCommandInput extends ListManagedNotificationConfigurationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListManagedNotificationConfigurationsCommand}.
21
+ */
22
+ export interface ListManagedNotificationConfigurationsCommandOutput extends ListManagedNotificationConfigurationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListManagedNotificationConfigurationsCommand_base: {
25
+ new (input: ListManagedNotificationConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListManagedNotificationConfigurationsCommandInput, ListManagedNotificationConfigurationsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListManagedNotificationConfigurationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListManagedNotificationConfigurationsCommandInput, ListManagedNotificationConfigurationsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of Managed Notification Configurations according to specified filters, ordered by creation time in reverse chronological order (newest first).</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, ListManagedNotificationConfigurationsCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, ListManagedNotificationConfigurationsCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // ListManagedNotificationConfigurationsRequest
38
+ * channelIdentifier: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListManagedNotificationConfigurationsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListManagedNotificationConfigurationsResponse
45
+ * // nextToken: "STRING_VALUE",
46
+ * // managedNotificationConfigurations: [ // ManagedNotificationConfigurations // required
47
+ * // { // ManagedNotificationConfigurationStructure
48
+ * // arn: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE", // required
50
+ * // description: "STRING_VALUE", // required
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListManagedNotificationConfigurationsCommandInput - {@link ListManagedNotificationConfigurationsCommandInput}
58
+ * @returns {@link ListManagedNotificationConfigurationsCommandOutput}
59
+ * @see {@link ListManagedNotificationConfigurationsCommandInput} for command's `input` shape.
60
+ * @see {@link ListManagedNotificationConfigurationsCommandOutput} for command's `response` shape.
61
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>User does not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>Unexpected error during processing of request.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>Request was denied due to request throttling. </p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>This exception is thrown when the notification event fails validation.</p>
74
+ *
75
+ * @throws {@link NotificationsServiceException}
76
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
77
+ *
78
+ * @public
79
+ */
80
+ export declare class ListManagedNotificationConfigurationsCommand extends ListManagedNotificationConfigurationsCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: ListManagedNotificationConfigurationsRequest;
85
+ output: ListManagedNotificationConfigurationsResponse;
86
+ };
87
+ sdk: {
88
+ input: ListManagedNotificationConfigurationsCommandInput;
89
+ output: ListManagedNotificationConfigurationsCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,155 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListManagedNotificationEventsRequest, ListManagedNotificationEventsResponse } 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 ListManagedNotificationEventsCommand}.
14
+ */
15
+ export interface ListManagedNotificationEventsCommandInput extends ListManagedNotificationEventsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListManagedNotificationEventsCommand}.
21
+ */
22
+ export interface ListManagedNotificationEventsCommandOutput extends ListManagedNotificationEventsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListManagedNotificationEventsCommand_base: {
25
+ new (input: ListManagedNotificationEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListManagedNotificationEventsCommandInput, ListManagedNotificationEventsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListManagedNotificationEventsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListManagedNotificationEventsCommandInput, ListManagedNotificationEventsCommandOutput, NotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of Managed Notification Events according to specified filters, ordered by creation time in reverse chronological order (newest first).</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NotificationsClient, ListManagedNotificationEventsCommand } from "@aws-sdk/client-notifications"; // ES Modules import
35
+ * // const { NotificationsClient, ListManagedNotificationEventsCommand } = require("@aws-sdk/client-notifications"); // CommonJS import
36
+ * const client = new NotificationsClient(config);
37
+ * const input = { // ListManagedNotificationEventsRequest
38
+ * startTime: new Date("TIMESTAMP"),
39
+ * endTime: new Date("TIMESTAMP"),
40
+ * locale: "STRING_VALUE",
41
+ * source: "STRING_VALUE",
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * organizationalUnitId: "STRING_VALUE",
45
+ * relatedAccount: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListManagedNotificationEventsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListManagedNotificationEventsResponse
50
+ * // nextToken: "STRING_VALUE",
51
+ * // managedNotificationEvents: [ // ManagedNotificationEvents // required
52
+ * // { // ManagedNotificationEventOverview
53
+ * // arn: "STRING_VALUE", // required
54
+ * // managedNotificationConfigurationArn: "STRING_VALUE", // required
55
+ * // relatedAccount: "STRING_VALUE", // required
56
+ * // creationTime: new Date("TIMESTAMP"), // required
57
+ * // notificationEvent: { // ManagedNotificationEventSummary
58
+ * // schemaVersion: "STRING_VALUE", // required
59
+ * // sourceEventMetadata: { // ManagedSourceEventMetadataSummary
60
+ * // eventOriginRegion: "STRING_VALUE",
61
+ * // source: "STRING_VALUE", // required
62
+ * // eventType: "STRING_VALUE", // required
63
+ * // },
64
+ * // messageComponents: { // MessageComponentsSummary
65
+ * // headline: "STRING_VALUE", // required
66
+ * // },
67
+ * // eventStatus: "STRING_VALUE", // required
68
+ * // notificationType: "STRING_VALUE", // required
69
+ * // },
70
+ * // aggregationEventType: "STRING_VALUE",
71
+ * // organizationalUnitId: "STRING_VALUE",
72
+ * // aggregationSummary: { // AggregationSummary
73
+ * // eventCount: Number("int"), // required
74
+ * // aggregatedBy: [ // AggregationKeys // required
75
+ * // { // AggregationKey
76
+ * // name: "STRING_VALUE", // required
77
+ * // value: "STRING_VALUE", // required
78
+ * // },
79
+ * // ],
80
+ * // aggregatedAccounts: { // SummarizationDimensionOverview
81
+ * // name: "STRING_VALUE", // required
82
+ * // count: Number("int"), // required
83
+ * // sampleValues: [ // SampleAggregationDimensionValues
84
+ * // "STRING_VALUE",
85
+ * // ],
86
+ * // },
87
+ * // aggregatedRegions: {
88
+ * // name: "STRING_VALUE", // required
89
+ * // count: Number("int"), // required
90
+ * // sampleValues: [
91
+ * // "STRING_VALUE",
92
+ * // ],
93
+ * // },
94
+ * // aggregatedOrganizationalUnits: {
95
+ * // name: "STRING_VALUE", // required
96
+ * // count: Number("int"), // required
97
+ * // sampleValues: [
98
+ * // "STRING_VALUE",
99
+ * // ],
100
+ * // },
101
+ * // additionalSummarizationDimensions: [ // SummarizationDimensionOverviews
102
+ * // {
103
+ * // name: "STRING_VALUE", // required
104
+ * // count: Number("int"), // required
105
+ * // sampleValues: [
106
+ * // "STRING_VALUE",
107
+ * // ],
108
+ * // },
109
+ * // ],
110
+ * // },
111
+ * // aggregatedNotificationRegions: [ // AggregatedNotificationRegions
112
+ * // "STRING_VALUE",
113
+ * // ],
114
+ * // },
115
+ * // ],
116
+ * // };
117
+ *
118
+ * ```
119
+ *
120
+ * @param ListManagedNotificationEventsCommandInput - {@link ListManagedNotificationEventsCommandInput}
121
+ * @returns {@link ListManagedNotificationEventsCommandOutput}
122
+ * @see {@link ListManagedNotificationEventsCommandInput} for command's `input` shape.
123
+ * @see {@link ListManagedNotificationEventsCommandOutput} for command's `response` shape.
124
+ * @see {@link NotificationsClientResolvedConfig | config} for NotificationsClient's `config` shape.
125
+ *
126
+ * @throws {@link AccessDeniedException} (client fault)
127
+ * <p>User does not have sufficient access to perform this action.</p>
128
+ *
129
+ * @throws {@link InternalServerException} (server fault)
130
+ * <p>Unexpected error during processing of request.</p>
131
+ *
132
+ * @throws {@link ThrottlingException} (client fault)
133
+ * <p>Request was denied due to request throttling. </p>
134
+ *
135
+ * @throws {@link ValidationException} (client fault)
136
+ * <p>This exception is thrown when the notification event fails validation.</p>
137
+ *
138
+ * @throws {@link NotificationsServiceException}
139
+ * <p>Base exception class for all service exceptions from Notifications service.</p>
140
+ *
141
+ * @public
142
+ */
143
+ export declare class ListManagedNotificationEventsCommand extends ListManagedNotificationEventsCommand_base {
144
+ /** @internal type navigation helper, not in runtime. */
145
+ protected static __types: {
146
+ api: {
147
+ input: ListManagedNotificationEventsRequest;
148
+ output: ListManagedNotificationEventsResponse;
149
+ };
150
+ sdk: {
151
+ input: ListManagedNotificationEventsCommandInput;
152
+ output: ListManagedNotificationEventsCommandOutput;
153
+ };
154
+ };
155
+ }
@@ -27,7 +27,8 @@ declare const ListNotificationConfigurationsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of abbreviated NotificationConfigurations according to specified filters, in reverse chronological order (newest first).</p>
30
+ * <p>Returns a list of abbreviated <code>NotificationConfigurations</code> according to
31
+ * specified filters, in reverse chronological order (newest first).</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript