@aws-sdk/client-connectcampaignsv2 3.1148.0 → 3.1149.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1148.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class ConnectCampaignsV2ServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.connectcampaignsv2#ConnectCampaignsV2ServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, ConnectCampaignsV2ServiceException.prototype);
@@ -139,6 +140,7 @@ class ConnectCampaignsV2ServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends ConnectCampaignsV2ServiceException {
143
+ static shapeId = "com.amazonaws.connectcampaignsv2#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  xAmzErrorType;
@@ -153,6 +155,7 @@ class AccessDeniedException extends ConnectCampaignsV2ServiceException {
153
155
  }
154
156
  }
155
157
  class ConflictException extends ConnectCampaignsV2ServiceException {
158
+ static shapeId = "com.amazonaws.connectcampaignsv2#ConflictException";
156
159
  name = "ConflictException";
157
160
  $fault = "client";
158
161
  xAmzErrorType;
@@ -167,6 +170,7 @@ class ConflictException extends ConnectCampaignsV2ServiceException {
167
170
  }
168
171
  }
169
172
  class InternalServerException extends ConnectCampaignsV2ServiceException {
173
+ static shapeId = "com.amazonaws.connectcampaignsv2#InternalServerException";
170
174
  name = "InternalServerException";
171
175
  $fault = "server";
172
176
  $retryable = {};
@@ -182,6 +186,7 @@ class InternalServerException extends ConnectCampaignsV2ServiceException {
182
186
  }
183
187
  }
184
188
  class ResourceNotFoundException extends ConnectCampaignsV2ServiceException {
189
+ static shapeId = "com.amazonaws.connectcampaignsv2#ResourceNotFoundException";
185
190
  name = "ResourceNotFoundException";
186
191
  $fault = "client";
187
192
  xAmzErrorType;
@@ -196,6 +201,7 @@ class ResourceNotFoundException extends ConnectCampaignsV2ServiceException {
196
201
  }
197
202
  }
198
203
  class ServiceQuotaExceededException extends ConnectCampaignsV2ServiceException {
204
+ static shapeId = "com.amazonaws.connectcampaignsv2#ServiceQuotaExceededException";
199
205
  name = "ServiceQuotaExceededException";
200
206
  $fault = "client";
201
207
  xAmzErrorType;
@@ -210,6 +216,7 @@ class ServiceQuotaExceededException extends ConnectCampaignsV2ServiceException {
210
216
  }
211
217
  }
212
218
  class ThrottlingException extends ConnectCampaignsV2ServiceException {
219
+ static shapeId = "com.amazonaws.connectcampaignsv2#ThrottlingException";
213
220
  name = "ThrottlingException";
214
221
  $fault = "client";
215
222
  $retryable = {};
@@ -225,6 +232,7 @@ class ThrottlingException extends ConnectCampaignsV2ServiceException {
225
232
  }
226
233
  }
227
234
  class ValidationException extends ConnectCampaignsV2ServiceException {
235
+ static shapeId = "com.amazonaws.connectcampaignsv2#ValidationException";
228
236
  name = "ValidationException";
229
237
  $fault = "client";
230
238
  xAmzErrorType;
@@ -239,6 +247,7 @@ class ValidationException extends ConnectCampaignsV2ServiceException {
239
247
  }
240
248
  }
241
249
  class InvalidCampaignStateException extends ConnectCampaignsV2ServiceException {
250
+ static shapeId = "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException";
242
251
  name = "InvalidCampaignStateException";
243
252
  $fault = "client";
244
253
  state;
@@ -255,6 +264,7 @@ class InvalidCampaignStateException extends ConnectCampaignsV2ServiceException {
255
264
  }
256
265
  }
257
266
  class InvalidStateException extends ConnectCampaignsV2ServiceException {
267
+ static shapeId = "com.amazonaws.connectcampaignsv2#InvalidStateException";
258
268
  name = "InvalidStateException";
259
269
  $fault = "client";
260
270
  xAmzErrorType;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class ConnectCampaignsV2ServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.connectcampaignsv2#ConnectCampaignsV2ServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, ConnectCampaignsV2ServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.connectcampaignsv2#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  xAmzErrorType;
@@ -14,6 +15,7 @@ export class AccessDeniedException extends __BaseException {
14
15
  }
15
16
  }
16
17
  export class ConflictException extends __BaseException {
18
+ static shapeId = "com.amazonaws.connectcampaignsv2#ConflictException";
17
19
  name = "ConflictException";
18
20
  $fault = "client";
19
21
  xAmzErrorType;
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
28
30
  }
