@aws-sdk/client-synthetics 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 +13 -1
- package/dist-es/models/SyntheticsServiceException.js +1 -0
- package/dist-es/models/errors.js +11 -0
- package/dist-types/models/SyntheticsServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +11 -0
- package/dist-types/ts3.4/models/SyntheticsServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +11 -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 SyntheticsServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.synthetics#SyntheticsServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, SyntheticsServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class SyntheticsServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends SyntheticsServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.synthetics#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Message;
|
|
@@ -153,6 +155,7 @@ class AccessDeniedException extends SyntheticsServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class ConflictException extends SyntheticsServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.synthetics#ConflictException";
|
|
156
159
|
name = "ConflictException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
Message;
|
|
@@ -167,6 +170,7 @@ class ConflictException extends SyntheticsServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class InternalServerException extends SyntheticsServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.synthetics#InternalServerException";
|
|
170
174
|
name = "InternalServerException";
|
|
171
175
|
$fault = "server";
|
|
172
176
|
Message;
|
|
@@ -181,6 +185,7 @@ class InternalServerException extends SyntheticsServiceException {
|
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
187
|
class ResourceNotFoundException extends SyntheticsServiceException {
|
|
188
|
+
static shapeId = "com.amazonaws.synthetics#ResourceNotFoundException";
|
|
184
189
|
name = "ResourceNotFoundException";
|
|
185
190
|
$fault = "client";
|
|
186
191
|
Message;
|
|
@@ -195,6 +200,7 @@ class ResourceNotFoundException extends SyntheticsServiceException {
|
|
|
195
200
|
}
|
|
196
201
|
}
|
|
197
202
|
class ServiceQuotaExceededException extends SyntheticsServiceException {
|
|
203
|
+
static shapeId = "com.amazonaws.synthetics#ServiceQuotaExceededException";
|
|
198
204
|
name = "ServiceQuotaExceededException";
|
|
199
205
|
$fault = "client";
|
|
200
206
|
Message;
|
|
@@ -209,6 +215,7 @@ class ServiceQuotaExceededException extends SyntheticsServiceException {
|
|
|
209
215
|
}
|
|
210
216
|
}
|
|
211
217
|
class ValidationException extends SyntheticsServiceException {
|
|
218
|
+
static shapeId = "com.amazonaws.synthetics#ValidationException";
|
|
212
219
|
name = "ValidationException";
|
|
213
220
|
$fault = "client";
|
|
214
221
|
Message;
|
|
@@ -223,6 +230,7 @@ class ValidationException extends SyntheticsServiceException {
|
|
|
223
230
|
}
|
|
224
231
|
}
|
|
225
232
|
class BadRequestException extends SyntheticsServiceException {
|
|
233
|
+
static shapeId = "com.amazonaws.synthetics#BadRequestException";
|
|
226
234
|
name = "BadRequestException";
|
|
227
235
|
$fault = "client";
|
|
228
236
|
Message;
|
|
@@ -237,6 +245,7 @@ class BadRequestException extends SyntheticsServiceException {
|
|
|
237
245
|
}
|
|
238
246
|
}
|
|
239
247
|
class RequestEntityTooLargeException extends SyntheticsServiceException {
|
|
248
|
+
static shapeId = "com.amazonaws.synthetics#RequestEntityTooLargeException";
|
|
240
249
|
name = "RequestEntityTooLargeException";
|
|
241
250
|
$fault = "client";
|
|
242
251
|
Message;
|
|
@@ -251,6 +260,7 @@ class RequestEntityTooLargeException extends SyntheticsServiceException {
|
|
|
251
260
|
}
|
|
252
261
|
}
|
|
253
262
|
class InternalFailureException extends SyntheticsServiceException {
|
|
263
|
+
static shapeId = "com.amazonaws.synthetics#InternalFailureException";
|
|
254
264
|
name = "InternalFailureException";
|
|
255
265
|
$fault = "server";
|
|
256
266
|
Message;
|
|
@@ -265,6 +275,7 @@ class InternalFailureException extends SyntheticsServiceException {
|
|
|
265
275
|
}
|
|
266
276
|
}
|
|
267
277
|
class NotFoundException extends SyntheticsServiceException {
|
|
278
|
+
static shapeId = "com.amazonaws.synthetics#NotFoundException";
|
|
268
279
|
name = "NotFoundException";
|
|
269
280
|
$fault = "client";
|
|
270
281
|
Message;
|
|
@@ -279,6 +290,7 @@ class NotFoundException extends SyntheticsServiceException {
|
|
|
279
290
|
}
|
|
280
291
|
}
|
|
281
292
|
class TooManyRequestsException extends SyntheticsServiceException {
|
|
293
|
+
static shapeId = "com.amazonaws.synthetics#TooManyRequestsException";
|
|
282
294
|
name = "TooManyRequestsException";
|
|
283
295
|
$fault = "client";
|
|
284
296
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SyntheticsServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.synthetics#SyntheticsServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, SyntheticsServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.synthetics#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -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.synthetics#ConflictException";
|
|
17
19
|
name = "ConflictException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -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.synthetics#InternalServerException";
|
|
31
34
|
name = "InternalServerException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class InternalServerException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class ResourceNotFoundException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.synthetics#ResourceNotFoundException";
|
|
45
49
|
name = "ResourceNotFoundException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -56,6 +60,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
63
|
+
static shapeId = "com.amazonaws.synthetics#ServiceQuotaExceededException";
|
|
59
64
|
name = "ServiceQuotaExceededException";
|
|
60
65
|
$fault = "client";
|
|
61
66
|
Message;
|
|
@@ -70,6 +75,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
export class ValidationException extends __BaseException {
|
|
78
|
+
static shapeId = "com.amazonaws.synthetics#ValidationException";
|
|
73
79
|
name = "ValidationException";
|
|
74
80
|
$fault = "client";
|
|
75
81
|
Message;
|
|
@@ -84,6 +90,7 @@ export class ValidationException extends __BaseException {
|
|
|
84
90
|
}
|
|
85
91
|
}
|
|
86
92
|
export class BadRequestException extends __BaseException {
|
|
93
|
+
static shapeId = "com.amazonaws.synthetics#BadRequestException";
|
|
87
94
|
name = "BadRequestException";
|
|
88
95
|
$fault = "client";
|
|
89
96
|
Message;
|
|
@@ -98,6 +105,7 @@ export class BadRequestException extends __BaseException {
|
|
|
98
105
|
}
|
|
99
106
|
}
|
|
100
107
|
export class RequestEntityTooLargeException extends __BaseException {
|
|
108
|
+
static shapeId = "com.amazonaws.synthetics#RequestEntityTooLargeException";
|
|
101
109
|
name = "RequestEntityTooLargeException";
|
|
102
110
|
$fault = "client";
|
|
103
111
|
Message;
|
|
@@ -112,6 +120,7 @@ export class RequestEntityTooLargeException extends __BaseException {
|
|
|
112
120
|
}
|
|
113
121
|
}
|
|
114
122
|
export class InternalFailureException extends __BaseException {
|
|
123
|
+
static shapeId = "com.amazonaws.synthetics#InternalFailureException";
|
|
115
124
|
name = "InternalFailureException";
|
|
116
125
|
$fault = "server";
|
|
117
126
|
Message;
|
|
@@ -126,6 +135,7 @@ export class InternalFailureException extends __BaseException {
|
|
|
126
135
|
}
|
|
127
136
|
}
|
|
128
137
|
export class NotFoundException extends __BaseException {
|
|
138
|
+
static shapeId = "com.amazonaws.synthetics#NotFoundException";
|
|
129
139
|
name = "NotFoundException";
|
|
130
140
|
$fault = "client";
|
|
131
141
|
Message;
|
|
@@ -140,6 +150,7 @@ export class NotFoundException extends __BaseException {
|
|
|
140
150
|
}
|
|
141
151
|
}
|
|
142
152
|
export class TooManyRequestsException extends __BaseException {
|
|
153
|
+
static shapeId = "com.amazonaws.synthetics#TooManyRequestsException";
|
|
143
154
|
name = "TooManyRequestsException";
|
|
144
155
|
$fault = "client";
|
|
145
156
|
Message;
|
|
@@ -5,6 +5,7 @@ import { SyntheticsServiceException as __BaseException } from "./SyntheticsServi
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "AccessDeniedException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
Message?: string | undefined;
|
|
@@ -18,6 +19,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
21
|
export declare class ConflictException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
21
23
|
readonly name: "ConflictException";
|
|
22
24
|
readonly $fault: "client";
|
|
23
25
|
Message?: string | undefined;
|
|
@@ -31,6 +33,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
31
33
|
* @public
|
|
32
34
|
*/
|
|
33
35
|
export declare class InternalServerException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
34
37
|
readonly name: "InternalServerException";
|
|
35
38
|
readonly $fault: "server";
|
|
36
39
|
Message?: string | undefined;
|
|
@@ -44,6 +47,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
44
47
|
* @public
|
|
45
48
|
*/
|
|
46
49
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
47
51
|
readonly name: "ResourceNotFoundException";
|
|
48
52
|
readonly $fault: "client";
|
|
49
53
|
Message?: string | undefined;
|
|
@@ -57,6 +61,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
57
61
|
* @public
|
|
58
62
|
*/
|
|
59
63
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
64
|
+
static readonly shapeId: string;
|
|
60
65
|
readonly name: "ServiceQuotaExceededException";
|
|
61
66
|
readonly $fault: "client";
|
|
62
67
|
Message?: string | undefined;
|
|
@@ -70,6 +75,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
70
75
|
* @public
|
|
71
76
|
*/
|
|
72
77
|
export declare class ValidationException extends __BaseException {
|
|
78
|
+
static readonly shapeId: string;
|
|
73
79
|
readonly name: "ValidationException";
|
|
74
80
|
readonly $fault: "client";
|
|
75
81
|
Message?: string | undefined;
|
|
@@ -83,6 +89,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
83
89
|
* @public
|
|
84
90
|
*/
|
|
85
91
|
export declare class BadRequestException extends __BaseException {
|
|
92
|
+
static readonly shapeId: string;
|
|
86
93
|
readonly name: "BadRequestException";
|
|
87
94
|
readonly $fault: "client";
|
|
88
95
|
Message?: string | undefined;
|
|
@@ -96,6 +103,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
96
103
|
* @public
|
|
97
104
|
*/
|
|
98
105
|
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
106
|
+
static readonly shapeId: string;
|
|
99
107
|
readonly name: "RequestEntityTooLargeException";
|
|
100
108
|
readonly $fault: "client";
|
|
101
109
|
Message?: string | undefined;
|
|
@@ -109,6 +117,7 @@ export declare class RequestEntityTooLargeException extends __BaseException {
|
|
|
109
117
|
* @public
|
|
110
118
|
*/
|
|
111
119
|
export declare class InternalFailureException extends __BaseException {
|
|
120
|
+
static readonly shapeId: string;
|
|
112
121
|
readonly name: "InternalFailureException";
|
|
113
122
|
readonly $fault: "server";
|
|
114
123
|
Message?: string | undefined;
|
|
@@ -122,6 +131,7 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
122
131
|
* @public
|
|
123
132
|
*/
|
|
124
133
|
export declare class NotFoundException extends __BaseException {
|
|
134
|
+
static readonly shapeId: string;
|
|
125
135
|
readonly name: "NotFoundException";
|
|
126
136
|
readonly $fault: "client";
|
|
127
137
|
Message?: string | undefined;
|
|
@@ -135,6 +145,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
135
145
|
* @public
|
|
136
146
|
*/
|
|
137
147
|
export declare class TooManyRequestsException extends __BaseException {
|
|
148
|
+
static readonly shapeId: string;
|
|
138
149
|
readonly name: "TooManyRequestsException";
|
|
139
150
|
readonly $fault: "client";
|
|
140
151
|
Message?: string | undefined;
|
|
@@ -1,66 +1,77 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SyntheticsServiceException as __BaseException } from "./SyntheticsServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AccessDeniedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class ConflictException extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "ConflictException";
|
|
11
13
|
readonly $fault: "client";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class InternalServerException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "InternalServerException";
|
|
17
20
|
readonly $fault: "server";
|
|
18
21
|
Message?: string | undefined;
|
|
19
22
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
20
23
|
}
|
|
21
24
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
22
26
|
readonly name: "ResourceNotFoundException";
|
|
23
27
|
readonly $fault: "client";
|
|
24
28
|
Message?: string | undefined;
|
|
25
29
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
26
30
|
}
|
|
27
31
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
32
|
+
static readonly shapeId: string;
|
|
28
33
|
readonly name: "ServiceQuotaExceededException";
|
|
29
34
|
readonly $fault: "client";
|
|
30
35
|
Message?: string | undefined;
|
|
31
36
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
32
37
|
}
|
|
33
38
|
export declare class ValidationException extends __BaseException {
|
|
39
|
+
static readonly shapeId: string;
|
|
34
40
|
readonly name: "ValidationException";
|
|
35
41
|
readonly $fault: "client";
|
|
36
42
|
Message?: string | undefined;
|
|
37
43
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
38
44
|
}
|
|
39
45
|
export declare class BadRequestException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
40
47
|
readonly name: "BadRequestException";
|
|
41
48
|
readonly $fault: "client";
|
|
42
49
|
Message?: string | undefined;
|
|
43
50
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
44
51
|
}
|
|
45
52
|
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
46
54
|
readonly name: "RequestEntityTooLargeException";
|
|
47
55
|
readonly $fault: "client";
|
|
48
56
|
Message?: string | undefined;
|
|
49
57
|
constructor(opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>);
|
|
50
58
|
}
|
|
51
59
|
export declare class InternalFailureException extends __BaseException {
|
|
60
|
+
static readonly shapeId: string;
|
|
52
61
|
readonly name: "InternalFailureException";
|
|
53
62
|
readonly $fault: "server";
|
|
54
63
|
Message?: string | undefined;
|
|
55
64
|
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
56
65
|
}
|
|
57
66
|
export declare class NotFoundException extends __BaseException {
|
|
67
|
+
static readonly shapeId: string;
|
|
58
68
|
readonly name: "NotFoundException";
|
|
59
69
|
readonly $fault: "client";
|
|
60
70
|
Message?: string | undefined;
|
|
61
71
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
62
72
|
}
|
|
63
73
|
export declare class TooManyRequestsException extends __BaseException {
|
|
74
|
+
static readonly shapeId: string;
|
|
64
75
|
readonly name: "TooManyRequestsException";
|
|
65
76
|
readonly $fault: "client";
|
|
66
77
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-synthetics",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Synthetics Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-synthetics",
|
|
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",
|