@aws-sdk/client-connectcampaignsv2 3.927.0 → 3.929.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 -1598
- 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 -85
- 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 +0 -52
- 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 -37
- 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 +5 -5
- 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";
|
|
@@ -326,87 +325,3 @@ export const ProfileOutboundRequestFailureCode = {
|
|
|
326
325
|
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
327
326
|
UNKNOWN_ERROR: "UnknownError",
|
|
328
327
|
};
|
|
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,
|