@aws-sdk/client-connectcampaignsv2 3.828.0 → 3.829.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/README.md +16 -0
- package/dist-cjs/ConnectCampaignsV2.js +4 -0
- package/dist-cjs/commands/GetInstanceCommunicationLimitsCommand.js +26 -0
- package/dist-cjs/commands/PutInstanceCommunicationLimitsCommand.js +26 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +53 -2
- package/dist-es/ConnectCampaignsV2.js +4 -0
- package/dist-es/commands/GetInstanceCommunicationLimitsCommand.js +22 -0
- package/dist-es/commands/PutInstanceCommunicationLimitsCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +47 -0
- package/dist-types/ConnectCampaignsV2.d.ts +14 -0
- package/dist-types/ConnectCampaignsV2Client.d.ts +4 -2
- package/dist-types/commands/CreateCampaignCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCampaignCommand.d.ts +1 -0
- package/dist-types/commands/GetInstanceCommunicationLimitsCommand.d.ts +94 -0
- package/dist-types/commands/PutInstanceCommunicationLimitsCommand.d.ts +96 -0
- package/dist-types/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +66 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/ConnectCampaignsV2.d.ts +34 -0
- package/dist-types/ts3.4/ConnectCampaignsV2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetInstanceCommunicationLimitsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutInstanceCommunicationLimitsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -298,6 +298,14 @@ GetConnectInstanceConfig
|
|
|
298
298
|
|
|
299
299
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectcampaignsv2/command/GetConnectInstanceConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcampaignsv2/Interface/GetConnectInstanceConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcampaignsv2/Interface/GetConnectInstanceConfigCommandOutput/)
|
|
300
300
|
|
|
301
|
+
</details>
|
|
302
|
+
<details>
|
|
303
|
+
<summary>
|
|
304
|
+
GetInstanceCommunicationLimits
|
|
305
|
+
</summary>
|
|
306
|
+
|
|
307
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectcampaignsv2/command/GetInstanceCommunicationLimitsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcampaignsv2/Interface/GetInstanceCommunicationLimitsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcampaignsv2/Interface/GetInstanceCommunicationLimitsCommandOutput/)
|
|
308
|
+
|
|
301
309
|
</details>
|
|
302
310
|
<details>
|
|
303
311
|
<summary>
|
|
@@ -346,6 +354,14 @@ PutConnectInstanceIntegration
|
|
|
346
354
|
|
|
347
355
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectcampaignsv2/command/PutConnectInstanceIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcampaignsv2/Interface/PutConnectInstanceIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcampaignsv2/Interface/PutConnectInstanceIntegrationCommandOutput/)
|
|
348
356
|
|
|
357
|
+
</details>
|
|
358
|
+
<details>
|
|
359
|
+
<summary>
|
|
360
|
+
PutInstanceCommunicationLimits
|
|
361
|
+
</summary>
|
|
362
|
+
|
|
363
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connectcampaignsv2/command/PutInstanceCommunicationLimitsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcampaignsv2/Interface/PutInstanceCommunicationLimitsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connectcampaignsv2/Interface/PutInstanceCommunicationLimitsCommandOutput/)
|
|
364
|
+
|
|
349
365
|
</details>
|
|
350
366
|
<details>
|
|
351
367
|
<summary>
|
|
@@ -14,12 +14,14 @@ const DescribeCampaignCommand_1 = require("./commands/DescribeCampaignCommand");
|
|
|
14
14
|
const GetCampaignStateBatchCommand_1 = require("./commands/GetCampaignStateBatchCommand");
|
|
15
15
|
const GetCampaignStateCommand_1 = require("./commands/GetCampaignStateCommand");
|
|
16
16
|
const GetConnectInstanceConfigCommand_1 = require("./commands/GetConnectInstanceConfigCommand");
|
|
17
|
+
const GetInstanceCommunicationLimitsCommand_1 = require("./commands/GetInstanceCommunicationLimitsCommand");
|
|
17
18
|
const GetInstanceOnboardingJobStatusCommand_1 = require("./commands/GetInstanceOnboardingJobStatusCommand");
|
|
18
19
|
const ListCampaignsCommand_1 = require("./commands/ListCampaignsCommand");
|
|
19
20
|
const ListConnectInstanceIntegrationsCommand_1 = require("./commands/ListConnectInstanceIntegrationsCommand");
|
|
20
21
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
21
22
|
const PauseCampaignCommand_1 = require("./commands/PauseCampaignCommand");
|
|
22
23
|
const PutConnectInstanceIntegrationCommand_1 = require("./commands/PutConnectInstanceIntegrationCommand");
|
|
24
|
+
const PutInstanceCommunicationLimitsCommand_1 = require("./commands/PutInstanceCommunicationLimitsCommand");
|
|
23
25
|
const PutOutboundRequestBatchCommand_1 = require("./commands/PutOutboundRequestBatchCommand");
|
|
24
26
|
const PutProfileOutboundRequestBatchCommand_1 = require("./commands/PutProfileOutboundRequestBatchCommand");
|
|
25
27
|
const ResumeCampaignCommand_1 = require("./commands/ResumeCampaignCommand");
|
|
@@ -49,12 +51,14 @@ const commands = {
|
|
|
49
51
|
GetCampaignStateCommand: GetCampaignStateCommand_1.GetCampaignStateCommand,
|
|
50
52
|
GetCampaignStateBatchCommand: GetCampaignStateBatchCommand_1.GetCampaignStateBatchCommand,
|
|
51
53
|
GetConnectInstanceConfigCommand: GetConnectInstanceConfigCommand_1.GetConnectInstanceConfigCommand,
|
|
54
|
+
GetInstanceCommunicationLimitsCommand: GetInstanceCommunicationLimitsCommand_1.GetInstanceCommunicationLimitsCommand,
|
|
52
55
|
GetInstanceOnboardingJobStatusCommand: GetInstanceOnboardingJobStatusCommand_1.GetInstanceOnboardingJobStatusCommand,
|
|
53
56
|
ListCampaignsCommand: ListCampaignsCommand_1.ListCampaignsCommand,
|
|
54
57
|
ListConnectInstanceIntegrationsCommand: ListConnectInstanceIntegrationsCommand_1.ListConnectInstanceIntegrationsCommand,
|
|
55
58
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
56
59
|
PauseCampaignCommand: PauseCampaignCommand_1.PauseCampaignCommand,
|
|
57
60
|
PutConnectInstanceIntegrationCommand: PutConnectInstanceIntegrationCommand_1.PutConnectInstanceIntegrationCommand,
|
|
61
|
+
PutInstanceCommunicationLimitsCommand: PutInstanceCommunicationLimitsCommand_1.PutInstanceCommunicationLimitsCommand,
|
|
58
62
|
PutOutboundRequestBatchCommand: PutOutboundRequestBatchCommand_1.PutOutboundRequestBatchCommand,
|
|
59
63
|
PutProfileOutboundRequestBatchCommand: PutProfileOutboundRequestBatchCommand_1.PutProfileOutboundRequestBatchCommand,
|
|
60
64
|
ResumeCampaignCommand: ResumeCampaignCommand_1.ResumeCampaignCommand,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInstanceCommunicationLimitsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetInstanceCommunicationLimitsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonConnectCampaignServiceV2", "GetInstanceCommunicationLimits", {})
|
|
20
|
+
.n("ConnectCampaignsV2Client", "GetInstanceCommunicationLimitsCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_GetInstanceCommunicationLimitsCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_GetInstanceCommunicationLimitsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.GetInstanceCommunicationLimitsCommand = GetInstanceCommunicationLimitsCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutInstanceCommunicationLimitsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class PutInstanceCommunicationLimitsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonConnectCampaignServiceV2", "PutInstanceCommunicationLimits", {})
|
|
20
|
+
.n("ConnectCampaignsV2Client", "PutInstanceCommunicationLimitsCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_PutInstanceCommunicationLimitsCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_PutInstanceCommunicationLimitsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.PutInstanceCommunicationLimitsCommand = PutInstanceCommunicationLimitsCommand;
|
|
@@ -13,12 +13,14 @@ tslib_1.__exportStar(require("./DescribeCampaignCommand"), exports);
|
|
|
13
13
|
tslib_1.__exportStar(require("./GetCampaignStateBatchCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./GetCampaignStateCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./GetConnectInstanceConfigCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetInstanceCommunicationLimitsCommand"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./GetInstanceOnboardingJobStatusCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./ListCampaignsCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./ListConnectInstanceIntegrationsCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./PauseCampaignCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./PutConnectInstanceIntegrationCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./PutInstanceCommunicationLimitsCommand"), exports);
|
|
22
24
|
tslib_1.__exportStar(require("./PutOutboundRequestBatchCommand"), exports);
|
|
23
25
|
tslib_1.__exportStar(require("./PutProfileOutboundRequestBatchCommand"), exports);
|
|
24
26
|
tslib_1.__exportStar(require("./ResumeCampaignCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog = exports.PutOutboundRequestBatchRequestFilterSensitiveLog = exports.OutboundRequestFilterSensitiveLog = exports.ChannelSubtypeParametersFilterSensitiveLog = exports.TelephonyChannelSubtypeParametersFilterSensitiveLog = exports.SmsChannelSubtypeParametersFilterSensitiveLog = exports.EmailChannelSubtypeParametersFilterSensitiveLog = exports.DescribeCampaignResponseFilterSensitiveLog = exports.CampaignFilterSensitiveLog = exports.CreateCampaignRequestFilterSensitiveLog = exports.ChannelSubtypeConfigFilterSensitiveLog = exports.EmailChannelSubtypeConfigFilterSensitiveLog = exports.EmailOutboundConfigFilterSensitiveLog = exports.ProfileOutboundRequestFailureCode = exports.FailureCode = exports.ChannelSubtypeParameters = exports.IntegrationConfig = exports.IntegrationSummary = exports.EventType = exports.InstanceIdFilterOperator = exports.InstanceOnboardingJobStatusCode = exports.InstanceOnboardingJobFailureCode = exports.EncryptionType = exports.GetCampaignStateBatchFailureCode = exports.IntegrationIdentifier = exports.InvalidStateException = exports.CampaignDeletionPolicy = exports.CommunicationTimeConfigType = exports.InvalidCampaignStateException = exports.CampaignState = exports.CommunicationLimitsConfigType = exports.ChannelSubtype = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.Source = exports.LocalTimeZoneDetectionType = exports.RestrictedPeriods = exports.OpenHours = exports.DayOfWeek = exports.CommunicationLimits = exports.CommunicationLimitTimeUnit = exports.TelephonyOutboundMode = exports.SmsOutboundMode = exports.EmailOutboundMode = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog = exports.PutOutboundRequestBatchRequestFilterSensitiveLog = exports.OutboundRequestFilterSensitiveLog = exports.ChannelSubtypeParametersFilterSensitiveLog = exports.TelephonyChannelSubtypeParametersFilterSensitiveLog = exports.SmsChannelSubtypeParametersFilterSensitiveLog = exports.EmailChannelSubtypeParametersFilterSensitiveLog = exports.DescribeCampaignResponseFilterSensitiveLog = exports.CampaignFilterSensitiveLog = exports.CreateCampaignRequestFilterSensitiveLog = exports.ChannelSubtypeConfigFilterSensitiveLog = exports.EmailChannelSubtypeConfigFilterSensitiveLog = exports.EmailOutboundConfigFilterSensitiveLog = exports.ProfileOutboundRequestFailureCode = exports.FailureCode = exports.ChannelSubtypeParameters = exports.IntegrationConfig = exports.IntegrationSummary = exports.EventType = exports.InstanceIdFilterOperator = exports.InstanceOnboardingJobStatusCode = exports.InstanceOnboardingJobFailureCode = exports.EncryptionType = exports.GetCampaignStateBatchFailureCode = exports.IntegrationIdentifier = exports.InvalidStateException = exports.CampaignDeletionPolicy = exports.CommunicationTimeConfigType = exports.InvalidCampaignStateException = exports.CampaignState = exports.CommunicationLimitsConfigType = exports.ChannelSubtype = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.Source = exports.LocalTimeZoneDetectionType = exports.RestrictedPeriods = exports.OpenHours = exports.DayOfWeek = exports.InstanceLimitsHandling = exports.CommunicationLimits = exports.CommunicationLimitTimeUnit = exports.TelephonyOutboundMode = exports.SmsOutboundMode = exports.EmailOutboundMode = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ConnectCampaignsV2ServiceException_1 = require("./ConnectCampaignsV2ServiceException");
|
|
6
6
|
class AccessDeniedException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
|
|
@@ -72,6 +72,10 @@ var CommunicationLimits;
|
|
|
72
72
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
73
73
|
};
|
|
74
74
|
})(CommunicationLimits || (exports.CommunicationLimits = CommunicationLimits = {}));
|
|
75
|
+
exports.InstanceLimitsHandling = {
|
|
76
|
+
OPT_IN: "OPT_IN",
|
|
77
|
+
OPT_OUT: "OPT_OUT",
|
|
78
|
+
};
|
|
75
79
|
exports.DayOfWeek = {
|
|
76
80
|
FRIDAY: "FRIDAY",
|
|
77
81
|
MONDAY: "MONDAY",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateCampaignSourceCommand = exports.de_UpdateCampaignScheduleCommand = exports.de_UpdateCampaignNameCommand = exports.de_UpdateCampaignFlowAssociationCommand = exports.de_UpdateCampaignCommunicationTimeCommand = exports.de_UpdateCampaignCommunicationLimitsCommand = exports.de_UpdateCampaignChannelSubtypeConfigCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopCampaignCommand = exports.de_StartInstanceOnboardingJobCommand = exports.de_StartCampaignCommand = exports.de_ResumeCampaignCommand = exports.de_PutProfileOutboundRequestBatchCommand = exports.de_PutOutboundRequestBatchCommand = exports.de_PutConnectInstanceIntegrationCommand = void 0;
|
|
3
|
+
exports.de_ListCampaignsCommand = exports.de_GetInstanceOnboardingJobStatusCommand = exports.de_GetInstanceCommunicationLimitsCommand = exports.de_GetConnectInstanceConfigCommand = exports.de_GetCampaignStateBatchCommand = exports.de_GetCampaignStateCommand = exports.de_DescribeCampaignCommand = exports.de_DeleteInstanceOnboardingJobCommand = exports.de_DeleteConnectInstanceIntegrationCommand = exports.de_DeleteConnectInstanceConfigCommand = exports.de_DeleteCampaignCommunicationTimeCommand = exports.de_DeleteCampaignCommunicationLimitsCommand = exports.de_DeleteCampaignChannelSubtypeConfigCommand = exports.de_DeleteCampaignCommand = exports.de_CreateCampaignCommand = exports.se_UpdateCampaignSourceCommand = exports.se_UpdateCampaignScheduleCommand = exports.se_UpdateCampaignNameCommand = exports.se_UpdateCampaignFlowAssociationCommand = exports.se_UpdateCampaignCommunicationTimeCommand = exports.se_UpdateCampaignCommunicationLimitsCommand = exports.se_UpdateCampaignChannelSubtypeConfigCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopCampaignCommand = exports.se_StartInstanceOnboardingJobCommand = exports.se_StartCampaignCommand = exports.se_ResumeCampaignCommand = exports.se_PutProfileOutboundRequestBatchCommand = exports.se_PutOutboundRequestBatchCommand = exports.se_PutInstanceCommunicationLimitsCommand = exports.se_PutConnectInstanceIntegrationCommand = exports.se_PauseCampaignCommand = exports.se_ListTagsForResourceCommand = exports.se_ListConnectInstanceIntegrationsCommand = exports.se_ListCampaignsCommand = exports.se_GetInstanceOnboardingJobStatusCommand = exports.se_GetInstanceCommunicationLimitsCommand = exports.se_GetConnectInstanceConfigCommand = exports.se_GetCampaignStateBatchCommand = exports.se_GetCampaignStateCommand = exports.se_DescribeCampaignCommand = exports.se_DeleteInstanceOnboardingJobCommand = exports.se_DeleteConnectInstanceIntegrationCommand = exports.se_DeleteConnectInstanceConfigCommand = exports.se_DeleteCampaignCommunicationTimeCommand = exports.se_DeleteCampaignCommunicationLimitsCommand = exports.se_DeleteCampaignChannelSubtypeConfigCommand = exports.se_DeleteCampaignCommand = exports.se_CreateCampaignCommand = void 0;
|
|
4
|
+
exports.de_UpdateCampaignSourceCommand = exports.de_UpdateCampaignScheduleCommand = exports.de_UpdateCampaignNameCommand = exports.de_UpdateCampaignFlowAssociationCommand = exports.de_UpdateCampaignCommunicationTimeCommand = exports.de_UpdateCampaignCommunicationLimitsCommand = exports.de_UpdateCampaignChannelSubtypeConfigCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopCampaignCommand = exports.de_StartInstanceOnboardingJobCommand = exports.de_StartCampaignCommand = exports.de_ResumeCampaignCommand = exports.de_PutProfileOutboundRequestBatchCommand = exports.de_PutOutboundRequestBatchCommand = exports.de_PutInstanceCommunicationLimitsCommand = exports.de_PutConnectInstanceIntegrationCommand = exports.de_PauseCampaignCommand = exports.de_ListTagsForResourceCommand = exports.de_ListConnectInstanceIntegrationsCommand = void 0;
|
|
5
5
|
const core_1 = require("@aws-sdk/core");
|
|
6
6
|
const core_2 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -160,6 +160,16 @@ const se_GetConnectInstanceConfigCommand = async (input, context) => {
|
|
|
160
160
|
return b.build();
|
|
161
161
|
};
|
|
162
162
|
exports.se_GetConnectInstanceConfigCommand = se_GetConnectInstanceConfigCommand;
|
|
163
|
+
const se_GetInstanceCommunicationLimitsCommand = async (input, context) => {
|
|
164
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
165
|
+
const headers = {};
|
|
166
|
+
b.bp("/v2/connect-instance/{connectInstanceId}/communication-limits");
|
|
167
|
+
b.p("connectInstanceId", () => input.connectInstanceId, "{connectInstanceId}", false);
|
|
168
|
+
let body;
|
|
169
|
+
b.m("GET").h(headers).b(body);
|
|
170
|
+
return b.build();
|
|
171
|
+
};
|
|
172
|
+
exports.se_GetInstanceCommunicationLimitsCommand = se_GetInstanceCommunicationLimitsCommand;
|
|
163
173
|
const se_GetInstanceOnboardingJobStatusCommand = async (input, context) => {
|
|
164
174
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
165
175
|
const headers = {};
|
|
@@ -235,6 +245,21 @@ const se_PutConnectInstanceIntegrationCommand = async (input, context) => {
|
|
|
235
245
|
return b.build();
|
|
236
246
|
};
|
|
237
247
|
exports.se_PutConnectInstanceIntegrationCommand = se_PutConnectInstanceIntegrationCommand;
|
|
248
|
+
const se_PutInstanceCommunicationLimitsCommand = async (input, context) => {
|
|
249
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
250
|
+
const headers = {
|
|
251
|
+
"content-type": "application/json",
|
|
252
|
+
};
|
|
253
|
+
b.bp("/v2/connect-instance/{connectInstanceId}/communication-limits");
|
|
254
|
+
b.p("connectInstanceId", () => input.connectInstanceId, "{connectInstanceId}", false);
|
|
255
|
+
let body;
|
|
256
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
257
|
+
communicationLimitsConfig: (_) => (0, smithy_client_1._json)(_),
|
|
258
|
+
}));
|
|
259
|
+
b.m("PUT").h(headers).b(body);
|
|
260
|
+
return b.build();
|
|
261
|
+
};
|
|
262
|
+
exports.se_PutInstanceCommunicationLimitsCommand = se_PutInstanceCommunicationLimitsCommand;
|
|
238
263
|
const se_PutOutboundRequestBatchCommand = async (input, context) => {
|
|
239
264
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
240
265
|
const headers = {
|
|
@@ -598,6 +623,21 @@ const de_GetConnectInstanceConfigCommand = async (output, context) => {
|
|
|
598
623
|
return contents;
|
|
599
624
|
};
|
|
600
625
|
exports.de_GetConnectInstanceConfigCommand = de_GetConnectInstanceConfigCommand;
|
|
626
|
+
const de_GetInstanceCommunicationLimitsCommand = async (output, context) => {
|
|
627
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
628
|
+
return de_CommandError(output, context);
|
|
629
|
+
}
|
|
630
|
+
const contents = (0, smithy_client_1.map)({
|
|
631
|
+
$metadata: deserializeMetadata(output),
|
|
632
|
+
});
|
|
633
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
634
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
635
|
+
communicationLimitsConfig: smithy_client_1._json,
|
|
636
|
+
});
|
|
637
|
+
Object.assign(contents, doc);
|
|
638
|
+
return contents;
|
|
639
|
+
};
|
|
640
|
+
exports.de_GetInstanceCommunicationLimitsCommand = de_GetInstanceCommunicationLimitsCommand;
|
|
601
641
|
const de_GetInstanceOnboardingJobStatusCommand = async (output, context) => {
|
|
602
642
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
603
643
|
return de_CommandError(output, context);
|
|
@@ -682,6 +722,17 @@ const de_PutConnectInstanceIntegrationCommand = async (output, context) => {
|
|
|
682
722
|
return contents;
|
|
683
723
|
};
|
|
684
724
|
exports.de_PutConnectInstanceIntegrationCommand = de_PutConnectInstanceIntegrationCommand;
|
|
725
|
+
const de_PutInstanceCommunicationLimitsCommand = async (output, context) => {
|
|
726
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
727
|
+
return de_CommandError(output, context);
|
|
728
|
+
}
|
|
729
|
+
const contents = (0, smithy_client_1.map)({
|
|
730
|
+
$metadata: deserializeMetadata(output),
|
|
731
|
+
});
|
|
732
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
733
|
+
return contents;
|
|
734
|
+
};
|
|
735
|
+
exports.de_PutInstanceCommunicationLimitsCommand = de_PutInstanceCommunicationLimitsCommand;
|
|
685
736
|
const de_PutOutboundRequestBatchCommand = async (output, context) => {
|
|
686
737
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
687
738
|
return de_CommandError(output, context);
|
|
@@ -11,12 +11,14 @@ import { DescribeCampaignCommand, } from "./commands/DescribeCampaignCommand";
|
|
|
11
11
|
import { GetCampaignStateBatchCommand, } from "./commands/GetCampaignStateBatchCommand";
|
|
12
12
|
import { GetCampaignStateCommand, } from "./commands/GetCampaignStateCommand";
|
|
13
13
|
import { GetConnectInstanceConfigCommand, } from "./commands/GetConnectInstanceConfigCommand";
|
|
14
|
+
import { GetInstanceCommunicationLimitsCommand, } from "./commands/GetInstanceCommunicationLimitsCommand";
|
|
14
15
|
import { GetInstanceOnboardingJobStatusCommand, } from "./commands/GetInstanceOnboardingJobStatusCommand";
|
|
15
16
|
import { ListCampaignsCommand, } from "./commands/ListCampaignsCommand";
|
|
16
17
|
import { ListConnectInstanceIntegrationsCommand, } from "./commands/ListConnectInstanceIntegrationsCommand";
|
|
17
18
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
18
19
|
import { PauseCampaignCommand, } from "./commands/PauseCampaignCommand";
|
|
19
20
|
import { PutConnectInstanceIntegrationCommand, } from "./commands/PutConnectInstanceIntegrationCommand";
|
|
21
|
+
import { PutInstanceCommunicationLimitsCommand, } from "./commands/PutInstanceCommunicationLimitsCommand";
|
|
20
22
|
import { PutOutboundRequestBatchCommand, } from "./commands/PutOutboundRequestBatchCommand";
|
|
21
23
|
import { PutProfileOutboundRequestBatchCommand, } from "./commands/PutProfileOutboundRequestBatchCommand";
|
|
22
24
|
import { ResumeCampaignCommand, } from "./commands/ResumeCampaignCommand";
|
|
@@ -46,12 +48,14 @@ const commands = {
|
|
|
46
48
|
GetCampaignStateCommand,
|
|
47
49
|
GetCampaignStateBatchCommand,
|
|
48
50
|
GetConnectInstanceConfigCommand,
|
|
51
|
+
GetInstanceCommunicationLimitsCommand,
|
|
49
52
|
GetInstanceOnboardingJobStatusCommand,
|
|
50
53
|
ListCampaignsCommand,
|
|
51
54
|
ListConnectInstanceIntegrationsCommand,
|
|
52
55
|
ListTagsForResourceCommand,
|
|
53
56
|
PauseCampaignCommand,
|
|
54
57
|
PutConnectInstanceIntegrationCommand,
|
|
58
|
+
PutInstanceCommunicationLimitsCommand,
|
|
55
59
|
PutOutboundRequestBatchCommand,
|
|
56
60
|
PutProfileOutboundRequestBatchCommand,
|
|
57
61
|
ResumeCampaignCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetInstanceCommunicationLimitsCommand, se_GetInstanceCommunicationLimitsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetInstanceCommunicationLimitsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonConnectCampaignServiceV2", "GetInstanceCommunicationLimits", {})
|
|
17
|
+
.n("ConnectCampaignsV2Client", "GetInstanceCommunicationLimitsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetInstanceCommunicationLimitsCommand)
|
|
20
|
+
.de(de_GetInstanceCommunicationLimitsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutInstanceCommunicationLimitsCommand, se_PutInstanceCommunicationLimitsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutInstanceCommunicationLimitsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonConnectCampaignServiceV2", "PutInstanceCommunicationLimits", {})
|
|
17
|
+
.n("ConnectCampaignsV2Client", "PutInstanceCommunicationLimitsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutInstanceCommunicationLimitsCommand)
|
|
20
|
+
.de(de_PutInstanceCommunicationLimitsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -10,12 +10,14 @@ export * from "./DescribeCampaignCommand";
|
|
|
10
10
|
export * from "./GetCampaignStateBatchCommand";
|
|
11
11
|
export * from "./GetCampaignStateCommand";
|
|
12
12
|
export * from "./GetConnectInstanceConfigCommand";
|
|
13
|
+
export * from "./GetInstanceCommunicationLimitsCommand";
|
|
13
14
|
export * from "./GetInstanceOnboardingJobStatusCommand";
|
|
14
15
|
export * from "./ListCampaignsCommand";
|
|
15
16
|
export * from "./ListConnectInstanceIntegrationsCommand";
|
|
16
17
|
export * from "./ListTagsForResourceCommand";
|
|
17
18
|
export * from "./PauseCampaignCommand";
|
|
18
19
|
export * from "./PutConnectInstanceIntegrationCommand";
|
|
20
|
+
export * from "./PutInstanceCommunicationLimitsCommand";
|
|
19
21
|
export * from "./PutOutboundRequestBatchCommand";
|
|
20
22
|
export * from "./PutProfileOutboundRequestBatchCommand";
|
|
21
23
|
export * from "./ResumeCampaignCommand";
|
|
@@ -67,6 +67,10 @@ export var CommunicationLimits;
|
|
|
67
67
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
68
68
|
};
|
|
69
69
|
})(CommunicationLimits || (CommunicationLimits = {}));
|
|
70
|
+
export const InstanceLimitsHandling = {
|
|
71
|
+
OPT_IN: "OPT_IN",
|
|
72
|
+
OPT_OUT: "OPT_OUT",
|
|
73
|
+
};
|
|
70
74
|
export const DayOfWeek = {
|
|
71
75
|
FRIDAY: "FRIDAY",
|
|
72
76
|
MONDAY: "MONDAY",
|
|
@@ -144,6 +144,15 @@ export const se_GetConnectInstanceConfigCommand = async (input, context) => {
|
|
|
144
144
|
b.m("GET").h(headers).b(body);
|
|
145
145
|
return b.build();
|
|
146
146
|
};
|
|
147
|
+
export const se_GetInstanceCommunicationLimitsCommand = async (input, context) => {
|
|
148
|
+
const b = rb(input, context);
|
|
149
|
+
const headers = {};
|
|
150
|
+
b.bp("/v2/connect-instance/{connectInstanceId}/communication-limits");
|
|
151
|
+
b.p("connectInstanceId", () => input.connectInstanceId, "{connectInstanceId}", false);
|
|
152
|
+
let body;
|
|
153
|
+
b.m("GET").h(headers).b(body);
|
|
154
|
+
return b.build();
|
|
155
|
+
};
|
|
147
156
|
export const se_GetInstanceOnboardingJobStatusCommand = async (input, context) => {
|
|
148
157
|
const b = rb(input, context);
|
|
149
158
|
const headers = {};
|
|
@@ -213,6 +222,20 @@ export const se_PutConnectInstanceIntegrationCommand = async (input, context) =>
|
|
|
213
222
|
b.m("PUT").h(headers).b(body);
|
|
214
223
|
return b.build();
|
|
215
224
|
};
|
|
225
|
+
export const se_PutInstanceCommunicationLimitsCommand = async (input, context) => {
|
|
226
|
+
const b = rb(input, context);
|
|
227
|
+
const headers = {
|
|
228
|
+
"content-type": "application/json",
|
|
229
|
+
};
|
|
230
|
+
b.bp("/v2/connect-instance/{connectInstanceId}/communication-limits");
|
|
231
|
+
b.p("connectInstanceId", () => input.connectInstanceId, "{connectInstanceId}", false);
|
|
232
|
+
let body;
|
|
233
|
+
body = JSON.stringify(take(input, {
|
|
234
|
+
communicationLimitsConfig: (_) => _json(_),
|
|
235
|
+
}));
|
|
236
|
+
b.m("PUT").h(headers).b(body);
|
|
237
|
+
return b.build();
|
|
238
|
+
};
|
|
216
239
|
export const se_PutOutboundRequestBatchCommand = async (input, context) => {
|
|
217
240
|
const b = rb(input, context);
|
|
218
241
|
const headers = {
|
|
@@ -549,6 +572,20 @@ export const de_GetConnectInstanceConfigCommand = async (output, context) => {
|
|
|
549
572
|
Object.assign(contents, doc);
|
|
550
573
|
return contents;
|
|
551
574
|
};
|
|
575
|
+
export const de_GetInstanceCommunicationLimitsCommand = async (output, context) => {
|
|
576
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
577
|
+
return de_CommandError(output, context);
|
|
578
|
+
}
|
|
579
|
+
const contents = map({
|
|
580
|
+
$metadata: deserializeMetadata(output),
|
|
581
|
+
});
|
|
582
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
583
|
+
const doc = take(data, {
|
|
584
|
+
communicationLimitsConfig: _json,
|
|
585
|
+
});
|
|
586
|
+
Object.assign(contents, doc);
|
|
587
|
+
return contents;
|
|
588
|
+
};
|
|
552
589
|
export const de_GetInstanceOnboardingJobStatusCommand = async (output, context) => {
|
|
553
590
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
554
591
|
return de_CommandError(output, context);
|
|
@@ -627,6 +664,16 @@ export const de_PutConnectInstanceIntegrationCommand = async (output, context) =
|
|
|
627
664
|
await collectBody(output.body, context);
|
|
628
665
|
return contents;
|
|
629
666
|
};
|
|
667
|
+
export const de_PutInstanceCommunicationLimitsCommand = async (output, context) => {
|
|
668
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
669
|
+
return de_CommandError(output, context);
|
|
670
|
+
}
|
|
671
|
+
const contents = map({
|
|
672
|
+
$metadata: deserializeMetadata(output),
|
|
673
|
+
});
|
|
674
|
+
await collectBody(output.body, context);
|
|
675
|
+
return contents;
|
|
676
|
+
};
|
|
630
677
|
export const de_PutOutboundRequestBatchCommand = async (output, context) => {
|
|
631
678
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
632
679
|
return de_CommandError(output, context);
|
|
@@ -11,12 +11,14 @@ import { DescribeCampaignCommandInput, DescribeCampaignCommandOutput } from "./c
|
|
|
11
11
|
import { GetCampaignStateBatchCommandInput, GetCampaignStateBatchCommandOutput } from "./commands/GetCampaignStateBatchCommand";
|
|
12
12
|
import { GetCampaignStateCommandInput, GetCampaignStateCommandOutput } from "./commands/GetCampaignStateCommand";
|
|
13
13
|
import { GetConnectInstanceConfigCommandInput, GetConnectInstanceConfigCommandOutput } from "./commands/GetConnectInstanceConfigCommand";
|
|
14
|
+
import { GetInstanceCommunicationLimitsCommandInput, GetInstanceCommunicationLimitsCommandOutput } from "./commands/GetInstanceCommunicationLimitsCommand";
|
|
14
15
|
import { GetInstanceOnboardingJobStatusCommandInput, GetInstanceOnboardingJobStatusCommandOutput } from "./commands/GetInstanceOnboardingJobStatusCommand";
|
|
15
16
|
import { ListCampaignsCommandInput, ListCampaignsCommandOutput } from "./commands/ListCampaignsCommand";
|
|
16
17
|
import { ListConnectInstanceIntegrationsCommandInput, ListConnectInstanceIntegrationsCommandOutput } from "./commands/ListConnectInstanceIntegrationsCommand";
|
|
17
18
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
18
19
|
import { PauseCampaignCommandInput, PauseCampaignCommandOutput } from "./commands/PauseCampaignCommand";
|
|
19
20
|
import { PutConnectInstanceIntegrationCommandInput, PutConnectInstanceIntegrationCommandOutput } from "./commands/PutConnectInstanceIntegrationCommand";
|
|
21
|
+
import { PutInstanceCommunicationLimitsCommandInput, PutInstanceCommunicationLimitsCommandOutput } from "./commands/PutInstanceCommunicationLimitsCommand";
|
|
20
22
|
import { PutOutboundRequestBatchCommandInput, PutOutboundRequestBatchCommandOutput } from "./commands/PutOutboundRequestBatchCommand";
|
|
21
23
|
import { PutProfileOutboundRequestBatchCommandInput, PutProfileOutboundRequestBatchCommandOutput } from "./commands/PutProfileOutboundRequestBatchCommand";
|
|
22
24
|
import { ResumeCampaignCommandInput, ResumeCampaignCommandOutput } from "./commands/ResumeCampaignCommand";
|
|
@@ -106,6 +108,12 @@ export interface ConnectCampaignsV2 {
|
|
|
106
108
|
getConnectInstanceConfig(args: GetConnectInstanceConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectInstanceConfigCommandOutput>;
|
|
107
109
|
getConnectInstanceConfig(args: GetConnectInstanceConfigCommandInput, cb: (err: any, data?: GetConnectInstanceConfigCommandOutput) => void): void;
|
|
108
110
|
getConnectInstanceConfig(args: GetConnectInstanceConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectInstanceConfigCommandOutput) => void): void;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link GetInstanceCommunicationLimitsCommand}
|
|
113
|
+
*/
|
|
114
|
+
getInstanceCommunicationLimits(args: GetInstanceCommunicationLimitsCommandInput, options?: __HttpHandlerOptions): Promise<GetInstanceCommunicationLimitsCommandOutput>;
|
|
115
|
+
getInstanceCommunicationLimits(args: GetInstanceCommunicationLimitsCommandInput, cb: (err: any, data?: GetInstanceCommunicationLimitsCommandOutput) => void): void;
|
|
116
|
+
getInstanceCommunicationLimits(args: GetInstanceCommunicationLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInstanceCommunicationLimitsCommandOutput) => void): void;
|
|
109
117
|
/**
|
|
110
118
|
* @see {@link GetInstanceOnboardingJobStatusCommand}
|
|
111
119
|
*/
|
|
@@ -143,6 +151,12 @@ export interface ConnectCampaignsV2 {
|
|
|
143
151
|
putConnectInstanceIntegration(args: PutConnectInstanceIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<PutConnectInstanceIntegrationCommandOutput>;
|
|
144
152
|
putConnectInstanceIntegration(args: PutConnectInstanceIntegrationCommandInput, cb: (err: any, data?: PutConnectInstanceIntegrationCommandOutput) => void): void;
|
|
145
153
|
putConnectInstanceIntegration(args: PutConnectInstanceIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutConnectInstanceIntegrationCommandOutput) => void): void;
|
|
154
|
+
/**
|
|
155
|
+
* @see {@link PutInstanceCommunicationLimitsCommand}
|
|
156
|
+
*/
|
|
157
|
+
putInstanceCommunicationLimits(args: PutInstanceCommunicationLimitsCommandInput, options?: __HttpHandlerOptions): Promise<PutInstanceCommunicationLimitsCommandOutput>;
|
|
158
|
+
putInstanceCommunicationLimits(args: PutInstanceCommunicationLimitsCommandInput, cb: (err: any, data?: PutInstanceCommunicationLimitsCommandOutput) => void): void;
|
|
159
|
+
putInstanceCommunicationLimits(args: PutInstanceCommunicationLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInstanceCommunicationLimitsCommandOutput) => void): void;
|
|
146
160
|
/**
|
|
147
161
|
* @see {@link PutOutboundRequestBatchCommand}
|
|
148
162
|
*/
|
|
@@ -19,12 +19,14 @@ import { DescribeCampaignCommandInput, DescribeCampaignCommandOutput } from "./c
|
|
|
19
19
|
import { GetCampaignStateBatchCommandInput, GetCampaignStateBatchCommandOutput } from "./commands/GetCampaignStateBatchCommand";
|
|
20
20
|
import { GetCampaignStateCommandInput, GetCampaignStateCommandOutput } from "./commands/GetCampaignStateCommand";
|
|
21
21
|
import { GetConnectInstanceConfigCommandInput, GetConnectInstanceConfigCommandOutput } from "./commands/GetConnectInstanceConfigCommand";
|
|
22
|
+
import { GetInstanceCommunicationLimitsCommandInput, GetInstanceCommunicationLimitsCommandOutput } from "./commands/GetInstanceCommunicationLimitsCommand";
|
|
22
23
|
import { GetInstanceOnboardingJobStatusCommandInput, GetInstanceOnboardingJobStatusCommandOutput } from "./commands/GetInstanceOnboardingJobStatusCommand";
|
|
23
24
|
import { ListCampaignsCommandInput, ListCampaignsCommandOutput } from "./commands/ListCampaignsCommand";
|
|
24
25
|
import { ListConnectInstanceIntegrationsCommandInput, ListConnectInstanceIntegrationsCommandOutput } from "./commands/ListConnectInstanceIntegrationsCommand";
|
|
25
26
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
26
27
|
import { PauseCampaignCommandInput, PauseCampaignCommandOutput } from "./commands/PauseCampaignCommand";
|
|
27
28
|
import { PutConnectInstanceIntegrationCommandInput, PutConnectInstanceIntegrationCommandOutput } from "./commands/PutConnectInstanceIntegrationCommand";
|
|
29
|
+
import { PutInstanceCommunicationLimitsCommandInput, PutInstanceCommunicationLimitsCommandOutput } from "./commands/PutInstanceCommunicationLimitsCommand";
|
|
28
30
|
import { PutOutboundRequestBatchCommandInput, PutOutboundRequestBatchCommandOutput } from "./commands/PutOutboundRequestBatchCommand";
|
|
29
31
|
import { PutProfileOutboundRequestBatchCommandInput, PutProfileOutboundRequestBatchCommandOutput } from "./commands/PutProfileOutboundRequestBatchCommand";
|
|
30
32
|
import { ResumeCampaignCommandInput, ResumeCampaignCommandOutput } from "./commands/ResumeCampaignCommand";
|
|
@@ -46,11 +48,11 @@ export { __Client };
|
|
|
46
48
|
/**
|
|
47
49
|
* @public
|
|
48
50
|
*/
|
|
49
|
-
export type ServiceInputTypes = CreateCampaignCommandInput | DeleteCampaignChannelSubtypeConfigCommandInput | DeleteCampaignCommandInput | DeleteCampaignCommunicationLimitsCommandInput | DeleteCampaignCommunicationTimeCommandInput | DeleteConnectInstanceConfigCommandInput | DeleteConnectInstanceIntegrationCommandInput | DeleteInstanceOnboardingJobCommandInput | DescribeCampaignCommandInput | GetCampaignStateBatchCommandInput | GetCampaignStateCommandInput | GetConnectInstanceConfigCommandInput | GetInstanceOnboardingJobStatusCommandInput | ListCampaignsCommandInput | ListConnectInstanceIntegrationsCommandInput | ListTagsForResourceCommandInput | PauseCampaignCommandInput | PutConnectInstanceIntegrationCommandInput | PutOutboundRequestBatchCommandInput | PutProfileOutboundRequestBatchCommandInput | ResumeCampaignCommandInput | StartCampaignCommandInput | StartInstanceOnboardingJobCommandInput | StopCampaignCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignChannelSubtypeConfigCommandInput | UpdateCampaignCommunicationLimitsCommandInput | UpdateCampaignCommunicationTimeCommandInput | UpdateCampaignFlowAssociationCommandInput | UpdateCampaignNameCommandInput | UpdateCampaignScheduleCommandInput | UpdateCampaignSourceCommandInput;
|
|
51
|
+
export type ServiceInputTypes = CreateCampaignCommandInput | DeleteCampaignChannelSubtypeConfigCommandInput | DeleteCampaignCommandInput | DeleteCampaignCommunicationLimitsCommandInput | DeleteCampaignCommunicationTimeCommandInput | DeleteConnectInstanceConfigCommandInput | DeleteConnectInstanceIntegrationCommandInput | DeleteInstanceOnboardingJobCommandInput | DescribeCampaignCommandInput | GetCampaignStateBatchCommandInput | GetCampaignStateCommandInput | GetConnectInstanceConfigCommandInput | GetInstanceCommunicationLimitsCommandInput | GetInstanceOnboardingJobStatusCommandInput | ListCampaignsCommandInput | ListConnectInstanceIntegrationsCommandInput | ListTagsForResourceCommandInput | PauseCampaignCommandInput | PutConnectInstanceIntegrationCommandInput | PutInstanceCommunicationLimitsCommandInput | PutOutboundRequestBatchCommandInput | PutProfileOutboundRequestBatchCommandInput | ResumeCampaignCommandInput | StartCampaignCommandInput | StartInstanceOnboardingJobCommandInput | StopCampaignCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCampaignChannelSubtypeConfigCommandInput | UpdateCampaignCommunicationLimitsCommandInput | UpdateCampaignCommunicationTimeCommandInput | UpdateCampaignFlowAssociationCommandInput | UpdateCampaignNameCommandInput | UpdateCampaignScheduleCommandInput | UpdateCampaignSourceCommandInput;
|
|
50
52
|
/**
|
|
51
53
|
* @public
|
|
52
54
|
*/
|
|
53
|
-
export type ServiceOutputTypes = CreateCampaignCommandOutput | DeleteCampaignChannelSubtypeConfigCommandOutput | DeleteCampaignCommandOutput | DeleteCampaignCommunicationLimitsCommandOutput | DeleteCampaignCommunicationTimeCommandOutput | DeleteConnectInstanceConfigCommandOutput | DeleteConnectInstanceIntegrationCommandOutput | DeleteInstanceOnboardingJobCommandOutput | DescribeCampaignCommandOutput | GetCampaignStateBatchCommandOutput | GetCampaignStateCommandOutput | GetConnectInstanceConfigCommandOutput | GetInstanceOnboardingJobStatusCommandOutput | ListCampaignsCommandOutput | ListConnectInstanceIntegrationsCommandOutput | ListTagsForResourceCommandOutput | PauseCampaignCommandOutput | PutConnectInstanceIntegrationCommandOutput | PutOutboundRequestBatchCommandOutput | PutProfileOutboundRequestBatchCommandOutput | ResumeCampaignCommandOutput | StartCampaignCommandOutput | StartInstanceOnboardingJobCommandOutput | StopCampaignCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignChannelSubtypeConfigCommandOutput | UpdateCampaignCommunicationLimitsCommandOutput | UpdateCampaignCommunicationTimeCommandOutput | UpdateCampaignFlowAssociationCommandOutput | UpdateCampaignNameCommandOutput | UpdateCampaignScheduleCommandOutput | UpdateCampaignSourceCommandOutput;
|
|
55
|
+
export type ServiceOutputTypes = CreateCampaignCommandOutput | DeleteCampaignChannelSubtypeConfigCommandOutput | DeleteCampaignCommandOutput | DeleteCampaignCommunicationLimitsCommandOutput | DeleteCampaignCommunicationTimeCommandOutput | DeleteConnectInstanceConfigCommandOutput | DeleteConnectInstanceIntegrationCommandOutput | DeleteInstanceOnboardingJobCommandOutput | DescribeCampaignCommandOutput | GetCampaignStateBatchCommandOutput | GetCampaignStateCommandOutput | GetConnectInstanceConfigCommandOutput | GetInstanceCommunicationLimitsCommandOutput | GetInstanceOnboardingJobStatusCommandOutput | ListCampaignsCommandOutput | ListConnectInstanceIntegrationsCommandOutput | ListTagsForResourceCommandOutput | PauseCampaignCommandOutput | PutConnectInstanceIntegrationCommandOutput | PutInstanceCommunicationLimitsCommandOutput | PutOutboundRequestBatchCommandOutput | PutProfileOutboundRequestBatchCommandOutput | ResumeCampaignCommandOutput | StartCampaignCommandOutput | StartInstanceOnboardingJobCommandOutput | StopCampaignCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCampaignChannelSubtypeConfigCommandOutput | UpdateCampaignCommunicationLimitsCommandOutput | UpdateCampaignCommunicationTimeCommandOutput | UpdateCampaignFlowAssociationCommandOutput | UpdateCampaignNameCommandOutput | UpdateCampaignScheduleCommandOutput | UpdateCampaignSourceCommandOutput;
|
|
54
56
|
/**
|
|
55
57
|
* @public
|
|
56
58
|
*/
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
|
|
4
|
+
import { GetInstanceCommunicationLimitsRequest, GetInstanceCommunicationLimitsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetInstanceCommunicationLimitsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetInstanceCommunicationLimitsCommandInput extends GetInstanceCommunicationLimitsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetInstanceCommunicationLimitsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInstanceCommunicationLimitsCommandOutput extends GetInstanceCommunicationLimitsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetInstanceCommunicationLimitsCommand_base: {
|
|
25
|
+
new (input: GetInstanceCommunicationLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<GetInstanceCommunicationLimitsCommandInput, GetInstanceCommunicationLimitsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetInstanceCommunicationLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<GetInstanceCommunicationLimitsCommandInput, GetInstanceCommunicationLimitsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Get the instance communication limits.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectCampaignsV2Client, GetInstanceCommunicationLimitsCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, GetInstanceCommunicationLimitsCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // GetInstanceCommunicationLimitsRequest
|
|
38
|
+
* connectInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetInstanceCommunicationLimitsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetInstanceCommunicationLimitsResponse
|
|
43
|
+
* // communicationLimitsConfig: { // InstanceCommunicationLimitsConfig
|
|
44
|
+
* // allChannelSubtypes: { // CommunicationLimits Union: only one key present
|
|
45
|
+
* // communicationLimitsList: [ // CommunicationLimitList
|
|
46
|
+
* // { // CommunicationLimit
|
|
47
|
+
* // maxCountPerRecipient: Number("int"), // required
|
|
48
|
+
* // frequency: Number("int"), // required
|
|
49
|
+
* // unit: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param GetInstanceCommunicationLimitsCommandInput - {@link GetInstanceCommunicationLimitsCommandInput}
|
|
59
|
+
* @returns {@link GetInstanceCommunicationLimitsCommandOutput}
|
|
60
|
+
* @see {@link GetInstanceCommunicationLimitsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link GetInstanceCommunicationLimitsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* You do not have sufficient access to perform this action.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* Request processing failed because of an error or failure with the service.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* The specified resource was not found.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetInstanceCommunicationLimitsCommand extends GetInstanceCommunicationLimitsCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: GetInstanceCommunicationLimitsRequest;
|
|
87
|
+
output: GetInstanceCommunicationLimitsResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: GetInstanceCommunicationLimitsCommandInput;
|
|
91
|
+
output: GetInstanceCommunicationLimitsCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
|
|
4
|
+
import { PutInstanceCommunicationLimitsRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutInstanceCommunicationLimitsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutInstanceCommunicationLimitsCommandInput extends PutInstanceCommunicationLimitsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutInstanceCommunicationLimitsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutInstanceCommunicationLimitsCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutInstanceCommunicationLimitsCommand_base: {
|
|
25
|
+
new (input: PutInstanceCommunicationLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<PutInstanceCommunicationLimitsCommandInput, PutInstanceCommunicationLimitsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutInstanceCommunicationLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<PutInstanceCommunicationLimitsCommandInput, PutInstanceCommunicationLimitsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Put the instance communication limits. This API is idempotent.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConnectCampaignsV2Client, PutInstanceCommunicationLimitsCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
|
|
35
|
+
* // const { ConnectCampaignsV2Client, PutInstanceCommunicationLimitsCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
|
|
36
|
+
* const client = new ConnectCampaignsV2Client(config);
|
|
37
|
+
* const input = { // PutInstanceCommunicationLimitsRequest
|
|
38
|
+
* connectInstanceId: "STRING_VALUE", // required
|
|
39
|
+
* communicationLimitsConfig: { // InstanceCommunicationLimitsConfig
|
|
40
|
+
* allChannelSubtypes: { // CommunicationLimits Union: only one key present
|
|
41
|
+
* communicationLimitsList: [ // CommunicationLimitList
|
|
42
|
+
* { // CommunicationLimit
|
|
43
|
+
* maxCountPerRecipient: Number("int"), // required
|
|
44
|
+
* frequency: Number("int"), // required
|
|
45
|
+
* unit: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
51
|
+
* const command = new PutInstanceCommunicationLimitsCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // {};
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param PutInstanceCommunicationLimitsCommandInput - {@link PutInstanceCommunicationLimitsCommandInput}
|
|
58
|
+
* @returns {@link PutInstanceCommunicationLimitsCommandOutput}
|
|
59
|
+
* @see {@link PutInstanceCommunicationLimitsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link PutInstanceCommunicationLimitsCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* You do not have sufficient access to perform this action.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConflictException} (client fault)
|
|
67
|
+
* The request could not be processed because of conflict in the current state of the resource.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* Request processing failed because of an error or failure with the service.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* The specified resource was not found.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConnectCampaignsV2ServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class PutInstanceCommunicationLimitsCommand extends PutInstanceCommunicationLimitsCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: PutInstanceCommunicationLimitsRequest;
|
|
89
|
+
output: {};
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: PutInstanceCommunicationLimitsCommandInput;
|
|
93
|
+
output: PutInstanceCommunicationLimitsCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -10,12 +10,14 @@ export * from "./DescribeCampaignCommand";
|
|
|
10
10
|
export * from "./GetCampaignStateBatchCommand";
|
|
11
11
|
export * from "./GetCampaignStateCommand";
|
|
12
12
|
export * from "./GetConnectInstanceConfigCommand";
|
|
13
|
+
export * from "./GetInstanceCommunicationLimitsCommand";
|
|
13
14
|
export * from "./GetInstanceOnboardingJobStatusCommand";
|
|
14
15
|
export * from "./ListCampaignsCommand";
|
|
15
16
|
export * from "./ListConnectInstanceIntegrationsCommand";
|
|
16
17
|
export * from "./ListTagsForResourceCommand";
|
|
17
18
|
export * from "./PauseCampaignCommand";
|
|
18
19
|
export * from "./PutConnectInstanceIntegrationCommand";
|
|
20
|
+
export * from "./PutInstanceCommunicationLimitsCommand";
|
|
19
21
|
export * from "./PutOutboundRequestBatchCommand";
|
|
20
22
|
export * from "./PutProfileOutboundRequestBatchCommand";
|
|
21
23
|
export * from "./ResumeCampaignCommand";
|
|
@@ -403,6 +403,18 @@ export declare namespace CommunicationLimits {
|
|
|
403
403
|
}
|
|
404
404
|
const visit: <T>(value: CommunicationLimits, visitor: Visitor<T>) => T;
|
|
405
405
|
}
|
|
406
|
+
/**
|
|
407
|
+
* @public
|
|
408
|
+
* @enum
|
|
409
|
+
*/
|
|
410
|
+
export declare const InstanceLimitsHandling: {
|
|
411
|
+
readonly OPT_IN: "OPT_IN";
|
|
412
|
+
readonly OPT_OUT: "OPT_OUT";
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
export type InstanceLimitsHandling = (typeof InstanceLimitsHandling)[keyof typeof InstanceLimitsHandling];
|
|
406
418
|
/**
|
|
407
419
|
* Communication limits config
|
|
408
420
|
* @public
|
|
@@ -413,6 +425,11 @@ export interface CommunicationLimitsConfig {
|
|
|
413
425
|
* @public
|
|
414
426
|
*/
|
|
415
427
|
allChannelSubtypes?: CommunicationLimits | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* Instance limits handling
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
instanceLimitsHandling?: InstanceLimitsHandling | undefined;
|
|
416
433
|
}
|
|
417
434
|
/**
|
|
418
435
|
* @public
|
|
@@ -1382,6 +1399,39 @@ export interface GetConnectInstanceConfigResponse {
|
|
|
1382
1399
|
*/
|
|
1383
1400
|
connectInstanceConfig?: InstanceConfig | undefined;
|
|
1384
1401
|
}
|
|
1402
|
+
/**
|
|
1403
|
+
* The request for GetInstanceCommunicationLimits API.
|
|
1404
|
+
* @public
|
|
1405
|
+
*/
|
|
1406
|
+
export interface GetInstanceCommunicationLimitsRequest {
|
|
1407
|
+
/**
|
|
1408
|
+
* Amazon Connect Instance Id
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
connectInstanceId: string | undefined;
|
|
1412
|
+
}
|
|
1413
|
+
/**
|
|
1414
|
+
* Instance Communication limits config
|
|
1415
|
+
* @public
|
|
1416
|
+
*/
|
|
1417
|
+
export interface InstanceCommunicationLimitsConfig {
|
|
1418
|
+
/**
|
|
1419
|
+
* Communication limits
|
|
1420
|
+
* @public
|
|
1421
|
+
*/
|
|
1422
|
+
allChannelSubtypes?: CommunicationLimits | undefined;
|
|
1423
|
+
}
|
|
1424
|
+
/**
|
|
1425
|
+
* The response for GetInstanceCommunicationLimits API.
|
|
1426
|
+
* @public
|
|
1427
|
+
*/
|
|
1428
|
+
export interface GetInstanceCommunicationLimitsResponse {
|
|
1429
|
+
/**
|
|
1430
|
+
* Instance Communication limits config
|
|
1431
|
+
* @public
|
|
1432
|
+
*/
|
|
1433
|
+
communicationLimitsConfig?: InstanceCommunicationLimitsConfig | undefined;
|
|
1434
|
+
}
|
|
1385
1435
|
/**
|
|
1386
1436
|
* The request for GetInstanceOnboardingJobStatus API.
|
|
1387
1437
|
* @public
|
|
@@ -1811,6 +1861,22 @@ export interface PutConnectInstanceIntegrationRequest {
|
|
|
1811
1861
|
*/
|
|
1812
1862
|
integrationConfig: IntegrationConfig | undefined;
|
|
1813
1863
|
}
|
|
1864
|
+
/**
|
|
1865
|
+
* The request for PutInstanceCommunicationLimits API.
|
|
1866
|
+
* @public
|
|
1867
|
+
*/
|
|
1868
|
+
export interface PutInstanceCommunicationLimitsRequest {
|
|
1869
|
+
/**
|
|
1870
|
+
* Amazon Connect Instance Id
|
|
1871
|
+
* @public
|
|
1872
|
+
*/
|
|
1873
|
+
connectInstanceId: string | undefined;
|
|
1874
|
+
/**
|
|
1875
|
+
* Instance Communication limits config
|
|
1876
|
+
* @public
|
|
1877
|
+
*/
|
|
1878
|
+
communicationLimitsConfig: InstanceCommunicationLimitsConfig | undefined;
|
|
1879
|
+
}
|
|
1814
1880
|
/**
|
|
1815
1881
|
* Parameters for the Email Channel Subtype
|
|
1816
1882
|
* @public
|
|
@@ -12,12 +12,14 @@ import { DescribeCampaignCommandInput, DescribeCampaignCommandOutput } from "../
|
|
|
12
12
|
import { GetCampaignStateBatchCommandInput, GetCampaignStateBatchCommandOutput } from "../commands/GetCampaignStateBatchCommand";
|
|
13
13
|
import { GetCampaignStateCommandInput, GetCampaignStateCommandOutput } from "../commands/GetCampaignStateCommand";
|
|
14
14
|
import { GetConnectInstanceConfigCommandInput, GetConnectInstanceConfigCommandOutput } from "../commands/GetConnectInstanceConfigCommand";
|
|
15
|
+
import { GetInstanceCommunicationLimitsCommandInput, GetInstanceCommunicationLimitsCommandOutput } from "../commands/GetInstanceCommunicationLimitsCommand";
|
|
15
16
|
import { GetInstanceOnboardingJobStatusCommandInput, GetInstanceOnboardingJobStatusCommandOutput } from "../commands/GetInstanceOnboardingJobStatusCommand";
|
|
16
17
|
import { ListCampaignsCommandInput, ListCampaignsCommandOutput } from "../commands/ListCampaignsCommand";
|
|
17
18
|
import { ListConnectInstanceIntegrationsCommandInput, ListConnectInstanceIntegrationsCommandOutput } from "../commands/ListConnectInstanceIntegrationsCommand";
|
|
18
19
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
19
20
|
import { PauseCampaignCommandInput, PauseCampaignCommandOutput } from "../commands/PauseCampaignCommand";
|
|
20
21
|
import { PutConnectInstanceIntegrationCommandInput, PutConnectInstanceIntegrationCommandOutput } from "../commands/PutConnectInstanceIntegrationCommand";
|
|
22
|
+
import { PutInstanceCommunicationLimitsCommandInput, PutInstanceCommunicationLimitsCommandOutput } from "../commands/PutInstanceCommunicationLimitsCommand";
|
|
21
23
|
import { PutOutboundRequestBatchCommandInput, PutOutboundRequestBatchCommandOutput } from "../commands/PutOutboundRequestBatchCommand";
|
|
22
24
|
import { PutProfileOutboundRequestBatchCommandInput, PutProfileOutboundRequestBatchCommandOutput } from "../commands/PutProfileOutboundRequestBatchCommand";
|
|
23
25
|
import { ResumeCampaignCommandInput, ResumeCampaignCommandOutput } from "../commands/ResumeCampaignCommand";
|
|
@@ -81,6 +83,10 @@ export declare const se_GetCampaignStateBatchCommand: (input: GetCampaignStateBa
|
|
|
81
83
|
* serializeAws_restJson1GetConnectInstanceConfigCommand
|
|
82
84
|
*/
|
|
83
85
|
export declare const se_GetConnectInstanceConfigCommand: (input: GetConnectInstanceConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
86
|
+
/**
|
|
87
|
+
* serializeAws_restJson1GetInstanceCommunicationLimitsCommand
|
|
88
|
+
*/
|
|
89
|
+
export declare const se_GetInstanceCommunicationLimitsCommand: (input: GetInstanceCommunicationLimitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
90
|
/**
|
|
85
91
|
* serializeAws_restJson1GetInstanceOnboardingJobStatusCommand
|
|
86
92
|
*/
|
|
@@ -105,6 +111,10 @@ export declare const se_PauseCampaignCommand: (input: PauseCampaignCommandInput,
|
|
|
105
111
|
* serializeAws_restJson1PutConnectInstanceIntegrationCommand
|
|
106
112
|
*/
|
|
107
113
|
export declare const se_PutConnectInstanceIntegrationCommand: (input: PutConnectInstanceIntegrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
114
|
+
/**
|
|
115
|
+
* serializeAws_restJson1PutInstanceCommunicationLimitsCommand
|
|
116
|
+
*/
|
|
117
|
+
export declare const se_PutInstanceCommunicationLimitsCommand: (input: PutInstanceCommunicationLimitsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
108
118
|
/**
|
|
109
119
|
* serializeAws_restJson1PutOutboundRequestBatchCommand
|
|
110
120
|
*/
|
|
@@ -213,6 +223,10 @@ export declare const de_GetCampaignStateBatchCommand: (output: __HttpResponse, c
|
|
|
213
223
|
* deserializeAws_restJson1GetConnectInstanceConfigCommand
|
|
214
224
|
*/
|
|
215
225
|
export declare const de_GetConnectInstanceConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConnectInstanceConfigCommandOutput>;
|
|
226
|
+
/**
|
|
227
|
+
* deserializeAws_restJson1GetInstanceCommunicationLimitsCommand
|
|
228
|
+
*/
|
|
229
|
+
export declare const de_GetInstanceCommunicationLimitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInstanceCommunicationLimitsCommandOutput>;
|
|
216
230
|
/**
|
|
217
231
|
* deserializeAws_restJson1GetInstanceOnboardingJobStatusCommand
|
|
218
232
|
*/
|
|
@@ -237,6 +251,10 @@ export declare const de_PauseCampaignCommand: (output: __HttpResponse, context:
|
|
|
237
251
|
* deserializeAws_restJson1PutConnectInstanceIntegrationCommand
|
|
238
252
|
*/
|
|
239
253
|
export declare const de_PutConnectInstanceIntegrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutConnectInstanceIntegrationCommandOutput>;
|
|
254
|
+
/**
|
|
255
|
+
* deserializeAws_restJson1PutInstanceCommunicationLimitsCommand
|
|
256
|
+
*/
|
|
257
|
+
export declare const de_PutInstanceCommunicationLimitsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutInstanceCommunicationLimitsCommandOutput>;
|
|
240
258
|
/**
|
|
241
259
|
* deserializeAws_restJson1PutOutboundRequestBatchCommand
|
|
242
260
|
*/
|
|
@@ -47,6 +47,10 @@ import {
|
|
|
47
47
|
GetConnectInstanceConfigCommandInput,
|
|
48
48
|
GetConnectInstanceConfigCommandOutput,
|
|
49
49
|
} from "./commands/GetConnectInstanceConfigCommand";
|
|
50
|
+
import {
|
|
51
|
+
GetInstanceCommunicationLimitsCommandInput,
|
|
52
|
+
GetInstanceCommunicationLimitsCommandOutput,
|
|
53
|
+
} from "./commands/GetInstanceCommunicationLimitsCommand";
|
|
50
54
|
import {
|
|
51
55
|
GetInstanceOnboardingJobStatusCommandInput,
|
|
52
56
|
GetInstanceOnboardingJobStatusCommandOutput,
|
|
@@ -71,6 +75,10 @@ import {
|
|
|
71
75
|
PutConnectInstanceIntegrationCommandInput,
|
|
72
76
|
PutConnectInstanceIntegrationCommandOutput,
|
|
73
77
|
} from "./commands/PutConnectInstanceIntegrationCommand";
|
|
78
|
+
import {
|
|
79
|
+
PutInstanceCommunicationLimitsCommandInput,
|
|
80
|
+
PutInstanceCommunicationLimitsCommandOutput,
|
|
81
|
+
} from "./commands/PutInstanceCommunicationLimitsCommand";
|
|
74
82
|
import {
|
|
75
83
|
PutOutboundRequestBatchCommandInput,
|
|
76
84
|
PutOutboundRequestBatchCommandOutput,
|
|
@@ -301,6 +309,19 @@ export interface ConnectCampaignsV2 {
|
|
|
301
309
|
options: __HttpHandlerOptions,
|
|
302
310
|
cb: (err: any, data?: GetConnectInstanceConfigCommandOutput) => void
|
|
303
311
|
): void;
|
|
312
|
+
getInstanceCommunicationLimits(
|
|
313
|
+
args: GetInstanceCommunicationLimitsCommandInput,
|
|
314
|
+
options?: __HttpHandlerOptions
|
|
315
|
+
): Promise<GetInstanceCommunicationLimitsCommandOutput>;
|
|
316
|
+
getInstanceCommunicationLimits(
|
|
317
|
+
args: GetInstanceCommunicationLimitsCommandInput,
|
|
318
|
+
cb: (err: any, data?: GetInstanceCommunicationLimitsCommandOutput) => void
|
|
319
|
+
): void;
|
|
320
|
+
getInstanceCommunicationLimits(
|
|
321
|
+
args: GetInstanceCommunicationLimitsCommandInput,
|
|
322
|
+
options: __HttpHandlerOptions,
|
|
323
|
+
cb: (err: any, data?: GetInstanceCommunicationLimitsCommandOutput) => void
|
|
324
|
+
): void;
|
|
304
325
|
getInstanceOnboardingJobStatus(
|
|
305
326
|
args: GetInstanceOnboardingJobStatusCommandInput,
|
|
306
327
|
options?: __HttpHandlerOptions
|
|
@@ -380,6 +401,19 @@ export interface ConnectCampaignsV2 {
|
|
|
380
401
|
options: __HttpHandlerOptions,
|
|
381
402
|
cb: (err: any, data?: PutConnectInstanceIntegrationCommandOutput) => void
|
|
382
403
|
): void;
|
|
404
|
+
putInstanceCommunicationLimits(
|
|
405
|
+
args: PutInstanceCommunicationLimitsCommandInput,
|
|
406
|
+
options?: __HttpHandlerOptions
|
|
407
|
+
): Promise<PutInstanceCommunicationLimitsCommandOutput>;
|
|
408
|
+
putInstanceCommunicationLimits(
|
|
409
|
+
args: PutInstanceCommunicationLimitsCommandInput,
|
|
410
|
+
cb: (err: any, data?: PutInstanceCommunicationLimitsCommandOutput) => void
|
|
411
|
+
): void;
|
|
412
|
+
putInstanceCommunicationLimits(
|
|
413
|
+
args: PutInstanceCommunicationLimitsCommandInput,
|
|
414
|
+
options: __HttpHandlerOptions,
|
|
415
|
+
cb: (err: any, data?: PutInstanceCommunicationLimitsCommandOutput) => void
|
|
416
|
+
): void;
|
|
383
417
|
putOutboundRequestBatch(
|
|
384
418
|
args: PutOutboundRequestBatchCommandInput,
|
|
385
419
|
options?: __HttpHandlerOptions
|
|
@@ -93,6 +93,10 @@ import {
|
|
|
93
93
|
GetConnectInstanceConfigCommandInput,
|
|
94
94
|
GetConnectInstanceConfigCommandOutput,
|
|
95
95
|
} from "./commands/GetConnectInstanceConfigCommand";
|
|
96
|
+
import {
|
|
97
|
+
GetInstanceCommunicationLimitsCommandInput,
|
|
98
|
+
GetInstanceCommunicationLimitsCommandOutput,
|
|
99
|
+
} from "./commands/GetInstanceCommunicationLimitsCommand";
|
|
96
100
|
import {
|
|
97
101
|
GetInstanceOnboardingJobStatusCommandInput,
|
|
98
102
|
GetInstanceOnboardingJobStatusCommandOutput,
|
|
@@ -117,6 +121,10 @@ import {
|
|
|
117
121
|
PutConnectInstanceIntegrationCommandInput,
|
|
118
122
|
PutConnectInstanceIntegrationCommandOutput,
|
|
119
123
|
} from "./commands/PutConnectInstanceIntegrationCommand";
|
|
124
|
+
import {
|
|
125
|
+
PutInstanceCommunicationLimitsCommandInput,
|
|
126
|
+
PutInstanceCommunicationLimitsCommandOutput,
|
|
127
|
+
} from "./commands/PutInstanceCommunicationLimitsCommand";
|
|
120
128
|
import {
|
|
121
129
|
PutOutboundRequestBatchCommandInput,
|
|
122
130
|
PutOutboundRequestBatchCommandOutput,
|
|
@@ -197,12 +205,14 @@ export type ServiceInputTypes =
|
|
|
197
205
|
| GetCampaignStateBatchCommandInput
|
|
198
206
|
| GetCampaignStateCommandInput
|
|
199
207
|
| GetConnectInstanceConfigCommandInput
|
|
208
|
+
| GetInstanceCommunicationLimitsCommandInput
|
|
200
209
|
| GetInstanceOnboardingJobStatusCommandInput
|
|
201
210
|
| ListCampaignsCommandInput
|
|
202
211
|
| ListConnectInstanceIntegrationsCommandInput
|
|
203
212
|
| ListTagsForResourceCommandInput
|
|
204
213
|
| PauseCampaignCommandInput
|
|
205
214
|
| PutConnectInstanceIntegrationCommandInput
|
|
215
|
+
| PutInstanceCommunicationLimitsCommandInput
|
|
206
216
|
| PutOutboundRequestBatchCommandInput
|
|
207
217
|
| PutProfileOutboundRequestBatchCommandInput
|
|
208
218
|
| ResumeCampaignCommandInput
|
|
@@ -231,12 +241,14 @@ export type ServiceOutputTypes =
|
|
|
231
241
|
| GetCampaignStateBatchCommandOutput
|
|
232
242
|
| GetCampaignStateCommandOutput
|
|
233
243
|
| GetConnectInstanceConfigCommandOutput
|
|
244
|
+
| GetInstanceCommunicationLimitsCommandOutput
|
|
234
245
|
| GetInstanceOnboardingJobStatusCommandOutput
|
|
235
246
|
| ListCampaignsCommandOutput
|
|
236
247
|
| ListConnectInstanceIntegrationsCommandOutput
|
|
237
248
|
| ListTagsForResourceCommandOutput
|
|
238
249
|
| PauseCampaignCommandOutput
|
|
239
250
|
| PutConnectInstanceIntegrationCommandOutput
|
|
251
|
+
| PutInstanceCommunicationLimitsCommandOutput
|
|
240
252
|
| PutOutboundRequestBatchCommandOutput
|
|
241
253
|
| PutProfileOutboundRequestBatchCommandOutput
|
|
242
254
|
| ResumeCampaignCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectCampaignsV2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectCampaignsV2Client";
|
|
8
|
+
import {
|
|
9
|
+
GetInstanceCommunicationLimitsRequest,
|
|
10
|
+
GetInstanceCommunicationLimitsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetInstanceCommunicationLimitsCommandInput
|
|
15
|
+
extends GetInstanceCommunicationLimitsRequest {}
|
|
16
|
+
export interface GetInstanceCommunicationLimitsCommandOutput
|
|
17
|
+
extends GetInstanceCommunicationLimitsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetInstanceCommunicationLimitsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetInstanceCommunicationLimitsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetInstanceCommunicationLimitsCommandInput,
|
|
24
|
+
GetInstanceCommunicationLimitsCommandOutput,
|
|
25
|
+
ConnectCampaignsV2ClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetInstanceCommunicationLimitsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetInstanceCommunicationLimitsCommandInput,
|
|
33
|
+
GetInstanceCommunicationLimitsCommandOutput,
|
|
34
|
+
ConnectCampaignsV2ClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetInstanceCommunicationLimitsCommand extends GetInstanceCommunicationLimitsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetInstanceCommunicationLimitsRequest;
|
|
44
|
+
output: GetInstanceCommunicationLimitsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetInstanceCommunicationLimitsCommandInput;
|
|
48
|
+
output: GetInstanceCommunicationLimitsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConnectCampaignsV2ClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConnectCampaignsV2Client";
|
|
8
|
+
import { PutInstanceCommunicationLimitsRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface PutInstanceCommunicationLimitsCommandInput
|
|
12
|
+
extends PutInstanceCommunicationLimitsRequest {}
|
|
13
|
+
export interface PutInstanceCommunicationLimitsCommandOutput
|
|
14
|
+
extends __MetadataBearer {}
|
|
15
|
+
declare const PutInstanceCommunicationLimitsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: PutInstanceCommunicationLimitsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
PutInstanceCommunicationLimitsCommandInput,
|
|
20
|
+
PutInstanceCommunicationLimitsCommandOutput,
|
|
21
|
+
ConnectCampaignsV2ClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: PutInstanceCommunicationLimitsCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
PutInstanceCommunicationLimitsCommandInput,
|
|
29
|
+
PutInstanceCommunicationLimitsCommandOutput,
|
|
30
|
+
ConnectCampaignsV2ClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class PutInstanceCommunicationLimitsCommand extends PutInstanceCommunicationLimitsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: PutInstanceCommunicationLimitsRequest;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: PutInstanceCommunicationLimitsCommandInput;
|
|
44
|
+
output: PutInstanceCommunicationLimitsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -10,12 +10,14 @@ export * from "./DescribeCampaignCommand";
|
|
|
10
10
|
export * from "./GetCampaignStateBatchCommand";
|
|
11
11
|
export * from "./GetCampaignStateCommand";
|
|
12
12
|
export * from "./GetConnectInstanceConfigCommand";
|
|
13
|
+
export * from "./GetInstanceCommunicationLimitsCommand";
|
|
13
14
|
export * from "./GetInstanceOnboardingJobStatusCommand";
|
|
14
15
|
export * from "./ListCampaignsCommand";
|
|
15
16
|
export * from "./ListConnectInstanceIntegrationsCommand";
|
|
16
17
|
export * from "./ListTagsForResourceCommand";
|
|
17
18
|
export * from "./PauseCampaignCommand";
|
|
18
19
|
export * from "./PutConnectInstanceIntegrationCommand";
|
|
20
|
+
export * from "./PutInstanceCommunicationLimitsCommand";
|
|
19
21
|
export * from "./PutOutboundRequestBatchCommand";
|
|
20
22
|
export * from "./PutProfileOutboundRequestBatchCommand";
|
|
21
23
|
export * from "./ResumeCampaignCommand";
|
|
@@ -162,8 +162,15 @@ export declare namespace CommunicationLimits {
|
|
|
162
162
|
}
|
|
163
163
|
const visit: <T>(value: CommunicationLimits, visitor: Visitor<T>) => T;
|
|
164
164
|
}
|
|
165
|
+
export declare const InstanceLimitsHandling: {
|
|
166
|
+
readonly OPT_IN: "OPT_IN";
|
|
167
|
+
readonly OPT_OUT: "OPT_OUT";
|
|
168
|
+
};
|
|
169
|
+
export type InstanceLimitsHandling =
|
|
170
|
+
(typeof InstanceLimitsHandling)[keyof typeof InstanceLimitsHandling];
|
|
165
171
|
export interface CommunicationLimitsConfig {
|
|
166
172
|
allChannelSubtypes?: CommunicationLimits | undefined;
|
|
173
|
+
instanceLimitsHandling?: InstanceLimitsHandling | undefined;
|
|
167
174
|
}
|
|
168
175
|
export declare const DayOfWeek: {
|
|
169
176
|
readonly FRIDAY: "FRIDAY";
|
|
@@ -508,6 +515,15 @@ export interface InstanceConfig {
|
|
|
508
515
|
export interface GetConnectInstanceConfigResponse {
|
|
509
516
|
connectInstanceConfig?: InstanceConfig | undefined;
|
|
510
517
|
}
|
|
518
|
+
export interface GetInstanceCommunicationLimitsRequest {
|
|
519
|
+
connectInstanceId: string | undefined;
|
|
520
|
+
}
|
|
521
|
+
export interface InstanceCommunicationLimitsConfig {
|
|
522
|
+
allChannelSubtypes?: CommunicationLimits | undefined;
|
|
523
|
+
}
|
|
524
|
+
export interface GetInstanceCommunicationLimitsResponse {
|
|
525
|
+
communicationLimitsConfig?: InstanceCommunicationLimitsConfig | undefined;
|
|
526
|
+
}
|
|
511
527
|
export interface GetInstanceOnboardingJobStatusRequest {
|
|
512
528
|
connectInstanceId: string | undefined;
|
|
513
529
|
}
|
|
@@ -663,6 +679,10 @@ export interface PutConnectInstanceIntegrationRequest {
|
|
|
663
679
|
connectInstanceId: string | undefined;
|
|
664
680
|
integrationConfig: IntegrationConfig | undefined;
|
|
665
681
|
}
|
|
682
|
+
export interface PutInstanceCommunicationLimitsRequest {
|
|
683
|
+
connectInstanceId: string | undefined;
|
|
684
|
+
communicationLimitsConfig: InstanceCommunicationLimitsConfig | undefined;
|
|
685
|
+
}
|
|
666
686
|
export interface EmailChannelSubtypeParameters {
|
|
667
687
|
destinationEmailAddress: string | undefined;
|
|
668
688
|
connectSourceEmailAddress?: string | undefined;
|
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
GetConnectInstanceConfigCommandInput,
|
|
52
52
|
GetConnectInstanceConfigCommandOutput,
|
|
53
53
|
} from "../commands/GetConnectInstanceConfigCommand";
|
|
54
|
+
import {
|
|
55
|
+
GetInstanceCommunicationLimitsCommandInput,
|
|
56
|
+
GetInstanceCommunicationLimitsCommandOutput,
|
|
57
|
+
} from "../commands/GetInstanceCommunicationLimitsCommand";
|
|
54
58
|
import {
|
|
55
59
|
GetInstanceOnboardingJobStatusCommandInput,
|
|
56
60
|
GetInstanceOnboardingJobStatusCommandOutput,
|
|
@@ -75,6 +79,10 @@ import {
|
|
|
75
79
|
PutConnectInstanceIntegrationCommandInput,
|
|
76
80
|
PutConnectInstanceIntegrationCommandOutput,
|
|
77
81
|
} from "../commands/PutConnectInstanceIntegrationCommand";
|
|
82
|
+
import {
|
|
83
|
+
PutInstanceCommunicationLimitsCommandInput,
|
|
84
|
+
PutInstanceCommunicationLimitsCommandOutput,
|
|
85
|
+
} from "../commands/PutInstanceCommunicationLimitsCommand";
|
|
78
86
|
import {
|
|
79
87
|
PutOutboundRequestBatchCommandInput,
|
|
80
88
|
PutOutboundRequestBatchCommandOutput,
|
|
@@ -183,6 +191,10 @@ export declare const se_GetConnectInstanceConfigCommand: (
|
|
|
183
191
|
input: GetConnectInstanceConfigCommandInput,
|
|
184
192
|
context: __SerdeContext
|
|
185
193
|
) => Promise<__HttpRequest>;
|
|
194
|
+
export declare const se_GetInstanceCommunicationLimitsCommand: (
|
|
195
|
+
input: GetInstanceCommunicationLimitsCommandInput,
|
|
196
|
+
context: __SerdeContext
|
|
197
|
+
) => Promise<__HttpRequest>;
|
|
186
198
|
export declare const se_GetInstanceOnboardingJobStatusCommand: (
|
|
187
199
|
input: GetInstanceOnboardingJobStatusCommandInput,
|
|
188
200
|
context: __SerdeContext
|
|
@@ -207,6 +219,10 @@ export declare const se_PutConnectInstanceIntegrationCommand: (
|
|
|
207
219
|
input: PutConnectInstanceIntegrationCommandInput,
|
|
208
220
|
context: __SerdeContext
|
|
209
221
|
) => Promise<__HttpRequest>;
|
|
222
|
+
export declare const se_PutInstanceCommunicationLimitsCommand: (
|
|
223
|
+
input: PutInstanceCommunicationLimitsCommandInput,
|
|
224
|
+
context: __SerdeContext
|
|
225
|
+
) => Promise<__HttpRequest>;
|
|
210
226
|
export declare const se_PutOutboundRequestBatchCommand: (
|
|
211
227
|
input: PutOutboundRequestBatchCommandInput,
|
|
212
228
|
context: __SerdeContext
|
|
@@ -315,6 +331,10 @@ export declare const de_GetConnectInstanceConfigCommand: (
|
|
|
315
331
|
output: __HttpResponse,
|
|
316
332
|
context: __SerdeContext
|
|
317
333
|
) => Promise<GetConnectInstanceConfigCommandOutput>;
|
|
334
|
+
export declare const de_GetInstanceCommunicationLimitsCommand: (
|
|
335
|
+
output: __HttpResponse,
|
|
336
|
+
context: __SerdeContext
|
|
337
|
+
) => Promise<GetInstanceCommunicationLimitsCommandOutput>;
|
|
318
338
|
export declare const de_GetInstanceOnboardingJobStatusCommand: (
|
|
319
339
|
output: __HttpResponse,
|
|
320
340
|
context: __SerdeContext
|
|
@@ -339,6 +359,10 @@ export declare const de_PutConnectInstanceIntegrationCommand: (
|
|
|
339
359
|
output: __HttpResponse,
|
|
340
360
|
context: __SerdeContext
|
|
341
361
|
) => Promise<PutConnectInstanceIntegrationCommandOutput>;
|
|
362
|
+
export declare const de_PutInstanceCommunicationLimitsCommand: (
|
|
363
|
+
output: __HttpResponse,
|
|
364
|
+
context: __SerdeContext
|
|
365
|
+
) => Promise<PutInstanceCommunicationLimitsCommandOutput>;
|
|
342
366
|
export declare const de_PutOutboundRequestBatchCommand: (
|
|
343
367
|
output: __HttpResponse,
|
|
344
368
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaignsv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcampaignsv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.829.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|