@aws-sdk/client-notifications 3.726.1 → 3.731.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.
- package/README.md +115 -3
- package/dist-cjs/Notifications.js +28 -0
- package/dist-cjs/commands/AssociateManagedNotificationAccountContactCommand.js +26 -0
- package/dist-cjs/commands/AssociateManagedNotificationAdditionalChannelCommand.js +26 -0
- package/dist-cjs/commands/DisableNotificationsAccessForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/DisassociateManagedNotificationAccountContactCommand.js +26 -0
- package/dist-cjs/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +26 -0
- package/dist-cjs/commands/EnableNotificationsAccessForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/GetManagedNotificationChildEventCommand.js +26 -0
- package/dist-cjs/commands/GetManagedNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetManagedNotificationEventCommand.js +26 -0
- package/dist-cjs/commands/GetNotificationsAccessForOrganizationCommand.js +26 -0
- package/dist-cjs/commands/ListManagedNotificationChannelAssociationsCommand.js +26 -0
- package/dist-cjs/commands/ListManagedNotificationChildEventsCommand.js +26 -0
- package/dist-cjs/commands/ListManagedNotificationConfigurationsCommand.js +26 -0
- package/dist-cjs/commands/ListManagedNotificationEventsCommand.js +26 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/models/models_0.js +25 -4
- package/dist-cjs/pagination/ListManagedNotificationChannelAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListManagedNotificationChildEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListManagedNotificationConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListManagedNotificationEventsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +475 -5
- package/dist-es/Notifications.js +28 -0
- package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +22 -0
- package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +22 -0
- package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +22 -0
- package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +22 -0
- package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +22 -0
- package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +22 -0
- package/dist-es/commands/GetManagedNotificationChildEventCommand.js +22 -0
- package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/GetManagedNotificationEventCommand.js +22 -0
- package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +22 -0
- package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +22 -0
- package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +22 -0
- package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +22 -0
- package/dist-es/commands/ListManagedNotificationEventsCommand.js +22 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/models_0.js +24 -3
- package/dist-es/pagination/ListManagedNotificationChannelAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListManagedNotificationChildEventsPaginator.js +4 -0
- package/dist-es/pagination/ListManagedNotificationConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListManagedNotificationEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +445 -4
- package/dist-types/Notifications.d.ts +106 -3
- package/dist-types/NotificationsClient.d.ts +19 -5
- package/dist-types/commands/AssociateChannelCommand.d.ts +2 -2
- package/dist-types/commands/AssociateManagedNotificationAccountContactCommand.d.ts +91 -0
- package/dist-types/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +92 -0
- package/dist-types/commands/CreateEventRuleCommand.d.ts +4 -1
- package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +5 -2
- package/dist-types/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateChannelCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +86 -0
- package/dist-types/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +88 -0
- package/dist-types/commands/GetEventRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetManagedNotificationChildEventCommand.d.ts +130 -0
- package/dist-types/commands/GetManagedNotificationConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/GetManagedNotificationEventCommand.d.ts +161 -0
- package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetNotificationEventCommand.d.ts +42 -3
- package/dist-types/commands/GetNotificationsAccessForOrganizationCommand.d.ts +83 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +95 -0
- package/dist-types/commands/ListManagedNotificationChildEventsCommand.d.ts +121 -0
- package/dist-types/commands/ListManagedNotificationConfigurationsCommand.d.ts +92 -0
- package/dist-types/commands/ListManagedNotificationEventsCommand.d.ts +155 -0
- package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListNotificationEventsCommand.d.ts +41 -2
- package/dist-types/commands/ListNotificationHubsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/RegisterNotificationHubCommand.d.ts +3 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEventRuleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +1830 -578
- package/dist-types/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedNotificationChildEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListManagedNotificationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/Notifications.d.ts +309 -0
- package/dist-types/ts3.4/NotificationsClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/AssociateManagedNotificationAccountContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableNotificationsAccessForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateManagedNotificationAccountContactCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateManagedNotificationAdditionalChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableNotificationsAccessForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedNotificationChildEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedNotificationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetNotificationsAccessForOrganizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedNotificationChannelAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedNotificationChildEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedNotificationConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListManagedNotificationEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +288 -38
- package/dist-types/ts3.4/pagination/ListManagedNotificationChannelAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedNotificationChildEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedNotificationConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListManagedNotificationEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +12 -14
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_GetManagedNotificationChildEventCommand = exports.de_GetEventRuleCommand = exports.de_EnableNotificationsAccessForOrganizationCommand = exports.de_DisassociateManagedNotificationAdditionalChannelCommand = exports.de_DisassociateManagedNotificationAccountContactCommand = exports.de_DisassociateChannelCommand = exports.de_DisableNotificationsAccessForOrganizationCommand = exports.de_DeregisterNotificationHubCommand = exports.de_DeleteNotificationConfigurationCommand = exports.de_DeleteEventRuleCommand = exports.de_CreateNotificationConfigurationCommand = exports.de_CreateEventRuleCommand = exports.de_AssociateManagedNotificationAdditionalChannelCommand = exports.de_AssociateManagedNotificationAccountContactCommand = exports.de_AssociateChannelCommand = exports.se_UpdateNotificationConfigurationCommand = exports.se_UpdateEventRuleCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RegisterNotificationHubCommand = exports.se_ListTagsForResourceCommand = exports.se_ListNotificationHubsCommand = exports.se_ListNotificationEventsCommand = exports.se_ListNotificationConfigurationsCommand = exports.se_ListManagedNotificationEventsCommand = exports.se_ListManagedNotificationConfigurationsCommand = exports.se_ListManagedNotificationChildEventsCommand = exports.se_ListManagedNotificationChannelAssociationsCommand = exports.se_ListEventRulesCommand = exports.se_ListChannelsCommand = exports.se_GetNotificationsAccessForOrganizationCommand = exports.se_GetNotificationEventCommand = exports.se_GetNotificationConfigurationCommand = exports.se_GetManagedNotificationEventCommand = exports.se_GetManagedNotificationConfigurationCommand = exports.se_GetManagedNotificationChildEventCommand = exports.se_GetEventRuleCommand = exports.se_EnableNotificationsAccessForOrganizationCommand = exports.se_DisassociateManagedNotificationAdditionalChannelCommand = exports.se_DisassociateManagedNotificationAccountContactCommand = exports.se_DisassociateChannelCommand = exports.se_DisableNotificationsAccessForOrganizationCommand = exports.se_DeregisterNotificationHubCommand = exports.se_DeleteNotificationConfigurationCommand = exports.se_DeleteEventRuleCommand = exports.se_CreateNotificationConfigurationCommand = exports.se_CreateEventRuleCommand = exports.se_AssociateManagedNotificationAdditionalChannelCommand = exports.se_AssociateManagedNotificationAccountContactCommand = exports.se_AssociateChannelCommand = void 0;
|
|
4
|
+
exports.de_UpdateNotificationConfigurationCommand = exports.de_UpdateEventRuleCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RegisterNotificationHubCommand = exports.de_ListTagsForResourceCommand = exports.de_ListNotificationHubsCommand = exports.de_ListNotificationEventsCommand = exports.de_ListNotificationConfigurationsCommand = exports.de_ListManagedNotificationEventsCommand = exports.de_ListManagedNotificationConfigurationsCommand = exports.de_ListManagedNotificationChildEventsCommand = exports.de_ListManagedNotificationChannelAssociationsCommand = exports.de_ListEventRulesCommand = exports.de_ListChannelsCommand = exports.de_GetNotificationsAccessForOrganizationCommand = exports.de_GetNotificationEventCommand = exports.de_GetNotificationConfigurationCommand = exports.de_GetManagedNotificationEventCommand = exports.de_GetManagedNotificationConfigurationCommand = void 0;
|
|
4
5
|
const core_1 = require("@aws-sdk/core");
|
|
5
6
|
const core_2 = require("@smithy/core");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -21,6 +22,36 @@ const se_AssociateChannelCommand = async (input, context) => {
|
|
|
21
22
|
return b.build();
|
|
22
23
|
};
|
|
23
24
|
exports.se_AssociateChannelCommand = se_AssociateChannelCommand;
|
|
25
|
+
const se_AssociateManagedNotificationAccountContactCommand = async (input, context) => {
|
|
26
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
27
|
+
const headers = {
|
|
28
|
+
"content-type": "application/json",
|
|
29
|
+
};
|
|
30
|
+
b.bp("/contacts/associate-managed-notification/{contactIdentifier}");
|
|
31
|
+
b.p("contactIdentifier", () => input.contactIdentifier, "{contactIdentifier}", false);
|
|
32
|
+
let body;
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
34
|
+
managedNotificationConfigurationArn: [],
|
|
35
|
+
}));
|
|
36
|
+
b.m("PUT").h(headers).b(body);
|
|
37
|
+
return b.build();
|
|
38
|
+
};
|
|
39
|
+
exports.se_AssociateManagedNotificationAccountContactCommand = se_AssociateManagedNotificationAccountContactCommand;
|
|
40
|
+
const se_AssociateManagedNotificationAdditionalChannelCommand = async (input, context) => {
|
|
41
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
42
|
+
const headers = {
|
|
43
|
+
"content-type": "application/json",
|
|
44
|
+
};
|
|
45
|
+
b.bp("/channels/associate-managed-notification/{channelArn}");
|
|
46
|
+
b.p("channelArn", () => input.channelArn, "{channelArn}", false);
|
|
47
|
+
let body;
|
|
48
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
49
|
+
managedNotificationConfigurationArn: [],
|
|
50
|
+
}));
|
|
51
|
+
b.m("PUT").h(headers).b(body);
|
|
52
|
+
return b.build();
|
|
53
|
+
};
|
|
54
|
+
exports.se_AssociateManagedNotificationAdditionalChannelCommand = se_AssociateManagedNotificationAdditionalChannelCommand;
|
|
24
55
|
const se_CreateEventRuleCommand = async (input, context) => {
|
|
25
56
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
26
57
|
const headers = {
|
|
@@ -86,6 +117,15 @@ const se_DeregisterNotificationHubCommand = async (input, context) => {
|
|
|
86
117
|
return b.build();
|
|
87
118
|
};
|
|
88
119
|
exports.se_DeregisterNotificationHubCommand = se_DeregisterNotificationHubCommand;
|
|
120
|
+
const se_DisableNotificationsAccessForOrganizationCommand = async (input, context) => {
|
|
121
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
122
|
+
const headers = {};
|
|
123
|
+
b.bp("/organization/access");
|
|
124
|
+
let body;
|
|
125
|
+
b.m("DELETE").h(headers).b(body);
|
|
126
|
+
return b.build();
|
|
127
|
+
};
|
|
128
|
+
exports.se_DisableNotificationsAccessForOrganizationCommand = se_DisableNotificationsAccessForOrganizationCommand;
|
|
89
129
|
const se_DisassociateChannelCommand = async (input, context) => {
|
|
90
130
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
91
131
|
const headers = {
|
|
@@ -101,6 +141,45 @@ const se_DisassociateChannelCommand = async (input, context) => {
|
|
|
101
141
|
return b.build();
|
|
102
142
|
};
|
|
103
143
|
exports.se_DisassociateChannelCommand = se_DisassociateChannelCommand;
|
|
144
|
+
const se_DisassociateManagedNotificationAccountContactCommand = async (input, context) => {
|
|
145
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
146
|
+
const headers = {
|
|
147
|
+
"content-type": "application/json",
|
|
148
|
+
};
|
|
149
|
+
b.bp("/contacts/disassociate-managed-notification/{contactIdentifier}");
|
|
150
|
+
b.p("contactIdentifier", () => input.contactIdentifier, "{contactIdentifier}", false);
|
|
151
|
+
let body;
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
153
|
+
managedNotificationConfigurationArn: [],
|
|
154
|
+
}));
|
|
155
|
+
b.m("PUT").h(headers).b(body);
|
|
156
|
+
return b.build();
|
|
157
|
+
};
|
|
158
|
+
exports.se_DisassociateManagedNotificationAccountContactCommand = se_DisassociateManagedNotificationAccountContactCommand;
|
|
159
|
+
const se_DisassociateManagedNotificationAdditionalChannelCommand = async (input, context) => {
|
|
160
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
161
|
+
const headers = {
|
|
162
|
+
"content-type": "application/json",
|
|
163
|
+
};
|
|
164
|
+
b.bp("/channels/disassociate-managed-notification/{channelArn}");
|
|
165
|
+
b.p("channelArn", () => input.channelArn, "{channelArn}", false);
|
|
166
|
+
let body;
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
168
|
+
managedNotificationConfigurationArn: [],
|
|
169
|
+
}));
|
|
170
|
+
b.m("PUT").h(headers).b(body);
|
|
171
|
+
return b.build();
|
|
172
|
+
};
|
|
173
|
+
exports.se_DisassociateManagedNotificationAdditionalChannelCommand = se_DisassociateManagedNotificationAdditionalChannelCommand;
|
|
174
|
+
const se_EnableNotificationsAccessForOrganizationCommand = async (input, context) => {
|
|
175
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
176
|
+
const headers = {};
|
|
177
|
+
b.bp("/organization/access");
|
|
178
|
+
let body;
|
|
179
|
+
b.m("POST").h(headers).b(body);
|
|
180
|
+
return b.build();
|
|
181
|
+
};
|
|
182
|
+
exports.se_EnableNotificationsAccessForOrganizationCommand = se_EnableNotificationsAccessForOrganizationCommand;
|
|
104
183
|
const se_GetEventRuleCommand = async (input, context) => {
|
|
105
184
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
106
185
|
const headers = {};
|
|
@@ -111,6 +190,42 @@ const se_GetEventRuleCommand = async (input, context) => {
|
|
|
111
190
|
return b.build();
|
|
112
191
|
};
|
|
113
192
|
exports.se_GetEventRuleCommand = se_GetEventRuleCommand;
|
|
193
|
+
const se_GetManagedNotificationChildEventCommand = async (input, context) => {
|
|
194
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
195
|
+
const headers = {};
|
|
196
|
+
b.bp("/managed-notification-child-events/{arn}");
|
|
197
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
198
|
+
const query = (0, smithy_client_1.map)({
|
|
199
|
+
[_l]: [, input[_l]],
|
|
200
|
+
});
|
|
201
|
+
let body;
|
|
202
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
203
|
+
return b.build();
|
|
204
|
+
};
|
|
205
|
+
exports.se_GetManagedNotificationChildEventCommand = se_GetManagedNotificationChildEventCommand;
|
|
206
|
+
const se_GetManagedNotificationConfigurationCommand = async (input, context) => {
|
|
207
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
208
|
+
const headers = {};
|
|
209
|
+
b.bp("/managed-notification-configurations/{arn}");
|
|
210
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
211
|
+
let body;
|
|
212
|
+
b.m("GET").h(headers).b(body);
|
|
213
|
+
return b.build();
|
|
214
|
+
};
|
|
215
|
+
exports.se_GetManagedNotificationConfigurationCommand = se_GetManagedNotificationConfigurationCommand;
|
|
216
|
+
const se_GetManagedNotificationEventCommand = async (input, context) => {
|
|
217
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
218
|
+
const headers = {};
|
|
219
|
+
b.bp("/managed-notification-events/{arn}");
|
|
220
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
221
|
+
const query = (0, smithy_client_1.map)({
|
|
222
|
+
[_l]: [, input[_l]],
|
|
223
|
+
});
|
|
224
|
+
let body;
|
|
225
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
226
|
+
return b.build();
|
|
227
|
+
};
|
|
228
|
+
exports.se_GetManagedNotificationEventCommand = se_GetManagedNotificationEventCommand;
|
|
114
229
|
const se_GetNotificationConfigurationCommand = async (input, context) => {
|
|
115
230
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
116
231
|
const headers = {};
|
|
@@ -134,6 +249,15 @@ const se_GetNotificationEventCommand = async (input, context) => {
|
|
|
134
249
|
return b.build();
|
|
135
250
|
};
|
|
136
251
|
exports.se_GetNotificationEventCommand = se_GetNotificationEventCommand;
|
|
252
|
+
const se_GetNotificationsAccessForOrganizationCommand = async (input, context) => {
|
|
253
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
254
|
+
const headers = {};
|
|
255
|
+
b.bp("/organization/access");
|
|
256
|
+
let body;
|
|
257
|
+
b.m("GET").h(headers).b(body);
|
|
258
|
+
return b.build();
|
|
259
|
+
};
|
|
260
|
+
exports.se_GetNotificationsAccessForOrganizationCommand = se_GetNotificationsAccessForOrganizationCommand;
|
|
137
261
|
const se_ListChannelsCommand = async (input, context) => {
|
|
138
262
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
139
263
|
const headers = {};
|
|
@@ -162,6 +286,72 @@ const se_ListEventRulesCommand = async (input, context) => {
|
|
|
162
286
|
return b.build();
|
|
163
287
|
};
|
|
164
288
|
exports.se_ListEventRulesCommand = se_ListEventRulesCommand;
|
|
289
|
+
const se_ListManagedNotificationChannelAssociationsCommand = async (input, context) => {
|
|
290
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
291
|
+
const headers = {};
|
|
292
|
+
b.bp("/channels/list-managed-notification-channel-associations");
|
|
293
|
+
const query = (0, smithy_client_1.map)({
|
|
294
|
+
[_mNCA]: [, (0, smithy_client_1.expectNonNull)(input[_mNCA], `managedNotificationConfigurationArn`)],
|
|
295
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
296
|
+
[_nT]: [, input[_nT]],
|
|
297
|
+
});
|
|
298
|
+
let body;
|
|
299
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
300
|
+
return b.build();
|
|
301
|
+
};
|
|
302
|
+
exports.se_ListManagedNotificationChannelAssociationsCommand = se_ListManagedNotificationChannelAssociationsCommand;
|
|
303
|
+
const se_ListManagedNotificationChildEventsCommand = async (input, context) => {
|
|
304
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
305
|
+
const headers = {};
|
|
306
|
+
b.bp("/list-managed-notification-child-events/{aggregateManagedNotificationEventArn}");
|
|
307
|
+
b.p("aggregateManagedNotificationEventArn", () => input.aggregateManagedNotificationEventArn, "{aggregateManagedNotificationEventArn}", false);
|
|
308
|
+
const query = (0, smithy_client_1.map)({
|
|
309
|
+
[_sT]: [() => input.startTime !== void 0, () => (0, smithy_client_1.serializeDateTime)(input[_sT]).toString()],
|
|
310
|
+
[_eT]: [() => input.endTime !== void 0, () => (0, smithy_client_1.serializeDateTime)(input[_eT]).toString()],
|
|
311
|
+
[_l]: [, input[_l]],
|
|
312
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
313
|
+
[_rA]: [, input[_rA]],
|
|
314
|
+
[_oUI]: [, input[_oUI]],
|
|
315
|
+
[_nT]: [, input[_nT]],
|
|
316
|
+
});
|
|
317
|
+
let body;
|
|
318
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
319
|
+
return b.build();
|
|
320
|
+
};
|
|
321
|
+
exports.se_ListManagedNotificationChildEventsCommand = se_ListManagedNotificationChildEventsCommand;
|
|
322
|
+
const se_ListManagedNotificationConfigurationsCommand = async (input, context) => {
|
|
323
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
324
|
+
const headers = {};
|
|
325
|
+
b.bp("/managed-notification-configurations");
|
|
326
|
+
const query = (0, smithy_client_1.map)({
|
|
327
|
+
[_cI]: [, input[_cI]],
|
|
328
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
329
|
+
[_nT]: [, input[_nT]],
|
|
330
|
+
});
|
|
331
|
+
let body;
|
|
332
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
333
|
+
return b.build();
|
|
334
|
+
};
|
|
335
|
+
exports.se_ListManagedNotificationConfigurationsCommand = se_ListManagedNotificationConfigurationsCommand;
|
|
336
|
+
const se_ListManagedNotificationEventsCommand = async (input, context) => {
|
|
337
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
338
|
+
const headers = {};
|
|
339
|
+
b.bp("/managed-notification-events");
|
|
340
|
+
const query = (0, smithy_client_1.map)({
|
|
341
|
+
[_sT]: [() => input.startTime !== void 0, () => (0, smithy_client_1.serializeDateTime)(input[_sT]).toString()],
|
|
342
|
+
[_eT]: [() => input.endTime !== void 0, () => (0, smithy_client_1.serializeDateTime)(input[_eT]).toString()],
|
|
343
|
+
[_l]: [, input[_l]],
|
|
344
|
+
[_s]: [, input[_s]],
|
|
345
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
346
|
+
[_nT]: [, input[_nT]],
|
|
347
|
+
[_oUI]: [, input[_oUI]],
|
|
348
|
+
[_rA]: [, input[_rA]],
|
|
349
|
+
});
|
|
350
|
+
let body;
|
|
351
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
352
|
+
return b.build();
|
|
353
|
+
};
|
|
354
|
+
exports.se_ListManagedNotificationEventsCommand = se_ListManagedNotificationEventsCommand;
|
|
165
355
|
const se_ListNotificationConfigurationsCommand = async (input, context) => {
|
|
166
356
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
167
357
|
const headers = {};
|
|
@@ -169,7 +359,7 @@ const se_ListNotificationConfigurationsCommand = async (input, context) => {
|
|
|
169
359
|
const query = (0, smithy_client_1.map)({
|
|
170
360
|
[_eRS]: [, input[_eRS]],
|
|
171
361
|
[_cA]: [, input[_cA]],
|
|
172
|
-
[
|
|
362
|
+
[_st]: [, input[_st]],
|
|
173
363
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
174
364
|
[_nT]: [, input[_nT]],
|
|
175
365
|
});
|
|
@@ -186,7 +376,7 @@ const se_ListNotificationEventsCommand = async (input, context) => {
|
|
|
186
376
|
[_sT]: [() => input.startTime !== void 0, () => (0, smithy_client_1.serializeDateTime)(input[_sT]).toString()],
|
|
187
377
|
[_eT]: [() => input.endTime !== void 0, () => (0, smithy_client_1.serializeDateTime)(input[_eT]).toString()],
|
|
188
378
|
[_l]: [, input[_l]],
|
|
189
|
-
[
|
|
379
|
+
[_s]: [, input[_s]],
|
|
190
380
|
[_iCE]: [() => input.includeChildEvents !== void 0, () => input[_iCE].toString()],
|
|
191
381
|
[_aNEA]: [, input[_aNEA]],
|
|
192
382
|
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
@@ -306,6 +496,28 @@ const de_AssociateChannelCommand = async (output, context) => {
|
|
|
306
496
|
return contents;
|
|
307
497
|
};
|
|
308
498
|
exports.de_AssociateChannelCommand = de_AssociateChannelCommand;
|
|
499
|
+
const de_AssociateManagedNotificationAccountContactCommand = async (output, context) => {
|
|
500
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
501
|
+
return de_CommandError(output, context);
|
|
502
|
+
}
|
|
503
|
+
const contents = (0, smithy_client_1.map)({
|
|
504
|
+
$metadata: deserializeMetadata(output),
|
|
505
|
+
});
|
|
506
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
507
|
+
return contents;
|
|
508
|
+
};
|
|
509
|
+
exports.de_AssociateManagedNotificationAccountContactCommand = de_AssociateManagedNotificationAccountContactCommand;
|
|
510
|
+
const de_AssociateManagedNotificationAdditionalChannelCommand = async (output, context) => {
|
|
511
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
512
|
+
return de_CommandError(output, context);
|
|
513
|
+
}
|
|
514
|
+
const contents = (0, smithy_client_1.map)({
|
|
515
|
+
$metadata: deserializeMetadata(output),
|
|
516
|
+
});
|
|
517
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
518
|
+
return contents;
|
|
519
|
+
};
|
|
520
|
+
exports.de_AssociateManagedNotificationAdditionalChannelCommand = de_AssociateManagedNotificationAdditionalChannelCommand;
|
|
309
521
|
const de_CreateEventRuleCommand = async (output, context) => {
|
|
310
522
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
311
523
|
return de_CommandError(output, context);
|
|
@@ -377,6 +589,17 @@ const de_DeregisterNotificationHubCommand = async (output, context) => {
|
|
|
377
589
|
return contents;
|
|
378
590
|
};
|
|
379
591
|
exports.de_DeregisterNotificationHubCommand = de_DeregisterNotificationHubCommand;
|
|
592
|
+
const de_DisableNotificationsAccessForOrganizationCommand = async (output, context) => {
|
|
593
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
594
|
+
return de_CommandError(output, context);
|
|
595
|
+
}
|
|
596
|
+
const contents = (0, smithy_client_1.map)({
|
|
597
|
+
$metadata: deserializeMetadata(output),
|
|
598
|
+
});
|
|
599
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
600
|
+
return contents;
|
|
601
|
+
};
|
|
602
|
+
exports.de_DisableNotificationsAccessForOrganizationCommand = de_DisableNotificationsAccessForOrganizationCommand;
|
|
380
603
|
const de_DisassociateChannelCommand = async (output, context) => {
|
|
381
604
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
382
605
|
return de_CommandError(output, context);
|
|
@@ -388,6 +611,39 @@ const de_DisassociateChannelCommand = async (output, context) => {
|
|
|
388
611
|
return contents;
|
|
389
612
|
};
|
|
390
613
|
exports.de_DisassociateChannelCommand = de_DisassociateChannelCommand;
|
|
614
|
+
const de_DisassociateManagedNotificationAccountContactCommand = async (output, context) => {
|
|
615
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
616
|
+
return de_CommandError(output, context);
|
|
617
|
+
}
|
|
618
|
+
const contents = (0, smithy_client_1.map)({
|
|
619
|
+
$metadata: deserializeMetadata(output),
|
|
620
|
+
});
|
|
621
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
622
|
+
return contents;
|
|
623
|
+
};
|
|
624
|
+
exports.de_DisassociateManagedNotificationAccountContactCommand = de_DisassociateManagedNotificationAccountContactCommand;
|
|
625
|
+
const de_DisassociateManagedNotificationAdditionalChannelCommand = async (output, context) => {
|
|
626
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
627
|
+
return de_CommandError(output, context);
|
|
628
|
+
}
|
|
629
|
+
const contents = (0, smithy_client_1.map)({
|
|
630
|
+
$metadata: deserializeMetadata(output),
|
|
631
|
+
});
|
|
632
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
633
|
+
return contents;
|
|
634
|
+
};
|
|
635
|
+
exports.de_DisassociateManagedNotificationAdditionalChannelCommand = de_DisassociateManagedNotificationAdditionalChannelCommand;
|
|
636
|
+
const de_EnableNotificationsAccessForOrganizationCommand = async (output, context) => {
|
|
637
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
638
|
+
return de_CommandError(output, context);
|
|
639
|
+
}
|
|
640
|
+
const contents = (0, smithy_client_1.map)({
|
|
641
|
+
$metadata: deserializeMetadata(output),
|
|
642
|
+
});
|
|
643
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
644
|
+
return contents;
|
|
645
|
+
};
|
|
646
|
+
exports.de_EnableNotificationsAccessForOrganizationCommand = de_EnableNotificationsAccessForOrganizationCommand;
|
|
391
647
|
const de_GetEventRuleCommand = async (output, context) => {
|
|
392
648
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
393
649
|
return de_CommandError(output, context);
|
|
@@ -411,6 +667,61 @@ const de_GetEventRuleCommand = async (output, context) => {
|
|
|
411
667
|
return contents;
|
|
412
668
|
};
|
|
413
669
|
exports.de_GetEventRuleCommand = de_GetEventRuleCommand;
|
|
670
|
+
const de_GetManagedNotificationChildEventCommand = async (output, context) => {
|
|
671
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
672
|
+
return de_CommandError(output, context);
|
|
673
|
+
}
|
|
674
|
+
const contents = (0, smithy_client_1.map)({
|
|
675
|
+
$metadata: deserializeMetadata(output),
|
|
676
|
+
});
|
|
677
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
678
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
679
|
+
arn: smithy_client_1.expectString,
|
|
680
|
+
content: (_) => de_ManagedNotificationChildEvent(_, context),
|
|
681
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
682
|
+
managedNotificationConfigurationArn: smithy_client_1.expectString,
|
|
683
|
+
});
|
|
684
|
+
Object.assign(contents, doc);
|
|
685
|
+
return contents;
|
|
686
|
+
};
|
|
687
|
+
exports.de_GetManagedNotificationChildEventCommand = de_GetManagedNotificationChildEventCommand;
|
|
688
|
+
const de_GetManagedNotificationConfigurationCommand = async (output, context) => {
|
|
689
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
690
|
+
return de_CommandError(output, context);
|
|
691
|
+
}
|
|
692
|
+
const contents = (0, smithy_client_1.map)({
|
|
693
|
+
$metadata: deserializeMetadata(output),
|
|
694
|
+
});
|
|
695
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
696
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
697
|
+
arn: smithy_client_1.expectString,
|
|
698
|
+
category: smithy_client_1.expectString,
|
|
699
|
+
description: smithy_client_1.expectString,
|
|
700
|
+
name: smithy_client_1.expectString,
|
|
701
|
+
subCategory: smithy_client_1.expectString,
|
|
702
|
+
});
|
|
703
|
+
Object.assign(contents, doc);
|
|
704
|
+
return contents;
|
|
705
|
+
};
|
|
706
|
+
exports.de_GetManagedNotificationConfigurationCommand = de_GetManagedNotificationConfigurationCommand;
|
|
707
|
+
const de_GetManagedNotificationEventCommand = async (output, context) => {
|
|
708
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
709
|
+
return de_CommandError(output, context);
|
|
710
|
+
}
|
|
711
|
+
const contents = (0, smithy_client_1.map)({
|
|
712
|
+
$metadata: deserializeMetadata(output),
|
|
713
|
+
});
|
|
714
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
715
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
716
|
+
arn: smithy_client_1.expectString,
|
|
717
|
+
content: (_) => de_ManagedNotificationEvent(_, context),
|
|
718
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
719
|
+
managedNotificationConfigurationArn: smithy_client_1.expectString,
|
|
720
|
+
});
|
|
721
|
+
Object.assign(contents, doc);
|
|
722
|
+
return contents;
|
|
723
|
+
};
|
|
724
|
+
exports.de_GetManagedNotificationEventCommand = de_GetManagedNotificationEventCommand;
|
|
414
725
|
const de_GetNotificationConfigurationCommand = async (output, context) => {
|
|
415
726
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
416
727
|
return de_CommandError(output, context);
|
|
@@ -449,6 +760,21 @@ const de_GetNotificationEventCommand = async (output, context) => {
|
|
|
449
760
|
return contents;
|
|
450
761
|
};
|
|
451
762
|
exports.de_GetNotificationEventCommand = de_GetNotificationEventCommand;
|
|
763
|
+
const de_GetNotificationsAccessForOrganizationCommand = async (output, context) => {
|
|
764
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
765
|
+
return de_CommandError(output, context);
|
|
766
|
+
}
|
|
767
|
+
const contents = (0, smithy_client_1.map)({
|
|
768
|
+
$metadata: deserializeMetadata(output),
|
|
769
|
+
});
|
|
770
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
771
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
772
|
+
notificationsAccessForOrganization: smithy_client_1._json,
|
|
773
|
+
});
|
|
774
|
+
Object.assign(contents, doc);
|
|
775
|
+
return contents;
|
|
776
|
+
};
|
|
777
|
+
exports.de_GetNotificationsAccessForOrganizationCommand = de_GetNotificationsAccessForOrganizationCommand;
|
|
452
778
|
const de_ListChannelsCommand = async (output, context) => {
|
|
453
779
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
454
780
|
return de_CommandError(output, context);
|
|
@@ -481,6 +807,70 @@ const de_ListEventRulesCommand = async (output, context) => {
|
|
|
481
807
|
return contents;
|
|
482
808
|
};
|
|
483
809
|
exports.de_ListEventRulesCommand = de_ListEventRulesCommand;
|
|
810
|
+
const de_ListManagedNotificationChannelAssociationsCommand = async (output, context) => {
|
|
811
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
812
|
+
return de_CommandError(output, context);
|
|
813
|
+
}
|
|
814
|
+
const contents = (0, smithy_client_1.map)({
|
|
815
|
+
$metadata: deserializeMetadata(output),
|
|
816
|
+
});
|
|
817
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
818
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
819
|
+
channelAssociations: smithy_client_1._json,
|
|
820
|
+
nextToken: smithy_client_1.expectString,
|
|
821
|
+
});
|
|
822
|
+
Object.assign(contents, doc);
|
|
823
|
+
return contents;
|
|
824
|
+
};
|
|
825
|
+
exports.de_ListManagedNotificationChannelAssociationsCommand = de_ListManagedNotificationChannelAssociationsCommand;
|
|
826
|
+
const de_ListManagedNotificationChildEventsCommand = async (output, context) => {
|
|
827
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
|
+
return de_CommandError(output, context);
|
|
829
|
+
}
|
|
830
|
+
const contents = (0, smithy_client_1.map)({
|
|
831
|
+
$metadata: deserializeMetadata(output),
|
|
832
|
+
});
|
|
833
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
834
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
835
|
+
managedNotificationChildEvents: (_) => de_ManagedNotificationChildEvents(_, context),
|
|
836
|
+
nextToken: smithy_client_1.expectString,
|
|
837
|
+
});
|
|
838
|
+
Object.assign(contents, doc);
|
|
839
|
+
return contents;
|
|
840
|
+
};
|
|
841
|
+
exports.de_ListManagedNotificationChildEventsCommand = de_ListManagedNotificationChildEventsCommand;
|
|
842
|
+
const de_ListManagedNotificationConfigurationsCommand = async (output, context) => {
|
|
843
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
844
|
+
return de_CommandError(output, context);
|
|
845
|
+
}
|
|
846
|
+
const contents = (0, smithy_client_1.map)({
|
|
847
|
+
$metadata: deserializeMetadata(output),
|
|
848
|
+
});
|
|
849
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
850
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
851
|
+
managedNotificationConfigurations: smithy_client_1._json,
|
|
852
|
+
nextToken: smithy_client_1.expectString,
|
|
853
|
+
});
|
|
854
|
+
Object.assign(contents, doc);
|
|
855
|
+
return contents;
|
|
856
|
+
};
|
|
857
|
+
exports.de_ListManagedNotificationConfigurationsCommand = de_ListManagedNotificationConfigurationsCommand;
|
|
858
|
+
const de_ListManagedNotificationEventsCommand = async (output, context) => {
|
|
859
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
860
|
+
return de_CommandError(output, context);
|
|
861
|
+
}
|
|
862
|
+
const contents = (0, smithy_client_1.map)({
|
|
863
|
+
$metadata: deserializeMetadata(output),
|
|
864
|
+
});
|
|
865
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
866
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
867
|
+
managedNotificationEvents: (_) => de_ManagedNotificationEvents(_, context),
|
|
868
|
+
nextToken: smithy_client_1.expectString,
|
|
869
|
+
});
|
|
870
|
+
Object.assign(contents, doc);
|
|
871
|
+
return contents;
|
|
872
|
+
};
|
|
873
|
+
exports.de_ListManagedNotificationEventsCommand = de_ListManagedNotificationEventsCommand;
|
|
484
874
|
const de_ListNotificationConfigurationsCommand = async (output, context) => {
|
|
485
875
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
486
876
|
return de_CommandError(output, context);
|
|
@@ -778,6 +1168,80 @@ const de_EventRuleStructure = (output, context) => {
|
|
|
778
1168
|
statusSummaryByRegion: smithy_client_1._json,
|
|
779
1169
|
});
|
|
780
1170
|
};
|
|
1171
|
+
const de_ManagedNotificationChildEvent = (output, context) => {
|
|
1172
|
+
return (0, smithy_client_1.take)(output, {
|
|
1173
|
+
aggregateManagedNotificationEventArn: smithy_client_1.expectString,
|
|
1174
|
+
aggregationDetail: smithy_client_1._json,
|
|
1175
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1176
|
+
eventStatus: smithy_client_1.expectString,
|
|
1177
|
+
id: smithy_client_1.expectString,
|
|
1178
|
+
messageComponents: smithy_client_1._json,
|
|
1179
|
+
notificationType: smithy_client_1.expectString,
|
|
1180
|
+
organizationalUnitId: smithy_client_1.expectString,
|
|
1181
|
+
schemaVersion: smithy_client_1.expectString,
|
|
1182
|
+
sourceEventDetailUrl: smithy_client_1.expectString,
|
|
1183
|
+
sourceEventDetailUrlDisplayText: smithy_client_1.expectString,
|
|
1184
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1185
|
+
textParts: smithy_client_1._json,
|
|
1186
|
+
});
|
|
1187
|
+
};
|
|
1188
|
+
const de_ManagedNotificationChildEventOverview = (output, context) => {
|
|
1189
|
+
return (0, smithy_client_1.take)(output, {
|
|
1190
|
+
aggregateManagedNotificationEventArn: smithy_client_1.expectString,
|
|
1191
|
+
arn: smithy_client_1.expectString,
|
|
1192
|
+
childEvent: smithy_client_1._json,
|
|
1193
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1194
|
+
managedNotificationConfigurationArn: smithy_client_1.expectString,
|
|
1195
|
+
organizationalUnitId: smithy_client_1.expectString,
|
|
1196
|
+
relatedAccount: smithy_client_1.expectString,
|
|
1197
|
+
});
|
|
1198
|
+
};
|
|
1199
|
+
const de_ManagedNotificationChildEvents = (output, context) => {
|
|
1200
|
+
const retVal = (output || [])
|
|
1201
|
+
.filter((e) => e != null)
|
|
1202
|
+
.map((entry) => {
|
|
1203
|
+
return de_ManagedNotificationChildEventOverview(entry, context);
|
|
1204
|
+
});
|
|
1205
|
+
return retVal;
|
|
1206
|
+
};
|
|
1207
|
+
const de_ManagedNotificationEvent = (output, context) => {
|
|
1208
|
+
return (0, smithy_client_1.take)(output, {
|
|
1209
|
+
aggregationEventType: smithy_client_1.expectString,
|
|
1210
|
+
aggregationSummary: smithy_client_1._json,
|
|
1211
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1212
|
+
eventStatus: smithy_client_1.expectString,
|
|
1213
|
+
id: smithy_client_1.expectString,
|
|
1214
|
+
messageComponents: smithy_client_1._json,
|
|
1215
|
+
notificationType: smithy_client_1.expectString,
|
|
1216
|
+
organizationalUnitId: smithy_client_1.expectString,
|
|
1217
|
+
schemaVersion: smithy_client_1.expectString,
|
|
1218
|
+
sourceEventDetailUrl: smithy_client_1.expectString,
|
|
1219
|
+
sourceEventDetailUrlDisplayText: smithy_client_1.expectString,
|
|
1220
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1221
|
+
textParts: smithy_client_1._json,
|
|
1222
|
+
});
|
|
1223
|
+
};
|
|
1224
|
+
const de_ManagedNotificationEventOverview = (output, context) => {
|
|
1225
|
+
return (0, smithy_client_1.take)(output, {
|
|
1226
|
+
aggregatedNotificationRegions: smithy_client_1._json,
|
|
1227
|
+
aggregationEventType: smithy_client_1.expectString,
|
|
1228
|
+
aggregationSummary: smithy_client_1._json,
|
|
1229
|
+
arn: smithy_client_1.expectString,
|
|
1230
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
1231
|
+
managedNotificationConfigurationArn: smithy_client_1.expectString,
|
|
1232
|
+
notificationEvent: smithy_client_1._json,
|
|
1233
|
+
organizationalUnitId: smithy_client_1.expectString,
|
|
1234
|
+
relatedAccount: smithy_client_1.expectString,
|
|
1235
|
+
});
|
|
1236
|
+
};
|
|
1237
|
+
const de_ManagedNotificationEvents = (output, context) => {
|
|
1238
|
+
const retVal = (output || [])
|
|
1239
|
+
.filter((e) => e != null)
|
|
1240
|
+
.map((entry) => {
|
|
1241
|
+
return de_ManagedNotificationEventOverview(entry, context);
|
|
1242
|
+
});
|
|
1243
|
+
return retVal;
|
|
1244
|
+
};
|
|
781
1245
|
const de_NotificationConfigurations = (output, context) => {
|
|
782
1246
|
const retVal = (output || [])
|
|
783
1247
|
.filter((e) => e != null)
|
|
@@ -800,6 +1264,7 @@ const de_NotificationEventOverview = (output, context) => {
|
|
|
800
1264
|
return (0, smithy_client_1.take)(output, {
|
|
801
1265
|
aggregateNotificationEventArn: smithy_client_1.expectString,
|
|
802
1266
|
aggregationEventType: smithy_client_1.expectString,
|
|
1267
|
+
aggregationSummary: smithy_client_1._json,
|
|
803
1268
|
arn: smithy_client_1.expectString,
|
|
804
1269
|
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
805
1270
|
notificationConfigurationArn: smithy_client_1.expectString,
|
|
@@ -819,6 +1284,7 @@ const de_NotificationEventSchema = (output, context) => {
|
|
|
819
1284
|
return (0, smithy_client_1.take)(output, {
|
|
820
1285
|
aggregateNotificationEventArn: smithy_client_1.expectString,
|
|
821
1286
|
aggregationEventType: smithy_client_1.expectString,
|
|
1287
|
+
aggregationSummary: smithy_client_1._json,
|
|
822
1288
|
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
823
1289
|
eventStatus: smithy_client_1.expectString,
|
|
824
1290
|
id: smithy_client_1.expectString,
|
|
@@ -870,16 +1336,20 @@ const deserializeMetadata = (output) => ({
|
|
|
870
1336
|
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
871
1337
|
const _aNEA = "aggregateNotificationEventArn";
|
|
872
1338
|
const _cA = "channelArn";
|
|
1339
|
+
const _cI = "channelIdentifier";
|
|
873
1340
|
const _eRS = "eventRuleSource";
|
|
874
1341
|
const _eT = "endTime";
|
|
875
1342
|
const _iCE = "includeChildEvents";
|
|
876
1343
|
const _l = "locale";
|
|
1344
|
+
const _mNCA = "managedNotificationConfigurationArn";
|
|
877
1345
|
const _mR = "maxResults";
|
|
878
1346
|
const _nCA = "notificationConfigurationArn";
|
|
879
1347
|
const _nT = "nextToken";
|
|
1348
|
+
const _oUI = "organizationalUnitId";
|
|
1349
|
+
const _rA = "relatedAccount";
|
|
880
1350
|
const _rAS = "retryAfterSeconds";
|
|
881
1351
|
const _ra = "retry-after";
|
|
882
|
-
const _s = "
|
|
1352
|
+
const _s = "source";
|
|
883
1353
|
const _sT = "startTime";
|
|
884
|
-
const
|
|
1354
|
+
const _st = "status";
|
|
885
1355
|
const _tK = "tagKeys";
|