@aws-sdk/client-connectcampaigns 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 +33 -225
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateCampaignCommand.js +2 -14
- package/dist-es/commands/DeleteCampaignCommand.js +2 -14
- package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +2 -14
- package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +2 -14
- package/dist-es/commands/DescribeCampaignCommand.js +2 -14
- package/dist-es/commands/GetCampaignStateBatchCommand.js +2 -14
- package/dist-es/commands/GetCampaignStateCommand.js +2 -14
- package/dist-es/commands/GetConnectInstanceConfigCommand.js +2 -14
- package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +2 -14
- package/dist-es/commands/ListCampaignsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/PauseCampaignCommand.js +2 -14
- package/dist-es/commands/PutDialRequestBatchCommand.js +2 -14
- package/dist-es/commands/ResumeCampaignCommand.js +2 -14
- package/dist-es/commands/StartCampaignCommand.js +2 -14
- package/dist-es/commands/StartInstanceOnboardingJobCommand.js +2 -14
- package/dist-es/commands/StopCampaignCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateCampaignDialerConfigCommand.js +2 -14
- package/dist-es/commands/UpdateCampaignNameCommand.js +2 -14
- package/dist-es/commands/UpdateCampaignOutboundCallConfigCommand.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/CreateCampaignCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCampaignCommand.d.ts +3 -8
- package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +3 -8
- package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +3 -8
- package/dist-types/commands/DescribeCampaignCommand.d.ts +3 -8
- package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +3 -8
- package/dist-types/commands/GetCampaignStateCommand.d.ts +3 -8
- package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +3 -8
- package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +3 -8
- package/dist-types/commands/ListCampaignsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PauseCampaignCommand.d.ts +3 -8
- package/dist-types/commands/PutDialRequestBatchCommand.d.ts +3 -8
- package/dist-types/commands/ResumeCampaignCommand.d.ts +3 -8
- package/dist-types/commands/StartCampaignCommand.d.ts +3 -8
- package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +3 -8
- package/dist-types/commands/StopCampaignCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateCampaignDialerConfigCommand.d.ts +3 -8
- package/dist-types/commands/UpdateCampaignNameCommand.d.ts +3 -8
- package/dist-types/commands/UpdateCampaignOutboundCallConfigCommand.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/CreateCampaignCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteConnectInstanceConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteInstanceOnboardingJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCampaignStateBatchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCampaignStateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetConnectInstanceConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetInstanceOnboardingJobStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PauseCampaignCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutDialRequestBatchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ResumeCampaignCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartCampaignCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartInstanceOnboardingJobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopCampaignCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateCampaignDialerConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateCampaignNameCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateCampaignOutboundCallConfigCommand.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, createPaginator } = 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 defaultConnectCampaignsHttpAuthSchemeParametersProvider = 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
|
|
|
@@ -842,6 +844,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
842
844
|
serviceTarget: "AmazonConnectCampaignService",
|
|
843
845
|
},
|
|
844
846
|
serviceId: config?.serviceId ?? "ConnectCampaigns",
|
|
847
|
+
sha256: config?.sha256 ?? Sha256,
|
|
845
848
|
urlParser: config?.urlParser ?? parseUrl,
|
|
846
849
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
847
850
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -875,7 +878,6 @@ const getRuntimeConfig = (config) => {
|
|
|
875
878
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
876
879
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
877
880
|
}, config),
|
|
878
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
879
881
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
880
882
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
881
883
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -963,268 +965,74 @@ class ConnectCampaignsClient extends Client {
|
|
|
963
965
|
}
|
|
964
966
|
}
|
|
965
967
|
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
})
|
|
972
|
-
.s("AmazonConnectCampaignService", "CreateCampaign", {})
|
|
973
|
-
.n("ConnectCampaignsClient", "CreateCampaignCommand")
|
|
974
|
-
.sc(CreateCampaign$)
|
|
975
|
-
.build() {
|
|
968
|
+
const command = makeBuilder(commonParams, "AmazonConnectCampaignService", "ConnectCampaignsClient", getEndpointPlugin);
|
|
969
|
+
const _ep0 = {};
|
|
970
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
971
|
+
|
|
972
|
+
class CreateCampaignCommand extends command(_ep0, _mw0, "CreateCampaign", CreateCampaign$) {
|
|
976
973
|
}
|
|
977
974
|
|
|
978
|
-
class DeleteCampaignCommand extends
|
|
979
|
-
.classBuilder()
|
|
980
|
-
.ep(commonParams)
|
|
981
|
-
.m(function (Command, cs, config, o) {
|
|
982
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
983
|
-
})
|
|
984
|
-
.s("AmazonConnectCampaignService", "DeleteCampaign", {})
|
|
985
|
-
.n("ConnectCampaignsClient", "DeleteCampaignCommand")
|
|
986
|
-
.sc(DeleteCampaign$)
|
|
987
|
-
.build() {
|
|
975
|
+
class DeleteCampaignCommand extends command(_ep0, _mw0, "DeleteCampaign", DeleteCampaign$) {
|
|
988
976
|
}
|
|
989
977
|
|
|
990
|
-
class DeleteConnectInstanceConfigCommand extends
|
|
991
|
-
.classBuilder()
|
|
992
|
-
.ep(commonParams)
|
|
993
|
-
.m(function (Command, cs, config, o) {
|
|
994
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
995
|
-
})
|
|
996
|
-
.s("AmazonConnectCampaignService", "DeleteConnectInstanceConfig", {})
|
|
997
|
-
.n("ConnectCampaignsClient", "DeleteConnectInstanceConfigCommand")
|
|
998
|
-
.sc(DeleteConnectInstanceConfig$)
|
|
999
|
-
.build() {
|
|
978
|
+
class DeleteConnectInstanceConfigCommand extends command(_ep0, _mw0, "DeleteConnectInstanceConfig", DeleteConnectInstanceConfig$) {
|
|
1000
979
|
}
|
|
1001
980
|
|
|
1002
|
-
class DeleteInstanceOnboardingJobCommand extends
|
|
1003
|
-
.classBuilder()
|
|
1004
|
-
.ep(commonParams)
|
|
1005
|
-
.m(function (Command, cs, config, o) {
|
|
1006
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1007
|
-
})
|
|
1008
|
-
.s("AmazonConnectCampaignService", "DeleteInstanceOnboardingJob", {})
|
|
1009
|
-
.n("ConnectCampaignsClient", "DeleteInstanceOnboardingJobCommand")
|
|
1010
|
-
.sc(DeleteInstanceOnboardingJob$)
|
|
1011
|
-
.build() {
|
|
981
|
+
class DeleteInstanceOnboardingJobCommand extends command(_ep0, _mw0, "DeleteInstanceOnboardingJob", DeleteInstanceOnboardingJob$) {
|
|
1012
982
|
}
|
|
1013
983
|
|
|
1014
|
-
class DescribeCampaignCommand extends
|
|
1015
|
-
.classBuilder()
|
|
1016
|
-
.ep(commonParams)
|
|
1017
|
-
.m(function (Command, cs, config, o) {
|
|
1018
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1019
|
-
})
|
|
1020
|
-
.s("AmazonConnectCampaignService", "DescribeCampaign", {})
|
|
1021
|
-
.n("ConnectCampaignsClient", "DescribeCampaignCommand")
|
|
1022
|
-
.sc(DescribeCampaign$)
|
|
1023
|
-
.build() {
|
|
984
|
+
class DescribeCampaignCommand extends command(_ep0, _mw0, "DescribeCampaign", DescribeCampaign$) {
|
|
1024
985
|
}
|
|
1025
986
|
|
|
1026
|
-
class GetCampaignStateBatchCommand extends
|
|
1027
|
-
.classBuilder()
|
|
1028
|
-
.ep(commonParams)
|
|
1029
|
-
.m(function (Command, cs, config, o) {
|
|
1030
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1031
|
-
})
|
|
1032
|
-
.s("AmazonConnectCampaignService", "GetCampaignStateBatch", {})
|
|
1033
|
-
.n("ConnectCampaignsClient", "GetCampaignStateBatchCommand")
|
|
1034
|
-
.sc(GetCampaignStateBatch$)
|
|
1035
|
-
.build() {
|
|
987
|
+
class GetCampaignStateBatchCommand extends command(_ep0, _mw0, "GetCampaignStateBatch", GetCampaignStateBatch$) {
|
|
1036
988
|
}
|
|
1037
989
|
|
|
1038
|
-
class GetCampaignStateCommand extends
|
|
1039
|
-
.classBuilder()
|
|
1040
|
-
.ep(commonParams)
|
|
1041
|
-
.m(function (Command, cs, config, o) {
|
|
1042
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1043
|
-
})
|
|
1044
|
-
.s("AmazonConnectCampaignService", "GetCampaignState", {})
|
|
1045
|
-
.n("ConnectCampaignsClient", "GetCampaignStateCommand")
|
|
1046
|
-
.sc(GetCampaignState$)
|
|
1047
|
-
.build() {
|
|
990
|
+
class GetCampaignStateCommand extends command(_ep0, _mw0, "GetCampaignState", GetCampaignState$) {
|
|
1048
991
|
}
|
|
1049
992
|
|
|
1050
|
-
class GetConnectInstanceConfigCommand extends
|
|
1051
|
-
.classBuilder()
|
|
1052
|
-
.ep(commonParams)
|
|
1053
|
-
.m(function (Command, cs, config, o) {
|
|
1054
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1055
|
-
})
|
|
1056
|
-
.s("AmazonConnectCampaignService", "GetConnectInstanceConfig", {})
|
|
1057
|
-
.n("ConnectCampaignsClient", "GetConnectInstanceConfigCommand")
|
|
1058
|
-
.sc(GetConnectInstanceConfig$)
|
|
1059
|
-
.build() {
|
|
993
|
+
class GetConnectInstanceConfigCommand extends command(_ep0, _mw0, "GetConnectInstanceConfig", GetConnectInstanceConfig$) {
|
|
1060
994
|
}
|
|
1061
995
|
|
|
1062
|
-
class GetInstanceOnboardingJobStatusCommand extends
|
|
1063
|
-
.classBuilder()
|
|
1064
|
-
.ep(commonParams)
|
|
1065
|
-
.m(function (Command, cs, config, o) {
|
|
1066
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1067
|
-
})
|
|
1068
|
-
.s("AmazonConnectCampaignService", "GetInstanceOnboardingJobStatus", {})
|
|
1069
|
-
.n("ConnectCampaignsClient", "GetInstanceOnboardingJobStatusCommand")
|
|
1070
|
-
.sc(GetInstanceOnboardingJobStatus$)
|
|
1071
|
-
.build() {
|
|
996
|
+
class GetInstanceOnboardingJobStatusCommand extends command(_ep0, _mw0, "GetInstanceOnboardingJobStatus", GetInstanceOnboardingJobStatus$) {
|
|
1072
997
|
}
|
|
1073
998
|
|
|
1074
|
-
class ListCampaignsCommand extends
|
|
1075
|
-
.classBuilder()
|
|
1076
|
-
.ep(commonParams)
|
|
1077
|
-
.m(function (Command, cs, config, o) {
|
|
1078
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1079
|
-
})
|
|
1080
|
-
.s("AmazonConnectCampaignService", "ListCampaigns", {})
|
|
1081
|
-
.n("ConnectCampaignsClient", "ListCampaignsCommand")
|
|
1082
|
-
.sc(ListCampaigns$)
|
|
1083
|
-
.build() {
|
|
999
|
+
class ListCampaignsCommand extends command(_ep0, _mw0, "ListCampaigns", ListCampaigns$) {
|
|
1084
1000
|
}
|
|
1085
1001
|
|
|
1086
|
-
class ListTagsForResourceCommand extends
|
|
1087
|
-
.classBuilder()
|
|
1088
|
-
.ep(commonParams)
|
|
1089
|
-
.m(function (Command, cs, config, o) {
|
|
1090
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1091
|
-
})
|
|
1092
|
-
.s("AmazonConnectCampaignService", "ListTagsForResource", {})
|
|
1093
|
-
.n("ConnectCampaignsClient", "ListTagsForResourceCommand")
|
|
1094
|
-
.sc(ListTagsForResource$)
|
|
1095
|
-
.build() {
|
|
1002
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1096
1003
|
}
|
|
1097
1004
|
|
|
1098
|
-
class PauseCampaignCommand extends
|
|
1099
|
-
.classBuilder()
|
|
1100
|
-
.ep(commonParams)
|
|
1101
|
-
.m(function (Command, cs, config, o) {
|
|
1102
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1103
|
-
})
|
|
1104
|
-
.s("AmazonConnectCampaignService", "PauseCampaign", {})
|
|
1105
|
-
.n("ConnectCampaignsClient", "PauseCampaignCommand")
|
|
1106
|
-
.sc(PauseCampaign$)
|
|
1107
|
-
.build() {
|
|
1005
|
+
class PauseCampaignCommand extends command(_ep0, _mw0, "PauseCampaign", PauseCampaign$) {
|
|
1108
1006
|
}
|
|
1109
1007
|
|
|
1110
|
-
class PutDialRequestBatchCommand extends
|
|
1111
|
-
.classBuilder()
|
|
1112
|
-
.ep(commonParams)
|
|
1113
|
-
.m(function (Command, cs, config, o) {
|
|
1114
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1115
|
-
})
|
|
1116
|
-
.s("AmazonConnectCampaignService", "PutDialRequestBatch", {})
|
|
1117
|
-
.n("ConnectCampaignsClient", "PutDialRequestBatchCommand")
|
|
1118
|
-
.sc(PutDialRequestBatch$)
|
|
1119
|
-
.build() {
|
|
1008
|
+
class PutDialRequestBatchCommand extends command(_ep0, _mw0, "PutDialRequestBatch", PutDialRequestBatch$) {
|
|
1120
1009
|
}
|
|
1121
1010
|
|
|
1122
|
-
class ResumeCampaignCommand extends
|
|
1123
|
-
.classBuilder()
|
|
1124
|
-
.ep(commonParams)
|
|
1125
|
-
.m(function (Command, cs, config, o) {
|
|
1126
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1127
|
-
})
|
|
1128
|
-
.s("AmazonConnectCampaignService", "ResumeCampaign", {})
|
|
1129
|
-
.n("ConnectCampaignsClient", "ResumeCampaignCommand")
|
|
1130
|
-
.sc(ResumeCampaign$)
|
|
1131
|
-
.build() {
|
|
1011
|
+
class ResumeCampaignCommand extends command(_ep0, _mw0, "ResumeCampaign", ResumeCampaign$) {
|
|
1132
1012
|
}
|
|
1133
1013
|
|
|
1134
|
-
class StartCampaignCommand extends
|
|
1135
|
-
.classBuilder()
|
|
1136
|
-
.ep(commonParams)
|
|
1137
|
-
.m(function (Command, cs, config, o) {
|
|
1138
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1139
|
-
})
|
|
1140
|
-
.s("AmazonConnectCampaignService", "StartCampaign", {})
|
|
1141
|
-
.n("ConnectCampaignsClient", "StartCampaignCommand")
|
|
1142
|
-
.sc(StartCampaign$)
|
|
1143
|
-
.build() {
|
|
1014
|
+
class StartCampaignCommand extends command(_ep0, _mw0, "StartCampaign", StartCampaign$) {
|
|
1144
1015
|
}
|
|
1145
1016
|
|
|
1146
|
-
class StartInstanceOnboardingJobCommand extends
|
|
1147
|
-
.classBuilder()
|
|
1148
|
-
.ep(commonParams)
|
|
1149
|
-
.m(function (Command, cs, config, o) {
|
|
1150
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1151
|
-
})
|
|
1152
|
-
.s("AmazonConnectCampaignService", "StartInstanceOnboardingJob", {})
|
|
1153
|
-
.n("ConnectCampaignsClient", "StartInstanceOnboardingJobCommand")
|
|
1154
|
-
.sc(StartInstanceOnboardingJob$)
|
|
1155
|
-
.build() {
|
|
1017
|
+
class StartInstanceOnboardingJobCommand extends command(_ep0, _mw0, "StartInstanceOnboardingJob", StartInstanceOnboardingJob$) {
|
|
1156
1018
|
}
|
|
1157
1019
|
|
|
1158
|
-
class StopCampaignCommand extends
|
|
1159
|
-
.classBuilder()
|
|
1160
|
-
.ep(commonParams)
|
|
1161
|
-
.m(function (Command, cs, config, o) {
|
|
1162
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1163
|
-
})
|
|
1164
|
-
.s("AmazonConnectCampaignService", "StopCampaign", {})
|
|
1165
|
-
.n("ConnectCampaignsClient", "StopCampaignCommand")
|
|
1166
|
-
.sc(StopCampaign$)
|
|
1167
|
-
.build() {
|
|
1020
|
+
class StopCampaignCommand extends command(_ep0, _mw0, "StopCampaign", StopCampaign$) {
|
|
1168
1021
|
}
|
|
1169
1022
|
|
|
1170
|
-
class TagResourceCommand extends
|
|
1171
|
-
.classBuilder()
|
|
1172
|
-
.ep(commonParams)
|
|
1173
|
-
.m(function (Command, cs, config, o) {
|
|
1174
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1175
|
-
})
|
|
1176
|
-
.s("AmazonConnectCampaignService", "TagResource", {})
|
|
1177
|
-
.n("ConnectCampaignsClient", "TagResourceCommand")
|
|
1178
|
-
.sc(TagResource$)
|
|
1179
|
-
.build() {
|
|
1023
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1180
1024
|
}
|
|
1181
1025
|
|
|
1182
|
-
class UntagResourceCommand extends
|
|
1183
|
-
.classBuilder()
|
|
1184
|
-
.ep(commonParams)
|
|
1185
|
-
.m(function (Command, cs, config, o) {
|
|
1186
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1187
|
-
})
|
|
1188
|
-
.s("AmazonConnectCampaignService", "UntagResource", {})
|
|
1189
|
-
.n("ConnectCampaignsClient", "UntagResourceCommand")
|
|
1190
|
-
.sc(UntagResource$)
|
|
1191
|
-
.build() {
|
|
1026
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1192
1027
|
}
|
|
1193
1028
|
|
|
1194
|
-
class UpdateCampaignDialerConfigCommand extends
|
|
1195
|
-
.classBuilder()
|
|
1196
|
-
.ep(commonParams)
|
|
1197
|
-
.m(function (Command, cs, config, o) {
|
|
1198
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1199
|
-
})
|
|
1200
|
-
.s("AmazonConnectCampaignService", "UpdateCampaignDialerConfig", {})
|
|
1201
|
-
.n("ConnectCampaignsClient", "UpdateCampaignDialerConfigCommand")
|
|
1202
|
-
.sc(UpdateCampaignDialerConfig$)
|
|
1203
|
-
.build() {
|
|
1029
|
+
class UpdateCampaignDialerConfigCommand extends command(_ep0, _mw0, "UpdateCampaignDialerConfig", UpdateCampaignDialerConfig$) {
|
|
1204
1030
|
}
|
|
1205
1031
|
|
|
1206
|
-
class UpdateCampaignNameCommand extends
|
|
1207
|
-
.classBuilder()
|
|
1208
|
-
.ep(commonParams)
|
|
1209
|
-
.m(function (Command, cs, config, o) {
|
|
1210
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1211
|
-
})
|
|
1212
|
-
.s("AmazonConnectCampaignService", "UpdateCampaignName", {})
|
|
1213
|
-
.n("ConnectCampaignsClient", "UpdateCampaignNameCommand")
|
|
1214
|
-
.sc(UpdateCampaignName$)
|
|
1215
|
-
.build() {
|
|
1032
|
+
class UpdateCampaignNameCommand extends command(_ep0, _mw0, "UpdateCampaignName", UpdateCampaignName$) {
|
|
1216
1033
|
}
|
|
1217
1034
|
|
|
1218
|
-
class UpdateCampaignOutboundCallConfigCommand extends
|
|
1219
|
-
.classBuilder()
|
|
1220
|
-
.ep(commonParams)
|
|
1221
|
-
.m(function (Command, cs, config, o) {
|
|
1222
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1223
|
-
})
|
|
1224
|
-
.s("AmazonConnectCampaignService", "UpdateCampaignOutboundCallConfig", {})
|
|
1225
|
-
.n("ConnectCampaignsClient", "UpdateCampaignOutboundCallConfigCommand")
|
|
1226
|
-
.sc(UpdateCampaignOutboundCallConfig$)
|
|
1227
|
-
.build() {
|
|
1035
|
+
class UpdateCampaignOutboundCallConfigCommand extends command(_ep0, _mw0, "UpdateCampaignOutboundCallConfig", UpdateCampaignOutboundCallConfig$) {
|
|
1228
1036
|
}
|
|
1229
1037
|
|
|
1230
1038
|
const paginateListCampaigns = createPaginator(ConnectCampaignsClient, ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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, "AmazonConnectCampaignService", "ConnectCampaignsClient", 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 { CreateCampaign$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateCampaignCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "CreateCampaign", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "CreateCampaignCommand")
|
|
14
|
-
.sc(CreateCampaign$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateCampaignCommand extends command(_ep0, _mw0, "CreateCampaign", CreateCampaign$) {
|
|
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 { DeleteCampaign$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteCampaignCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "DeleteCampaign", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "DeleteCampaignCommand")
|
|
14
|
-
.sc(DeleteCampaign$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteCampaignCommand extends command(_ep0, _mw0, "DeleteCampaign", DeleteCampaign$) {
|
|
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 { DeleteConnectInstanceConfig$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteConnectInstanceConfigCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "DeleteConnectInstanceConfig", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "DeleteConnectInstanceConfigCommand")
|
|
14
|
-
.sc(DeleteConnectInstanceConfig$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteConnectInstanceConfigCommand extends command(_ep0, _mw0, "DeleteConnectInstanceConfig", DeleteConnectInstanceConfig$) {
|
|
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 { DeleteInstanceOnboardingJob$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteInstanceOnboardingJobCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "DeleteInstanceOnboardingJob", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "DeleteInstanceOnboardingJobCommand")
|
|
14
|
-
.sc(DeleteInstanceOnboardingJob$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteInstanceOnboardingJobCommand extends command(_ep0, _mw0, "DeleteInstanceOnboardingJob", DeleteInstanceOnboardingJob$) {
|
|
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 { DescribeCampaign$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeCampaignCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "DescribeCampaign", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "DescribeCampaignCommand")
|
|
14
|
-
.sc(DescribeCampaign$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeCampaignCommand extends command(_ep0, _mw0, "DescribeCampaign", DescribeCampaign$) {
|
|
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 { GetCampaignStateBatch$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetCampaignStateBatchCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "GetCampaignStateBatch", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "GetCampaignStateBatchCommand")
|
|
14
|
-
.sc(GetCampaignStateBatch$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetCampaignStateBatchCommand extends command(_ep0, _mw0, "GetCampaignStateBatch", GetCampaignStateBatch$) {
|
|
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 { GetCampaignState$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetCampaignStateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "GetCampaignState", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "GetCampaignStateCommand")
|
|
14
|
-
.sc(GetCampaignState$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetCampaignStateCommand extends command(_ep0, _mw0, "GetCampaignState", GetCampaignState$) {
|
|
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 { GetConnectInstanceConfig$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetConnectInstanceConfigCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "GetConnectInstanceConfig", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "GetConnectInstanceConfigCommand")
|
|
14
|
-
.sc(GetConnectInstanceConfig$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetConnectInstanceConfigCommand extends command(_ep0, _mw0, "GetConnectInstanceConfig", GetConnectInstanceConfig$) {
|
|
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 { GetInstanceOnboardingJobStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetInstanceOnboardingJobStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "GetInstanceOnboardingJobStatus", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "GetInstanceOnboardingJobStatusCommand")
|
|
14
|
-
.sc(GetInstanceOnboardingJobStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetInstanceOnboardingJobStatusCommand extends command(_ep0, _mw0, "GetInstanceOnboardingJobStatus", GetInstanceOnboardingJobStatus$) {
|
|
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 { ListCampaigns$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListCampaignsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "ListCampaigns", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "ListCampaignsCommand")
|
|
14
|
-
.sc(ListCampaigns$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListCampaignsCommand extends command(_ep0, _mw0, "ListCampaigns", ListCampaigns$) {
|
|
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 { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "ListTagsForResource", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
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 { PauseCampaign$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PauseCampaignCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "PauseCampaign", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "PauseCampaignCommand")
|
|
14
|
-
.sc(PauseCampaign$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PauseCampaignCommand extends command(_ep0, _mw0, "PauseCampaign", PauseCampaign$) {
|
|
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 { PutDialRequestBatch$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutDialRequestBatchCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "PutDialRequestBatch", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "PutDialRequestBatchCommand")
|
|
14
|
-
.sc(PutDialRequestBatch$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutDialRequestBatchCommand extends command(_ep0, _mw0, "PutDialRequestBatch", PutDialRequestBatch$) {
|
|
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 { ResumeCampaign$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ResumeCampaignCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "ResumeCampaign", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "ResumeCampaignCommand")
|
|
14
|
-
.sc(ResumeCampaign$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ResumeCampaignCommand extends command(_ep0, _mw0, "ResumeCampaign", ResumeCampaign$) {
|
|
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 { StartCampaign$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartCampaignCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonConnectCampaignService", "StartCampaign", {})
|
|
13
|
-
.n("ConnectCampaignsClient", "StartCampaignCommand")
|
|
14
|
-
.sc(StartCampaign$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartCampaignCommand extends command(_ep0, _mw0, "StartCampaign", StartCampaign$) {
|
|
16
4
|
}
|