@aws-sdk/client-notificationscontacts 3.943.0 → 3.946.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 +20 -105
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/NotificationsContactsClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +20 -105
- package/dist-types/NotificationsContacts.d.ts +1 -1
- package/dist-types/NotificationsContactsClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/ActivateEmailContactCommand.d.ts +3 -3
- package/dist-types/commands/CreateEmailContactCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEmailContactCommand.d.ts +3 -3
- package/dist-types/commands/GetEmailContactCommand.d.ts +3 -3
- package/dist-types/commands/ListEmailContactsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/SendActivationCodeCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/NotificationsContactsServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListEmailContactsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/NotificationsContactsClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/NotificationsContactsServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -306,17 +306,7 @@ 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 = [
|
|
310
|
-
-3,
|
|
311
|
-
n0,
|
|
312
|
-
_ADE,
|
|
313
|
-
{
|
|
314
|
-
[_e]: _c,
|
|
315
|
-
[_hE]: 403,
|
|
316
|
-
},
|
|
317
|
-
[_m],
|
|
318
|
-
[0],
|
|
319
|
-
];
|
|
309
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
320
310
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
321
311
|
var ActivateEmailContactRequest = [
|
|
322
312
|
3,
|
|
@@ -330,17 +320,7 @@ var ActivateEmailContactRequest = [
|
|
|
330
320
|
],
|
|
331
321
|
];
|
|
332
322
|
var ActivateEmailContactResponse = [3, n0, _AECRc, 0, [], []];
|
|
333
|
-
var ConflictException = [
|
|
334
|
-
-3,
|
|
335
|
-
n0,
|
|
336
|
-
_CE,
|
|
337
|
-
{
|
|
338
|
-
[_e]: _c,
|
|
339
|
-
[_hE]: 409,
|
|
340
|
-
},
|
|
341
|
-
[_m, _rI, _rT],
|
|
342
|
-
[0, 0, 0],
|
|
343
|
-
];
|
|
323
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
344
324
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
345
325
|
var CreateEmailContactRequest = [
|
|
346
326
|
3,
|
|
@@ -363,17 +343,7 @@ var EmailContact = [
|
|
|
363
343
|
];
|
|
364
344
|
var GetEmailContactRequest = [3, n0, _GECR, 0, [_a], [[0, 1]]];
|
|
365
345
|
var GetEmailContactResponse = [3, n0, _GECRe, 0, [_eC], [[() => EmailContact, 0]]];
|
|
366
|
-
var InternalServerException = [
|
|
367
|
-
-3,
|
|
368
|
-
n0,
|
|
369
|
-
_ISE,
|
|
370
|
-
{
|
|
371
|
-
[_e]: _se,
|
|
372
|
-
[_hE]: 500,
|
|
373
|
-
},
|
|
374
|
-
[_m],
|
|
375
|
-
[0],
|
|
376
|
-
];
|
|
346
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
377
347
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
378
348
|
var ListEmailContactsRequest = [
|
|
379
349
|
3,
|
|
@@ -382,18 +352,8 @@ var ListEmailContactsRequest = [
|
|
|
382
352
|
0,
|
|
383
353
|
[_mR, _nT],
|
|
384
354
|
[
|
|
385
|
-
[
|
|
386
|
-
|
|
387
|
-
{
|
|
388
|
-
[_hQ]: _mR,
|
|
389
|
-
},
|
|
390
|
-
],
|
|
391
|
-
[
|
|
392
|
-
0,
|
|
393
|
-
{
|
|
394
|
-
[_hQ]: _nT,
|
|
395
|
-
},
|
|
396
|
-
],
|
|
355
|
+
[1, { [_hQ]: _mR }],
|
|
356
|
+
[0, { [_hQ]: _nT }],
|
|
397
357
|
],
|
|
398
358
|
];
|
|
399
359
|
var ListEmailContactsResponse = [
|
|
@@ -410,10 +370,7 @@ var ResourceNotFoundException = [
|
|
|
410
370
|
-3,
|
|
411
371
|
n0,
|
|
412
372
|
_RNFE,
|
|
413
|
-
{
|
|
414
|
-
[_e]: _c,
|
|
415
|
-
[_hE]: 404,
|
|
416
|
-
},
|
|
373
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
417
374
|
[_m, _rI, _rT],
|
|
418
375
|
[0, 0, 0],
|
|
419
376
|
];
|
|
@@ -424,10 +381,7 @@ var ServiceQuotaExceededException = [
|
|
|
424
381
|
-3,
|
|
425
382
|
n0,
|
|
426
383
|
_SQEE,
|
|
427
|
-
{
|
|
428
|
-
[_e]: _c,
|
|
429
|
-
[_hE]: 402,
|
|
430
|
-
},
|
|
384
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
431
385
|
[_m, _rI, _rT, _sC, _qC],
|
|
432
386
|
[0, 0, 0, 0, 0],
|
|
433
387
|
];
|
|
@@ -438,22 +392,9 @@ var ThrottlingException = [
|
|
|
438
392
|
-3,
|
|
439
393
|
n0,
|
|
440
394
|
_TE,
|
|
441
|
-
{
|
|
442
|
-
[_e]: _c,
|
|
443
|
-
[_hE]: 429,
|
|
444
|
-
},
|
|
395
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
445
396
|
[_m, _sC, _qC, _rAS],
|
|
446
|
-
[
|
|
447
|
-
0,
|
|
448
|
-
0,
|
|
449
|
-
0,
|
|
450
|
-
[
|
|
451
|
-
1,
|
|
452
|
-
{
|
|
453
|
-
[_hH]: _RA,
|
|
454
|
-
},
|
|
455
|
-
],
|
|
456
|
-
],
|
|
397
|
+
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
457
398
|
];
|
|
458
399
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
459
400
|
var UntagResourceRequest = [
|
|
@@ -464,12 +405,7 @@ var UntagResourceRequest = [
|
|
|
464
405
|
[_a, _tK],
|
|
465
406
|
[
|
|
466
407
|
[0, 1],
|
|
467
|
-
[
|
|
468
|
-
64 | 0,
|
|
469
|
-
{
|
|
470
|
-
[_hQ]: _tK,
|
|
471
|
-
},
|
|
472
|
-
],
|
|
408
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
473
409
|
],
|
|
474
410
|
];
|
|
475
411
|
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
@@ -477,10 +413,7 @@ var ValidationException = [
|
|
|
477
413
|
-3,
|
|
478
414
|
n0,
|
|
479
415
|
_VE,
|
|
480
|
-
{
|
|
481
|
-
[_e]: _c,
|
|
482
|
-
[_hE]: 400,
|
|
483
|
-
},
|
|
416
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
484
417
|
[_m, _r, _fL],
|
|
485
418
|
[0, 0, () => ValidationExceptionFieldList],
|
|
486
419
|
];
|
|
@@ -501,9 +434,7 @@ var ActivateEmailContact = [
|
|
|
501
434
|
9,
|
|
502
435
|
n0,
|
|
503
436
|
_AEC,
|
|
504
|
-
{
|
|
505
|
-
[_h]: ["PUT", "/emailcontacts/{arn}/activate/{code}", 200],
|
|
506
|
-
},
|
|
437
|
+
{ [_h]: ["PUT", "/emailcontacts/{arn}/activate/{code}", 200] },
|
|
507
438
|
() => ActivateEmailContactRequest,
|
|
508
439
|
() => ActivateEmailContactResponse,
|
|
509
440
|
];
|
|
@@ -511,9 +442,7 @@ var CreateEmailContact = [
|
|
|
511
442
|
9,
|
|
512
443
|
n0,
|
|
513
444
|
_CEC,
|
|
514
|
-
{
|
|
515
|
-
[_h]: ["POST", "/2022-09-19/emailcontacts", 201],
|
|
516
|
-
},
|
|
445
|
+
{ [_h]: ["POST", "/2022-09-19/emailcontacts", 201] },
|
|
517
446
|
() => CreateEmailContactRequest,
|
|
518
447
|
() => CreateEmailContactResponse,
|
|
519
448
|
];
|
|
@@ -521,9 +450,7 @@ var DeleteEmailContact = [
|
|
|
521
450
|
9,
|
|
522
451
|
n0,
|
|
523
452
|
_DEC,
|
|
524
|
-
{
|
|
525
|
-
[_h]: ["DELETE", "/emailcontacts/{arn}", 200],
|
|
526
|
-
},
|
|
453
|
+
{ [_h]: ["DELETE", "/emailcontacts/{arn}", 200] },
|
|
527
454
|
() => DeleteEmailContactRequest,
|
|
528
455
|
() => DeleteEmailContactResponse,
|
|
529
456
|
];
|
|
@@ -531,9 +458,7 @@ var GetEmailContact = [
|
|
|
531
458
|
9,
|
|
532
459
|
n0,
|
|
533
460
|
_GEC,
|
|
534
|
-
{
|
|
535
|
-
[_h]: ["GET", "/emailcontacts/{arn}", 200],
|
|
536
|
-
},
|
|
461
|
+
{ [_h]: ["GET", "/emailcontacts/{arn}", 200] },
|
|
537
462
|
() => GetEmailContactRequest,
|
|
538
463
|
() => GetEmailContactResponse,
|
|
539
464
|
];
|
|
@@ -541,9 +466,7 @@ var ListEmailContacts = [
|
|
|
541
466
|
9,
|
|
542
467
|
n0,
|
|
543
468
|
_LEC,
|
|
544
|
-
{
|
|
545
|
-
[_h]: ["GET", "/emailcontacts", 200],
|
|
546
|
-
},
|
|
469
|
+
{ [_h]: ["GET", "/emailcontacts", 200] },
|
|
547
470
|
() => ListEmailContactsRequest,
|
|
548
471
|
() => ListEmailContactsResponse,
|
|
549
472
|
];
|
|
@@ -551,9 +474,7 @@ var ListTagsForResource = [
|
|
|
551
474
|
9,
|
|
552
475
|
n0,
|
|
553
476
|
_LTFR,
|
|
554
|
-
{
|
|
555
|
-
[_h]: ["GET", "/tags/{arn}", 200],
|
|
556
|
-
},
|
|
477
|
+
{ [_h]: ["GET", "/tags/{arn}", 200] },
|
|
557
478
|
() => ListTagsForResourceRequest,
|
|
558
479
|
() => ListTagsForResourceResponse,
|
|
559
480
|
];
|
|
@@ -561,9 +482,7 @@ var SendActivationCode = [
|
|
|
561
482
|
9,
|
|
562
483
|
n0,
|
|
563
484
|
_SAC,
|
|
564
|
-
{
|
|
565
|
-
[_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200],
|
|
566
|
-
},
|
|
485
|
+
{ [_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200] },
|
|
567
486
|
() => SendActivationCodeRequest,
|
|
568
487
|
() => SendActivationCodeResponse,
|
|
569
488
|
];
|
|
@@ -571,9 +490,7 @@ var TagResource = [
|
|
|
571
490
|
9,
|
|
572
491
|
n0,
|
|
573
492
|
_TR,
|
|
574
|
-
{
|
|
575
|
-
[_h]: ["POST", "/tags/{arn}", 200],
|
|
576
|
-
},
|
|
493
|
+
{ [_h]: ["POST", "/tags/{arn}", 200] },
|
|
577
494
|
() => TagResourceRequest,
|
|
578
495
|
() => TagResourceResponse,
|
|
579
496
|
];
|
|
@@ -581,9 +498,7 @@ var UntagResource = [
|
|
|
581
498
|
9,
|
|
582
499
|
n0,
|
|
583
500
|
_UR,
|
|
584
|
-
{
|
|
585
|
-
[_h]: ["DELETE", "/tags/{arn}", 200],
|
|
586
|
-
},
|
|
501
|
+
{ [_h]: ["DELETE", "/tags/{arn}", 200] },
|
|
587
502
|
() => UntagResourceRequest,
|
|
588
503
|
() => UntagResourceResponse,
|
|
589
504
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultNotificationsContactsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -77,17 +77,7 @@ import { NotificationsContactsServiceException as __NotificationsContactsService
|
|
|
77
77
|
export var EmailContactName = [0, n0, _ECN, 8, 0];
|
|
78
78
|
export var SensitiveEmailContactAddress = [0, n0, _SECA, 8, 0];
|
|
79
79
|
export var Token = [0, n0, _T, 8, 0];
|
|
80
|
-
export var AccessDeniedException = [
|
|
81
|
-
-3,
|
|
82
|
-
n0,
|
|
83
|
-
_ADE,
|
|
84
|
-
{
|
|
85
|
-
[_e]: _c,
|
|
86
|
-
[_hE]: 403,
|
|
87
|
-
},
|
|
88
|
-
[_m],
|
|
89
|
-
[0],
|
|
90
|
-
];
|
|
80
|
+
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
91
81
|
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
92
82
|
export var ActivateEmailContactRequest = [
|
|
93
83
|
3,
|
|
@@ -101,17 +91,7 @@ export var ActivateEmailContactRequest = [
|
|
|
101
91
|
],
|
|
102
92
|
];
|
|
103
93
|
export var ActivateEmailContactResponse = [3, n0, _AECRc, 0, [], []];
|
|
104
|
-
export var ConflictException = [
|
|
105
|
-
-3,
|
|
106
|
-
n0,
|
|
107
|
-
_CE,
|
|
108
|
-
{
|
|
109
|
-
[_e]: _c,
|
|
110
|
-
[_hE]: 409,
|
|
111
|
-
},
|
|
112
|
-
[_m, _rI, _rT],
|
|
113
|
-
[0, 0, 0],
|
|
114
|
-
];
|
|
94
|
+
export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI, _rT], [0, 0, 0]];
|
|
115
95
|
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
116
96
|
export var CreateEmailContactRequest = [
|
|
117
97
|
3,
|
|
@@ -134,17 +114,7 @@ export var EmailContact = [
|
|
|
134
114
|
];
|
|
135
115
|
export var GetEmailContactRequest = [3, n0, _GECR, 0, [_a], [[0, 1]]];
|
|
136
116
|
export var GetEmailContactResponse = [3, n0, _GECRe, 0, [_eC], [[() => EmailContact, 0]]];
|
|
137
|
-
export var InternalServerException = [
|
|
138
|
-
-3,
|
|
139
|
-
n0,
|
|
140
|
-
_ISE,
|
|
141
|
-
{
|
|
142
|
-
[_e]: _se,
|
|
143
|
-
[_hE]: 500,
|
|
144
|
-
},
|
|
145
|
-
[_m],
|
|
146
|
-
[0],
|
|
147
|
-
];
|
|
117
|
+
export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
148
118
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
149
119
|
export var ListEmailContactsRequest = [
|
|
150
120
|
3,
|
|
@@ -153,18 +123,8 @@ export var ListEmailContactsRequest = [
|
|
|
153
123
|
0,
|
|
154
124
|
[_mR, _nT],
|
|
155
125
|
[
|
|
156
|
-
[
|
|
157
|
-
|
|
158
|
-
{
|
|
159
|
-
[_hQ]: _mR,
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
[
|
|
163
|
-
0,
|
|
164
|
-
{
|
|
165
|
-
[_hQ]: _nT,
|
|
166
|
-
},
|
|
167
|
-
],
|
|
126
|
+
[1, { [_hQ]: _mR }],
|
|
127
|
+
[0, { [_hQ]: _nT }],
|
|
168
128
|
],
|
|
169
129
|
];
|
|
170
130
|
export var ListEmailContactsResponse = [
|
|
@@ -181,10 +141,7 @@ export var ResourceNotFoundException = [
|
|
|
181
141
|
-3,
|
|
182
142
|
n0,
|
|
183
143
|
_RNFE,
|
|
184
|
-
{
|
|
185
|
-
[_e]: _c,
|
|
186
|
-
[_hE]: 404,
|
|
187
|
-
},
|
|
144
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
188
145
|
[_m, _rI, _rT],
|
|
189
146
|
[0, 0, 0],
|
|
190
147
|
];
|
|
@@ -195,10 +152,7 @@ export var ServiceQuotaExceededException = [
|
|
|
195
152
|
-3,
|
|
196
153
|
n0,
|
|
197
154
|
_SQEE,
|
|
198
|
-
{
|
|
199
|
-
[_e]: _c,
|
|
200
|
-
[_hE]: 402,
|
|
201
|
-
},
|
|
155
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
202
156
|
[_m, _rI, _rT, _sC, _qC],
|
|
203
157
|
[0, 0, 0, 0, 0],
|
|
204
158
|
];
|
|
@@ -209,22 +163,9 @@ export var ThrottlingException = [
|
|
|
209
163
|
-3,
|
|
210
164
|
n0,
|
|
211
165
|
_TE,
|
|
212
|
-
{
|
|
213
|
-
[_e]: _c,
|
|
214
|
-
[_hE]: 429,
|
|
215
|
-
},
|
|
166
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
216
167
|
[_m, _sC, _qC, _rAS],
|
|
217
|
-
[
|
|
218
|
-
0,
|
|
219
|
-
0,
|
|
220
|
-
0,
|
|
221
|
-
[
|
|
222
|
-
1,
|
|
223
|
-
{
|
|
224
|
-
[_hH]: _RA,
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
],
|
|
168
|
+
[0, 0, 0, [1, { [_hH]: _RA }]],
|
|
228
169
|
];
|
|
229
170
|
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
230
171
|
export var UntagResourceRequest = [
|
|
@@ -235,12 +176,7 @@ export var UntagResourceRequest = [
|
|
|
235
176
|
[_a, _tK],
|
|
236
177
|
[
|
|
237
178
|
[0, 1],
|
|
238
|
-
[
|
|
239
|
-
64 | 0,
|
|
240
|
-
{
|
|
241
|
-
[_hQ]: _tK,
|
|
242
|
-
},
|
|
243
|
-
],
|
|
179
|
+
[64 | 0, { [_hQ]: _tK }],
|
|
244
180
|
],
|
|
245
181
|
];
|
|
246
182
|
export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
@@ -248,10 +184,7 @@ export var ValidationException = [
|
|
|
248
184
|
-3,
|
|
249
185
|
n0,
|
|
250
186
|
_VE,
|
|
251
|
-
{
|
|
252
|
-
[_e]: _c,
|
|
253
|
-
[_hE]: 400,
|
|
254
|
-
},
|
|
187
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
255
188
|
[_m, _r, _fL],
|
|
256
189
|
[0, 0, () => ValidationExceptionFieldList],
|
|
257
190
|
];
|
|
@@ -275,9 +208,7 @@ export var ActivateEmailContact = [
|
|
|
275
208
|
9,
|
|
276
209
|
n0,
|
|
277
210
|
_AEC,
|
|
278
|
-
{
|
|
279
|
-
[_h]: ["PUT", "/emailcontacts/{arn}/activate/{code}", 200],
|
|
280
|
-
},
|
|
211
|
+
{ [_h]: ["PUT", "/emailcontacts/{arn}/activate/{code}", 200] },
|
|
281
212
|
() => ActivateEmailContactRequest,
|
|
282
213
|
() => ActivateEmailContactResponse,
|
|
283
214
|
];
|
|
@@ -285,9 +216,7 @@ export var CreateEmailContact = [
|
|
|
285
216
|
9,
|
|
286
217
|
n0,
|
|
287
218
|
_CEC,
|
|
288
|
-
{
|
|
289
|
-
[_h]: ["POST", "/2022-09-19/emailcontacts", 201],
|
|
290
|
-
},
|
|
219
|
+
{ [_h]: ["POST", "/2022-09-19/emailcontacts", 201] },
|
|
291
220
|
() => CreateEmailContactRequest,
|
|
292
221
|
() => CreateEmailContactResponse,
|
|
293
222
|
];
|
|
@@ -295,9 +224,7 @@ export var DeleteEmailContact = [
|
|
|
295
224
|
9,
|
|
296
225
|
n0,
|
|
297
226
|
_DEC,
|
|
298
|
-
{
|
|
299
|
-
[_h]: ["DELETE", "/emailcontacts/{arn}", 200],
|
|
300
|
-
},
|
|
227
|
+
{ [_h]: ["DELETE", "/emailcontacts/{arn}", 200] },
|
|
301
228
|
() => DeleteEmailContactRequest,
|
|
302
229
|
() => DeleteEmailContactResponse,
|
|
303
230
|
];
|
|
@@ -305,9 +232,7 @@ export var GetEmailContact = [
|
|
|
305
232
|
9,
|
|
306
233
|
n0,
|
|
307
234
|
_GEC,
|
|
308
|
-
{
|
|
309
|
-
[_h]: ["GET", "/emailcontacts/{arn}", 200],
|
|
310
|
-
},
|
|
235
|
+
{ [_h]: ["GET", "/emailcontacts/{arn}", 200] },
|
|
311
236
|
() => GetEmailContactRequest,
|
|
312
237
|
() => GetEmailContactResponse,
|
|
313
238
|
];
|
|
@@ -315,9 +240,7 @@ export var ListEmailContacts = [
|
|
|
315
240
|
9,
|
|
316
241
|
n0,
|
|
317
242
|
_LEC,
|
|
318
|
-
{
|
|
319
|
-
[_h]: ["GET", "/emailcontacts", 200],
|
|
320
|
-
},
|
|
243
|
+
{ [_h]: ["GET", "/emailcontacts", 200] },
|
|
321
244
|
() => ListEmailContactsRequest,
|
|
322
245
|
() => ListEmailContactsResponse,
|
|
323
246
|
];
|
|
@@ -325,9 +248,7 @@ export var ListTagsForResource = [
|
|
|
325
248
|
9,
|
|
326
249
|
n0,
|
|
327
250
|
_LTFR,
|
|
328
|
-
{
|
|
329
|
-
[_h]: ["GET", "/tags/{arn}", 200],
|
|
330
|
-
},
|
|
251
|
+
{ [_h]: ["GET", "/tags/{arn}", 200] },
|
|
331
252
|
() => ListTagsForResourceRequest,
|
|
332
253
|
() => ListTagsForResourceResponse,
|
|
333
254
|
];
|
|
@@ -335,9 +256,7 @@ export var SendActivationCode = [
|
|
|
335
256
|
9,
|
|
336
257
|
n0,
|
|
337
258
|
_SAC,
|
|
338
|
-
{
|
|
339
|
-
[_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200],
|
|
340
|
-
},
|
|
259
|
+
{ [_h]: ["POST", "/2022-10-31/emailcontacts/{arn}/activate/send", 200] },
|
|
341
260
|
() => SendActivationCodeRequest,
|
|
342
261
|
() => SendActivationCodeResponse,
|
|
343
262
|
];
|
|
@@ -345,9 +264,7 @@ export var TagResource = [
|
|
|
345
264
|
9,
|
|
346
265
|
n0,
|
|
347
266
|
_TR,
|
|
348
|
-
{
|
|
349
|
-
[_h]: ["POST", "/tags/{arn}", 200],
|
|
350
|
-
},
|
|
267
|
+
{ [_h]: ["POST", "/tags/{arn}", 200] },
|
|
351
268
|
() => TagResourceRequest,
|
|
352
269
|
() => TagResourceResponse,
|
|
353
270
|
];
|
|
@@ -355,9 +272,7 @@ export var UntagResource = [
|
|
|
355
272
|
9,
|
|
356
273
|
n0,
|
|
357
274
|
_UR,
|
|
358
|
-
{
|
|
359
|
-
[_h]: ["DELETE", "/tags/{arn}", 200],
|
|
360
|
-
},
|
|
275
|
+
{ [_h]: ["DELETE", "/tags/{arn}", 200] },
|
|
361
276
|
() => UntagResourceRequest,
|
|
362
277
|
() => UntagResourceResponse,
|
|
363
278
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { ActivateEmailContactCommandInput, ActivateEmailContactCommandOutput } from "./commands/ActivateEmailContactCommand";
|
|
3
3
|
import { CreateEmailContactCommandInput, CreateEmailContactCommandOutput } from "./commands/CreateEmailContactCommand";
|
|
4
4
|
import { DeleteEmailContactCommandInput, DeleteEmailContactCommandOutput } from "./commands/DeleteEmailContactCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { ActivateEmailContactCommandInput, ActivateEmailContactCommandOutput } from "./commands/ActivateEmailContactCommand";
|
|
11
11
|
import { CreateEmailContactCommandInput, CreateEmailContactCommandOutput } from "./commands/CreateEmailContactCommand";
|
|
12
12
|
import { DeleteEmailContactCommandInput, DeleteEmailContactCommandOutput } from "./commands/DeleteEmailContactCommand";
|
|
@@ -17,7 +17,7 @@ import { SendActivationCodeCommandInput, SendActivationCodeCommandOutput } from
|
|
|
17
17
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
18
18
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
19
19
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
20
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
21
21
|
export { __Client };
|
|
22
22
|
/**
|
|
23
23
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { NotificationsContactsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { NotificationsContactsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { NotificationsContactsClientResolvedConfig } from "../NotificationsContactsClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type NotificationsContactsClientResolvedConfig } from "../NotificationsContactsClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ActivateEmailContactRequest, ActivateEmailContactResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ActivateEmailContactRequest, ActivateEmailContactResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateEmailContactRequest, CreateEmailContactResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateEmailContactRequest, CreateEmailContactResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteEmailContactRequest, DeleteEmailContactResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteEmailContactRequest, DeleteEmailContactResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetEmailContactRequest, GetEmailContactResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetEmailContactRequest, GetEmailContactResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListEmailContactsRequest, ListEmailContactsResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListEmailContactsRequest, ListEmailContactsResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { SendActivationCodeRequest, SendActivationCodeResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendActivationCodeRequest, SendActivationCodeResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
4
|
-
import { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
4
|
+
import type { NotificationsContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NotificationsContactsClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -7,10 +7,19 @@ export interface ClientInputEndpointParameters {
|
|
|
7
7
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
8
|
region?: string | undefined | Provider<string | undefined>;
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
10
13
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
11
14
|
defaultSigningName: string;
|
|
12
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
13
19
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
14
23
|
export declare const commonParams: {
|
|
15
24
|
readonly UseFIPS: {
|
|
16
25
|
readonly type: "builtInParams";
|
|
@@ -25,6 +34,9 @@ export declare const commonParams: {
|
|
|
25
34
|
readonly name: "region";
|
|
26
35
|
};
|
|
27
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
28
40
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
41
|
UseFIPS?: boolean | undefined;
|
|
30
42
|
Endpoint?: string | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ValidationExceptionReason } from "./enums";
|
|
3
3
|
import { ValidationExceptionField } from "./models_0";
|
|
4
4
|
import { NotificationsContactsServiceException as __BaseException } from "./NotificationsContactsServiceException";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListEmailContactsCommandInput, ListEmailContactsCommandOutput } from "../commands/ListEmailContactsCommand";
|
|
3
3
|
import { NotificationsContactsPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
-
import { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
|
|
2
|
+
import type { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
-
import { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
|
|
2
|
+
import type { NotificationsContactsClientConfig } from "./NotificationsContactsClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var EmailContactName: StaticSimpleSchema;
|
|
3
3
|
export declare var SensitiveEmailContactAddress: StaticSimpleSchema;
|
|
4
4
|
export declare var Token: StaticSimpleSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
+
HttpAuthScheme,
|
|
2
3
|
AwsCredentialIdentity,
|
|
3
4
|
AwsCredentialIdentityProvider,
|
|
4
|
-
HttpAuthScheme,
|
|
5
5
|
} from "@smithy/types";
|
|
6
6
|
import { NotificationsContactsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
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.946.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-notificationscontacts",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo notificationscontacts"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo notificationscontacts",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.946.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.946.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.946.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.946.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|