@aws-sdk/client-notificationscontacts 3.901.0 → 3.907.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 +804 -990
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,1031 +1,845 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
23
|
+
defaultSigningName: "notifications-contacts",
|
|
24
|
+
});
|
|
10
25
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
26
|
+
const commonParams = {
|
|
27
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
28
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
29
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18
30
|
};
|
|
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
|
-
ActivateEmailContactCommand: () => ActivateEmailContactCommand,
|
|
26
|
-
ActivateEmailContactRequestFilterSensitiveLog: () => ActivateEmailContactRequestFilterSensitiveLog,
|
|
27
|
-
ConflictException: () => ConflictException,
|
|
28
|
-
CreateEmailContactCommand: () => CreateEmailContactCommand,
|
|
29
|
-
CreateEmailContactRequestFilterSensitiveLog: () => CreateEmailContactRequestFilterSensitiveLog,
|
|
30
|
-
DeleteEmailContactCommand: () => DeleteEmailContactCommand,
|
|
31
|
-
EmailContactFilterSensitiveLog: () => EmailContactFilterSensitiveLog,
|
|
32
|
-
EmailContactStatus: () => EmailContactStatus,
|
|
33
|
-
GetEmailContactCommand: () => GetEmailContactCommand,
|
|
34
|
-
GetEmailContactResponseFilterSensitiveLog: () => GetEmailContactResponseFilterSensitiveLog,
|
|
35
|
-
InternalServerException: () => InternalServerException,
|
|
36
|
-
ListEmailContactsCommand: () => ListEmailContactsCommand,
|
|
37
|
-
ListEmailContactsResponseFilterSensitiveLog: () => ListEmailContactsResponseFilterSensitiveLog,
|
|
38
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
39
|
-
NotificationsContacts: () => NotificationsContacts,
|
|
40
|
-
NotificationsContactsClient: () => NotificationsContactsClient,
|
|
41
|
-
NotificationsContactsServiceException: () => NotificationsContactsServiceException,
|
|
42
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
43
|
-
SendActivationCodeCommand: () => SendActivationCodeCommand,
|
|
44
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
45
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
46
|
-
ThrottlingException: () => ThrottlingException,
|
|
47
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
48
|
-
ValidationException: () => ValidationException,
|
|
49
|
-
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
50
|
-
__Client: () => import_smithy_client.Client,
|
|
51
|
-
paginateListEmailContacts: () => paginateListEmailContacts
|
|
52
|
-
});
|
|
53
|
-
module.exports = __toCommonJS(index_exports);
|
|
54
|
-
|
|
55
|
-
// src/NotificationsContactsClient.ts
|
|
56
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
57
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
58
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
59
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
60
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
61
|
-
var import_core = require("@smithy/core");
|
|
62
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
63
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
64
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
65
31
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
32
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
33
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
34
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
35
|
+
let _credentials = runtimeConfig.credentials;
|
|
36
|
+
return {
|
|
37
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
38
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
39
|
+
if (index === -1) {
|
|
40
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
httpAuthSchemes() {
|
|
47
|
+
return _httpAuthSchemes;
|
|
48
|
+
},
|
|
49
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
50
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
51
|
+
},
|
|
52
|
+
httpAuthSchemeProvider() {
|
|
53
|
+
return _httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
setCredentials(credentials) {
|
|
56
|
+
_credentials = credentials;
|
|
57
|
+
},
|
|
58
|
+
credentials() {
|
|
59
|
+
return _credentials;
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
64
|
+
return {
|
|
65
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
66
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
67
|
+
credentials: config.credentials(),
|
|
68
|
+
};
|
|
79
69
|
};
|
|
80
70
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
|
87
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
|
71
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
72
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
73
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
74
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
75
|
+
};
|
|
88
76
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
77
|
+
class NotificationsContactsClient extends smithyClient.Client {
|
|
78
|
+
config;
|
|
79
|
+
constructor(...[configuration]) {
|
|
80
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
81
|
+
super(_config_0);
|
|
82
|
+
this.initConfig = _config_0;
|
|
83
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
84
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
85
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
86
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
87
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
88
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
89
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
90
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
91
|
+
this.config = _config_8;
|
|
92
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
93
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
99
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultNotificationsContactsHttpAuthSchemeParametersProvider,
|
|
100
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
101
|
+
"aws.auth#sigv4": config.credentials,
|
|
102
|
+
}),
|
|
103
|
+
}));
|
|
104
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
117
105
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
123
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
124
|
-
credentials: config.credentials()
|
|
125
|
-
};
|
|
126
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
127
|
-
|
|
128
|
-
// src/runtimeExtensions.ts
|
|
129
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
130
|
-
const extensionConfiguration = Object.assign(
|
|
131
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
132
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
133
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
134
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
135
|
-
);
|
|
136
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
137
|
-
return Object.assign(
|
|
138
|
-
runtimeConfig,
|
|
139
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
140
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
141
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
142
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
143
|
-
);
|
|
144
|
-
}, "resolveRuntimeExtensions");
|
|
106
|
+
destroy() {
|
|
107
|
+
super.destroy();
|
|
108
|
+
}
|
|
109
|
+
}
|
|
145
110
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
111
|
+
class NotificationsContactsServiceException extends smithyClient.ServiceException {
|
|
112
|
+
constructor(options) {
|
|
113
|
+
super(options);
|
|
114
|
+
Object.setPrototypeOf(this, NotificationsContactsServiceException.prototype);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
class AccessDeniedException extends NotificationsContactsServiceException {
|
|
119
|
+
name = "AccessDeniedException";
|
|
120
|
+
$fault = "client";
|
|
121
|
+
constructor(opts) {
|
|
122
|
+
super({
|
|
123
|
+
name: "AccessDeniedException",
|
|
124
|
+
$fault: "client",
|
|
125
|
+
...opts,
|
|
126
|
+
});
|
|
127
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
class ConflictException extends NotificationsContactsServiceException {
|
|
131
|
+
name = "ConflictException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
resourceId;
|
|
134
|
+
resourceType;
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ConflictException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
142
|
+
this.resourceId = opts.resourceId;
|
|
143
|
+
this.resourceType = opts.resourceType;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
class InternalServerException extends NotificationsContactsServiceException {
|
|
147
|
+
name = "InternalServerException";
|
|
148
|
+
$fault = "server";
|
|
149
|
+
$retryable = {};
|
|
150
|
+
constructor(opts) {
|
|
151
|
+
super({
|
|
152
|
+
name: "InternalServerException",
|
|
153
|
+
$fault: "server",
|
|
154
|
+
...opts,
|
|
155
|
+
});
|
|
156
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
class ResourceNotFoundException extends NotificationsContactsServiceException {
|
|
160
|
+
name = "ResourceNotFoundException";
|
|
161
|
+
$fault = "client";
|
|
162
|
+
resourceId;
|
|
163
|
+
resourceType;
|
|
164
|
+
constructor(opts) {
|
|
165
|
+
super({
|
|
166
|
+
name: "ResourceNotFoundException",
|
|
167
|
+
$fault: "client",
|
|
168
|
+
...opts,
|
|
169
|
+
});
|
|
170
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
171
|
+
this.resourceId = opts.resourceId;
|
|
172
|
+
this.resourceType = opts.resourceType;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
class ThrottlingException extends NotificationsContactsServiceException {
|
|
176
|
+
name = "ThrottlingException";
|
|
177
|
+
$fault = "client";
|
|
178
|
+
$retryable = {
|
|
179
|
+
throttling: true,
|
|
180
|
+
};
|
|
181
|
+
serviceCode;
|
|
182
|
+
quotaCode;
|
|
183
|
+
retryAfterSeconds;
|
|
184
|
+
constructor(opts) {
|
|
185
|
+
super({
|
|
186
|
+
name: "ThrottlingException",
|
|
187
|
+
$fault: "client",
|
|
188
|
+
...opts,
|
|
189
|
+
});
|
|
190
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
191
|
+
this.serviceCode = opts.serviceCode;
|
|
192
|
+
this.quotaCode = opts.quotaCode;
|
|
193
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
const ValidationExceptionReason = {
|
|
197
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
198
|
+
OTHER: "other",
|
|
192
199
|
};
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
200
|
+
class ValidationException extends NotificationsContactsServiceException {
|
|
201
|
+
name = "ValidationException";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
reason;
|
|
204
|
+
fieldList;
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "ValidationException",
|
|
208
|
+
$fault: "client",
|
|
209
|
+
...opts,
|
|
210
|
+
});
|
|
211
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
212
|
+
this.reason = opts.reason;
|
|
213
|
+
this.fieldList = opts.fieldList;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
class ServiceQuotaExceededException extends NotificationsContactsServiceException {
|
|
217
|
+
name = "ServiceQuotaExceededException";
|
|
218
|
+
$fault = "client";
|
|
219
|
+
resourceId;
|
|
220
|
+
resourceType;
|
|
221
|
+
serviceCode;
|
|
222
|
+
quotaCode;
|
|
223
|
+
constructor(opts) {
|
|
224
|
+
super({
|
|
225
|
+
name: "ServiceQuotaExceededException",
|
|
226
|
+
$fault: "client",
|
|
227
|
+
...opts,
|
|
228
|
+
});
|
|
229
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
230
|
+
this.resourceId = opts.resourceId;
|
|
231
|
+
this.resourceType = opts.resourceType;
|
|
232
|
+
this.serviceCode = opts.serviceCode;
|
|
233
|
+
this.quotaCode = opts.quotaCode;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
const EmailContactStatus = {
|
|
237
|
+
ACTIVE: "active",
|
|
238
|
+
INACTIVE: "inactive",
|
|
218
239
|
};
|
|
240
|
+
const ActivateEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
241
|
+
...obj,
|
|
242
|
+
...(obj.code && { code: smithyClient.SENSITIVE_STRING }),
|
|
243
|
+
});
|
|
244
|
+
const CreateEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
247
|
+
});
|
|
248
|
+
const EmailContactFilterSensitiveLog = (obj) => ({
|
|
249
|
+
...obj,
|
|
250
|
+
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
251
|
+
...(obj.address && { address: smithyClient.SENSITIVE_STRING }),
|
|
252
|
+
});
|
|
253
|
+
const GetEmailContactResponseFilterSensitiveLog = (obj) => ({
|
|
254
|
+
...obj,
|
|
255
|
+
...(obj.emailContact && { emailContact: EmailContactFilterSensitiveLog(obj.emailContact) }),
|
|
256
|
+
});
|
|
257
|
+
const ListEmailContactsResponseFilterSensitiveLog = (obj) => ({
|
|
258
|
+
...obj,
|
|
259
|
+
...(obj.emailContacts && { emailContacts: obj.emailContacts.map((item) => EmailContactFilterSensitiveLog(item)) }),
|
|
260
|
+
});
|
|
219
261
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
262
|
+
const se_ActivateEmailContactCommand = async (input, context) => {
|
|
263
|
+
const b = core.requestBuilder(input, context);
|
|
264
|
+
const headers = {};
|
|
265
|
+
b.bp("/emailcontacts/{arn}/activate/{code}");
|
|
266
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
267
|
+
b.p("code", () => input.code, "{code}", false);
|
|
268
|
+
let body;
|
|
269
|
+
b.m("PUT").h(headers).b(body);
|
|
270
|
+
return b.build();
|
|
271
|
+
};
|
|
272
|
+
const se_CreateEmailContactCommand = async (input, context) => {
|
|
273
|
+
const b = core.requestBuilder(input, context);
|
|
274
|
+
const headers = {
|
|
275
|
+
"content-type": "application/json",
|
|
276
|
+
};
|
|
277
|
+
b.bp("/2022-09-19/emailcontacts");
|
|
278
|
+
let body;
|
|
279
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
280
|
+
emailAddress: [],
|
|
281
|
+
name: [],
|
|
282
|
+
tags: (_) => smithyClient._json(_),
|
|
283
|
+
}));
|
|
284
|
+
b.m("POST").h(headers).b(body);
|
|
285
|
+
return b.build();
|
|
286
|
+
};
|
|
287
|
+
const se_DeleteEmailContactCommand = async (input, context) => {
|
|
288
|
+
const b = core.requestBuilder(input, context);
|
|
289
|
+
const headers = {};
|
|
290
|
+
b.bp("/emailcontacts/{arn}");
|
|
291
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
292
|
+
let body;
|
|
293
|
+
b.m("DELETE").h(headers).b(body);
|
|
294
|
+
return b.build();
|
|
295
|
+
};
|
|
296
|
+
const se_GetEmailContactCommand = async (input, context) => {
|
|
297
|
+
const b = core.requestBuilder(input, context);
|
|
298
|
+
const headers = {};
|
|
299
|
+
b.bp("/emailcontacts/{arn}");
|
|
300
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
301
|
+
let body;
|
|
302
|
+
b.m("GET").h(headers).b(body);
|
|
303
|
+
return b.build();
|
|
304
|
+
};
|
|
305
|
+
const se_ListEmailContactsCommand = async (input, context) => {
|
|
306
|
+
const b = core.requestBuilder(input, context);
|
|
307
|
+
const headers = {};
|
|
308
|
+
b.bp("/emailcontacts");
|
|
309
|
+
const query = smithyClient.map({
|
|
310
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
311
|
+
[_nT]: [, input[_nT]],
|
|
235
312
|
});
|
|
236
|
-
|
|
237
|
-
|
|
313
|
+
let body;
|
|
314
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
315
|
+
return b.build();
|
|
316
|
+
};
|
|
317
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
318
|
+
const b = core.requestBuilder(input, context);
|
|
319
|
+
const headers = {};
|
|
320
|
+
b.bp("/tags/{arn}");
|
|
321
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
322
|
+
let body;
|
|
323
|
+
b.m("GET").h(headers).b(body);
|
|
324
|
+
return b.build();
|
|
325
|
+
};
|
|
326
|
+
const se_SendActivationCodeCommand = async (input, context) => {
|
|
327
|
+
const b = core.requestBuilder(input, context);
|
|
328
|
+
const headers = {};
|
|
329
|
+
b.bp("/2022-10-31/emailcontacts/{arn}/activate/send");
|
|
330
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
331
|
+
let body;
|
|
332
|
+
b.m("POST").h(headers).b(body);
|
|
333
|
+
return b.build();
|
|
238
334
|
};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
name: "ConflictException",
|
|
261
|
-
$fault: "client",
|
|
262
|
-
...opts
|
|
335
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
336
|
+
const b = core.requestBuilder(input, context);
|
|
337
|
+
const headers = {
|
|
338
|
+
"content-type": "application/json",
|
|
339
|
+
};
|
|
340
|
+
b.bp("/tags/{arn}");
|
|
341
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
342
|
+
let body;
|
|
343
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
344
|
+
tags: (_) => smithyClient._json(_),
|
|
345
|
+
}));
|
|
346
|
+
b.m("POST").h(headers).b(body);
|
|
347
|
+
return b.build();
|
|
348
|
+
};
|
|
349
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
350
|
+
const b = core.requestBuilder(input, context);
|
|
351
|
+
const headers = {};
|
|
352
|
+
b.bp("/tags/{arn}");
|
|
353
|
+
b.p("arn", () => input.arn, "{arn}", false);
|
|
354
|
+
const query = smithyClient.map({
|
|
355
|
+
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
263
356
|
});
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
}
|
|
357
|
+
let body;
|
|
358
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
359
|
+
return b.build();
|
|
268
360
|
};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
$retryable = {};
|
|
276
|
-
/**
|
|
277
|
-
* @internal
|
|
278
|
-
*/
|
|
279
|
-
constructor(opts) {
|
|
280
|
-
super({
|
|
281
|
-
name: "InternalServerException",
|
|
282
|
-
$fault: "server",
|
|
283
|
-
...opts
|
|
361
|
+
const de_ActivateEmailContactCommand = async (output, context) => {
|
|
362
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
363
|
+
return de_CommandError(output, context);
|
|
364
|
+
}
|
|
365
|
+
const contents = smithyClient.map({
|
|
366
|
+
$metadata: deserializeMetadata(output),
|
|
284
367
|
});
|
|
285
|
-
|
|
286
|
-
|
|
368
|
+
await smithyClient.collectBody(output.body, context);
|
|
369
|
+
return contents;
|
|
287
370
|
};
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
resourceId;
|
|
299
|
-
/**
|
|
300
|
-
* <p>The type of resource that wasn't found.</p>
|
|
301
|
-
* @public
|
|
302
|
-
*/
|
|
303
|
-
resourceType;
|
|
304
|
-
/**
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
|
-
constructor(opts) {
|
|
308
|
-
super({
|
|
309
|
-
name: "ResourceNotFoundException",
|
|
310
|
-
$fault: "client",
|
|
311
|
-
...opts
|
|
371
|
+
const de_CreateEmailContactCommand = async (output, context) => {
|
|
372
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
373
|
+
return de_CommandError(output, context);
|
|
374
|
+
}
|
|
375
|
+
const contents = smithyClient.map({
|
|
376
|
+
$metadata: deserializeMetadata(output),
|
|
377
|
+
});
|
|
378
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
379
|
+
const doc = smithyClient.take(data, {
|
|
380
|
+
arn: smithyClient.expectString,
|
|
312
381
|
});
|
|
313
|
-
Object.
|
|
314
|
-
|
|
315
|
-
this.resourceType = opts.resourceType;
|
|
316
|
-
}
|
|
382
|
+
Object.assign(contents, doc);
|
|
383
|
+
return contents;
|
|
317
384
|
};
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
$retryable = {
|
|
325
|
-
throttling: true
|
|
326
|
-
};
|
|
327
|
-
/**
|
|
328
|
-
* <p>Identifies the service being throttled.</p>
|
|
329
|
-
* @public
|
|
330
|
-
*/
|
|
331
|
-
serviceCode;
|
|
332
|
-
/**
|
|
333
|
-
* <p>Identifies the quota that is being throttled.</p>
|
|
334
|
-
* @public
|
|
335
|
-
*/
|
|
336
|
-
quotaCode;
|
|
337
|
-
/**
|
|
338
|
-
* <p>The number of seconds a client should wait before retrying the request.</p>
|
|
339
|
-
* @public
|
|
340
|
-
*/
|
|
341
|
-
retryAfterSeconds;
|
|
342
|
-
/**
|
|
343
|
-
* @internal
|
|
344
|
-
*/
|
|
345
|
-
constructor(opts) {
|
|
346
|
-
super({
|
|
347
|
-
name: "ThrottlingException",
|
|
348
|
-
$fault: "client",
|
|
349
|
-
...opts
|
|
385
|
+
const de_DeleteEmailContactCommand = async (output, context) => {
|
|
386
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
387
|
+
return de_CommandError(output, context);
|
|
388
|
+
}
|
|
389
|
+
const contents = smithyClient.map({
|
|
390
|
+
$metadata: deserializeMetadata(output),
|
|
350
391
|
});
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
this.quotaCode = opts.quotaCode;
|
|
354
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
355
|
-
}
|
|
392
|
+
await smithyClient.collectBody(output.body, context);
|
|
393
|
+
return contents;
|
|
356
394
|
};
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
395
|
+
const de_GetEmailContactCommand = async (output, context) => {
|
|
396
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
397
|
+
return de_CommandError(output, context);
|
|
398
|
+
}
|
|
399
|
+
const contents = smithyClient.map({
|
|
400
|
+
$metadata: deserializeMetadata(output),
|
|
401
|
+
});
|
|
402
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
403
|
+
const doc = smithyClient.take(data, {
|
|
404
|
+
emailContact: (_) => de_EmailContact(_),
|
|
405
|
+
});
|
|
406
|
+
Object.assign(contents, doc);
|
|
407
|
+
return contents;
|
|
360
408
|
};
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* <p>The reason why your input is considered invalid.</p>
|
|
369
|
-
* @public
|
|
370
|
-
*/
|
|
371
|
-
reason;
|
|
372
|
-
/**
|
|
373
|
-
* <p>The list of input fields that are invalid.</p>
|
|
374
|
-
* @public
|
|
375
|
-
*/
|
|
376
|
-
fieldList;
|
|
377
|
-
/**
|
|
378
|
-
* @internal
|
|
379
|
-
*/
|
|
380
|
-
constructor(opts) {
|
|
381
|
-
super({
|
|
382
|
-
name: "ValidationException",
|
|
383
|
-
$fault: "client",
|
|
384
|
-
...opts
|
|
409
|
+
const de_ListEmailContactsCommand = async (output, context) => {
|
|
410
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
411
|
+
return de_CommandError(output, context);
|
|
412
|
+
}
|
|
413
|
+
const contents = smithyClient.map({
|
|
414
|
+
$metadata: deserializeMetadata(output),
|
|
385
415
|
});
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
416
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
417
|
+
const doc = smithyClient.take(data, {
|
|
418
|
+
emailContacts: (_) => de_EmailContacts(_),
|
|
419
|
+
nextToken: smithyClient.expectString,
|
|
420
|
+
});
|
|
421
|
+
Object.assign(contents, doc);
|
|
422
|
+
return contents;
|
|
390
423
|
};
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* <p>The ID of the resource that exceeds the service quota.</p>
|
|
399
|
-
* @public
|
|
400
|
-
*/
|
|
401
|
-
resourceId;
|
|
402
|
-
/**
|
|
403
|
-
* <p>The type of the resource that exceeds the service quota.</p>
|
|
404
|
-
* @public
|
|
405
|
-
*/
|
|
406
|
-
resourceType;
|
|
407
|
-
/**
|
|
408
|
-
* <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>
|
|
409
|
-
* @public
|
|
410
|
-
*/
|
|
411
|
-
serviceCode;
|
|
412
|
-
/**
|
|
413
|
-
* <p>The code for the service quota in <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html">Service Quotas</a>.</p>
|
|
414
|
-
* @public
|
|
415
|
-
*/
|
|
416
|
-
quotaCode;
|
|
417
|
-
/**
|
|
418
|
-
* @internal
|
|
419
|
-
*/
|
|
420
|
-
constructor(opts) {
|
|
421
|
-
super({
|
|
422
|
-
name: "ServiceQuotaExceededException",
|
|
423
|
-
$fault: "client",
|
|
424
|
-
...opts
|
|
424
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
425
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
426
|
+
return de_CommandError(output, context);
|
|
427
|
+
}
|
|
428
|
+
const contents = smithyClient.map({
|
|
429
|
+
$metadata: deserializeMetadata(output),
|
|
425
430
|
});
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
431
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
432
|
+
const doc = smithyClient.take(data, {
|
|
433
|
+
tags: smithyClient._json,
|
|
434
|
+
});
|
|
435
|
+
Object.assign(contents, doc);
|
|
436
|
+
return contents;
|
|
432
437
|
};
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
438
|
+
const de_SendActivationCodeCommand = async (output, context) => {
|
|
439
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
440
|
+
return de_CommandError(output, context);
|
|
441
|
+
}
|
|
442
|
+
const contents = smithyClient.map({
|
|
443
|
+
$metadata: deserializeMetadata(output),
|
|
444
|
+
});
|
|
445
|
+
await smithyClient.collectBody(output.body, context);
|
|
446
|
+
return contents;
|
|
436
447
|
};
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
...obj,
|
|
447
|
-
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
448
|
-
...obj.address && { address: import_smithy_client.SENSITIVE_STRING }
|
|
449
|
-
}), "EmailContactFilterSensitiveLog");
|
|
450
|
-
var GetEmailContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
451
|
-
...obj,
|
|
452
|
-
...obj.emailContact && { emailContact: EmailContactFilterSensitiveLog(obj.emailContact) }
|
|
453
|
-
}), "GetEmailContactResponseFilterSensitiveLog");
|
|
454
|
-
var ListEmailContactsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
455
|
-
...obj,
|
|
456
|
-
...obj.emailContacts && { emailContacts: obj.emailContacts.map((item) => EmailContactFilterSensitiveLog(item)) }
|
|
457
|
-
}), "ListEmailContactsResponseFilterSensitiveLog");
|
|
458
|
-
|
|
459
|
-
// src/protocols/Aws_restJson1.ts
|
|
460
|
-
var import_core2 = require("@aws-sdk/core");
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
var se_ActivateEmailContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
464
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
465
|
-
const headers = {};
|
|
466
|
-
b.bp("/emailcontacts/{arn}/activate/{code}");
|
|
467
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
468
|
-
b.p("code", () => input.code, "{code}", false);
|
|
469
|
-
let body;
|
|
470
|
-
b.m("PUT").h(headers).b(body);
|
|
471
|
-
return b.build();
|
|
472
|
-
}, "se_ActivateEmailContactCommand");
|
|
473
|
-
var se_CreateEmailContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
474
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
475
|
-
const headers = {
|
|
476
|
-
"content-type": "application/json"
|
|
477
|
-
};
|
|
478
|
-
b.bp("/2022-09-19/emailcontacts");
|
|
479
|
-
let body;
|
|
480
|
-
body = JSON.stringify(
|
|
481
|
-
(0, import_smithy_client.take)(input, {
|
|
482
|
-
emailAddress: [],
|
|
483
|
-
name: [],
|
|
484
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
485
|
-
})
|
|
486
|
-
);
|
|
487
|
-
b.m("POST").h(headers).b(body);
|
|
488
|
-
return b.build();
|
|
489
|
-
}, "se_CreateEmailContactCommand");
|
|
490
|
-
var se_DeleteEmailContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
491
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
492
|
-
const headers = {};
|
|
493
|
-
b.bp("/emailcontacts/{arn}");
|
|
494
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
495
|
-
let body;
|
|
496
|
-
b.m("DELETE").h(headers).b(body);
|
|
497
|
-
return b.build();
|
|
498
|
-
}, "se_DeleteEmailContactCommand");
|
|
499
|
-
var se_GetEmailContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
500
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
501
|
-
const headers = {};
|
|
502
|
-
b.bp("/emailcontacts/{arn}");
|
|
503
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
504
|
-
let body;
|
|
505
|
-
b.m("GET").h(headers).b(body);
|
|
506
|
-
return b.build();
|
|
507
|
-
}, "se_GetEmailContactCommand");
|
|
508
|
-
var se_ListEmailContactsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
509
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
510
|
-
const headers = {};
|
|
511
|
-
b.bp("/emailcontacts");
|
|
512
|
-
const query = (0, import_smithy_client.map)({
|
|
513
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
514
|
-
[_nT]: [, input[_nT]]
|
|
515
|
-
});
|
|
516
|
-
let body;
|
|
517
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
518
|
-
return b.build();
|
|
519
|
-
}, "se_ListEmailContactsCommand");
|
|
520
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
521
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
522
|
-
const headers = {};
|
|
523
|
-
b.bp("/tags/{arn}");
|
|
524
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
525
|
-
let body;
|
|
526
|
-
b.m("GET").h(headers).b(body);
|
|
527
|
-
return b.build();
|
|
528
|
-
}, "se_ListTagsForResourceCommand");
|
|
529
|
-
var se_SendActivationCodeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
530
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
531
|
-
const headers = {};
|
|
532
|
-
b.bp("/2022-10-31/emailcontacts/{arn}/activate/send");
|
|
533
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
534
|
-
let body;
|
|
535
|
-
b.m("POST").h(headers).b(body);
|
|
536
|
-
return b.build();
|
|
537
|
-
}, "se_SendActivationCodeCommand");
|
|
538
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
539
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
540
|
-
const headers = {
|
|
541
|
-
"content-type": "application/json"
|
|
542
|
-
};
|
|
543
|
-
b.bp("/tags/{arn}");
|
|
544
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
545
|
-
let body;
|
|
546
|
-
body = JSON.stringify(
|
|
547
|
-
(0, import_smithy_client.take)(input, {
|
|
548
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
549
|
-
})
|
|
550
|
-
);
|
|
551
|
-
b.m("POST").h(headers).b(body);
|
|
552
|
-
return b.build();
|
|
553
|
-
}, "se_TagResourceCommand");
|
|
554
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
555
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
556
|
-
const headers = {};
|
|
557
|
-
b.bp("/tags/{arn}");
|
|
558
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
559
|
-
const query = (0, import_smithy_client.map)({
|
|
560
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
561
|
-
});
|
|
562
|
-
let body;
|
|
563
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
564
|
-
return b.build();
|
|
565
|
-
}, "se_UntagResourceCommand");
|
|
566
|
-
var de_ActivateEmailContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
567
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
568
|
-
return de_CommandError(output, context);
|
|
569
|
-
}
|
|
570
|
-
const contents = (0, import_smithy_client.map)({
|
|
571
|
-
$metadata: deserializeMetadata(output)
|
|
572
|
-
});
|
|
573
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
574
|
-
return contents;
|
|
575
|
-
}, "de_ActivateEmailContactCommand");
|
|
576
|
-
var de_CreateEmailContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
577
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
578
|
-
return de_CommandError(output, context);
|
|
579
|
-
}
|
|
580
|
-
const contents = (0, import_smithy_client.map)({
|
|
581
|
-
$metadata: deserializeMetadata(output)
|
|
582
|
-
});
|
|
583
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
584
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
585
|
-
arn: import_smithy_client.expectString
|
|
586
|
-
});
|
|
587
|
-
Object.assign(contents, doc);
|
|
588
|
-
return contents;
|
|
589
|
-
}, "de_CreateEmailContactCommand");
|
|
590
|
-
var de_DeleteEmailContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
591
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
592
|
-
return de_CommandError(output, context);
|
|
593
|
-
}
|
|
594
|
-
const contents = (0, import_smithy_client.map)({
|
|
595
|
-
$metadata: deserializeMetadata(output)
|
|
596
|
-
});
|
|
597
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
598
|
-
return contents;
|
|
599
|
-
}, "de_DeleteEmailContactCommand");
|
|
600
|
-
var de_GetEmailContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
601
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
602
|
-
return de_CommandError(output, context);
|
|
603
|
-
}
|
|
604
|
-
const contents = (0, import_smithy_client.map)({
|
|
605
|
-
$metadata: deserializeMetadata(output)
|
|
606
|
-
});
|
|
607
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
608
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
609
|
-
emailContact: /* @__PURE__ */ __name((_) => de_EmailContact(_, context), "emailContact")
|
|
610
|
-
});
|
|
611
|
-
Object.assign(contents, doc);
|
|
612
|
-
return contents;
|
|
613
|
-
}, "de_GetEmailContactCommand");
|
|
614
|
-
var de_ListEmailContactsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
615
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
616
|
-
return de_CommandError(output, context);
|
|
617
|
-
}
|
|
618
|
-
const contents = (0, import_smithy_client.map)({
|
|
619
|
-
$metadata: deserializeMetadata(output)
|
|
620
|
-
});
|
|
621
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
622
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
623
|
-
emailContacts: /* @__PURE__ */ __name((_) => de_EmailContacts(_, context), "emailContacts"),
|
|
624
|
-
nextToken: import_smithy_client.expectString
|
|
625
|
-
});
|
|
626
|
-
Object.assign(contents, doc);
|
|
627
|
-
return contents;
|
|
628
|
-
}, "de_ListEmailContactsCommand");
|
|
629
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
630
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
631
|
-
return de_CommandError(output, context);
|
|
632
|
-
}
|
|
633
|
-
const contents = (0, import_smithy_client.map)({
|
|
634
|
-
$metadata: deserializeMetadata(output)
|
|
635
|
-
});
|
|
636
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
637
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
638
|
-
tags: import_smithy_client._json
|
|
639
|
-
});
|
|
640
|
-
Object.assign(contents, doc);
|
|
641
|
-
return contents;
|
|
642
|
-
}, "de_ListTagsForResourceCommand");
|
|
643
|
-
var de_SendActivationCodeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
644
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
645
|
-
return de_CommandError(output, context);
|
|
646
|
-
}
|
|
647
|
-
const contents = (0, import_smithy_client.map)({
|
|
648
|
-
$metadata: deserializeMetadata(output)
|
|
649
|
-
});
|
|
650
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
651
|
-
return contents;
|
|
652
|
-
}, "de_SendActivationCodeCommand");
|
|
653
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
654
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
655
|
-
return de_CommandError(output, context);
|
|
656
|
-
}
|
|
657
|
-
const contents = (0, import_smithy_client.map)({
|
|
658
|
-
$metadata: deserializeMetadata(output)
|
|
659
|
-
});
|
|
660
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
661
|
-
return contents;
|
|
662
|
-
}, "de_TagResourceCommand");
|
|
663
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
664
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
665
|
-
return de_CommandError(output, context);
|
|
666
|
-
}
|
|
667
|
-
const contents = (0, import_smithy_client.map)({
|
|
668
|
-
$metadata: deserializeMetadata(output)
|
|
669
|
-
});
|
|
670
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
671
|
-
return contents;
|
|
672
|
-
}, "de_UntagResourceCommand");
|
|
673
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
674
|
-
const parsedOutput = {
|
|
675
|
-
...output,
|
|
676
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
677
|
-
};
|
|
678
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
679
|
-
switch (errorCode) {
|
|
680
|
-
case "AccessDeniedException":
|
|
681
|
-
case "com.amazonaws.notificationscontacts#AccessDeniedException":
|
|
682
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
683
|
-
case "ConflictException":
|
|
684
|
-
case "com.amazonaws.notificationscontacts#ConflictException":
|
|
685
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
686
|
-
case "InternalServerException":
|
|
687
|
-
case "com.amazonaws.notificationscontacts#InternalServerException":
|
|
688
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
689
|
-
case "ResourceNotFoundException":
|
|
690
|
-
case "com.amazonaws.notificationscontacts#ResourceNotFoundException":
|
|
691
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
692
|
-
case "ThrottlingException":
|
|
693
|
-
case "com.amazonaws.notificationscontacts#ThrottlingException":
|
|
694
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
695
|
-
case "ValidationException":
|
|
696
|
-
case "com.amazonaws.notificationscontacts#ValidationException":
|
|
697
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
698
|
-
case "ServiceQuotaExceededException":
|
|
699
|
-
case "com.amazonaws.notificationscontacts#ServiceQuotaExceededException":
|
|
700
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
701
|
-
default:
|
|
702
|
-
const parsedBody = parsedOutput.body;
|
|
703
|
-
return throwDefaultError({
|
|
704
|
-
output,
|
|
705
|
-
parsedBody,
|
|
706
|
-
errorCode
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
}, "de_CommandError");
|
|
710
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(NotificationsContactsServiceException);
|
|
711
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
712
|
-
const contents = (0, import_smithy_client.map)({});
|
|
713
|
-
const data = parsedOutput.body;
|
|
714
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
715
|
-
message: import_smithy_client.expectString
|
|
716
|
-
});
|
|
717
|
-
Object.assign(contents, doc);
|
|
718
|
-
const exception = new AccessDeniedException({
|
|
719
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
720
|
-
...contents
|
|
721
|
-
});
|
|
722
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
723
|
-
}, "de_AccessDeniedExceptionRes");
|
|
724
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
725
|
-
const contents = (0, import_smithy_client.map)({});
|
|
726
|
-
const data = parsedOutput.body;
|
|
727
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
728
|
-
message: import_smithy_client.expectString,
|
|
729
|
-
resourceId: import_smithy_client.expectString,
|
|
730
|
-
resourceType: import_smithy_client.expectString
|
|
731
|
-
});
|
|
732
|
-
Object.assign(contents, doc);
|
|
733
|
-
const exception = new ConflictException({
|
|
734
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
735
|
-
...contents
|
|
736
|
-
});
|
|
737
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
738
|
-
}, "de_ConflictExceptionRes");
|
|
739
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
740
|
-
const contents = (0, import_smithy_client.map)({});
|
|
741
|
-
const data = parsedOutput.body;
|
|
742
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
743
|
-
message: import_smithy_client.expectString
|
|
744
|
-
});
|
|
745
|
-
Object.assign(contents, doc);
|
|
746
|
-
const exception = new InternalServerException({
|
|
747
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
748
|
-
...contents
|
|
749
|
-
});
|
|
750
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
751
|
-
}, "de_InternalServerExceptionRes");
|
|
752
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
753
|
-
const contents = (0, import_smithy_client.map)({});
|
|
754
|
-
const data = parsedOutput.body;
|
|
755
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
756
|
-
message: import_smithy_client.expectString,
|
|
757
|
-
resourceId: import_smithy_client.expectString,
|
|
758
|
-
resourceType: import_smithy_client.expectString
|
|
759
|
-
});
|
|
760
|
-
Object.assign(contents, doc);
|
|
761
|
-
const exception = new ResourceNotFoundException({
|
|
762
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
763
|
-
...contents
|
|
764
|
-
});
|
|
765
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
766
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
767
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
768
|
-
const contents = (0, import_smithy_client.map)({});
|
|
769
|
-
const data = parsedOutput.body;
|
|
770
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
771
|
-
message: import_smithy_client.expectString,
|
|
772
|
-
quotaCode: import_smithy_client.expectString,
|
|
773
|
-
resourceId: import_smithy_client.expectString,
|
|
774
|
-
resourceType: import_smithy_client.expectString,
|
|
775
|
-
serviceCode: import_smithy_client.expectString
|
|
776
|
-
});
|
|
777
|
-
Object.assign(contents, doc);
|
|
778
|
-
const exception = new ServiceQuotaExceededException({
|
|
779
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
780
|
-
...contents
|
|
781
|
-
});
|
|
782
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
783
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
784
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
785
|
-
const contents = (0, import_smithy_client.map)({
|
|
786
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
787
|
-
});
|
|
788
|
-
const data = parsedOutput.body;
|
|
789
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
790
|
-
message: import_smithy_client.expectString,
|
|
791
|
-
quotaCode: import_smithy_client.expectString,
|
|
792
|
-
serviceCode: import_smithy_client.expectString
|
|
793
|
-
});
|
|
794
|
-
Object.assign(contents, doc);
|
|
795
|
-
const exception = new ThrottlingException({
|
|
796
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
797
|
-
...contents
|
|
798
|
-
});
|
|
799
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
800
|
-
}, "de_ThrottlingExceptionRes");
|
|
801
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
802
|
-
const contents = (0, import_smithy_client.map)({});
|
|
803
|
-
const data = parsedOutput.body;
|
|
804
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
805
|
-
fieldList: import_smithy_client._json,
|
|
806
|
-
message: import_smithy_client.expectString,
|
|
807
|
-
reason: import_smithy_client.expectString
|
|
808
|
-
});
|
|
809
|
-
Object.assign(contents, doc);
|
|
810
|
-
const exception = new ValidationException({
|
|
811
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
812
|
-
...contents
|
|
813
|
-
});
|
|
814
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
815
|
-
}, "de_ValidationExceptionRes");
|
|
816
|
-
var de_EmailContact = /* @__PURE__ */ __name((output, context) => {
|
|
817
|
-
return (0, import_smithy_client.take)(output, {
|
|
818
|
-
address: import_smithy_client.expectString,
|
|
819
|
-
arn: import_smithy_client.expectString,
|
|
820
|
-
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
821
|
-
name: import_smithy_client.expectString,
|
|
822
|
-
status: import_smithy_client.expectString,
|
|
823
|
-
updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime")
|
|
824
|
-
});
|
|
825
|
-
}, "de_EmailContact");
|
|
826
|
-
var de_EmailContacts = /* @__PURE__ */ __name((output, context) => {
|
|
827
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
828
|
-
return de_EmailContact(entry, context);
|
|
829
|
-
});
|
|
830
|
-
return retVal;
|
|
831
|
-
}, "de_EmailContacts");
|
|
832
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
833
|
-
httpStatusCode: output.statusCode,
|
|
834
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
835
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
836
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
837
|
-
}), "deserializeMetadata");
|
|
838
|
-
var _mR = "maxResults";
|
|
839
|
-
var _nT = "nextToken";
|
|
840
|
-
var _rAS = "retryAfterSeconds";
|
|
841
|
-
var _ra = "retry-after";
|
|
842
|
-
var _tK = "tagKeys";
|
|
843
|
-
|
|
844
|
-
// src/commands/ActivateEmailContactCommand.ts
|
|
845
|
-
var ActivateEmailContactCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
846
|
-
return [
|
|
847
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
848
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
849
|
-
];
|
|
850
|
-
}).s("NotificationsContacts", "ActivateEmailContact", {}).n("NotificationsContactsClient", "ActivateEmailContactCommand").f(ActivateEmailContactRequestFilterSensitiveLog, void 0).ser(se_ActivateEmailContactCommand).de(de_ActivateEmailContactCommand).build() {
|
|
851
|
-
static {
|
|
852
|
-
__name(this, "ActivateEmailContactCommand");
|
|
853
|
-
}
|
|
448
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
449
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
450
|
+
return de_CommandError(output, context);
|
|
451
|
+
}
|
|
452
|
+
const contents = smithyClient.map({
|
|
453
|
+
$metadata: deserializeMetadata(output),
|
|
454
|
+
});
|
|
455
|
+
await smithyClient.collectBody(output.body, context);
|
|
456
|
+
return contents;
|
|
854
457
|
};
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
];
|
|
865
|
-
}).s("NotificationsContacts", "CreateEmailContact", {}).n("NotificationsContactsClient", "CreateEmailContactCommand").f(CreateEmailContactRequestFilterSensitiveLog, void 0).ser(se_CreateEmailContactCommand).de(de_CreateEmailContactCommand).build() {
|
|
866
|
-
static {
|
|
867
|
-
__name(this, "CreateEmailContactCommand");
|
|
868
|
-
}
|
|
458
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
459
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
460
|
+
return de_CommandError(output, context);
|
|
461
|
+
}
|
|
462
|
+
const contents = smithyClient.map({
|
|
463
|
+
$metadata: deserializeMetadata(output),
|
|
464
|
+
});
|
|
465
|
+
await smithyClient.collectBody(output.body, context);
|
|
466
|
+
return contents;
|
|
869
467
|
};
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
468
|
+
const de_CommandError = async (output, context) => {
|
|
469
|
+
const parsedOutput = {
|
|
470
|
+
...output,
|
|
471
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
472
|
+
};
|
|
473
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
474
|
+
switch (errorCode) {
|
|
475
|
+
case "AccessDeniedException":
|
|
476
|
+
case "com.amazonaws.notificationscontacts#AccessDeniedException":
|
|
477
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
478
|
+
case "ConflictException":
|
|
479
|
+
case "com.amazonaws.notificationscontacts#ConflictException":
|
|
480
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
481
|
+
case "InternalServerException":
|
|
482
|
+
case "com.amazonaws.notificationscontacts#InternalServerException":
|
|
483
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
484
|
+
case "ResourceNotFoundException":
|
|
485
|
+
case "com.amazonaws.notificationscontacts#ResourceNotFoundException":
|
|
486
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
487
|
+
case "ThrottlingException":
|
|
488
|
+
case "com.amazonaws.notificationscontacts#ThrottlingException":
|
|
489
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
490
|
+
case "ValidationException":
|
|
491
|
+
case "com.amazonaws.notificationscontacts#ValidationException":
|
|
492
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
493
|
+
case "ServiceQuotaExceededException":
|
|
494
|
+
case "com.amazonaws.notificationscontacts#ServiceQuotaExceededException":
|
|
495
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
496
|
+
default:
|
|
497
|
+
const parsedBody = parsedOutput.body;
|
|
498
|
+
return throwDefaultError({
|
|
499
|
+
output,
|
|
500
|
+
parsedBody,
|
|
501
|
+
errorCode,
|
|
502
|
+
});
|
|
503
|
+
}
|
|
884
504
|
};
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
}
|
|
505
|
+
const throwDefaultError = smithyClient.withBaseException(NotificationsContactsServiceException);
|
|
506
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
507
|
+
const contents = smithyClient.map({});
|
|
508
|
+
const data = parsedOutput.body;
|
|
509
|
+
const doc = smithyClient.take(data, {
|
|
510
|
+
message: smithyClient.expectString,
|
|
511
|
+
});
|
|
512
|
+
Object.assign(contents, doc);
|
|
513
|
+
const exception = new AccessDeniedException({
|
|
514
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
515
|
+
...contents,
|
|
516
|
+
});
|
|
517
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
899
518
|
};
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
519
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
520
|
+
const contents = smithyClient.map({});
|
|
521
|
+
const data = parsedOutput.body;
|
|
522
|
+
const doc = smithyClient.take(data, {
|
|
523
|
+
message: smithyClient.expectString,
|
|
524
|
+
resourceId: smithyClient.expectString,
|
|
525
|
+
resourceType: smithyClient.expectString,
|
|
526
|
+
});
|
|
527
|
+
Object.assign(contents, doc);
|
|
528
|
+
const exception = new ConflictException({
|
|
529
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
530
|
+
...contents,
|
|
531
|
+
});
|
|
532
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
914
533
|
};
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
})
|
|
926
|
-
|
|
927
|
-
__name(this, "ListTagsForResourceCommand");
|
|
928
|
-
}
|
|
534
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
535
|
+
const contents = smithyClient.map({});
|
|
536
|
+
const data = parsedOutput.body;
|
|
537
|
+
const doc = smithyClient.take(data, {
|
|
538
|
+
message: smithyClient.expectString,
|
|
539
|
+
});
|
|
540
|
+
Object.assign(contents, doc);
|
|
541
|
+
const exception = new InternalServerException({
|
|
542
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
543
|
+
...contents,
|
|
544
|
+
});
|
|
545
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
929
546
|
};
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
547
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
548
|
+
const contents = smithyClient.map({});
|
|
549
|
+
const data = parsedOutput.body;
|
|
550
|
+
const doc = smithyClient.take(data, {
|
|
551
|
+
message: smithyClient.expectString,
|
|
552
|
+
resourceId: smithyClient.expectString,
|
|
553
|
+
resourceType: smithyClient.expectString,
|
|
554
|
+
});
|
|
555
|
+
Object.assign(contents, doc);
|
|
556
|
+
const exception = new ResourceNotFoundException({
|
|
557
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
558
|
+
...contents,
|
|
559
|
+
});
|
|
560
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
944
561
|
};
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
562
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
563
|
+
const contents = smithyClient.map({});
|
|
564
|
+
const data = parsedOutput.body;
|
|
565
|
+
const doc = smithyClient.take(data, {
|
|
566
|
+
message: smithyClient.expectString,
|
|
567
|
+
quotaCode: smithyClient.expectString,
|
|
568
|
+
resourceId: smithyClient.expectString,
|
|
569
|
+
resourceType: smithyClient.expectString,
|
|
570
|
+
serviceCode: smithyClient.expectString,
|
|
571
|
+
});
|
|
572
|
+
Object.assign(contents, doc);
|
|
573
|
+
const exception = new ServiceQuotaExceededException({
|
|
574
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
575
|
+
...contents,
|
|
576
|
+
});
|
|
577
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
959
578
|
};
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
579
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
580
|
+
const contents = smithyClient.map({
|
|
581
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
582
|
+
});
|
|
583
|
+
const data = parsedOutput.body;
|
|
584
|
+
const doc = smithyClient.take(data, {
|
|
585
|
+
message: smithyClient.expectString,
|
|
586
|
+
quotaCode: smithyClient.expectString,
|
|
587
|
+
serviceCode: smithyClient.expectString,
|
|
588
|
+
});
|
|
589
|
+
Object.assign(contents, doc);
|
|
590
|
+
const exception = new ThrottlingException({
|
|
591
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
592
|
+
...contents,
|
|
593
|
+
});
|
|
594
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
974
595
|
};
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
596
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
597
|
+
const contents = smithyClient.map({});
|
|
598
|
+
const data = parsedOutput.body;
|
|
599
|
+
const doc = smithyClient.take(data, {
|
|
600
|
+
fieldList: smithyClient._json,
|
|
601
|
+
message: smithyClient.expectString,
|
|
602
|
+
reason: smithyClient.expectString,
|
|
603
|
+
});
|
|
604
|
+
Object.assign(contents, doc);
|
|
605
|
+
const exception = new ValidationException({
|
|
606
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
607
|
+
...contents,
|
|
608
|
+
});
|
|
609
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
610
|
+
};
|
|
611
|
+
const de_EmailContact = (output, context) => {
|
|
612
|
+
return smithyClient.take(output, {
|
|
613
|
+
address: smithyClient.expectString,
|
|
614
|
+
arn: smithyClient.expectString,
|
|
615
|
+
creationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
616
|
+
name: smithyClient.expectString,
|
|
617
|
+
status: smithyClient.expectString,
|
|
618
|
+
updateTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
619
|
+
});
|
|
987
620
|
};
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
621
|
+
const de_EmailContacts = (output, context) => {
|
|
622
|
+
const retVal = (output || [])
|
|
623
|
+
.filter((e) => e != null)
|
|
624
|
+
.map((entry) => {
|
|
625
|
+
return de_EmailContact(entry);
|
|
626
|
+
});
|
|
627
|
+
return retVal;
|
|
992
628
|
};
|
|
993
|
-
(
|
|
994
|
-
|
|
995
|
-
|
|
629
|
+
const deserializeMetadata = (output) => ({
|
|
630
|
+
httpStatusCode: output.statusCode,
|
|
631
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
632
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
633
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
634
|
+
});
|
|
635
|
+
const _mR = "maxResults";
|
|
636
|
+
const _nT = "nextToken";
|
|
637
|
+
const _rAS = "retryAfterSeconds";
|
|
638
|
+
const _ra = "retry-after";
|
|
639
|
+
const _tK = "tagKeys";
|
|
640
|
+
|
|
641
|
+
class ActivateEmailContactCommand extends smithyClient.Command
|
|
642
|
+
.classBuilder()
|
|
643
|
+
.ep(commonParams)
|
|
644
|
+
.m(function (Command, cs, config, o) {
|
|
645
|
+
return [
|
|
646
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
647
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
648
|
+
];
|
|
649
|
+
})
|
|
650
|
+
.s("NotificationsContacts", "ActivateEmailContact", {})
|
|
651
|
+
.n("NotificationsContactsClient", "ActivateEmailContactCommand")
|
|
652
|
+
.f(ActivateEmailContactRequestFilterSensitiveLog, void 0)
|
|
653
|
+
.ser(se_ActivateEmailContactCommand)
|
|
654
|
+
.de(de_ActivateEmailContactCommand)
|
|
655
|
+
.build() {
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
class CreateEmailContactCommand extends smithyClient.Command
|
|
659
|
+
.classBuilder()
|
|
660
|
+
.ep(commonParams)
|
|
661
|
+
.m(function (Command, cs, config, o) {
|
|
662
|
+
return [
|
|
663
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
664
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
665
|
+
];
|
|
666
|
+
})
|
|
667
|
+
.s("NotificationsContacts", "CreateEmailContact", {})
|
|
668
|
+
.n("NotificationsContactsClient", "CreateEmailContactCommand")
|
|
669
|
+
.f(CreateEmailContactRequestFilterSensitiveLog, void 0)
|
|
670
|
+
.ser(se_CreateEmailContactCommand)
|
|
671
|
+
.de(de_CreateEmailContactCommand)
|
|
672
|
+
.build() {
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
class DeleteEmailContactCommand extends smithyClient.Command
|
|
676
|
+
.classBuilder()
|
|
677
|
+
.ep(commonParams)
|
|
678
|
+
.m(function (Command, cs, config, o) {
|
|
679
|
+
return [
|
|
680
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
681
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
682
|
+
];
|
|
683
|
+
})
|
|
684
|
+
.s("NotificationsContacts", "DeleteEmailContact", {})
|
|
685
|
+
.n("NotificationsContactsClient", "DeleteEmailContactCommand")
|
|
686
|
+
.f(void 0, void 0)
|
|
687
|
+
.ser(se_DeleteEmailContactCommand)
|
|
688
|
+
.de(de_DeleteEmailContactCommand)
|
|
689
|
+
.build() {
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
class GetEmailContactCommand extends smithyClient.Command
|
|
693
|
+
.classBuilder()
|
|
694
|
+
.ep(commonParams)
|
|
695
|
+
.m(function (Command, cs, config, o) {
|
|
696
|
+
return [
|
|
697
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
698
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
699
|
+
];
|
|
700
|
+
})
|
|
701
|
+
.s("NotificationsContacts", "GetEmailContact", {})
|
|
702
|
+
.n("NotificationsContactsClient", "GetEmailContactCommand")
|
|
703
|
+
.f(void 0, GetEmailContactResponseFilterSensitiveLog)
|
|
704
|
+
.ser(se_GetEmailContactCommand)
|
|
705
|
+
.de(de_GetEmailContactCommand)
|
|
706
|
+
.build() {
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
class ListEmailContactsCommand extends smithyClient.Command
|
|
710
|
+
.classBuilder()
|
|
711
|
+
.ep(commonParams)
|
|
712
|
+
.m(function (Command, cs, config, o) {
|
|
713
|
+
return [
|
|
714
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
715
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
716
|
+
];
|
|
717
|
+
})
|
|
718
|
+
.s("NotificationsContacts", "ListEmailContacts", {})
|
|
719
|
+
.n("NotificationsContactsClient", "ListEmailContactsCommand")
|
|
720
|
+
.f(void 0, ListEmailContactsResponseFilterSensitiveLog)
|
|
721
|
+
.ser(se_ListEmailContactsCommand)
|
|
722
|
+
.de(de_ListEmailContactsCommand)
|
|
723
|
+
.build() {
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
727
|
+
.classBuilder()
|
|
728
|
+
.ep(commonParams)
|
|
729
|
+
.m(function (Command, cs, config, o) {
|
|
730
|
+
return [
|
|
731
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
732
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
733
|
+
];
|
|
734
|
+
})
|
|
735
|
+
.s("NotificationsContacts", "ListTagsForResource", {})
|
|
736
|
+
.n("NotificationsContactsClient", "ListTagsForResourceCommand")
|
|
737
|
+
.f(void 0, void 0)
|
|
738
|
+
.ser(se_ListTagsForResourceCommand)
|
|
739
|
+
.de(de_ListTagsForResourceCommand)
|
|
740
|
+
.build() {
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
class SendActivationCodeCommand extends smithyClient.Command
|
|
744
|
+
.classBuilder()
|
|
745
|
+
.ep(commonParams)
|
|
746
|
+
.m(function (Command, cs, config, o) {
|
|
747
|
+
return [
|
|
748
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
749
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
750
|
+
];
|
|
751
|
+
})
|
|
752
|
+
.s("NotificationsContacts", "SendActivationCode", {})
|
|
753
|
+
.n("NotificationsContactsClient", "SendActivationCodeCommand")
|
|
754
|
+
.f(void 0, void 0)
|
|
755
|
+
.ser(se_SendActivationCodeCommand)
|
|
756
|
+
.de(de_SendActivationCodeCommand)
|
|
757
|
+
.build() {
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
class TagResourceCommand extends smithyClient.Command
|
|
761
|
+
.classBuilder()
|
|
762
|
+
.ep(commonParams)
|
|
763
|
+
.m(function (Command, cs, config, o) {
|
|
764
|
+
return [
|
|
765
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
766
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
767
|
+
];
|
|
768
|
+
})
|
|
769
|
+
.s("NotificationsContacts", "TagResource", {})
|
|
770
|
+
.n("NotificationsContactsClient", "TagResourceCommand")
|
|
771
|
+
.f(void 0, void 0)
|
|
772
|
+
.ser(se_TagResourceCommand)
|
|
773
|
+
.de(de_TagResourceCommand)
|
|
774
|
+
.build() {
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
778
|
+
.classBuilder()
|
|
779
|
+
.ep(commonParams)
|
|
780
|
+
.m(function (Command, cs, config, o) {
|
|
781
|
+
return [
|
|
782
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
783
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
784
|
+
];
|
|
785
|
+
})
|
|
786
|
+
.s("NotificationsContacts", "UntagResource", {})
|
|
787
|
+
.n("NotificationsContactsClient", "UntagResourceCommand")
|
|
788
|
+
.f(void 0, void 0)
|
|
789
|
+
.ser(se_UntagResourceCommand)
|
|
790
|
+
.de(de_UntagResourceCommand)
|
|
791
|
+
.build() {
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
const commands = {
|
|
795
|
+
ActivateEmailContactCommand,
|
|
796
|
+
CreateEmailContactCommand,
|
|
797
|
+
DeleteEmailContactCommand,
|
|
798
|
+
GetEmailContactCommand,
|
|
799
|
+
ListEmailContactsCommand,
|
|
800
|
+
ListTagsForResourceCommand,
|
|
801
|
+
SendActivationCodeCommand,
|
|
802
|
+
TagResourceCommand,
|
|
803
|
+
UntagResourceCommand,
|
|
804
|
+
};
|
|
805
|
+
class NotificationsContacts extends NotificationsContactsClient {
|
|
806
|
+
}
|
|
807
|
+
smithyClient.createAggregatedClient(commands, NotificationsContacts);
|
|
996
808
|
|
|
997
|
-
|
|
998
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
809
|
+
const paginateListEmailContacts = core.createPaginator(NotificationsContactsClient, ListEmailContactsCommand, "nextToken", "nextToken", "maxResults");
|
|
999
810
|
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
NotificationsContactsClient,
|
|
1004
|
-
NotificationsContacts,
|
|
1005
|
-
$Command,
|
|
1006
|
-
ActivateEmailContactCommand,
|
|
1007
|
-
CreateEmailContactCommand,
|
|
1008
|
-
DeleteEmailContactCommand,
|
|
1009
|
-
GetEmailContactCommand,
|
|
1010
|
-
ListEmailContactsCommand,
|
|
1011
|
-
ListTagsForResourceCommand,
|
|
1012
|
-
SendActivationCodeCommand,
|
|
1013
|
-
TagResourceCommand,
|
|
1014
|
-
UntagResourceCommand,
|
|
1015
|
-
paginateListEmailContacts,
|
|
1016
|
-
AccessDeniedException,
|
|
1017
|
-
ConflictException,
|
|
1018
|
-
InternalServerException,
|
|
1019
|
-
ResourceNotFoundException,
|
|
1020
|
-
ThrottlingException,
|
|
1021
|
-
ValidationExceptionReason,
|
|
1022
|
-
ValidationException,
|
|
1023
|
-
ServiceQuotaExceededException,
|
|
1024
|
-
EmailContactStatus,
|
|
1025
|
-
ActivateEmailContactRequestFilterSensitiveLog,
|
|
1026
|
-
CreateEmailContactRequestFilterSensitiveLog,
|
|
1027
|
-
EmailContactFilterSensitiveLog,
|
|
1028
|
-
GetEmailContactResponseFilterSensitiveLog,
|
|
1029
|
-
ListEmailContactsResponseFilterSensitiveLog
|
|
811
|
+
Object.defineProperty(exports, "$Command", {
|
|
812
|
+
enumerable: true,
|
|
813
|
+
get: function () { return smithyClient.Command; }
|
|
1030
814
|
});
|
|
1031
|
-
|
|
815
|
+
Object.defineProperty(exports, "__Client", {
|
|
816
|
+
enumerable: true,
|
|
817
|
+
get: function () { return smithyClient.Client; }
|
|
818
|
+
});
|
|
819
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
820
|
+
exports.ActivateEmailContactCommand = ActivateEmailContactCommand;
|
|
821
|
+
exports.ActivateEmailContactRequestFilterSensitiveLog = ActivateEmailContactRequestFilterSensitiveLog;
|
|
822
|
+
exports.ConflictException = ConflictException;
|
|
823
|
+
exports.CreateEmailContactCommand = CreateEmailContactCommand;
|
|
824
|
+
exports.CreateEmailContactRequestFilterSensitiveLog = CreateEmailContactRequestFilterSensitiveLog;
|
|
825
|
+
exports.DeleteEmailContactCommand = DeleteEmailContactCommand;
|
|
826
|
+
exports.EmailContactFilterSensitiveLog = EmailContactFilterSensitiveLog;
|
|
827
|
+
exports.EmailContactStatus = EmailContactStatus;
|
|
828
|
+
exports.GetEmailContactCommand = GetEmailContactCommand;
|
|
829
|
+
exports.GetEmailContactResponseFilterSensitiveLog = GetEmailContactResponseFilterSensitiveLog;
|
|
830
|
+
exports.InternalServerException = InternalServerException;
|
|
831
|
+
exports.ListEmailContactsCommand = ListEmailContactsCommand;
|
|
832
|
+
exports.ListEmailContactsResponseFilterSensitiveLog = ListEmailContactsResponseFilterSensitiveLog;
|
|
833
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
834
|
+
exports.NotificationsContacts = NotificationsContacts;
|
|
835
|
+
exports.NotificationsContactsClient = NotificationsContactsClient;
|
|
836
|
+
exports.NotificationsContactsServiceException = NotificationsContactsServiceException;
|
|
837
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
838
|
+
exports.SendActivationCodeCommand = SendActivationCodeCommand;
|
|
839
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
840
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
841
|
+
exports.ThrottlingException = ThrottlingException;
|
|
842
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
843
|
+
exports.ValidationException = ValidationException;
|
|
844
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
845
|
+
exports.paginateListEmailContacts = paginateListEmailContacts;
|