@aws-sdk/client-pinpoint-sms-voice 3.940.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 +14 -96
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/PinpointSMSVoiceClient.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 +14 -96
- package/dist-types/PinpointSMSVoice.d.ts +1 -1
- package/dist-types/PinpointSMSVoiceClient.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/CreateConfigurationSetCommand.d.ts +3 -3
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +3 -3
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +3 -3
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +3 -3
- package/dist-types/commands/SendVoiceMessageCommand.d.ts +3 -3
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.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/PinpointSMSVoiceServiceException.d.ts +1 -1
- package/dist-types/models/errors.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/PinpointSMSVoiceClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/PinpointSMSVoiceServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -274,29 +274,9 @@ const _hQ = "httpQuery";
|
|
|
274
274
|
const _s = "server";
|
|
275
275
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pinpointsmsvoice";
|
|
276
276
|
const n0 = "com.amazonaws.pinpointsmsvoice";
|
|
277
|
-
var AlreadyExistsException = [
|
|
278
|
-
-3,
|
|
279
|
-
n0,
|
|
280
|
-
_AEE,
|
|
281
|
-
{
|
|
282
|
-
[_e]: _c,
|
|
283
|
-
[_hE]: 409,
|
|
284
|
-
},
|
|
285
|
-
[_M],
|
|
286
|
-
[0],
|
|
287
|
-
];
|
|
277
|
+
var AlreadyExistsException = [-3, n0, _AEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
288
278
|
schema.TypeRegistry.for(n0).registerError(AlreadyExistsException, AlreadyExistsException$1);
|
|
289
|
-
var BadRequestException = [
|
|
290
|
-
-3,
|
|
291
|
-
n0,
|
|
292
|
-
_BRE,
|
|
293
|
-
{
|
|
294
|
-
[_e]: _c,
|
|
295
|
-
[_hE]: 400,
|
|
296
|
-
},
|
|
297
|
-
[_M],
|
|
298
|
-
[0],
|
|
299
|
-
];
|
|
279
|
+
var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
300
280
|
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
301
281
|
var CallInstructionsMessageType = [3, n0, _CIMT, 0, [_T], [0]];
|
|
302
282
|
var CloudWatchLogsDestination = [3, n0, _CWLD, 0, [_IRA, _LGA], [0, 0]];
|
|
@@ -350,30 +330,10 @@ var GetConfigurationSetEventDestinationsResponse = [
|
|
|
350
330
|
[_EDv],
|
|
351
331
|
[() => EventDestinations],
|
|
352
332
|
];
|
|
353
|
-
var InternalServiceErrorException = [
|
|
354
|
-
-3,
|
|
355
|
-
n0,
|
|
356
|
-
_ISEE,
|
|
357
|
-
{
|
|
358
|
-
[_e]: _s,
|
|
359
|
-
[_hE]: 500,
|
|
360
|
-
},
|
|
361
|
-
[_M],
|
|
362
|
-
[0],
|
|
363
|
-
];
|
|
333
|
+
var InternalServiceErrorException = [-3, n0, _ISEE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
364
334
|
schema.TypeRegistry.for(n0).registerError(InternalServiceErrorException, InternalServiceErrorException$1);
|
|
365
335
|
var KinesisFirehoseDestination = [3, n0, _KFD, 0, [_DSA, _IRA], [0, 0]];
|
|
366
|
-
var LimitExceededException = [
|
|
367
|
-
-3,
|
|
368
|
-
n0,
|
|
369
|
-
_LEE,
|
|
370
|
-
{
|
|
371
|
-
[_e]: _c,
|
|
372
|
-
[_hE]: 412,
|
|
373
|
-
},
|
|
374
|
-
[_M],
|
|
375
|
-
[0],
|
|
376
|
-
];
|
|
336
|
+
var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 412 }, [_M], [0]];
|
|
377
337
|
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
378
338
|
var ListConfigurationSetsRequest = [
|
|
379
339
|
3,
|
|
@@ -382,32 +342,12 @@ var ListConfigurationSetsRequest = [
|
|
|
382
342
|
0,
|
|
383
343
|
[_NT, _PS],
|
|
384
344
|
[
|
|
385
|
-
[
|
|
386
|
-
|
|
387
|
-
{
|
|
388
|
-
[_hQ]: _NT,
|
|
389
|
-
},
|
|
390
|
-
],
|
|
391
|
-
[
|
|
392
|
-
0,
|
|
393
|
-
{
|
|
394
|
-
[_hQ]: _PS,
|
|
395
|
-
},
|
|
396
|
-
],
|
|
345
|
+
[0, { [_hQ]: _NT }],
|
|
346
|
+
[0, { [_hQ]: _PS }],
|
|
397
347
|
],
|
|
398
348
|
];
|
|
399
349
|
var ListConfigurationSetsResponse = [3, n0, _LCSRi, 0, [_CS, _NT], [64 | 0, 0]];
|
|
400
|
-
var NotFoundException = [
|
|
401
|
-
-3,
|
|
402
|
-
n0,
|
|
403
|
-
_NFE,
|
|
404
|
-
{
|
|
405
|
-
[_e]: _c,
|
|
406
|
-
[_hE]: 404,
|
|
407
|
-
},
|
|
408
|
-
[_M],
|
|
409
|
-
[0],
|
|
410
|
-
];
|
|
350
|
+
var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
411
351
|
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
412
352
|
var PlainTextMessageType = [3, n0, _PTMT, 0, [_LC, _T, _VI], [0, 0, 0]];
|
|
413
353
|
var SendVoiceMessageRequest = [
|
|
@@ -421,17 +361,7 @@ var SendVoiceMessageRequest = [
|
|
|
421
361
|
var SendVoiceMessageResponse = [3, n0, _SVMRe, 0, [_MI], [0]];
|
|
422
362
|
var SnsDestination = [3, n0, _SD, 0, [_TA], [0]];
|
|
423
363
|
var SSMLMessageType = [3, n0, _SSMLMT, 0, [_LC, _T, _VI], [0, 0, 0]];
|
|
424
|
-
var TooManyRequestsException = [
|
|
425
|
-
-3,
|
|
426
|
-
n0,
|
|
427
|
-
_TMRE,
|
|
428
|
-
{
|
|
429
|
-
[_e]: _c,
|
|
430
|
-
[_hE]: 429,
|
|
431
|
-
},
|
|
432
|
-
[_M],
|
|
433
|
-
[0],
|
|
434
|
-
];
|
|
364
|
+
var TooManyRequestsException = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
|
|
435
365
|
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
436
366
|
var UpdateConfigurationSetEventDestinationRequest = [
|
|
437
367
|
3,
|
|
@@ -464,9 +394,7 @@ var CreateConfigurationSet = [
|
|
|
464
394
|
9,
|
|
465
395
|
n0,
|
|
466
396
|
_CCS,
|
|
467
|
-
{
|
|
468
|
-
[_h]: ["POST", "/v1/sms-voice/configuration-sets", 200],
|
|
469
|
-
},
|
|
397
|
+
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets", 200] },
|
|
470
398
|
() => CreateConfigurationSetRequest,
|
|
471
399
|
() => CreateConfigurationSetResponse,
|
|
472
400
|
];
|
|
@@ -474,9 +402,7 @@ var CreateConfigurationSetEventDestination = [
|
|
|
474
402
|
9,
|
|
475
403
|
n0,
|
|
476
404
|
_CCSED,
|
|
477
|
-
{
|
|
478
|
-
[_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200],
|
|
479
|
-
},
|
|
405
|
+
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] },
|
|
480
406
|
() => CreateConfigurationSetEventDestinationRequest,
|
|
481
407
|
() => CreateConfigurationSetEventDestinationResponse,
|
|
482
408
|
];
|
|
@@ -484,9 +410,7 @@ var DeleteConfigurationSet = [
|
|
|
484
410
|
9,
|
|
485
411
|
n0,
|
|
486
412
|
_DCS,
|
|
487
|
-
{
|
|
488
|
-
[_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200],
|
|
489
|
-
},
|
|
413
|
+
{ [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200] },
|
|
490
414
|
() => DeleteConfigurationSetRequest,
|
|
491
415
|
() => DeleteConfigurationSetResponse,
|
|
492
416
|
];
|
|
@@ -508,9 +432,7 @@ var GetConfigurationSetEventDestinations = [
|
|
|
508
432
|
9,
|
|
509
433
|
n0,
|
|
510
434
|
_GCSED,
|
|
511
|
-
{
|
|
512
|
-
[_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200],
|
|
513
|
-
},
|
|
435
|
+
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] },
|
|
514
436
|
() => GetConfigurationSetEventDestinationsRequest,
|
|
515
437
|
() => GetConfigurationSetEventDestinationsResponse,
|
|
516
438
|
];
|
|
@@ -518,9 +440,7 @@ var ListConfigurationSets = [
|
|
|
518
440
|
9,
|
|
519
441
|
n0,
|
|
520
442
|
_LCS,
|
|
521
|
-
{
|
|
522
|
-
[_h]: ["GET", "/v1/sms-voice/configuration-sets", 200],
|
|
523
|
-
},
|
|
443
|
+
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets", 200] },
|
|
524
444
|
() => ListConfigurationSetsRequest,
|
|
525
445
|
() => ListConfigurationSetsResponse,
|
|
526
446
|
];
|
|
@@ -528,9 +448,7 @@ var SendVoiceMessage = [
|
|
|
528
448
|
9,
|
|
529
449
|
n0,
|
|
530
450
|
_SVM,
|
|
531
|
-
{
|
|
532
|
-
[_h]: ["POST", "/v1/sms-voice/voice/message", 200],
|
|
533
|
-
},
|
|
451
|
+
{ [_h]: ["POST", "/v1/sms-voice/voice/message", 200] },
|
|
534
452
|
() => SendVoiceMessageRequest,
|
|
535
453
|
() => SendVoiceMessageResponse,
|
|
536
454
|
];
|
|
@@ -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 { defaultPinpointSMSVoiceHttpAuthSchemeParametersProvider, 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);
|
|
@@ -73,29 +73,9 @@ const n0 = "com.amazonaws.pinpointsmsvoice";
|
|
|
73
73
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
74
74
|
import { AlreadyExistsException as __AlreadyExistsException, BadRequestException as __BadRequestException, InternalServiceErrorException as __InternalServiceErrorException, LimitExceededException as __LimitExceededException, NotFoundException as __NotFoundException, TooManyRequestsException as __TooManyRequestsException, } from "../models/errors";
|
|
75
75
|
import { PinpointSMSVoiceServiceException as __PinpointSMSVoiceServiceException } from "../models/PinpointSMSVoiceServiceException";
|
|
76
|
-
export var AlreadyExistsException = [
|
|
77
|
-
-3,
|
|
78
|
-
n0,
|
|
79
|
-
_AEE,
|
|
80
|
-
{
|
|
81
|
-
[_e]: _c,
|
|
82
|
-
[_hE]: 409,
|
|
83
|
-
},
|
|
84
|
-
[_M],
|
|
85
|
-
[0],
|
|
86
|
-
];
|
|
76
|
+
export var AlreadyExistsException = [-3, n0, _AEE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
87
77
|
TypeRegistry.for(n0).registerError(AlreadyExistsException, __AlreadyExistsException);
|
|
88
|
-
export var BadRequestException = [
|
|
89
|
-
-3,
|
|
90
|
-
n0,
|
|
91
|
-
_BRE,
|
|
92
|
-
{
|
|
93
|
-
[_e]: _c,
|
|
94
|
-
[_hE]: 400,
|
|
95
|
-
},
|
|
96
|
-
[_M],
|
|
97
|
-
[0],
|
|
98
|
-
];
|
|
78
|
+
export var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
99
79
|
TypeRegistry.for(n0).registerError(BadRequestException, __BadRequestException);
|
|
100
80
|
export var CallInstructionsMessageType = [3, n0, _CIMT, 0, [_T], [0]];
|
|
101
81
|
export var CloudWatchLogsDestination = [3, n0, _CWLD, 0, [_IRA, _LGA], [0, 0]];
|
|
@@ -149,30 +129,10 @@ export var GetConfigurationSetEventDestinationsResponse = [
|
|
|
149
129
|
[_EDv],
|
|
150
130
|
[() => EventDestinations],
|
|
151
131
|
];
|
|
152
|
-
export var InternalServiceErrorException = [
|
|
153
|
-
-3,
|
|
154
|
-
n0,
|
|
155
|
-
_ISEE,
|
|
156
|
-
{
|
|
157
|
-
[_e]: _s,
|
|
158
|
-
[_hE]: 500,
|
|
159
|
-
},
|
|
160
|
-
[_M],
|
|
161
|
-
[0],
|
|
162
|
-
];
|
|
132
|
+
export var InternalServiceErrorException = [-3, n0, _ISEE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
163
133
|
TypeRegistry.for(n0).registerError(InternalServiceErrorException, __InternalServiceErrorException);
|
|
164
134
|
export var KinesisFirehoseDestination = [3, n0, _KFD, 0, [_DSA, _IRA], [0, 0]];
|
|
165
|
-
export var LimitExceededException = [
|
|
166
|
-
-3,
|
|
167
|
-
n0,
|
|
168
|
-
_LEE,
|
|
169
|
-
{
|
|
170
|
-
[_e]: _c,
|
|
171
|
-
[_hE]: 412,
|
|
172
|
-
},
|
|
173
|
-
[_M],
|
|
174
|
-
[0],
|
|
175
|
-
];
|
|
135
|
+
export var LimitExceededException = [-3, n0, _LEE, { [_e]: _c, [_hE]: 412 }, [_M], [0]];
|
|
176
136
|
TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
|
|
177
137
|
export var ListConfigurationSetsRequest = [
|
|
178
138
|
3,
|
|
@@ -181,32 +141,12 @@ export var ListConfigurationSetsRequest = [
|
|
|
181
141
|
0,
|
|
182
142
|
[_NT, _PS],
|
|
183
143
|
[
|
|
184
|
-
[
|
|
185
|
-
|
|
186
|
-
{
|
|
187
|
-
[_hQ]: _NT,
|
|
188
|
-
},
|
|
189
|
-
],
|
|
190
|
-
[
|
|
191
|
-
0,
|
|
192
|
-
{
|
|
193
|
-
[_hQ]: _PS,
|
|
194
|
-
},
|
|
195
|
-
],
|
|
144
|
+
[0, { [_hQ]: _NT }],
|
|
145
|
+
[0, { [_hQ]: _PS }],
|
|
196
146
|
],
|
|
197
147
|
];
|
|
198
148
|
export var ListConfigurationSetsResponse = [3, n0, _LCSRi, 0, [_CS, _NT], [64 | 0, 0]];
|
|
199
|
-
export var NotFoundException = [
|
|
200
|
-
-3,
|
|
201
|
-
n0,
|
|
202
|
-
_NFE,
|
|
203
|
-
{
|
|
204
|
-
[_e]: _c,
|
|
205
|
-
[_hE]: 404,
|
|
206
|
-
},
|
|
207
|
-
[_M],
|
|
208
|
-
[0],
|
|
209
|
-
];
|
|
149
|
+
export var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
|
|
210
150
|
TypeRegistry.for(n0).registerError(NotFoundException, __NotFoundException);
|
|
211
151
|
export var PlainTextMessageType = [3, n0, _PTMT, 0, [_LC, _T, _VI], [0, 0, 0]];
|
|
212
152
|
export var SendVoiceMessageRequest = [
|
|
@@ -220,17 +160,7 @@ export var SendVoiceMessageRequest = [
|
|
|
220
160
|
export var SendVoiceMessageResponse = [3, n0, _SVMRe, 0, [_MI], [0]];
|
|
221
161
|
export var SnsDestination = [3, n0, _SD, 0, [_TA], [0]];
|
|
222
162
|
export var SSMLMessageType = [3, n0, _SSMLMT, 0, [_LC, _T, _VI], [0, 0, 0]];
|
|
223
|
-
export var TooManyRequestsException = [
|
|
224
|
-
-3,
|
|
225
|
-
n0,
|
|
226
|
-
_TMRE,
|
|
227
|
-
{
|
|
228
|
-
[_e]: _c,
|
|
229
|
-
[_hE]: 429,
|
|
230
|
-
},
|
|
231
|
-
[_M],
|
|
232
|
-
[0],
|
|
233
|
-
];
|
|
163
|
+
export var TooManyRequestsException = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
|
|
234
164
|
TypeRegistry.for(n0).registerError(TooManyRequestsException, __TooManyRequestsException);
|
|
235
165
|
export var UpdateConfigurationSetEventDestinationRequest = [
|
|
236
166
|
3,
|
|
@@ -266,9 +196,7 @@ export var CreateConfigurationSet = [
|
|
|
266
196
|
9,
|
|
267
197
|
n0,
|
|
268
198
|
_CCS,
|
|
269
|
-
{
|
|
270
|
-
[_h]: ["POST", "/v1/sms-voice/configuration-sets", 200],
|
|
271
|
-
},
|
|
199
|
+
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets", 200] },
|
|
272
200
|
() => CreateConfigurationSetRequest,
|
|
273
201
|
() => CreateConfigurationSetResponse,
|
|
274
202
|
];
|
|
@@ -276,9 +204,7 @@ export var CreateConfigurationSetEventDestination = [
|
|
|
276
204
|
9,
|
|
277
205
|
n0,
|
|
278
206
|
_CCSED,
|
|
279
|
-
{
|
|
280
|
-
[_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200],
|
|
281
|
-
},
|
|
207
|
+
{ [_h]: ["POST", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] },
|
|
282
208
|
() => CreateConfigurationSetEventDestinationRequest,
|
|
283
209
|
() => CreateConfigurationSetEventDestinationResponse,
|
|
284
210
|
];
|
|
@@ -286,9 +212,7 @@ export var DeleteConfigurationSet = [
|
|
|
286
212
|
9,
|
|
287
213
|
n0,
|
|
288
214
|
_DCS,
|
|
289
|
-
{
|
|
290
|
-
[_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200],
|
|
291
|
-
},
|
|
215
|
+
{ [_h]: ["DELETE", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", 200] },
|
|
292
216
|
() => DeleteConfigurationSetRequest,
|
|
293
217
|
() => DeleteConfigurationSetResponse,
|
|
294
218
|
];
|
|
@@ -310,9 +234,7 @@ export var GetConfigurationSetEventDestinations = [
|
|
|
310
234
|
9,
|
|
311
235
|
n0,
|
|
312
236
|
_GCSED,
|
|
313
|
-
{
|
|
314
|
-
[_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200],
|
|
315
|
-
},
|
|
237
|
+
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", 200] },
|
|
316
238
|
() => GetConfigurationSetEventDestinationsRequest,
|
|
317
239
|
() => GetConfigurationSetEventDestinationsResponse,
|
|
318
240
|
];
|
|
@@ -320,9 +242,7 @@ export var ListConfigurationSets = [
|
|
|
320
242
|
9,
|
|
321
243
|
n0,
|
|
322
244
|
_LCS,
|
|
323
|
-
{
|
|
324
|
-
[_h]: ["GET", "/v1/sms-voice/configuration-sets", 200],
|
|
325
|
-
},
|
|
245
|
+
{ [_h]: ["GET", "/v1/sms-voice/configuration-sets", 200] },
|
|
326
246
|
() => ListConfigurationSetsRequest,
|
|
327
247
|
() => ListConfigurationSetsResponse,
|
|
328
248
|
];
|
|
@@ -330,9 +250,7 @@ export var SendVoiceMessage = [
|
|
|
330
250
|
9,
|
|
331
251
|
n0,
|
|
332
252
|
_SVM,
|
|
333
|
-
{
|
|
334
|
-
[_h]: ["POST", "/v1/sms-voice/voice/message", 200],
|
|
335
|
-
},
|
|
253
|
+
{ [_h]: ["POST", "/v1/sms-voice/voice/message", 200] },
|
|
336
254
|
() => SendVoiceMessageRequest,
|
|
337
255
|
() => SendVoiceMessageResponse,
|
|
338
256
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
3
3
|
import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
4
4
|
import { DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput } from "./commands/DeleteConfigurationSetCommand";
|
|
@@ -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 { CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput } from "./commands/CreateConfigurationSetCommand";
|
|
11
11
|
import { CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput } from "./commands/CreateConfigurationSetEventDestinationCommand";
|
|
12
12
|
import { DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput } from "./commands/DeleteConfigurationSetCommand";
|
|
@@ -16,7 +16,7 @@ import { ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput }
|
|
|
16
16
|
import { SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput } from "./commands/SendVoiceMessageCommand";
|
|
17
17
|
import { UpdateConfigurationSetEventDestinationCommandInput, UpdateConfigurationSetEventDestinationCommandOutput } from "./commands/UpdateConfigurationSetEventDestinationCommand";
|
|
18
18
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
19
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
20
20
|
export { __Client };
|
|
21
21
|
/**
|
|
22
22
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { PinpointSMSVoiceHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { PinpointSMSVoiceHttpAuthSchemeProvider } 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 { PinpointSMSVoiceClientResolvedConfig } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type PinpointSMSVoiceClientResolvedConfig } from "../PinpointSMSVoiceClient";
|
|
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 { CreateConfigurationSetRequest, CreateConfigurationSetResponse } from "../models/models_0";
|
|
4
|
-
import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateConfigurationSetRequest, CreateConfigurationSetResponse } from "../models/models_0";
|
|
4
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
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 { CreateConfigurationSetEventDestinationRequest, CreateConfigurationSetEventDestinationResponse } from "../models/models_0";
|
|
4
|
-
import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateConfigurationSetEventDestinationRequest, CreateConfigurationSetEventDestinationResponse } from "../models/models_0";
|
|
4
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
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 { DeleteConfigurationSetRequest, DeleteConfigurationSetResponse } from "../models/models_0";
|
|
4
|
-
import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteConfigurationSetRequest, DeleteConfigurationSetResponse } from "../models/models_0";
|
|
4
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
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 { DeleteConfigurationSetEventDestinationRequest, DeleteConfigurationSetEventDestinationResponse } from "../models/models_0";
|
|
4
|
-
import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteConfigurationSetEventDestinationRequest, DeleteConfigurationSetEventDestinationResponse } from "../models/models_0";
|
|
4
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
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 { GetConfigurationSetEventDestinationsRequest, GetConfigurationSetEventDestinationsResponse } from "../models/models_0";
|
|
4
|
-
import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetConfigurationSetEventDestinationsRequest, GetConfigurationSetEventDestinationsResponse } from "../models/models_0";
|
|
4
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
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 { ListConfigurationSetsRequest, ListConfigurationSetsResponse } from "../models/models_0";
|
|
4
|
-
import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListConfigurationSetsRequest, ListConfigurationSetsResponse } from "../models/models_0";
|
|
4
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
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 { SendVoiceMessageRequest, SendVoiceMessageResponse } from "../models/models_0";
|
|
4
|
-
import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { SendVoiceMessageRequest, SendVoiceMessageResponse } from "../models/models_0";
|
|
4
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
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 { UpdateConfigurationSetEventDestinationRequest, UpdateConfigurationSetEventDestinationResponse } from "../models/models_0";
|
|
4
|
-
import { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateConfigurationSetEventDestinationRequest, UpdateConfigurationSetEventDestinationResponse } from "../models/models_0";
|
|
4
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
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
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | 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 { PinpointSMSVoiceServiceException as __BaseException } from "./PinpointSMSVoiceServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* The resource specified in your request already exists.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var AlreadyExistsException: StaticErrorSchema;
|
|
3
3
|
export declare var BadRequestException: StaticErrorSchema;
|
|
4
4
|
export declare var CallInstructionsMessageType: StaticStructureSchema;
|
|
@@ -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 {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-sms-voice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Sms Voice 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-pinpoint-sms-voice",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo pinpoint-sms-voice"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo pinpoint-sms-voice",
|
|
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",
|