@aws-sdk/client-connectcampaignsv2 3.1031.0 → 3.1032.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.
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import type { DeleteCampaignEntryLimitsRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteCampaignEntryLimitsCommand}.
14
+ */
15
+ export interface DeleteCampaignEntryLimitsCommandInput extends DeleteCampaignEntryLimitsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteCampaignEntryLimitsCommand}.
21
+ */
22
+ export interface DeleteCampaignEntryLimitsCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteCampaignEntryLimitsCommand_base: {
25
+ new (input: DeleteCampaignEntryLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCampaignEntryLimitsCommandInput, DeleteCampaignEntryLimitsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteCampaignEntryLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCampaignEntryLimitsCommandInput, DeleteCampaignEntryLimitsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes the entry limits config for a campaign. 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, DeleteCampaignEntryLimitsCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, DeleteCampaignEntryLimitsCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * // import type { ConnectCampaignsV2ClientConfig } from "@aws-sdk/client-connectcampaignsv2";
37
+ * const config = {}; // type is ConnectCampaignsV2ClientConfig
38
+ * const client = new ConnectCampaignsV2Client(config);
39
+ * const input = { // DeleteCampaignEntryLimitsRequest
40
+ * id: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteCampaignEntryLimitsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteCampaignEntryLimitsCommandInput - {@link DeleteCampaignEntryLimitsCommandInput}
49
+ * @returns {@link DeleteCampaignEntryLimitsCommandOutput}
50
+ * @see {@link DeleteCampaignEntryLimitsCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteCampaignEntryLimitsCommandOutput} for command's `response` shape.
52
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * You do not have sufficient access to perform this action.
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * The request could not be processed because of conflict in the current state of the resource.
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * Request processing failed because of an error or failure with the service.
62
+ *
63
+ * @throws {@link InvalidCampaignStateException} (client fault)
64
+ * The request could not be processed because of conflict in the current state of the campaign.
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * The specified resource was not found.
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * The input fails to satisfy the constraints specified by an AWS service.
71
+ *
72
+ * @throws {@link ConnectCampaignsV2ServiceException}
73
+ * <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
74
+ *
75
+ *
76
+ * @public
77
+ */
78
+ export declare class DeleteCampaignEntryLimitsCommand extends DeleteCampaignEntryLimitsCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: DeleteCampaignEntryLimitsRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: DeleteCampaignEntryLimitsCommandInput;
87
+ output: DeleteCampaignEntryLimitsCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -124,6 +124,10 @@ declare const DescribeCampaignCommand_base: {
124
124
  * // endTime: new Date("TIMESTAMP"), // required
125
125
  * // refreshFrequency: "STRING_VALUE",
126
126
  * // },
127
+ * // entryLimitsConfig: { // EntryLimitsConfig
128
+ * // maxEntryCount: Number("int"), // required
129
+ * // minEntryInterval: "STRING_VALUE", // required
130
+ * // },
127
131
  * // communicationTimeConfig: { // CommunicationTimeConfig
128
132
  * // localTimeZoneConfig: { // LocalTimeZoneConfig
129
133
  * // defaultTimeZone: "STRING_VALUE",
@@ -65,6 +65,10 @@ declare const ListCampaignsCommand_base: {
65
65
  * // endTime: new Date("TIMESTAMP"), // required
66
66
  * // refreshFrequency: "STRING_VALUE",
67
67
  * // },
68
+ * // entryLimitsConfig: { // EntryLimitsConfig
69
+ * // maxEntryCount: Number("int"), // required
70
+ * // minEntryInterval: "STRING_VALUE", // required
71
+ * // },
68
72
  * // connectCampaignFlowArn: "STRING_VALUE",
69
73
  * // },
70
74
  * // ],
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import type { UpdateCampaignEntryLimitsRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateCampaignEntryLimitsCommand}.
14
+ */
15
+ export interface UpdateCampaignEntryLimitsCommandInput extends UpdateCampaignEntryLimitsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateCampaignEntryLimitsCommand}.
21
+ */
22
+ export interface UpdateCampaignEntryLimitsCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const UpdateCampaignEntryLimitsCommand_base: {
25
+ new (input: UpdateCampaignEntryLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCampaignEntryLimitsCommandInput, UpdateCampaignEntryLimitsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateCampaignEntryLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCampaignEntryLimitsCommandInput, UpdateCampaignEntryLimitsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Updates the entry limits config for a campaign. 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, UpdateCampaignEntryLimitsCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, UpdateCampaignEntryLimitsCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * // import type { ConnectCampaignsV2ClientConfig } from "@aws-sdk/client-connectcampaignsv2";
37
+ * const config = {}; // type is ConnectCampaignsV2ClientConfig
38
+ * const client = new ConnectCampaignsV2Client(config);
39
+ * const input = { // UpdateCampaignEntryLimitsRequest
40
+ * id: "STRING_VALUE", // required
41
+ * entryLimitsConfig: { // EntryLimitsConfig
42
+ * maxEntryCount: Number("int"), // required
43
+ * minEntryInterval: "STRING_VALUE", // required
44
+ * },
45
+ * };
46
+ * const command = new UpdateCampaignEntryLimitsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // {};
49
+ *
50
+ * ```
51
+ *
52
+ * @param UpdateCampaignEntryLimitsCommandInput - {@link UpdateCampaignEntryLimitsCommandInput}
53
+ * @returns {@link UpdateCampaignEntryLimitsCommandOutput}
54
+ * @see {@link UpdateCampaignEntryLimitsCommandInput} for command's `input` shape.
55
+ * @see {@link UpdateCampaignEntryLimitsCommandOutput} for command's `response` shape.
56
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * You do not have sufficient access to perform this action.
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * The request could not be processed because of conflict in the current state of the resource.
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * Request processing failed because of an error or failure with the service.
66
+ *
67
+ * @throws {@link InvalidCampaignStateException} (client fault)
68
+ * The request could not be processed because of conflict in the current state of the campaign.
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 UpdateCampaignEntryLimitsCommand extends UpdateCampaignEntryLimitsCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: UpdateCampaignEntryLimitsRequest;
87
+ output: {};
88
+ };
89
+ sdk: {
90
+ input: UpdateCampaignEntryLimitsCommandInput;
91
+ output: UpdateCampaignEntryLimitsCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -3,6 +3,7 @@ export * from "./DeleteCampaignChannelSubtypeConfigCommand";
3
3
  export * from "./DeleteCampaignCommand";
4
4
  export * from "./DeleteCampaignCommunicationLimitsCommand";
5
5
  export * from "./DeleteCampaignCommunicationTimeCommand";
6
+ export * from "./DeleteCampaignEntryLimitsCommand";
6
7
  export * from "./DeleteConnectInstanceConfigCommand";
7
8
  export * from "./DeleteConnectInstanceIntegrationCommand";
8
9
  export * from "./DeleteInstanceOnboardingJobCommand";
@@ -29,6 +30,7 @@ export * from "./UntagResourceCommand";
29
30
  export * from "./UpdateCampaignChannelSubtypeConfigCommand";
30
31
  export * from "./UpdateCampaignCommunicationLimitsCommand";
31
32
  export * from "./UpdateCampaignCommunicationTimeCommand";
33
+ export * from "./UpdateCampaignEntryLimitsCommand";
32
34
  export * from "./UpdateCampaignFlowAssociationCommand";
33
35
  export * from "./UpdateCampaignNameCommand";
34
36
  export * from "./UpdateCampaignScheduleCommand";
@@ -679,6 +679,22 @@ export interface CommunicationTimeConfig {
679
679
  */
680
680
  whatsApp?: TimeWindow | undefined;
681
681
  }
682
+ /**
683
+ * Campaign entry limits config
684
+ * @public
685
+ */
686
+ export interface EntryLimitsConfig {
687
+ /**
688
+ * Maximum number of times a participant can enter the campaign. A value of 0 indicates unlimited entries. Values of 1 or greater specify the exact number of entries allowed.
689
+ * @public
690
+ */
691
+ maxEntryCount: number | undefined;
692
+ /**
693
+ * Minimum time interval that must pass before a participant can enter the campaign again.
694
+ * @public
695
+ */
696
+ minEntryInterval: string | undefined;
697
+ }
682
698
  /**
683
699
  * Campaign schedule
684
700
  * @public
@@ -796,6 +812,11 @@ export interface CreateCampaignRequest {
796
812
  * @public
797
813
  */
798
814
  schedule?: Schedule | undefined;
815
+ /**
816
+ * Campaign entry limits config
817
+ * @public
818
+ */
819
+ entryLimitsConfig?: EntryLimitsConfig | undefined;
799
820
  /**
800
821
  * Campaign communication time config
801
822
  * @public
@@ -892,6 +913,17 @@ export interface DeleteCampaignCommunicationTimeRequest {
892
913
  */
893
914
  config: CommunicationTimeConfigType | undefined;
894
915
  }
916
+ /**
917
+ * The request for DeleteCampaignEntryLimits API.
918
+ * @public
919
+ */
920
+ export interface DeleteCampaignEntryLimitsRequest {
921
+ /**
922
+ * Identifier representing a Campaign
923
+ * @public
924
+ */
925
+ id: string | undefined;
926
+ }
895
927
  /**
896
928
  * The request for DeleteConnectInstanceConfig API.
897
929
  * @public
@@ -1088,6 +1120,11 @@ export interface Campaign {
1088
1120
  * @public
1089
1121
  */
1090
1122
  schedule?: Schedule | undefined;
1123
+ /**
1124
+ * Campaign entry limits config
1125
+ * @public
1126
+ */
1127
+ entryLimitsConfig?: EntryLimitsConfig | undefined;
1091
1128
  /**
1092
1129
  * Campaign communication time config
1093
1130
  * @public
@@ -1430,6 +1467,11 @@ export interface CampaignSummary {
1430
1467
  * @public
1431
1468
  */
1432
1469
  schedule?: Schedule | undefined;
1470
+ /**
1471
+ * Campaign entry limits config
1472
+ * @public
1473
+ */
1474
+ entryLimitsConfig?: EntryLimitsConfig | undefined;
1433
1475
  /**
1434
1476
  * Amazon Resource Names(ARN)
1435
1477
  * @public
@@ -2255,6 +2297,22 @@ export interface UpdateCampaignCommunicationTimeRequest {
2255
2297
  */
2256
2298
  communicationTimeConfig: CommunicationTimeConfig | undefined;
2257
2299
  }
2300
+ /**
2301
+ * The request for UpdateCampaignEntryLimits API.
2302
+ * @public
2303
+ */
2304
+ export interface UpdateCampaignEntryLimitsRequest {
2305
+ /**
2306
+ * Identifier representing a Campaign
2307
+ * @public
2308
+ */
2309
+ id: string | undefined;
2310
+ /**
2311
+ * Campaign entry limits config
2312
+ * @public
2313
+ */
2314
+ entryLimitsConfig: EntryLimitsConfig | undefined;
2315
+ }
2258
2316
  /**
2259
2317
  * The request for UpdateCampaignFlowAssociation API.
2260
2318
  * @public
@@ -33,6 +33,7 @@ export declare var CustomerProfilesIntegrationSummary$: StaticStructureSchema;
33
33
  export declare var DeleteCampaignChannelSubtypeConfigRequest$: StaticStructureSchema;
34
34
  export declare var DeleteCampaignCommunicationLimitsRequest$: StaticStructureSchema;
35
35
  export declare var DeleteCampaignCommunicationTimeRequest$: StaticStructureSchema;
36
+ export declare var DeleteCampaignEntryLimitsRequest$: StaticStructureSchema;
36
37
  export declare var DeleteCampaignRequest$: StaticStructureSchema;
37
38
  export declare var DeleteConnectInstanceConfigRequest$: StaticStructureSchema;
38
39
  export declare var DeleteConnectInstanceIntegrationRequest$: StaticStructureSchema;
@@ -43,6 +44,7 @@ export declare var EmailChannelSubtypeConfig$: StaticStructureSchema;
43
44
  export declare var EmailChannelSubtypeParameters$: StaticStructureSchema;
44
45
  export declare var EmailOutboundConfig$: StaticStructureSchema;
45
46
  export declare var EncryptionConfig$: StaticStructureSchema;
47
+ export declare var EntryLimitsConfig$: StaticStructureSchema;
46
48
  export declare var EventTrigger$: StaticStructureSchema;
47
49
  export declare var FailedCampaignStateResponse$: StaticStructureSchema;
48
50
  export declare var FailedProfileOutboundRequest$: StaticStructureSchema;
@@ -110,6 +112,7 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
110
112
  export declare var UpdateCampaignChannelSubtypeConfigRequest$: StaticStructureSchema;
111
113
  export declare var UpdateCampaignCommunicationLimitsRequest$: StaticStructureSchema;
112
114
  export declare var UpdateCampaignCommunicationTimeRequest$: StaticStructureSchema;
115
+ export declare var UpdateCampaignEntryLimitsRequest$: StaticStructureSchema;
113
116
  export declare var UpdateCampaignFlowAssociationRequest$: StaticStructureSchema;
114
117
  export declare var UpdateCampaignNameRequest$: StaticStructureSchema;
115
118
  export declare var UpdateCampaignScheduleRequest$: StaticStructureSchema;
@@ -134,6 +137,7 @@ export declare var DeleteCampaign$: StaticOperationSchema;
134
137
  export declare var DeleteCampaignChannelSubtypeConfig$: StaticOperationSchema;
135
138
  export declare var DeleteCampaignCommunicationLimits$: StaticOperationSchema;
136
139
  export declare var DeleteCampaignCommunicationTime$: StaticOperationSchema;
140
+ export declare var DeleteCampaignEntryLimits$: StaticOperationSchema;
137
141
  export declare var DeleteConnectInstanceConfig$: StaticOperationSchema;
138
142
  export declare var DeleteConnectInstanceIntegration$: StaticOperationSchema;
139
143
  export declare var DeleteInstanceOnboardingJob$: StaticOperationSchema;
@@ -160,6 +164,7 @@ export declare var UntagResource$: StaticOperationSchema;
160
164
  export declare var UpdateCampaignChannelSubtypeConfig$: StaticOperationSchema;
161
165
  export declare var UpdateCampaignCommunicationLimits$: StaticOperationSchema;
162
166
  export declare var UpdateCampaignCommunicationTime$: StaticOperationSchema;
167
+ export declare var UpdateCampaignEntryLimits$: StaticOperationSchema;
163
168
  export declare var UpdateCampaignFlowAssociation$: StaticOperationSchema;
164
169
  export declare var UpdateCampaignName$: StaticOperationSchema;
165
170
  export declare var UpdateCampaignSchedule$: StaticOperationSchema;
@@ -23,6 +23,10 @@ import {
23
23
  DeleteCampaignCommunicationTimeCommandInput,
24
24
  DeleteCampaignCommunicationTimeCommandOutput,
25
25
  } from "./commands/DeleteCampaignCommunicationTimeCommand";
26
+ import {
27
+ DeleteCampaignEntryLimitsCommandInput,
28
+ DeleteCampaignEntryLimitsCommandOutput,
29
+ } from "./commands/DeleteCampaignEntryLimitsCommand";
26
30
  import {
27
31
  DeleteConnectInstanceConfigCommandInput,
28
32
  DeleteConnectInstanceConfigCommandOutput,
@@ -127,6 +131,10 @@ import {
127
131
  UpdateCampaignCommunicationTimeCommandInput,
128
132
  UpdateCampaignCommunicationTimeCommandOutput,
129
133
  } from "./commands/UpdateCampaignCommunicationTimeCommand";
134
+ import {
135
+ UpdateCampaignEntryLimitsCommandInput,
136
+ UpdateCampaignEntryLimitsCommandOutput,
137
+ } from "./commands/UpdateCampaignEntryLimitsCommand";
130
138
  import {
131
139
  UpdateCampaignFlowAssociationCommandInput,
132
140
  UpdateCampaignFlowAssociationCommandOutput,
@@ -222,6 +230,19 @@ export interface ConnectCampaignsV2 {
222
230
  options: __HttpHandlerOptions,
223
231
  cb: (err: any, data?: DeleteCampaignCommunicationTimeCommandOutput) => void
224
232
  ): void;
233
+ deleteCampaignEntryLimits(
234
+ args: DeleteCampaignEntryLimitsCommandInput,
235
+ options?: __HttpHandlerOptions
236
+ ): Promise<DeleteCampaignEntryLimitsCommandOutput>;
237
+ deleteCampaignEntryLimits(
238
+ args: DeleteCampaignEntryLimitsCommandInput,
239
+ cb: (err: any, data?: DeleteCampaignEntryLimitsCommandOutput) => void
240
+ ): void;
241
+ deleteCampaignEntryLimits(
242
+ args: DeleteCampaignEntryLimitsCommandInput,
243
+ options: __HttpHandlerOptions,
244
+ cb: (err: any, data?: DeleteCampaignEntryLimitsCommandOutput) => void
245
+ ): void;
225
246
  deleteConnectInstanceConfig(
226
247
  args: DeleteConnectInstanceConfigCommandInput,
227
248
  options?: __HttpHandlerOptions
@@ -573,6 +594,19 @@ export interface ConnectCampaignsV2 {
573
594
  options: __HttpHandlerOptions,
574
595
  cb: (err: any, data?: UpdateCampaignCommunicationTimeCommandOutput) => void
575
596
  ): void;
597
+ updateCampaignEntryLimits(
598
+ args: UpdateCampaignEntryLimitsCommandInput,
599
+ options?: __HttpHandlerOptions
600
+ ): Promise<UpdateCampaignEntryLimitsCommandOutput>;
601
+ updateCampaignEntryLimits(
602
+ args: UpdateCampaignEntryLimitsCommandInput,
603
+ cb: (err: any, data?: UpdateCampaignEntryLimitsCommandOutput) => void
604
+ ): void;
605
+ updateCampaignEntryLimits(
606
+ args: UpdateCampaignEntryLimitsCommandInput,
607
+ options: __HttpHandlerOptions,
608
+ cb: (err: any, data?: UpdateCampaignEntryLimitsCommandOutput) => void
609
+ ): void;
576
610
  updateCampaignFlowAssociation(
577
611
  args: UpdateCampaignFlowAssociationCommandInput,
578
612
  options?: __HttpHandlerOptions
@@ -64,6 +64,10 @@ import {
64
64
  DeleteCampaignCommunicationTimeCommandInput,
65
65
  DeleteCampaignCommunicationTimeCommandOutput,
66
66
  } from "./commands/DeleteCampaignCommunicationTimeCommand";
67
+ import {
68
+ DeleteCampaignEntryLimitsCommandInput,
69
+ DeleteCampaignEntryLimitsCommandOutput,
70
+ } from "./commands/DeleteCampaignEntryLimitsCommand";
67
71
  import {
68
72
  DeleteConnectInstanceConfigCommandInput,
69
73
  DeleteConnectInstanceConfigCommandOutput,
@@ -168,6 +172,10 @@ import {
168
172
  UpdateCampaignCommunicationTimeCommandInput,
169
173
  UpdateCampaignCommunicationTimeCommandOutput,
170
174
  } from "./commands/UpdateCampaignCommunicationTimeCommand";
175
+ import {
176
+ UpdateCampaignEntryLimitsCommandInput,
177
+ UpdateCampaignEntryLimitsCommandOutput,
178
+ } from "./commands/UpdateCampaignEntryLimitsCommand";
171
179
  import {
172
180
  UpdateCampaignFlowAssociationCommandInput,
173
181
  UpdateCampaignFlowAssociationCommandOutput,
@@ -197,6 +205,7 @@ export type ServiceInputTypes =
197
205
  | DeleteCampaignCommandInput
198
206
  | DeleteCampaignCommunicationLimitsCommandInput
199
207
  | DeleteCampaignCommunicationTimeCommandInput
208
+ | DeleteCampaignEntryLimitsCommandInput
200
209
  | DeleteConnectInstanceConfigCommandInput
201
210
  | DeleteConnectInstanceIntegrationCommandInput
202
211
  | DeleteInstanceOnboardingJobCommandInput
@@ -223,6 +232,7 @@ export type ServiceInputTypes =
223
232
  | UpdateCampaignChannelSubtypeConfigCommandInput
224
233
  | UpdateCampaignCommunicationLimitsCommandInput
225
234
  | UpdateCampaignCommunicationTimeCommandInput
235
+ | UpdateCampaignEntryLimitsCommandInput
226
236
  | UpdateCampaignFlowAssociationCommandInput
227
237
  | UpdateCampaignNameCommandInput
228
238
  | UpdateCampaignScheduleCommandInput
@@ -233,6 +243,7 @@ export type ServiceOutputTypes =
233
243
  | DeleteCampaignCommandOutput
234
244
  | DeleteCampaignCommunicationLimitsCommandOutput
235
245
  | DeleteCampaignCommunicationTimeCommandOutput
246
+ | DeleteCampaignEntryLimitsCommandOutput
236
247
  | DeleteConnectInstanceConfigCommandOutput
237
248
  | DeleteConnectInstanceIntegrationCommandOutput
238
249
  | DeleteInstanceOnboardingJobCommandOutput
@@ -259,6 +270,7 @@ export type ServiceOutputTypes =
259
270
  | UpdateCampaignChannelSubtypeConfigCommandOutput
260
271
  | UpdateCampaignCommunicationLimitsCommandOutput
261
272
  | UpdateCampaignCommunicationTimeCommandOutput
273
+ | UpdateCampaignEntryLimitsCommandOutput
262
274
  | UpdateCampaignFlowAssociationCommandOutput
263
275
  | UpdateCampaignNameCommandOutput
264
276
  | UpdateCampaignScheduleCommandOutput
@@ -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 { DeleteCampaignEntryLimitsRequest } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface DeleteCampaignEntryLimitsCommandInput
12
+ extends DeleteCampaignEntryLimitsRequest {}
13
+ export interface DeleteCampaignEntryLimitsCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const DeleteCampaignEntryLimitsCommand_base: {
16
+ new (
17
+ input: DeleteCampaignEntryLimitsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ DeleteCampaignEntryLimitsCommandInput,
20
+ DeleteCampaignEntryLimitsCommandOutput,
21
+ ConnectCampaignsV2ClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: DeleteCampaignEntryLimitsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ DeleteCampaignEntryLimitsCommandInput,
29
+ DeleteCampaignEntryLimitsCommandOutput,
30
+ ConnectCampaignsV2ClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class DeleteCampaignEntryLimitsCommand extends DeleteCampaignEntryLimitsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: DeleteCampaignEntryLimitsRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: DeleteCampaignEntryLimitsCommandInput;
44
+ output: DeleteCampaignEntryLimitsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -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 { UpdateCampaignEntryLimitsRequest } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateCampaignEntryLimitsCommandInput
12
+ extends UpdateCampaignEntryLimitsRequest {}
13
+ export interface UpdateCampaignEntryLimitsCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const UpdateCampaignEntryLimitsCommand_base: {
16
+ new (
17
+ input: UpdateCampaignEntryLimitsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ UpdateCampaignEntryLimitsCommandInput,
20
+ UpdateCampaignEntryLimitsCommandOutput,
21
+ ConnectCampaignsV2ClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: UpdateCampaignEntryLimitsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ UpdateCampaignEntryLimitsCommandInput,
29
+ UpdateCampaignEntryLimitsCommandOutput,
30
+ ConnectCampaignsV2ClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class UpdateCampaignEntryLimitsCommand extends UpdateCampaignEntryLimitsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: UpdateCampaignEntryLimitsRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: UpdateCampaignEntryLimitsCommandInput;
44
+ output: UpdateCampaignEntryLimitsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -3,6 +3,7 @@ export * from "./DeleteCampaignChannelSubtypeConfigCommand";
3
3
  export * from "./DeleteCampaignCommand";
4
4
  export * from "./DeleteCampaignCommunicationLimitsCommand";
5
5
  export * from "./DeleteCampaignCommunicationTimeCommand";
6
+ export * from "./DeleteCampaignEntryLimitsCommand";
6
7
  export * from "./DeleteConnectInstanceConfigCommand";
7
8
  export * from "./DeleteConnectInstanceIntegrationCommand";
8
9
  export * from "./DeleteInstanceOnboardingJobCommand";
@@ -29,6 +30,7 @@ export * from "./UntagResourceCommand";
29
30
  export * from "./UpdateCampaignChannelSubtypeConfigCommand";
30
31
  export * from "./UpdateCampaignCommunicationLimitsCommand";
31
32
  export * from "./UpdateCampaignCommunicationTimeCommand";
33
+ export * from "./UpdateCampaignEntryLimitsCommand";
32
34
  export * from "./UpdateCampaignFlowAssociationCommand";
33
35
  export * from "./UpdateCampaignNameCommand";
34
36
  export * from "./UpdateCampaignScheduleCommand";
@@ -267,6 +267,10 @@ export interface CommunicationTimeConfig {
267
267
  email?: TimeWindow | undefined;
268
268
  whatsApp?: TimeWindow | undefined;
269
269
  }
270
+ export interface EntryLimitsConfig {
271
+ maxEntryCount: number | undefined;
272
+ minEntryInterval: string | undefined;
273
+ }
270
274
  export interface Schedule {
271
275
  startTime: Date | undefined;
272
276
  endTime: Date | undefined;
@@ -309,6 +313,7 @@ export interface CreateCampaignRequest {
309
313
  source?: Source | undefined;
310
314
  connectCampaignFlowArn?: string | undefined;
311
315
  schedule?: Schedule | undefined;
316
+ entryLimitsConfig?: EntryLimitsConfig | undefined;
312
317
  communicationTimeConfig?: CommunicationTimeConfig | undefined;
313
318
  communicationLimitsOverride?: CommunicationLimitsConfig | undefined;
314
319
  tags?: Record<string, string> | undefined;
@@ -333,6 +338,9 @@ export interface DeleteCampaignCommunicationTimeRequest {
333
338
  id: string | undefined;
334
339
  config: CommunicationTimeConfigType | undefined;
335
340
  }
341
+ export interface DeleteCampaignEntryLimitsRequest {
342
+ id: string | undefined;
343
+ }
336
344
  export interface DeleteConnectInstanceConfigRequest {
337
345
  connectInstanceId: string | undefined;
338
346
  campaignDeletionPolicy?: CampaignDeletionPolicy | undefined;
@@ -403,6 +411,7 @@ export interface Campaign {
403
411
  source?: Source | undefined;
404
412
  connectCampaignFlowArn?: string | undefined;
405
413
  schedule?: Schedule | undefined;
414
+ entryLimitsConfig?: EntryLimitsConfig | undefined;
406
415
  communicationTimeConfig?: CommunicationTimeConfig | undefined;
407
416
  communicationLimitsOverride?: CommunicationLimitsConfig | undefined;
408
417
  tags?: Record<string, string> | undefined;
@@ -487,6 +496,7 @@ export interface CampaignSummary {
487
496
  channelSubtypes: ChannelSubtype[] | undefined;
488
497
  type?: ExternalCampaignType | undefined;
489
498
  schedule?: Schedule | undefined;
499
+ entryLimitsConfig?: EntryLimitsConfig | undefined;
490
500
  connectCampaignFlowArn?: string | undefined;
491
501
  }
492
502
  export interface ListCampaignsResponse {
@@ -768,6 +778,10 @@ export interface UpdateCampaignCommunicationTimeRequest {
768
778
  id: string | undefined;
769
779
  communicationTimeConfig: CommunicationTimeConfig | undefined;
770
780
  }
781
+ export interface UpdateCampaignEntryLimitsRequest {
782
+ id: string | undefined;
783
+ entryLimitsConfig: EntryLimitsConfig | undefined;
784
+ }
771
785
  export interface UpdateCampaignFlowAssociationRequest {
772
786
  id: string | undefined;
773
787
  connectCampaignFlowArn: string | undefined;