29
31
  }
30
32
  export class InternalServerException extends __BaseException {
33
+ static shapeId = "com.amazonaws.connectcampaignsv2#InternalServerException";
31
34
  name = "InternalServerException";
32
35
  $fault = "server";
33
36
  $retryable = {};
@@ -43,6 +46,7 @@ export class InternalServerException extends __BaseException {
43
46
  }
44
47
  }
45
48
  export class ResourceNotFoundException extends __BaseException {
49
+ static shapeId = "com.amazonaws.connectcampaignsv2#ResourceNotFoundException";
46
50
  name = "ResourceNotFoundException";
47
51
  $fault = "client";
48
52
  xAmzErrorType;
@@ -57,6 +61,7 @@ export class ResourceNotFoundException extends __BaseException {
57
61
  }
58
62
  }
59
63
  export class ServiceQuotaExceededException extends __BaseException {
64
+ static shapeId = "com.amazonaws.connectcampaignsv2#ServiceQuotaExceededException";
60
65
  name = "ServiceQuotaExceededException";
61
66
  $fault = "client";
62
67
  xAmzErrorType;
@@ -71,6 +76,7 @@ export class ServiceQuotaExceededException extends __BaseException {
71
76
  }
72
77
  }
73
78
  export class ThrottlingException extends __BaseException {
79
+ static shapeId = "com.amazonaws.connectcampaignsv2#ThrottlingException";
74
80
  name = "ThrottlingException";
75
81
  $fault = "client";
76
82
  $retryable = {};
@@ -86,6 +92,7 @@ export class ThrottlingException extends __BaseException {
86
92
  }
87
93
  }
88
94
  export class ValidationException extends __BaseException {
95
+ static shapeId = "com.amazonaws.connectcampaignsv2#ValidationException";
89
96
  name = "ValidationException";
90
97
  $fault = "client";
91
98
  xAmzErrorType;
@@ -100,6 +107,7 @@ export class ValidationException extends __BaseException {
100
107
  }
101
108
  }
102
109
  export class InvalidCampaignStateException extends __BaseException {
110
+ static shapeId = "com.amazonaws.connectcampaignsv2#InvalidCampaignStateException";
103
111
  name = "InvalidCampaignStateException";
104
112
  $fault = "client";
105
113
  state;
@@ -116,6 +124,7 @@ export class InvalidCampaignStateException extends __BaseException {
116
124
  }
117
125
  }
