@aws-sdk/client-connectcampaigns 3.478.0 → 3.484.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/commands/CreateCampaignCommand.js +18 -41
- package/dist-cjs/commands/DeleteCampaignCommand.js +18 -41
- package/dist-cjs/commands/DeleteConnectInstanceConfigCommand.js +18 -41
- package/dist-cjs/commands/DeleteInstanceOnboardingJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeCampaignCommand.js +18 -41
- package/dist-cjs/commands/GetCampaignStateBatchCommand.js +18 -41
- package/dist-cjs/commands/GetCampaignStateCommand.js +18 -41
- package/dist-cjs/commands/GetConnectInstanceConfigCommand.js +18 -41
- package/dist-cjs/commands/GetInstanceOnboardingJobStatusCommand.js +18 -41
- package/dist-cjs/commands/ListCampaignsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PauseCampaignCommand.js +18 -41
- package/dist-cjs/commands/PutDialRequestBatchCommand.js +18 -41
- package/dist-cjs/commands/ResumeCampaignCommand.js +18 -41
- package/dist-cjs/commands/StartCampaignCommand.js +18 -41
- package/dist-cjs/commands/StartInstanceOnboardingJobCommand.js +18 -41
- package/dist-cjs/commands/StopCampaignCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateCampaignDialerConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateCampaignNameCommand.js +18 -41
- package/dist-cjs/commands/UpdateCampaignOutboundCallConfigCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CreateCampaignCommand.js +18 -41
- package/dist-es/commands/DeleteCampaignCommand.js +18 -41
- package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +18 -41
- package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +18 -41
- package/dist-es/commands/DescribeCampaignCommand.js +18 -41
- package/dist-es/commands/GetCampaignStateBatchCommand.js +18 -41
- package/dist-es/commands/GetCampaignStateCommand.js +18 -41
- package/dist-es/commands/GetConnectInstanceConfigCommand.js +18 -41
- package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +18 -41
- package/dist-es/commands/ListCampaignsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PauseCampaignCommand.js +18 -41
- package/dist-es/commands/PutDialRequestBatchCommand.js +18 -41
- package/dist-es/commands/ResumeCampaignCommand.js +18 -41
- package/dist-es/commands/StartCampaignCommand.js +18 -41
- package/dist-es/commands/StartInstanceOnboardingJobCommand.js +18 -41
- package/dist-es/commands/StopCampaignCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateCampaignDialerConfigCommand.js +18 -41
- package/dist-es/commands/UpdateCampaignNameCommand.js +18 -41
- package/dist-es/commands/UpdateCampaignOutboundCallConfigCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CreateCampaignCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCampaignCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +6 -21
- package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCampaignCommand.d.ts +6 -21
- package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +6 -21
- package/dist-types/commands/GetCampaignStateCommand.d.ts +6 -21
- package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +6 -21
- package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +6 -21
- package/dist-types/commands/ListCampaignsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PauseCampaignCommand.d.ts +6 -21
- package/dist-types/commands/PutDialRequestBatchCommand.d.ts +6 -21
- package/dist-types/commands/ResumeCampaignCommand.d.ts +6 -21
- package/dist-types/commands/StartCampaignCommand.d.ts +6 -21
- package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +6 -21
- package/dist-types/commands/StopCampaignCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCampaignDialerConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCampaignNameCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCampaignOutboundCallConfigCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteConnectInstanceConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteInstanceOnboardingJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCampaignStateBatchCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCampaignStateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetConnectInstanceConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetInstanceOnboardingJobStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PauseCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutDialRequestBatchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ResumeCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartInstanceOnboardingJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopCampaignCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCampaignDialerConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateCampaignNameCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCampaignOutboundCallConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartCampaignCommand, se_StartCampaignCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartCampaignCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ConnectCampaignsClient";
|
|
26
|
-
const commandName = "StartCampaignCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonConnectCampaignService",
|
|
35
|
-
operation: "StartCampaign",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartCampaignCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartCampaignCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartCampaignCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectCampaignService", "StartCampaign", {})
|
|
19
|
+
.n("ConnectCampaignsClient", "StartCampaignCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartCampaignCommand)
|
|
22
|
+
.de(de_StartCampaignCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartInstanceOnboardingJobCommand, se_StartInstanceOnboardingJobCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartInstanceOnboardingJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ConnectCampaignsClient";
|
|
26
|
-
const commandName = "StartInstanceOnboardingJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonConnectCampaignService",
|
|
35
|
-
operation: "StartInstanceOnboardingJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartInstanceOnboardingJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartInstanceOnboardingJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartInstanceOnboardingJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectCampaignService", "StartInstanceOnboardingJob", {})
|
|
19
|
+
.n("ConnectCampaignsClient", "StartInstanceOnboardingJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartInstanceOnboardingJobCommand)
|
|
22
|
+
.de(de_StartInstanceOnboardingJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StopCampaignCommand, se_StopCampaignCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopCampaignCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ConnectCampaignsClient";
|
|
26
|
-
const commandName = "StopCampaignCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonConnectCampaignService",
|
|
35
|
-
operation: "StopCampaign",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StopCampaignCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopCampaignCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopCampaignCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectCampaignService", "StopCampaign", {})
|
|
19
|
+
.n("ConnectCampaignsClient", "StopCampaignCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopCampaignCommand)
|
|
22
|
+
.de(de_StopCampaignCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ConnectCampaignsClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonConnectCampaignService",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectCampaignService", "TagResource", {})
|
|
19
|
+
.n("ConnectCampaignsClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ConnectCampaignsClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonConnectCampaignService",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectCampaignService", "UntagResource", {})
|
|
19
|
+
.n("ConnectCampaignsClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateCampaignDialerConfigCommand, se_UpdateCampaignDialerConfigCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateCampaignDialerConfigCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ConnectCampaignsClient";
|
|
26
|
-
const commandName = "UpdateCampaignDialerConfigCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonConnectCampaignService",
|
|
35
|
-
operation: "UpdateCampaignDialerConfig",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateCampaignDialerConfigCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateCampaignDialerConfigCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateCampaignDialerConfigCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectCampaignService", "UpdateCampaignDialerConfig", {})
|
|
19
|
+
.n("ConnectCampaignsClient", "UpdateCampaignDialerConfigCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateCampaignDialerConfigCommand)
|
|
22
|
+
.de(de_UpdateCampaignDialerConfigCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateCampaignNameCommand, se_UpdateCampaignNameCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateCampaignNameCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ConnectCampaignsClient";
|
|
26
|
-
const commandName = "UpdateCampaignNameCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonConnectCampaignService",
|
|
35
|
-
operation: "UpdateCampaignName",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateCampaignNameCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateCampaignNameCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateCampaignNameCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectCampaignService", "UpdateCampaignName", {})
|
|
19
|
+
.n("ConnectCampaignsClient", "UpdateCampaignNameCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateCampaignNameCommand)
|
|
22
|
+
.de(de_UpdateCampaignNameCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateCampaignOutboundCallConfigCommand, se_UpdateCampaignOutboundCallConfigCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateCampaignOutboundCallConfigCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ConnectCampaignsClient";
|
|
26
|
-
const commandName = "UpdateCampaignOutboundCallConfigCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonConnectCampaignService",
|
|
35
|
-
operation: "UpdateCampaignOutboundCallConfig",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateCampaignOutboundCallConfigCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateCampaignOutboundCallConfigCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateCampaignOutboundCallConfigCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectCampaignService", "UpdateCampaignOutboundCallConfig", {})
|
|
19
|
+
.n("ConnectCampaignsClient", "UpdateCampaignOutboundCallConfigCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateCampaignOutboundCallConfigCommand)
|
|
22
|
+
.de(de_UpdateCampaignOutboundCallConfigCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "connect-campaigns",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ConnectCampaignsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsClient";
|
|
5
4
|
import { CreateCampaignRequest, CreateCampaignResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateCampaignCommandInput extends CreateCampaignRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateCampaignCommand_base: {
|
|
24
|
+
new (input: CreateCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCampaignCommandInput, CreateCampaignCommandOutput, ConnectCampaignsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* Creates a campaign for the specified Amazon Connect account. This API is idempotent.
|
|
@@ -101,23 +104,5 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
|
|
|
101
104
|
* <p>Base exception class for all service exceptions from ConnectCampaigns service.</p>
|
|
102
105
|
*
|
|
103
106
|
*/
|
|
104
|
-
export declare class CreateCampaignCommand extends
|
|
105
|
-
readonly input: CreateCampaignCommandInput;
|
|
106
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
107
|
-
/**
|
|
108
|
-
* @public
|
|
109
|
-
*/
|
|
110
|
-
constructor(input: CreateCampaignCommandInput);
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCampaignsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCampaignCommandInput, CreateCampaignCommandOutput>;
|
|
115
|
-
/**
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
118
|
-
private serialize;
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
private deserialize;
|
|
107
|
+
export declare class CreateCampaignCommand extends CreateCampaignCommand_base {
|
|
123
108
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ConnectCampaignsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsClient";
|
|
5
4
|
import { DeleteCampaignRequest } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteCampaignCommandInput extends DeleteCampaignRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteCampaignCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteCampaignCommand_base: {
|
|
24
|
+
new (input: DeleteCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCampaignCommandInput, DeleteCampaignCommandOutput, ConnectCampaignsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* Deletes a campaign from the specified Amazon Connect account.
|
|
@@ -61,23 +64,5 @@ export interface DeleteCampaignCommandOutput extends __MetadataBearer {
|
|
|
61
64
|
* <p>Base exception class for all service exceptions from ConnectCampaigns service.</p>
|
|
62
65
|
*
|
|
63
66
|
*/
|
|
64
|
-
export declare class DeleteCampaignCommand extends
|
|
65
|
-
readonly input: DeleteCampaignCommandInput;
|
|
66
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
-
/**
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
constructor(input: DeleteCampaignCommandInput);
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCampaignsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCampaignCommandInput, DeleteCampaignCommandOutput>;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
private serialize;
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
private deserialize;
|
|
67
|
+
export declare class DeleteCampaignCommand extends DeleteCampaignCommand_base {
|
|
83
68
|
}
|