@aws-sdk/client-notifications 3.891.0 → 3.894.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/dist-cjs/index.js +2899 -10
- package/package.json +19 -19
- package/dist-cjs/Notifications.js +0 -89
- package/dist-cjs/NotificationsClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/AssociateChannelCommand.js +0 -26
- package/dist-cjs/commands/AssociateManagedNotificationAccountContactCommand.js +0 -26
- package/dist-cjs/commands/AssociateManagedNotificationAdditionalChannelCommand.js +0 -26
- package/dist-cjs/commands/AssociateOrganizationalUnitCommand.js +0 -26
- package/dist-cjs/commands/CreateEventRuleCommand.js +0 -26
- package/dist-cjs/commands/CreateNotificationConfigurationCommand.js +0 -26
- package/dist-cjs/commands/DeleteEventRuleCommand.js +0 -26
- package/dist-cjs/commands/DeleteNotificationConfigurationCommand.js +0 -26
- package/dist-cjs/commands/DeregisterNotificationHubCommand.js +0 -26
- package/dist-cjs/commands/DisableNotificationsAccessForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/DisassociateChannelCommand.js +0 -26
- package/dist-cjs/commands/DisassociateManagedNotificationAccountContactCommand.js +0 -26
- package/dist-cjs/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +0 -26
- package/dist-cjs/commands/DisassociateOrganizationalUnitCommand.js +0 -26
- package/dist-cjs/commands/EnableNotificationsAccessForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/GetEventRuleCommand.js +0 -26
- package/dist-cjs/commands/GetManagedNotificationChildEventCommand.js +0 -26
- package/dist-cjs/commands/GetManagedNotificationConfigurationCommand.js +0 -26
- package/dist-cjs/commands/GetManagedNotificationEventCommand.js +0 -26
- package/dist-cjs/commands/GetNotificationConfigurationCommand.js +0 -26
- package/dist-cjs/commands/GetNotificationEventCommand.js +0 -26
- package/dist-cjs/commands/GetNotificationsAccessForOrganizationCommand.js +0 -26
- package/dist-cjs/commands/ListChannelsCommand.js +0 -26
- package/dist-cjs/commands/ListEventRulesCommand.js +0 -26
- package/dist-cjs/commands/ListManagedNotificationChannelAssociationsCommand.js +0 -26
- package/dist-cjs/commands/ListManagedNotificationChildEventsCommand.js +0 -26
- package/dist-cjs/commands/ListManagedNotificationConfigurationsCommand.js +0 -26
- package/dist-cjs/commands/ListManagedNotificationEventsCommand.js +0 -26
- package/dist-cjs/commands/ListMemberAccountsCommand.js +0 -26
- package/dist-cjs/commands/ListNotificationConfigurationsCommand.js +0 -26
- package/dist-cjs/commands/ListNotificationEventsCommand.js +0 -26
- package/dist-cjs/commands/ListNotificationHubsCommand.js +0 -26
- package/dist-cjs/commands/ListOrganizationalUnitsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/RegisterNotificationHubCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateEventRuleCommand.js +0 -26
- package/dist-cjs/commands/UpdateNotificationConfigurationCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -42
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/NotificationsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -225
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListChannelsPaginator.js +0 -7
- package/dist-cjs/pagination/ListEventRulesPaginator.js +0 -7
- package/dist-cjs/pagination/ListManagedNotificationChannelAssociationsPaginator.js +0 -7
- package/dist-cjs/pagination/ListManagedNotificationChildEventsPaginator.js +0 -7
- package/dist-cjs/pagination/ListManagedNotificationConfigurationsPaginator.js +0 -7
- package/dist-cjs/pagination/ListManagedNotificationEventsPaginator.js +0 -7
- package/dist-cjs/pagination/ListMemberAccountsPaginator.js +0 -7
- package/dist-cjs/pagination/ListNotificationConfigurationsPaginator.js +0 -7
- package/dist-cjs/pagination/ListNotificationEventsPaginator.js +0 -7
- package/dist-cjs/pagination/ListNotificationHubsPaginator.js +0 -7
- package/dist-cjs/pagination/ListOrganizationalUnitsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -15
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1478
- package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,2900 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AccessStatus: () => AccessStatus,
|
|
26
|
+
AccountContactType: () => AccountContactType,
|
|
27
|
+
AggregationDuration: () => AggregationDuration,
|
|
28
|
+
AggregationEventType: () => AggregationEventType,
|
|
29
|
+
AssociateChannelCommand: () => AssociateChannelCommand,
|
|
30
|
+
AssociateManagedNotificationAccountContactCommand: () => AssociateManagedNotificationAccountContactCommand,
|
|
31
|
+
AssociateManagedNotificationAdditionalChannelCommand: () => AssociateManagedNotificationAdditionalChannelCommand,
|
|
32
|
+
AssociateOrganizationalUnitCommand: () => AssociateOrganizationalUnitCommand,
|
|
33
|
+
ChannelAssociationOverrideOption: () => ChannelAssociationOverrideOption,
|
|
34
|
+
ChannelType: () => ChannelType,
|
|
35
|
+
ConflictException: () => ConflictException,
|
|
36
|
+
CreateEventRuleCommand: () => CreateEventRuleCommand,
|
|
37
|
+
CreateNotificationConfigurationCommand: () => CreateNotificationConfigurationCommand,
|
|
38
|
+
DeleteEventRuleCommand: () => DeleteEventRuleCommand,
|
|
39
|
+
DeleteNotificationConfigurationCommand: () => DeleteNotificationConfigurationCommand,
|
|
40
|
+
DeregisterNotificationHubCommand: () => DeregisterNotificationHubCommand,
|
|
41
|
+
DisableNotificationsAccessForOrganizationCommand: () => DisableNotificationsAccessForOrganizationCommand,
|
|
42
|
+
DisassociateChannelCommand: () => DisassociateChannelCommand,
|
|
43
|
+
DisassociateManagedNotificationAccountContactCommand: () => DisassociateManagedNotificationAccountContactCommand,
|
|
44
|
+
DisassociateManagedNotificationAdditionalChannelCommand: () => DisassociateManagedNotificationAdditionalChannelCommand,
|
|
45
|
+
DisassociateOrganizationalUnitCommand: () => DisassociateOrganizationalUnitCommand,
|
|
46
|
+
EnableNotificationsAccessForOrganizationCommand: () => EnableNotificationsAccessForOrganizationCommand,
|
|
47
|
+
EventRuleStatus: () => EventRuleStatus,
|
|
48
|
+
EventStatus: () => EventStatus,
|
|
49
|
+
GetEventRuleCommand: () => GetEventRuleCommand,
|
|
50
|
+
GetManagedNotificationChildEventCommand: () => GetManagedNotificationChildEventCommand,
|
|
51
|
+
GetManagedNotificationConfigurationCommand: () => GetManagedNotificationConfigurationCommand,
|
|
52
|
+
GetManagedNotificationEventCommand: () => GetManagedNotificationEventCommand,
|
|
53
|
+
GetNotificationConfigurationCommand: () => GetNotificationConfigurationCommand,
|
|
54
|
+
GetNotificationEventCommand: () => GetNotificationEventCommand,
|
|
55
|
+
GetNotificationsAccessForOrganizationCommand: () => GetNotificationsAccessForOrganizationCommand,
|
|
56
|
+
InternalServerException: () => InternalServerException,
|
|
57
|
+
ListChannelsCommand: () => ListChannelsCommand,
|
|
58
|
+
ListEventRulesCommand: () => ListEventRulesCommand,
|
|
59
|
+
ListManagedNotificationChannelAssociationsCommand: () => ListManagedNotificationChannelAssociationsCommand,
|
|
60
|
+
ListManagedNotificationChildEventsCommand: () => ListManagedNotificationChildEventsCommand,
|
|
61
|
+
ListManagedNotificationConfigurationsCommand: () => ListManagedNotificationConfigurationsCommand,
|
|
62
|
+
ListManagedNotificationEventsCommand: () => ListManagedNotificationEventsCommand,
|
|
63
|
+
ListMemberAccountsCommand: () => ListMemberAccountsCommand,
|
|
64
|
+
ListNotificationConfigurationsCommand: () => ListNotificationConfigurationsCommand,
|
|
65
|
+
ListNotificationEventsCommand: () => ListNotificationEventsCommand,
|
|
66
|
+
ListNotificationHubsCommand: () => ListNotificationHubsCommand,
|
|
67
|
+
ListOrganizationalUnitsCommand: () => ListOrganizationalUnitsCommand,
|
|
68
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
69
|
+
LocaleCode: () => LocaleCode,
|
|
70
|
+
MediaElementType: () => MediaElementType,
|
|
71
|
+
MemberAccountNotificationConfigurationStatus: () => MemberAccountNotificationConfigurationStatus,
|
|
72
|
+
NotificationConfigurationStatus: () => NotificationConfigurationStatus,
|
|
73
|
+
NotificationConfigurationSubtype: () => NotificationConfigurationSubtype,
|
|
74
|
+
NotificationHubStatus: () => NotificationHubStatus,
|
|
75
|
+
NotificationType: () => NotificationType,
|
|
76
|
+
Notifications: () => Notifications,
|
|
77
|
+
NotificationsClient: () => NotificationsClient,
|
|
78
|
+
NotificationsServiceException: () => NotificationsServiceException,
|
|
79
|
+
RegisterNotificationHubCommand: () => RegisterNotificationHubCommand,
|
|
80
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
81
|
+
SchemaVersion: () => SchemaVersion,
|
|
82
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
83
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
84
|
+
TextPartType: () => TextPartType,
|
|
85
|
+
ThrottlingException: () => ThrottlingException,
|
|
86
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
87
|
+
UpdateEventRuleCommand: () => UpdateEventRuleCommand,
|
|
88
|
+
UpdateNotificationConfigurationCommand: () => UpdateNotificationConfigurationCommand,
|
|
89
|
+
ValidationException: () => ValidationException,
|
|
90
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
91
|
+
__Client: () => import_smithy_client.Client,
|
|
92
|
+
paginateListChannels: () => paginateListChannels,
|
|
93
|
+
paginateListEventRules: () => paginateListEventRules,
|
|
94
|
+
paginateListManagedNotificationChannelAssociations: () => paginateListManagedNotificationChannelAssociations,
|
|
95
|
+
paginateListManagedNotificationChildEvents: () => paginateListManagedNotificationChildEvents,
|
|
96
|
+
paginateListManagedNotificationConfigurations: () => paginateListManagedNotificationConfigurations,
|
|
97
|
+
paginateListManagedNotificationEvents: () => paginateListManagedNotificationEvents,
|
|
98
|
+
paginateListMemberAccounts: () => paginateListMemberAccounts,
|
|
99
|
+
paginateListNotificationConfigurations: () => paginateListNotificationConfigurations,
|
|
100
|
+
paginateListNotificationEvents: () => paginateListNotificationEvents,
|
|
101
|
+
paginateListNotificationHubs: () => paginateListNotificationHubs,
|
|
102
|
+
paginateListOrganizationalUnits: () => paginateListOrganizationalUnits
|
|
103
|
+
});
|
|
104
|
+
module.exports = __toCommonJS(index_exports);
|
|
105
|
+
|
|
106
|
+
// src/NotificationsClient.ts
|
|
107
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
108
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
109
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
110
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
111
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
112
|
+
var import_core = require("@smithy/core");
|
|
113
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
114
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
115
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
116
|
+
|
|
117
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
118
|
+
|
|
119
|
+
// src/endpoint/EndpointParameters.ts
|
|
120
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
121
|
+
return Object.assign(options, {
|
|
122
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
123
|
+
defaultSigningName: "notifications"
|
|
124
|
+
});
|
|
125
|
+
}, "resolveClientEndpointParameters");
|
|
126
|
+
var commonParams = {
|
|
127
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
128
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
129
|
+
Region: { type: "builtInParams", name: "region" }
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// src/NotificationsClient.ts
|
|
133
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
134
|
+
|
|
135
|
+
// src/runtimeExtensions.ts
|
|
136
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
137
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
138
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
139
|
+
|
|
140
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
141
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
142
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
143
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
144
|
+
let _credentials = runtimeConfig.credentials;
|
|
145
|
+
return {
|
|
146
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
147
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
148
|
+
if (index === -1) {
|
|
149
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
150
|
+
} else {
|
|
151
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
httpAuthSchemes() {
|
|
155
|
+
return _httpAuthSchemes;
|
|
156
|
+
},
|
|
157
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
158
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
159
|
+
},
|
|
160
|
+
httpAuthSchemeProvider() {
|
|
161
|
+
return _httpAuthSchemeProvider;
|
|
162
|
+
},
|
|
163
|
+
setCredentials(credentials) {
|
|
164
|
+
_credentials = credentials;
|
|
165
|
+
},
|
|
166
|
+
credentials() {
|
|
167
|
+
return _credentials;
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
171
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
172
|
+
return {
|
|
173
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
174
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
175
|
+
credentials: config.credentials()
|
|
176
|
+
};
|
|
177
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
178
|
+
|
|
179
|
+
// src/runtimeExtensions.ts
|
|
180
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
181
|
+
const extensionConfiguration = Object.assign(
|
|
182
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
183
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
184
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
185
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
186
|
+
);
|
|
187
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
188
|
+
return Object.assign(
|
|
189
|
+
runtimeConfig,
|
|
190
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
191
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
192
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
193
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
194
|
+
);
|
|
195
|
+
}, "resolveRuntimeExtensions");
|
|
196
|
+
|
|
197
|
+
// src/NotificationsClient.ts
|
|
198
|
+
var NotificationsClient = class extends import_smithy_client.Client {
|
|
199
|
+
static {
|
|
200
|
+
__name(this, "NotificationsClient");
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* The resolved configuration of NotificationsClient class. This is resolved and normalized from the {@link NotificationsClientConfig | constructor configuration interface}.
|
|
204
|
+
*/
|
|
205
|
+
config;
|
|
206
|
+
constructor(...[configuration]) {
|
|
207
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
208
|
+
super(_config_0);
|
|
209
|
+
this.initConfig = _config_0;
|
|
210
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
211
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
212
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
213
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
214
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
215
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
216
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
217
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
218
|
+
this.config = _config_8;
|
|
219
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
220
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
221
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
222
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
223
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
224
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
225
|
+
this.middlewareStack.use(
|
|
226
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
227
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultNotificationsHttpAuthSchemeParametersProvider,
|
|
228
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
229
|
+
"aws.auth#sigv4": config.credentials
|
|
230
|
+
}), "identityProviderConfigProvider")
|
|
231
|
+
})
|
|
232
|
+
);
|
|
233
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
237
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
238
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
239
|
+
*/
|
|
240
|
+
destroy() {
|
|
241
|
+
super.destroy();
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
// src/Notifications.ts
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
// src/commands/AssociateChannelCommand.ts
|
|
249
|
+
|
|
250
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
// src/protocols/Aws_restJson1.ts
|
|
254
|
+
var import_core2 = require("@aws-sdk/core");
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
// src/models/NotificationsServiceException.ts
|
|
259
|
+
|
|
260
|
+
var NotificationsServiceException = class _NotificationsServiceException extends import_smithy_client.ServiceException {
|
|
261
|
+
static {
|
|
262
|
+
__name(this, "NotificationsServiceException");
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* @internal
|
|
266
|
+
*/
|
|
267
|
+
constructor(options) {
|
|
268
|
+
super(options);
|
|
269
|
+
Object.setPrototypeOf(this, _NotificationsServiceException.prototype);
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
// src/models/models_0.ts
|
|
274
|
+
var AccessDeniedException = class _AccessDeniedException extends NotificationsServiceException {
|
|
275
|
+
static {
|
|
276
|
+
__name(this, "AccessDeniedException");
|
|
277
|
+
}
|
|
278
|
+
name = "AccessDeniedException";
|
|
279
|
+
$fault = "client";
|
|
280
|
+
/**
|
|
281
|
+
* @internal
|
|
282
|
+
*/
|
|
283
|
+
constructor(opts) {
|
|
284
|
+
super({
|
|
285
|
+
name: "AccessDeniedException",
|
|
286
|
+
$fault: "client",
|
|
287
|
+
...opts
|
|
288
|
+
});
|
|
289
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
var AccessStatus = {
|
|
293
|
+
DISABLED: "DISABLED",
|
|
294
|
+
ENABLED: "ENABLED",
|
|
295
|
+
FAILED: "FAILED",
|
|
296
|
+
PENDING: "PENDING"
|
|
297
|
+
};
|
|
298
|
+
var AccountContactType = {
|
|
299
|
+
/**
|
|
300
|
+
* Alternate Billing Contact managed by AWS Account Management Service.
|
|
301
|
+
*
|
|
302
|
+
*/
|
|
303
|
+
ACCOUNT_ALTERNATE_BILLING: "ACCOUNT_ALTERNATE_BILLING",
|
|
304
|
+
/**
|
|
305
|
+
* Alternate Operations Contact managed by AWS Account Management Service.
|
|
306
|
+
*
|
|
307
|
+
*/
|
|
308
|
+
ACCOUNT_ALTERNATE_OPERATIONS: "ACCOUNT_ALTERNATE_OPERATIONS",
|
|
309
|
+
/**
|
|
310
|
+
* Alternate Security Contact managed by AWS Account Management Service.
|
|
311
|
+
*
|
|
312
|
+
*/
|
|
313
|
+
ACCOUNT_ALTERNATE_SECURITY: "ACCOUNT_ALTERNATE_SECURITY",
|
|
314
|
+
/**
|
|
315
|
+
* Primary Contact managed by AWS Account Management Service.
|
|
316
|
+
*
|
|
317
|
+
*/
|
|
318
|
+
ACCOUNT_PRIMARY: "ACCOUNT_PRIMARY"
|
|
319
|
+
};
|
|
320
|
+
var AggregationDuration = {
|
|
321
|
+
/**
|
|
322
|
+
* Aggregate notifications for long periods of time (12 hours)
|
|
323
|
+
*/
|
|
324
|
+
LONG: "LONG",
|
|
325
|
+
/**
|
|
326
|
+
* Do not aggregate notifications sourced from a notification configuration
|
|
327
|
+
*/
|
|
328
|
+
NONE: "NONE",
|
|
329
|
+
/**
|
|
330
|
+
* Aggregate notifications for short periods of time (5 mins)
|
|
331
|
+
*/
|
|
332
|
+
SHORT: "SHORT"
|
|
333
|
+
};
|
|
334
|
+
var AggregationEventType = {
|
|
335
|
+
AGGREGATE: "AGGREGATE",
|
|
336
|
+
CHILD: "CHILD",
|
|
337
|
+
NONE: "NONE"
|
|
338
|
+
};
|
|
339
|
+
var ConflictException = class _ConflictException extends NotificationsServiceException {
|
|
340
|
+
static {
|
|
341
|
+
__name(this, "ConflictException");
|
|
342
|
+
}
|
|
343
|
+
name = "ConflictException";
|
|
344
|
+
$fault = "client";
|
|
345
|
+
/**
|
|
346
|
+
* <p>The resource ID that prompted the conflict error.</p>
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
resourceId;
|
|
350
|
+
/**
|
|
351
|
+
* @internal
|
|
352
|
+
*/
|
|
353
|
+
constructor(opts) {
|
|
354
|
+
super({
|
|
355
|
+
name: "ConflictException",
|
|
356
|
+
$fault: "client",
|
|
357
|
+
...opts
|
|
358
|
+
});
|
|
359
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
360
|
+
this.resourceId = opts.resourceId;
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
var InternalServerException = class _InternalServerException extends NotificationsServiceException {
|
|
364
|
+
static {
|
|
365
|
+
__name(this, "InternalServerException");
|
|
366
|
+
}
|
|
367
|
+
name = "InternalServerException";
|
|
368
|
+
$fault = "server";
|
|
369
|
+
$retryable = {};
|
|
370
|
+
/**
|
|
371
|
+
* @internal
|
|
372
|
+
*/
|
|
373
|
+
constructor(opts) {
|
|
374
|
+
super({
|
|
375
|
+
name: "InternalServerException",
|
|
376
|
+
$fault: "server",
|
|
377
|
+
...opts
|
|
378
|
+
});
|
|
379
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends NotificationsServiceException {
|
|
383
|
+
static {
|
|
384
|
+
__name(this, "ResourceNotFoundException");
|
|
385
|
+
}
|
|
386
|
+
name = "ResourceNotFoundException";
|
|
387
|
+
$fault = "client";
|
|
388
|
+
/**
|
|
389
|
+
* <p>The ID of the resource that wasn't found.</p>
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
resourceId;
|
|
393
|
+
/**
|
|
394
|
+
* @internal
|
|
395
|
+
*/
|
|
396
|
+
constructor(opts) {
|
|
397
|
+
super({
|
|
398
|
+
name: "ResourceNotFoundException",
|
|
399
|
+
$fault: "client",
|
|
400
|
+
...opts
|
|
401
|
+
});
|
|
402
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
403
|
+
this.resourceId = opts.resourceId;
|
|
404
|
+
}
|
|
405
|
+
};
|
|
406
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends NotificationsServiceException {
|
|
407
|
+
static {
|
|
408
|
+
__name(this, "ServiceQuotaExceededException");
|
|
409
|
+
}
|
|
410
|
+
name = "ServiceQuotaExceededException";
|
|
411
|
+
$fault = "client";
|
|
412
|
+
/**
|
|
413
|
+
* <p>The type of the resource that exceeds the service quota.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
resourceType;
|
|
417
|
+
/**
|
|
418
|
+
* <p>The ID of the resource that exceeds the service quota.</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
resourceId;
|
|
422
|
+
/**
|
|
423
|
+
* <p>The code for the service quota exceeded in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
serviceCode;
|
|
427
|
+
/**
|
|
428
|
+
* <p>The code for the service quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
quotaCode;
|
|
432
|
+
/**
|
|
433
|
+
* @internal
|
|
434
|
+
*/
|
|
435
|
+
constructor(opts) {
|
|
436
|
+
super({
|
|
437
|
+
name: "ServiceQuotaExceededException",
|
|
438
|
+
$fault: "client",
|
|
439
|
+
...opts
|
|
440
|
+
});
|
|
441
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
442
|
+
this.resourceType = opts.resourceType;
|
|
443
|
+
this.resourceId = opts.resourceId;
|
|
444
|
+
this.serviceCode = opts.serviceCode;
|
|
445
|
+
this.quotaCode = opts.quotaCode;
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
var ThrottlingException = class _ThrottlingException extends NotificationsServiceException {
|
|
449
|
+
static {
|
|
450
|
+
__name(this, "ThrottlingException");
|
|
451
|
+
}
|
|
452
|
+
name = "ThrottlingException";
|
|
453
|
+
$fault = "client";
|
|
454
|
+
$retryable = {
|
|
455
|
+
throttling: true
|
|
456
|
+
};
|
|
457
|
+
/**
|
|
458
|
+
* <p>Identifies the service being throttled.</p>
|
|
459
|
+
* @public
|
|
460
|
+
*/
|
|
461
|
+
serviceCode;
|
|
462
|
+
/**
|
|
463
|
+
* <p>Identifies the quota that is being throttled.</p>
|
|
464
|
+
* @public
|
|
465
|
+
*/
|
|
466
|
+
quotaCode;
|
|
467
|
+
/**
|
|
468
|
+
* <p>The number of seconds a client should wait before retrying the request.</p>
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
retryAfterSeconds;
|
|
472
|
+
/**
|
|
473
|
+
* @internal
|
|
474
|
+
*/
|
|
475
|
+
constructor(opts) {
|
|
476
|
+
super({
|
|
477
|
+
name: "ThrottlingException",
|
|
478
|
+
$fault: "client",
|
|
479
|
+
...opts
|
|
480
|
+
});
|
|
481
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
482
|
+
this.serviceCode = opts.serviceCode;
|
|
483
|
+
this.quotaCode = opts.quotaCode;
|
|
484
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
485
|
+
}
|
|
486
|
+
};
|
|
487
|
+
var ValidationExceptionReason = {
|
|
488
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
489
|
+
OTHER: "other"
|
|
490
|
+
};
|
|
491
|
+
var ValidationException = class _ValidationException extends NotificationsServiceException {
|
|
492
|
+
static {
|
|
493
|
+
__name(this, "ValidationException");
|
|
494
|
+
}
|
|
495
|
+
name = "ValidationException";
|
|
496
|
+
$fault = "client";
|
|
497
|
+
/**
|
|
498
|
+
* <p>The reason why your input is considered invalid.</p>
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
reason;
|
|
502
|
+
/**
|
|
503
|
+
* <p>The list of input fields that are invalid.</p>
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
fieldList;
|
|
507
|
+
/**
|
|
508
|
+
* @internal
|
|
509
|
+
*/
|
|
510
|
+
constructor(opts) {
|
|
511
|
+
super({
|
|
512
|
+
name: "ValidationException",
|
|
513
|
+
$fault: "client",
|
|
514
|
+
...opts
|
|
515
|
+
});
|
|
516
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
517
|
+
this.reason = opts.reason;
|
|
518
|
+
this.fieldList = opts.fieldList;
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
var ChannelAssociationOverrideOption = {
|
|
522
|
+
/**
|
|
523
|
+
* AWS User Notification service users can not associate or disassociate a Channel with a notification configuration.
|
|
524
|
+
*
|
|
525
|
+
*/
|
|
526
|
+
DISABLED: "DISABLED",
|
|
527
|
+
/**
|
|
528
|
+
* AWS User Notification service users can associate or disassociate a Channel with a notification configuration.
|
|
529
|
+
*
|
|
530
|
+
*/
|
|
531
|
+
ENABLED: "ENABLED"
|
|
532
|
+
};
|
|
533
|
+
var ChannelType = {
|
|
534
|
+
/**
|
|
535
|
+
* User Notification Service sends notifications to Account Managed contacts.
|
|
536
|
+
*
|
|
537
|
+
*/
|
|
538
|
+
ACCOUNT_CONTACT: "ACCOUNT_CONTACT",
|
|
539
|
+
/**
|
|
540
|
+
* Chatbot sends notifications to group platforms, like Slack or Chime. Link:https://aws.amazon.com/chatbot/
|
|
541
|
+
*
|
|
542
|
+
*/
|
|
543
|
+
CHATBOT: "CHATBOT",
|
|
544
|
+
/**
|
|
545
|
+
* Email sends notifications to email addresses.
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
EMAIL: "EMAIL",
|
|
549
|
+
/**
|
|
550
|
+
* AWS Console Mobile App sends notifications to mobile devices. Link:https://aws.amazon.com/console/mobile/
|
|
551
|
+
*
|
|
552
|
+
*/
|
|
553
|
+
MOBILE: "MOBILE"
|
|
554
|
+
};
|
|
555
|
+
var EventRuleStatus = {
|
|
556
|
+
/**
|
|
557
|
+
* EventRule is processing events. Any call can be executed.
|
|
558
|
+
*/
|
|
559
|
+
ACTIVE: "ACTIVE",
|
|
560
|
+
/**
|
|
561
|
+
* This EventRule is being created. Only GET/LIST calls can be executed.
|
|
562
|
+
*/
|
|
563
|
+
CREATING: "CREATING",
|
|
564
|
+
/**
|
|
565
|
+
* This EventRule is being deleted. Only GET/LIST calls can be executed.
|
|
566
|
+
*/
|
|
567
|
+
DELETING: "DELETING",
|
|
568
|
+
/**
|
|
569
|
+
* EventRule is in a bad state and may not be processing events. Any call can be executed.
|
|
570
|
+
*/
|
|
571
|
+
INACTIVE: "INACTIVE",
|
|
572
|
+
/**
|
|
573
|
+
* This EventRule is being updated. Only GET/LIST calls can be executed.
|
|
574
|
+
*/
|
|
575
|
+
UPDATING: "UPDATING"
|
|
576
|
+
};
|
|
577
|
+
var NotificationConfigurationStatus = {
|
|
578
|
+
/**
|
|
579
|
+
* All of the EventRules are in ACTIVE Status. Any call can be executed.
|
|
580
|
+
*/
|
|
581
|
+
ACTIVE: "ACTIVE",
|
|
582
|
+
/**
|
|
583
|
+
* This NotificationConfiguration is being deleted. Only GET/LIST calls can be executed.
|
|
584
|
+
*/
|
|
585
|
+
DELETING: "DELETING",
|
|
586
|
+
/**
|
|
587
|
+
* All of the EventRules are in INACTIVE Status. Any call can be executed.
|
|
588
|
+
*/
|
|
589
|
+
INACTIVE: "INACTIVE",
|
|
590
|
+
/**
|
|
591
|
+
* Some EventRules are in ACTIVE Status and some are INACTIVE. Any call can be executed.
|
|
592
|
+
*/
|
|
593
|
+
PARTIALLY_ACTIVE: "PARTIALLY_ACTIVE"
|
|
594
|
+
};
|
|
595
|
+
var NotificationHubStatus = {
|
|
596
|
+
/**
|
|
597
|
+
* Incoming Notification Events are being replicated to this Notification Hub. A Notification Hub with this status can be deregistered.
|
|
598
|
+
*/
|
|
599
|
+
ACTIVE: "ACTIVE",
|
|
600
|
+
/**
|
|
601
|
+
* Notification Hub is being deleted. Cannot register a Notification Hub in the same region as one in this status.
|
|
602
|
+
*/
|
|
603
|
+
DEREGISTERING: "DEREGISTERING",
|
|
604
|
+
/**
|
|
605
|
+
* Notification Hub is in a failure state. Incoming Notification Events are not being replicated to this Hub.
|
|
606
|
+
*/
|
|
607
|
+
INACTIVE: "INACTIVE",
|
|
608
|
+
/**
|
|
609
|
+
* Notification Hub is initializing. Cannot deregister a Notification Hub in this status.
|
|
610
|
+
*/
|
|
611
|
+
REGISTERING: "REGISTERING"
|
|
612
|
+
};
|
|
613
|
+
var EventStatus = {
|
|
614
|
+
HEALTHY: "HEALTHY",
|
|
615
|
+
UNHEALTHY: "UNHEALTHY"
|
|
616
|
+
};
|
|
617
|
+
var LocaleCode = {
|
|
618
|
+
/**
|
|
619
|
+
* German (Germany)
|
|
620
|
+
*/
|
|
621
|
+
de_DE: "de_DE",
|
|
622
|
+
/**
|
|
623
|
+
* English (Canada)
|
|
624
|
+
*/
|
|
625
|
+
en_CA: "en_CA",
|
|
626
|
+
/**
|
|
627
|
+
* English (United Kingdom)
|
|
628
|
+
*/
|
|
629
|
+
en_UK: "en_UK",
|
|
630
|
+
/**
|
|
631
|
+
* English (United States). This is the default locale.
|
|
632
|
+
*/
|
|
633
|
+
en_US: "en_US",
|
|
634
|
+
/**
|
|
635
|
+
* Spanish (Spain)
|
|
636
|
+
*/
|
|
637
|
+
es_ES: "es_ES",
|
|
638
|
+
/**
|
|
639
|
+
* French (Canada)
|
|
640
|
+
*/
|
|
641
|
+
fr_CA: "fr_CA",
|
|
642
|
+
/**
|
|
643
|
+
* French (France)
|
|
644
|
+
*/
|
|
645
|
+
fr_FR: "fr_FR",
|
|
646
|
+
/**
|
|
647
|
+
* Bahasa Indonesian (Indonesia)
|
|
648
|
+
*/
|
|
649
|
+
id_ID: "id_ID",
|
|
650
|
+
/**
|
|
651
|
+
* Italian (Italy)
|
|
652
|
+
*/
|
|
653
|
+
it_IT: "it_IT",
|
|
654
|
+
/**
|
|
655
|
+
* Japanese (Japan)
|
|
656
|
+
*/
|
|
657
|
+
ja_JP: "ja_JP",
|
|
658
|
+
/**
|
|
659
|
+
* Korean (Korea)
|
|
660
|
+
*/
|
|
661
|
+
ko_KR: "ko_KR",
|
|
662
|
+
/**
|
|
663
|
+
* Portuguese (Brazil)
|
|
664
|
+
*/
|
|
665
|
+
pt_BR: "pt_BR",
|
|
666
|
+
/**
|
|
667
|
+
* Turkish (Turkey)
|
|
668
|
+
*/
|
|
669
|
+
tr_TR: "tr_TR",
|
|
670
|
+
/**
|
|
671
|
+
* Chinese (China)
|
|
672
|
+
*/
|
|
673
|
+
zh_CN: "zh_CN",
|
|
674
|
+
/**
|
|
675
|
+
* Chinese (Taiwan)
|
|
676
|
+
*/
|
|
677
|
+
zh_TW: "zh_TW"
|
|
678
|
+
};
|
|
679
|
+
var NotificationType = {
|
|
680
|
+
ALERT: "ALERT",
|
|
681
|
+
ANNOUNCEMENT: "ANNOUNCEMENT",
|
|
682
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
683
|
+
WARNING: "WARNING"
|
|
684
|
+
};
|
|
685
|
+
var SchemaVersion = {
|
|
686
|
+
SCHEMA_VERSION_1_0: "v1.0"
|
|
687
|
+
};
|
|
688
|
+
var TextPartType = {
|
|
689
|
+
LOCALIZED_TEXT: "LOCALIZED_TEXT",
|
|
690
|
+
PLAIN_TEXT: "PLAIN_TEXT",
|
|
691
|
+
URL: "URL"
|
|
692
|
+
};
|
|
693
|
+
var NotificationConfigurationSubtype = {
|
|
694
|
+
/**
|
|
695
|
+
* Notification configuration created by the account
|
|
696
|
+
*/
|
|
697
|
+
ACCOUNT: "ACCOUNT",
|
|
698
|
+
/**
|
|
699
|
+
* Notification configuration managed by an administrator account
|
|
700
|
+
*/
|
|
701
|
+
ADMIN_MANAGED: "ADMIN_MANAGED"
|
|
702
|
+
};
|
|
703
|
+
var MediaElementType = {
|
|
704
|
+
IMAGE: "IMAGE"
|
|
705
|
+
};
|
|
706
|
+
var MemberAccountNotificationConfigurationStatus = {
|
|
707
|
+
/**
|
|
708
|
+
* The member account Notification Configuration status is ACTIVE.
|
|
709
|
+
*/
|
|
710
|
+
ACTIVE: "ACTIVE",
|
|
711
|
+
/**
|
|
712
|
+
* The member account Notification Configuration status is CREATING.
|
|
713
|
+
*/
|
|
714
|
+
CREATING: "CREATING",
|
|
715
|
+
/**
|
|
716
|
+
* The member account Notification Configuration status is DELETING.
|
|
717
|
+
*/
|
|
718
|
+
DELETING: "DELETING",
|
|
719
|
+
/**
|
|
720
|
+
* The member account Notification Configuration status is INACTIVE.
|
|
721
|
+
*/
|
|
722
|
+
INACTIVE: "INACTIVE",
|
|
723
|
+
/**
|
|
724
|
+
* The member account Notification Configuration status is PENDING.
|
|
725
|
+
*/
|
|
726
|
+
PENDING: "PENDING"
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
// src/protocols/Aws_restJson1.ts
|
|
730
|
+
var se_AssociateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
731
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
732
|
+
const headers = {
|
|
733
|
+
"content-type": "application/json"
|
|
734
|
+
};
|
|
735
|
+
b.bp("/channels/associate/{arn}");
|
|
736
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
737
|
+
let body;
|
|
738
|
+
body = JSON.stringify(
|
|
739
|
+
(0, import_smithy_client.take)(input, {
|
|
740
|
+
notificationConfigurationArn: []
|
|
741
|
+
})
|
|
742
|
+
);
|
|
743
|
+
b.m("POST").h(headers).b(body);
|
|
744
|
+
return b.build();
|
|
745
|
+
}, "se_AssociateChannelCommand");
|
|
746
|
+
var se_AssociateManagedNotificationAccountContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
747
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
748
|
+
const headers = {
|
|
749
|
+
"content-type": "application/json"
|
|
750
|
+
};
|
|
751
|
+
b.bp("/contacts/associate-managed-notification/{contactIdentifier}");
|
|
752
|
+
b.p("contactIdentifier", () => input.contactIdentifier, "{contactIdentifier}", false);
|
|
753
|
+
let body;
|
|
754
|
+
body = JSON.stringify(
|
|
755
|
+
(0, import_smithy_client.take)(input, {
|
|
756
|
+
managedNotificationConfigurationArn: []
|
|
757
|
+
})
|
|
758
|
+
);
|
|
759
|
+
b.m("PUT").h(headers).b(body);
|
|
760
|
+
return b.build();
|
|
761
|
+
}, "se_AssociateManagedNotificationAccountContactCommand");
|
|
762
|
+
var se_AssociateManagedNotificationAdditionalChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
763
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
764
|
+
const headers = {
|
|
765
|
+
"content-type": "application/json"
|
|
766
|
+
};
|
|
767
|
+
b.bp("/channels/associate-managed-notification/{channelArn}");
|
|
768
|
+
b.p("channelArn", () => input.channelArn, "{channelArn}", false);
|
|
769
|
+
let body;
|
|
770
|
+
body = JSON.stringify(
|
|
771
|
+
(0, import_smithy_client.take)(input, {
|
|
772
|
+
managedNotificationConfigurationArn: []
|
|
773
|
+
})
|
|
774
|
+
);
|
|
775
|
+
b.m("PUT").h(headers).b(body);
|
|
776
|
+
return b.build();
|
|
777
|
+
}, "se_AssociateManagedNotificationAdditionalChannelCommand");
|
|
778
|
+
var se_AssociateOrganizationalUnitCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
779
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
780
|
+
const headers = {
|
|
781
|
+
"content-type": "application/json"
|
|
782
|
+
};
|
|
783
|
+
b.bp("/organizational-units/associate/{organizationalUnitId}");
|
|
784
|
+
b.p("organizationalUnitId", () => input.organizationalUnitId, "{organizationalUnitId}", false);
|
|
785
|
+
let body;
|
|
786
|
+
body = JSON.stringify(
|
|
787
|
+
(0, import_smithy_client.take)(input, {
|
|
788
|
+
notificationConfigurationArn: []
|
|
789
|
+
})
|
|
790
|
+
);
|
|
791
|
+
b.m("POST").h(headers).b(body);
|
|
792
|
+
return b.build();
|
|
793
|
+
}, "se_AssociateOrganizationalUnitCommand");
|
|
794
|
+
var se_CreateEventRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
795
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
796
|
+
const headers = {
|
|
797
|
+
"content-type": "application/json"
|
|
798
|
+
};
|
|
799
|
+
b.bp("/event-rules");
|
|
800
|
+
let body;
|
|
801
|
+
body = JSON.stringify(
|
|
802
|
+
(0, import_smithy_client.take)(input, {
|
|
803
|
+
eventPattern: [],
|
|
804
|
+
eventType: [],
|
|
805
|
+
notificationConfigurationArn: [],
|
|
806
|
+
regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions"),
|
|
807
|
+
source: []
|
|
808
|
+
})
|
|
809
|
+
);
|
|
810
|
+
b.m("POST").h(headers).b(body);
|
|
811
|
+
return b.build();
|
|
812
|
+
}, "se_CreateEventRuleCommand");
|
|
813
|
+
var se_CreateNotificationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
814
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
815
|
+
const headers = {
|
|
816
|
+
"content-type": "application/json"
|
|
817
|
+
};
|
|
818
|
+
b.bp("/notification-configurations");
|
|
819
|
+
let body;
|
|
820
|
+
body = JSON.stringify(
|
|
821
|
+
(0, import_smithy_client.take)(input, {
|
|
822
|
+
aggregationDuration: [],
|
|
823
|
+
description: [],
|
|
824
|
+
name: [],
|
|
825
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
826
|
+
})
|
|
827
|
+
);
|
|
828
|
+
b.m("POST").h(headers).b(body);
|
|
829
|
+
return b.build();
|
|
830
|
+
}, "se_CreateNotificationConfigurationCommand");
|
|
831
|
+
var se_DeleteEventRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
832
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
833
|
+
const headers = {};
|
|
834
|
+
b.bp("/event-rules/{arn}");
|
|
835
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
836
|
+
let body;
|
|
837
|
+
b.m("DELETE").h(headers).b(body);
|
|
838
|
+
return b.build();
|
|
839
|
+
}, "se_DeleteEventRuleCommand");
|
|
840
|
+
var se_DeleteNotificationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
841
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
842
|
+
const headers = {};
|
|
843
|
+
b.bp("/notification-configurations/{arn}");
|
|
844
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
845
|
+
let body;
|
|
846
|
+
b.m("DELETE").h(headers).b(body);
|
|
847
|
+
return b.build();
|
|
848
|
+
}, "se_DeleteNotificationConfigurationCommand");
|
|
849
|
+
var se_DeregisterNotificationHubCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
850
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
851
|
+
const headers = {};
|
|
852
|
+
b.bp("/notification-hubs/{notificationHubRegion}");
|
|
853
|
+
b.p("notificationHubRegion", () => input.notificationHubRegion, "{notificationHubRegion}", false);
|
|
854
|
+
let body;
|
|
855
|
+
b.m("DELETE").h(headers).b(body);
|
|
856
|
+
return b.build();
|
|
857
|
+
}, "se_DeregisterNotificationHubCommand");
|
|
858
|
+
var se_DisableNotificationsAccessForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
859
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
860
|
+
const headers = {};
|
|
861
|
+
b.bp("/organization/access");
|
|
862
|
+
let body;
|
|
863
|
+
b.m("DELETE").h(headers).b(body);
|
|
864
|
+
return b.build();
|
|
865
|
+
}, "se_DisableNotificationsAccessForOrganizationCommand");
|
|
866
|
+
var se_DisassociateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
867
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
868
|
+
const headers = {
|
|
869
|
+
"content-type": "application/json"
|
|
870
|
+
};
|
|
871
|
+
b.bp("/channels/disassociate/{arn}");
|
|
872
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
873
|
+
let body;
|
|
874
|
+
body = JSON.stringify(
|
|
875
|
+
(0, import_smithy_client.take)(input, {
|
|
876
|
+
notificationConfigurationArn: []
|
|
877
|
+
})
|
|
878
|
+
);
|
|
879
|
+
b.m("POST").h(headers).b(body);
|
|
880
|
+
return b.build();
|
|
881
|
+
}, "se_DisassociateChannelCommand");
|
|
882
|
+
var se_DisassociateManagedNotificationAccountContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
883
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
884
|
+
const headers = {
|
|
885
|
+
"content-type": "application/json"
|
|
886
|
+
};
|
|
887
|
+
b.bp("/contacts/disassociate-managed-notification/{contactIdentifier}");
|
|
888
|
+
b.p("contactIdentifier", () => input.contactIdentifier, "{contactIdentifier}", false);
|
|
889
|
+
let body;
|
|
890
|
+
body = JSON.stringify(
|
|
891
|
+
(0, import_smithy_client.take)(input, {
|
|
892
|
+
managedNotificationConfigurationArn: []
|
|
893
|
+
})
|
|
894
|
+
);
|
|
895
|
+
b.m("PUT").h(headers).b(body);
|
|
896
|
+
return b.build();
|
|
897
|
+
}, "se_DisassociateManagedNotificationAccountContactCommand");
|
|
898
|
+
var se_DisassociateManagedNotificationAdditionalChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
899
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
900
|
+
const headers = {
|
|
901
|
+
"content-type": "application/json"
|
|
902
|
+
};
|
|
903
|
+
b.bp("/channels/disassociate-managed-notification/{channelArn}");
|
|
904
|
+
b.p("channelArn", () => input.channelArn, "{channelArn}", false);
|
|
905
|
+
let body;
|
|
906
|
+
body = JSON.stringify(
|
|
907
|
+
(0, import_smithy_client.take)(input, {
|
|
908
|
+
managedNotificationConfigurationArn: []
|
|
909
|
+
})
|
|
910
|
+
);
|
|
911
|
+
b.m("PUT").h(headers).b(body);
|
|
912
|
+
return b.build();
|
|
913
|
+
}, "se_DisassociateManagedNotificationAdditionalChannelCommand");
|
|
914
|
+
var se_DisassociateOrganizationalUnitCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
915
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
916
|
+
const headers = {
|
|
917
|
+
"content-type": "application/json"
|
|
918
|
+
};
|
|
919
|
+
b.bp("/organizational-units/disassociate/{organizationalUnitId}");
|
|
920
|
+
b.p("organizationalUnitId", () => input.organizationalUnitId, "{organizationalUnitId}", false);
|
|
921
|
+
let body;
|
|
922
|
+
body = JSON.stringify(
|
|
923
|
+
(0, import_smithy_client.take)(input, {
|
|
924
|
+
notificationConfigurationArn: []
|
|
925
|
+
})
|
|
926
|
+
);
|
|
927
|
+
b.m("POST").h(headers).b(body);
|
|
928
|
+
return b.build();
|
|
929
|
+
}, "se_DisassociateOrganizationalUnitCommand");
|
|
930
|
+
var se_EnableNotificationsAccessForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
931
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
932
|
+
const headers = {};
|
|
933
|
+
b.bp("/organization/access");
|
|
934
|
+
let body;
|
|
935
|
+
b.m("POST").h(headers).b(body);
|
|
936
|
+
return b.build();
|
|
937
|
+
}, "se_EnableNotificationsAccessForOrganizationCommand");
|
|
938
|
+
var se_GetEventRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
939
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
940
|
+
const headers = {};
|
|
941
|
+
b.bp("/event-rules/{arn}");
|
|
942
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
943
|
+
let body;
|
|
944
|
+
b.m("GET").h(headers).b(body);
|
|
945
|
+
return b.build();
|
|
946
|
+
}, "se_GetEventRuleCommand");
|
|
947
|
+
var se_GetManagedNotificationChildEventCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
948
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
949
|
+
const headers = {};
|
|
950
|
+
b.bp("/managed-notification-child-events/{arn}");
|
|
951
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
952
|
+
const query = (0, import_smithy_client.map)({
|
|
953
|
+
[_l]: [, input[_l]]
|
|
954
|
+
});
|
|
955
|
+
let body;
|
|
956
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
957
|
+
return b.build();
|
|
958
|
+
}, "se_GetManagedNotificationChildEventCommand");
|
|
959
|
+
var se_GetManagedNotificationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
960
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
961
|
+
const headers = {};
|
|
962
|
+
b.bp("/managed-notification-configurations/{arn}");
|
|
963
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
964
|
+
let body;
|
|
965
|
+
b.m("GET").h(headers).b(body);
|
|
966
|
+
return b.build();
|
|
967
|
+
}, "se_GetManagedNotificationConfigurationCommand");
|
|
968
|
+
var se_GetManagedNotificationEventCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
969
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
970
|
+
const headers = {};
|
|
971
|
+
b.bp("/managed-notification-events/{arn}");
|
|
972
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
973
|
+
const query = (0, import_smithy_client.map)({
|
|
974
|
+
[_l]: [, input[_l]]
|
|
975
|
+
});
|
|
976
|
+
let body;
|
|
977
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
978
|
+
return b.build();
|
|
979
|
+
}, "se_GetManagedNotificationEventCommand");
|
|
980
|
+
var se_GetNotificationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
981
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
982
|
+
const headers = {};
|
|
983
|
+
b.bp("/notification-configurations/{arn}");
|
|
984
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
985
|
+
let body;
|
|
986
|
+
b.m("GET").h(headers).b(body);
|
|
987
|
+
return b.build();
|
|
988
|
+
}, "se_GetNotificationConfigurationCommand");
|
|
989
|
+
var se_GetNotificationEventCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
990
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
991
|
+
const headers = {};
|
|
992
|
+
b.bp("/notification-events/{arn}");
|
|
993
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
994
|
+
const query = (0, import_smithy_client.map)({
|
|
995
|
+
[_l]: [, input[_l]]
|
|
996
|
+
});
|
|
997
|
+
let body;
|
|
998
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
999
|
+
return b.build();
|
|
1000
|
+
}, "se_GetNotificationEventCommand");
|
|
1001
|
+
var se_GetNotificationsAccessForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1002
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1003
|
+
const headers = {};
|
|
1004
|
+
b.bp("/organization/access");
|
|
1005
|
+
let body;
|
|
1006
|
+
b.m("GET").h(headers).b(body);
|
|
1007
|
+
return b.build();
|
|
1008
|
+
}, "se_GetNotificationsAccessForOrganizationCommand");
|
|
1009
|
+
var se_ListChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1010
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1011
|
+
const headers = {};
|
|
1012
|
+
b.bp("/channels");
|
|
1013
|
+
const query = (0, import_smithy_client.map)({
|
|
1014
|
+
[_nCA]: [, (0, import_smithy_client.expectNonNull)(input[_nCA], `notificationConfigurationArn`)],
|
|
1015
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1016
|
+
[_nT]: [, input[_nT]]
|
|
1017
|
+
});
|
|
1018
|
+
let body;
|
|
1019
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1020
|
+
return b.build();
|
|
1021
|
+
}, "se_ListChannelsCommand");
|
|
1022
|
+
var se_ListEventRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1023
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1024
|
+
const headers = {};
|
|
1025
|
+
b.bp("/event-rules");
|
|
1026
|
+
const query = (0, import_smithy_client.map)({
|
|
1027
|
+
[_nCA]: [, (0, import_smithy_client.expectNonNull)(input[_nCA], `notificationConfigurationArn`)],
|
|
1028
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1029
|
+
[_nT]: [, input[_nT]]
|
|
1030
|
+
});
|
|
1031
|
+
let body;
|
|
1032
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1033
|
+
return b.build();
|
|
1034
|
+
}, "se_ListEventRulesCommand");
|
|
1035
|
+
var se_ListManagedNotificationChannelAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1036
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1037
|
+
const headers = {};
|
|
1038
|
+
b.bp("/channels/list-managed-notification-channel-associations");
|
|
1039
|
+
const query = (0, import_smithy_client.map)({
|
|
1040
|
+
[_mNCA]: [, (0, import_smithy_client.expectNonNull)(input[_mNCA], `managedNotificationConfigurationArn`)],
|
|
1041
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1042
|
+
[_nT]: [, input[_nT]]
|
|
1043
|
+
});
|
|
1044
|
+
let body;
|
|
1045
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1046
|
+
return b.build();
|
|
1047
|
+
}, "se_ListManagedNotificationChannelAssociationsCommand");
|
|
1048
|
+
var se_ListManagedNotificationChildEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1049
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1050
|
+
const headers = {};
|
|
1051
|
+
b.bp("/list-managed-notification-child-events/{aggregateManagedNotificationEventArn}");
|
|
1052
|
+
b.p(
|
|
1053
|
+
"aggregateManagedNotificationEventArn",
|
|
1054
|
+
() => input.aggregateManagedNotificationEventArn,
|
|
1055
|
+
"{aggregateManagedNotificationEventArn}",
|
|
1056
|
+
false
|
|
1057
|
+
);
|
|
1058
|
+
const query = (0, import_smithy_client.map)({
|
|
1059
|
+
[_sT]: [() => input.startTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_sT]).toString()],
|
|
1060
|
+
[_eT]: [() => input.endTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_eT]).toString()],
|
|
1061
|
+
[_l]: [, input[_l]],
|
|
1062
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1063
|
+
[_rA]: [, input[_rA]],
|
|
1064
|
+
[_oUI]: [, input[_oUI]],
|
|
1065
|
+
[_nT]: [, input[_nT]]
|
|
1066
|
+
});
|
|
1067
|
+
let body;
|
|
1068
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1069
|
+
return b.build();
|
|
1070
|
+
}, "se_ListManagedNotificationChildEventsCommand");
|
|
1071
|
+
var se_ListManagedNotificationConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1072
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1073
|
+
const headers = {};
|
|
1074
|
+
b.bp("/managed-notification-configurations");
|
|
1075
|
+
const query = (0, import_smithy_client.map)({
|
|
1076
|
+
[_cI]: [, input[_cI]],
|
|
1077
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1078
|
+
[_nT]: [, input[_nT]]
|
|
1079
|
+
});
|
|
1080
|
+
let body;
|
|
1081
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1082
|
+
return b.build();
|
|
1083
|
+
}, "se_ListManagedNotificationConfigurationsCommand");
|
|
1084
|
+
var se_ListManagedNotificationEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1085
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1086
|
+
const headers = {};
|
|
1087
|
+
b.bp("/managed-notification-events");
|
|
1088
|
+
const query = (0, import_smithy_client.map)({
|
|
1089
|
+
[_sT]: [() => input.startTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_sT]).toString()],
|
|
1090
|
+
[_eT]: [() => input.endTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_eT]).toString()],
|
|
1091
|
+
[_l]: [, input[_l]],
|
|
1092
|
+
[_s]: [, input[_s]],
|
|
1093
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1094
|
+
[_nT]: [, input[_nT]],
|
|
1095
|
+
[_oUI]: [, input[_oUI]],
|
|
1096
|
+
[_rA]: [, input[_rA]]
|
|
1097
|
+
});
|
|
1098
|
+
let body;
|
|
1099
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1100
|
+
return b.build();
|
|
1101
|
+
}, "se_ListManagedNotificationEventsCommand");
|
|
1102
|
+
var se_ListMemberAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1103
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1104
|
+
const headers = {};
|
|
1105
|
+
b.bp("/list-member-accounts");
|
|
1106
|
+
const query = (0, import_smithy_client.map)({
|
|
1107
|
+
[_nCA]: [, (0, import_smithy_client.expectNonNull)(input[_nCA], `notificationConfigurationArn`)],
|
|
1108
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1109
|
+
[_nT]: [, input[_nT]],
|
|
1110
|
+
[_mA]: [, input[_mA]],
|
|
1111
|
+
[_st]: [, input[_st]],
|
|
1112
|
+
[_oUI]: [, input[_oUI]]
|
|
1113
|
+
});
|
|
1114
|
+
let body;
|
|
1115
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1116
|
+
return b.build();
|
|
1117
|
+
}, "se_ListMemberAccountsCommand");
|
|
1118
|
+
var se_ListNotificationConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1119
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1120
|
+
const headers = {};
|
|
1121
|
+
b.bp("/notification-configurations");
|
|
1122
|
+
const query = (0, import_smithy_client.map)({
|
|
1123
|
+
[_eRS]: [, input[_eRS]],
|
|
1124
|
+
[_cA]: [, input[_cA]],
|
|
1125
|
+
[_st]: [, input[_st]],
|
|
1126
|
+
[_su]: [, input[_su]],
|
|
1127
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1128
|
+
[_nT]: [, input[_nT]]
|
|
1129
|
+
});
|
|
1130
|
+
let body;
|
|
1131
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1132
|
+
return b.build();
|
|
1133
|
+
}, "se_ListNotificationConfigurationsCommand");
|
|
1134
|
+
var se_ListNotificationEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1135
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1136
|
+
const headers = {};
|
|
1137
|
+
b.bp("/notification-events");
|
|
1138
|
+
const query = (0, import_smithy_client.map)({
|
|
1139
|
+
[_sT]: [() => input.startTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_sT]).toString()],
|
|
1140
|
+
[_eT]: [() => input.endTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_eT]).toString()],
|
|
1141
|
+
[_l]: [, input[_l]],
|
|
1142
|
+
[_s]: [, input[_s]],
|
|
1143
|
+
[_iCE]: [() => input.includeChildEvents !== void 0, () => input[_iCE].toString()],
|
|
1144
|
+
[_aNEA]: [, input[_aNEA]],
|
|
1145
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1146
|
+
[_nT]: [, input[_nT]],
|
|
1147
|
+
[_oUI]: [, input[_oUI]]
|
|
1148
|
+
});
|
|
1149
|
+
let body;
|
|
1150
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1151
|
+
return b.build();
|
|
1152
|
+
}, "se_ListNotificationEventsCommand");
|
|
1153
|
+
var se_ListNotificationHubsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1154
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1155
|
+
const headers = {};
|
|
1156
|
+
b.bp("/notification-hubs");
|
|
1157
|
+
const query = (0, import_smithy_client.map)({
|
|
1158
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1159
|
+
[_nT]: [, input[_nT]]
|
|
1160
|
+
});
|
|
1161
|
+
let body;
|
|
1162
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1163
|
+
return b.build();
|
|
1164
|
+
}, "se_ListNotificationHubsCommand");
|
|
1165
|
+
var se_ListOrganizationalUnitsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1166
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1167
|
+
const headers = {};
|
|
1168
|
+
b.bp("/organizational-units");
|
|
1169
|
+
const query = (0, import_smithy_client.map)({
|
|
1170
|
+
[_nCA]: [, (0, import_smithy_client.expectNonNull)(input[_nCA], `notificationConfigurationArn`)],
|
|
1171
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1172
|
+
[_nT]: [, input[_nT]]
|
|
1173
|
+
});
|
|
1174
|
+
let body;
|
|
1175
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1176
|
+
return b.build();
|
|
1177
|
+
}, "se_ListOrganizationalUnitsCommand");
|
|
1178
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1179
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1180
|
+
const headers = {};
|
|
1181
|
+
b.bp("/tags/{arn}");
|
|
1182
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
1183
|
+
let body;
|
|
1184
|
+
b.m("GET").h(headers).b(body);
|
|
1185
|
+
return b.build();
|
|
1186
|
+
}, "se_ListTagsForResourceCommand");
|
|
1187
|
+
var se_RegisterNotificationHubCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1188
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1189
|
+
const headers = {
|
|
1190
|
+
"content-type": "application/json"
|
|
1191
|
+
};
|
|
1192
|
+
b.bp("/notification-hubs");
|
|
1193
|
+
let body;
|
|
1194
|
+
body = JSON.stringify(
|
|
1195
|
+
(0, import_smithy_client.take)(input, {
|
|
1196
|
+
notificationHubRegion: []
|
|
1197
|
+
})
|
|
1198
|
+
);
|
|
1199
|
+
b.m("POST").h(headers).b(body);
|
|
1200
|
+
return b.build();
|
|
1201
|
+
}, "se_RegisterNotificationHubCommand");
|
|
1202
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1203
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1204
|
+
const headers = {
|
|
1205
|
+
"content-type": "application/json"
|
|
1206
|
+
};
|
|
1207
|
+
b.bp("/tags/{arn}");
|
|
1208
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
1209
|
+
let body;
|
|
1210
|
+
body = JSON.stringify(
|
|
1211
|
+
(0, import_smithy_client.take)(input, {
|
|
1212
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1213
|
+
})
|
|
1214
|
+
);
|
|
1215
|
+
b.m("POST").h(headers).b(body);
|
|
1216
|
+
return b.build();
|
|
1217
|
+
}, "se_TagResourceCommand");
|
|
1218
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1219
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1220
|
+
const headers = {};
|
|
1221
|
+
b.bp("/tags/{arn}");
|
|
1222
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
1223
|
+
const query = (0, import_smithy_client.map)({
|
|
1224
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
1225
|
+
});
|
|
1226
|
+
let body;
|
|
1227
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1228
|
+
return b.build();
|
|
1229
|
+
}, "se_UntagResourceCommand");
|
|
1230
|
+
var se_UpdateEventRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1231
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1232
|
+
const headers = {
|
|
1233
|
+
"content-type": "application/json"
|
|
1234
|
+
};
|
|
1235
|
+
b.bp("/event-rules/{arn}");
|
|
1236
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
1237
|
+
let body;
|
|
1238
|
+
body = JSON.stringify(
|
|
1239
|
+
(0, import_smithy_client.take)(input, {
|
|
1240
|
+
eventPattern: [],
|
|
1241
|
+
regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "regions")
|
|
1242
|
+
})
|
|
1243
|
+
);
|
|
1244
|
+
b.m("PUT").h(headers).b(body);
|
|
1245
|
+
return b.build();
|
|
1246
|
+
}, "se_UpdateEventRuleCommand");
|
|
1247
|
+
var se_UpdateNotificationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1248
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1249
|
+
const headers = {
|
|
1250
|
+
"content-type": "application/json"
|
|
1251
|
+
};
|
|
1252
|
+
b.bp("/notification-configurations/{arn}");
|
|
1253
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
1254
|
+
let body;
|
|
1255
|
+
body = JSON.stringify(
|
|
1256
|
+
(0, import_smithy_client.take)(input, {
|
|
1257
|
+
aggregationDuration: [],
|
|
1258
|
+
description: [],
|
|
1259
|
+
name: []
|
|
1260
|
+
})
|
|
1261
|
+
);
|
|
1262
|
+
b.m("PUT").h(headers).b(body);
|
|
1263
|
+
return b.build();
|
|
1264
|
+
}, "se_UpdateNotificationConfigurationCommand");
|
|
1265
|
+
var de_AssociateChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1266
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1267
|
+
return de_CommandError(output, context);
|
|
1268
|
+
}
|
|
1269
|
+
const contents = (0, import_smithy_client.map)({
|
|
1270
|
+
$metadata: deserializeMetadata(output)
|
|
1271
|
+
});
|
|
1272
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1273
|
+
return contents;
|
|
1274
|
+
}, "de_AssociateChannelCommand");
|
|
1275
|
+
var de_AssociateManagedNotificationAccountContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1276
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1277
|
+
return de_CommandError(output, context);
|
|
1278
|
+
}
|
|
1279
|
+
const contents = (0, import_smithy_client.map)({
|
|
1280
|
+
$metadata: deserializeMetadata(output)
|
|
1281
|
+
});
|
|
1282
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1283
|
+
return contents;
|
|
1284
|
+
}, "de_AssociateManagedNotificationAccountContactCommand");
|
|
1285
|
+
var de_AssociateManagedNotificationAdditionalChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1286
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1287
|
+
return de_CommandError(output, context);
|
|
1288
|
+
}
|
|
1289
|
+
const contents = (0, import_smithy_client.map)({
|
|
1290
|
+
$metadata: deserializeMetadata(output)
|
|
1291
|
+
});
|
|
1292
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1293
|
+
return contents;
|
|
1294
|
+
}, "de_AssociateManagedNotificationAdditionalChannelCommand");
|
|
1295
|
+
var de_AssociateOrganizationalUnitCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1296
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1297
|
+
return de_CommandError(output, context);
|
|
1298
|
+
}
|
|
1299
|
+
const contents = (0, import_smithy_client.map)({
|
|
1300
|
+
$metadata: deserializeMetadata(output)
|
|
1301
|
+
});
|
|
1302
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1303
|
+
return contents;
|
|
1304
|
+
}, "de_AssociateOrganizationalUnitCommand");
|
|
1305
|
+
var de_CreateEventRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1306
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1307
|
+
return de_CommandError(output, context);
|
|
1308
|
+
}
|
|
1309
|
+
const contents = (0, import_smithy_client.map)({
|
|
1310
|
+
$metadata: deserializeMetadata(output)
|
|
1311
|
+
});
|
|
1312
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1313
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1314
|
+
arn: import_smithy_client.expectString,
|
|
1315
|
+
notificationConfigurationArn: import_smithy_client.expectString,
|
|
1316
|
+
statusSummaryByRegion: import_smithy_client._json
|
|
1317
|
+
});
|
|
1318
|
+
Object.assign(contents, doc);
|
|
1319
|
+
return contents;
|
|
1320
|
+
}, "de_CreateEventRuleCommand");
|
|
1321
|
+
var de_CreateNotificationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1323
|
+
return de_CommandError(output, context);
|
|
1324
|
+
}
|
|
1325
|
+
const contents = (0, import_smithy_client.map)({
|
|
1326
|
+
$metadata: deserializeMetadata(output)
|
|
1327
|
+
});
|
|
1328
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1329
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1330
|
+
arn: import_smithy_client.expectString,
|
|
1331
|
+
status: import_smithy_client.expectString
|
|
1332
|
+
});
|
|
1333
|
+
Object.assign(contents, doc);
|
|
1334
|
+
return contents;
|
|
1335
|
+
}, "de_CreateNotificationConfigurationCommand");
|
|
1336
|
+
var de_DeleteEventRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1337
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1338
|
+
return de_CommandError(output, context);
|
|
1339
|
+
}
|
|
1340
|
+
const contents = (0, import_smithy_client.map)({
|
|
1341
|
+
$metadata: deserializeMetadata(output)
|
|
1342
|
+
});
|
|
1343
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1344
|
+
return contents;
|
|
1345
|
+
}, "de_DeleteEventRuleCommand");
|
|
1346
|
+
var de_DeleteNotificationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1347
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1348
|
+
return de_CommandError(output, context);
|
|
1349
|
+
}
|
|
1350
|
+
const contents = (0, import_smithy_client.map)({
|
|
1351
|
+
$metadata: deserializeMetadata(output)
|
|
1352
|
+
});
|
|
1353
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1354
|
+
return contents;
|
|
1355
|
+
}, "de_DeleteNotificationConfigurationCommand");
|
|
1356
|
+
var de_DeregisterNotificationHubCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1357
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1358
|
+
return de_CommandError(output, context);
|
|
1359
|
+
}
|
|
1360
|
+
const contents = (0, import_smithy_client.map)({
|
|
1361
|
+
$metadata: deserializeMetadata(output)
|
|
1362
|
+
});
|
|
1363
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1364
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1365
|
+
notificationHubRegion: import_smithy_client.expectString,
|
|
1366
|
+
statusSummary: import_smithy_client._json
|
|
1367
|
+
});
|
|
1368
|
+
Object.assign(contents, doc);
|
|
1369
|
+
return contents;
|
|
1370
|
+
}, "de_DeregisterNotificationHubCommand");
|
|
1371
|
+
var de_DisableNotificationsAccessForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1372
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1373
|
+
return de_CommandError(output, context);
|
|
1374
|
+
}
|
|
1375
|
+
const contents = (0, import_smithy_client.map)({
|
|
1376
|
+
$metadata: deserializeMetadata(output)
|
|
1377
|
+
});
|
|
1378
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1379
|
+
return contents;
|
|
1380
|
+
}, "de_DisableNotificationsAccessForOrganizationCommand");
|
|
1381
|
+
var de_DisassociateChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1382
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1383
|
+
return de_CommandError(output, context);
|
|
1384
|
+
}
|
|
1385
|
+
const contents = (0, import_smithy_client.map)({
|
|
1386
|
+
$metadata: deserializeMetadata(output)
|
|
1387
|
+
});
|
|
1388
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1389
|
+
return contents;
|
|
1390
|
+
}, "de_DisassociateChannelCommand");
|
|
1391
|
+
var de_DisassociateManagedNotificationAccountContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1392
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1393
|
+
return de_CommandError(output, context);
|
|
1394
|
+
}
|
|
1395
|
+
const contents = (0, import_smithy_client.map)({
|
|
1396
|
+
$metadata: deserializeMetadata(output)
|
|
1397
|
+
});
|
|
1398
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1399
|
+
return contents;
|
|
1400
|
+
}, "de_DisassociateManagedNotificationAccountContactCommand");
|
|
1401
|
+
var de_DisassociateManagedNotificationAdditionalChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1402
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1403
|
+
return de_CommandError(output, context);
|
|
1404
|
+
}
|
|
1405
|
+
const contents = (0, import_smithy_client.map)({
|
|
1406
|
+
$metadata: deserializeMetadata(output)
|
|
1407
|
+
});
|
|
1408
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1409
|
+
return contents;
|
|
1410
|
+
}, "de_DisassociateManagedNotificationAdditionalChannelCommand");
|
|
1411
|
+
var de_DisassociateOrganizationalUnitCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1412
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1413
|
+
return de_CommandError(output, context);
|
|
1414
|
+
}
|
|
1415
|
+
const contents = (0, import_smithy_client.map)({
|
|
1416
|
+
$metadata: deserializeMetadata(output)
|
|
1417
|
+
});
|
|
1418
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1419
|
+
return contents;
|
|
1420
|
+
}, "de_DisassociateOrganizationalUnitCommand");
|
|
1421
|
+
var de_EnableNotificationsAccessForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1422
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1423
|
+
return de_CommandError(output, context);
|
|
1424
|
+
}
|
|
1425
|
+
const contents = (0, import_smithy_client.map)({
|
|
1426
|
+
$metadata: deserializeMetadata(output)
|
|
1427
|
+
});
|
|
1428
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1429
|
+
return contents;
|
|
1430
|
+
}, "de_EnableNotificationsAccessForOrganizationCommand");
|
|
1431
|
+
var de_GetEventRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1432
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1433
|
+
return de_CommandError(output, context);
|
|
1434
|
+
}
|
|
1435
|
+
const contents = (0, import_smithy_client.map)({
|
|
1436
|
+
$metadata: deserializeMetadata(output)
|
|
1437
|
+
});
|
|
1438
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1439
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1440
|
+
arn: import_smithy_client.expectString,
|
|
1441
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1442
|
+
eventPattern: import_smithy_client.expectString,
|
|
1443
|
+
eventType: import_smithy_client.expectString,
|
|
1444
|
+
managedRules: import_smithy_client._json,
|
|
1445
|
+
notificationConfigurationArn: import_smithy_client.expectString,
|
|
1446
|
+
regions: import_smithy_client._json,
|
|
1447
|
+
source: import_smithy_client.expectString,
|
|
1448
|
+
statusSummaryByRegion: import_smithy_client._json
|
|
1449
|
+
});
|
|
1450
|
+
Object.assign(contents, doc);
|
|
1451
|
+
return contents;
|
|
1452
|
+
}, "de_GetEventRuleCommand");
|
|
1453
|
+
var de_GetManagedNotificationChildEventCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1454
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1455
|
+
return de_CommandError(output, context);
|
|
1456
|
+
}
|
|
1457
|
+
const contents = (0, import_smithy_client.map)({
|
|
1458
|
+
$metadata: deserializeMetadata(output)
|
|
1459
|
+
});
|
|
1460
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1461
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1462
|
+
arn: import_smithy_client.expectString,
|
|
1463
|
+
content: /* @__PURE__ */ __name((_) => de_ManagedNotificationChildEvent(_, context), "content"),
|
|
1464
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1465
|
+
managedNotificationConfigurationArn: import_smithy_client.expectString
|
|
1466
|
+
});
|
|
1467
|
+
Object.assign(contents, doc);
|
|
1468
|
+
return contents;
|
|
1469
|
+
}, "de_GetManagedNotificationChildEventCommand");
|
|
1470
|
+
var de_GetManagedNotificationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1471
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1472
|
+
return de_CommandError(output, context);
|
|
1473
|
+
}
|
|
1474
|
+
const contents = (0, import_smithy_client.map)({
|
|
1475
|
+
$metadata: deserializeMetadata(output)
|
|
1476
|
+
});
|
|
1477
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1478
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1479
|
+
arn: import_smithy_client.expectString,
|
|
1480
|
+
category: import_smithy_client.expectString,
|
|
1481
|
+
description: import_smithy_client.expectString,
|
|
1482
|
+
name: import_smithy_client.expectString,
|
|
1483
|
+
subCategory: import_smithy_client.expectString
|
|
1484
|
+
});
|
|
1485
|
+
Object.assign(contents, doc);
|
|
1486
|
+
return contents;
|
|
1487
|
+
}, "de_GetManagedNotificationConfigurationCommand");
|
|
1488
|
+
var de_GetManagedNotificationEventCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1489
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1490
|
+
return de_CommandError(output, context);
|
|
1491
|
+
}
|
|
1492
|
+
const contents = (0, import_smithy_client.map)({
|
|
1493
|
+
$metadata: deserializeMetadata(output)
|
|
1494
|
+
});
|
|
1495
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1496
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1497
|
+
arn: import_smithy_client.expectString,
|
|
1498
|
+
content: /* @__PURE__ */ __name((_) => de_ManagedNotificationEvent(_, context), "content"),
|
|
1499
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1500
|
+
managedNotificationConfigurationArn: import_smithy_client.expectString
|
|
1501
|
+
});
|
|
1502
|
+
Object.assign(contents, doc);
|
|
1503
|
+
return contents;
|
|
1504
|
+
}, "de_GetManagedNotificationEventCommand");
|
|
1505
|
+
var de_GetNotificationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1506
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1507
|
+
return de_CommandError(output, context);
|
|
1508
|
+
}
|
|
1509
|
+
const contents = (0, import_smithy_client.map)({
|
|
1510
|
+
$metadata: deserializeMetadata(output)
|
|
1511
|
+
});
|
|
1512
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1513
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1514
|
+
aggregationDuration: import_smithy_client.expectString,
|
|
1515
|
+
arn: import_smithy_client.expectString,
|
|
1516
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1517
|
+
description: import_smithy_client.expectString,
|
|
1518
|
+
name: import_smithy_client.expectString,
|
|
1519
|
+
status: import_smithy_client.expectString,
|
|
1520
|
+
subtype: import_smithy_client.expectString
|
|
1521
|
+
});
|
|
1522
|
+
Object.assign(contents, doc);
|
|
1523
|
+
return contents;
|
|
1524
|
+
}, "de_GetNotificationConfigurationCommand");
|
|
1525
|
+
var de_GetNotificationEventCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1526
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1527
|
+
return de_CommandError(output, context);
|
|
1528
|
+
}
|
|
1529
|
+
const contents = (0, import_smithy_client.map)({
|
|
1530
|
+
$metadata: deserializeMetadata(output)
|
|
1531
|
+
});
|
|
1532
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1533
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1534
|
+
arn: import_smithy_client.expectString,
|
|
1535
|
+
content: /* @__PURE__ */ __name((_) => de_NotificationEventSchema(_, context), "content"),
|
|
1536
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1537
|
+
notificationConfigurationArn: import_smithy_client.expectString
|
|
1538
|
+
});
|
|
1539
|
+
Object.assign(contents, doc);
|
|
1540
|
+
return contents;
|
|
1541
|
+
}, "de_GetNotificationEventCommand");
|
|
1542
|
+
var de_GetNotificationsAccessForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1543
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1544
|
+
return de_CommandError(output, context);
|
|
1545
|
+
}
|
|
1546
|
+
const contents = (0, import_smithy_client.map)({
|
|
1547
|
+
$metadata: deserializeMetadata(output)
|
|
1548
|
+
});
|
|
1549
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1550
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1551
|
+
notificationsAccessForOrganization: import_smithy_client._json
|
|
1552
|
+
});
|
|
1553
|
+
Object.assign(contents, doc);
|
|
1554
|
+
return contents;
|
|
1555
|
+
}, "de_GetNotificationsAccessForOrganizationCommand");
|
|
1556
|
+
var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1557
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1558
|
+
return de_CommandError(output, context);
|
|
1559
|
+
}
|
|
1560
|
+
const contents = (0, import_smithy_client.map)({
|
|
1561
|
+
$metadata: deserializeMetadata(output)
|
|
1562
|
+
});
|
|
1563
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1564
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1565
|
+
channels: import_smithy_client._json,
|
|
1566
|
+
nextToken: import_smithy_client.expectString
|
|
1567
|
+
});
|
|
1568
|
+
Object.assign(contents, doc);
|
|
1569
|
+
return contents;
|
|
1570
|
+
}, "de_ListChannelsCommand");
|
|
1571
|
+
var de_ListEventRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1572
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1573
|
+
return de_CommandError(output, context);
|
|
1574
|
+
}
|
|
1575
|
+
const contents = (0, import_smithy_client.map)({
|
|
1576
|
+
$metadata: deserializeMetadata(output)
|
|
1577
|
+
});
|
|
1578
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1579
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1580
|
+
eventRules: /* @__PURE__ */ __name((_) => de_EventRules(_, context), "eventRules"),
|
|
1581
|
+
nextToken: import_smithy_client.expectString
|
|
1582
|
+
});
|
|
1583
|
+
Object.assign(contents, doc);
|
|
1584
|
+
return contents;
|
|
1585
|
+
}, "de_ListEventRulesCommand");
|
|
1586
|
+
var de_ListManagedNotificationChannelAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1587
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1588
|
+
return de_CommandError(output, context);
|
|
1589
|
+
}
|
|
1590
|
+
const contents = (0, import_smithy_client.map)({
|
|
1591
|
+
$metadata: deserializeMetadata(output)
|
|
1592
|
+
});
|
|
1593
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1594
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1595
|
+
channelAssociations: import_smithy_client._json,
|
|
1596
|
+
nextToken: import_smithy_client.expectString
|
|
1597
|
+
});
|
|
1598
|
+
Object.assign(contents, doc);
|
|
1599
|
+
return contents;
|
|
1600
|
+
}, "de_ListManagedNotificationChannelAssociationsCommand");
|
|
1601
|
+
var de_ListManagedNotificationChildEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1602
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1603
|
+
return de_CommandError(output, context);
|
|
1604
|
+
}
|
|
1605
|
+
const contents = (0, import_smithy_client.map)({
|
|
1606
|
+
$metadata: deserializeMetadata(output)
|
|
1607
|
+
});
|
|
1608
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1609
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1610
|
+
managedNotificationChildEvents: /* @__PURE__ */ __name((_) => de_ManagedNotificationChildEvents(_, context), "managedNotificationChildEvents"),
|
|
1611
|
+
nextToken: import_smithy_client.expectString
|
|
1612
|
+
});
|
|
1613
|
+
Object.assign(contents, doc);
|
|
1614
|
+
return contents;
|
|
1615
|
+
}, "de_ListManagedNotificationChildEventsCommand");
|
|
1616
|
+
var de_ListManagedNotificationConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1617
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1618
|
+
return de_CommandError(output, context);
|
|
1619
|
+
}
|
|
1620
|
+
const contents = (0, import_smithy_client.map)({
|
|
1621
|
+
$metadata: deserializeMetadata(output)
|
|
1622
|
+
});
|
|
1623
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1624
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1625
|
+
managedNotificationConfigurations: import_smithy_client._json,
|
|
1626
|
+
nextToken: import_smithy_client.expectString
|
|
1627
|
+
});
|
|
1628
|
+
Object.assign(contents, doc);
|
|
1629
|
+
return contents;
|
|
1630
|
+
}, "de_ListManagedNotificationConfigurationsCommand");
|
|
1631
|
+
var de_ListManagedNotificationEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1632
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1633
|
+
return de_CommandError(output, context);
|
|
1634
|
+
}
|
|
1635
|
+
const contents = (0, import_smithy_client.map)({
|
|
1636
|
+
$metadata: deserializeMetadata(output)
|
|
1637
|
+
});
|
|
1638
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1639
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1640
|
+
managedNotificationEvents: /* @__PURE__ */ __name((_) => de_ManagedNotificationEvents(_, context), "managedNotificationEvents"),
|
|
1641
|
+
nextToken: import_smithy_client.expectString
|
|
1642
|
+
});
|
|
1643
|
+
Object.assign(contents, doc);
|
|
1644
|
+
return contents;
|
|
1645
|
+
}, "de_ListManagedNotificationEventsCommand");
|
|
1646
|
+
var de_ListMemberAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1647
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1648
|
+
return de_CommandError(output, context);
|
|
1649
|
+
}
|
|
1650
|
+
const contents = (0, import_smithy_client.map)({
|
|
1651
|
+
$metadata: deserializeMetadata(output)
|
|
1652
|
+
});
|
|
1653
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1654
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1655
|
+
memberAccounts: import_smithy_client._json,
|
|
1656
|
+
nextToken: import_smithy_client.expectString
|
|
1657
|
+
});
|
|
1658
|
+
Object.assign(contents, doc);
|
|
1659
|
+
return contents;
|
|
1660
|
+
}, "de_ListMemberAccountsCommand");
|
|
1661
|
+
var de_ListNotificationConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1662
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1663
|
+
return de_CommandError(output, context);
|
|
1664
|
+
}
|
|
1665
|
+
const contents = (0, import_smithy_client.map)({
|
|
1666
|
+
$metadata: deserializeMetadata(output)
|
|
1667
|
+
});
|
|
1668
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1669
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1670
|
+
nextToken: import_smithy_client.expectString,
|
|
1671
|
+
notificationConfigurations: /* @__PURE__ */ __name((_) => de_NotificationConfigurations(_, context), "notificationConfigurations")
|
|
1672
|
+
});
|
|
1673
|
+
Object.assign(contents, doc);
|
|
1674
|
+
return contents;
|
|
1675
|
+
}, "de_ListNotificationConfigurationsCommand");
|
|
1676
|
+
var de_ListNotificationEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1677
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1678
|
+
return de_CommandError(output, context);
|
|
1679
|
+
}
|
|
1680
|
+
const contents = (0, import_smithy_client.map)({
|
|
1681
|
+
$metadata: deserializeMetadata(output)
|
|
1682
|
+
});
|
|
1683
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1684
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1685
|
+
nextToken: import_smithy_client.expectString,
|
|
1686
|
+
notificationEvents: /* @__PURE__ */ __name((_) => de_NotificationEvents(_, context), "notificationEvents")
|
|
1687
|
+
});
|
|
1688
|
+
Object.assign(contents, doc);
|
|
1689
|
+
return contents;
|
|
1690
|
+
}, "de_ListNotificationEventsCommand");
|
|
1691
|
+
var de_ListNotificationHubsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1692
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1693
|
+
return de_CommandError(output, context);
|
|
1694
|
+
}
|
|
1695
|
+
const contents = (0, import_smithy_client.map)({
|
|
1696
|
+
$metadata: deserializeMetadata(output)
|
|
1697
|
+
});
|
|
1698
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1699
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1700
|
+
nextToken: import_smithy_client.expectString,
|
|
1701
|
+
notificationHubs: /* @__PURE__ */ __name((_) => de_NotificationHubs(_, context), "notificationHubs")
|
|
1702
|
+
});
|
|
1703
|
+
Object.assign(contents, doc);
|
|
1704
|
+
return contents;
|
|
1705
|
+
}, "de_ListNotificationHubsCommand");
|
|
1706
|
+
var de_ListOrganizationalUnitsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1707
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1708
|
+
return de_CommandError(output, context);
|
|
1709
|
+
}
|
|
1710
|
+
const contents = (0, import_smithy_client.map)({
|
|
1711
|
+
$metadata: deserializeMetadata(output)
|
|
1712
|
+
});
|
|
1713
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1714
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1715
|
+
nextToken: import_smithy_client.expectString,
|
|
1716
|
+
organizationalUnits: import_smithy_client._json
|
|
1717
|
+
});
|
|
1718
|
+
Object.assign(contents, doc);
|
|
1719
|
+
return contents;
|
|
1720
|
+
}, "de_ListOrganizationalUnitsCommand");
|
|
1721
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1722
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1723
|
+
return de_CommandError(output, context);
|
|
1724
|
+
}
|
|
1725
|
+
const contents = (0, import_smithy_client.map)({
|
|
1726
|
+
$metadata: deserializeMetadata(output)
|
|
1727
|
+
});
|
|
1728
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1729
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1730
|
+
tags: import_smithy_client._json
|
|
1731
|
+
});
|
|
1732
|
+
Object.assign(contents, doc);
|
|
1733
|
+
return contents;
|
|
1734
|
+
}, "de_ListTagsForResourceCommand");
|
|
1735
|
+
var de_RegisterNotificationHubCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1736
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1737
|
+
return de_CommandError(output, context);
|
|
1738
|
+
}
|
|
1739
|
+
const contents = (0, import_smithy_client.map)({
|
|
1740
|
+
$metadata: deserializeMetadata(output)
|
|
1741
|
+
});
|
|
1742
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1743
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1744
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1745
|
+
lastActivationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastActivationTime"),
|
|
1746
|
+
notificationHubRegion: import_smithy_client.expectString,
|
|
1747
|
+
statusSummary: import_smithy_client._json
|
|
1748
|
+
});
|
|
1749
|
+
Object.assign(contents, doc);
|
|
1750
|
+
return contents;
|
|
1751
|
+
}, "de_RegisterNotificationHubCommand");
|
|
1752
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1753
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1754
|
+
return de_CommandError(output, context);
|
|
1755
|
+
}
|
|
1756
|
+
const contents = (0, import_smithy_client.map)({
|
|
1757
|
+
$metadata: deserializeMetadata(output)
|
|
1758
|
+
});
|
|
1759
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1760
|
+
return contents;
|
|
1761
|
+
}, "de_TagResourceCommand");
|
|
1762
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1763
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1764
|
+
return de_CommandError(output, context);
|
|
1765
|
+
}
|
|
1766
|
+
const contents = (0, import_smithy_client.map)({
|
|
1767
|
+
$metadata: deserializeMetadata(output)
|
|
1768
|
+
});
|
|
1769
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1770
|
+
return contents;
|
|
1771
|
+
}, "de_UntagResourceCommand");
|
|
1772
|
+
var de_UpdateEventRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1773
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1774
|
+
return de_CommandError(output, context);
|
|
1775
|
+
}
|
|
1776
|
+
const contents = (0, import_smithy_client.map)({
|
|
1777
|
+
$metadata: deserializeMetadata(output)
|
|
1778
|
+
});
|
|
1779
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1780
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1781
|
+
arn: import_smithy_client.expectString,
|
|
1782
|
+
notificationConfigurationArn: import_smithy_client.expectString,
|
|
1783
|
+
statusSummaryByRegion: import_smithy_client._json
|
|
1784
|
+
});
|
|
1785
|
+
Object.assign(contents, doc);
|
|
1786
|
+
return contents;
|
|
1787
|
+
}, "de_UpdateEventRuleCommand");
|
|
1788
|
+
var de_UpdateNotificationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1789
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1790
|
+
return de_CommandError(output, context);
|
|
1791
|
+
}
|
|
1792
|
+
const contents = (0, import_smithy_client.map)({
|
|
1793
|
+
$metadata: deserializeMetadata(output)
|
|
1794
|
+
});
|
|
1795
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1796
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1797
|
+
arn: import_smithy_client.expectString
|
|
1798
|
+
});
|
|
1799
|
+
Object.assign(contents, doc);
|
|
1800
|
+
return contents;
|
|
1801
|
+
}, "de_UpdateNotificationConfigurationCommand");
|
|
1802
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1803
|
+
const parsedOutput = {
|
|
1804
|
+
...output,
|
|
1805
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1806
|
+
};
|
|
1807
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1808
|
+
switch (errorCode) {
|
|
1809
|
+
case "AccessDeniedException":
|
|
1810
|
+
case "com.amazonaws.notifications#AccessDeniedException":
|
|
1811
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1812
|
+
case "ConflictException":
|
|
1813
|
+
case "com.amazonaws.notifications#ConflictException":
|
|
1814
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1815
|
+
case "InternalServerException":
|
|
1816
|
+
case "com.amazonaws.notifications#InternalServerException":
|
|
1817
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1818
|
+
case "ResourceNotFoundException":
|
|
1819
|
+
case "com.amazonaws.notifications#ResourceNotFoundException":
|
|
1820
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1821
|
+
case "ServiceQuotaExceededException":
|
|
1822
|
+
case "com.amazonaws.notifications#ServiceQuotaExceededException":
|
|
1823
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1824
|
+
case "ThrottlingException":
|
|
1825
|
+
case "com.amazonaws.notifications#ThrottlingException":
|
|
1826
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1827
|
+
case "ValidationException":
|
|
1828
|
+
case "com.amazonaws.notifications#ValidationException":
|
|
1829
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1830
|
+
default:
|
|
1831
|
+
const parsedBody = parsedOutput.body;
|
|
1832
|
+
return throwDefaultError({
|
|
1833
|
+
output,
|
|
1834
|
+
parsedBody,
|
|
1835
|
+
errorCode
|
|
1836
|
+
});
|
|
1837
|
+
}
|
|
1838
|
+
}, "de_CommandError");
|
|
1839
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(NotificationsServiceException);
|
|
1840
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1841
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1842
|
+
const data = parsedOutput.body;
|
|
1843
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1844
|
+
message: import_smithy_client.expectString
|
|
1845
|
+
});
|
|
1846
|
+
Object.assign(contents, doc);
|
|
1847
|
+
const exception = new AccessDeniedException({
|
|
1848
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1849
|
+
...contents
|
|
1850
|
+
});
|
|
1851
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1852
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1853
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1854
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1855
|
+
const data = parsedOutput.body;
|
|
1856
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1857
|
+
message: import_smithy_client.expectString,
|
|
1858
|
+
resourceId: import_smithy_client.expectString
|
|
1859
|
+
});
|
|
1860
|
+
Object.assign(contents, doc);
|
|
1861
|
+
const exception = new ConflictException({
|
|
1862
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1863
|
+
...contents
|
|
1864
|
+
});
|
|
1865
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1866
|
+
}, "de_ConflictExceptionRes");
|
|
1867
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1868
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1869
|
+
const data = parsedOutput.body;
|
|
1870
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1871
|
+
message: import_smithy_client.expectString
|
|
1872
|
+
});
|
|
1873
|
+
Object.assign(contents, doc);
|
|
1874
|
+
const exception = new InternalServerException({
|
|
1875
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1876
|
+
...contents
|
|
1877
|
+
});
|
|
1878
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1879
|
+
}, "de_InternalServerExceptionRes");
|
|
1880
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1881
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1882
|
+
const data = parsedOutput.body;
|
|
1883
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1884
|
+
message: import_smithy_client.expectString,
|
|
1885
|
+
resourceId: import_smithy_client.expectString
|
|
1886
|
+
});
|
|
1887
|
+
Object.assign(contents, doc);
|
|
1888
|
+
const exception = new ResourceNotFoundException({
|
|
1889
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1890
|
+
...contents
|
|
1891
|
+
});
|
|
1892
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1893
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1894
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1895
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1896
|
+
const data = parsedOutput.body;
|
|
1897
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1898
|
+
message: import_smithy_client.expectString,
|
|
1899
|
+
quotaCode: import_smithy_client.expectString,
|
|
1900
|
+
resourceId: import_smithy_client.expectString,
|
|
1901
|
+
resourceType: import_smithy_client.expectString,
|
|
1902
|
+
serviceCode: import_smithy_client.expectString
|
|
1903
|
+
});
|
|
1904
|
+
Object.assign(contents, doc);
|
|
1905
|
+
const exception = new ServiceQuotaExceededException({
|
|
1906
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1907
|
+
...contents
|
|
1908
|
+
});
|
|
1909
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1910
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1911
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1912
|
+
const contents = (0, import_smithy_client.map)({
|
|
1913
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
1914
|
+
});
|
|
1915
|
+
const data = parsedOutput.body;
|
|
1916
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1917
|
+
message: import_smithy_client.expectString,
|
|
1918
|
+
quotaCode: import_smithy_client.expectString,
|
|
1919
|
+
serviceCode: import_smithy_client.expectString
|
|
1920
|
+
});
|
|
1921
|
+
Object.assign(contents, doc);
|
|
1922
|
+
const exception = new ThrottlingException({
|
|
1923
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1924
|
+
...contents
|
|
1925
|
+
});
|
|
1926
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1927
|
+
}, "de_ThrottlingExceptionRes");
|
|
1928
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1929
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1930
|
+
const data = parsedOutput.body;
|
|
1931
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1932
|
+
fieldList: import_smithy_client._json,
|
|
1933
|
+
message: import_smithy_client.expectString,
|
|
1934
|
+
reason: import_smithy_client.expectString
|
|
1935
|
+
});
|
|
1936
|
+
Object.assign(contents, doc);
|
|
1937
|
+
const exception = new ValidationException({
|
|
1938
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1939
|
+
...contents
|
|
1940
|
+
});
|
|
1941
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1942
|
+
}, "de_ValidationExceptionRes");
|
|
1943
|
+
var de_EventRules = /* @__PURE__ */ __name((output, context) => {
|
|
1944
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1945
|
+
return de_EventRuleStructure(entry, context);
|
|
1946
|
+
});
|
|
1947
|
+
return retVal;
|
|
1948
|
+
}, "de_EventRules");
|
|
1949
|
+
var de_EventRuleStructure = /* @__PURE__ */ __name((output, context) => {
|
|
1950
|
+
return (0, import_smithy_client.take)(output, {
|
|
1951
|
+
arn: import_smithy_client.expectString,
|
|
1952
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1953
|
+
eventPattern: import_smithy_client.expectString,
|
|
1954
|
+
eventType: import_smithy_client.expectString,
|
|
1955
|
+
managedRules: import_smithy_client._json,
|
|
1956
|
+
notificationConfigurationArn: import_smithy_client.expectString,
|
|
1957
|
+
regions: import_smithy_client._json,
|
|
1958
|
+
source: import_smithy_client.expectString,
|
|
1959
|
+
statusSummaryByRegion: import_smithy_client._json
|
|
1960
|
+
});
|
|
1961
|
+
}, "de_EventRuleStructure");
|
|
1962
|
+
var de_ManagedNotificationChildEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1963
|
+
return (0, import_smithy_client.take)(output, {
|
|
1964
|
+
aggregateManagedNotificationEventArn: import_smithy_client.expectString,
|
|
1965
|
+
aggregationDetail: import_smithy_client._json,
|
|
1966
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
1967
|
+
eventStatus: import_smithy_client.expectString,
|
|
1968
|
+
id: import_smithy_client.expectString,
|
|
1969
|
+
messageComponents: import_smithy_client._json,
|
|
1970
|
+
notificationType: import_smithy_client.expectString,
|
|
1971
|
+
organizationalUnitId: import_smithy_client.expectString,
|
|
1972
|
+
schemaVersion: import_smithy_client.expectString,
|
|
1973
|
+
sourceEventDetailUrl: import_smithy_client.expectString,
|
|
1974
|
+
sourceEventDetailUrlDisplayText: import_smithy_client.expectString,
|
|
1975
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1976
|
+
textParts: import_smithy_client._json
|
|
1977
|
+
});
|
|
1978
|
+
}, "de_ManagedNotificationChildEvent");
|
|
1979
|
+
var de_ManagedNotificationChildEventOverview = /* @__PURE__ */ __name((output, context) => {
|
|
1980
|
+
return (0, import_smithy_client.take)(output, {
|
|
1981
|
+
aggregateManagedNotificationEventArn: import_smithy_client.expectString,
|
|
1982
|
+
arn: import_smithy_client.expectString,
|
|
1983
|
+
childEvent: import_smithy_client._json,
|
|
1984
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1985
|
+
managedNotificationConfigurationArn: import_smithy_client.expectString,
|
|
1986
|
+
organizationalUnitId: import_smithy_client.expectString,
|
|
1987
|
+
relatedAccount: import_smithy_client.expectString
|
|
1988
|
+
});
|
|
1989
|
+
}, "de_ManagedNotificationChildEventOverview");
|
|
1990
|
+
var de_ManagedNotificationChildEvents = /* @__PURE__ */ __name((output, context) => {
|
|
1991
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1992
|
+
return de_ManagedNotificationChildEventOverview(entry, context);
|
|
1993
|
+
});
|
|
1994
|
+
return retVal;
|
|
1995
|
+
}, "de_ManagedNotificationChildEvents");
|
|
1996
|
+
var de_ManagedNotificationEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1997
|
+
return (0, import_smithy_client.take)(output, {
|
|
1998
|
+
aggregationEventType: import_smithy_client.expectString,
|
|
1999
|
+
aggregationSummary: import_smithy_client._json,
|
|
2000
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
2001
|
+
eventStatus: import_smithy_client.expectString,
|
|
2002
|
+
id: import_smithy_client.expectString,
|
|
2003
|
+
messageComponents: import_smithy_client._json,
|
|
2004
|
+
notificationType: import_smithy_client.expectString,
|
|
2005
|
+
organizationalUnitId: import_smithy_client.expectString,
|
|
2006
|
+
schemaVersion: import_smithy_client.expectString,
|
|
2007
|
+
sourceEventDetailUrl: import_smithy_client.expectString,
|
|
2008
|
+
sourceEventDetailUrlDisplayText: import_smithy_client.expectString,
|
|
2009
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
2010
|
+
textParts: import_smithy_client._json
|
|
2011
|
+
});
|
|
2012
|
+
}, "de_ManagedNotificationEvent");
|
|
2013
|
+
var de_ManagedNotificationEventOverview = /* @__PURE__ */ __name((output, context) => {
|
|
2014
|
+
return (0, import_smithy_client.take)(output, {
|
|
2015
|
+
aggregatedNotificationRegions: import_smithy_client._json,
|
|
2016
|
+
aggregationEventType: import_smithy_client.expectString,
|
|
2017
|
+
aggregationSummary: import_smithy_client._json,
|
|
2018
|
+
arn: import_smithy_client.expectString,
|
|
2019
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
2020
|
+
managedNotificationConfigurationArn: import_smithy_client.expectString,
|
|
2021
|
+
notificationEvent: import_smithy_client._json,
|
|
2022
|
+
organizationalUnitId: import_smithy_client.expectString,
|
|
2023
|
+
relatedAccount: import_smithy_client.expectString
|
|
2024
|
+
});
|
|
2025
|
+
}, "de_ManagedNotificationEventOverview");
|
|
2026
|
+
var de_ManagedNotificationEvents = /* @__PURE__ */ __name((output, context) => {
|
|
2027
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2028
|
+
return de_ManagedNotificationEventOverview(entry, context);
|
|
2029
|
+
});
|
|
2030
|
+
return retVal;
|
|
2031
|
+
}, "de_ManagedNotificationEvents");
|
|
2032
|
+
var de_NotificationConfigurations = /* @__PURE__ */ __name((output, context) => {
|
|
2033
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2034
|
+
return de_NotificationConfigurationStructure(entry, context);
|
|
2035
|
+
});
|
|
2036
|
+
return retVal;
|
|
2037
|
+
}, "de_NotificationConfigurations");
|
|
2038
|
+
var de_NotificationConfigurationStructure = /* @__PURE__ */ __name((output, context) => {
|
|
2039
|
+
return (0, import_smithy_client.take)(output, {
|
|
2040
|
+
aggregationDuration: import_smithy_client.expectString,
|
|
2041
|
+
arn: import_smithy_client.expectString,
|
|
2042
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
2043
|
+
description: import_smithy_client.expectString,
|
|
2044
|
+
name: import_smithy_client.expectString,
|
|
2045
|
+
status: import_smithy_client.expectString,
|
|
2046
|
+
subtype: import_smithy_client.expectString
|
|
2047
|
+
});
|
|
2048
|
+
}, "de_NotificationConfigurationStructure");
|
|
2049
|
+
var de_NotificationEventOverview = /* @__PURE__ */ __name((output, context) => {
|
|
2050
|
+
return (0, import_smithy_client.take)(output, {
|
|
2051
|
+
aggregateNotificationEventArn: import_smithy_client.expectString,
|
|
2052
|
+
aggregationEventType: import_smithy_client.expectString,
|
|
2053
|
+
aggregationSummary: import_smithy_client._json,
|
|
2054
|
+
arn: import_smithy_client.expectString,
|
|
2055
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
2056
|
+
notificationConfigurationArn: import_smithy_client.expectString,
|
|
2057
|
+
notificationEvent: import_smithy_client._json,
|
|
2058
|
+
organizationalUnitId: import_smithy_client.expectString,
|
|
2059
|
+
relatedAccount: import_smithy_client.expectString
|
|
2060
|
+
});
|
|
2061
|
+
}, "de_NotificationEventOverview");
|
|
2062
|
+
var de_NotificationEvents = /* @__PURE__ */ __name((output, context) => {
|
|
2063
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2064
|
+
return de_NotificationEventOverview(entry, context);
|
|
2065
|
+
});
|
|
2066
|
+
return retVal;
|
|
2067
|
+
}, "de_NotificationEvents");
|
|
2068
|
+
var de_NotificationEventSchema = /* @__PURE__ */ __name((output, context) => {
|
|
2069
|
+
return (0, import_smithy_client.take)(output, {
|
|
2070
|
+
aggregateNotificationEventArn: import_smithy_client.expectString,
|
|
2071
|
+
aggregationEventType: import_smithy_client.expectString,
|
|
2072
|
+
aggregationSummary: import_smithy_client._json,
|
|
2073
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
2074
|
+
eventStatus: import_smithy_client.expectString,
|
|
2075
|
+
id: import_smithy_client.expectString,
|
|
2076
|
+
media: import_smithy_client._json,
|
|
2077
|
+
messageComponents: import_smithy_client._json,
|
|
2078
|
+
notificationType: import_smithy_client.expectString,
|
|
2079
|
+
organizationalUnitId: import_smithy_client.expectString,
|
|
2080
|
+
schemaVersion: import_smithy_client.expectString,
|
|
2081
|
+
sourceEventDetailUrl: import_smithy_client.expectString,
|
|
2082
|
+
sourceEventDetailUrlDisplayText: import_smithy_client.expectString,
|
|
2083
|
+
sourceEventMetadata: /* @__PURE__ */ __name((_) => de_SourceEventMetadata(_, context), "sourceEventMetadata"),
|
|
2084
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
2085
|
+
textParts: import_smithy_client._json
|
|
2086
|
+
});
|
|
2087
|
+
}, "de_NotificationEventSchema");
|
|
2088
|
+
var de_NotificationHubOverview = /* @__PURE__ */ __name((output, context) => {
|
|
2089
|
+
return (0, import_smithy_client.take)(output, {
|
|
2090
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
2091
|
+
lastActivationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastActivationTime"),
|
|
2092
|
+
notificationHubRegion: import_smithy_client.expectString,
|
|
2093
|
+
statusSummary: import_smithy_client._json
|
|
2094
|
+
});
|
|
2095
|
+
}, "de_NotificationHubOverview");
|
|
2096
|
+
var de_NotificationHubs = /* @__PURE__ */ __name((output, context) => {
|
|
2097
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2098
|
+
return de_NotificationHubOverview(entry, context);
|
|
2099
|
+
});
|
|
2100
|
+
return retVal;
|
|
2101
|
+
}, "de_NotificationHubs");
|
|
2102
|
+
var de_SourceEventMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
2103
|
+
return (0, import_smithy_client.take)(output, {
|
|
2104
|
+
eventOccurrenceTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "eventOccurrenceTime"),
|
|
2105
|
+
eventOriginRegion: import_smithy_client.expectString,
|
|
2106
|
+
eventType: import_smithy_client.expectString,
|
|
2107
|
+
eventTypeVersion: import_smithy_client.expectString,
|
|
2108
|
+
relatedAccount: import_smithy_client.expectString,
|
|
2109
|
+
relatedResources: import_smithy_client._json,
|
|
2110
|
+
source: import_smithy_client.expectString,
|
|
2111
|
+
sourceEventId: import_smithy_client.expectString
|
|
2112
|
+
});
|
|
2113
|
+
}, "de_SourceEventMetadata");
|
|
2114
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2115
|
+
httpStatusCode: output.statusCode,
|
|
2116
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2117
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2118
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2119
|
+
}), "deserializeMetadata");
|
|
2120
|
+
var _aNEA = "aggregateNotificationEventArn";
|
|
2121
|
+
var _cA = "channelArn";
|
|
2122
|
+
var _cI = "channelIdentifier";
|
|
2123
|
+
var _eRS = "eventRuleSource";
|
|
2124
|
+
var _eT = "endTime";
|
|
2125
|
+
var _iCE = "includeChildEvents";
|
|
2126
|
+
var _l = "locale";
|
|
2127
|
+
var _mA = "memberAccount";
|
|
2128
|
+
var _mNCA = "managedNotificationConfigurationArn";
|
|
2129
|
+
var _mR = "maxResults";
|
|
2130
|
+
var _nCA = "notificationConfigurationArn";
|
|
2131
|
+
var _nT = "nextToken";
|
|
2132
|
+
var _oUI = "organizationalUnitId";
|
|
2133
|
+
var _rA = "relatedAccount";
|
|
2134
|
+
var _rAS = "retryAfterSeconds";
|
|
2135
|
+
var _ra = "retry-after";
|
|
2136
|
+
var _s = "source";
|
|
2137
|
+
var _sT = "startTime";
|
|
2138
|
+
var _st = "status";
|
|
2139
|
+
var _su = "subtype";
|
|
2140
|
+
var _tK = "tagKeys";
|
|
2141
|
+
|
|
2142
|
+
// src/commands/AssociateChannelCommand.ts
|
|
2143
|
+
var AssociateChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2144
|
+
return [
|
|
2145
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2146
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2147
|
+
];
|
|
2148
|
+
}).s("Notifications", "AssociateChannel", {}).n("NotificationsClient", "AssociateChannelCommand").f(void 0, void 0).ser(se_AssociateChannelCommand).de(de_AssociateChannelCommand).build() {
|
|
2149
|
+
static {
|
|
2150
|
+
__name(this, "AssociateChannelCommand");
|
|
2151
|
+
}
|
|
2152
|
+
};
|
|
2153
|
+
|
|
2154
|
+
// src/commands/AssociateManagedNotificationAccountContactCommand.ts
|
|
2155
|
+
|
|
2156
|
+
|
|
2157
|
+
|
|
2158
|
+
var AssociateManagedNotificationAccountContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2159
|
+
return [
|
|
2160
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2161
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2162
|
+
];
|
|
2163
|
+
}).s("Notifications", "AssociateManagedNotificationAccountContact", {}).n("NotificationsClient", "AssociateManagedNotificationAccountContactCommand").f(void 0, void 0).ser(se_AssociateManagedNotificationAccountContactCommand).de(de_AssociateManagedNotificationAccountContactCommand).build() {
|
|
2164
|
+
static {
|
|
2165
|
+
__name(this, "AssociateManagedNotificationAccountContactCommand");
|
|
2166
|
+
}
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
// src/commands/AssociateManagedNotificationAdditionalChannelCommand.ts
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
var AssociateManagedNotificationAdditionalChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2174
|
+
return [
|
|
2175
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2176
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2177
|
+
];
|
|
2178
|
+
}).s("Notifications", "AssociateManagedNotificationAdditionalChannel", {}).n("NotificationsClient", "AssociateManagedNotificationAdditionalChannelCommand").f(void 0, void 0).ser(se_AssociateManagedNotificationAdditionalChannelCommand).de(de_AssociateManagedNotificationAdditionalChannelCommand).build() {
|
|
2179
|
+
static {
|
|
2180
|
+
__name(this, "AssociateManagedNotificationAdditionalChannelCommand");
|
|
2181
|
+
}
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2184
|
+
// src/commands/AssociateOrganizationalUnitCommand.ts
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
var AssociateOrganizationalUnitCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2189
|
+
return [
|
|
2190
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2191
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2192
|
+
];
|
|
2193
|
+
}).s("Notifications", "AssociateOrganizationalUnit", {}).n("NotificationsClient", "AssociateOrganizationalUnitCommand").f(void 0, void 0).ser(se_AssociateOrganizationalUnitCommand).de(de_AssociateOrganizationalUnitCommand).build() {
|
|
2194
|
+
static {
|
|
2195
|
+
__name(this, "AssociateOrganizationalUnitCommand");
|
|
2196
|
+
}
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
// src/commands/CreateEventRuleCommand.ts
|
|
2200
|
+
|
|
2201
|
+
|
|
2202
|
+
|
|
2203
|
+
var CreateEventRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2204
|
+
return [
|
|
2205
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2206
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2207
|
+
];
|
|
2208
|
+
}).s("Notifications", "CreateEventRule", {}).n("NotificationsClient", "CreateEventRuleCommand").f(void 0, void 0).ser(se_CreateEventRuleCommand).de(de_CreateEventRuleCommand).build() {
|
|
2209
|
+
static {
|
|
2210
|
+
__name(this, "CreateEventRuleCommand");
|
|
2211
|
+
}
|
|
2212
|
+
};
|
|
2213
|
+
|
|
2214
|
+
// src/commands/CreateNotificationConfigurationCommand.ts
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
var CreateNotificationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2219
|
+
return [
|
|
2220
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2221
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2222
|
+
];
|
|
2223
|
+
}).s("Notifications", "CreateNotificationConfiguration", {}).n("NotificationsClient", "CreateNotificationConfigurationCommand").f(void 0, void 0).ser(se_CreateNotificationConfigurationCommand).de(de_CreateNotificationConfigurationCommand).build() {
|
|
2224
|
+
static {
|
|
2225
|
+
__name(this, "CreateNotificationConfigurationCommand");
|
|
2226
|
+
}
|
|
2227
|
+
};
|
|
2228
|
+
|
|
2229
|
+
// src/commands/DeleteEventRuleCommand.ts
|
|
2230
|
+
|
|
2231
|
+
|
|
2232
|
+
|
|
2233
|
+
var DeleteEventRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2234
|
+
return [
|
|
2235
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2236
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2237
|
+
];
|
|
2238
|
+
}).s("Notifications", "DeleteEventRule", {}).n("NotificationsClient", "DeleteEventRuleCommand").f(void 0, void 0).ser(se_DeleteEventRuleCommand).de(de_DeleteEventRuleCommand).build() {
|
|
2239
|
+
static {
|
|
2240
|
+
__name(this, "DeleteEventRuleCommand");
|
|
2241
|
+
}
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
// src/commands/DeleteNotificationConfigurationCommand.ts
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
var DeleteNotificationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2249
|
+
return [
|
|
2250
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2251
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2252
|
+
];
|
|
2253
|
+
}).s("Notifications", "DeleteNotificationConfiguration", {}).n("NotificationsClient", "DeleteNotificationConfigurationCommand").f(void 0, void 0).ser(se_DeleteNotificationConfigurationCommand).de(de_DeleteNotificationConfigurationCommand).build() {
|
|
2254
|
+
static {
|
|
2255
|
+
__name(this, "DeleteNotificationConfigurationCommand");
|
|
2256
|
+
}
|
|
2257
|
+
};
|
|
2258
|
+
|
|
2259
|
+
// src/commands/DeregisterNotificationHubCommand.ts
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
var DeregisterNotificationHubCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2264
|
+
return [
|
|
2265
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2266
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2267
|
+
];
|
|
2268
|
+
}).s("Notifications", "DeregisterNotificationHub", {}).n("NotificationsClient", "DeregisterNotificationHubCommand").f(void 0, void 0).ser(se_DeregisterNotificationHubCommand).de(de_DeregisterNotificationHubCommand).build() {
|
|
2269
|
+
static {
|
|
2270
|
+
__name(this, "DeregisterNotificationHubCommand");
|
|
2271
|
+
}
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
// src/commands/DisableNotificationsAccessForOrganizationCommand.ts
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
var DisableNotificationsAccessForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2279
|
+
return [
|
|
2280
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2281
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2282
|
+
];
|
|
2283
|
+
}).s("Notifications", "DisableNotificationsAccessForOrganization", {}).n("NotificationsClient", "DisableNotificationsAccessForOrganizationCommand").f(void 0, void 0).ser(se_DisableNotificationsAccessForOrganizationCommand).de(de_DisableNotificationsAccessForOrganizationCommand).build() {
|
|
2284
|
+
static {
|
|
2285
|
+
__name(this, "DisableNotificationsAccessForOrganizationCommand");
|
|
2286
|
+
}
|
|
2287
|
+
};
|
|
2288
|
+
|
|
2289
|
+
// src/commands/DisassociateChannelCommand.ts
|
|
2290
|
+
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
var DisassociateChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2294
|
+
return [
|
|
2295
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2296
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2297
|
+
];
|
|
2298
|
+
}).s("Notifications", "DisassociateChannel", {}).n("NotificationsClient", "DisassociateChannelCommand").f(void 0, void 0).ser(se_DisassociateChannelCommand).de(de_DisassociateChannelCommand).build() {
|
|
2299
|
+
static {
|
|
2300
|
+
__name(this, "DisassociateChannelCommand");
|
|
2301
|
+
}
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2304
|
+
// src/commands/DisassociateManagedNotificationAccountContactCommand.ts
|
|
2305
|
+
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
var DisassociateManagedNotificationAccountContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2309
|
+
return [
|
|
2310
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2311
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2312
|
+
];
|
|
2313
|
+
}).s("Notifications", "DisassociateManagedNotificationAccountContact", {}).n("NotificationsClient", "DisassociateManagedNotificationAccountContactCommand").f(void 0, void 0).ser(se_DisassociateManagedNotificationAccountContactCommand).de(de_DisassociateManagedNotificationAccountContactCommand).build() {
|
|
2314
|
+
static {
|
|
2315
|
+
__name(this, "DisassociateManagedNotificationAccountContactCommand");
|
|
2316
|
+
}
|
|
2317
|
+
};
|
|
2318
|
+
|
|
2319
|
+
// src/commands/DisassociateManagedNotificationAdditionalChannelCommand.ts
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
var DisassociateManagedNotificationAdditionalChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2324
|
+
return [
|
|
2325
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2326
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2327
|
+
];
|
|
2328
|
+
}).s("Notifications", "DisassociateManagedNotificationAdditionalChannel", {}).n("NotificationsClient", "DisassociateManagedNotificationAdditionalChannelCommand").f(void 0, void 0).ser(se_DisassociateManagedNotificationAdditionalChannelCommand).de(de_DisassociateManagedNotificationAdditionalChannelCommand).build() {
|
|
2329
|
+
static {
|
|
2330
|
+
__name(this, "DisassociateManagedNotificationAdditionalChannelCommand");
|
|
2331
|
+
}
|
|
2332
|
+
};
|
|
2333
|
+
|
|
2334
|
+
// src/commands/DisassociateOrganizationalUnitCommand.ts
|
|
2335
|
+
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
var DisassociateOrganizationalUnitCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2339
|
+
return [
|
|
2340
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2341
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2342
|
+
];
|
|
2343
|
+
}).s("Notifications", "DisassociateOrganizationalUnit", {}).n("NotificationsClient", "DisassociateOrganizationalUnitCommand").f(void 0, void 0).ser(se_DisassociateOrganizationalUnitCommand).de(de_DisassociateOrganizationalUnitCommand).build() {
|
|
2344
|
+
static {
|
|
2345
|
+
__name(this, "DisassociateOrganizationalUnitCommand");
|
|
2346
|
+
}
|
|
2347
|
+
};
|
|
2348
|
+
|
|
2349
|
+
// src/commands/EnableNotificationsAccessForOrganizationCommand.ts
|
|
2350
|
+
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
var EnableNotificationsAccessForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2354
|
+
return [
|
|
2355
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2356
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2357
|
+
];
|
|
2358
|
+
}).s("Notifications", "EnableNotificationsAccessForOrganization", {}).n("NotificationsClient", "EnableNotificationsAccessForOrganizationCommand").f(void 0, void 0).ser(se_EnableNotificationsAccessForOrganizationCommand).de(de_EnableNotificationsAccessForOrganizationCommand).build() {
|
|
2359
|
+
static {
|
|
2360
|
+
__name(this, "EnableNotificationsAccessForOrganizationCommand");
|
|
2361
|
+
}
|
|
2362
|
+
};
|
|
2363
|
+
|
|
2364
|
+
// src/commands/GetEventRuleCommand.ts
|
|
2365
|
+
|
|
2366
|
+
|
|
2367
|
+
|
|
2368
|
+
var GetEventRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2369
|
+
return [
|
|
2370
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2371
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2372
|
+
];
|
|
2373
|
+
}).s("Notifications", "GetEventRule", {}).n("NotificationsClient", "GetEventRuleCommand").f(void 0, void 0).ser(se_GetEventRuleCommand).de(de_GetEventRuleCommand).build() {
|
|
2374
|
+
static {
|
|
2375
|
+
__name(this, "GetEventRuleCommand");
|
|
2376
|
+
}
|
|
2377
|
+
};
|
|
2378
|
+
|
|
2379
|
+
// src/commands/GetManagedNotificationChildEventCommand.ts
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
|
|
2383
|
+
var GetManagedNotificationChildEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2384
|
+
return [
|
|
2385
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2386
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2387
|
+
];
|
|
2388
|
+
}).s("Notifications", "GetManagedNotificationChildEvent", {}).n("NotificationsClient", "GetManagedNotificationChildEventCommand").f(void 0, void 0).ser(se_GetManagedNotificationChildEventCommand).de(de_GetManagedNotificationChildEventCommand).build() {
|
|
2389
|
+
static {
|
|
2390
|
+
__name(this, "GetManagedNotificationChildEventCommand");
|
|
2391
|
+
}
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2394
|
+
// src/commands/GetManagedNotificationConfigurationCommand.ts
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
var GetManagedNotificationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2399
|
+
return [
|
|
2400
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2401
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2402
|
+
];
|
|
2403
|
+
}).s("Notifications", "GetManagedNotificationConfiguration", {}).n("NotificationsClient", "GetManagedNotificationConfigurationCommand").f(void 0, void 0).ser(se_GetManagedNotificationConfigurationCommand).de(de_GetManagedNotificationConfigurationCommand).build() {
|
|
2404
|
+
static {
|
|
2405
|
+
__name(this, "GetManagedNotificationConfigurationCommand");
|
|
2406
|
+
}
|
|
2407
|
+
};
|
|
2408
|
+
|
|
2409
|
+
// src/commands/GetManagedNotificationEventCommand.ts
|
|
2410
|
+
|
|
2411
|
+
|
|
2412
|
+
|
|
2413
|
+
var GetManagedNotificationEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2414
|
+
return [
|
|
2415
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2416
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2417
|
+
];
|
|
2418
|
+
}).s("Notifications", "GetManagedNotificationEvent", {}).n("NotificationsClient", "GetManagedNotificationEventCommand").f(void 0, void 0).ser(se_GetManagedNotificationEventCommand).de(de_GetManagedNotificationEventCommand).build() {
|
|
2419
|
+
static {
|
|
2420
|
+
__name(this, "GetManagedNotificationEventCommand");
|
|
2421
|
+
}
|
|
2422
|
+
};
|
|
2423
|
+
|
|
2424
|
+
// src/commands/GetNotificationConfigurationCommand.ts
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
var GetNotificationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2429
|
+
return [
|
|
2430
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2431
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2432
|
+
];
|
|
2433
|
+
}).s("Notifications", "GetNotificationConfiguration", {}).n("NotificationsClient", "GetNotificationConfigurationCommand").f(void 0, void 0).ser(se_GetNotificationConfigurationCommand).de(de_GetNotificationConfigurationCommand).build() {
|
|
2434
|
+
static {
|
|
2435
|
+
__name(this, "GetNotificationConfigurationCommand");
|
|
2436
|
+
}
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
|
+
// src/commands/GetNotificationEventCommand.ts
|
|
2440
|
+
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
var GetNotificationEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2444
|
+
return [
|
|
2445
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2446
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2447
|
+
];
|
|
2448
|
+
}).s("Notifications", "GetNotificationEvent", {}).n("NotificationsClient", "GetNotificationEventCommand").f(void 0, void 0).ser(se_GetNotificationEventCommand).de(de_GetNotificationEventCommand).build() {
|
|
2449
|
+
static {
|
|
2450
|
+
__name(this, "GetNotificationEventCommand");
|
|
2451
|
+
}
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
// src/commands/GetNotificationsAccessForOrganizationCommand.ts
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
var GetNotificationsAccessForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2459
|
+
return [
|
|
2460
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2461
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2462
|
+
];
|
|
2463
|
+
}).s("Notifications", "GetNotificationsAccessForOrganization", {}).n("NotificationsClient", "GetNotificationsAccessForOrganizationCommand").f(void 0, void 0).ser(se_GetNotificationsAccessForOrganizationCommand).de(de_GetNotificationsAccessForOrganizationCommand).build() {
|
|
2464
|
+
static {
|
|
2465
|
+
__name(this, "GetNotificationsAccessForOrganizationCommand");
|
|
2466
|
+
}
|
|
2467
|
+
};
|
|
2468
|
+
|
|
2469
|
+
// src/commands/ListChannelsCommand.ts
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
var ListChannelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2474
|
+
return [
|
|
2475
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2476
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2477
|
+
];
|
|
2478
|
+
}).s("Notifications", "ListChannels", {}).n("NotificationsClient", "ListChannelsCommand").f(void 0, void 0).ser(se_ListChannelsCommand).de(de_ListChannelsCommand).build() {
|
|
2479
|
+
static {
|
|
2480
|
+
__name(this, "ListChannelsCommand");
|
|
2481
|
+
}
|
|
2482
|
+
};
|
|
2483
|
+
|
|
2484
|
+
// src/commands/ListEventRulesCommand.ts
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
var ListEventRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2489
|
+
return [
|
|
2490
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2491
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2492
|
+
];
|
|
2493
|
+
}).s("Notifications", "ListEventRules", {}).n("NotificationsClient", "ListEventRulesCommand").f(void 0, void 0).ser(se_ListEventRulesCommand).de(de_ListEventRulesCommand).build() {
|
|
2494
|
+
static {
|
|
2495
|
+
__name(this, "ListEventRulesCommand");
|
|
2496
|
+
}
|
|
2497
|
+
};
|
|
2498
|
+
|
|
2499
|
+
// src/commands/ListManagedNotificationChannelAssociationsCommand.ts
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
var ListManagedNotificationChannelAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2504
|
+
return [
|
|
2505
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2506
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2507
|
+
];
|
|
2508
|
+
}).s("Notifications", "ListManagedNotificationChannelAssociations", {}).n("NotificationsClient", "ListManagedNotificationChannelAssociationsCommand").f(void 0, void 0).ser(se_ListManagedNotificationChannelAssociationsCommand).de(de_ListManagedNotificationChannelAssociationsCommand).build() {
|
|
2509
|
+
static {
|
|
2510
|
+
__name(this, "ListManagedNotificationChannelAssociationsCommand");
|
|
2511
|
+
}
|
|
2512
|
+
};
|
|
2513
|
+
|
|
2514
|
+
// src/commands/ListManagedNotificationChildEventsCommand.ts
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
var ListManagedNotificationChildEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2519
|
+
return [
|
|
2520
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2521
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2522
|
+
];
|
|
2523
|
+
}).s("Notifications", "ListManagedNotificationChildEvents", {}).n("NotificationsClient", "ListManagedNotificationChildEventsCommand").f(void 0, void 0).ser(se_ListManagedNotificationChildEventsCommand).de(de_ListManagedNotificationChildEventsCommand).build() {
|
|
2524
|
+
static {
|
|
2525
|
+
__name(this, "ListManagedNotificationChildEventsCommand");
|
|
2526
|
+
}
|
|
2527
|
+
};
|
|
2528
|
+
|
|
2529
|
+
// src/commands/ListManagedNotificationConfigurationsCommand.ts
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
var ListManagedNotificationConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2534
|
+
return [
|
|
2535
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2536
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2537
|
+
];
|
|
2538
|
+
}).s("Notifications", "ListManagedNotificationConfigurations", {}).n("NotificationsClient", "ListManagedNotificationConfigurationsCommand").f(void 0, void 0).ser(se_ListManagedNotificationConfigurationsCommand).de(de_ListManagedNotificationConfigurationsCommand).build() {
|
|
2539
|
+
static {
|
|
2540
|
+
__name(this, "ListManagedNotificationConfigurationsCommand");
|
|
2541
|
+
}
|
|
2542
|
+
};
|
|
2543
|
+
|
|
2544
|
+
// src/commands/ListManagedNotificationEventsCommand.ts
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
var ListManagedNotificationEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2549
|
+
return [
|
|
2550
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2551
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2552
|
+
];
|
|
2553
|
+
}).s("Notifications", "ListManagedNotificationEvents", {}).n("NotificationsClient", "ListManagedNotificationEventsCommand").f(void 0, void 0).ser(se_ListManagedNotificationEventsCommand).de(de_ListManagedNotificationEventsCommand).build() {
|
|
2554
|
+
static {
|
|
2555
|
+
__name(this, "ListManagedNotificationEventsCommand");
|
|
2556
|
+
}
|
|
2557
|
+
};
|
|
2558
|
+
|
|
2559
|
+
// src/commands/ListMemberAccountsCommand.ts
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
var ListMemberAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2564
|
+
return [
|
|
2565
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2566
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2567
|
+
];
|
|
2568
|
+
}).s("Notifications", "ListMemberAccounts", {}).n("NotificationsClient", "ListMemberAccountsCommand").f(void 0, void 0).ser(se_ListMemberAccountsCommand).de(de_ListMemberAccountsCommand).build() {
|
|
2569
|
+
static {
|
|
2570
|
+
__name(this, "ListMemberAccountsCommand");
|
|
2571
|
+
}
|
|
2572
|
+
};
|
|
2573
|
+
|
|
2574
|
+
// src/commands/ListNotificationConfigurationsCommand.ts
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
var ListNotificationConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2579
|
+
return [
|
|
2580
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2581
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2582
|
+
];
|
|
2583
|
+
}).s("Notifications", "ListNotificationConfigurations", {}).n("NotificationsClient", "ListNotificationConfigurationsCommand").f(void 0, void 0).ser(se_ListNotificationConfigurationsCommand).de(de_ListNotificationConfigurationsCommand).build() {
|
|
2584
|
+
static {
|
|
2585
|
+
__name(this, "ListNotificationConfigurationsCommand");
|
|
2586
|
+
}
|
|
2587
|
+
};
|
|
2588
|
+
|
|
2589
|
+
// src/commands/ListNotificationEventsCommand.ts
|
|
2590
|
+
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
var ListNotificationEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2594
|
+
return [
|
|
2595
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2596
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2597
|
+
];
|
|
2598
|
+
}).s("Notifications", "ListNotificationEvents", {}).n("NotificationsClient", "ListNotificationEventsCommand").f(void 0, void 0).ser(se_ListNotificationEventsCommand).de(de_ListNotificationEventsCommand).build() {
|
|
2599
|
+
static {
|
|
2600
|
+
__name(this, "ListNotificationEventsCommand");
|
|
2601
|
+
}
|
|
2602
|
+
};
|
|
2603
|
+
|
|
2604
|
+
// src/commands/ListNotificationHubsCommand.ts
|
|
2605
|
+
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
var ListNotificationHubsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2609
|
+
return [
|
|
2610
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2611
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2612
|
+
];
|
|
2613
|
+
}).s("Notifications", "ListNotificationHubs", {}).n("NotificationsClient", "ListNotificationHubsCommand").f(void 0, void 0).ser(se_ListNotificationHubsCommand).de(de_ListNotificationHubsCommand).build() {
|
|
2614
|
+
static {
|
|
2615
|
+
__name(this, "ListNotificationHubsCommand");
|
|
2616
|
+
}
|
|
2617
|
+
};
|
|
2618
|
+
|
|
2619
|
+
// src/commands/ListOrganizationalUnitsCommand.ts
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
var ListOrganizationalUnitsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2624
|
+
return [
|
|
2625
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2626
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2627
|
+
];
|
|
2628
|
+
}).s("Notifications", "ListOrganizationalUnits", {}).n("NotificationsClient", "ListOrganizationalUnitsCommand").f(void 0, void 0).ser(se_ListOrganizationalUnitsCommand).de(de_ListOrganizationalUnitsCommand).build() {
|
|
2629
|
+
static {
|
|
2630
|
+
__name(this, "ListOrganizationalUnitsCommand");
|
|
2631
|
+
}
|
|
2632
|
+
};
|
|
2633
|
+
|
|
2634
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2639
|
+
return [
|
|
2640
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2641
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2642
|
+
];
|
|
2643
|
+
}).s("Notifications", "ListTagsForResource", {}).n("NotificationsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2644
|
+
static {
|
|
2645
|
+
__name(this, "ListTagsForResourceCommand");
|
|
2646
|
+
}
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2649
|
+
// src/commands/RegisterNotificationHubCommand.ts
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
var RegisterNotificationHubCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2654
|
+
return [
|
|
2655
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2656
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2657
|
+
];
|
|
2658
|
+
}).s("Notifications", "RegisterNotificationHub", {}).n("NotificationsClient", "RegisterNotificationHubCommand").f(void 0, void 0).ser(se_RegisterNotificationHubCommand).de(de_RegisterNotificationHubCommand).build() {
|
|
2659
|
+
static {
|
|
2660
|
+
__name(this, "RegisterNotificationHubCommand");
|
|
2661
|
+
}
|
|
2662
|
+
};
|
|
2663
|
+
|
|
2664
|
+
// src/commands/TagResourceCommand.ts
|
|
2665
|
+
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2669
|
+
return [
|
|
2670
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2671
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2672
|
+
];
|
|
2673
|
+
}).s("Notifications", "TagResource", {}).n("NotificationsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2674
|
+
static {
|
|
2675
|
+
__name(this, "TagResourceCommand");
|
|
2676
|
+
}
|
|
2677
|
+
};
|
|
2678
|
+
|
|
2679
|
+
// src/commands/UntagResourceCommand.ts
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2684
|
+
return [
|
|
2685
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2686
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2687
|
+
];
|
|
2688
|
+
}).s("Notifications", "UntagResource", {}).n("NotificationsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2689
|
+
static {
|
|
2690
|
+
__name(this, "UntagResourceCommand");
|
|
2691
|
+
}
|
|
2692
|
+
};
|
|
2693
|
+
|
|
2694
|
+
// src/commands/UpdateEventRuleCommand.ts
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
var UpdateEventRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2699
|
+
return [
|
|
2700
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2701
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2702
|
+
];
|
|
2703
|
+
}).s("Notifications", "UpdateEventRule", {}).n("NotificationsClient", "UpdateEventRuleCommand").f(void 0, void 0).ser(se_UpdateEventRuleCommand).de(de_UpdateEventRuleCommand).build() {
|
|
2704
|
+
static {
|
|
2705
|
+
__name(this, "UpdateEventRuleCommand");
|
|
2706
|
+
}
|
|
2707
|
+
};
|
|
2708
|
+
|
|
2709
|
+
// src/commands/UpdateNotificationConfigurationCommand.ts
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
|
|
2713
|
+
var UpdateNotificationConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2714
|
+
return [
|
|
2715
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2716
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2717
|
+
];
|
|
2718
|
+
}).s("Notifications", "UpdateNotificationConfiguration", {}).n("NotificationsClient", "UpdateNotificationConfigurationCommand").f(void 0, void 0).ser(se_UpdateNotificationConfigurationCommand).de(de_UpdateNotificationConfigurationCommand).build() {
|
|
2719
|
+
static {
|
|
2720
|
+
__name(this, "UpdateNotificationConfigurationCommand");
|
|
2721
|
+
}
|
|
2722
|
+
};
|
|
2723
|
+
|
|
2724
|
+
// src/Notifications.ts
|
|
2725
|
+
var commands = {
|
|
2726
|
+
AssociateChannelCommand,
|
|
2727
|
+
AssociateManagedNotificationAccountContactCommand,
|
|
2728
|
+
AssociateManagedNotificationAdditionalChannelCommand,
|
|
2729
|
+
AssociateOrganizationalUnitCommand,
|
|
2730
|
+
CreateEventRuleCommand,
|
|
2731
|
+
CreateNotificationConfigurationCommand,
|
|
2732
|
+
DeleteEventRuleCommand,
|
|
2733
|
+
DeleteNotificationConfigurationCommand,
|
|
2734
|
+
DeregisterNotificationHubCommand,
|
|
2735
|
+
DisableNotificationsAccessForOrganizationCommand,
|
|
2736
|
+
DisassociateChannelCommand,
|
|
2737
|
+
DisassociateManagedNotificationAccountContactCommand,
|
|
2738
|
+
DisassociateManagedNotificationAdditionalChannelCommand,
|
|
2739
|
+
DisassociateOrganizationalUnitCommand,
|
|
2740
|
+
EnableNotificationsAccessForOrganizationCommand,
|
|
2741
|
+
GetEventRuleCommand,
|
|
2742
|
+
GetManagedNotificationChildEventCommand,
|
|
2743
|
+
GetManagedNotificationConfigurationCommand,
|
|
2744
|
+
GetManagedNotificationEventCommand,
|
|
2745
|
+
GetNotificationConfigurationCommand,
|
|
2746
|
+
GetNotificationEventCommand,
|
|
2747
|
+
GetNotificationsAccessForOrganizationCommand,
|
|
2748
|
+
ListChannelsCommand,
|
|
2749
|
+
ListEventRulesCommand,
|
|
2750
|
+
ListManagedNotificationChannelAssociationsCommand,
|
|
2751
|
+
ListManagedNotificationChildEventsCommand,
|
|
2752
|
+
ListManagedNotificationConfigurationsCommand,
|
|
2753
|
+
ListManagedNotificationEventsCommand,
|
|
2754
|
+
ListMemberAccountsCommand,
|
|
2755
|
+
ListNotificationConfigurationsCommand,
|
|
2756
|
+
ListNotificationEventsCommand,
|
|
2757
|
+
ListNotificationHubsCommand,
|
|
2758
|
+
ListOrganizationalUnitsCommand,
|
|
2759
|
+
ListTagsForResourceCommand,
|
|
2760
|
+
RegisterNotificationHubCommand,
|
|
2761
|
+
TagResourceCommand,
|
|
2762
|
+
UntagResourceCommand,
|
|
2763
|
+
UpdateEventRuleCommand,
|
|
2764
|
+
UpdateNotificationConfigurationCommand
|
|
2765
|
+
};
|
|
2766
|
+
var Notifications = class extends NotificationsClient {
|
|
2767
|
+
static {
|
|
2768
|
+
__name(this, "Notifications");
|
|
2769
|
+
}
|
|
2770
|
+
};
|
|
2771
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Notifications);
|
|
2772
|
+
|
|
2773
|
+
// src/pagination/ListChannelsPaginator.ts
|
|
2774
|
+
|
|
2775
|
+
var paginateListChannels = (0, import_core.createPaginator)(NotificationsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|
|
2776
|
+
|
|
2777
|
+
// src/pagination/ListEventRulesPaginator.ts
|
|
2778
|
+
|
|
2779
|
+
var paginateListEventRules = (0, import_core.createPaginator)(NotificationsClient, ListEventRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
2780
|
+
|
|
2781
|
+
// src/pagination/ListManagedNotificationChannelAssociationsPaginator.ts
|
|
2782
|
+
|
|
2783
|
+
var paginateListManagedNotificationChannelAssociations = (0, import_core.createPaginator)(NotificationsClient, ListManagedNotificationChannelAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
2784
|
+
|
|
2785
|
+
// src/pagination/ListManagedNotificationChildEventsPaginator.ts
|
|
2786
|
+
|
|
2787
|
+
var paginateListManagedNotificationChildEvents = (0, import_core.createPaginator)(NotificationsClient, ListManagedNotificationChildEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
2788
|
+
|
|
2789
|
+
// src/pagination/ListManagedNotificationConfigurationsPaginator.ts
|
|
2790
|
+
|
|
2791
|
+
var paginateListManagedNotificationConfigurations = (0, import_core.createPaginator)(NotificationsClient, ListManagedNotificationConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
2792
|
+
|
|
2793
|
+
// src/pagination/ListManagedNotificationEventsPaginator.ts
|
|
2794
|
+
|
|
2795
|
+
var paginateListManagedNotificationEvents = (0, import_core.createPaginator)(NotificationsClient, ListManagedNotificationEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
2796
|
+
|
|
2797
|
+
// src/pagination/ListMemberAccountsPaginator.ts
|
|
2798
|
+
|
|
2799
|
+
var paginateListMemberAccounts = (0, import_core.createPaginator)(NotificationsClient, ListMemberAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
2800
|
+
|
|
2801
|
+
// src/pagination/ListNotificationConfigurationsPaginator.ts
|
|
2802
|
+
|
|
2803
|
+
var paginateListNotificationConfigurations = (0, import_core.createPaginator)(NotificationsClient, ListNotificationConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
2804
|
+
|
|
2805
|
+
// src/pagination/ListNotificationEventsPaginator.ts
|
|
2806
|
+
|
|
2807
|
+
var paginateListNotificationEvents = (0, import_core.createPaginator)(NotificationsClient, ListNotificationEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
2808
|
+
|
|
2809
|
+
// src/pagination/ListNotificationHubsPaginator.ts
|
|
2810
|
+
|
|
2811
|
+
var paginateListNotificationHubs = (0, import_core.createPaginator)(NotificationsClient, ListNotificationHubsCommand, "nextToken", "nextToken", "maxResults");
|
|
2812
|
+
|
|
2813
|
+
// src/pagination/ListOrganizationalUnitsPaginator.ts
|
|
2814
|
+
|
|
2815
|
+
var paginateListOrganizationalUnits = (0, import_core.createPaginator)(NotificationsClient, ListOrganizationalUnitsCommand, "nextToken", "nextToken", "maxResults");
|
|
2816
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2817
|
+
|
|
2818
|
+
0 && (module.exports = {
|
|
2819
|
+
NotificationsServiceException,
|
|
2820
|
+
__Client,
|
|
2821
|
+
NotificationsClient,
|
|
2822
|
+
Notifications,
|
|
2823
|
+
$Command,
|
|
2824
|
+
AssociateChannelCommand,
|
|
2825
|
+
AssociateManagedNotificationAccountContactCommand,
|
|
2826
|
+
AssociateManagedNotificationAdditionalChannelCommand,
|
|
2827
|
+
AssociateOrganizationalUnitCommand,
|
|
2828
|
+
CreateEventRuleCommand,
|
|
2829
|
+
CreateNotificationConfigurationCommand,
|
|
2830
|
+
DeleteEventRuleCommand,
|
|
2831
|
+
DeleteNotificationConfigurationCommand,
|
|
2832
|
+
DeregisterNotificationHubCommand,
|
|
2833
|
+
DisableNotificationsAccessForOrganizationCommand,
|
|
2834
|
+
DisassociateChannelCommand,
|
|
2835
|
+
DisassociateManagedNotificationAccountContactCommand,
|
|
2836
|
+
DisassociateManagedNotificationAdditionalChannelCommand,
|
|
2837
|
+
DisassociateOrganizationalUnitCommand,
|
|
2838
|
+
EnableNotificationsAccessForOrganizationCommand,
|
|
2839
|
+
GetEventRuleCommand,
|
|
2840
|
+
GetManagedNotificationChildEventCommand,
|
|
2841
|
+
GetManagedNotificationConfigurationCommand,
|
|
2842
|
+
GetManagedNotificationEventCommand,
|
|
2843
|
+
GetNotificationConfigurationCommand,
|
|
2844
|
+
GetNotificationEventCommand,
|
|
2845
|
+
GetNotificationsAccessForOrganizationCommand,
|
|
2846
|
+
ListChannelsCommand,
|
|
2847
|
+
ListEventRulesCommand,
|
|
2848
|
+
ListManagedNotificationChannelAssociationsCommand,
|
|
2849
|
+
ListManagedNotificationChildEventsCommand,
|
|
2850
|
+
ListManagedNotificationConfigurationsCommand,
|
|
2851
|
+
ListManagedNotificationEventsCommand,
|
|
2852
|
+
ListMemberAccountsCommand,
|
|
2853
|
+
ListNotificationConfigurationsCommand,
|
|
2854
|
+
ListNotificationEventsCommand,
|
|
2855
|
+
ListNotificationHubsCommand,
|
|
2856
|
+
ListOrganizationalUnitsCommand,
|
|
2857
|
+
ListTagsForResourceCommand,
|
|
2858
|
+
RegisterNotificationHubCommand,
|
|
2859
|
+
TagResourceCommand,
|
|
2860
|
+
UntagResourceCommand,
|
|
2861
|
+
UpdateEventRuleCommand,
|
|
2862
|
+
UpdateNotificationConfigurationCommand,
|
|
2863
|
+
paginateListChannels,
|
|
2864
|
+
paginateListEventRules,
|
|
2865
|
+
paginateListManagedNotificationChannelAssociations,
|
|
2866
|
+
paginateListManagedNotificationChildEvents,
|
|
2867
|
+
paginateListManagedNotificationConfigurations,
|
|
2868
|
+
paginateListManagedNotificationEvents,
|
|
2869
|
+
paginateListMemberAccounts,
|
|
2870
|
+
paginateListNotificationConfigurations,
|
|
2871
|
+
paginateListNotificationEvents,
|
|
2872
|
+
paginateListNotificationHubs,
|
|
2873
|
+
paginateListOrganizationalUnits,
|
|
2874
|
+
AccessDeniedException,
|
|
2875
|
+
AccessStatus,
|
|
2876
|
+
AccountContactType,
|
|
2877
|
+
AggregationDuration,
|
|
2878
|
+
AggregationEventType,
|
|
2879
|
+
ConflictException,
|
|
2880
|
+
InternalServerException,
|
|
2881
|
+
ResourceNotFoundException,
|
|
2882
|
+
ServiceQuotaExceededException,
|
|
2883
|
+
ThrottlingException,
|
|
2884
|
+
ValidationExceptionReason,
|
|
2885
|
+
ValidationException,
|
|
2886
|
+
ChannelAssociationOverrideOption,
|
|
2887
|
+
ChannelType,
|
|
2888
|
+
EventRuleStatus,
|
|
2889
|
+
NotificationConfigurationStatus,
|
|
2890
|
+
NotificationHubStatus,
|
|
2891
|
+
EventStatus,
|
|
2892
|
+
LocaleCode,
|
|
2893
|
+
NotificationType,
|
|
2894
|
+
SchemaVersion,
|
|
2895
|
+
TextPartType,
|
|
2896
|
+
NotificationConfigurationSubtype,
|
|
2897
|
+
MediaElementType,
|
|
2898
|
+
MemberAccountNotificationConfigurationStatus
|
|
2899
|
+
});
|
|
2900
|
+
|