@aws-sdk/client-notificationscontacts 3.927.0 → 3.929.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 +397 -489
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/NotificationsContactsClient.js +2 -0
- package/dist-es/commands/ActivateEmailContactCommand.js +3 -10
- package/dist-es/commands/CreateEmailContactCommand.js +3 -10
- package/dist-es/commands/DeleteEmailContactCommand.js +3 -9
- package/dist-es/commands/GetEmailContactCommand.js +3 -10
- package/dist-es/commands/ListEmailContactsCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/SendActivationCodeCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -22
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +363 -0
- package/dist-types/NotificationsContactsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +46 -0
- package/dist-types/ts3.4/NotificationsContactsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -13
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +52 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -384
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -83
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -113
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
-
import { NotificationsContactsServiceException as __BaseException } from "../models/NotificationsContactsServiceException";
|
|
6
|
-
export const se_ActivateEmailContactCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {};
|
|
9
|
-
b.bp("/emailcontacts/{arn}/activate/{code}");
|
|
10
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
11
|
-
b.p("code", () => input.code, "{code}", false);
|
|
12
|
-
let body;
|
|
13
|
-
b.m("PUT").h(headers).b(body);
|
|
14
|
-
return b.build();
|
|
15
|
-
};
|
|
16
|
-
export const se_CreateEmailContactCommand = async (input, context) => {
|
|
17
|
-
const b = rb(input, context);
|
|
18
|
-
const headers = {
|
|
19
|
-
"content-type": "application/json",
|
|
20
|
-
};
|
|
21
|
-
b.bp("/2022-09-19/emailcontacts");
|
|
22
|
-
let body;
|
|
23
|
-
body = JSON.stringify(take(input, {
|
|
24
|
-
emailAddress: [],
|
|
25
|
-
name: [],
|
|
26
|
-
tags: (_) => _json(_),
|
|
27
|
-
}));
|
|
28
|
-
b.m("POST").h(headers).b(body);
|
|
29
|
-
return b.build();
|
|
30
|
-
};
|
|
31
|
-
export const se_DeleteEmailContactCommand = async (input, context) => {
|
|
32
|
-
const b = rb(input, context);
|
|
33
|
-
const headers = {};
|
|
34
|
-
b.bp("/emailcontacts/{arn}");
|
|
35
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
36
|
-
let body;
|
|
37
|
-
b.m("DELETE").h(headers).b(body);
|
|
38
|
-
return b.build();
|
|
39
|
-
};
|
|
40
|
-
export const se_GetEmailContactCommand = async (input, context) => {
|
|
41
|
-
const b = rb(input, context);
|
|
42
|
-
const headers = {};
|
|
43
|
-
b.bp("/emailcontacts/{arn}");
|
|
44
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
45
|
-
let body;
|
|
46
|
-
b.m("GET").h(headers).b(body);
|
|
47
|
-
return b.build();
|
|
48
|
-
};
|
|
49
|
-
export const se_ListEmailContactsCommand = async (input, context) => {
|
|
50
|
-
const b = rb(input, context);
|
|
51
|
-
const headers = {};
|
|
52
|
-
b.bp("/emailcontacts");
|
|
53
|
-
const query = map({
|
|
54
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
55
|
-
[_nT]: [, input[_nT]],
|
|
56
|
-
});
|
|
57
|
-
let body;
|
|
58
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
59
|
-
return b.build();
|
|
60
|
-
};
|
|
61
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
62
|
-
const b = rb(input, context);
|
|
63
|
-
const headers = {};
|
|
64
|
-
b.bp("/tags/{arn}");
|
|
65
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
66
|
-
let body;
|
|
67
|
-
b.m("GET").h(headers).b(body);
|
|
68
|
-
return b.build();
|
|
69
|
-
};
|
|
70
|
-
export const se_SendActivationCodeCommand = async (input, context) => {
|
|
71
|
-
const b = rb(input, context);
|
|
72
|
-
const headers = {};
|
|
73
|
-
b.bp("/2022-10-31/emailcontacts/{arn}/activate/send");
|
|
74
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
75
|
-
let body;
|
|
76
|
-
b.m("POST").h(headers).b(body);
|
|
77
|
-
return b.build();
|
|
78
|
-
};
|
|
79
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
80
|
-
const b = rb(input, context);
|
|
81
|
-
const headers = {
|
|
82
|
-
"content-type": "application/json",
|
|
83
|
-
};
|
|
84
|
-
b.bp("/tags/{arn}");
|
|
85
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(take(input, {
|
|
88
|
-
tags: (_) => _json(_),
|
|
89
|
-
}));
|
|
90
|
-
b.m("POST").h(headers).b(body);
|
|
91
|
-
return b.build();
|
|
92
|
-
};
|
|
93
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
94
|
-
const b = rb(input, context);
|
|
95
|
-
const headers = {};
|
|
96
|
-
b.bp("/tags/{arn}");
|
|
97
|
-
b.p("arn", () => input.arn, "{arn}", false);
|
|
98
|
-
const query = map({
|
|
99
|
-
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
100
|
-
});
|
|
101
|
-
let body;
|
|
102
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
103
|
-
return b.build();
|
|
104
|
-
};
|
|
105
|
-
export const de_ActivateEmailContactCommand = async (output, context) => {
|
|
106
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
107
|
-
return de_CommandError(output, context);
|
|
108
|
-
}
|
|
109
|
-
const contents = map({
|
|
110
|
-
$metadata: deserializeMetadata(output),
|
|
111
|
-
});
|
|
112
|
-
await collectBody(output.body, context);
|
|
113
|
-
return contents;
|
|
114
|
-
};
|
|
115
|
-
export const de_CreateEmailContactCommand = async (output, context) => {
|
|
116
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
117
|
-
return de_CommandError(output, context);
|
|
118
|
-
}
|
|
119
|
-
const contents = map({
|
|
120
|
-
$metadata: deserializeMetadata(output),
|
|
121
|
-
});
|
|
122
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
123
|
-
const doc = take(data, {
|
|
124
|
-
arn: __expectString,
|
|
125
|
-
});
|
|
126
|
-
Object.assign(contents, doc);
|
|
127
|
-
return contents;
|
|
128
|
-
};
|
|
129
|
-
export const de_DeleteEmailContactCommand = async (output, context) => {
|
|
130
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
131
|
-
return de_CommandError(output, context);
|
|
132
|
-
}
|
|
133
|
-
const contents = map({
|
|
134
|
-
$metadata: deserializeMetadata(output),
|
|
135
|
-
});
|
|
136
|
-
await collectBody(output.body, context);
|
|
137
|
-
return contents;
|
|
138
|
-
};
|
|
139
|
-
export const de_GetEmailContactCommand = async (output, context) => {
|
|
140
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
141
|
-
return de_CommandError(output, context);
|
|
142
|
-
}
|
|
143
|
-
const contents = map({
|
|
144
|
-
$metadata: deserializeMetadata(output),
|
|
145
|
-
});
|
|
146
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
147
|
-
const doc = take(data, {
|
|
148
|
-
emailContact: (_) => de_EmailContact(_, context),
|
|
149
|
-
});
|
|
150
|
-
Object.assign(contents, doc);
|
|
151
|
-
return contents;
|
|
152
|
-
};
|
|
153
|
-
export const de_ListEmailContactsCommand = async (output, context) => {
|
|
154
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
155
|
-
return de_CommandError(output, context);
|
|
156
|
-
}
|
|
157
|
-
const contents = map({
|
|
158
|
-
$metadata: deserializeMetadata(output),
|
|
159
|
-
});
|
|
160
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
161
|
-
const doc = take(data, {
|
|
162
|
-
emailContacts: (_) => de_EmailContacts(_, context),
|
|
163
|
-
nextToken: __expectString,
|
|
164
|
-
});
|
|
165
|
-
Object.assign(contents, doc);
|
|
166
|
-
return contents;
|
|
167
|
-
};
|
|
168
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
169
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
170
|
-
return de_CommandError(output, context);
|
|
171
|
-
}
|
|
172
|
-
const contents = map({
|
|
173
|
-
$metadata: deserializeMetadata(output),
|
|
174
|
-
});
|
|
175
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
176
|
-
const doc = take(data, {
|
|
177
|
-
tags: _json,
|
|
178
|
-
});
|
|
179
|
-
Object.assign(contents, doc);
|
|
180
|
-
return contents;
|
|
181
|
-
};
|
|
182
|
-
export const de_SendActivationCodeCommand = async (output, context) => {
|
|
183
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
184
|
-
return de_CommandError(output, context);
|
|
185
|
-
}
|
|
186
|
-
const contents = map({
|
|
187
|
-
$metadata: deserializeMetadata(output),
|
|
188
|
-
});
|
|
189
|
-
await collectBody(output.body, context);
|
|
190
|
-
return contents;
|
|
191
|
-
};
|
|
192
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
193
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
194
|
-
return de_CommandError(output, context);
|
|
195
|
-
}
|
|
196
|
-
const contents = map({
|
|
197
|
-
$metadata: deserializeMetadata(output),
|
|
198
|
-
});
|
|
199
|
-
await collectBody(output.body, context);
|
|
200
|
-
return contents;
|
|
201
|
-
};
|
|
202
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
203
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
204
|
-
return de_CommandError(output, context);
|
|
205
|
-
}
|
|
206
|
-
const contents = map({
|
|
207
|
-
$metadata: deserializeMetadata(output),
|
|
208
|
-
});
|
|
209
|
-
await collectBody(output.body, context);
|
|
210
|
-
return contents;
|
|
211
|
-
};
|
|
212
|
-
const de_CommandError = async (output, context) => {
|
|
213
|
-
const parsedOutput = {
|
|
214
|
-
...output,
|
|
215
|
-
body: await parseErrorBody(output.body, context),
|
|
216
|
-
};
|
|
217
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
218
|
-
switch (errorCode) {
|
|
219
|
-
case "AccessDeniedException":
|
|
220
|
-
case "com.amazonaws.notificationscontacts#AccessDeniedException":
|
|
221
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
222
|
-
case "ConflictException":
|
|
223
|
-
case "com.amazonaws.notificationscontacts#ConflictException":
|
|
224
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
225
|
-
case "InternalServerException":
|
|
226
|
-
case "com.amazonaws.notificationscontacts#InternalServerException":
|
|
227
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
228
|
-
case "ResourceNotFoundException":
|
|
229
|
-
case "com.amazonaws.notificationscontacts#ResourceNotFoundException":
|
|
230
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
231
|
-
case "ThrottlingException":
|
|
232
|
-
case "com.amazonaws.notificationscontacts#ThrottlingException":
|
|
233
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
234
|
-
case "ValidationException":
|
|
235
|
-
case "com.amazonaws.notificationscontacts#ValidationException":
|
|
236
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
237
|
-
case "ServiceQuotaExceededException":
|
|
238
|
-
case "com.amazonaws.notificationscontacts#ServiceQuotaExceededException":
|
|
239
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
240
|
-
default:
|
|
241
|
-
const parsedBody = parsedOutput.body;
|
|
242
|
-
return throwDefaultError({
|
|
243
|
-
output,
|
|
244
|
-
parsedBody,
|
|
245
|
-
errorCode,
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
250
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
251
|
-
const contents = map({});
|
|
252
|
-
const data = parsedOutput.body;
|
|
253
|
-
const doc = take(data, {
|
|
254
|
-
message: __expectString,
|
|
255
|
-
});
|
|
256
|
-
Object.assign(contents, doc);
|
|
257
|
-
const exception = new AccessDeniedException({
|
|
258
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
259
|
-
...contents,
|
|
260
|
-
});
|
|
261
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
262
|
-
};
|
|
263
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
264
|
-
const contents = map({});
|
|
265
|
-
const data = parsedOutput.body;
|
|
266
|
-
const doc = take(data, {
|
|
267
|
-
message: __expectString,
|
|
268
|
-
resourceId: __expectString,
|
|
269
|
-
resourceType: __expectString,
|
|
270
|
-
});
|
|
271
|
-
Object.assign(contents, doc);
|
|
272
|
-
const exception = new ConflictException({
|
|
273
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
274
|
-
...contents,
|
|
275
|
-
});
|
|
276
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
277
|
-
};
|
|
278
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
279
|
-
const contents = map({});
|
|
280
|
-
const data = parsedOutput.body;
|
|
281
|
-
const doc = take(data, {
|
|
282
|
-
message: __expectString,
|
|
283
|
-
});
|
|
284
|
-
Object.assign(contents, doc);
|
|
285
|
-
const exception = new InternalServerException({
|
|
286
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
287
|
-
...contents,
|
|
288
|
-
});
|
|
289
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
290
|
-
};
|
|
291
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
292
|
-
const contents = map({});
|
|
293
|
-
const data = parsedOutput.body;
|
|
294
|
-
const doc = take(data, {
|
|
295
|
-
message: __expectString,
|
|
296
|
-
resourceId: __expectString,
|
|
297
|
-
resourceType: __expectString,
|
|
298
|
-
});
|
|
299
|
-
Object.assign(contents, doc);
|
|
300
|
-
const exception = new ResourceNotFoundException({
|
|
301
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
302
|
-
...contents,
|
|
303
|
-
});
|
|
304
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
305
|
-
};
|
|
306
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
307
|
-
const contents = map({});
|
|
308
|
-
const data = parsedOutput.body;
|
|
309
|
-
const doc = take(data, {
|
|
310
|
-
message: __expectString,
|
|
311
|
-
quotaCode: __expectString,
|
|
312
|
-
resourceId: __expectString,
|
|
313
|
-
resourceType: __expectString,
|
|
314
|
-
serviceCode: __expectString,
|
|
315
|
-
});
|
|
316
|
-
Object.assign(contents, doc);
|
|
317
|
-
const exception = new ServiceQuotaExceededException({
|
|
318
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
319
|
-
...contents,
|
|
320
|
-
});
|
|
321
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
322
|
-
};
|
|
323
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
324
|
-
const contents = map({
|
|
325
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => __strictParseInt32(parsedOutput.headers[_ra])],
|
|
326
|
-
});
|
|
327
|
-
const data = parsedOutput.body;
|
|
328
|
-
const doc = take(data, {
|
|
329
|
-
message: __expectString,
|
|
330
|
-
quotaCode: __expectString,
|
|
331
|
-
serviceCode: __expectString,
|
|
332
|
-
});
|
|
333
|
-
Object.assign(contents, doc);
|
|
334
|
-
const exception = new ThrottlingException({
|
|
335
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
336
|
-
...contents,
|
|
337
|
-
});
|
|
338
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
339
|
-
};
|
|
340
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
341
|
-
const contents = map({});
|
|
342
|
-
const data = parsedOutput.body;
|
|
343
|
-
const doc = take(data, {
|
|
344
|
-
fieldList: _json,
|
|
345
|
-
message: __expectString,
|
|
346
|
-
reason: __expectString,
|
|
347
|
-
});
|
|
348
|
-
Object.assign(contents, doc);
|
|
349
|
-
const exception = new ValidationException({
|
|
350
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
351
|
-
...contents,
|
|
352
|
-
});
|
|
353
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
354
|
-
};
|
|
355
|
-
const de_EmailContact = (output, context) => {
|
|
356
|
-
return take(output, {
|
|
357
|
-
address: __expectString,
|
|
358
|
-
arn: __expectString,
|
|
359
|
-
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
360
|
-
name: __expectString,
|
|
361
|
-
status: __expectString,
|
|
362
|
-
updateTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
363
|
-
});
|
|
364
|
-
};
|
|
365
|
-
const de_EmailContacts = (output, context) => {
|
|
366
|
-
const retVal = (output || [])
|
|
367
|
-
.filter((e) => e != null)
|
|
368
|
-
.map((entry) => {
|
|
369
|
-
return de_EmailContact(entry, context);
|
|
370
|
-
});
|
|
371
|
-
return retVal;
|
|
372
|
-
};
|
|
373
|
-
const deserializeMetadata = (output) => ({
|
|
374
|
-
httpStatusCode: output.statusCode,
|
|
375
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
376
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
377
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
378
|
-
});
|
|
379
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
380
|
-
const _mR = "maxResults";
|
|
381
|
-
const _nT = "nextToken";
|
|
382
|
-
const _rAS = "retryAfterSeconds";
|
|
383
|
-
const _ra = "retry-after";
|
|
384
|
-
const _tK = "tagKeys";
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
-
import { ActivateEmailContactCommandInput, ActivateEmailContactCommandOutput } from "../commands/ActivateEmailContactCommand";
|
|
4
|
-
import { CreateEmailContactCommandInput, CreateEmailContactCommandOutput } from "../commands/CreateEmailContactCommand";
|
|
5
|
-
import { DeleteEmailContactCommandInput, DeleteEmailContactCommandOutput } from "../commands/DeleteEmailContactCommand";
|
|
6
|
-
import { GetEmailContactCommandInput, GetEmailContactCommandOutput } from "../commands/GetEmailContactCommand";
|
|
7
|
-
import { ListEmailContactsCommandInput, ListEmailContactsCommandOutput } from "../commands/ListEmailContactsCommand";
|
|
8
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
9
|
-
import { SendActivationCodeCommandInput, SendActivationCodeCommandOutput } from "../commands/SendActivationCodeCommand";
|
|
10
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
11
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
12
|
-
/**
|
|
13
|
-
* serializeAws_restJson1ActivateEmailContactCommand
|
|
14
|
-
*/
|
|
15
|
-
export declare const se_ActivateEmailContactCommand: (input: ActivateEmailContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
-
/**
|
|
17
|
-
* serializeAws_restJson1CreateEmailContactCommand
|
|
18
|
-
*/
|
|
19
|
-
export declare const se_CreateEmailContactCommand: (input: CreateEmailContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
|
-
/**
|
|
21
|
-
* serializeAws_restJson1DeleteEmailContactCommand
|
|
22
|
-
*/
|
|
23
|
-
export declare const se_DeleteEmailContactCommand: (input: DeleteEmailContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
-
/**
|
|
25
|
-
* serializeAws_restJson1GetEmailContactCommand
|
|
26
|
-
*/
|
|
27
|
-
export declare const se_GetEmailContactCommand: (input: GetEmailContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
-
/**
|
|
29
|
-
* serializeAws_restJson1ListEmailContactsCommand
|
|
30
|
-
*/
|
|
31
|
-
export declare const se_ListEmailContactsCommand: (input: ListEmailContactsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
|
-
/**
|
|
33
|
-
* serializeAws_restJson1ListTagsForResourceCommand
|
|
34
|
-
*/
|
|
35
|
-
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
|
-
/**
|
|
37
|
-
* serializeAws_restJson1SendActivationCodeCommand
|
|
38
|
-
*/
|
|
39
|
-
export declare const se_SendActivationCodeCommand: (input: SendActivationCodeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
|
-
/**
|
|
41
|
-
* serializeAws_restJson1TagResourceCommand
|
|
42
|
-
*/
|
|
43
|
-
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
|
-
/**
|
|
45
|
-
* serializeAws_restJson1UntagResourceCommand
|
|
46
|
-
*/
|
|
47
|
-
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
|
-
/**
|
|
49
|
-
* deserializeAws_restJson1ActivateEmailContactCommand
|
|
50
|
-
*/
|
|
51
|
-
export declare const de_ActivateEmailContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ActivateEmailContactCommandOutput>;
|
|
52
|
-
/**
|
|
53
|
-
* deserializeAws_restJson1CreateEmailContactCommand
|
|
54
|
-
*/
|
|
55
|
-
export declare const de_CreateEmailContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEmailContactCommandOutput>;
|
|
56
|
-
/**
|
|
57
|
-
* deserializeAws_restJson1DeleteEmailContactCommand
|
|
58
|
-
*/
|
|
59
|
-
export declare const de_DeleteEmailContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEmailContactCommandOutput>;
|
|
60
|
-
/**
|
|
61
|
-
* deserializeAws_restJson1GetEmailContactCommand
|
|
62
|
-
*/
|
|
63
|
-
export declare const de_GetEmailContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEmailContactCommandOutput>;
|
|
64
|
-
/**
|
|
65
|
-
* deserializeAws_restJson1ListEmailContactsCommand
|
|
66
|
-
*/
|
|
67
|
-
export declare const de_ListEmailContactsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEmailContactsCommandOutput>;
|
|
68
|
-
/**
|
|
69
|
-
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
70
|
-
*/
|
|
71
|
-
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
72
|
-
/**
|
|
73
|
-
* deserializeAws_restJson1SendActivationCodeCommand
|
|
74
|
-
*/
|
|
75
|
-
export declare const de_SendActivationCodeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendActivationCodeCommandOutput>;
|
|
76
|
-
/**
|
|
77
|
-
* deserializeAws_restJson1TagResourceCommand
|
|
78
|
-
*/
|
|
79
|
-
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
80
|
-
/**
|
|
81
|
-
* deserializeAws_restJson1UntagResourceCommand
|
|
82
|
-
*/
|
|
83
|
-
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HttpRequest as __HttpRequest,
|
|
3
|
-
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@smithy/protocol-http";
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
ActivateEmailContactCommandInput,
|
|
8
|
-
ActivateEmailContactCommandOutput,
|
|
9
|
-
} from "../commands/ActivateEmailContactCommand";
|
|
10
|
-
import {
|
|
11
|
-
CreateEmailContactCommandInput,
|
|
12
|
-
CreateEmailContactCommandOutput,
|
|
13
|
-
} from "../commands/CreateEmailContactCommand";
|
|
14
|
-
import {
|
|
15
|
-
DeleteEmailContactCommandInput,
|
|
16
|
-
DeleteEmailContactCommandOutput,
|
|
17
|
-
} from "../commands/DeleteEmailContactCommand";
|
|
18
|
-
import {
|
|
19
|
-
GetEmailContactCommandInput,
|
|
20
|
-
GetEmailContactCommandOutput,
|
|
21
|
-
} from "../commands/GetEmailContactCommand";
|
|
22
|
-
import {
|
|
23
|
-
ListEmailContactsCommandInput,
|
|
24
|
-
ListEmailContactsCommandOutput,
|
|
25
|
-
} from "../commands/ListEmailContactsCommand";
|
|
26
|
-
import {
|
|
27
|
-
ListTagsForResourceCommandInput,
|
|
28
|
-
ListTagsForResourceCommandOutput,
|
|
29
|
-
} from "../commands/ListTagsForResourceCommand";
|
|
30
|
-
import {
|
|
31
|
-
SendActivationCodeCommandInput,
|
|
32
|
-
SendActivationCodeCommandOutput,
|
|
33
|
-
} from "../commands/SendActivationCodeCommand";
|
|
34
|
-
import {
|
|
35
|
-
TagResourceCommandInput,
|
|
36
|
-
TagResourceCommandOutput,
|
|
37
|
-
} from "../commands/TagResourceCommand";
|
|
38
|
-
import {
|
|
39
|
-
UntagResourceCommandInput,
|
|
40
|
-
UntagResourceCommandOutput,
|
|
41
|
-
} from "../commands/UntagResourceCommand";
|
|
42
|
-
export declare const se_ActivateEmailContactCommand: (
|
|
43
|
-
input: ActivateEmailContactCommandInput,
|
|
44
|
-
context: __SerdeContext
|
|
45
|
-
) => Promise<__HttpRequest>;
|
|
46
|
-
export declare const se_CreateEmailContactCommand: (
|
|
47
|
-
input: CreateEmailContactCommandInput,
|
|
48
|
-
context: __SerdeContext
|
|
49
|
-
) => Promise<__HttpRequest>;
|
|
50
|
-
export declare const se_DeleteEmailContactCommand: (
|
|
51
|
-
input: DeleteEmailContactCommandInput,
|
|
52
|
-
context: __SerdeContext
|
|
53
|
-
) => Promise<__HttpRequest>;
|
|
54
|
-
export declare const se_GetEmailContactCommand: (
|
|
55
|
-
input: GetEmailContactCommandInput,
|
|
56
|
-
context: __SerdeContext
|
|
57
|
-
) => Promise<__HttpRequest>;
|
|
58
|
-
export declare const se_ListEmailContactsCommand: (
|
|
59
|
-
input: ListEmailContactsCommandInput,
|
|
60
|
-
context: __SerdeContext
|
|
61
|
-
) => Promise<__HttpRequest>;
|
|
62
|
-
export declare const se_ListTagsForResourceCommand: (
|
|
63
|
-
input: ListTagsForResourceCommandInput,
|
|
64
|
-
context: __SerdeContext
|
|
65
|
-
) => Promise<__HttpRequest>;
|
|
66
|
-
export declare const se_SendActivationCodeCommand: (
|
|
67
|
-
input: SendActivationCodeCommandInput,
|
|
68
|
-
context: __SerdeContext
|
|
69
|
-
) => Promise<__HttpRequest>;
|
|
70
|
-
export declare const se_TagResourceCommand: (
|
|
71
|
-
input: TagResourceCommandInput,
|
|
72
|
-
context: __SerdeContext
|
|
73
|
-
) => Promise<__HttpRequest>;
|
|
74
|
-
export declare const se_UntagResourceCommand: (
|
|
75
|
-
input: UntagResourceCommandInput,
|
|
76
|
-
context: __SerdeContext
|
|
77
|
-
) => Promise<__HttpRequest>;
|
|
78
|
-
export declare const de_ActivateEmailContactCommand: (
|
|
79
|
-
output: __HttpResponse,
|
|
80
|
-
context: __SerdeContext
|
|
81
|
-
) => Promise<ActivateEmailContactCommandOutput>;
|
|
82
|
-
export declare const de_CreateEmailContactCommand: (
|
|
83
|
-
output: __HttpResponse,
|
|
84
|
-
context: __SerdeContext
|
|
85
|
-
) => Promise<CreateEmailContactCommandOutput>;
|
|
86
|
-
export declare const de_DeleteEmailContactCommand: (
|
|
87
|
-
output: __HttpResponse,
|
|
88
|
-
context: __SerdeContext
|
|
89
|
-
) => Promise<DeleteEmailContactCommandOutput>;
|
|
90
|
-
export declare const de_GetEmailContactCommand: (
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
) => Promise<GetEmailContactCommandOutput>;
|
|
94
|
-
export declare const de_ListEmailContactsCommand: (
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
) => Promise<ListEmailContactsCommandOutput>;
|
|
98
|
-
export declare const de_ListTagsForResourceCommand: (
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
) => Promise<ListTagsForResourceCommandOutput>;
|
|
102
|
-
export declare const de_SendActivationCodeCommand: (
|
|
103
|
-
output: __HttpResponse,
|
|
104
|
-
context: __SerdeContext
|
|
105
|
-
) => Promise<SendActivationCodeCommandOutput>;
|
|
106
|
-
export declare const de_TagResourceCommand: (
|
|
107
|
-
output: __HttpResponse,
|
|
108
|
-
context: __SerdeContext
|
|
109
|
-
) => Promise<TagResourceCommandOutput>;
|
|
110
|
-
export declare const de_UntagResourceCommand: (
|
|
111
|
-
output: __HttpResponse,
|
|
112
|
-
context: __SerdeContext
|
|
113
|
-
) => Promise<UntagResourceCommandOutput>;
|