@aws-sdk/client-codeguru-security 3.934.0 → 3.935.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
@@ -135,29 +135,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends CodeGuruSecuri
135
135
  this.resourceType = opts.resourceType;
136
136
  }
137
137
  };
138
- const AnalysisType = {
139
- ALL: "All",
140
- SECURITY: "Security",
141
- };
142
- const ErrorCode = {
143
- DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER",
144
- INTERNAL_ERROR: "INTERNAL_ERROR",
145
- INVALID_FINDING_ID: "INVALID_FINDING_ID",
146
- INVALID_SCAN_NAME: "INVALID_SCAN_NAME",
147
- ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST",
148
- };
149
- const Severity = {
150
- CRITICAL: "Critical",
151
- HIGH: "High",
152
- INFO: "Info",
153
- LOW: "Low",
154
- MEDIUM: "Medium",
155
- };
156
- const Status = {
157
- ALL: "All",
158
- CLOSED: "Closed",
159
- OPEN: "Open",
160
- };
161
138
  let InternalServerException$1 = class InternalServerException extends CodeGuruSecurityServiceException$1 {
162
139
  name = "InternalServerException";
163
140
  $fault = "server";
@@ -194,13 +171,6 @@ let ThrottlingException$1 = class ThrottlingException extends CodeGuruSecuritySe
194
171
  this.quotaCode = opts.quotaCode;
195
172
  }
196
173
  };
197
- const ValidationExceptionReason = {
198
- CANNOT_PARSE: "cannotParse",
199
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
200
- LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch",
201
- OTHER: "other",
202
- UNKNOWN_OPERATION: "unknownOperation",
203
- };
204
174
  let ValidationException$1 = class ValidationException extends CodeGuruSecurityServiceException$1 {
205
175
  name = "ValidationException";
206
176
  $fault = "client";
@@ -237,15 +207,6 @@ let ConflictException$1 = class ConflictException extends CodeGuruSecurityServic
237
207
  this.resourceType = opts.resourceType;
238
208
  }
239
209
  };
