@aws-sdk/client-detective 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 +9 -1
- package/dist-es/models/DetectiveServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/DetectiveServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/DetectiveServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -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
|
|
|
@@ -140,6 +140,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
140
140
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
141
141
|
|
|
142
142
|
class DetectiveServiceException extends ServiceException {
|
|
143
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.detective#DetectiveServiceException";
|
|
143
144
|
constructor(options) {
|
|
144
145
|
super(options);
|
|
145
146
|
Object.setPrototypeOf(this, DetectiveServiceException.prototype);
|
|
@@ -147,6 +148,7 @@ class DetectiveServiceException extends ServiceException {
|
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
class AccessDeniedException extends DetectiveServiceException {
|
|
151
|
+
static shapeId = "com.amazonaws.detective#AccessDeniedException";
|
|
150
152
|
name = "AccessDeniedException";
|
|
151
153
|
$fault = "client";
|
|
152
154
|
Message;
|
|
@@ -169,6 +171,7 @@ class AccessDeniedException extends DetectiveServiceException {
|
|
|
169
171
|
}
|
|
170
172
|
}
|
|
171
173
|
class ConflictException extends DetectiveServiceException {
|
|
174
|
+
static shapeId = "com.amazonaws.detective#ConflictException";
|
|
172
175
|
name = "ConflictException";
|
|
173
176
|
$fault = "client";
|
|
174
177
|
Message;
|
|
@@ -183,6 +186,7 @@ class ConflictException extends DetectiveServiceException {
|
|
|
183
186
|
}
|
|
184
187
|
}
|
|
185
188
|
class InternalServerException extends DetectiveServiceException {
|
|
189
|
+
static shapeId = "com.amazonaws.detective#InternalServerException";
|
|
186
190
|
name = "InternalServerException";
|
|
187
191
|
$fault = "server";
|
|
188
192
|
Message;
|
|
@@ -197,6 +201,7 @@ class InternalServerException extends DetectiveServiceException {
|
|
|
197
201
|
}
|
|
198
202
|
}
|
|
199
203
|
class ResourceNotFoundException extends DetectiveServiceException {
|
|
204
|
+
static shapeId = "com.amazonaws.detective#ResourceNotFoundException";
|
|
200
205
|
name = "ResourceNotFoundException";
|
|
201
206
|
$fault = "client";
|
|
202
207
|
Message;
|
|
@@ -211,6 +216,7 @@ class ResourceNotFoundException extends DetectiveServiceException {
|
|
|
211
216
|
}
|
|
212
217
|
}
|
|
213
218
|
class ValidationException extends DetectiveServiceException {
|
|
219
|
+
static shapeId = "com.amazonaws.detective#ValidationException";
|
|
214
220
|
name = "ValidationException";
|
|
215
221
|
$fault = "client";
|
|
216
222
|
Message;
|
|
@@ -229,6 +235,7 @@ class ValidationException extends DetectiveServiceException {
|
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
237
|
class ServiceQuotaExceededException extends DetectiveServiceException {
|
|
238
|
+
static shapeId = "com.amazonaws.detective#ServiceQuotaExceededException";
|
|
232
239
|
name = "ServiceQuotaExceededException";
|
|
233
240
|
$fault = "client";
|
|
234
241
|
Message;
|
|
@@ -245,6 +252,7 @@ class ServiceQuotaExceededException extends DetectiveServiceException {
|
|
|
245
252
|
}
|
|
246
253
|
}
|
|
247
254
|
class TooManyRequestsException extends DetectiveServiceException {
|
|
255
|
+
static shapeId = "com.amazonaws.detective#TooManyRequestsException";
|
|
248
256
|
name = "TooManyRequestsException";
|
|
249
257
|
$fault = "client";
|
|
250
258
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class DetectiveServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.detective#DetectiveServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, DetectiveServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DetectiveServiceException as __BaseException } from "./DetectiveServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.detective#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -22,6 +23,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
export class ConflictException extends __BaseException {
|
|
26
|
+
static shapeId = "com.amazonaws.detective#ConflictException";
|
|
25
27
|
name = "ConflictException";
|
|
26
28
|
$fault = "client";
|
|
27
29
|
Message;
|
|
@@ -36,6 +38,7 @@ export class ConflictException extends __BaseException {
|
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
export class InternalServerException extends __BaseException {
|
|
41
|
+
static shapeId = "com.amazonaws.detective#InternalServerException";
|
|
39
42
|
name = "InternalServerException";
|
|
40
43
|
$fault = "server";
|
|
41
44
|
Message;
|
|
@@ -50,6 +53,7 @@ export class InternalServerException extends __BaseException {
|
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
export class ResourceNotFoundException extends __BaseException {
|
|
56
|
+
static shapeId = "com.amazonaws.detective#ResourceNotFoundException";
|
|
53
57
|
name = "ResourceNotFoundException";
|
|
54
58
|
$fault = "client";
|
|
55
59
|
Message;
|
|
@@ -64,6 +68,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
64
68
|
}
|
|
65
69
|
}
|
|
66
70
|
export class ValidationException extends __BaseException {
|
|
71
|
+
static shapeId = "com.amazonaws.detective#ValidationException";
|
|
67
72
|
name = "ValidationException";
|
|
68
73
|
$fault = "client";
|
|
69
74
|
Message;
|
|
@@ -82,6 +87,7 @@ export class ValidationException extends __BaseException {
|
|
|
82
87
|
}
|
|
83
88
|
}
|
|
84
89
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
90
|
+
static shapeId = "com.amazonaws.detective#ServiceQuotaExceededException";
|
|
85
91
|
name = "ServiceQuotaExceededException";
|
|
86
92
|
$fault = "client";
|
|
87
93
|
Message;
|
|
@@ -98,6 +104,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
98
104
|
}
|
|
99
105
|
}
|
|
100
106
|
export class TooManyRequestsException extends __BaseException {
|
|
107
|
+
static shapeId = "com.amazonaws.detective#TooManyRequestsException";
|
|
101
108
|
name = "TooManyRequestsException";
|
|
102
109
|
$fault = "client";
|
|
103
110
|
Message;
|
|
@@ -7,6 +7,7 @@ import type { ErrorCode } from "./enums";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
Message?: string | undefined;
|
|
@@ -40,6 +41,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
40
41
|
* @public
|
|
41
42
|
*/
|
|
42
43
|
export declare class ConflictException extends __BaseException {
|
|
44
|
+
static readonly shapeId: string;
|
|
43
45
|
readonly name: "ConflictException";
|
|
44
46
|
readonly $fault: "client";
|
|
45
47
|
Message?: string | undefined;
|
|
@@ -53,6 +55,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
53
55
|
* @public
|
|
54
56
|
*/
|
|
55
57
|
export declare class InternalServerException extends __BaseException {
|
|
58
|
+
static readonly shapeId: string;
|
|
56
59
|
readonly name: "InternalServerException";
|
|
57
60
|
readonly $fault: "server";
|
|
58
61
|
Message?: string | undefined;
|
|
@@ -66,6 +69,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
66
69
|
* @public
|
|
67
70
|
*/
|
|
68
71
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
72
|
+
static readonly shapeId: string;
|
|
69
73
|
readonly name: "ResourceNotFoundException";
|
|
70
74
|
readonly $fault: "client";
|
|
71
75
|
Message?: string | undefined;
|
|
@@ -79,6 +83,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
79
83
|
* @public
|
|
80
84
|
*/
|
|
81
85
|
export declare class ValidationException extends __BaseException {
|
|
86
|
+
static readonly shapeId: string;
|
|
82
87
|
readonly name: "ValidationException";
|
|
83
88
|
readonly $fault: "client";
|
|
84
89
|
Message?: string | undefined;
|
|
@@ -112,6 +117,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
112
117
|
* @public
|
|
113
118
|
*/
|
|
114
119
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
120
|
+
static readonly shapeId: string;
|
|
115
121
|
readonly name: "ServiceQuotaExceededException";
|
|
116
122
|
readonly $fault: "client";
|
|
117
123
|
Message?: string | undefined;
|
|
@@ -131,6 +137,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
131
137
|
* @public
|
|
132
138
|
*/
|
|
133
139
|
export declare class TooManyRequestsException extends __BaseException {
|
|
140
|
+
static readonly shapeId: string;
|
|
134
141
|
readonly name: "TooManyRequestsException";
|
|
135
142
|
readonly $fault: "client";
|
|
136
143
|
Message?: string | undefined;
|
|
@@ -2,6 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { DetectiveServiceException as __BaseException } from "./DetectiveServiceException";
|
|
3
3
|
import { ErrorCode } 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
|
Message?: string | undefined;
|
|
@@ -12,24 +13,28 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
13
14
|
}
|
|
14
15
|
export declare class ConflictException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
15
17
|
readonly name: "ConflictException";
|
|
16
18
|
readonly $fault: "client";
|
|
17
19
|
Message?: string | undefined;
|
|
18
20
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
19
21
|
}
|
|
20
22
|
export declare class InternalServerException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
21
24
|
readonly name: "InternalServerException";
|
|
22
25
|
readonly $fault: "server";
|
|
23
26
|
Message?: string | undefined;
|
|
24
27
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
25
28
|
}
|
|
26
29
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
30
|
+
static readonly shapeId: string;
|
|
27
31
|
readonly name: "ResourceNotFoundException";
|
|
28
32
|
readonly $fault: "client";
|
|
29
33
|
Message?: string | undefined;
|
|
30
34
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
31
35
|
}
|
|
32
36
|
export declare class ValidationException extends __BaseException {
|
|
37
|
+
static readonly shapeId: string;
|
|
33
38
|
readonly name: "ValidationException";
|
|
34
39
|
readonly $fault: "client";
|
|
35
40
|
Message?: string | undefined;
|
|
@@ -38,6 +43,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
38
43
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
39
44
|
}
|
|
40
45
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
41
47
|
readonly name: "ServiceQuotaExceededException";
|
|
42
48
|
readonly $fault: "client";
|
|
43
49
|
Message?: string | undefined;
|
|
@@ -45,6 +51,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
45
51
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
46
52
|
}
|
|
47
53
|
export declare class TooManyRequestsException extends __BaseException {
|
|
54
|
+
static readonly shapeId: string;
|
|
48
55
|
readonly name: "TooManyRequestsException";
|
|
49
56
|
readonly $fault: "client";
|
|
50
57
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-detective",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Detective Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-detective",
|
|
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",
|