@aws-sdk/client-connectcampaignsv2 3.826.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 +5 -5
|
@@ -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",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.826.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.828.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.828.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
30
|
"@aws-sdk/types": "3.821.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.828.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.828.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.5.3",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.4",
|