@aws-sdk/client-pinpoint-sms-voice 3.1076.0 → 3.1078.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 +19 -85
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateConfigurationSetCommand.js +2 -14
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +2 -14
- package/dist-es/commands/DeleteConfigurationSetCommand.js +2 -14
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +2 -14
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +2 -14
- package/dist-es/commands/ListConfigurationSetsCommand.js +2 -14
- package/dist-es/commands/SendVoiceMessageCommand.js +2 -14
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +3 -8
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +3 -8
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +3 -8
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +3 -8
- package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +3 -8
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +3 -8
- package/dist-types/commands/SendVoiceMessageCommand.d.ts +3 -8
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- 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 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SendVoiceMessageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultPinpointSMSVoiceHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -515,6 +517,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
515
517
|
serviceTarget: "PinpointSMSVoice",
|
|
516
518
|
},
|
|
517
519
|
serviceId: config?.serviceId ?? "Pinpoint SMS Voice",
|
|
520
|
+
sha256: config?.sha256 ?? Sha256,
|
|
518
521
|
urlParser: config?.urlParser ?? parseUrl,
|
|
519
522
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
520
523
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -548,7 +551,6 @@ const getRuntimeConfig = (config) => {
|
|
|
548
551
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
549
552
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
550
553
|
}, config),
|
|
551
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
552
554
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
553
555
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
554
556
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -636,100 +638,32 @@ class PinpointSMSVoiceClient extends Client {
|
|
|
636
638
|
}
|
|
637
639
|
}
|
|
638
640
|
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
})
|
|
645
|
-
.s("PinpointSMSVoice", "CreateConfigurationSet", {})
|
|
646
|
-
.n("PinpointSMSVoiceClient", "CreateConfigurationSetCommand")
|
|
647
|
-
.sc(CreateConfigurationSet$)
|
|
648
|
-
.build() {
|
|
641
|
+
const command = makeBuilder(commonParams, "PinpointSMSVoice", "PinpointSMSVoiceClient", getEndpointPlugin);
|
|
642
|
+
const _ep0 = {};
|
|
643
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
644
|
+
|
|
645
|
+
class CreateConfigurationSetCommand extends command(_ep0, _mw0, "CreateConfigurationSet", CreateConfigurationSet$) {
|
|
649
646
|
}
|
|
650
647
|
|
|
651
|
-
class CreateConfigurationSetEventDestinationCommand extends
|
|
652
|
-
.classBuilder()
|
|
653
|
-
.ep(commonParams)
|
|
654
|
-
.m(function (Command, cs, config, o) {
|
|
655
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
656
|
-
})
|
|
657
|
-
.s("PinpointSMSVoice", "CreateConfigurationSetEventDestination", {})
|
|
658
|
-
.n("PinpointSMSVoiceClient", "CreateConfigurationSetEventDestinationCommand")
|
|
659
|
-
.sc(CreateConfigurationSetEventDestination$)
|
|
660
|
-
.build() {
|
|
648
|
+
class CreateConfigurationSetEventDestinationCommand extends command(_ep0, _mw0, "CreateConfigurationSetEventDestination", CreateConfigurationSetEventDestination$) {
|
|
661
649
|
}
|
|
662
650
|
|
|
663
|
-
class DeleteConfigurationSetCommand extends
|
|
664
|
-
.classBuilder()
|
|
665
|
-
.ep(commonParams)
|
|
666
|
-
.m(function (Command, cs, config, o) {
|
|
667
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
668
|
-
})
|
|
669
|
-
.s("PinpointSMSVoice", "DeleteConfigurationSet", {})
|
|
670
|
-
.n("PinpointSMSVoiceClient", "DeleteConfigurationSetCommand")
|
|
671
|
-
.sc(DeleteConfigurationSet$)
|
|
672
|
-
.build() {
|
|
651
|
+
class DeleteConfigurationSetCommand extends command(_ep0, _mw0, "DeleteConfigurationSet", DeleteConfigurationSet$) {
|
|
673
652
|
}
|
|
674
653
|
|
|
675
|
-
class DeleteConfigurationSetEventDestinationCommand extends
|
|
676
|
-
.classBuilder()
|
|
677
|
-
.ep(commonParams)
|
|
678
|
-
.m(function (Command, cs, config, o) {
|
|
679
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
680
|
-
})
|
|
681
|
-
.s("PinpointSMSVoice", "DeleteConfigurationSetEventDestination", {})
|
|
682
|
-
.n("PinpointSMSVoiceClient", "DeleteConfigurationSetEventDestinationCommand")
|
|
683
|
-
.sc(DeleteConfigurationSetEventDestination$)
|
|
684
|
-
.build() {
|
|
654
|
+
class DeleteConfigurationSetEventDestinationCommand extends command(_ep0, _mw0, "DeleteConfigurationSetEventDestination", DeleteConfigurationSetEventDestination$) {
|
|
685
655
|
}
|
|
686
656
|
|
|
687
|
-
class GetConfigurationSetEventDestinationsCommand extends
|
|
688
|
-
.classBuilder()
|
|
689
|
-
.ep(commonParams)
|
|
690
|
-
.m(function (Command, cs, config, o) {
|
|
691
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
692
|
-
})
|
|
693
|
-
.s("PinpointSMSVoice", "GetConfigurationSetEventDestinations", {})
|
|
694
|
-
.n("PinpointSMSVoiceClient", "GetConfigurationSetEventDestinationsCommand")
|
|
695
|
-
.sc(GetConfigurationSetEventDestinations$)
|
|
696
|
-
.build() {
|
|
657
|
+
class GetConfigurationSetEventDestinationsCommand extends command(_ep0, _mw0, "GetConfigurationSetEventDestinations", GetConfigurationSetEventDestinations$) {
|
|
697
658
|
}
|
|
698
659
|
|
|
699
|
-
class ListConfigurationSetsCommand extends
|
|
700
|
-
.classBuilder()
|
|
701
|
-
.ep(commonParams)
|
|
702
|
-
.m(function (Command, cs, config, o) {
|
|
703
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
704
|
-
})
|
|
705
|
-
.s("PinpointSMSVoice", "ListConfigurationSets", {})
|
|
706
|
-
.n("PinpointSMSVoiceClient", "ListConfigurationSetsCommand")
|
|
707
|
-
.sc(ListConfigurationSets$)
|
|
708
|
-
.build() {
|
|
660
|
+
class ListConfigurationSetsCommand extends command(_ep0, _mw0, "ListConfigurationSets", ListConfigurationSets$) {
|
|
709
661
|
}
|
|
710
662
|
|
|
711
|
-
class SendVoiceMessageCommand extends
|
|
712
|
-
.classBuilder()
|
|
713
|
-
.ep(commonParams)
|
|
714
|
-
.m(function (Command, cs, config, o) {
|
|
715
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
716
|
-
})
|
|
717
|
-
.s("PinpointSMSVoice", "SendVoiceMessage", {})
|
|
718
|
-
.n("PinpointSMSVoiceClient", "SendVoiceMessageCommand")
|
|
719
|
-
.sc(SendVoiceMessage$)
|
|
720
|
-
.build() {
|
|
663
|
+
class SendVoiceMessageCommand extends command(_ep0, _mw0, "SendVoiceMessage", SendVoiceMessage$) {
|
|
721
664
|
}
|
|
722
665
|
|
|
723
|
-
class UpdateConfigurationSetEventDestinationCommand extends
|
|
724
|
-
.classBuilder()
|
|
725
|
-
.ep(commonParams)
|
|
726
|
-
.m(function (Command, cs, config, o) {
|
|
727
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
728
|
-
})
|
|
729
|
-
.s("PinpointSMSVoice", "UpdateConfigurationSetEventDestination", {})
|
|
730
|
-
.n("PinpointSMSVoiceClient", "UpdateConfigurationSetEventDestinationCommand")
|
|
731
|
-
.sc(UpdateConfigurationSetEventDestination$)
|
|
732
|
-
.build() {
|
|
666
|
+
class UpdateConfigurationSetEventDestinationCommand extends command(_ep0, _mw0, "UpdateConfigurationSetEventDestination", UpdateConfigurationSetEventDestination$) {
|
|
733
667
|
}
|
|
734
668
|
|
|
735
669
|
const commands = {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "PinpointSMSVoice", "PinpointSMSVoiceClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateConfigurationSet$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateConfigurationSetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PinpointSMSVoice", "CreateConfigurationSet", {})
|
|
13
|
-
.n("PinpointSMSVoiceClient", "CreateConfigurationSetCommand")
|
|
14
|
-
.sc(CreateConfigurationSet$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateConfigurationSetCommand extends command(_ep0, _mw0, "CreateConfigurationSet", CreateConfigurationSet$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateConfigurationSetEventDestination$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateConfigurationSetEventDestinationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PinpointSMSVoice", "CreateConfigurationSetEventDestination", {})
|
|
13
|
-
.n("PinpointSMSVoiceClient", "CreateConfigurationSetEventDestinationCommand")
|
|
14
|
-
.sc(CreateConfigurationSetEventDestination$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateConfigurationSetEventDestinationCommand extends command(_ep0, _mw0, "CreateConfigurationSetEventDestination", CreateConfigurationSetEventDestination$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteConfigurationSet$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteConfigurationSetCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PinpointSMSVoice", "DeleteConfigurationSet", {})
|
|
13
|
-
.n("PinpointSMSVoiceClient", "DeleteConfigurationSetCommand")
|
|
14
|
-
.sc(DeleteConfigurationSet$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteConfigurationSetCommand extends command(_ep0, _mw0, "DeleteConfigurationSet", DeleteConfigurationSet$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteConfigurationSetEventDestination$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteConfigurationSetEventDestinationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PinpointSMSVoice", "DeleteConfigurationSetEventDestination", {})
|
|
13
|
-
.n("PinpointSMSVoiceClient", "DeleteConfigurationSetEventDestinationCommand")
|
|
14
|
-
.sc(DeleteConfigurationSetEventDestination$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteConfigurationSetEventDestinationCommand extends command(_ep0, _mw0, "DeleteConfigurationSetEventDestination", DeleteConfigurationSetEventDestination$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetConfigurationSetEventDestinations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetConfigurationSetEventDestinationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PinpointSMSVoice", "GetConfigurationSetEventDestinations", {})
|
|
13
|
-
.n("PinpointSMSVoiceClient", "GetConfigurationSetEventDestinationsCommand")
|
|
14
|
-
.sc(GetConfigurationSetEventDestinations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetConfigurationSetEventDestinationsCommand extends command(_ep0, _mw0, "GetConfigurationSetEventDestinations", GetConfigurationSetEventDestinations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListConfigurationSets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListConfigurationSetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PinpointSMSVoice", "ListConfigurationSets", {})
|
|
13
|
-
.n("PinpointSMSVoiceClient", "ListConfigurationSetsCommand")
|
|
14
|
-
.sc(ListConfigurationSets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListConfigurationSetsCommand extends command(_ep0, _mw0, "ListConfigurationSets", ListConfigurationSets$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SendVoiceMessage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SendVoiceMessageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PinpointSMSVoice", "SendVoiceMessage", {})
|
|
13
|
-
.n("PinpointSMSVoiceClient", "SendVoiceMessageCommand")
|
|
14
|
-
.sc(SendVoiceMessage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SendVoiceMessageCommand extends command(_ep0, _mw0, "SendVoiceMessage", SendVoiceMessage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateConfigurationSetEventDestination$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateConfigurationSetEventDestinationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PinpointSMSVoice", "UpdateConfigurationSetEventDestination", {})
|
|
13
|
-
.n("PinpointSMSVoiceClient", "UpdateConfigurationSetEventDestinationCommand")
|
|
14
|
-
.sc(UpdateConfigurationSetEventDestination$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateConfigurationSetEventDestinationCommand extends command(_ep0, _mw0, "UpdateConfigurationSetEventDestination", UpdateConfigurationSetEventDestination$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./PinpointSMSVoiceClient";
|
|
2
2
|
export * from "./PinpointSMSVoice";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./models/enums";
|
|
6
7
|
export * from "./models/errors";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "PinpointSMSVoice",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Pinpoint SMS Voice",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./PinpointSMSVoiceClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateConfigurationSetRequest, CreateConfigurationSetResponse } from "../models/models_0";
|
|
4
|
-
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateConfigurationSetCommandInput extends CreateConfigurationS
|
|
|
22
19
|
export interface CreateConfigurationSetCommandOutput extends CreateConfigurationSetResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateConfigurationSetCommand_base: {
|
|
25
|
-
new (input: CreateConfigurationSetCommandInput): import("@smithy/core/client").CommandImpl<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [CreateConfigurationSetCommandInput]): import("@smithy/core/client").CommandImpl<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateConfigurationSetCommandInput): import("@smithy/core/client").CommandImpl<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [CreateConfigurationSetCommandInput]): import("@smithy/core/client").CommandImpl<CreateConfigurationSetCommandInput, CreateConfigurationSetCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateConfigurationSetEventDestinationRequest, CreateConfigurationSetEventDestinationResponse } from "../models/models_0";
|
|
4
|
-
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateConfigurationSetEventDestinationCommandInput extends Crea
|
|
|
22
19
|
export interface CreateConfigurationSetEventDestinationCommandOutput extends CreateConfigurationSetEventDestinationResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateConfigurationSetEventDestinationCommand_base: {
|
|
25
|
-
new (input: CreateConfigurationSetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateConfigurationSetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateConfigurationSetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateConfigurationSetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<CreateConfigurationSetEventDestinationCommandInput, CreateConfigurationSetEventDestinationCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Create a new event destination in a configuration set.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteConfigurationSetRequest, DeleteConfigurationSetResponse } from "../models/models_0";
|
|
4
|
-
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteConfigurationSetCommandInput extends DeleteConfigurationS
|
|
|
22
19
|
export interface DeleteConfigurationSetCommandOutput extends DeleteConfigurationSetResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteConfigurationSetCommand_base: {
|
|
25
|
-
new (input: DeleteConfigurationSetCommandInput): import("@smithy/core/client").CommandImpl<DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteConfigurationSetCommandInput): import("@smithy/core/client").CommandImpl<DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteConfigurationSetCommandInput): import("@smithy/core/client").CommandImpl<DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteConfigurationSetCommandInput): import("@smithy/core/client").CommandImpl<DeleteConfigurationSetCommandInput, DeleteConfigurationSetCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Deletes an existing configuration set.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteConfigurationSetEventDestinationRequest, DeleteConfigurationSetEventDestinationResponse } from "../models/models_0";
|
|
4
|
-
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteConfigurationSetEventDestinationCommandInput extends Dele
|
|
|
22
19
|
export interface DeleteConfigurationSetEventDestinationCommandOutput extends DeleteConfigurationSetEventDestinationResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteConfigurationSetEventDestinationCommand_base: {
|
|
25
|
-
new (input: DeleteConfigurationSetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteConfigurationSetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteConfigurationSetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteConfigurationSetEventDestinationCommandInput): import("@smithy/core/client").CommandImpl<DeleteConfigurationSetEventDestinationCommandInput, DeleteConfigurationSetEventDestinationCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Deletes an event destination in a configuration set.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetConfigurationSetEventDestinationsRequest, GetConfigurationSetEventDestinationsResponse } from "../models/models_0";
|
|
4
|
-
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetConfigurationSetEventDestinationsCommandInput extends GetCon
|
|
|
22
19
|
export interface GetConfigurationSetEventDestinationsCommandOutput extends GetConfigurationSetEventDestinationsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetConfigurationSetEventDestinationsCommand_base: {
|
|
25
|
-
new (input: GetConfigurationSetEventDestinationsCommandInput): import("@smithy/core/client").CommandImpl<GetConfigurationSetEventDestinationsCommandInput, GetConfigurationSetEventDestinationsCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetConfigurationSetEventDestinationsCommandInput): import("@smithy/core/client").CommandImpl<GetConfigurationSetEventDestinationsCommandInput, GetConfigurationSetEventDestinationsCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetConfigurationSetEventDestinationsCommandInput): import("@smithy/core/client").CommandImpl<GetConfigurationSetEventDestinationsCommandInput, GetConfigurationSetEventDestinationsCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetConfigurationSetEventDestinationsCommandInput): import("@smithy/core/client").CommandImpl<GetConfigurationSetEventDestinationsCommandInput, GetConfigurationSetEventDestinationsCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name (ARN) of the destination, and the name of the event destination.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { ListConfigurationSetsRequest, ListConfigurationSetsResponse } from "../models/models_0";
|
|
4
|
-
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListConfigurationSetsCommandInput extends ListConfigurationSets
|
|
|
22
19
|
export interface ListConfigurationSetsCommandOutput extends ListConfigurationSetsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListConfigurationSetsCommand_base: {
|
|
25
|
-
new (input: ListConfigurationSetsCommandInput): import("@smithy/core/client").CommandImpl<ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListConfigurationSetsCommandInput]): import("@smithy/core/client").CommandImpl<ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListConfigurationSetsCommandInput): import("@smithy/core/client").CommandImpl<ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListConfigurationSetsCommandInput]): import("@smithy/core/client").CommandImpl<ListConfigurationSetsCommandInput, ListConfigurationSetsCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { SendVoiceMessageRequest, SendVoiceMessageResponse } from "../models/models_0";
|
|
4
|
-
import type { PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointSMSVoiceClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface SendVoiceMessageCommandInput extends SendVoiceMessageRequest {
|
|
|
22
19
|
export interface SendVoiceMessageCommandOutput extends SendVoiceMessageResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const SendVoiceMessageCommand_base: {
|
|
25
|
-
new (input: SendVoiceMessageCommandInput): import("@smithy/core/client").CommandImpl<SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [SendVoiceMessageCommandInput]): import("@smithy/core/client").CommandImpl<SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput, PinpointSMSVoiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: SendVoiceMessageCommandInput): import("@smithy/core/client").CommandImpl<SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [SendVoiceMessageCommandInput]): import("@smithy/core/client").CommandImpl<SendVoiceMessageCommandInput, SendVoiceMessageCommandOutput, import("..").PinpointSMSVoiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Create a new voice message and send it to a recipient's phone number.
|