118
126
  export class InvalidStateException extends __BaseException {
127
+ static shapeId = "com.amazonaws.connectcampaignsv2#InvalidStateException";
119
128
  name = "InvalidStateException";
120
129
  $fault = "client";
121
130
  xAmzErrorType;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from ConnectCampaignsV2 service.
8
8
  */
9
9
  export declare class ConnectCampaignsV2ServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -6,6 +6,7 @@ import type { CampaignState } from "./enums";
6
6
  * @public
7
7
  */
8
8
  export declare class AccessDeniedException extends __BaseException {
9
+ static readonly shapeId: string;
9
10
  readonly name: "AccessDeniedException";
10
11
  readonly $fault: "client";
11
12
  /**
@@ -23,6 +24,7 @@ export declare class AccessDeniedException extends __BaseException {
23
24
  * @public
24
25
  */
25
26
  export declare class ConflictException extends __BaseException {
27
+ static readonly shapeId: string;
26
28
  readonly name: "ConflictException";
27
29
  readonly $fault: "client";
28
30
  /**
@@ -40,6 +42,7 @@ export declare class ConflictException extends __BaseException {
40
42
  * @public
41
43
  */
42
44
  export declare class InternalServerException extends __BaseException {
45
+ static readonly shapeId: string;
43
46
  readonly name: "InternalServerException";
44
47
  readonly $fault: "server";
45
48
  $retryable: {};
@@ -58,6 +61,7 @@ export declare class InternalServerException extends __BaseException {
58
61
  * @public
59
62
  */
60
63
  export declare class ResourceNotFoundException extends __BaseException {
64
+ static readonly shapeId: string;
61
65
  readonly name: "ResourceNotFoundException";
62
66
  readonly $fault: "client";
63
67
  /**
@@ -75,6 +79,7 @@ export declare class ResourceNotFoundException extends __BaseException {
75
79
  * @public
76
80
  */
77
81
  export declare class ServiceQuotaExceededException extends __BaseException {
82
+ static readonly shapeId: string;
78
83
  readonly name: "ServiceQuotaExceededException";
79
84
  readonly $fault: "client";
80
85
  /**
@@ -92,6 +97,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
92
97
  * @public
93
98
  */
94
99
  export declare class ThrottlingException extends __BaseException {
100
+ static readonly shapeId: string;
95
101
  readonly name: "ThrottlingException";
96
102
  readonly $fault: "client";
97
103
  $retryable: {};
@@ -110,6 +116,7 @@ export declare class ThrottlingException extends __BaseException {
110
116
  * @public
111
117
  */
112
118
  export declare class ValidationException extends __BaseException {
119
+ static readonly shapeId: string;
113
120
  readonly name: "ValidationException";
114
121
  readonly $fault: "client";
115
122
  /**
@@ -127,6 +134,7 @@ export declare class ValidationException extends __BaseException {
127
134
  * @public
128
135
  */
129
136
  export declare class InvalidCampaignStateException extends __BaseException {
137
+ static readonly shapeId: string;
130
138
  readonly name: "InvalidCampaignStateException";
131
139
  readonly $fault: "client";
132
140
  /**
@@ -149,6 +157,7 @@ export declare class InvalidCampaignStateException extends __BaseException {
149
157
  * @public
150
158
  */
151
159
  export declare class InvalidStateException extends __BaseException {
160
+ static readonly shapeId: string;
152
161
  readonly name: "InvalidStateException";
153
162
  readonly $fault: "client";
154
163
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class ConnectCampaignsV2ServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -2,18 +2,21 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
2
2
  import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
3
3
  import { CampaignState } from "./enums";
4
4
  export declare class AccessDeniedException extends __BaseException {
5
+ static readonly shapeId: string;
5
6
  readonly name: "AccessDeniedException";
6
7
  readonly $fault: "client";
7
8
  xAmzErrorType?: string | undefined;
8
9
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
10
  }
10
11
  export declare class ConflictException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "ConflictException";
12
14
  readonly $fault: "client";
13
15
  xAmzErrorType?: string | undefined;
14
16
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
15
17
  }
16
18
  export declare class InternalServerException extends __BaseException {
19
+ static readonly shapeId: string;
17
20
  readonly name: "InternalServerException";
18
21
  readonly $fault: "server";
19
22
  $retryable: {};
@@ -21,18 +24,21 @@ export declare class InternalServerException extends __BaseException {
21
24
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
22
25
  }
23
26
  export declare class ResourceNotFoundException extends __BaseException {
27
+ static readonly shapeId: string;
24
28
  readonly name: "ResourceNotFoundException";
25
29
  readonly $fault: "client";
26
30
  xAmzErrorType?: string | undefined;
27
31
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
28
32
  }
29
33
  export declare class ServiceQuotaExceededException extends __BaseException {
34
+ static readonly shapeId: string;
30
35
  readonly name: "ServiceQuotaExceededException";
31
36
  readonly $fault: "client";
32
37
  xAmzErrorType?: string | undefined;
33
38
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
34
39
  }
35
40
  export declare class ThrottlingException extends __BaseException {
41
+ static readonly shapeId: string;
36
42
  readonly name: "ThrottlingException";
37
43
  readonly $fault: "client";
38
44
  $retryable: {};
@@ -40,12 +46,14 @@ export declare class ThrottlingException extends __BaseException {
40
46
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
41
47
  }
42
48
  export declare class ValidationException extends __BaseException {
49
+ static readonly shapeId: string;
43
50
  readonly name: "ValidationException";
44
51
  readonly $fault: "client";
45
52
  xAmzErrorType?: string | undefined;
46
53
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
47
54
  }
48
55
  export declare class InvalidCampaignStateException extends __BaseException {
56
+ static readonly shapeId: string;
49
57
  readonly name: "InvalidCampaignStateException";
50
58
  readonly $fault: "client";
51
59
  state: CampaignState | undefined;
@@ -53,6 +61,7 @@ export declare class InvalidCampaignStateException extends __BaseException {
53
61
  constructor(opts: __ExceptionOptionType<InvalidCampaignStateException, __BaseException>);
54
62
  }
55
63
  export declare class InvalidStateException extends __BaseException {
64
+ static readonly shapeId: string;
56
65
  readonly name: "InvalidStateException";
57
66
  readonly $fault: "client";
58
67
  xAmzErrorType?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectcampaignsv2",
3
- "version": "3.1148.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Connectcampaignsv2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connectcampaignsv2",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",