@aws-sdk/client-notificationscontacts 3.957.0 → 3.958.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -14
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +141 -159
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +141 -159
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,10 +9,8 @@ AWS SDK for JavaScript NotificationsContacts Client for Node.js, Browser and Rea
|
|
|
9
9
|
<p>AWS User Notifications Contacts is a service that allows you to create and manage email contacts for AWS User Notifications. The AWS User Notifications Contacts API Reference provides descriptions, API request parameters, and the JSON response for all email contact related API actions.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
|
-
|
|
13
12
|
To install this package, simply type add or install @aws-sdk/client-notificationscontacts
|
|
14
13
|
using your favorite package manager:
|
|
15
|
-
|
|
16
14
|
- `npm install @aws-sdk/client-notificationscontacts`
|
|
17
15
|
- `yarn add @aws-sdk/client-notificationscontacts`
|
|
18
16
|
- `pnpm add @aws-sdk/client-notificationscontacts`
|
|
@@ -48,9 +46,7 @@ To send a request, you:
|
|
|
48
46
|
// a client can be shared by different commands.
|
|
49
47
|
const client = new NotificationsContactsClient({ region: "REGION" });
|
|
50
48
|
|
|
51
|
-
const params = {
|
|
52
|
-
/** input parameters */
|
|
53
|
-
};
|
|
49
|
+
const params = { /** input parameters */ };
|
|
54
50
|
const command = new ListEmailContactsCommand(params);
|
|
55
51
|
```
|
|
56
52
|
|
|
@@ -209,7 +205,6 @@ ActivateEmailContact
|
|
|
209
205
|
</summary>
|
|
210
206
|
|
|
211
207
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/ActivateEmailContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/ActivateEmailContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/ActivateEmailContactCommandOutput/)
|
|
212
|
-
|
|
213
208
|
</details>
|
|
214
209
|
<details>
|
|
215
210
|
<summary>
|
|
@@ -217,7 +212,6 @@ CreateEmailContact
|
|
|
217
212
|
</summary>
|
|
218
213
|
|
|
219
214
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/CreateEmailContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/CreateEmailContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/CreateEmailContactCommandOutput/)
|
|
220
|
-
|
|
221
215
|
</details>
|
|
222
216
|
<details>
|
|
223
217
|
<summary>
|
|
@@ -225,7 +219,6 @@ DeleteEmailContact
|
|
|
225
219
|
</summary>
|
|
226
220
|
|
|
227
221
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/DeleteEmailContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/DeleteEmailContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/DeleteEmailContactCommandOutput/)
|
|
228
|
-
|
|
229
222
|
</details>
|
|
230
223
|
<details>
|
|
231
224
|
<summary>
|
|
@@ -233,7 +226,6 @@ GetEmailContact
|
|
|
233
226
|
</summary>
|
|
234
227
|
|
|
235
228
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/GetEmailContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/GetEmailContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/GetEmailContactCommandOutput/)
|
|
236
|
-
|
|
237
229
|
</details>
|
|
238
230
|
<details>
|
|
239
231
|
<summary>
|
|
@@ -241,7 +233,6 @@ ListEmailContacts
|
|
|
241
233
|
</summary>
|
|
242
234
|
|
|
243
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/ListEmailContactsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/ListEmailContactsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/ListEmailContactsCommandOutput/)
|
|
244
|
-
|
|
245
236
|
</details>
|
|
246
237
|
<details>
|
|
247
238
|
<summary>
|
|
@@ -249,7 +240,6 @@ ListTagsForResource
|
|
|
249
240
|
</summary>
|
|
250
241
|
|
|
251
242
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/ListTagsForResourceCommandOutput/)
|
|
252
|
-
|
|
253
243
|
</details>
|
|
254
244
|
<details>
|
|
255
245
|
<summary>
|
|
@@ -257,7 +247,6 @@ SendActivationCode
|
|
|
257
247
|
</summary>
|
|
258
248
|
|
|
259
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/SendActivationCodeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/SendActivationCodeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/SendActivationCodeCommandOutput/)
|
|
260
|
-
|
|
261
250
|
</details>
|
|
262
251
|
<details>
|
|
263
252
|
<summary>
|
|
@@ -265,7 +254,6 @@ TagResource
|
|
|
265
254
|
</summary>
|
|
266
255
|
|
|
267
256
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/TagResourceCommandOutput/)
|
|
268
|
-
|
|
269
257
|
</details>
|
|
270
258
|
<details>
|
|
271
259
|
<summary>
|
|
@@ -273,5 +261,4 @@ UntagResource
|
|
|
273
261
|
</summary>
|
|
274
262
|
|
|
275
263
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/notificationscontacts/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-notificationscontacts/Interface/UntagResourceCommandOutput/)
|
|
276
|
-
|
|
277
264
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultNotificationsContactsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultNotificationsContactsHttpAuthSchemeParametersProvider = defaultNotificationsContactsHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -306,201 +306,183 @@ const n0 = "com.amazonaws.notificationscontacts";
|
|
|
306
306
|
var EmailContactName = [0, n0, _ECN, 8, 0];
|
|
307
307
|
var SensitiveEmailContactAddress = [0, n0, _SECA, 8, 0];
|
|
308
308
|
var Token = [0, n0, _T, 8, 0];
|
|
309
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
309
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
310
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
311
|
+
[_m],
|
|
312
|
+
[0]
|
|
313
|
+
];
|
|
310
314
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
311
|
-
var ActivateEmailContactRequest$ = [
|
|
312
|
-
3,
|
|
313
|
-
n0,
|
|
314
|
-
_AECR,
|
|
315
|
+
var ActivateEmailContactRequest$ = [3, n0, _AECR,
|
|
315
316
|
0,
|
|
316
317
|
[_a, _co],
|
|
317
|
-
[
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
318
|
+
[[0, 1], [() => Token, 1]]
|
|
319
|
+
];
|
|
320
|
+
var ActivateEmailContactResponse$ = [3, n0, _AECRc,
|
|
321
|
+
0,
|
|
322
|
+
[],
|
|
323
|
+
[]
|
|
324
|
+
];
|
|
325
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
326
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
327
|
+
[_m, _rI, _rT],
|
|
328
|
+
[0, 0, 0]
|
|
321
329
|
];
|
|
322
|
-
var ActivateEmailContactResponse$ = [3, n0, _AECRc, 0, [], []];
|
|
323
|
-
var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
324
330
|
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
325
|
-
var CreateEmailContactRequest$ = [
|
|
326
|
-
3,
|
|
327
|
-
n0,
|
|
328
|
-
_CECR,
|
|
331
|
+
var CreateEmailContactRequest$ = [3, n0, _CECR,
|
|
329
332
|
0,
|
|
330
333
|
[_n, _eA, _t],
|
|
331
|
-
[[() => EmailContactName, 0], 0, 128 | 0]
|
|
332
|
-
];
|
|
333
|
-
var CreateEmailContactResponse$ = [3, n0, _CECRr,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
334
|
+
[[() => EmailContactName, 0], 0, 128 | 0]
|
|
335
|
+
];
|
|
336
|
+
var CreateEmailContactResponse$ = [3, n0, _CECRr,
|
|
337
|
+
0,
|
|
338
|
+
[_a],
|
|
339
|
+
[0]
|
|
340
|
+
];
|
|
341
|
+
var DeleteEmailContactRequest$ = [3, n0, _DECR,
|
|
342
|
+
0,
|
|
343
|
+
[_a],
|
|
344
|
+
[[0, 1]]
|
|
345
|
+
];
|
|
346
|
+
var DeleteEmailContactResponse$ = [3, n0, _DECRe,
|
|
347
|
+
0,
|
|
348
|
+
[],
|
|
349
|
+
[]
|
|
350
|
+
];
|
|
351
|
+
var EmailContact$ = [3, n0, _EC,
|
|
340
352
|
0,
|
|
341
353
|
[_a, _n, _ad, _s, _cT, _uT],
|
|
342
|
-
[0, [() => EmailContactName, 0], [() => SensitiveEmailContactAddress, 0], 0, 5, 5]
|
|
354
|
+
[0, [() => EmailContactName, 0], [() => SensitiveEmailContactAddress, 0], 0, 5, 5]
|
|
355
|
+
];
|
|
356
|
+
var GetEmailContactRequest$ = [3, n0, _GECR,
|
|
357
|
+
0,
|
|
358
|
+
[_a],
|
|
359
|
+
[[0, 1]]
|
|
360
|
+
];
|
|
361
|
+
var GetEmailContactResponse$ = [3, n0, _GECRe,
|
|
362
|
+
0,
|
|
363
|
+
[_eC],
|
|
364
|
+
[[() => EmailContact$, 0]]
|
|
365
|
+
];
|
|
366
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
367
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
368
|
+
[_m],
|
|
369
|
+
[0]
|
|
343
370
|
];
|
|
344
|
-
var GetEmailContactRequest$ = [3, n0, _GECR, 0, [_a], [[0, 1]]];
|
|
345
|
-
var GetEmailContactResponse$ = [3, n0, _GECRe, 0, [_eC], [[() => EmailContact$, 0]]];
|
|
346
|
-
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
347
371
|
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
348
|
-
var ListEmailContactsRequest$ = [
|
|
349
|
-
3,
|
|
350
|
-
n0,
|
|
351
|
-
_LECR,
|
|
372
|
+
var ListEmailContactsRequest$ = [3, n0, _LECR,
|
|
352
373
|
0,
|
|
353
374
|
[_mR, _nT],
|
|
354
|
-
[
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
],
|
|
358
|
-
];
|
|
359
|
-
var ListEmailContactsResponse$ = [
|
|
360
|
-
3,
|
|
361
|
-
n0,
|
|
362
|
-
_LECRi,
|
|
375
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
376
|
+
];
|
|
377
|
+
var ListEmailContactsResponse$ = [3, n0, _LECRi,
|
|
363
378
|
0,
|
|
364
379
|
[_nT, _eCm],
|
|
365
|
-
[0, [() => EmailContacts, 0]]
|
|
366
|
-
];
|
|
367
|
-
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
380
|
+
[0, [() => EmailContacts, 0]]
|
|
381
|
+
];
|
|
382
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
383
|
+
0,
|
|
384
|
+
[_a],
|
|
385
|
+
[[0, 1]]
|
|
386
|
+
];
|
|
387
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
388
|
+
0,
|
|
389
|
+
[_t],
|
|
390
|
+
[128 | 0]
|
|
391
|
+
];
|
|
392
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
373
393
|
{ [_e]: _c, [_hE]: 404 },
|
|
374
394
|
[_m, _rI, _rT],
|
|
375
|
-
[0, 0, 0]
|
|
395
|
+
[0, 0, 0]
|
|
376
396
|
];
|
|
377
397
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
378
|
-
var SendActivationCodeRequest$ = [3, n0, _SACR,
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
398
|
+
var SendActivationCodeRequest$ = [3, n0, _SACR,
|
|
399
|
+
0,
|
|
400
|
+
[_a],
|
|
401
|
+
[[0, 1]]
|
|
402
|
+
];
|
|
403
|
+
var SendActivationCodeResponse$ = [3, n0, _SACRe,
|
|
404
|
+
0,
|
|
405
|
+
[],
|
|
406
|
+
[]
|
|
407
|
+
];
|
|
408
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
384
409
|
{ [_e]: _c, [_hE]: 402 },
|
|
385
410
|
[_m, _rI, _rT, _sC, _qC],
|
|
386
|
-
[0, 0, 0, 0, 0]
|
|
411
|
+
[0, 0, 0, 0, 0]
|
|
387
412
|
];
|
|
388
413
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
389
|
-
var TagResourceRequest$ = [3, n0, _TRR,
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
414
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
415
|
+
0,
|
|
416
|
+
[_a, _t],
|
|
417
|
+
[[0, 1], 128 | 0]
|
|
418
|
+
];
|
|
419
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
420
|
+
0,
|
|
421
|
+
[],
|
|
422
|
+
[]
|
|
423
|
+
];
|
|
424
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
395
425
|
{ [_e]: _c, [_hE]: 429 },
|
|
396
426
|
[_m, _sC, _qC, _rAS],
|
|
397
|
-
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
427
|
+
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
398
428
|
];
|
|
399
429
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
400
|
-
var UntagResourceRequest$ = [
|
|
401
|
-
3,
|
|
402
|
-
n0,
|
|
403
|
-
_URR,
|
|
430
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
404
431
|
0,
|
|
405
432
|
[_a, _tK],
|
|
406
|
-
[
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
]
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
n0,
|
|
415
|
-
_VE,
|
|
433
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]]
|
|
434
|
+
];
|
|
435
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
436
|
+
0,
|
|
437
|
+
[],
|
|
438
|
+
[]
|
|
439
|
+
];
|
|
440
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
416
441
|
{ [_e]: _c, [_hE]: 400 },
|
|
417
442
|
[_m, _r, _fL],
|
|
418
|
-
[0, 0, () => ValidationExceptionFieldList]
|
|
443
|
+
[0, 0, () => ValidationExceptionFieldList]
|
|
419
444
|
];
|
|
420
445
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
421
|
-
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
422
|
-
var NotificationsContactsServiceException$ = [
|
|
423
|
-
-3,
|
|
424
|
-
_sm,
|
|
425
|
-
"NotificationsContactsServiceException",
|
|
446
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
426
447
|
0,
|
|
427
|
-
[],
|
|
428
|
-
[]
|
|
448
|
+
[_n, _m],
|
|
449
|
+
[0, 0]
|
|
429
450
|
];
|
|
451
|
+
var NotificationsContactsServiceException$ = [-3, _sm, "NotificationsContactsServiceException", 0, [], []];
|
|
430
452
|
schema.TypeRegistry.for(_sm).registerError(NotificationsContactsServiceException$, NotificationsContactsServiceException);
|
|
431
|
-
var EmailContacts = [1, n0, _ECm,
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
() => ActivateEmailContactResponse
|
|
440
|
-
];
|
|
441
|
-
var CreateEmailContact$ = [
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
{ [_h]: ["
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
]
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
() =>
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
() =>
|
|
464
|
-
];
|
|
465
|
-
var ListEmailContacts$ = [
|
|
466
|
-
9,
|
|
467
|
-
n0,
|
|
468
|
-
_LEC,
|
|
469
|
-
{ [_h]: ["GET", "/emailcontacts", 200] },
|
|
470
|
-
() => ListEmailContactsRequest$,
|
|
471
|
-
() => ListEmailContactsResponse$,
|
|
472
|
-
];
|
|
473
|
-
var ListTagsForResource$ = [
|
|
474
|
-
9,
|
|
475
|
-
n0,
|
|
476
|
-
_LTFR,
|
|
477
|
-
{ [_h]: ["GET", "/tags/{arn}", 200] },
|
|
478
|
-
() => ListTagsForResourceRequest$,
|
|
479
|
-
() => ListTagsForResourceResponse$,
|
|
480
|
-
];
|
|
481
|
-
var SendActivationCode$ = [
|
|
482
|
-
9,
|
|
483
|
-
n0,
|
|
484
|
-
_SAC,
|
|
485
|
-
{ [_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200] },
|
|
486
|
-
() => SendActivationCodeRequest$,
|
|
487
|
-
() => SendActivationCodeResponse$,
|
|
488
|
-
];
|
|
489
|
-
var TagResource$ = [
|
|
490
|
-
9,
|
|
491
|
-
n0,
|
|
492
|
-
_TR,
|
|
493
|
-
{ [_h]: ["POST", "/tags/{arn}", 200] },
|
|
494
|
-
() => TagResourceRequest$,
|
|
495
|
-
() => TagResourceResponse$,
|
|
496
|
-
];
|
|
497
|
-
var UntagResource$ = [
|
|
498
|
-
9,
|
|
499
|
-
n0,
|
|
500
|
-
_UR,
|
|
501
|
-
{ [_h]: ["DELETE", "/tags/{arn}", 200] },
|
|
502
|
-
() => UntagResourceRequest$,
|
|
503
|
-
() => UntagResourceResponse$,
|
|
453
|
+
var EmailContacts = [1, n0, _ECm,
|
|
454
|
+
0, [() => EmailContact$,
|
|
455
|
+
0]
|
|
456
|
+
];
|
|
457
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
458
|
+
0, () => ValidationExceptionField$
|
|
459
|
+
];
|
|
460
|
+
var ActivateEmailContact$ = [9, n0, _AEC,
|
|
461
|
+
{ [_h]: ["PUT", "/emailcontacts/{arn}/activate/{code}", 200] }, () => ActivateEmailContactRequest$, () => ActivateEmailContactResponse$
|
|
462
|
+
];
|
|
463
|
+
var CreateEmailContact$ = [9, n0, _CEC,
|
|
464
|
+
{ [_h]: ["POST", "/2022-09-19/emailcontacts", 201] }, () => CreateEmailContactRequest$, () => CreateEmailContactResponse$
|
|
465
|
+
];
|
|
466
|
+
var DeleteEmailContact$ = [9, n0, _DEC,
|
|
467
|
+
{ [_h]: ["DELETE", "/emailcontacts/{arn}", 200] }, () => DeleteEmailContactRequest$, () => DeleteEmailContactResponse$
|
|
468
|
+
];
|
|
469
|
+
var GetEmailContact$ = [9, n0, _GEC,
|
|
470
|
+
{ [_h]: ["GET", "/emailcontacts/{arn}", 200] }, () => GetEmailContactRequest$, () => GetEmailContactResponse$
|
|
471
|
+
];
|
|
472
|
+
var ListEmailContacts$ = [9, n0, _LEC,
|
|
473
|
+
{ [_h]: ["GET", "/emailcontacts", 200] }, () => ListEmailContactsRequest$, () => ListEmailContactsResponse$
|
|
474
|
+
];
|
|
475
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
476
|
+
{ [_h]: ["GET", "/tags/{arn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
477
|
+
];
|
|
478
|
+
var SendActivationCode$ = [9, n0, _SAC,
|
|
479
|
+
{ [_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200] }, () => SendActivationCodeRequest$, () => SendActivationCodeResponse$
|
|
480
|
+
];
|
|
481
|
+
var TagResource$ = [9, n0, _TR,
|
|
482
|
+
{ [_h]: ["POST", "/tags/{arn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
483
|
+
];
|
|
484
|
+
var UntagResource$ = [9, n0, _UR,
|
|
485
|
+
{ [_h]: ["DELETE", "/tags/{arn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
504
486
|
];
|
|
505
487
|
|
|
506
488
|
class ActivateEmailContactCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultNotificationsContactsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -77,201 +77,183 @@ import { NotificationsContactsServiceException } from "../models/NotificationsCo
|
|
|
77
77
|
var EmailContactName = [0, n0, _ECN, 8, 0];
|
|
78
78
|
var SensitiveEmailContactAddress = [0, n0, _SECA, 8, 0];
|
|
79
79
|
var Token = [0, n0, _T, 8, 0];
|
|
80
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
80
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
81
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
82
|
+
[_m],
|
|
83
|
+
[0]
|
|
84
|
+
];
|
|
81
85
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
82
|
-
export var ActivateEmailContactRequest$ = [
|
|
83
|
-
3,
|
|
84
|
-
n0,
|
|
85
|
-
_AECR,
|
|
86
|
+
export var ActivateEmailContactRequest$ = [3, n0, _AECR,
|
|
86
87
|
0,
|
|
87
88
|
[_a, _co],
|
|
88
|
-
[
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
[[0, 1], [() => Token, 1]]
|
|
90
|
+
];
|
|
91
|
+
export var ActivateEmailContactResponse$ = [3, n0, _AECRc,
|
|
92
|
+
0,
|
|
93
|
+
[],
|
|
94
|
+
[]
|
|
95
|
+
];
|
|
96
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
97
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
98
|
+
[_m, _rI, _rT],
|
|
99
|
+
[0, 0, 0]
|
|
92
100
|
];
|
|
93
|
-
export var ActivateEmailContactResponse$ = [3, n0, _AECRc, 0, [], []];
|
|
94
|
-
export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
95
101
|
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
96
|
-
export var CreateEmailContactRequest$ = [
|
|
97
|
-
3,
|
|
98
|
-
n0,
|
|
99
|
-
_CECR,
|
|
102
|
+
export var CreateEmailContactRequest$ = [3, n0, _CECR,
|
|
100
103
|
0,
|
|
101
104
|
[_n, _eA, _t],
|
|
102
|
-
[[() => EmailContactName, 0], 0, 128 | 0]
|
|
103
|
-
];
|
|
104
|
-
export var CreateEmailContactResponse$ = [3, n0, _CECRr,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
[[() => EmailContactName, 0], 0, 128 | 0]
|
|
106
|
+
];
|
|
107
|
+
export var CreateEmailContactResponse$ = [3, n0, _CECRr,
|
|
108
|
+
0,
|
|
109
|
+
[_a],
|
|
110
|
+
[0]
|
|
111
|
+
];
|
|
112
|
+
export var DeleteEmailContactRequest$ = [3, n0, _DECR,
|
|
113
|
+
0,
|
|
114
|
+
[_a],
|
|
115
|
+
[[0, 1]]
|
|
116
|
+
];
|
|
117
|
+
export var DeleteEmailContactResponse$ = [3, n0, _DECRe,
|
|
118
|
+
0,
|
|
119
|
+
[],
|
|
120
|
+
[]
|
|
121
|
+
];
|
|
122
|
+
export var EmailContact$ = [3, n0, _EC,
|
|
111
123
|
0,
|
|
112
124
|
[_a, _n, _ad, _s, _cT, _uT],
|
|
113
|
-
[0, [() => EmailContactName, 0], [() => SensitiveEmailContactAddress, 0], 0, 5, 5]
|
|
125
|
+
[0, [() => EmailContactName, 0], [() => SensitiveEmailContactAddress, 0], 0, 5, 5]
|
|
126
|
+
];
|
|
127
|
+
export var GetEmailContactRequest$ = [3, n0, _GECR,
|
|
128
|
+
0,
|
|
129
|
+
[_a],
|
|
130
|
+
[[0, 1]]
|
|
131
|
+
];
|
|
132
|
+
export var GetEmailContactResponse$ = [3, n0, _GECRe,
|
|
133
|
+
0,
|
|
134
|
+
[_eC],
|
|
135
|
+
[[() => EmailContact$, 0]]
|
|
136
|
+
];
|
|
137
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
138
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
139
|
+
[_m],
|
|
140
|
+
[0]
|
|
114
141
|
];
|
|
115
|
-
export var GetEmailContactRequest$ = [3, n0, _GECR, 0, [_a], [[0, 1]]];
|
|
116
|
-
export var GetEmailContactResponse$ = [3, n0, _GECRe, 0, [_eC], [[() => EmailContact$, 0]]];
|
|
117
|
-
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
118
142
|
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
119
|
-
export var ListEmailContactsRequest$ = [
|
|
120
|
-
3,
|
|
121
|
-
n0,
|
|
122
|
-
_LECR,
|
|
143
|
+
export var ListEmailContactsRequest$ = [3, n0, _LECR,
|
|
123
144
|
0,
|
|
124
145
|
[_mR, _nT],
|
|
125
|
-
[
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
],
|
|
129
|
-
];
|
|
130
|
-
export var ListEmailContactsResponse$ = [
|
|
131
|
-
3,
|
|
132
|
-
n0,
|
|
133
|
-
_LECRi,
|
|
146
|
+
[[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
|
|
147
|
+
];
|
|
148
|
+
export var ListEmailContactsResponse$ = [3, n0, _LECRi,
|
|
134
149
|
0,
|
|
135
150
|
[_nT, _eCm],
|
|
136
|
-
[0, [() => EmailContacts, 0]]
|
|
137
|
-
];
|
|
138
|
-
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
151
|
+
[0, [() => EmailContacts, 0]]
|
|
152
|
+
];
|
|
153
|
+
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
154
|
+
0,
|
|
155
|
+
[_a],
|
|
156
|
+
[[0, 1]]
|
|
157
|
+
];
|
|
158
|
+
export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
159
|
+
0,
|
|
160
|
+
[_t],
|
|
161
|
+
[128 | 0]
|
|
162
|
+
];
|
|
163
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
144
164
|
{ [_e]: _c, [_hE]: 404 },
|
|
145
165
|
[_m, _rI, _rT],
|
|
146
|
-
[0, 0, 0]
|
|
166
|
+
[0, 0, 0]
|
|
147
167
|
];
|
|
148
168
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
149
|
-
export var SendActivationCodeRequest$ = [3, n0, _SACR,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
169
|
+
export var SendActivationCodeRequest$ = [3, n0, _SACR,
|
|
170
|
+
0,
|
|
171
|
+
[_a],
|
|
172
|
+
[[0, 1]]
|
|
173
|
+
];
|
|
174
|
+
export var SendActivationCodeResponse$ = [3, n0, _SACRe,
|
|
175
|
+
0,
|
|
176
|
+
[],
|
|
177
|
+
[]
|
|
178
|
+
];
|
|
179
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
155
180
|
{ [_e]: _c, [_hE]: 402 },
|
|
156
181
|
[_m, _rI, _rT, _sC, _qC],
|
|
157
|
-
[0, 0, 0, 0, 0]
|
|
182
|
+
[0, 0, 0, 0, 0]
|
|
158
183
|
];
|
|
159
184
|
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
160
|
-
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
185
|
+
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
186
|
+
0,
|
|
187
|
+
[_a, _t],
|
|
188
|
+
[[0, 1], 128 | 0]
|
|
189
|
+
];
|
|
190
|
+
export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
191
|
+
0,
|
|
192
|
+
[],
|
|
193
|
+
[]
|
|
194
|
+
];
|
|
195
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
166
196
|
{ [_e]: _c, [_hE]: 429 },
|
|
167
197
|
[_m, _sC, _qC, _rAS],
|
|
168
|
-
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
198
|
+
[0, 0, 0, [1, { [_hH]: _RA }]]
|
|
169
199
|
];
|
|
170
200
|
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
171
|
-
export var UntagResourceRequest$ = [
|
|
172
|
-
3,
|
|
173
|
-
n0,
|
|
174
|
-
_URR,
|
|
201
|
+
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
175
202
|
0,
|
|
176
203
|
[_a, _tK],
|
|
177
|
-
[
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
]
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
n0,
|
|
186
|
-
_VE,
|
|
204
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]]
|
|
205
|
+
];
|
|
206
|
+
export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
207
|
+
0,
|
|
208
|
+
[],
|
|
209
|
+
[]
|
|
210
|
+
];
|
|
211
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
187
212
|
{ [_e]: _c, [_hE]: 400 },
|
|
188
213
|
[_m, _r, _fL],
|
|
189
|
-
[0, 0, () => ValidationExceptionFieldList]
|
|
214
|
+
[0, 0, () => ValidationExceptionFieldList]
|
|
190
215
|
];
|
|
191
216
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
192
|
-
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
193
|
-
export var NotificationsContactsServiceException$ = [
|
|
194
|
-
-3,
|
|
195
|
-
_sm,
|
|
196
|
-
"NotificationsContactsServiceException",
|
|
217
|
+
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
197
218
|
0,
|
|
198
|
-
[],
|
|
199
|
-
[]
|
|
219
|
+
[_n, _m],
|
|
220
|
+
[0, 0]
|
|
200
221
|
];
|
|
222
|
+
export var NotificationsContactsServiceException$ = [-3, _sm, "NotificationsContactsServiceException", 0, [], []];
|
|
201
223
|
TypeRegistry.for(_sm).registerError(NotificationsContactsServiceException$, NotificationsContactsServiceException);
|
|
202
|
-
var EmailContacts = [1, n0, _ECm,
|
|
224
|
+
var EmailContacts = [1, n0, _ECm,
|
|
225
|
+
0, [() => EmailContact$,
|
|
226
|
+
0]
|
|
227
|
+
];
|
|
203
228
|
var TagKeys = 64 | 0;
|
|
204
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
229
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
230
|
+
0, () => ValidationExceptionField$
|
|
231
|
+
];
|
|
205
232
|
var TagMap = 128 | 0;
|
|
206
|
-
export var ActivateEmailContact$ = [
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
{ [_h]: ["
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
]
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
() =>
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
() =>
|
|
229
|
-
];
|
|
230
|
-
export var
|
|
231
|
-
|
|
232
|
-
n0,
|
|
233
|
-
_GEC,
|
|
234
|
-
{ [_h]: ["GET", "/emailcontacts/{arn}", 200] },
|
|
235
|
-
() => GetEmailContactRequest$,
|
|
236
|
-
() => GetEmailContactResponse$,
|
|
237
|
-
];
|
|
238
|
-
export var ListEmailContacts$ = [
|
|
239
|
-
9,
|
|
240
|
-
n0,
|
|
241
|
-
_LEC,
|
|
242
|
-
{ [_h]: ["GET", "/emailcontacts", 200] },
|
|
243
|
-
() => ListEmailContactsRequest$,
|
|
244
|
-
() => ListEmailContactsResponse$,
|
|
245
|
-
];
|
|
246
|
-
export var ListTagsForResource$ = [
|
|
247
|
-
9,
|
|
248
|
-
n0,
|
|
249
|
-
_LTFR,
|
|
250
|
-
{ [_h]: ["GET", "/tags/{arn}", 200] },
|
|
251
|
-
() => ListTagsForResourceRequest$,
|
|
252
|
-
() => ListTagsForResourceResponse$,
|
|
253
|
-
];
|
|
254
|
-
export var SendActivationCode$ = [
|
|
255
|
-
9,
|
|
256
|
-
n0,
|
|
257
|
-
_SAC,
|
|
258
|
-
{ [_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200] },
|
|
259
|
-
() => SendActivationCodeRequest$,
|
|
260
|
-
() => SendActivationCodeResponse$,
|
|
261
|
-
];
|
|
262
|
-
export var TagResource$ = [
|
|
263
|
-
9,
|
|
264
|
-
n0,
|
|
265
|
-
_TR,
|
|
266
|
-
{ [_h]: ["POST", "/tags/{arn}", 200] },
|
|
267
|
-
() => TagResourceRequest$,
|
|
268
|
-
() => TagResourceResponse$,
|
|
269
|
-
];
|
|
270
|
-
export var UntagResource$ = [
|
|
271
|
-
9,
|
|
272
|
-
n0,
|
|
273
|
-
_UR,
|
|
274
|
-
{ [_h]: ["DELETE", "/tags/{arn}", 200] },
|
|
275
|
-
() => UntagResourceRequest$,
|
|
276
|
-
() => UntagResourceResponse$,
|
|
233
|
+
export var ActivateEmailContact$ = [9, n0, _AEC,
|
|
234
|
+
{ [_h]: ["PUT", "/emailcontacts/{arn}/activate/{code}", 200] }, () => ActivateEmailContactRequest$, () => ActivateEmailContactResponse$
|
|
235
|
+
];
|
|
236
|
+
export var CreateEmailContact$ = [9, n0, _CEC,
|
|
237
|
+
{ [_h]: ["POST", "/2022-09-19/emailcontacts", 201] }, () => CreateEmailContactRequest$, () => CreateEmailContactResponse$
|
|
238
|
+
];
|
|
239
|
+
export var DeleteEmailContact$ = [9, n0, _DEC,
|
|
240
|
+
{ [_h]: ["DELETE", "/emailcontacts/{arn}", 200] }, () => DeleteEmailContactRequest$, () => DeleteEmailContactResponse$
|
|
241
|
+
];
|
|
242
|
+
export var GetEmailContact$ = [9, n0, _GEC,
|
|
243
|
+
{ [_h]: ["GET", "/emailcontacts/{arn}", 200] }, () => GetEmailContactRequest$, () => GetEmailContactResponse$
|
|
244
|
+
];
|
|
245
|
+
export var ListEmailContacts$ = [9, n0, _LEC,
|
|
246
|
+
{ [_h]: ["GET", "/emailcontacts", 200] }, () => ListEmailContactsRequest$, () => ListEmailContactsResponse$
|
|
247
|
+
];
|
|
248
|
+
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
249
|
+
{ [_h]: ["GET", "/tags/{arn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
250
|
+
];
|
|
251
|
+
export var SendActivationCode$ = [9, n0, _SAC,
|
|
252
|
+
{ [_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200] }, () => SendActivationCodeRequest$, () => SendActivationCodeResponse$
|
|
253
|
+
];
|
|
254
|
+
export var TagResource$ = [9, n0, _TR,
|
|
255
|
+
{ [_h]: ["POST", "/tags/{arn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
256
|
+
];
|
|
257
|
+
export var UntagResource$ = [9, n0, _UR,
|
|
258
|
+
{ [_h]: ["DELETE", "/tags/{arn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
277
259
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-notificationscontacts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Notificationscontacts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-notificationscontacts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|