@aws-sdk/client-connectcampaignsv2 3.928.0 → 3.930.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 +1472 -1704
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ConnectCampaignsV2Client.js +2 -0
- package/dist-es/commands/CreateCampaignCommand.js +3 -10
- package/dist-es/commands/DeleteCampaignChannelSubtypeConfigCommand.js +3 -9
- package/dist-es/commands/DeleteCampaignCommand.js +3 -9
- package/dist-es/commands/DeleteCampaignCommunicationLimitsCommand.js +3 -9
- package/dist-es/commands/DeleteCampaignCommunicationTimeCommand.js +3 -9
- package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +3 -9
- package/dist-es/commands/DeleteConnectInstanceIntegrationCommand.js +3 -9
- package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +3 -9
- package/dist-es/commands/DescribeCampaignCommand.js +3 -10
- package/dist-es/commands/GetCampaignStateBatchCommand.js +3 -9
- package/dist-es/commands/GetCampaignStateCommand.js +3 -9
- package/dist-es/commands/GetConnectInstanceConfigCommand.js +3 -9
- package/dist-es/commands/GetInstanceCommunicationLimitsCommand.js +3 -9
- package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +3 -9
- package/dist-es/commands/ListCampaignsCommand.js +3 -9
- package/dist-es/commands/ListConnectInstanceIntegrationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PauseCampaignCommand.js +3 -9
- package/dist-es/commands/PutConnectInstanceIntegrationCommand.js +3 -9
- package/dist-es/commands/PutInstanceCommunicationLimitsCommand.js +3 -9
- package/dist-es/commands/PutOutboundRequestBatchCommand.js +3 -10
- package/dist-es/commands/PutProfileOutboundRequestBatchCommand.js +3 -9
- package/dist-es/commands/ResumeCampaignCommand.js +3 -9
- package/dist-es/commands/StartCampaignCommand.js +3 -9
- package/dist-es/commands/StartInstanceOnboardingJobCommand.js +3 -9
- package/dist-es/commands/StopCampaignCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignChannelSubtypeConfigCommand.js +3 -10
- package/dist-es/commands/UpdateCampaignCommunicationLimitsCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignCommunicationTimeCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignFlowAssociationCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignNameCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignScheduleCommand.js +3 -9
- package/dist-es/commands/UpdateCampaignSourceCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -191
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1385 -0
- package/dist-types/ConnectCampaignsV2Client.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +44 -63
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +178 -0
- package/dist-types/ts3.4/ConnectCampaignsV2Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -48
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +185 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -1235
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -317
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -425
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ResumeCampaign } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ResumeCampaignCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "ResumeCampaign", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "ResumeCampaignCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ResumeCampaignCommand)
|
|
20
|
-
.de(de_ResumeCampaignCommand)
|
|
14
|
+
.sc(ResumeCampaign)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartCampaign } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartCampaignCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "StartCampaign", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "StartCampaignCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartCampaignCommand)
|
|
20
|
-
.de(de_StartCampaignCommand)
|
|
14
|
+
.sc(StartCampaign)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartInstanceOnboardingJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartInstanceOnboardingJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "StartInstanceOnboardingJob", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "StartInstanceOnboardingJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartInstanceOnboardingJobCommand)
|
|
20
|
-
.de(de_StartInstanceOnboardingJobCommand)
|
|
14
|
+
.sc(StartInstanceOnboardingJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopCampaign } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopCampaignCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "StopCampaign", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "StopCampaignCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopCampaignCommand)
|
|
20
|
-
.de(de_StopCampaignCommand)
|
|
14
|
+
.sc(StopCampaign)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "TagResource", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "UntagResource", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateCampaignChannelSubtypeConfigCommand, se_UpdateCampaignChannelSubtypeConfigCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateCampaignChannelSubtypeConfig } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateCampaignChannelSubtypeConfigCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonConnectCampaignServiceV2", "UpdateCampaignChannelSubtypeConfig", {})
|
|
18
13
|
.n("ConnectCampaignsV2Client", "UpdateCampaignChannelSubtypeConfigCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateCampaignChannelSubtypeConfigCommand)
|
|
21
|
-
.de(de_UpdateCampaignChannelSubtypeConfigCommand)
|
|
14
|
+
.sc(UpdateCampaignChannelSubtypeConfig)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCampaignCommunicationLimits } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCampaignCommunicationLimitsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "UpdateCampaignCommunicationLimits", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "UpdateCampaignCommunicationLimitsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCampaignCommunicationLimitsCommand)
|
|
20
|
-
.de(de_UpdateCampaignCommunicationLimitsCommand)
|
|
14
|
+
.sc(UpdateCampaignCommunicationLimits)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCampaignCommunicationTime } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCampaignCommunicationTimeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "UpdateCampaignCommunicationTime", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "UpdateCampaignCommunicationTimeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCampaignCommunicationTimeCommand)
|
|
20
|
-
.de(de_UpdateCampaignCommunicationTimeCommand)
|
|
14
|
+
.sc(UpdateCampaignCommunicationTime)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCampaignFlowAssociation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCampaignFlowAssociationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "UpdateCampaignFlowAssociation", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "UpdateCampaignFlowAssociationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCampaignFlowAssociationCommand)
|
|
20
|
-
.de(de_UpdateCampaignFlowAssociationCommand)
|
|
14
|
+
.sc(UpdateCampaignFlowAssociation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCampaignName } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCampaignNameCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "UpdateCampaignName", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "UpdateCampaignNameCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCampaignNameCommand)
|
|
20
|
-
.de(de_UpdateCampaignNameCommand)
|
|
14
|
+
.sc(UpdateCampaignName)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCampaignSchedule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCampaignScheduleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "UpdateCampaignSchedule", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "UpdateCampaignScheduleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCampaignScheduleCommand)
|
|
20
|
-
.de(de_UpdateCampaignScheduleCommand)
|
|
14
|
+
.sc(UpdateCampaignSchedule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateCampaignSource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateCampaignSourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonConnectCampaignServiceV2", "UpdateCampaignSource", {})
|
|
17
13
|
.n("ConnectCampaignsV2Client", "UpdateCampaignSourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateCampaignSourceCommand)
|
|
20
|
-
.de(de_UpdateCampaignSourceCommand)
|
|
14
|
+
.sc(UpdateCampaignSource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -31,47 +30,9 @@ export class ConflictException extends __BaseException {
|
|
|
31
30
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
|
-
export var EmailOutboundMode;
|
|
35
|
-
(function (EmailOutboundMode) {
|
|
36
|
-
EmailOutboundMode.visit = (value, visitor) => {
|
|
37
|
-
if (value.agentless !== undefined)
|
|
38
|
-
return visitor.agentless(value.agentless);
|
|
39
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
40
|
-
};
|
|
41
|
-
})(EmailOutboundMode || (EmailOutboundMode = {}));
|
|
42
|
-
export var SmsOutboundMode;
|
|
43
|
-
(function (SmsOutboundMode) {
|
|
44
|
-
SmsOutboundMode.visit = (value, visitor) => {
|
|
45
|
-
if (value.agentless !== undefined)
|
|
46
|
-
return visitor.agentless(value.agentless);
|
|
47
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
48
|
-
};
|
|
49
|
-
})(SmsOutboundMode || (SmsOutboundMode = {}));
|
|
50
|
-
export var TelephonyOutboundMode;
|
|
51
|
-
(function (TelephonyOutboundMode) {
|
|
52
|
-
TelephonyOutboundMode.visit = (value, visitor) => {
|
|
53
|
-
if (value.progressive !== undefined)
|
|
54
|
-
return visitor.progressive(value.progressive);
|
|
55
|
-
if (value.predictive !== undefined)
|
|
56
|
-
return visitor.predictive(value.predictive);
|
|
57
|
-
if (value.agentless !== undefined)
|
|
58
|
-
return visitor.agentless(value.agentless);
|
|
59
|
-
if (value.preview !== undefined)
|
|
60
|
-
return visitor.preview(value.preview);
|
|
61
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
62
|
-
};
|
|
63
|
-
})(TelephonyOutboundMode || (TelephonyOutboundMode = {}));
|
|
64
33
|
export const CommunicationLimitTimeUnit = {
|
|
65
34
|
DAY: "DAY",
|
|
66
35
|
};
|
|
67
|
-
export var CommunicationLimits;
|
|
68
|
-
(function (CommunicationLimits) {
|
|
69
|
-
CommunicationLimits.visit = (value, visitor) => {
|
|
70
|
-
if (value.communicationLimitsList !== undefined)
|
|
71
|
-
return visitor.communicationLimitsList(value.communicationLimitsList);
|
|
72
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
73
|
-
};
|
|
74
|
-
})(CommunicationLimits || (CommunicationLimits = {}));
|
|
75
36
|
export const InstanceLimitsHandling = {
|
|
76
37
|
OPT_IN: "OPT_IN",
|
|
77
38
|
OPT_OUT: "OPT_OUT",
|
|
@@ -85,36 +46,10 @@ export const DayOfWeek = {
|
|
|
85
46
|
TUESDAY: "TUESDAY",
|
|
86
47
|
WEDNESDAY: "WEDNESDAY",
|
|
87
48
|
};
|
|
88
|
-
export var OpenHours;
|
|
89
|
-
(function (OpenHours) {
|
|
90
|
-
OpenHours.visit = (value, visitor) => {
|
|
91
|
-
if (value.dailyHours !== undefined)
|
|
92
|
-
return visitor.dailyHours(value.dailyHours);
|
|
93
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
94
|
-
};
|
|
95
|
-
})(OpenHours || (OpenHours = {}));
|
|
96
|
-
export var RestrictedPeriods;
|
|
97
|
-
(function (RestrictedPeriods) {
|
|
98
|
-
RestrictedPeriods.visit = (value, visitor) => {
|
|
99
|
-
if (value.restrictedPeriodList !== undefined)
|
|
100
|
-
return visitor.restrictedPeriodList(value.restrictedPeriodList);
|
|
101
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
102
|
-
};
|
|
103
|
-
})(RestrictedPeriods || (RestrictedPeriods = {}));
|
|
104
49
|
export const LocalTimeZoneDetectionType = {
|
|
105
50
|
AREA_CODE: "AREA_CODE",
|
|
106
51
|
ZIP_CODE: "ZIP_CODE",
|
|
107
52
|
};
|
|
108
|
-
export var Source;
|
|
109
|
-
(function (Source) {
|
|
110
|
-
Source.visit = (value, visitor) => {
|
|
111
|
-
if (value.customerProfilesSegmentArn !== undefined)
|
|
112
|
-
return visitor.customerProfilesSegmentArn(value.customerProfilesSegmentArn);
|
|
113
|
-
if (value.eventTrigger !== undefined)
|
|
114
|
-
return visitor.eventTrigger(value.eventTrigger);
|
|
115
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
116
|
-
};
|
|
117
|
-
})(Source || (Source = {}));
|
|
118
53
|
export class InternalServerException extends __BaseException {
|
|
119
54
|
name = "InternalServerException";
|
|
120
55
|
$fault = "server";
|
|
@@ -242,16 +177,6 @@ export class InvalidStateException extends __BaseException {
|
|
|
242
177
|
this.xAmzErrorType = opts.xAmzErrorType;
|
|
243
178
|
}
|
|
244
179
|
}
|
|
245
|
-
export var IntegrationIdentifier;
|
|
246
|
-
(function (IntegrationIdentifier) {
|
|
247
|
-
IntegrationIdentifier.visit = (value, visitor) => {
|
|
248
|
-
if (value.customerProfiles !== undefined)
|
|
249
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
250
|
-
if (value.qConnect !== undefined)
|
|
251
|
-
return visitor.qConnect(value.qConnect);
|
|
252
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
253
|
-
};
|
|
254
|
-
})(IntegrationIdentifier || (IntegrationIdentifier = {}));
|
|
255
180
|
export const GetCampaignStateBatchFailureCode = {
|
|
256
181
|
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
257
182
|
UNKNOWN_ERROR: "UnknownError",
|
|
@@ -281,38 +206,6 @@ export const EventType = {
|
|
|
281
206
|
CAMPAIGN_SMS: "Campaign-SMS",
|
|
282
207
|
CAMPAIGN_TELEPHONY: "Campaign-Telephony",
|
|
283
208
|
};
|
|
284
|
-
export var IntegrationSummary;
|
|
285
|
-
(function (IntegrationSummary) {
|
|
286
|
-
IntegrationSummary.visit = (value, visitor) => {
|
|
287
|
-
if (value.customerProfiles !== undefined)
|
|
288
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
289
|
-
if (value.qConnect !== undefined)
|
|
290
|
-
return visitor.qConnect(value.qConnect);
|
|
291
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
292
|
-
};
|
|
293
|
-
})(IntegrationSummary || (IntegrationSummary = {}));
|
|
294
|
-
export var IntegrationConfig;
|
|
295
|
-
(function (IntegrationConfig) {
|
|
296
|
-
IntegrationConfig.visit = (value, visitor) => {
|
|
297
|
-
if (value.customerProfiles !== undefined)
|
|
298
|
-
return visitor.customerProfiles(value.customerProfiles);
|
|
299
|
-
if (value.qConnect !== undefined)
|
|
300
|
-
return visitor.qConnect(value.qConnect);
|
|
301
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
302
|
-
};
|
|
303
|
-
})(IntegrationConfig || (IntegrationConfig = {}));
|
|
304
|
-
export var ChannelSubtypeParameters;
|
|
305
|
-
(function (ChannelSubtypeParameters) {
|
|
306
|
-
ChannelSubtypeParameters.visit = (value, visitor) => {
|
|
307
|
-
if (value.telephony !== undefined)
|
|
308
|
-
return visitor.telephony(value.telephony);
|
|
309
|
-
if (value.sms !== undefined)
|
|
310
|
-
return visitor.sms(value.sms);
|
|
311
|
-
if (value.email !== undefined)
|
|
312
|
-
return visitor.email(value.email);
|
|
313
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
314
|
-
};
|
|
315
|
-
})(ChannelSubtypeParameters || (ChannelSubtypeParameters = {}));
|
|
316
209
|
export const FailureCode = {
|
|
317
210
|
BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded",
|
|
318
211
|
INVALID_INPUT: "InvalidInput",
|
|
@@ -326,87 +219,3 @@ export const ProfileOutboundRequestFailureCode = {
|
|
|
326
219
|
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
327
220
|
UNKNOWN_ERROR: "UnknownError",
|
|
328
221
|
};
|
|
329
|
-
export const EmailOutboundConfigFilterSensitiveLog = (obj) => ({
|
|
330
|
-
...obj,
|
|
331
|
-
...(obj.connectSourceEmailAddress && { connectSourceEmailAddress: SENSITIVE_STRING }),
|
|
332
|
-
...(obj.sourceEmailAddressDisplayName && { sourceEmailAddressDisplayName: SENSITIVE_STRING }),
|
|
333
|
-
});
|
|
334
|
-
export const EmailChannelSubtypeConfigFilterSensitiveLog = (obj) => ({
|
|
335
|
-
...obj,
|
|
336
|
-
...(obj.outboundMode && { outboundMode: obj.outboundMode }),
|
|
337
|
-
...(obj.defaultOutboundConfig && {
|
|
338
|
-
defaultOutboundConfig: EmailOutboundConfigFilterSensitiveLog(obj.defaultOutboundConfig),
|
|
339
|
-
}),
|
|
340
|
-
});
|
|
341
|
-
export const ChannelSubtypeConfigFilterSensitiveLog = (obj) => ({
|
|
342
|
-
...obj,
|
|
343
|
-
...(obj.telephony && { telephony: obj.telephony }),
|
|
344
|
-
...(obj.sms && { sms: obj.sms }),
|
|
345
|
-
...(obj.email && { email: EmailChannelSubtypeConfigFilterSensitiveLog(obj.email) }),
|
|
346
|
-
});
|
|
347
|
-
export const CreateCampaignRequestFilterSensitiveLog = (obj) => ({
|
|
348
|
-
...obj,
|
|
349
|
-
...(obj.channelSubtypeConfig && {
|
|
350
|
-
channelSubtypeConfig: ChannelSubtypeConfigFilterSensitiveLog(obj.channelSubtypeConfig),
|
|
351
|
-
}),
|
|
352
|
-
...(obj.source && { source: obj.source }),
|
|
353
|
-
...(obj.communicationTimeConfig && { communicationTimeConfig: obj.communicationTimeConfig }),
|
|
354
|
-
...(obj.communicationLimitsOverride && { communicationLimitsOverride: obj.communicationLimitsOverride }),
|
|
355
|
-
});
|
|
356
|
-
export const CampaignFilterSensitiveLog = (obj) => ({
|
|
357
|
-
...obj,
|
|
358
|
-
...(obj.channelSubtypeConfig && {
|
|
359
|
-
channelSubtypeConfig: ChannelSubtypeConfigFilterSensitiveLog(obj.channelSubtypeConfig),
|
|
360
|
-
}),
|
|
361
|
-
...(obj.source && { source: obj.source }),
|
|
362
|
-
...(obj.communicationTimeConfig && { communicationTimeConfig: obj.communicationTimeConfig }),
|
|
363
|
-
...(obj.communicationLimitsOverride && { communicationLimitsOverride: obj.communicationLimitsOverride }),
|
|
364
|
-
});
|
|
365
|
-
export const DescribeCampaignResponseFilterSensitiveLog = (obj) => ({
|
|
366
|
-
...obj,
|
|
367
|
-
...(obj.campaign && { campaign: CampaignFilterSensitiveLog(obj.campaign) }),
|
|
368
|
-
});
|
|
369
|
-
export const EmailChannelSubtypeParametersFilterSensitiveLog = (obj) => ({
|
|
370
|
-
...obj,
|
|
371
|
-
...(obj.destinationEmailAddress && { destinationEmailAddress: SENSITIVE_STRING }),
|
|
372
|
-
...(obj.connectSourceEmailAddress && { connectSourceEmailAddress: SENSITIVE_STRING }),
|
|
373
|
-
...(obj.templateParameters && { templateParameters: SENSITIVE_STRING }),
|
|
374
|
-
});
|
|
375
|
-
export const SmsChannelSubtypeParametersFilterSensitiveLog = (obj) => ({
|
|
376
|
-
...obj,
|
|
377
|
-
...(obj.destinationPhoneNumber && { destinationPhoneNumber: SENSITIVE_STRING }),
|
|
378
|
-
...(obj.templateParameters && { templateParameters: SENSITIVE_STRING }),
|
|
379
|
-
});
|
|
380
|
-
export const TelephonyChannelSubtypeParametersFilterSensitiveLog = (obj) => ({
|
|
381
|
-
...obj,
|
|
382
|
-
...(obj.destinationPhoneNumber && { destinationPhoneNumber: SENSITIVE_STRING }),
|
|
383
|
-
...(obj.attributes && { attributes: SENSITIVE_STRING }),
|
|
384
|
-
});
|
|
385
|
-
export const ChannelSubtypeParametersFilterSensitiveLog = (obj) => {
|
|
386
|
-
if (obj.telephony !== undefined)
|
|
387
|
-
return { telephony: TelephonyChannelSubtypeParametersFilterSensitiveLog(obj.telephony) };
|
|
388
|
-
if (obj.sms !== undefined)
|
|
389
|
-
return { sms: SmsChannelSubtypeParametersFilterSensitiveLog(obj.sms) };
|
|
390
|
-
if (obj.email !== undefined)
|
|
391
|
-
return { email: EmailChannelSubtypeParametersFilterSensitiveLog(obj.email) };
|
|
392
|
-
if (obj.$unknown !== undefined)
|
|
393
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
394
|
-
};
|
|
395
|
-
export const OutboundRequestFilterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
...(obj.channelSubtypeParameters && {
|
|
398
|
-
channelSubtypeParameters: ChannelSubtypeParametersFilterSensitiveLog(obj.channelSubtypeParameters),
|
|
399
|
-
}),
|
|
400
|
-
});
|
|
401
|
-
export const PutOutboundRequestBatchRequestFilterSensitiveLog = (obj) => ({
|
|
402
|
-
...obj,
|
|
403
|
-
...(obj.outboundRequests && {
|
|
404
|
-
outboundRequests: obj.outboundRequests.map((item) => OutboundRequestFilterSensitiveLog(item)),
|
|
405
|
-
}),
|
|
406
|
-
});
|
|
407
|
-
export const UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog = (obj) => ({
|
|
408
|
-
...obj,
|
|
409
|
-
...(obj.channelSubtypeConfig && {
|
|
410
|
-
channelSubtypeConfig: ChannelSubtypeConfigFilterSensitiveLog(obj.channelSubtypeConfig),
|
|
411
|
-
}),
|
|
412
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.connectcampaignsv2" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "ConnectCampaignsV2",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|