@aws-sdk/client-notifications 3.698.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/LICENSE +201 -0
- package/README.md +380 -0
- package/dist-cjs/Notifications.js +53 -0
- package/dist-cjs/NotificationsClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateChannelCommand.js +26 -0
- package/dist-cjs/commands/CreateEventRuleCommand.js +26 -0
- package/dist-cjs/commands/CreateNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/DeleteEventRuleCommand.js +26 -0
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/DeregisterNotificationHubCommand.js +26 -0
- package/dist-cjs/commands/DisassociateChannelCommand.js +26 -0
- package/dist-cjs/commands/GetEventRuleCommand.js +26 -0
- package/dist-cjs/commands/GetNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetNotificationEventCommand.js +26 -0
- package/dist-cjs/commands/ListChannelsCommand.js +26 -0
- package/dist-cjs/commands/ListEventRulesCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationConfigurationsCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationEventsCommand.js +26 -0
- package/dist-cjs/commands/ListNotificationHubsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/RegisterNotificationHubCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateEventRuleCommand.js +26 -0
- package/dist-cjs/commands/UpdateNotificationConfigurationCommand.js +26 -0
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/NotificationsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +181 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListChannelsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEventRulesPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListNotificationHubsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +885 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Notifications.js +49 -0
- package/dist-es/NotificationsClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateChannelCommand.js +22 -0
- package/dist-es/commands/CreateEventRuleCommand.js +22 -0
- package/dist-es/commands/CreateNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteEventRuleCommand.js +22 -0
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/DeregisterNotificationHubCommand.js +22 -0
- package/dist-es/commands/DisassociateChannelCommand.js +22 -0
- package/dist-es/commands/GetEventRuleCommand.js +22 -0
- package/dist-es/commands/GetNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/GetNotificationEventCommand.js +22 -0
- package/dist-es/commands/ListChannelsCommand.js +22 -0
- package/dist-es/commands/ListEventRulesCommand.js +22 -0
- package/dist-es/commands/ListNotificationConfigurationsCommand.js +22 -0
- package/dist-es/commands/ListNotificationEventsCommand.js +22 -0
- package/dist-es/commands/ListNotificationHubsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/RegisterNotificationHubCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateEventRuleCommand.js +22 -0
- package/dist-es/commands/UpdateNotificationConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/NotificationsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +171 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListChannelsPaginator.js +4 -0
- package/dist-es/pagination/ListEventRulesPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationEventsPaginator.js +4 -0
- package/dist-es/pagination/ListNotificationHubsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +840 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Notifications.d.ts +167 -0
- package/dist-types/NotificationsClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AssociateChannelCommand.d.ts +92 -0
- package/dist-types/commands/CreateEventRuleCommand.d.ts +105 -0
- package/dist-types/commands/CreateNotificationConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteEventRuleCommand.d.ts +87 -0
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/DeregisterNotificationHubCommand.d.ts +96 -0
- package/dist-types/commands/DisassociateChannelCommand.d.ts +85 -0
- package/dist-types/commands/GetEventRuleCommand.d.ts +103 -0
- package/dist-types/commands/GetNotificationConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/GetNotificationEventCommand.d.ts +154 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +91 -0
- package/dist-types/commands/ListEventRulesCommand.d.ts +110 -0
- package/dist-types/commands/ListNotificationConfigurationsCommand.d.ts +97 -0
- package/dist-types/commands/ListNotificationEventsCommand.d.ts +118 -0
- package/dist-types/commands/ListNotificationHubsCommand.d.ts +95 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
- package/dist-types/commands/RegisterNotificationHubCommand.d.ts +96 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateEventRuleCommand.d.ts +100 -0
- package/dist-types/commands/UpdateNotificationConfigurationCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +21 -0
- package/dist-types/models/NotificationsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2354 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNotificationHubsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +191 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Notifications.d.ts +367 -0
- package/dist-types/ts3.4/NotificationsClient.d.ts +245 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AssociateChannelCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeregisterNotificationHubCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateChannelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEventRuleCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetNotificationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListEventRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListNotificationConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNotificationEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNotificationHubsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterNotificationHubCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateEventRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateNotificationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/NotificationsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +447 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNotificationHubsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,885 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
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_ListEventRulesCommand = exports.de_ListChannelsCommand = exports.de_GetNotificationEventCommand = exports.de_GetNotificationConfigurationCommand = exports.de_GetEventRuleCommand = exports.de_DisassociateChannelCommand = exports.de_DeregisterNotificationHubCommand = exports.de_DeleteNotificationConfigurationCommand = exports.de_DeleteEventRuleCommand = exports.de_CreateNotificationConfigurationCommand = exports.de_CreateEventRuleCommand = 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_ListEventRulesCommand = exports.se_ListChannelsCommand = exports.se_GetNotificationEventCommand = exports.se_GetNotificationConfigurationCommand = exports.se_GetEventRuleCommand = exports.se_DisassociateChannelCommand = exports.se_DeregisterNotificationHubCommand = exports.se_DeleteNotificationConfigurationCommand = exports.se_DeleteEventRuleCommand = exports.se_CreateNotificationConfigurationCommand = exports.se_CreateEventRuleCommand = exports.se_AssociateChannelCommand = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const core_2 = require("@smithy/core");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const NotificationsServiceException_1 = require("../models/NotificationsServiceException");
|
|
9
|
+
const se_AssociateChannelCommand = async (input, context) => {
|
|
10
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
11
|
+
const headers = {
|
|
12
|
+
"content-type": "application/json",
|
|
13
|
+
};
|
|
14
|
+
b.bp("/channels/associate/{arn}");
|
|
15
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
16
|
+
let body;
|
|
17
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
18
|
+
notificationConfigurationArn: [],
|
|
19
|
+
}));
|
|
20
|
+
b.m("POST").h(headers).b(body);
|
|
21
|
+
return b.build();
|
|
22
|
+
};
|
|
23
|
+
exports.se_AssociateChannelCommand = se_AssociateChannelCommand;
|
|
24
|
+
const se_CreateEventRuleCommand = async (input, context) => {
|
|
25
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
26
|
+
const headers = {
|
|
27
|
+
"content-type": "application/json",
|
|
28
|
+
};
|
|
29
|
+
b.bp("/event-rules");
|
|
30
|
+
let body;
|
|
31
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
32
|
+
eventPattern: [],
|
|
33
|
+
eventType: [],
|
|
34
|
+
notificationConfigurationArn: [],
|
|
35
|
+
regions: (_) => (0, smithy_client_1._json)(_),
|
|
36
|
+
source: [],
|
|
37
|
+
}));
|
|
38
|
+
b.m("POST").h(headers).b(body);
|
|
39
|
+
return b.build();
|
|
40
|
+
};
|
|
41
|
+
exports.se_CreateEventRuleCommand = se_CreateEventRuleCommand;
|
|
42
|
+
const se_CreateNotificationConfigurationCommand = async (input, context) => {
|
|
43
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
44
|
+
const headers = {
|
|
45
|
+
"content-type": "application/json",
|
|
46
|
+
};
|
|
47
|
+
b.bp("/notification-configurations");
|
|
48
|
+
let body;
|
|
49
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
50
|
+
aggregationDuration: [],
|
|
51
|
+
description: [],
|
|
52
|
+
name: [],
|
|
53
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
54
|
+
}));
|
|
55
|
+
b.m("POST").h(headers).b(body);
|
|
56
|
+
return b.build();
|
|
57
|
+
};
|
|
58
|
+
exports.se_CreateNotificationConfigurationCommand = se_CreateNotificationConfigurationCommand;
|
|
59
|
+
const se_DeleteEventRuleCommand = async (input, context) => {
|
|
60
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
61
|
+
const headers = {};
|
|
62
|
+
b.bp("/event-rules/{arn}");
|
|
63
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
64
|
+
let body;
|
|
65
|
+
b.m("DELETE").h(headers).b(body);
|
|
66
|
+
return b.build();
|
|
67
|
+
};
|
|
68
|
+
exports.se_DeleteEventRuleCommand = se_DeleteEventRuleCommand;
|
|
69
|
+
const se_DeleteNotificationConfigurationCommand = async (input, context) => {
|
|
70
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
71
|
+
const headers = {};
|
|
72
|
+
b.bp("/notification-configurations/{arn}");
|
|
73
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
74
|
+
let body;
|
|
75
|
+
b.m("DELETE").h(headers).b(body);
|
|
76
|
+
return b.build();
|
|
77
|
+
};
|
|
78
|
+
exports.se_DeleteNotificationConfigurationCommand = se_DeleteNotificationConfigurationCommand;
|
|
79
|
+
const se_DeregisterNotificationHubCommand = async (input, context) => {
|
|
80
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
81
|
+
const headers = {};
|
|
82
|
+
b.bp("/notification-hubs/{notificationHubRegion}");
|
|
83
|
+
b.p("notificationHubRegion", () => input.notificationHubRegion, "{notificationHubRegion}", false);
|
|
84
|
+
let body;
|
|
85
|
+
b.m("DELETE").h(headers).b(body);
|
|
86
|
+
return b.build();
|
|
87
|
+
};
|
|
88
|
+
exports.se_DeregisterNotificationHubCommand = se_DeregisterNotificationHubCommand;
|
|
89
|
+
const se_DisassociateChannelCommand = async (input, context) => {
|
|
90
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
91
|
+
const headers = {
|
|
92
|
+
"content-type": "application/json",
|
|
93
|
+
};
|
|
94
|
+
b.bp("/channels/disassociate/{arn}");
|
|
95
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
96
|
+
let body;
|
|
97
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
98
|
+
notificationConfigurationArn: [],
|
|
99
|
+
}));
|
|
100
|
+
b.m("POST").h(headers).b(body);
|
|
101
|
+
return b.build();
|
|
102
|
+
};
|
|
103
|
+
exports.se_DisassociateChannelCommand = se_DisassociateChannelCommand;
|
|
104
|
+
const se_GetEventRuleCommand = async (input, context) => {
|
|
105
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
106
|
+
const headers = {};
|
|
107
|
+
b.bp("/event-rules/{arn}");
|
|
108
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
109
|
+
let body;
|
|
110
|
+
b.m("GET").h(headers).b(body);
|
|
111
|
+
return b.build();
|
|
112
|
+
};
|
|
113
|
+
exports.se_GetEventRuleCommand = se_GetEventRuleCommand;
|
|
114
|
+
const se_GetNotificationConfigurationCommand = async (input, context) => {
|
|
115
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
116
|
+
const headers = {};
|
|
117
|
+
b.bp("/notification-configurations/{arn}");
|
|
118
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
119
|
+
let body;
|
|
120
|
+
b.m("GET").h(headers).b(body);
|
|
121
|
+
return b.build();
|
|
122
|
+
};
|
|
123
|
+
exports.se_GetNotificationConfigurationCommand = se_GetNotificationConfigurationCommand;
|
|
124
|
+
const se_GetNotificationEventCommand = async (input, context) => {
|
|
125
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
126
|
+
const headers = {};
|
|
127
|
+
b.bp("/notification-events/{arn}");
|
|
128
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
129
|
+
const query = (0, smithy_client_1.map)({
|
|
130
|
+
[_l]: [, input[_l]],
|
|
131
|
+
});
|
|
132
|
+
let body;
|
|
133
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
134
|
+
return b.build();
|
|
135
|
+
};
|
|
136
|
+
exports.se_GetNotificationEventCommand = se_GetNotificationEventCommand;
|
|
137
|
+
const se_ListChannelsCommand = async (input, context) => {
|
|
138
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
139
|
+
const headers = {};
|
|
140
|
+
b.bp("/channels");
|
|
141
|
+
const query = (0, smithy_client_1.map)({
|
|
142
|
+
[_nCA]: [, (0, smithy_client_1.expectNonNull)(input[_nCA], `notificationConfigurationArn`)],
|
|
143
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
144
|
+
[_nT]: [, input[_nT]],
|
|
145
|
+
});
|
|
146
|
+
let body;
|
|
147
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
148
|
+
return b.build();
|
|
149
|
+
};
|
|
150
|
+
exports.se_ListChannelsCommand = se_ListChannelsCommand;
|
|
151
|
+
const se_ListEventRulesCommand = async (input, context) => {
|
|
152
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
153
|
+
const headers = {};
|
|
154
|
+
b.bp("/event-rules");
|
|
155
|
+
const query = (0, smithy_client_1.map)({
|
|
156
|
+
[_nCA]: [, (0, smithy_client_1.expectNonNull)(input[_nCA], `notificationConfigurationArn`)],
|
|
157
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
158
|
+
[_nT]: [, input[_nT]],
|
|
159
|
+
});
|
|
160
|
+
let body;
|
|
161
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
162
|
+
return b.build();
|
|
163
|
+
};
|
|
164
|
+
exports.se_ListEventRulesCommand = se_ListEventRulesCommand;
|
|
165
|
+
const se_ListNotificationConfigurationsCommand = async (input, context) => {
|
|
166
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
167
|
+
const headers = {};
|
|
168
|
+
b.bp("/notification-configurations");
|
|
169
|
+
const query = (0, smithy_client_1.map)({
|
|
170
|
+
[_eRS]: [, input[_eRS]],
|
|
171
|
+
[_cA]: [, input[_cA]],
|
|
172
|
+
[_s]: [, input[_s]],
|
|
173
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
174
|
+
[_nT]: [, input[_nT]],
|
|
175
|
+
});
|
|
176
|
+
let body;
|
|
177
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
178
|
+
return b.build();
|
|
179
|
+
};
|
|
180
|
+
exports.se_ListNotificationConfigurationsCommand = se_ListNotificationConfigurationsCommand;
|
|
181
|
+
const se_ListNotificationEventsCommand = async (input, context) => {
|
|
182
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
183
|
+
const headers = {};
|
|
184
|
+
b.bp("/notification-events");
|
|
185
|
+
const query = (0, smithy_client_1.map)({
|
|
186
|
+
[_sT]: [() => input.startTime !== void 0, () => (0, smithy_client_1.serializeDateTime)(input[_sT]).toString()],
|
|
187
|
+
[_eT]: [() => input.endTime !== void 0, () => (0, smithy_client_1.serializeDateTime)(input[_eT]).toString()],
|
|
188
|
+
[_l]: [, input[_l]],
|
|
189
|
+
[_so]: [, input[_so]],
|
|
190
|
+
[_iCE]: [() => input.includeChildEvents !== void 0, () => input[_iCE].toString()],
|
|
191
|
+
[_aNEA]: [, input[_aNEA]],
|
|
192
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
193
|
+
[_nT]: [, input[_nT]],
|
|
194
|
+
});
|
|
195
|
+
let body;
|
|
196
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
197
|
+
return b.build();
|
|
198
|
+
};
|
|
199
|
+
exports.se_ListNotificationEventsCommand = se_ListNotificationEventsCommand;
|
|
200
|
+
const se_ListNotificationHubsCommand = async (input, context) => {
|
|
201
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
202
|
+
const headers = {};
|
|
203
|
+
b.bp("/notification-hubs");
|
|
204
|
+
const query = (0, smithy_client_1.map)({
|
|
205
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
206
|
+
[_nT]: [, input[_nT]],
|
|
207
|
+
});
|
|
208
|
+
let body;
|
|
209
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
210
|
+
return b.build();
|
|
211
|
+
};
|
|
212
|
+
exports.se_ListNotificationHubsCommand = se_ListNotificationHubsCommand;
|
|
213
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
214
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
215
|
+
const headers = {};
|
|
216
|
+
b.bp("/tags/{arn}");
|
|
217
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
218
|
+
let body;
|
|
219
|
+
b.m("GET").h(headers).b(body);
|
|
220
|
+
return b.build();
|
|
221
|
+
};
|
|
222
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
223
|
+
const se_RegisterNotificationHubCommand = async (input, context) => {
|
|
224
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
225
|
+
const headers = {
|
|
226
|
+
"content-type": "application/json",
|
|
227
|
+
};
|
|
228
|
+
b.bp("/notification-hubs");
|
|
229
|
+
let body;
|
|
230
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
231
|
+
notificationHubRegion: [],
|
|
232
|
+
}));
|
|
233
|
+
b.m("POST").h(headers).b(body);
|
|
234
|
+
return b.build();
|
|
235
|
+
};
|
|
236
|
+
exports.se_RegisterNotificationHubCommand = se_RegisterNotificationHubCommand;
|
|
237
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
238
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
239
|
+
const headers = {
|
|
240
|
+
"content-type": "application/json",
|
|
241
|
+
};
|
|
242
|
+
b.bp("/tags/{arn}");
|
|
243
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
244
|
+
let body;
|
|
245
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
246
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
247
|
+
}));
|
|
248
|
+
b.m("POST").h(headers).b(body);
|
|
249
|
+
return b.build();
|
|
250
|
+
};
|
|
251
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
252
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
253
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
254
|
+
const headers = {};
|
|
255
|
+
b.bp("/tags/{arn}");
|
|
256
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
257
|
+
const query = (0, smithy_client_1.map)({
|
|
258
|
+
[_tK]: [(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
259
|
+
});
|
|
260
|
+
let body;
|
|
261
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
262
|
+
return b.build();
|
|
263
|
+
};
|
|
264
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
265
|
+
const se_UpdateEventRuleCommand = async (input, context) => {
|
|
266
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
267
|
+
const headers = {
|
|
268
|
+
"content-type": "application/json",
|
|
269
|
+
};
|
|
270
|
+
b.bp("/event-rules/{arn}");
|
|
271
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
272
|
+
let body;
|
|
273
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
274
|
+
eventPattern: [],
|
|
275
|
+
regions: (_) => (0, smithy_client_1._json)(_),
|
|
276
|
+
}));
|
|
277
|
+
b.m("PUT").h(headers).b(body);
|
|
278
|
+
return b.build();
|
|
279
|
+
};
|
|
280
|
+
exports.se_UpdateEventRuleCommand = se_UpdateEventRuleCommand;
|
|
281
|
+
const se_UpdateNotificationConfigurationCommand = async (input, context) => {
|
|
282
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
283
|
+
const headers = {
|
|
284
|
+
"content-type": "application/json",
|
|
285
|
+
};
|
|
286
|
+
b.bp("/notification-configurations/{arn}");
|
|
287
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
288
|
+
let body;
|
|
289
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
290
|
+
aggregationDuration: [],
|
|
291
|
+
description: [],
|
|
292
|
+
name: [],
|
|
293
|
+
}));
|
|
294
|
+
b.m("PUT").h(headers).b(body);
|
|
295
|
+
return b.build();
|
|
296
|
+
};
|
|
297
|
+
exports.se_UpdateNotificationConfigurationCommand = se_UpdateNotificationConfigurationCommand;
|
|
298
|
+
const de_AssociateChannelCommand = async (output, context) => {
|
|
299
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
300
|
+
return de_CommandError(output, context);
|
|
301
|
+
}
|
|
302
|
+
const contents = (0, smithy_client_1.map)({
|
|
303
|
+
$metadata: deserializeMetadata(output),
|
|
304
|
+
});
|
|
305
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
306
|
+
return contents;
|
|
307
|
+
};
|
|
308
|
+
exports.de_AssociateChannelCommand = de_AssociateChannelCommand;
|
|
309
|
+
const de_CreateEventRuleCommand = async (output, context) => {
|
|
310
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
311
|
+
return de_CommandError(output, context);
|
|
312
|
+
}
|
|
313
|
+
const contents = (0, smithy_client_1.map)({
|
|
314
|
+
$metadata: deserializeMetadata(output),
|
|
315
|
+
});
|
|
316
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
317
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
318
|
+
arn: smithy_client_1.expectString,
|
|
319
|
+
notificationConfigurationArn: smithy_client_1.expectString,
|
|
320
|
+
statusSummaryByRegion: smithy_client_1._json,
|
|
321
|
+
});
|
|
322
|
+
Object.assign(contents, doc);
|
|
323
|
+
return contents;
|
|
324
|
+
};
|
|
325
|
+
exports.de_CreateEventRuleCommand = de_CreateEventRuleCommand;
|
|
326
|
+
const de_CreateNotificationConfigurationCommand = async (output, context) => {
|
|
327
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
328
|
+
return de_CommandError(output, context);
|
|
329
|
+
}
|
|
330
|
+
const contents = (0, smithy_client_1.map)({
|
|
331
|
+
$metadata: deserializeMetadata(output),
|
|
332
|
+
});
|
|
333
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
334
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
335
|
+
arn: smithy_client_1.expectString,
|
|
336
|
+
status: smithy_client_1.expectString,
|
|
337
|
+
});
|
|
338
|
+
Object.assign(contents, doc);
|
|
339
|
+
return contents;
|
|
340
|
+
};
|
|
341
|
+
exports.de_CreateNotificationConfigurationCommand = de_CreateNotificationConfigurationCommand;
|
|
342
|
+
const de_DeleteEventRuleCommand = async (output, context) => {
|
|
343
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
344
|
+
return de_CommandError(output, context);
|
|
345
|
+
}
|
|
346
|
+
const contents = (0, smithy_client_1.map)({
|
|
347
|
+
$metadata: deserializeMetadata(output),
|
|
348
|
+
});
|
|
349
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
350
|
+
return contents;
|
|
351
|
+
};
|
|
352
|
+
exports.de_DeleteEventRuleCommand = de_DeleteEventRuleCommand;
|
|
353
|
+
const de_DeleteNotificationConfigurationCommand = async (output, context) => {
|
|
354
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
355
|
+
return de_CommandError(output, context);
|
|
356
|
+
}
|
|
357
|
+
const contents = (0, smithy_client_1.map)({
|
|
358
|
+
$metadata: deserializeMetadata(output),
|
|
359
|
+
});
|
|
360
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
361
|
+
return contents;
|
|
362
|
+
};
|
|
363
|
+
exports.de_DeleteNotificationConfigurationCommand = de_DeleteNotificationConfigurationCommand;
|
|
364
|
+
const de_DeregisterNotificationHubCommand = async (output, context) => {
|
|
365
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
366
|
+
return de_CommandError(output, context);
|
|
367
|
+
}
|
|
368
|
+
const contents = (0, smithy_client_1.map)({
|
|
369
|
+
$metadata: deserializeMetadata(output),
|
|
370
|
+
});
|
|
371
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
372
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
373
|
+
notificationHubRegion: smithy_client_1.expectString,
|
|
374
|
+
statusSummary: smithy_client_1._json,
|
|
375
|
+
});
|
|
376
|
+
Object.assign(contents, doc);
|
|
377
|
+
return contents;
|
|
378
|
+
};
|
|
379
|
+
exports.de_DeregisterNotificationHubCommand = de_DeregisterNotificationHubCommand;
|
|
380
|
+
const de_DisassociateChannelCommand = async (output, context) => {
|
|
381
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
382
|
+
return de_CommandError(output, context);
|
|
383
|
+
}
|
|
384
|
+
const contents = (0, smithy_client_1.map)({
|
|
385
|
+
$metadata: deserializeMetadata(output),
|
|
386
|
+
});
|
|
387
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
388
|
+
return contents;
|
|
389
|
+
};
|
|
390
|
+
exports.de_DisassociateChannelCommand = de_DisassociateChannelCommand;
|
|
391
|
+
const de_GetEventRuleCommand = async (output, context) => {
|
|
392
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
393
|
+
return de_CommandError(output, context);
|
|
394
|
+
}
|
|
395
|
+
const contents = (0, smithy_client_1.map)({
|
|
396
|
+
$metadata: deserializeMetadata(output),
|
|
397
|
+
});
|
|
398
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
399
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
400
|
+
arn: smithy_client_1.expectString,
|
|
401
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
402
|
+
eventPattern: smithy_client_1.expectString,
|
|
403
|
+
eventType: smithy_client_1.expectString,
|
|
404
|
+
managedRules: smithy_client_1._json,
|
|
405
|
+
notificationConfigurationArn: smithy_client_1.expectString,
|
|
406
|
+
regions: smithy_client_1._json,
|
|
407
|
+
source: smithy_client_1.expectString,
|
|
408
|
+
statusSummaryByRegion: smithy_client_1._json,
|
|
409
|
+
});
|
|
410
|
+
Object.assign(contents, doc);
|
|
411
|
+
return contents;
|
|
412
|
+
};
|
|
413
|
+
exports.de_GetEventRuleCommand = de_GetEventRuleCommand;
|
|
414
|
+
const de_GetNotificationConfigurationCommand = async (output, context) => {
|
|
415
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
416
|
+
return de_CommandError(output, context);
|
|
417
|
+
}
|
|
418
|
+
const contents = (0, smithy_client_1.map)({
|
|
419
|
+
$metadata: deserializeMetadata(output),
|
|
420
|
+
});
|
|
421
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
422
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
423
|
+
aggregationDuration: smithy_client_1.expectString,
|
|
424
|
+
arn: smithy_client_1.expectString,
|
|
425
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
426
|
+
description: smithy_client_1.expectString,
|
|
427
|
+
name: smithy_client_1.expectString,
|
|
428
|
+
status: smithy_client_1.expectString,
|
|
429
|
+
});
|
|
430
|
+
Object.assign(contents, doc);
|
|
431
|
+
return contents;
|
|
432
|
+
};
|
|
433
|
+
exports.de_GetNotificationConfigurationCommand = de_GetNotificationConfigurationCommand;
|
|
434
|
+
const de_GetNotificationEventCommand = async (output, context) => {
|
|
435
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
436
|
+
return de_CommandError(output, context);
|
|
437
|
+
}
|
|
438
|
+
const contents = (0, smithy_client_1.map)({
|
|
439
|
+
$metadata: deserializeMetadata(output),
|
|
440
|
+
});
|
|
441
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
442
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
443
|
+
arn: smithy_client_1.expectString,
|
|
444
|
+
content: (_) => de_NotificationEventSchema(_, context),
|
|
445
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
446
|
+
notificationConfigurationArn: smithy_client_1.expectString,
|
|
447
|
+
});
|
|
448
|
+
Object.assign(contents, doc);
|
|
449
|
+
return contents;
|
|
450
|
+
};
|
|
451
|
+
exports.de_GetNotificationEventCommand = de_GetNotificationEventCommand;
|
|
452
|
+
const de_ListChannelsCommand = async (output, context) => {
|
|
453
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
454
|
+
return de_CommandError(output, context);
|
|
455
|
+
}
|
|
456
|
+
const contents = (0, smithy_client_1.map)({
|
|
457
|
+
$metadata: deserializeMetadata(output),
|
|
458
|
+
});
|
|
459
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
460
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
461
|
+
channels: smithy_client_1._json,
|
|
462
|
+
nextToken: smithy_client_1.expectString,
|
|
463
|
+
});
|
|
464
|
+
Object.assign(contents, doc);
|
|
465
|
+
return contents;
|
|
466
|
+
};
|
|
467
|
+
exports.de_ListChannelsCommand = de_ListChannelsCommand;
|
|
468
|
+
const de_ListEventRulesCommand = async (output, context) => {
|
|
469
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
470
|
+
return de_CommandError(output, context);
|
|
471
|
+
}
|
|
472
|
+
const contents = (0, smithy_client_1.map)({
|
|
473
|
+
$metadata: deserializeMetadata(output),
|
|
474
|
+
});
|
|
475
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
476
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
477
|
+
eventRules: (_) => de_EventRules(_, context),
|
|
478
|
+
nextToken: smithy_client_1.expectString,
|
|
479
|
+
});
|
|
480
|
+
Object.assign(contents, doc);
|
|
481
|
+
return contents;
|
|
482
|
+
};
|
|
483
|
+
exports.de_ListEventRulesCommand = de_ListEventRulesCommand;
|
|
484
|
+
const de_ListNotificationConfigurationsCommand = async (output, context) => {
|
|
485
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
486
|
+
return de_CommandError(output, context);
|
|
487
|
+
}
|
|
488
|
+
const contents = (0, smithy_client_1.map)({
|
|
489
|
+
$metadata: deserializeMetadata(output),
|
|
490
|
+
});
|
|
491
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
492
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
493
|
+
nextToken: smithy_client_1.expectString,
|
|
494
|
+
notificationConfigurations: (_) => de_NotificationConfigurations(_, context),
|
|
495
|
+
});
|
|
496
|
+
Object.assign(contents, doc);
|
|
497
|
+
return contents;
|
|
498
|
+
};
|
|
499
|
+
exports.de_ListNotificationConfigurationsCommand = de_ListNotificationConfigurationsCommand;
|
|
500
|
+
const de_ListNotificationEventsCommand = async (output, context) => {
|
|
501
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
502
|
+
return de_CommandError(output, context);
|
|
503
|
+
}
|
|
504
|
+
const contents = (0, smithy_client_1.map)({
|
|
505
|
+
$metadata: deserializeMetadata(output),
|
|
506
|
+
});
|
|
507
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
508
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
509
|
+
nextToken: smithy_client_1.expectString,
|
|
510
|
+
notificationEvents: (_) => de_NotificationEvents(_, context),
|
|
511
|
+
});
|
|
512
|
+
Object.assign(contents, doc);
|
|
513
|
+
return contents;
|
|
514
|
+
};
|
|
515
|
+
exports.de_ListNotificationEventsCommand = de_ListNotificationEventsCommand;
|
|
516
|
+
const de_ListNotificationHubsCommand = async (output, context) => {
|
|
517
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
518
|
+
return de_CommandError(output, context);
|
|
519
|
+
}
|
|
520
|
+
const contents = (0, smithy_client_1.map)({
|
|
521
|
+
$metadata: deserializeMetadata(output),
|
|
522
|
+
});
|
|
523
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
524
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
525
|
+
nextToken: smithy_client_1.expectString,
|
|
526
|
+
notificationHubs: (_) => de_NotificationHubs(_, context),
|
|
527
|
+
});
|
|
528
|
+
Object.assign(contents, doc);
|
|
529
|
+
return contents;
|
|
530
|
+
};
|
|
531
|
+
exports.de_ListNotificationHubsCommand = de_ListNotificationHubsCommand;
|
|
532
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
533
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
534
|
+
return de_CommandError(output, context);
|
|
535
|
+
}
|
|
536
|
+
const contents = (0, smithy_client_1.map)({
|
|
537
|
+
$metadata: deserializeMetadata(output),
|
|
538
|
+
});
|
|
539
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
540
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
541
|
+
tags: smithy_client_1._json,
|
|
542
|
+
});
|
|
543
|
+
Object.assign(contents, doc);
|
|
544
|
+
return contents;
|
|
545
|
+
};
|
|
546
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
547
|
+
const de_RegisterNotificationHubCommand = async (output, context) => {
|
|
548
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
549
|
+
return de_CommandError(output, context);
|
|
550
|
+
}
|
|
551
|
+
const contents = (0, smithy_client_1.map)({
|
|
552
|
+
$metadata: deserializeMetadata(output),
|
|
553
|
+
});
|
|
554
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
555
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
556
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
557
|
+
lastActivationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
558
|
+
notificationHubRegion: smithy_client_1.expectString,
|
|
559
|
+
statusSummary: smithy_client_1._json,
|
|
560
|
+
});
|
|
561
|
+
Object.assign(contents, doc);
|
|
562
|
+
return contents;
|
|
563
|
+
};
|
|
564
|
+
exports.de_RegisterNotificationHubCommand = de_RegisterNotificationHubCommand;
|
|
565
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
566
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
567
|
+
return de_CommandError(output, context);
|
|
568
|
+
}
|
|
569
|
+
const contents = (0, smithy_client_1.map)({
|
|
570
|
+
$metadata: deserializeMetadata(output),
|
|
571
|
+
});
|
|
572
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
573
|
+
return contents;
|
|
574
|
+
};
|
|
575
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
576
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
577
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
578
|
+
return de_CommandError(output, context);
|
|
579
|
+
}
|
|
580
|
+
const contents = (0, smithy_client_1.map)({
|
|
581
|
+
$metadata: deserializeMetadata(output),
|
|
582
|
+
});
|
|
583
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
584
|
+
return contents;
|
|
585
|
+
};
|
|
586
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
587
|
+
const de_UpdateEventRuleCommand = async (output, context) => {
|
|
588
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
589
|
+
return de_CommandError(output, context);
|
|
590
|
+
}
|
|
591
|
+
const contents = (0, smithy_client_1.map)({
|
|
592
|
+
$metadata: deserializeMetadata(output),
|
|
593
|
+
});
|
|
594
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
595
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
596
|
+
arn: smithy_client_1.expectString,
|
|
597
|
+
notificationConfigurationArn: smithy_client_1.expectString,
|
|
598
|
+
statusSummaryByRegion: smithy_client_1._json,
|
|
599
|
+
});
|
|
600
|
+
Object.assign(contents, doc);
|
|
601
|
+
return contents;
|
|
602
|
+
};
|
|
603
|
+
exports.de_UpdateEventRuleCommand = de_UpdateEventRuleCommand;
|
|
604
|
+
const de_UpdateNotificationConfigurationCommand = async (output, context) => {
|
|
605
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
606
|
+
return de_CommandError(output, context);
|
|
607
|
+
}
|
|
608
|
+
const contents = (0, smithy_client_1.map)({
|
|
609
|
+
$metadata: deserializeMetadata(output),
|
|
610
|
+
});
|
|
611
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
612
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
613
|
+
arn: smithy_client_1.expectString,
|
|
614
|
+
});
|
|
615
|
+
Object.assign(contents, doc);
|
|
616
|
+
return contents;
|
|
617
|
+
};
|
|
618
|
+
exports.de_UpdateNotificationConfigurationCommand = de_UpdateNotificationConfigurationCommand;
|
|
619
|
+
const de_CommandError = async (output, context) => {
|
|
620
|
+
const parsedOutput = {
|
|
621
|
+
...output,
|
|
622
|
+
body: await (0, core_1.parseJsonErrorBody)(output.body, context),
|
|
623
|
+
};
|
|
624
|
+
const errorCode = (0, core_1.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
625
|
+
switch (errorCode) {
|
|
626
|
+
case "AccessDeniedException":
|
|
627
|
+
case "com.amazonaws.notifications#AccessDeniedException":
|
|
628
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
629
|
+
case "ConflictException":
|
|
630
|
+
case "com.amazonaws.notifications#ConflictException":
|
|
631
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
632
|
+
case "InternalServerException":
|
|
633
|
+
case "com.amazonaws.notifications#InternalServerException":
|
|
634
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
635
|
+
case "ResourceNotFoundException":
|
|
636
|
+
case "com.amazonaws.notifications#ResourceNotFoundException":
|
|
637
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
638
|
+
case "ServiceQuotaExceededException":
|
|
639
|
+
case "com.amazonaws.notifications#ServiceQuotaExceededException":
|
|
640
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
641
|
+
case "ThrottlingException":
|
|
642
|
+
case "com.amazonaws.notifications#ThrottlingException":
|
|
643
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
644
|
+
case "ValidationException":
|
|
645
|
+
case "com.amazonaws.notifications#ValidationException":
|
|
646
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
647
|
+
default:
|
|
648
|
+
const parsedBody = parsedOutput.body;
|
|
649
|
+
return throwDefaultError({
|
|
650
|
+
output,
|
|
651
|
+
parsedBody,
|
|
652
|
+
errorCode,
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
};
|
|
656
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(NotificationsServiceException_1.NotificationsServiceException);
|
|
657
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
658
|
+
const contents = (0, smithy_client_1.map)({});
|
|
659
|
+
const data = parsedOutput.body;
|
|
660
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
661
|
+
message: smithy_client_1.expectString,
|
|
662
|
+
});
|
|
663
|
+
Object.assign(contents, doc);
|
|
664
|
+
const exception = new models_0_1.AccessDeniedException({
|
|
665
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
666
|
+
...contents,
|
|
667
|
+
});
|
|
668
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
669
|
+
};
|
|
670
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
671
|
+
const contents = (0, smithy_client_1.map)({});
|
|
672
|
+
const data = parsedOutput.body;
|
|
673
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
674
|
+
message: smithy_client_1.expectString,
|
|
675
|
+
resourceId: smithy_client_1.expectString,
|
|
676
|
+
});
|
|
677
|
+
Object.assign(contents, doc);
|
|
678
|
+
const exception = new models_0_1.ConflictException({
|
|
679
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
680
|
+
...contents,
|
|
681
|
+
});
|
|
682
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
683
|
+
};
|
|
684
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
685
|
+
const contents = (0, smithy_client_1.map)({});
|
|
686
|
+
const data = parsedOutput.body;
|
|
687
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
688
|
+
message: smithy_client_1.expectString,
|
|
689
|
+
});
|
|
690
|
+
Object.assign(contents, doc);
|
|
691
|
+
const exception = new models_0_1.InternalServerException({
|
|
692
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
693
|
+
...contents,
|
|
694
|
+
});
|
|
695
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
696
|
+
};
|
|
697
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
698
|
+
const contents = (0, smithy_client_1.map)({});
|
|
699
|
+
const data = parsedOutput.body;
|
|
700
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
701
|
+
message: smithy_client_1.expectString,
|
|
702
|
+
resourceId: smithy_client_1.expectString,
|
|
703
|
+
});
|
|
704
|
+
Object.assign(contents, doc);
|
|
705
|
+
const exception = new models_0_1.ResourceNotFoundException({
|
|
706
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
707
|
+
...contents,
|
|
708
|
+
});
|
|
709
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
710
|
+
};
|
|
711
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
712
|
+
const contents = (0, smithy_client_1.map)({});
|
|
713
|
+
const data = parsedOutput.body;
|
|
714
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
715
|
+
message: smithy_client_1.expectString,
|
|
716
|
+
quotaCode: smithy_client_1.expectString,
|
|
717
|
+
resourceId: smithy_client_1.expectString,
|
|
718
|
+
resourceType: smithy_client_1.expectString,
|
|
719
|
+
serviceCode: smithy_client_1.expectString,
|
|
720
|
+
});
|
|
721
|
+
Object.assign(contents, doc);
|
|
722
|
+
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
723
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
724
|
+
...contents,
|
|
725
|
+
});
|
|
726
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
727
|
+
};
|
|
728
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
729
|
+
const contents = (0, smithy_client_1.map)({
|
|
730
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
|
|
731
|
+
});
|
|
732
|
+
const data = parsedOutput.body;
|
|
733
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
734
|
+
message: smithy_client_1.expectString,
|
|
735
|
+
quotaCode: smithy_client_1.expectString,
|
|
736
|
+
serviceCode: smithy_client_1.expectString,
|
|
737
|
+
});
|
|
738
|
+
Object.assign(contents, doc);
|
|
739
|
+
const exception = new models_0_1.ThrottlingException({
|
|
740
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
741
|
+
...contents,
|
|
742
|
+
});
|
|
743
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
744
|
+
};
|
|
745
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
746
|
+
const contents = (0, smithy_client_1.map)({});
|
|
747
|
+
const data = parsedOutput.body;
|
|
748
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
749
|
+
fieldList: smithy_client_1._json,
|
|
750
|
+
message: smithy_client_1.expectString,
|
|
751
|
+
reason: smithy_client_1.expectString,
|
|
752
|
+
});
|
|
753
|
+
Object.assign(contents, doc);
|
|
754
|
+
const exception = new models_0_1.ValidationException({
|
|
755
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
756
|
+
...contents,
|
|
757
|
+
});
|
|
758
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
759
|
+
};
|
|
760
|
+
const de_EventRules = (output, context) => {
|
|
761
|
+
const retVal = (output || [])
|
|
762
|
+
.filter((e) => e != null)
|
|
763
|
+
.map((entry) => {
|
|
764
|
+
return de_EventRuleStructure(entry, context);
|
|
765
|
+
});
|
|
766
|
+
return retVal;
|
|
767
|
+
};
|
|
768
|
+
const de_EventRuleStructure = (output, context) => {
|
|
769
|
+
return (0, smithy_client_1.take)(output, {
|
|
770
|
+
arn: smithy_client_1.expectString,
|
|
771
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
772
|
+
eventPattern: smithy_client_1.expectString,
|
|
773
|
+
eventType: smithy_client_1.expectString,
|
|
774
|
+
managedRules: smithy_client_1._json,
|
|
775
|
+
notificationConfigurationArn: smithy_client_1.expectString,
|
|
776
|
+
regions: smithy_client_1._json,
|
|
777
|
+
source: smithy_client_1.expectString,
|
|
778
|
+
statusSummaryByRegion: smithy_client_1._json,
|
|
779
|
+
});
|
|
780
|
+
};
|
|
781
|
+
const de_NotificationConfigurations = (output, context) => {
|
|
782
|
+
const retVal = (output || [])
|
|
783
|
+
.filter((e) => e != null)
|
|
784
|
+
.map((entry) => {
|
|
785
|
+
return de_NotificationConfigurationStructure(entry, context);
|
|
786
|
+
});
|
|
787
|
+
return retVal;
|
|
788
|
+
};
|
|
789
|
+
const de_NotificationConfigurationStructure = (output, context) => {
|
|
790
|
+
return (0, smithy_client_1.take)(output, {
|
|
791
|
+
aggregationDuration: smithy_client_1.expectString,
|
|
792
|
+
arn: smithy_client_1.expectString,
|
|
793
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
794
|
+
description: smithy_client_1.expectString,
|
|
795
|
+
name: smithy_client_1.expectString,
|
|
796
|
+
status: smithy_client_1.expectString,
|
|
797
|
+
});
|
|
798
|
+
};
|
|
799
|
+
const de_NotificationEventOverview = (output, context) => {
|
|
800
|
+
return (0, smithy_client_1.take)(output, {
|
|
801
|
+
aggregateNotificationEventArn: smithy_client_1.expectString,
|
|
802
|
+
aggregationEventType: smithy_client_1.expectString,
|
|
803
|
+
arn: smithy_client_1.expectString,
|
|
804
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
805
|
+
notificationConfigurationArn: smithy_client_1.expectString,
|
|
806
|
+
notificationEvent: smithy_client_1._json,
|
|
807
|
+
relatedAccount: smithy_client_1.expectString,
|
|
808
|
+
});
|
|
809
|
+
};
|
|
810
|
+
const de_NotificationEvents = (output, context) => {
|
|
811
|
+
const retVal = (output || [])
|
|
812
|
+
.filter((e) => e != null)
|
|
813
|
+
.map((entry) => {
|
|
814
|
+
return de_NotificationEventOverview(entry, context);
|
|
815
|
+
});
|
|
816
|
+
return retVal;
|
|
817
|
+
};
|
|
818
|
+
const de_NotificationEventSchema = (output, context) => {
|
|
819
|
+
return (0, smithy_client_1.take)(output, {
|
|
820
|
+
aggregateNotificationEventArn: smithy_client_1.expectString,
|
|
821
|
+
aggregationEventType: smithy_client_1.expectString,
|
|
822
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
823
|
+
eventStatus: smithy_client_1.expectString,
|
|
824
|
+
id: smithy_client_1.expectString,
|
|
825
|
+
media: smithy_client_1._json,
|
|
826
|
+
messageComponents: smithy_client_1._json,
|
|
827
|
+
notificationType: smithy_client_1.expectString,
|
|
828
|
+
schemaVersion: smithy_client_1.expectString,
|
|
829
|
+
sourceEventDetailUrl: smithy_client_1.expectString,
|
|
830
|
+
sourceEventDetailUrlDisplayText: smithy_client_1.expectString,
|
|
831
|
+
sourceEventMetadata: (_) => de_SourceEventMetadata(_, context),
|
|
832
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
833
|
+
textParts: smithy_client_1._json,
|
|
834
|
+
});
|
|
835
|
+
};
|
|
836
|
+
const de_NotificationHubOverview = (output, context) => {
|
|
837
|
+
return (0, smithy_client_1.take)(output, {
|
|
838
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
839
|
+
lastActivationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
840
|
+
notificationHubRegion: smithy_client_1.expectString,
|
|
841
|
+
statusSummary: smithy_client_1._json,
|
|
842
|
+
});
|
|
843
|
+
};
|
|
844
|
+
const de_NotificationHubs = (output, context) => {
|
|
845
|
+
const retVal = (output || [])
|
|
846
|
+
.filter((e) => e != null)
|
|
847
|
+
.map((entry) => {
|
|
848
|
+
return de_NotificationHubOverview(entry, context);
|
|
849
|
+
});
|
|
850
|
+
return retVal;
|
|
851
|
+
};
|
|
852
|
+
const de_SourceEventMetadata = (output, context) => {
|
|
853
|
+
return (0, smithy_client_1.take)(output, {
|
|
854
|
+
eventOccurrenceTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
855
|
+
eventOriginRegion: smithy_client_1.expectString,
|
|
856
|
+
eventType: smithy_client_1.expectString,
|
|
857
|
+
eventTypeVersion: smithy_client_1.expectString,
|
|
858
|
+
relatedAccount: smithy_client_1.expectString,
|
|
859
|
+
relatedResources: smithy_client_1._json,
|
|
860
|
+
source: smithy_client_1.expectString,
|
|
861
|
+
sourceEventId: smithy_client_1.expectString,
|
|
862
|
+
});
|
|
863
|
+
};
|
|
864
|
+
const deserializeMetadata = (output) => ({
|
|
865
|
+
httpStatusCode: output.statusCode,
|
|
866
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
867
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
868
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
869
|
+
});
|
|
870
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
871
|
+
const _aNEA = "aggregateNotificationEventArn";
|
|
872
|
+
const _cA = "channelArn";
|
|
873
|
+
const _eRS = "eventRuleSource";
|
|
874
|
+
const _eT = "endTime";
|
|
875
|
+
const _iCE = "includeChildEvents";
|
|
876
|
+
const _l = "locale";
|
|
877
|
+
const _mR = "maxResults";
|
|
878
|
+
const _nCA = "notificationConfigurationArn";
|
|
879
|
+
const _nT = "nextToken";
|
|
880
|
+
const _rAS = "retryAfterSeconds";
|
|
881
|
+
const _ra = "retry-after";
|
|
882
|
+
const _s = "status";
|
|
883
|
+
const _sT = "startTime";
|
|
884
|
+
const _so = "source";
|
|
885
|
+
const _tK = "tagKeys";
|