@aws-sdk/client-connectcampaigns 3.1147.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 +11 -1
- package/dist-es/models/ConnectCampaignsServiceException.js +1 -0
- package/dist-es/models/errors.js +9 -0
- package/dist-types/models/ConnectCampaignsServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +9 -0
- package/dist-types/ts3.4/models/ConnectCampaignsServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +9 -0
- package/package.json +4 -4
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.
|
|
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 ConnectCampaignsServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.connectcampaigns#ConnectCampaignsServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, ConnectCampaignsServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class ConnectCampaignsServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends ConnectCampaignsServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.connectcampaigns#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
xAmzErrorType;
|
|
@@ -153,6 +155,7 @@ class AccessDeniedException extends ConnectCampaignsServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class ConflictException extends ConnectCampaignsServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.connectcampaigns#ConflictException";
|
|
156
159
|
name = "ConflictException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
xAmzErrorType;
|
|
@@ -167,6 +170,7 @@ class ConflictException extends ConnectCampaignsServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class InternalServerException extends ConnectCampaignsServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.connectcampaigns#InternalServerException";
|
|
170
174
|
name = "InternalServerException";
|
|
171
175
|
$fault = "server";
|
|
172
176
|
$retryable = {};
|
|
@@ -182,6 +186,7 @@ class InternalServerException extends ConnectCampaignsServiceException {
|
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
class ResourceNotFoundException extends ConnectCampaignsServiceException {
|
|
189
|
+
static shapeId = "com.amazonaws.connectcampaigns#ResourceNotFoundException";
|
|
185
190
|
name = "ResourceNotFoundException";
|
|
186
191
|
$fault = "client";
|
|
187
192
|
xAmzErrorType;
|
|
@@ -196,6 +201,7 @@ class ResourceNotFoundException extends ConnectCampaignsServiceException {
|
|
|
196
201
|
}
|
|
197
202
|
}
|
|
198
203
|
class ServiceQuotaExceededException extends ConnectCampaignsServiceException {
|
|
204
|
+
static shapeId = "com.amazonaws.connectcampaigns#ServiceQuotaExceededException";
|
|
199
205
|
name = "ServiceQuotaExceededException";
|
|
200
206
|
$fault = "client";
|
|
201
207
|
xAmzErrorType;
|
|
@@ -210,6 +216,7 @@ class ServiceQuotaExceededException extends ConnectCampaignsServiceException {
|
|
|
210
216
|
}
|
|
211
217
|
}
|
|
212
218
|
class ThrottlingException extends ConnectCampaignsServiceException {
|
|
219
|
+
static shapeId = "com.amazonaws.connectcampaigns#ThrottlingException";
|
|
213
220
|
name = "ThrottlingException";
|
|
214
221
|
$fault = "client";
|
|
215
222
|
$retryable = {};
|
|
@@ -225,6 +232,7 @@ class ThrottlingException extends ConnectCampaignsServiceException {
|
|
|
225
232
|
}
|
|
226
233
|
}
|
|
227
234
|
class ValidationException extends ConnectCampaignsServiceException {
|
|
235
|
+
static shapeId = "com.amazonaws.connectcampaigns#ValidationException";
|
|
228
236
|
name = "ValidationException";
|
|
229
237
|
$fault = "client";
|
|
230
238
|
xAmzErrorType;
|
|
@@ -239,6 +247,7 @@ class ValidationException extends ConnectCampaignsServiceException {
|
|
|
239
247
|
}
|
|
240
248
|
}
|
|
241
249
|
class InvalidStateException extends ConnectCampaignsServiceException {
|
|
250
|
+
static shapeId = "com.amazonaws.connectcampaigns#InvalidStateException";
|
|
242
251
|
name = "InvalidStateException";
|
|
243
252
|
$fault = "client";
|
|
244
253
|
xAmzErrorType;
|
|
@@ -253,6 +262,7 @@ class InvalidStateException extends ConnectCampaignsServiceException {
|
|
|
253
262
|
}
|
|
254
263
|
}
|
|
255
264
|
class InvalidCampaignStateException extends ConnectCampaignsServiceException {
|
|
265
|
+
static shapeId = "com.amazonaws.connectcampaigns#InvalidCampaignStateException";
|
|
256
266
|
name = "InvalidCampaignStateException";
|
|
257
267
|
$fault = "client";
|
|
258
268
|
state;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class ConnectCampaignsServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.connectcampaigns#ConnectCampaignsServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, ConnectCampaignsServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ConnectCampaignsServiceException as __BaseException } from "./ConnectCampaignsServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.connectcampaigns#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.connectcampaigns#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.connectcampaigns#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.connectcampaigns#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.connectcampaigns#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.connectcampaigns#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.connectcampaigns#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 InvalidStateException extends __BaseException {
|
|
110
|
+
static shapeId = "com.amazonaws.connectcampaigns#InvalidStateException";
|
|
103
111
|
name = "InvalidStateException";
|
|
104
112
|
$fault = "client";
|
|
105
113
|
xAmzErrorType;
|
|
@@ -114,6 +122,7 @@ export class InvalidStateException extends __BaseException {
|
|
|
114
122
|
}
|
|
115
123
|
}
|
|
116
124
|
export class InvalidCampaignStateException extends __BaseException {
|
|
125
|
+
static shapeId = "com.amazonaws.connectcampaigns#InvalidCampaignStateException";
|
|
117
126
|
name = "InvalidCampaignStateException";
|
|
118
127
|
$fault = "client";
|
|
119
128
|
state;
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from ConnectCampaigns service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class ConnectCampaignsServiceException 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 InvalidStateException extends __BaseException {
|
|
137
|
+
static readonly shapeId: string;
|
|
130
138
|
readonly name: "InvalidStateException";
|
|
131
139
|
readonly $fault: "client";
|
|
132
140
|
/**
|
|
@@ -144,6 +152,7 @@ export declare class InvalidStateException extends __BaseException {
|
|
|
144
152
|
* @public
|
|
145
153
|
*/
|
|
146
154
|
export declare class InvalidCampaignStateException extends __BaseException {
|
|
155
|
+
static readonly shapeId: string;
|
|
147
156
|
readonly name: "InvalidCampaignStateException";
|
|
148
157
|
readonly $fault: "client";
|
|
149
158
|
/**
|
|
@@ -2,18 +2,21 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { ConnectCampaignsServiceException as __BaseException } from "./ConnectCampaignsServiceException";
|
|
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,18 +46,21 @@ 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 InvalidStateException extends __BaseException {
|
|
56
|
+
static readonly shapeId: string;
|
|
49
57
|
readonly name: "InvalidStateException";
|
|
50
58
|
readonly $fault: "client";
|
|
51
59
|
xAmzErrorType?: string | undefined;
|
|
52
60
|
constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
|
|
53
61
|
}
|
|
54
62
|
export declare class InvalidCampaignStateException extends __BaseException {
|
|
63
|
+
static readonly shapeId: string;
|
|
55
64
|
readonly name: "InvalidCampaignStateException";
|
|
56
65
|
readonly $fault: "client";
|
|
57
66
|
state: CampaignState | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcampaigns",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Connectcampaigns Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connectcampaigns",
|
|
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.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
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.
|
|
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",
|