@aws-sdk/client-codeguru-security 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 +8 -1
- package/dist-es/models/CodeGuruSecurityServiceException.js +1 -0
- package/dist-es/models/errors.js +6 -0
- package/dist-types/models/CodeGuruSecurityServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +6 -0
- package/dist-types/ts3.4/models/CodeGuruSecurityServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -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 CodeGuruSecurityServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.codegurusecurity#CodeGuruSecurityServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, CodeGuruSecurityServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class CodeGuruSecurityServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends CodeGuruSecurityServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.codegurusecurity#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
errorCode;
|
|
@@ -157,6 +159,7 @@ class AccessDeniedException extends CodeGuruSecurityServiceException {
|
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
161
|
class InternalServerException extends CodeGuruSecurityServiceException {
|
|
162
|
+
static shapeId = "com.amazonaws.codegurusecurity#InternalServerException";
|
|
160
163
|
name = "InternalServerException";
|
|
161
164
|
$fault = "server";
|
|
162
165
|
$retryable = {};
|
|
@@ -172,6 +175,7 @@ class InternalServerException extends CodeGuruSecurityServiceException {
|
|
|
172
175
|
}
|
|
173
176
|
}
|
|
174
177
|
class ThrottlingException extends CodeGuruSecurityServiceException {
|
|
178
|
+
static shapeId = "com.amazonaws.codegurusecurity#ThrottlingException";
|
|
175
179
|
name = "ThrottlingException";
|
|
176
180
|
$fault = "client";
|
|
177
181
|
$retryable = {
|
|
@@ -193,6 +197,7 @@ class ThrottlingException extends CodeGuruSecurityServiceException {
|
|
|
193
197
|
}
|
|
194
198
|
}
|
|
195
199
|
class ValidationException extends CodeGuruSecurityServiceException {
|
|
200
|
+
static shapeId = "com.amazonaws.codegurusecurity#ValidationException";
|
|
196
201
|
name = "ValidationException";
|
|
197
202
|
$fault = "client";
|
|
198
203
|
errorCode;
|
|
@@ -211,6 +216,7 @@ class ValidationException extends CodeGuruSecurityServiceException {
|
|
|
211
216
|
}
|
|
212
217
|
}
|
|
213
218
|
class ConflictException extends CodeGuruSecurityServiceException {
|
|
219
|
+
static shapeId = "com.amazonaws.codegurusecurity#ConflictException";
|
|
214
220
|
name = "ConflictException";
|
|
215
221
|
$fault = "client";
|
|
216
222
|
errorCode;
|
|
@@ -229,6 +235,7 @@ class ConflictException extends CodeGuruSecurityServiceException {
|
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
237
|
class ResourceNotFoundException extends CodeGuruSecurityServiceException {
|
|
238
|
+
static shapeId = "com.amazonaws.codegurusecurity#ResourceNotFoundException";
|
|
232
239
|
name = "ResourceNotFoundException";
|
|
233
240
|
$fault = "client";
|
|
234
241
|
errorCode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class CodeGuruSecurityServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.codegurusecurity#CodeGuruSecurityServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, CodeGuruSecurityServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.codegurusecurity#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
errorCode;
|
|
@@ -18,6 +19,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
export class InternalServerException extends __BaseException {
|
|
22
|
+
static shapeId = "com.amazonaws.codegurusecurity#InternalServerException";
|
|
21
23
|
name = "InternalServerException";
|
|
22
24
|
$fault = "server";
|
|
23
25
|
$retryable = {};
|
|
@@ -33,6 +35,7 @@ export class InternalServerException extends __BaseException {
|
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
export class ThrottlingException extends __BaseException {
|
|
38
|
+
static shapeId = "com.amazonaws.codegurusecurity#ThrottlingException";
|
|
36
39
|
name = "ThrottlingException";
|
|
37
40
|
$fault = "client";
|
|
38
41
|
$retryable = {
|
|
@@ -54,6 +57,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
export class ValidationException extends __BaseException {
|
|
60
|
+
static shapeId = "com.amazonaws.codegurusecurity#ValidationException";
|
|
57
61
|
name = "ValidationException";
|
|
58
62
|
$fault = "client";
|
|
59
63
|
errorCode;
|
|
@@ -72,6 +76,7 @@ export class ValidationException extends __BaseException {
|
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
export class ConflictException extends __BaseException {
|
|
79
|
+
static shapeId = "com.amazonaws.codegurusecurity#ConflictException";
|
|
75
80
|
name = "ConflictException";
|
|
76
81
|
$fault = "client";
|
|
77
82
|
errorCode;
|
|
@@ -90,6 +95,7 @@ export class ConflictException extends __BaseException {
|
|
|
90
95
|
}
|
|
91
96
|
}
|
|
92
97
|
export class ResourceNotFoundException extends __BaseException {
|
|
98
|
+
static shapeId = "com.amazonaws.codegurusecurity#ResourceNotFoundException";
|
|
93
99
|
name = "ResourceNotFoundException";
|
|
94
100
|
$fault = "client";
|
|
95
101
|
errorCode;
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from CodeGuruSecurity service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class CodeGuruSecurityServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
12
13
|
*/
|
|
@@ -7,6 +7,7 @@ import type { ValidationExceptionField } from "./models_0";
|
|
|
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
|
/**
|
|
@@ -34,6 +35,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
34
35
|
* @public
|
|
35
36
|
*/
|
|
36
37
|
export declare class InternalServerException extends __BaseException {
|
|
38
|
+
static readonly shapeId: string;
|
|
37
39
|
readonly name: "InternalServerException";
|
|
38
40
|
readonly $fault: "server";
|
|
39
41
|
$retryable: {};
|
|
@@ -52,6 +54,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
52
54
|
* @public
|
|
53
55
|
*/
|
|
54
56
|
export declare class ThrottlingException extends __BaseException {
|
|
57
|
+
static readonly shapeId: string;
|
|
55
58
|
readonly name: "ThrottlingException";
|
|
56
59
|
readonly $fault: "client";
|
|
57
60
|
$retryable: {
|
|
@@ -82,6 +85,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
82
85
|
* @public
|
|
83
86
|
*/
|
|
84
87
|
export declare class ValidationException extends __BaseException {
|
|
88
|
+
static readonly shapeId: string;
|
|
85
89
|
readonly name: "ValidationException";
|
|
86
90
|
readonly $fault: "client";
|
|
87
91
|
/**
|
|
@@ -109,6 +113,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
109
113
|
* @public
|
|
110
114
|
*/
|
|
111
115
|
export declare class ConflictException extends __BaseException {
|
|
116
|
+
static readonly shapeId: string;
|
|
112
117
|
readonly name: "ConflictException";
|
|
113
118
|
readonly $fault: "client";
|
|
114
119
|
/**
|
|
@@ -136,6 +141,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
136
141
|
* @public
|
|
137
142
|
*/
|
|
138
143
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
144
|
+
static readonly shapeId: string;
|
|
139
145
|
readonly name: "ResourceNotFoundException";
|
|
140
146
|
readonly $fault: "client";
|
|
141
147
|
/**
|
|
@@ -3,6 +3,7 @@ import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruS
|
|
|
3
3
|
import { ValidationExceptionReason } from "./enums";
|
|
4
4
|
import { ValidationExceptionField } from "./models_0";
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
6
7
|
readonly name: "AccessDeniedException";
|
|
7
8
|
readonly $fault: "client";
|
|
8
9
|
errorCode: string | undefined;
|
|
@@ -11,6 +12,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
11
12
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
12
13
|
}
|
|
13
14
|
export declare class InternalServerException extends __BaseException {
|
|
15
|
+
static readonly shapeId: string;
|
|
14
16
|
readonly name: "InternalServerException";
|
|
15
17
|
readonly $fault: "server";
|
|
16
18
|
$retryable: {};
|
|
@@ -18,6 +20,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
18
20
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
19
21
|
}
|
|
20
22
|
export declare class ThrottlingException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
21
24
|
readonly name: "ThrottlingException";
|
|
22
25
|
readonly $fault: "client";
|
|
23
26
|
$retryable: {
|
|
@@ -29,6 +32,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
29
32
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
30
33
|
}
|
|
31
34
|
export declare class ValidationException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
32
36
|
readonly name: "ValidationException";
|
|
33
37
|
readonly $fault: "client";
|
|
34
38
|
errorCode: string | undefined;
|
|
@@ -37,6 +41,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
37
41
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
38
42
|
}
|
|
39
43
|
export declare class ConflictException extends __BaseException {
|
|
44
|
+
static readonly shapeId: string;
|
|
40
45
|
readonly name: "ConflictException";
|
|
41
46
|
readonly $fault: "client";
|
|
42
47
|
errorCode: string | undefined;
|
|
@@ -45,6 +50,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
45
50
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
46
51
|
}
|
|
47
52
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
48
54
|
readonly name: "ResourceNotFoundException";
|
|
49
55
|
readonly $fault: "client";
|
|
50
56
|
errorCode: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeguru-security",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Codeguru Security Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codeguru-security",
|
|
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",
|