@aws-sdk/client-connectcampaigns 3.427.0 → 3.429.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.
@@ -472,7 +472,7 @@ export interface GetCampaignStateResponse {
472
472
  * @public
473
473
  * State of a campaign
474
474
  */
475
- state?: CampaignState | string;
475
+ state?: CampaignState;
476
476
  }
477
477
  /**
478
478
  * @public
@@ -517,7 +517,7 @@ export interface FailedCampaignStateResponse {
517
517
  * @public
518
518
  * A predefined code indicating the error that caused the failure in getting state of campaigns
519
519
  */
520
- failureCode?: GetCampaignStateBatchFailureCode | string;
520
+ failureCode?: GetCampaignStateBatchFailureCode;
521
521
  }
522
522
  /**
523
523
  * @public
@@ -533,7 +533,7 @@ export interface SuccessfulCampaignStateResponse {
533
533
  * @public
534
534
  * State of a campaign
535
535
  */
536
- state?: CampaignState | string;
536
+ state?: CampaignState;
537
537
  }
538
538
  /**
539
539
  * @public
@@ -590,7 +590,7 @@ export interface EncryptionConfig {
590
590
  * @public
591
591
  * Server-side encryption type.
592
592
  */
593
- encryptionType?: EncryptionType | string;
593
+ encryptionType?: EncryptionType;
594
594
  /**
595
595
  * @public
596
596
  * KMS key id/arn for encryption config.
@@ -686,12 +686,12 @@ export interface InstanceOnboardingJobStatus {
686
686
  * @public
687
687
  * Enumeration of the possible states for instance onboarding job
688
688
  */
689
- status: InstanceOnboardingJobStatusCode | string | undefined;
689
+ status: InstanceOnboardingJobStatusCode | undefined;
690
690
  /**
691
691
  * @public
692
692
  * Enumeration of the possible failure codes for instance onboarding job
693
693
  */
694
- failureCode?: InstanceOnboardingJobFailureCode | string;
694
+ failureCode?: InstanceOnboardingJobFailureCode;
695
695
  }
696
696
  /**
697
697
  * @public
@@ -732,7 +732,7 @@ export interface InstanceIdFilter {
732
732
  * @public
733
733
  * Operators for Connect instance identifier filter
734
734
  */
735
- operator: InstanceIdFilterOperator | string | undefined;
735
+ operator: InstanceIdFilterOperator | undefined;
736
736
  }
737
737
  /**
738
738
  * @public
@@ -841,7 +841,7 @@ export declare class InvalidCampaignStateException extends __BaseException {
841
841
  * @public
842
842
  * State of a campaign
843
843
  */
844
- state: CampaignState | string | undefined;
844
+ state: CampaignState | undefined;
845
845
  /**
846
846
  * @public
847
847
  * A header that defines the error encountered while processing the request.
@@ -946,7 +946,7 @@ export interface FailedRequest {
946
946
  * @public
947
947
  * A predefined code indicating the error that caused the failure.
948
948
  */
949
- failureCode?: FailureCode | string;
949
+ failureCode?: FailureCode;
950
950
  }
951
951
  /**
952
952
  * @public
@@ -170,7 +170,7 @@ export declare const CampaignState: {
170
170
  };
171
171
  export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
172
172
  export interface GetCampaignStateResponse {
173
- state?: CampaignState | string;
173
+ state?: CampaignState;
174
174
  }
175
175
  export interface GetCampaignStateBatchRequest {
176
176
  campaignIds: string[] | undefined;
@@ -183,11 +183,11 @@ export type GetCampaignStateBatchFailureCode =
183
183
  (typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
184
184
  export interface FailedCampaignStateResponse {
185
185
  campaignId?: string;
186
- failureCode?: GetCampaignStateBatchFailureCode | string;
186
+ failureCode?: GetCampaignStateBatchFailureCode;
187
187
  }
188
188
  export interface SuccessfulCampaignStateResponse {
189
189
  campaignId?: string;
190
- state?: CampaignState | string;
190
+ state?: CampaignState;
191
191
  }
192
192
  export interface GetCampaignStateBatchResponse {
193
193
  successfulRequests?: SuccessfulCampaignStateResponse[];
@@ -203,7 +203,7 @@ export type EncryptionType =
203
203
  (typeof EncryptionType)[keyof typeof EncryptionType];
204
204
  export interface EncryptionConfig {
205
205
  enabled: boolean | undefined;
206
- encryptionType?: EncryptionType | string;
206
+ encryptionType?: EncryptionType;
207
207
  keyArn?: string;
208
208
  }
209
209
  export interface InstanceConfig {
@@ -236,8 +236,8 @@ export type InstanceOnboardingJobStatusCode =
236
236
  (typeof InstanceOnboardingJobStatusCode)[keyof typeof InstanceOnboardingJobStatusCode];
237
237
  export interface InstanceOnboardingJobStatus {
238
238
  connectInstanceId: string | undefined;
239
- status: InstanceOnboardingJobStatusCode | string | undefined;
240
- failureCode?: InstanceOnboardingJobFailureCode | string;
239
+ status: InstanceOnboardingJobStatusCode | undefined;
240
+ failureCode?: InstanceOnboardingJobFailureCode;
241
241
  }
242
242
  export interface GetInstanceOnboardingJobStatusResponse {
243
243
  connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
@@ -249,7 +249,7 @@ export type InstanceIdFilterOperator =
249
249
  (typeof InstanceIdFilterOperator)[keyof typeof InstanceIdFilterOperator];
250
250
  export interface InstanceIdFilter {
251
251
  value: string | undefined;
252
- operator: InstanceIdFilterOperator | string | undefined;
252
+ operator: InstanceIdFilterOperator | undefined;
253
253
  }
254
254
  export interface CampaignFilters {
255
255
  instanceIdFilter?: InstanceIdFilter;
@@ -278,7 +278,7 @@ export interface ListTagsForResourceResponse {
278
278
  export declare class InvalidCampaignStateException extends __BaseException {
279
279
  readonly name: "InvalidCampaignStateException";
280
280
  readonly $fault: "client";
281
- state: CampaignState | string | undefined;
281
+ state: CampaignState | undefined;
282
282
  xAmzErrorType?: string;
283
283
  constructor(
284
284
  opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>
@@ -306,7 +306,7 @@ export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
306
306
  export interface FailedRequest {
307
307
  clientToken?: string;
308
308
  id?: string;
309
- failureCode?: FailureCode | string;
309
+ failureCode?: FailureCode;
310
310
  }
311
311
  export interface SuccessfulRequest {
312
312
  clientToken?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectcampaigns",
3
3
  "description": "AWS SDK for JavaScript Connectcampaigns Client for Node.js, Browser and React Native",
4
- "version": "3.427.0",
4
+ "version": "3.429.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,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },