@aws-sdk/client-connectcampaigns 3.477.0 → 3.481.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-cjs/pagination/ListCampaignsPaginator.js +2 -24
- 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-es/pagination/ListCampaignsPaginator.js +2 -23
- 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/pagination/ListCampaignsPaginator.d.ts +1 -1
- 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/dist-types/ts3.4/pagination/ListCampaignsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class CreateCampaignCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "CreateCampaignCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "CreateCampaign",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_CreateCampaignCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_CreateCampaignCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateCampaignCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "CreateCampaign", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "CreateCampaignCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_CreateCampaignCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_CreateCampaignCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateCampaignCommand = CreateCampaignCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteCampaignCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "DeleteCampaignCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "DeleteCampaign",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_DeleteCampaignCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_DeleteCampaignCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteCampaignCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "DeleteCampaign", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "DeleteCampaignCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_DeleteCampaignCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_DeleteCampaignCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteCampaignCommand = DeleteCampaignCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteConnectInstanceConfigCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "DeleteConnectInstanceConfigCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "DeleteConnectInstanceConfig",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_DeleteConnectInstanceConfigCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_DeleteConnectInstanceConfigCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteConnectInstanceConfigCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "DeleteConnectInstanceConfig", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "DeleteConnectInstanceConfigCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_DeleteConnectInstanceConfigCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_DeleteConnectInstanceConfigCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteConnectInstanceConfigCommand = DeleteConnectInstanceConfigCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteInstanceOnboardingJobCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "DeleteInstanceOnboardingJobCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "DeleteInstanceOnboardingJob",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_DeleteInstanceOnboardingJobCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_DeleteInstanceOnboardingJobCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteInstanceOnboardingJobCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "DeleteInstanceOnboardingJob", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "DeleteInstanceOnboardingJobCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_DeleteInstanceOnboardingJobCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_DeleteInstanceOnboardingJobCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteInstanceOnboardingJobCommand = DeleteInstanceOnboardingJobCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DescribeCampaignCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "DescribeCampaignCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "DescribeCampaign",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_DescribeCampaignCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_DescribeCampaignCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribeCampaignCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "DescribeCampaign", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "DescribeCampaignCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_DescribeCampaignCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_DescribeCampaignCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribeCampaignCommand = DescribeCampaignCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class GetCampaignStateBatchCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "GetCampaignStateBatchCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "GetCampaignStateBatch",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_GetCampaignStateBatchCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_GetCampaignStateBatchCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetCampaignStateBatchCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "GetCampaignStateBatch", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "GetCampaignStateBatchCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_GetCampaignStateBatchCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_GetCampaignStateBatchCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetCampaignStateBatchCommand = GetCampaignStateBatchCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class GetCampaignStateCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "GetCampaignStateCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "GetCampaignState",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_GetCampaignStateCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_GetCampaignStateCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetCampaignStateCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "GetCampaignState", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "GetCampaignStateCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_GetCampaignStateCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_GetCampaignStateCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetCampaignStateCommand = GetCampaignStateCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class GetConnectInstanceConfigCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "GetConnectInstanceConfigCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "GetConnectInstanceConfig",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_GetConnectInstanceConfigCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_GetConnectInstanceConfigCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetConnectInstanceConfigCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "GetConnectInstanceConfig", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "GetConnectInstanceConfigCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_GetConnectInstanceConfigCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_GetConnectInstanceConfigCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetConnectInstanceConfigCommand = GetConnectInstanceConfigCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class GetInstanceOnboardingJobStatusCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ConnectCampaignsClient";
|
|
29
|
-
const commandName = "GetInstanceOnboardingJobStatusCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonConnectCampaignService",
|
|
38
|
-
operation: "GetInstanceOnboardingJobStatus",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_GetInstanceOnboardingJobStatusCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_GetInstanceOnboardingJobStatusCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetInstanceOnboardingJobStatusCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonConnectCampaignService", "GetInstanceOnboardingJobStatus", {})
|
|
22
|
+
.n("ConnectCampaignsClient", "GetInstanceOnboardingJobStatusCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_GetInstanceOnboardingJobStatusCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_GetInstanceOnboardingJobStatusCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetInstanceOnboardingJobStatusCommand = GetInstanceOnboardingJobStatusCommand;
|