240
- const ScanType = {
241
- EXPRESS: "Express",
242
- STANDARD: "Standard",
243
- };
244
- const ScanState = {
245
- FAILED: "Failed",
246
- IN_PROGRESS: "InProgress",
247
- SUCCESSFUL: "Successful",
248
- };
249
210
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends CodeGuruSecurityServiceException$1 {
250
211
  name = "ResourceNotFoundException";
251
212
  $fault = "client";
@@ -1125,6 +1086,46 @@ const paginateListFindingsMetrics = core.createPaginator(CodeGuruSecurityClient,
1125
1086
 
1126
1087
  const paginateListScans = core.createPaginator(CodeGuruSecurityClient, ListScansCommand, "nextToken", "nextToken", "maxResults");
1127
1088
 
1089
+ const AnalysisType = {
1090
+ ALL: "All",
1091
+ SECURITY: "Security",
1092
+ };
1093
+ const ErrorCode = {
1094
+ DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER",
1095
+ INTERNAL_ERROR: "INTERNAL_ERROR",
1096
+ INVALID_FINDING_ID: "INVALID_FINDING_ID",
1097
+ INVALID_SCAN_NAME: "INVALID_SCAN_NAME",
1098
+ ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST",
1099
+ };
1100
+ const Severity = {
1101
+ CRITICAL: "Critical",
1102
+ HIGH: "High",
1103
+ INFO: "Info",
1104
+ LOW: "Low",
1105
+ MEDIUM: "Medium",
1106
+ };
1107
+ const Status = {
1108
+ ALL: "All",
1109
+ CLOSED: "Closed",
1110
+ OPEN: "Open",
1111
+ };
1112
+ const ValidationExceptionReason = {
1113
+ CANNOT_PARSE: "cannotParse",
1114
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
1115
+ LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch",
1116
+ OTHER: "other",
1117
+ UNKNOWN_OPERATION: "unknownOperation",
1118
+ };
1119
+ const ScanType = {
1120
+ EXPRESS: "Express",
1121
+ STANDARD: "Standard",
1122
+ };
1123
+ const ScanState = {
1124
+ FAILED: "Failed",
1125
+ IN_PROGRESS: "InProgress",
1126
+ SUCCESSFUL: "Successful",
1127
+ };
1128
+
1128
1129
  Object.defineProperty(exports, "$Command", {
1129
1130
  enumerable: true,
1130
1131
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./CodeGuruSecurityClient";
2
2
  export * from "./CodeGuruSecurity";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { CodeGuruSecurityServiceException } from "./models/CodeGuruSecurityServiceException";
@@ -0,0 +1,39 @@
1
+ export const AnalysisType = {
2
+ ALL: "All",
3
+ SECURITY: "Security",
4
+ };
5
+ export const ErrorCode = {
6
+ DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER",
7
+ INTERNAL_ERROR: "INTERNAL_ERROR",
8
+ INVALID_FINDING_ID: "INVALID_FINDING_ID",
9
+ INVALID_SCAN_NAME: "INVALID_SCAN_NAME",
10
+ ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST",
11
+ };
12
+ export const Severity = {
13
+ CRITICAL: "Critical",
14
+ HIGH: "High",
15
+ INFO: "Info",
16
+ LOW: "Low",
17
+ MEDIUM: "Medium",
18
+ };
19
+ export const Status = {
20
+ ALL: "All",
21
+ CLOSED: "Closed",
22
+ OPEN: "Open",
23
+ };
24
+ export const ValidationExceptionReason = {
25
+ CANNOT_PARSE: "cannotParse",
26
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
27
+ LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch",
28
+ OTHER: "other",
29
+ UNKNOWN_OPERATION: "unknownOperation",
30
+ };
31
+ export const ScanType = {
32
+ EXPRESS: "Express",
33
+ STANDARD: "Standard",
34
+ };
35
+ export const ScanState = {
36
+ FAILED: "Failed",
37
+ IN_PROGRESS: "InProgress",
38
+ SUCCESSFUL: "Successful",
39
+ };
@@ -0,0 +1,109 @@
1
+ import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ errorCode;
6
+ resourceId;
7
+ resourceType;
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
+ this.errorCode = opts.errorCode;
16
+ this.resourceId = opts.resourceId;
17
+ this.resourceType = opts.resourceType;
18
+ }
19
+ }
20
+ export class InternalServerException extends __BaseException {
21
+ name = "InternalServerException";
22
+ $fault = "server";
23
+ $retryable = {};
24
+ error;
25
+ constructor(opts) {
26
+ super({
27
+ name: "InternalServerException",
28
+ $fault: "server",
29
+ ...opts,
30
+ });
31
+ Object.setPrototypeOf(this, InternalServerException.prototype);
32
+ this.error = opts.error;
33
+ }
34
+ }
35
+ export class ThrottlingException extends __BaseException {
36
+ name = "ThrottlingException";
37
+ $fault = "client";
38
+ $retryable = {
39
+ throttling: true,
40
+ };
41
+ errorCode;
42
+ serviceCode;
43
+ quotaCode;
44
+ constructor(opts) {
45
+ super({
46
+ name: "ThrottlingException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
51
+ this.errorCode = opts.errorCode;
52
+ this.serviceCode = opts.serviceCode;
53
+ this.quotaCode = opts.quotaCode;
54
+ }
55
+ }
56
+ export class ValidationException extends __BaseException {
57
+ name = "ValidationException";
58
+ $fault = "client";
59
+ errorCode;
60
+ reason;
61
+ fieldList;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ValidationException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ValidationException.prototype);
69
+ this.errorCode = opts.errorCode;
70
+ this.reason = opts.reason;
71
+ this.fieldList = opts.fieldList;
72
+ }
73
+ }
74
+ export class ConflictException extends __BaseException {
75
+ name = "ConflictException";
76
+ $fault = "client";
77
+ errorCode;
78
+ resourceId;
79
+ resourceType;
80
+ constructor(opts) {
81
+ super({
82
+ name: "ConflictException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, ConflictException.prototype);
87
+ this.errorCode = opts.errorCode;
88
+ this.resourceId = opts.resourceId;
89
+ this.resourceType = opts.resourceType;
90
+ }
91
+ }
92
+ export class ResourceNotFoundException extends __BaseException {
93
+ name = "ResourceNotFoundException";
94
+ $fault = "client";
95
+ errorCode;
96
+ resourceId;
97
+ resourceType;
98
+ constructor(opts) {
99
+ super({
100
+ name: "ResourceNotFoundException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
105
+ this.errorCode = opts.errorCode;
106
+ this.resourceId = opts.resourceId;
107
+ this.resourceType = opts.resourceType;
108
+ }
109
+ }
@@ -1,148 +1 @@
1
- import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- errorCode;
6
- resourceId;
7
- resourceType;
8
- constructor(opts) {
9
- super({
10
- name: "AccessDeniedException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- this.errorCode = opts.errorCode;
16
- this.resourceId = opts.resourceId;
17
- this.resourceType = opts.resourceType;
18
- }
19
- }
20
- export const AnalysisType = {
21
- ALL: "All",
22
- SECURITY: "Security",
23
- };
24
- export const ErrorCode = {
25
- DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER",
26
- INTERNAL_ERROR: "INTERNAL_ERROR",
27
- INVALID_FINDING_ID: "INVALID_FINDING_ID",
28
- INVALID_SCAN_NAME: "INVALID_SCAN_NAME",
29
- ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST",
30
- };
31
- export const Severity = {
32
- CRITICAL: "Critical",
33
- HIGH: "High",
34
- INFO: "Info",
35
- LOW: "Low",
36
- MEDIUM: "Medium",
37
- };
38
- export const Status = {
39
- ALL: "All",
40
- CLOSED: "Closed",
41
- OPEN: "Open",
42
- };
43
- export class InternalServerException extends __BaseException {
44
- name = "InternalServerException";
45
- $fault = "server";
46
- $retryable = {};
47
- error;
48
- constructor(opts) {
49
- super({
50
- name: "InternalServerException",
51
- $fault: "server",
52
- ...opts,
53
- });
54
- Object.setPrototypeOf(this, InternalServerException.prototype);
55
- this.error = opts.error;
56
- }
57
- }
58
- export class ThrottlingException extends __BaseException {
59
- name = "ThrottlingException";
60
- $fault = "client";
61
- $retryable = {
62
- throttling: true,
63
- };
64
- errorCode;
65
- serviceCode;
66
- quotaCode;
67
- constructor(opts) {
68
- super({
69
- name: "ThrottlingException",
70
- $fault: "client",
71
- ...opts,
72
- });
73
- Object.setPrototypeOf(this, ThrottlingException.prototype);
74
- this.errorCode = opts.errorCode;
75
- this.serviceCode = opts.serviceCode;
76
- this.quotaCode = opts.quotaCode;
77
- }
78
- }
79
- export const ValidationExceptionReason = {
80
- CANNOT_PARSE: "cannotParse",
81
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
82
- LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch",
83
- OTHER: "other",
84
- UNKNOWN_OPERATION: "unknownOperation",
85
- };
86
- export class ValidationException extends __BaseException {
87
- name = "ValidationException";
88
- $fault = "client";
89
- errorCode;
90
- reason;
91
- fieldList;
92
- constructor(opts) {
93
- super({
94
- name: "ValidationException",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- Object.setPrototypeOf(this, ValidationException.prototype);
99
- this.errorCode = opts.errorCode;
100
- this.reason = opts.reason;
101
- this.fieldList = opts.fieldList;
102
- }
103
- }
104
- export class ConflictException extends __BaseException {
105
- name = "ConflictException";
106
- $fault = "client";
107
- errorCode;
108
- resourceId;
109
- resourceType;
110
- constructor(opts) {
111
- super({
112
- name: "ConflictException",
113
- $fault: "client",
114
- ...opts,
115
- });
116
- Object.setPrototypeOf(this, ConflictException.prototype);
117
- this.errorCode = opts.errorCode;
118
- this.resourceId = opts.resourceId;
119
- this.resourceType = opts.resourceType;
120
- }
121
- }
122
- export const ScanType = {
123
- EXPRESS: "Express",
124
- STANDARD: "Standard",
125
- };
126
- export const ScanState = {
127
- FAILED: "Failed",
128
- IN_PROGRESS: "InProgress",
129
- SUCCESSFUL: "Successful",
130
- };
131
- export class ResourceNotFoundException extends __BaseException {
132
- name = "ResourceNotFoundException";
133
- $fault = "client";
134
- errorCode;
135
- resourceId;
136
- resourceType;
137
- constructor(opts) {
138
- super({
139
- name: "ResourceNotFoundException",
140
- $fault: "client",
141
- ...opts,
142
- });
143
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
144
- this.errorCode = opts.errorCode;
145
- this.resourceId = opts.resourceId;
146
- this.resourceType = opts.resourceType;
147
- }
148
- }
1
+ export {};
@@ -169,7 +169,7 @@ const _v = "vulnerability";
169
169
  const n0 = "com.amazonaws.codegurusecurity";
170
170
  import { TypeRegistry } from "@smithy/core/schema";
171
171
  import { CodeGuruSecurityServiceException as __CodeGuruSecurityServiceException } from "../models/CodeGuruSecurityServiceException";
172
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
172
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
173
173
  export var S3Url = [0, n0, _SU, 8, 0];
174
174
  export var AccessDeniedException = [
175
175
  -3,
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { CodeGuruSecurityExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { CodeGuruSecurityServiceException } from "./models/CodeGuruSecurityServiceException";
@@ -0,0 +1,95 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AnalysisType: {
6
+ readonly ALL: "All";
7
+ readonly SECURITY: "Security";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ErrorCode: {
18
+ readonly DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER";
19
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
20
+ readonly INVALID_FINDING_ID: "INVALID_FINDING_ID";
21
+ readonly INVALID_SCAN_NAME: "INVALID_SCAN_NAME";
22
+ readonly ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
28
+ /**
29
+ * @public
30
+ * @enum
31
+ */
32
+ export declare const Severity: {
33
+ readonly CRITICAL: "Critical";
34
+ readonly HIGH: "High";
35
+ readonly INFO: "Info";
36
+ readonly LOW: "Low";
37
+ readonly MEDIUM: "Medium";
38
+ };
39
+ /**
40
+ * @public
41
+ */
42
+ export type Severity = (typeof Severity)[keyof typeof Severity];
43
+ /**
44
+ * @public
45
+ * @enum
46
+ */
47
+ export declare const Status: {
48
+ readonly ALL: "All";
49
+ readonly CLOSED: "Closed";
50
+ readonly OPEN: "Open";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type Status = (typeof Status)[keyof typeof Status];
56
+ /**
57
+ * @public
58
+ * @enum
59
+ */
60
+ export declare const ValidationExceptionReason: {
61
+ readonly CANNOT_PARSE: "cannotParse";
62
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
63
+ readonly LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch";
64
+ readonly OTHER: "other";
65
+ readonly UNKNOWN_OPERATION: "unknownOperation";
66
+ };
67
+ /**
68
+ * @public
69
+ */
70
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
71
+ /**
72
+ * @public
73
+ * @enum
74
+ */
75
+ export declare const ScanType: {
76
+ readonly EXPRESS: "Express";
77
+ readonly STANDARD: "Standard";
78
+ };
79
+ /**
80
+ * @public
81
+ */
82
+ export type ScanType = (typeof ScanType)[keyof typeof ScanType];
83
+ /**
84
+ * @public
85
+ * @enum
86
+ */
87
+ export declare const ScanState: {
88
+ readonly FAILED: "Failed";
89
+ readonly IN_PROGRESS: "InProgress";
90
+ readonly SUCCESSFUL: "Successful";
91
+ };
92
+ /**
93
+ * @public
94
+ */
95
+ export type ScanState = (typeof ScanState)[keyof typeof ScanState];
@@ -0,0 +1,160 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
5
+ /**
6
+ * <p>You do not have sufficient access to perform this action.</p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * <p>The identifier for the error.</p>
14
+ * @public
15
+ */
16
+ errorCode: string | undefined;
17
+ /**
18
+ * <p>The identifier for the resource you don't have access to.</p>
19
+ * @public
20
+ */
21
+ resourceId?: string | undefined;
22
+ /**
23
+ * <p>The type of resource you don't have access to.</p>
24
+ * @public
25
+ */
26
+ resourceType?: string | undefined;
27
+ /**
28
+ * @internal
29
+ */
30
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
31
+ }
32
+ /**
33
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
34
+ * @public
35
+ */
36
+ export declare class InternalServerException extends __BaseException {
37
+ readonly name: "InternalServerException";
38
+ readonly $fault: "server";
39
+ $retryable: {};
40
+ /**
41
+ * <p>The internal error encountered by the server.</p>
42
+ * @public
43
+ */
44
+ error?: string | undefined;
45
+ /**
46
+ * @internal
47
+ */
48
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
49
+ }
50
+ /**
51
+ * <p>The request was denied due to request throttling.</p>
52
+ * @public
53
+ */
54
+ export declare class ThrottlingException extends __BaseException {
55
+ readonly name: "ThrottlingException";
56
+ readonly $fault: "client";
57
+ $retryable: {
58
+ throttling: boolean;
59
+ };
60
+ /**
61
+ * <p>The identifier for the error.</p>
62
+ * @public
63
+ */
64
+ errorCode: string | undefined;
65
+ /**
66
+ * <p>The identifier for the originating service.</p>
67
+ * @public
68
+ */
69
+ serviceCode?: string | undefined;
70
+ /**
71
+ * <p>The identifier for the originating quota.</p>
72
+ * @public
73
+ */
74
+ quotaCode?: string | undefined;
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
79
+ }
80
+ /**
81
+ * <p>The input fails to satisfy the specified constraints.</p>
82
+ * @public
83
+ */
84
+ export declare class ValidationException extends __BaseException {
85
+ readonly name: "ValidationException";
86
+ readonly $fault: "client";
87
+ /**
88
+ * <p>The identifier for the error.</p>
89
+ * @public
90
+ */
91
+ errorCode: string | undefined;
92
+ /**
93
+ * <p>The reason the request failed validation.</p>
94
+ * @public
95
+ */
96
+ reason: ValidationExceptionReason | undefined;
97
+ /**
98
+ * <p>The field that caused the error, if applicable.</p>
99
+ * @public
100
+ */
101
+ fieldList?: ValidationExceptionField[] | undefined;
102
+ /**
103
+ * @internal
104
+ */
105
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
106
+ }
107
+ /**
108
+ * <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
109
+ * @public
110
+ */
111
+ export declare class ConflictException extends __BaseException {
112
+ readonly name: "ConflictException";
113
+ readonly $fault: "client";
114
+ /**
115
+ * <p>The identifier for the error.</p>
116
+ * @public
117
+ */
118
+ errorCode: string | undefined;
119
+ /**
120
+ * <p>The identifier for the service resource associated with the request.</p>
121
+ * @public
122
+ */
123
+ resourceId: string | undefined;
124
+ /**
125
+ * <p>The type of resource associated with the request.</p>
126
+ * @public
127
+ */
128
+ resourceType: string | undefined;
129
+ /**
130
+ * @internal
131
+ */
132
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
133
+ }
134
+ /**
135
+ * <p>The resource specified in the request was not found.</p>
136
+ * @public
137
+ */
138
+ export declare class ResourceNotFoundException extends __BaseException {
139
+ readonly name: "ResourceNotFoundException";
140
+ readonly $fault: "client";
141
+ /**
142
+ * <p>The identifier for the error.</p>
143
+ * @public
144
+ */
145
+ errorCode: string | undefined;
146
+ /**
147
+ * <p>The identifier for the resource that was not found.</p>
148
+ * @public
149
+ */
150
+ resourceId: string | undefined;
151
+ /**
152
+ * <p>The type of resource that was not found.</p>
153
+ * @public
154
+ */
155
+ resourceType: string | undefined;
156
+ /**
157
+ * @internal
158
+ */
159
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
160
+ }
@@ -1,32 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * <p>The identifier for the error.</p>
12
- * @public
13
- */
14
- errorCode: string | undefined;
15
- /**
16
- * <p>The identifier for the resource you don't have access to.</p>
17
- * @public
18
- */
19
- resourceId?: string | undefined;
20
- /**
21
- * <p>The type of resource you don't have access to.</p>
22
- * @public
23
- */
24
- resourceType?: string | undefined;
25
- /**
26
- * @internal
27
- */
28
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
29
- }
1
+ import { AnalysisType, ErrorCode, ScanState, ScanType, Severity, Status } from "./enums";
30
2
  /**
31
3
  * <p>A numeric value corresponding to the severity of a finding, such as the number of open findings or the average time it takes to close findings of a given severity.</p>
32
4
  * @public
@@ -89,18 +61,6 @@ export interface AccountFindingsMetric {
89
61
  */
90
62
  meanTimeToClose?: FindingMetricsValuePerSeverity | undefined;
91
63
  }
92
- /**
93
- * @public
94
- * @enum
95
- */
96
- export declare const AnalysisType: {
97
- readonly ALL: "All";
98
- readonly SECURITY: "Security";
99
- };
100
- /**
101
- * @public
102
- */
103
- export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
104
64
  /**
105
65
  * <p>An object that contains information about a finding and the scan that generated it. </p>
106
66
  * @public
@@ -127,21 +87,6 @@ export interface BatchGetFindingsRequest {
127
87
  */
128
88
  findingIdentifiers: FindingIdentifier[] | undefined;
129
89
  }
130
- /**
131
- * @public
132
- * @enum
133
- */
134
- export declare const ErrorCode: {
135
- readonly DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER";
136
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
137
- readonly INVALID_FINDING_ID: "INVALID_FINDING_ID";
138
- readonly INVALID_SCAN_NAME: "INVALID_SCAN_NAME";
139
- readonly ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST";
140
- };
141
- /**
142
- * @public
143
- */
144
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
145
90
  /**
146
91
  * <p>Contains information about the error that caused a finding to fail to be retrieved.</p>
147
92
  * @public
@@ -232,34 +177,6 @@ export interface Resource {
232
177
  */
233
178
  subResourceId?: string | undefined;
234
179
  }
235
- /**
236
- * @public
237
- * @enum
238
- */
239
- export declare const Severity: {
240
- readonly CRITICAL: "Critical";
241
- readonly HIGH: "High";
242
- readonly INFO: "Info";
243
- readonly LOW: "Low";
244
- readonly MEDIUM: "Medium";
245
- };
246
- /**
247
- * @public
248
- */
249
- export type Severity = (typeof Severity)[keyof typeof Severity];
250
- /**
251
- * @public
252
- * @enum
253
- */
254
- export declare const Status: {
255
- readonly ALL: "All";
256
- readonly CLOSED: "Closed";
257
- readonly OPEN: "Open";
258
- };
259
- /**
260
- * @public
261
- */
262
- export type Status = (typeof Status)[keyof typeof Status];
263
180
  /**
264
181
  * <p>The line of code where a finding was detected.</p>
265
182
  * @public
@@ -441,54 +358,6 @@ export interface BatchGetFindingsResponse {
441
358
  */
442
359
  failedFindings: BatchGetFindingsError[] | undefined;
443
360
  }
444
- /**
445
- * <p>The server encountered an internal error and is unable to complete the request.</p>
446
- * @public
447
- */
448
- export declare class InternalServerException extends __BaseException {
449
- readonly name: "InternalServerException";
450
- readonly $fault: "server";
451
- $retryable: {};
452
- /**
453
- * <p>The internal error encountered by the server.</p>
454
- * @public
455
- */
456
- error?: string | undefined;
457
- /**
458
- * @internal
459
- */
460
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
461
- }
462
- /**
463
- * <p>The request was denied due to request throttling.</p>
464
- * @public
465
- */
466
- export declare class ThrottlingException extends __BaseException {
467
- readonly name: "ThrottlingException";
468
- readonly $fault: "client";
469
- $retryable: {
470
- throttling: boolean;
471
- };
472
- /**
473
- * <p>The identifier for the error.</p>
474
- * @public
475
- */
476
- errorCode: string | undefined;
477
- /**
478
- * <p>The identifier for the originating service.</p>
479
- * @public
480
- */
481
- serviceCode?: string | undefined;
482
- /**
483
- * <p>The identifier for the originating quota.</p>
484
- * @public
485
- */
486
- quotaCode?: string | undefined;
487
- /**
488
- * @internal
489
- */
490
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
491
- }
492
361
  /**
493
362
  * <p>Information about a validation exception.</p>
494
363
  * @public
@@ -505,75 +374,6 @@ export interface ValidationExceptionField {
505
374
  */
506
375
  message: string | undefined;
507
376
  }
508
- /**
509
- * @public
510
- * @enum
511
- */
512
- export declare const ValidationExceptionReason: {
513
- readonly CANNOT_PARSE: "cannotParse";
514
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
515
- readonly LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch";
516
- readonly OTHER: "other";
517
- readonly UNKNOWN_OPERATION: "unknownOperation";
518
- };
519
- /**
520
- * @public
521
- */
522
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
523
- /**
524
- * <p>The input fails to satisfy the specified constraints.</p>
525
- * @public
526
- */
527
- export declare class ValidationException extends __BaseException {
528
- readonly name: "ValidationException";
529
- readonly $fault: "client";
530
- /**
531
- * <p>The identifier for the error.</p>
532
- * @public
533
- */
534
- errorCode: string | undefined;
535
- /**
536
- * <p>The reason the request failed validation.</p>
537
- * @public
538
- */
539
- reason: ValidationExceptionReason | undefined;
540
- /**
541
- * <p>The field that caused the error, if applicable.</p>
542
- * @public
543
- */
544
- fieldList?: ValidationExceptionField[] | undefined;
545
- /**
546
- * @internal
547
- */
548
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
549
- }
550
- /**
551
- * <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
552
- * @public
553
- */
554
- export declare class ConflictException extends __BaseException {
555
- readonly name: "ConflictException";
556
- readonly $fault: "client";
557
- /**
558
- * <p>The identifier for the error.</p>
559
- * @public
560
- */
561
- errorCode: string | undefined;
562
- /**
563
- * <p>The identifier for the service resource associated with the request.</p>
564
- * @public
565
- */
566
- resourceId: string | undefined;
567
- /**
568
- * <p>The type of resource associated with the request.</p>
569
- * @public
570
- */
571
- resourceType: string | undefined;
572
- /**
573
- * @internal
574
- */
575
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
576
- }
577
377
  /**
578
378
  * <p>The identifier for a resource object that contains resources to scan. Specifying a codeArtifactId is required to create a scan.</p>
579
379
  * @public
@@ -607,18 +407,6 @@ export declare namespace ResourceId {
607
407
  _: (name: string, value: any) => T;
608
408
  }
609
409
  }
610
- /**
611
- * @public
612
- * @enum
613
- */
614
- export declare const ScanType: {
615
- readonly EXPRESS: "Express";
616
- readonly STANDARD: "Standard";
617
- };
618
- /**
619
- * @public
620
- */
621
- export type ScanType = (typeof ScanType)[keyof typeof ScanType];
622
410
  /**
623
411
  * @public
624
412
  */
@@ -654,19 +442,6 @@ export interface CreateScanRequest {
654
442
  */
655
443
  tags?: Record<string, string> | undefined;
656
444
  }
657
- /**
658
- * @public
659
- * @enum
660
- */
661
- export declare const ScanState: {
662
- readonly FAILED: "Failed";
663
- readonly IN_PROGRESS: "InProgress";
664
- readonly SUCCESSFUL: "Successful";
665
- };
666
- /**
667
- * @public
668
- */
669
- export type ScanState = (typeof ScanState)[keyof typeof ScanState];
670
445
  /**
671
446
  * @public
672
447
  */
@@ -697,33 +472,6 @@ export interface CreateScanResponse {
697
472
  */
698
473
  scanNameArn?: string | undefined;
699
474
  }
700
- /**
701
- * <p>The resource specified in the request was not found.</p>
702
- * @public
703
- */
704
- export declare class ResourceNotFoundException extends __BaseException {
705
- readonly name: "ResourceNotFoundException";
706
- readonly $fault: "client";
707
- /**
708
- * <p>The identifier for the error.</p>
709
- * @public
710
- */
711
- errorCode: string | undefined;
712
- /**
713
- * <p>The identifier for the resource that was not found.</p>
714
- * @public
715
- */
716
- resourceId: string | undefined;
717
- /**
718
- * <p>The type of resource that was not found.</p>
719
- * @public
720
- */
721
- resourceType: string | undefined;
722
- /**
723
- * @internal
724
- */
725
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
726
- }
727
475
  /**
728
476
  * @public
729
477
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CodeGuruSecurityExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { CodeGuruSecurityServiceException } from "./models/CodeGuruSecurityServiceException";
@@ -0,0 +1,47 @@
1
+ export declare const AnalysisType: {
2
+ readonly ALL: "All";
3
+ readonly SECURITY: "Security";
4
+ };
5
+ export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
6
+ export declare const ErrorCode: {
7
+ readonly DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER";
8
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
9
+ readonly INVALID_FINDING_ID: "INVALID_FINDING_ID";
10
+ readonly INVALID_SCAN_NAME: "INVALID_SCAN_NAME";
11
+ readonly ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST";
12
+ };
13
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
14
+ export declare const Severity: {
15
+ readonly CRITICAL: "Critical";
16
+ readonly HIGH: "High";
17
+ readonly INFO: "Info";
18
+ readonly LOW: "Low";
19
+ readonly MEDIUM: "Medium";
20
+ };
21
+ export type Severity = (typeof Severity)[keyof typeof Severity];
22
+ export declare const Status: {
23
+ readonly ALL: "All";
24
+ readonly CLOSED: "Closed";
25
+ readonly OPEN: "Open";
26
+ };
27
+ export type Status = (typeof Status)[keyof typeof Status];
28
+ export declare const ValidationExceptionReason: {
29
+ readonly CANNOT_PARSE: "cannotParse";
30
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
31
+ readonly LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch";
32
+ readonly OTHER: "other";
33
+ readonly UNKNOWN_OPERATION: "unknownOperation";
34
+ };
35
+ export type ValidationExceptionReason =
36
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
37
+ export declare const ScanType: {
38
+ readonly EXPRESS: "Express";
39
+ readonly STANDARD: "Standard";
40
+ };
41
+ export type ScanType = (typeof ScanType)[keyof typeof ScanType];
42
+ export declare const ScanState: {
43
+ readonly FAILED: "Failed";
44
+ readonly IN_PROGRESS: "InProgress";
45
+ readonly SUCCESSFUL: "Successful";
46
+ };
47
+ export type ScanState = (typeof ScanState)[keyof typeof ScanState];
@@ -0,0 +1,64 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
5
+ export declare class AccessDeniedException extends __BaseException {
6
+ readonly name: "AccessDeniedException";
7
+ readonly $fault: "client";
8
+ errorCode: string | undefined;
9
+ resourceId?: string | undefined;
10
+ resourceType?: string | undefined;
11
+ constructor(
12
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
13
+ );
14
+ }
15
+ export declare class InternalServerException extends __BaseException {
16
+ readonly name: "InternalServerException";
17
+ readonly $fault: "server";
18
+ $retryable: {};
19
+ error?: string | undefined;
20
+ constructor(
21
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
22
+ );
23
+ }
24
+ export declare class ThrottlingException extends __BaseException {
25
+ readonly name: "ThrottlingException";
26
+ readonly $fault: "client";
27
+ $retryable: {
28
+ throttling: boolean;
29
+ };
30
+ errorCode: string | undefined;
31
+ serviceCode?: string | undefined;
32
+ quotaCode?: string | undefined;
33
+ constructor(
34
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
35
+ );
36
+ }
37
+ export declare class ValidationException extends __BaseException {
38
+ readonly name: "ValidationException";
39
+ readonly $fault: "client";
40
+ errorCode: string | undefined;
41
+ reason: ValidationExceptionReason | undefined;
42
+ fieldList?: ValidationExceptionField[] | undefined;
43
+ constructor(
44
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ConflictException extends __BaseException {
48
+ readonly name: "ConflictException";
49
+ readonly $fault: "client";
50
+ errorCode: string | undefined;
51
+ resourceId: string | undefined;
52
+ resourceType: string | undefined;
53
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
54
+ }
55
+ export declare class ResourceNotFoundException extends __BaseException {
56
+ readonly name: "ResourceNotFoundException";
57
+ readonly $fault: "client";
58
+ errorCode: string | undefined;
59
+ resourceId: string | undefined;
60
+ resourceType: string | undefined;
61
+ constructor(
62
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
63
+ );
64
+ }
@@ -1,15 +1,11 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- errorCode: string | undefined;
7
- resourceId?: string | undefined;
8
- resourceType?: string | undefined;
9
- constructor(
10
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
11
- );
12
- }
1
+ import {
2
+ AnalysisType,
3
+ ErrorCode,
4
+ ScanState,
5
+ ScanType,
6
+ Severity,
7
+ Status,
8
+ } from "./enums";
13
9
  export interface FindingMetricsValuePerSeverity {
14
10
  info?: number | undefined;
15
11
  low?: number | undefined;
@@ -24,11 +20,6 @@ export interface AccountFindingsMetric {
24
20
  openFindings?: FindingMetricsValuePerSeverity | undefined;
25
21
  meanTimeToClose?: FindingMetricsValuePerSeverity | undefined;
26
22
  }
27
- export declare const AnalysisType: {
28
- readonly ALL: "All";
29
- readonly SECURITY: "Security";
30
- };
31
- export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
32
23
  export interface FindingIdentifier {
33
24
  scanName: string | undefined;
34
25
  findingId: string | undefined;
@@ -36,14 +27,6 @@ export interface FindingIdentifier {
36
27
  export interface BatchGetFindingsRequest {
37
28
  findingIdentifiers: FindingIdentifier[] | undefined;
38
29
  }
39
- export declare const ErrorCode: {
40
- readonly DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER";
41
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
42
- readonly INVALID_FINDING_ID: "INVALID_FINDING_ID";
43
- readonly INVALID_SCAN_NAME: "INVALID_SCAN_NAME";
44
- readonly ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST";
45
- };
46
- export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
47
30
  export interface BatchGetFindingsError {
48
31
  scanName: string | undefined;
49
32
  findingId: string | undefined;
@@ -66,20 +49,6 @@ export interface Resource {
66
49
  id?: string | undefined;
67
50
  subResourceId?: string | undefined;
68
51
  }
69
- export declare const Severity: {
70
- readonly CRITICAL: "Critical";
71
- readonly HIGH: "High";
72
- readonly INFO: "Info";
73
- readonly LOW: "Low";
74
- readonly MEDIUM: "Medium";
75
- };
76
- export type Severity = (typeof Severity)[keyof typeof Severity];
77
- export declare const Status: {
78
- readonly ALL: "All";
79
- readonly CLOSED: "Closed";
80
- readonly OPEN: "Open";
81
- };
82
- export type Status = (typeof Status)[keyof typeof Status];
83
52
  export interface CodeLine {
84
53
  number?: number | undefined;
85
54
  content?: string | undefined;
@@ -120,59 +89,10 @@ export interface BatchGetFindingsResponse {
120
89
  findings: Finding[] | undefined;
121
90
  failedFindings: BatchGetFindingsError[] | undefined;
122
91
  }
123
- export declare class InternalServerException extends __BaseException {
124
- readonly name: "InternalServerException";
125
- readonly $fault: "server";
126
- $retryable: {};
127
- error?: string | undefined;
128
- constructor(
129
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
130
- );
131
- }
132
- export declare class ThrottlingException extends __BaseException {
133
- readonly name: "ThrottlingException";
134
- readonly $fault: "client";
135
- $retryable: {
136
- throttling: boolean;
137
- };
138
- errorCode: string | undefined;
139
- serviceCode?: string | undefined;
140
- quotaCode?: string | undefined;
141
- constructor(
142
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
143
- );
144
- }
145
92
  export interface ValidationExceptionField {
146
93
  name: string | undefined;
147
94
  message: string | undefined;
148
95
  }
149
- export declare const ValidationExceptionReason: {
150
- readonly CANNOT_PARSE: "cannotParse";
151
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
152
- readonly LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch";
153
- readonly OTHER: "other";
154
- readonly UNKNOWN_OPERATION: "unknownOperation";
155
- };
156
- export type ValidationExceptionReason =
157
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
158
- export declare class ValidationException extends __BaseException {
159
- readonly name: "ValidationException";
160
- readonly $fault: "client";
161
- errorCode: string | undefined;
162
- reason: ValidationExceptionReason | undefined;
163
- fieldList?: ValidationExceptionField[] | undefined;
164
- constructor(
165
- opts: __ExceptionOptionType<ValidationException, __BaseException>
166
- );
167
- }
168
- export declare class ConflictException extends __BaseException {
169
- readonly name: "ConflictException";
170
- readonly $fault: "client";
171
- errorCode: string | undefined;
172
- resourceId: string | undefined;
173
- resourceType: string | undefined;
174
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
175
- }
176
96
  export type ResourceId =
177
97
  | ResourceId.CodeArtifactIdMember
178
98
  | ResourceId.$UnknownMember;
@@ -190,11 +110,6 @@ export declare namespace ResourceId {
190
110
  _: (name: string, value: any) => T;
191
111
  }
192
112
  }
193
- export declare const ScanType: {
194
- readonly EXPRESS: "Express";
195
- readonly STANDARD: "Standard";
196
- };
197
- export type ScanType = (typeof ScanType)[keyof typeof ScanType];
198
113
  export interface CreateScanRequest {
199
114
  clientToken?: string | undefined;
200
115
  resourceId: ResourceId | undefined;
@@ -203,12 +118,6 @@ export interface CreateScanRequest {
203
118
  analysisType?: AnalysisType | undefined;
204
119
  tags?: Record<string, string> | undefined;
205
120
  }
206
- export declare const ScanState: {
207
- readonly FAILED: "Failed";
208
- readonly IN_PROGRESS: "InProgress";
209
- readonly SUCCESSFUL: "Successful";
210
- };
211
- export type ScanState = (typeof ScanState)[keyof typeof ScanState];
212
121
  export interface CreateScanResponse {
213
122
  scanName: string | undefined;
214
123
  runId: string | undefined;
@@ -216,16 +125,6 @@ export interface CreateScanResponse {
216
125
  scanState: ScanState | undefined;
217
126
  scanNameArn?: string | undefined;
218
127
  }
219
- export declare class ResourceNotFoundException extends __BaseException {
220
- readonly name: "ResourceNotFoundException";
221
- readonly $fault: "client";
222
- errorCode: string | undefined;
223
- resourceId: string | undefined;
224
- resourceType: string | undefined;
225
- constructor(
226
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
227
- );
228
- }
229
128
  export interface CreateUploadUrlRequest {
230
129
  scanName: string | undefined;
231
130
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguru-security",
3
3
  "description": "AWS SDK for JavaScript Codeguru Security Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codeguru-security",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";