@aws-sdk/client-inspector 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/InspectorServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +166 -3
- package/dist-cjs/protocols/Aws_json1_1.js +403 -1415
- package/dist-es/index.js +1 -0
- package/dist-es/models/InspectorServiceException.js +12 -0
- package/dist-es/models/models_0.js +153 -1
- package/dist-es/protocols/Aws_json1_1.js +860 -1542
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/InspectorServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -72
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/InspectorServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -54
- package/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Inspector service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class InspectorServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
|
|
2
3
|
export declare enum AccessDeniedErrorCode {
|
|
3
4
|
ACCESS_DENIED_TO_ASSESSMENT_RUN = "ACCESS_DENIED_TO_ASSESSMENT_RUN",
|
|
4
5
|
ACCESS_DENIED_TO_ASSESSMENT_TARGET = "ACCESS_DENIED_TO_ASSESSMENT_TARGET",
|
|
@@ -12,13 +13,9 @@ export declare enum AccessDeniedErrorCode {
|
|
|
12
13
|
/**
|
|
13
14
|
* <p>You do not have required permissions to access the requested resource.</p>
|
|
14
15
|
*/
|
|
15
|
-
export
|
|
16
|
-
name: "AccessDeniedException";
|
|
17
|
-
$fault: "client";
|
|
18
|
-
/**
|
|
19
|
-
* <p>Details of the exception error.</p>
|
|
20
|
-
*/
|
|
21
|
-
message: string | undefined;
|
|
16
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
17
|
+
readonly name: "AccessDeniedException";
|
|
18
|
+
readonly $fault: "client";
|
|
22
19
|
/**
|
|
23
20
|
* <p>Code that indicates the type of error that is generated.</p>
|
|
24
21
|
*/
|
|
@@ -27,6 +24,10 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
27
24
|
* <p>You can immediately retry your request.</p>
|
|
28
25
|
*/
|
|
29
26
|
canRetry: boolean | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
33
|
* <p>This data type is used as a request parameter in the <a>AddAttributesToFindings</a> and <a>CreateAssessmentTemplate</a>
|
|
@@ -110,17 +111,17 @@ export declare namespace AddAttributesToFindingsResponse {
|
|
|
110
111
|
/**
|
|
111
112
|
* <p>Internal server error.</p>
|
|
112
113
|
*/
|
|
113
|
-
export
|
|
114
|
-
name: "InternalException";
|
|
115
|
-
$fault: "server";
|
|
116
|
-
/**
|
|
117
|
-
* <p>Details of the exception error.</p>
|
|
118
|
-
*/
|
|
119
|
-
message: string | undefined;
|
|
114
|
+
export declare class InternalException extends __BaseException {
|
|
115
|
+
readonly name: "InternalException";
|
|
116
|
+
readonly $fault: "server";
|
|
120
117
|
/**
|
|
121
118
|
* <p>You can immediately retry your request.</p>
|
|
122
119
|
*/
|
|
123
120
|
canRetry: boolean | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
124
125
|
}
|
|
125
126
|
export declare enum InvalidInputErrorCode {
|
|
126
127
|
ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
|
|
@@ -182,13 +183,9 @@ export declare enum InvalidInputErrorCode {
|
|
|
182
183
|
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
183
184
|
* input parameter.</p>
|
|
184
185
|
*/
|
|
185
|
-
export
|
|
186
|
-
name: "InvalidInputException";
|
|
187
|
-
$fault: "client";
|
|
188
|
-
/**
|
|
189
|
-
* <p>Details of the exception error.</p>
|
|
190
|
-
*/
|
|
191
|
-
message: string | undefined;
|
|
186
|
+
export declare class InvalidInputException extends __BaseException {
|
|
187
|
+
readonly name: "InvalidInputException";
|
|
188
|
+
readonly $fault: "client";
|
|
192
189
|
/**
|
|
193
190
|
* <p>Code that indicates the type of error that is generated.</p>
|
|
194
191
|
*/
|
|
@@ -197,6 +194,10 @@ export interface InvalidInputException extends __SmithyException, $MetadataBeare
|
|
|
197
194
|
* <p>You can immediately retry your request.</p>
|
|
198
195
|
*/
|
|
199
196
|
canRetry: boolean | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
200
201
|
}
|
|
201
202
|
export declare enum NoSuchEntityErrorCode {
|
|
202
203
|
ASSESSMENT_RUN_DOES_NOT_EXIST = "ASSESSMENT_RUN_DOES_NOT_EXIST",
|
|
@@ -212,13 +213,9 @@ export declare enum NoSuchEntityErrorCode {
|
|
|
212
213
|
* <p>The request was rejected because it referenced an entity that does not exist. The
|
|
213
214
|
* error code describes the entity.</p>
|
|
214
215
|
*/
|
|
215
|
-
export
|
|
216
|
-
name: "NoSuchEntityException";
|
|
217
|
-
$fault: "client";
|
|
218
|
-
/**
|
|
219
|
-
* <p>Details of the exception error.</p>
|
|
220
|
-
*/
|
|
221
|
-
message: string | undefined;
|
|
216
|
+
export declare class NoSuchEntityException extends __BaseException {
|
|
217
|
+
readonly name: "NoSuchEntityException";
|
|
218
|
+
readonly $fault: "client";
|
|
222
219
|
/**
|
|
223
220
|
* <p>Code that indicates the type of error that is generated.</p>
|
|
224
221
|
*/
|
|
@@ -227,21 +224,25 @@ export interface NoSuchEntityException extends __SmithyException, $MetadataBeare
|
|
|
227
224
|
* <p>You can immediately retry your request.</p>
|
|
228
225
|
*/
|
|
229
226
|
canRetry: boolean | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* @internal
|
|
229
|
+
*/
|
|
230
|
+
constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
|
|
230
231
|
}
|
|
231
232
|
/**
|
|
232
233
|
* <p>The serice is temporary unavailable.</p>
|
|
233
234
|
*/
|
|
234
|
-
export
|
|
235
|
-
name: "ServiceTemporarilyUnavailableException";
|
|
236
|
-
$fault: "server";
|
|
237
|
-
/**
|
|
238
|
-
* <p>Details of the exception error.</p>
|
|
239
|
-
*/
|
|
240
|
-
message: string | undefined;
|
|
235
|
+
export declare class ServiceTemporarilyUnavailableException extends __BaseException {
|
|
236
|
+
readonly name: "ServiceTemporarilyUnavailableException";
|
|
237
|
+
readonly $fault: "server";
|
|
241
238
|
/**
|
|
242
239
|
* <p>You can wait and then retry your request.</p>
|
|
243
240
|
*/
|
|
244
241
|
canRetry: boolean | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* @internal
|
|
244
|
+
*/
|
|
245
|
+
constructor(opts: __ExceptionOptionType<ServiceTemporarilyUnavailableException, __BaseException>);
|
|
245
246
|
}
|
|
246
247
|
/**
|
|
247
248
|
* <p>Used in the exception error that is thrown if you start an assessment run for an
|
|
@@ -349,13 +350,9 @@ export declare namespace AgentPreview {
|
|
|
349
350
|
* <p>You started an assessment run, but one of the instances is already participating in
|
|
350
351
|
* another assessment run.</p>
|
|
351
352
|
*/
|
|
352
|
-
export
|
|
353
|
-
name: "AgentsAlreadyRunningAssessmentException";
|
|
354
|
-
$fault: "client";
|
|
355
|
-
/**
|
|
356
|
-
* <p>Details of the exception error.</p>
|
|
357
|
-
*/
|
|
358
|
-
message: string | undefined;
|
|
353
|
+
export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
|
|
354
|
+
readonly name: "AgentsAlreadyRunningAssessmentException";
|
|
355
|
+
readonly $fault: "client";
|
|
359
356
|
/**
|
|
360
357
|
* <p></p>
|
|
361
358
|
*/
|
|
@@ -368,6 +365,10 @@ export interface AgentsAlreadyRunningAssessmentException extends __SmithyExcepti
|
|
|
368
365
|
* <p>You can immediately retry your request.</p>
|
|
369
366
|
*/
|
|
370
367
|
canRetry: boolean | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
constructor(opts: __ExceptionOptionType<AgentsAlreadyRunningAssessmentException, __BaseException>);
|
|
371
372
|
}
|
|
372
373
|
export declare enum Severity {
|
|
373
374
|
HIGH = "High",
|
|
@@ -707,13 +708,9 @@ export declare namespace AssessmentRunFilter {
|
|
|
707
708
|
* <p>You cannot perform a specified action if an assessment run is currently in
|
|
708
709
|
* progress.</p>
|
|
709
710
|
*/
|
|
710
|
-
export
|
|
711
|
-
name: "AssessmentRunInProgressException";
|
|
712
|
-
$fault: "client";
|
|
713
|
-
/**
|
|
714
|
-
* <p>Details of the exception error.</p>
|
|
715
|
-
*/
|
|
716
|
-
message: string | undefined;
|
|
711
|
+
export declare class AssessmentRunInProgressException extends __BaseException {
|
|
712
|
+
readonly name: "AssessmentRunInProgressException";
|
|
713
|
+
readonly $fault: "client";
|
|
717
714
|
/**
|
|
718
715
|
* <p>The ARNs of the assessment runs that are currently in progress.</p>
|
|
719
716
|
*/
|
|
@@ -727,6 +724,10 @@ export interface AssessmentRunInProgressException extends __SmithyException, $Me
|
|
|
727
724
|
* <p>You can immediately retry your request.</p>
|
|
728
725
|
*/
|
|
729
726
|
canRetry: boolean | undefined;
|
|
727
|
+
/**
|
|
728
|
+
* @internal
|
|
729
|
+
*/
|
|
730
|
+
constructor(opts: __ExceptionOptionType<AssessmentRunInProgressException, __BaseException>);
|
|
730
731
|
}
|
|
731
732
|
/**
|
|
732
733
|
* <p>Contains information about an Amazon Inspector application. This data type is used as
|
|
@@ -1069,13 +1070,9 @@ export declare enum InvalidCrossAccountRoleErrorCode {
|
|
|
1069
1070
|
* <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
|
|
1070
1071
|
* instances during the assessment run.</p>
|
|
1071
1072
|
*/
|
|
1072
|
-
export
|
|
1073
|
-
name: "InvalidCrossAccountRoleException";
|
|
1074
|
-
$fault: "client";
|
|
1075
|
-
/**
|
|
1076
|
-
* <p>Details of the exception error.</p>
|
|
1077
|
-
*/
|
|
1078
|
-
message: string | undefined;
|
|
1073
|
+
export declare class InvalidCrossAccountRoleException extends __BaseException {
|
|
1074
|
+
readonly name: "InvalidCrossAccountRoleException";
|
|
1075
|
+
readonly $fault: "client";
|
|
1079
1076
|
/**
|
|
1080
1077
|
* <p>Code that indicates the type of error that is generated.</p>
|
|
1081
1078
|
*/
|
|
@@ -1084,6 +1081,10 @@ export interface InvalidCrossAccountRoleException extends __SmithyException, $Me
|
|
|
1084
1081
|
* <p>You can immediately retry your request.</p>
|
|
1085
1082
|
*/
|
|
1086
1083
|
canRetry: boolean | undefined;
|
|
1084
|
+
/**
|
|
1085
|
+
* @internal
|
|
1086
|
+
*/
|
|
1087
|
+
constructor(opts: __ExceptionOptionType<InvalidCrossAccountRoleException, __BaseException>);
|
|
1087
1088
|
}
|
|
1088
1089
|
export declare enum LimitExceededErrorCode {
|
|
1089
1090
|
ASSESSMENT_RUN_LIMIT_EXCEEDED = "ASSESSMENT_RUN_LIMIT_EXCEEDED",
|
|
@@ -1096,13 +1097,9 @@ export declare enum LimitExceededErrorCode {
|
|
|
1096
1097
|
* <p>The request was rejected because it attempted to create resources beyond the current
|
|
1097
1098
|
* AWS account limits. The error code describes the limit exceeded.</p>
|
|
1098
1099
|
*/
|
|
1099
|
-
export
|
|
1100
|
-
name: "LimitExceededException";
|
|
1101
|
-
$fault: "client";
|
|
1102
|
-
/**
|
|
1103
|
-
* <p>Details of the exception error.</p>
|
|
1104
|
-
*/
|
|
1105
|
-
message: string | undefined;
|
|
1100
|
+
export declare class LimitExceededException extends __BaseException {
|
|
1101
|
+
readonly name: "LimitExceededException";
|
|
1102
|
+
readonly $fault: "client";
|
|
1106
1103
|
/**
|
|
1107
1104
|
* <p>Code that indicates the type of error that is generated.</p>
|
|
1108
1105
|
*/
|
|
@@ -1111,6 +1108,10 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
1111
1108
|
* <p>You can immediately retry your request.</p>
|
|
1112
1109
|
*/
|
|
1113
1110
|
canRetry: boolean | undefined;
|
|
1111
|
+
/**
|
|
1112
|
+
* @internal
|
|
1113
|
+
*/
|
|
1114
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1114
1115
|
}
|
|
1115
1116
|
export interface CreateAssessmentTemplateRequest {
|
|
1116
1117
|
/**
|
|
@@ -1191,10 +1192,13 @@ export declare namespace CreateExclusionsPreviewResponse {
|
|
|
1191
1192
|
* <p>The request is rejected. The specified assessment template is currently generating an
|
|
1192
1193
|
* exclusions preview.</p>
|
|
1193
1194
|
*/
|
|
1194
|
-
export
|
|
1195
|
-
name: "PreviewGenerationInProgressException";
|
|
1196
|
-
$fault: "client";
|
|
1197
|
-
|
|
1195
|
+
export declare class PreviewGenerationInProgressException extends __BaseException {
|
|
1196
|
+
readonly name: "PreviewGenerationInProgressException";
|
|
1197
|
+
readonly $fault: "client";
|
|
1198
|
+
/**
|
|
1199
|
+
* @internal
|
|
1200
|
+
*/
|
|
1201
|
+
constructor(opts: __ExceptionOptionType<PreviewGenerationInProgressException, __BaseException>);
|
|
1198
1202
|
}
|
|
1199
1203
|
/**
|
|
1200
1204
|
* <p>This data type is used as one of the elements of the <a>ResourceGroup</a>
|
|
@@ -1926,11 +1930,14 @@ export declare namespace GetAssessmentReportResponse {
|
|
|
1926
1930
|
* took place or will take place after generating reports in Amazon Inspector became
|
|
1927
1931
|
* available.</p>
|
|
1928
1932
|
*/
|
|
1929
|
-
export
|
|
1930
|
-
name: "UnsupportedFeatureException";
|
|
1931
|
-
$fault: "client";
|
|
1932
|
-
message: string | undefined;
|
|
1933
|
+
export declare class UnsupportedFeatureException extends __BaseException {
|
|
1934
|
+
readonly name: "UnsupportedFeatureException";
|
|
1935
|
+
readonly $fault: "client";
|
|
1933
1936
|
canRetry: boolean | undefined;
|
|
1937
|
+
/**
|
|
1938
|
+
* @internal
|
|
1939
|
+
*/
|
|
1940
|
+
constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
|
|
1934
1941
|
}
|
|
1935
1942
|
export interface GetExclusionsPreviewRequest {
|
|
1936
1943
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class InspectorServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
|
|
2
3
|
export declare enum AccessDeniedErrorCode {
|
|
3
4
|
ACCESS_DENIED_TO_ASSESSMENT_RUN = "ACCESS_DENIED_TO_ASSESSMENT_RUN",
|
|
4
5
|
ACCESS_DENIED_TO_ASSESSMENT_TARGET = "ACCESS_DENIED_TO_ASSESSMENT_TARGET",
|
|
@@ -10,15 +11,15 @@ export declare enum AccessDeniedErrorCode {
|
|
|
10
11
|
ACCESS_DENIED_TO_SNS_TOPIC = "ACCESS_DENIED_TO_SNS_TOPIC"
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
export
|
|
14
|
-
name: "AccessDeniedException";
|
|
15
|
-
$fault: "client";
|
|
16
|
-
|
|
17
|
-
message: string | undefined;
|
|
14
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
15
|
+
readonly name: "AccessDeniedException";
|
|
16
|
+
readonly $fault: "client";
|
|
18
17
|
|
|
19
18
|
errorCode: AccessDeniedErrorCode | string | undefined;
|
|
20
19
|
|
|
21
20
|
canRetry: boolean | undefined;
|
|
21
|
+
|
|
22
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
export interface Attribute {
|
|
@@ -71,13 +72,13 @@ export declare namespace AddAttributesToFindingsResponse {
|
|
|
71
72
|
const filterSensitiveLog: (obj: AddAttributesToFindingsResponse) => any;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
export
|
|
75
|
-
name: "InternalException";
|
|
76
|
-
$fault: "server";
|
|
77
|
-
|
|
78
|
-
message: string | undefined;
|
|
75
|
+
export declare class InternalException extends __BaseException {
|
|
76
|
+
readonly name: "InternalException";
|
|
77
|
+
readonly $fault: "server";
|
|
79
78
|
|
|
80
79
|
canRetry: boolean | undefined;
|
|
80
|
+
|
|
81
|
+
constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
|
|
81
82
|
}
|
|
82
83
|
export declare enum InvalidInputErrorCode {
|
|
83
84
|
ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
|
|
@@ -136,15 +137,15 @@ export declare enum InvalidInputErrorCode {
|
|
|
136
137
|
INVALID_USER_ATTRIBUTE_VALUE = "INVALID_USER_ATTRIBUTE_VALUE"
|
|
137
138
|
}
|
|
138
139
|
|
|
139
|
-
export
|
|
140
|
-
name: "InvalidInputException";
|
|
141
|
-
$fault: "client";
|
|
142
|
-
|
|
143
|
-
message: string | undefined;
|
|
140
|
+
export declare class InvalidInputException extends __BaseException {
|
|
141
|
+
readonly name: "InvalidInputException";
|
|
142
|
+
readonly $fault: "client";
|
|
144
143
|
|
|
145
144
|
errorCode: InvalidInputErrorCode | string | undefined;
|
|
146
145
|
|
|
147
146
|
canRetry: boolean | undefined;
|
|
147
|
+
|
|
148
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
148
149
|
}
|
|
149
150
|
export declare enum NoSuchEntityErrorCode {
|
|
150
151
|
ASSESSMENT_RUN_DOES_NOT_EXIST = "ASSESSMENT_RUN_DOES_NOT_EXIST",
|
|
@@ -157,24 +158,24 @@ export declare enum NoSuchEntityErrorCode {
|
|
|
157
158
|
SNS_TOPIC_DOES_NOT_EXIST = "SNS_TOPIC_DOES_NOT_EXIST"
|
|
158
159
|
}
|
|
159
160
|
|
|
160
|
-
export
|
|
161
|
-
name: "NoSuchEntityException";
|
|
162
|
-
$fault: "client";
|
|
163
|
-
|
|
164
|
-
message: string | undefined;
|
|
161
|
+
export declare class NoSuchEntityException extends __BaseException {
|
|
162
|
+
readonly name: "NoSuchEntityException";
|
|
163
|
+
readonly $fault: "client";
|
|
165
164
|
|
|
166
165
|
errorCode: NoSuchEntityErrorCode | string | undefined;
|
|
167
166
|
|
|
168
167
|
canRetry: boolean | undefined;
|
|
168
|
+
|
|
169
|
+
constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
|
|
169
170
|
}
|
|
170
171
|
|
|
171
|
-
export
|
|
172
|
-
name: "ServiceTemporarilyUnavailableException";
|
|
173
|
-
$fault: "server";
|
|
174
|
-
|
|
175
|
-
message: string | undefined;
|
|
172
|
+
export declare class ServiceTemporarilyUnavailableException extends __BaseException {
|
|
173
|
+
readonly name: "ServiceTemporarilyUnavailableException";
|
|
174
|
+
readonly $fault: "server";
|
|
176
175
|
|
|
177
176
|
canRetry: boolean | undefined;
|
|
177
|
+
|
|
178
|
+
constructor(opts: __ExceptionOptionType<ServiceTemporarilyUnavailableException, __BaseException>);
|
|
178
179
|
}
|
|
179
180
|
|
|
180
181
|
export interface AgentAlreadyRunningAssessment {
|
|
@@ -235,17 +236,17 @@ export declare namespace AgentPreview {
|
|
|
235
236
|
const filterSensitiveLog: (obj: AgentPreview) => any;
|
|
236
237
|
}
|
|
237
238
|
|
|
238
|
-
export
|
|
239
|
-
name: "AgentsAlreadyRunningAssessmentException";
|
|
240
|
-
$fault: "client";
|
|
241
|
-
|
|
242
|
-
message: string | undefined;
|
|
239
|
+
export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
|
|
240
|
+
readonly name: "AgentsAlreadyRunningAssessmentException";
|
|
241
|
+
readonly $fault: "client";
|
|
243
242
|
|
|
244
243
|
agents: AgentAlreadyRunningAssessment[] | undefined;
|
|
245
244
|
|
|
246
245
|
agentsTruncated: boolean | undefined;
|
|
247
246
|
|
|
248
247
|
canRetry: boolean | undefined;
|
|
248
|
+
|
|
249
|
+
constructor(opts: __ExceptionOptionType<AgentsAlreadyRunningAssessmentException, __BaseException>);
|
|
249
250
|
}
|
|
250
251
|
export declare enum Severity {
|
|
251
252
|
HIGH = "High",
|
|
@@ -429,17 +430,17 @@ export declare namespace AssessmentRunFilter {
|
|
|
429
430
|
const filterSensitiveLog: (obj: AssessmentRunFilter) => any;
|
|
430
431
|
}
|
|
431
432
|
|
|
432
|
-
export
|
|
433
|
-
name: "AssessmentRunInProgressException";
|
|
434
|
-
$fault: "client";
|
|
435
|
-
|
|
436
|
-
message: string | undefined;
|
|
433
|
+
export declare class AssessmentRunInProgressException extends __BaseException {
|
|
434
|
+
readonly name: "AssessmentRunInProgressException";
|
|
435
|
+
readonly $fault: "client";
|
|
437
436
|
|
|
438
437
|
assessmentRunArns: string[] | undefined;
|
|
439
438
|
|
|
440
439
|
assessmentRunArnsTruncated: boolean | undefined;
|
|
441
440
|
|
|
442
441
|
canRetry: boolean | undefined;
|
|
442
|
+
|
|
443
|
+
constructor(opts: __ExceptionOptionType<AssessmentRunInProgressException, __BaseException>);
|
|
443
444
|
}
|
|
444
445
|
|
|
445
446
|
export interface AssessmentTarget {
|
|
@@ -614,15 +615,15 @@ export declare enum InvalidCrossAccountRoleErrorCode {
|
|
|
614
615
|
ROLE_DOES_NOT_HAVE_CORRECT_POLICY = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY"
|
|
615
616
|
}
|
|
616
617
|
|
|
617
|
-
export
|
|
618
|
-
name: "InvalidCrossAccountRoleException";
|
|
619
|
-
$fault: "client";
|
|
620
|
-
|
|
621
|
-
message: string | undefined;
|
|
618
|
+
export declare class InvalidCrossAccountRoleException extends __BaseException {
|
|
619
|
+
readonly name: "InvalidCrossAccountRoleException";
|
|
620
|
+
readonly $fault: "client";
|
|
622
621
|
|
|
623
622
|
errorCode: InvalidCrossAccountRoleErrorCode | string | undefined;
|
|
624
623
|
|
|
625
624
|
canRetry: boolean | undefined;
|
|
625
|
+
|
|
626
|
+
constructor(opts: __ExceptionOptionType<InvalidCrossAccountRoleException, __BaseException>);
|
|
626
627
|
}
|
|
627
628
|
export declare enum LimitExceededErrorCode {
|
|
628
629
|
ASSESSMENT_RUN_LIMIT_EXCEEDED = "ASSESSMENT_RUN_LIMIT_EXCEEDED",
|
|
@@ -632,15 +633,15 @@ export declare enum LimitExceededErrorCode {
|
|
|
632
633
|
RESOURCE_GROUP_LIMIT_EXCEEDED = "RESOURCE_GROUP_LIMIT_EXCEEDED"
|
|
633
634
|
}
|
|
634
635
|
|
|
635
|
-
export
|
|
636
|
-
name: "LimitExceededException";
|
|
637
|
-
$fault: "client";
|
|
638
|
-
|
|
639
|
-
message: string | undefined;
|
|
636
|
+
export declare class LimitExceededException extends __BaseException {
|
|
637
|
+
readonly name: "LimitExceededException";
|
|
638
|
+
readonly $fault: "client";
|
|
640
639
|
|
|
641
640
|
errorCode: LimitExceededErrorCode | string | undefined;
|
|
642
641
|
|
|
643
642
|
canRetry: boolean | undefined;
|
|
643
|
+
|
|
644
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
644
645
|
}
|
|
645
646
|
export interface CreateAssessmentTemplateRequest {
|
|
646
647
|
|
|
@@ -683,10 +684,11 @@ export declare namespace CreateExclusionsPreviewResponse {
|
|
|
683
684
|
const filterSensitiveLog: (obj: CreateExclusionsPreviewResponse) => any;
|
|
684
685
|
}
|
|
685
686
|
|
|
686
|
-
export
|
|
687
|
-
name: "PreviewGenerationInProgressException";
|
|
688
|
-
$fault: "client";
|
|
689
|
-
|
|
687
|
+
export declare class PreviewGenerationInProgressException extends __BaseException {
|
|
688
|
+
readonly name: "PreviewGenerationInProgressException";
|
|
689
|
+
readonly $fault: "client";
|
|
690
|
+
|
|
691
|
+
constructor(opts: __ExceptionOptionType<PreviewGenerationInProgressException, __BaseException>);
|
|
690
692
|
}
|
|
691
693
|
|
|
692
694
|
export interface ResourceGroupTag {
|
|
@@ -1108,11 +1110,12 @@ export declare namespace GetAssessmentReportResponse {
|
|
|
1108
1110
|
const filterSensitiveLog: (obj: GetAssessmentReportResponse) => any;
|
|
1109
1111
|
}
|
|
1110
1112
|
|
|
1111
|
-
export
|
|
1112
|
-
name: "UnsupportedFeatureException";
|
|
1113
|
-
$fault: "client";
|
|
1114
|
-
message: string | undefined;
|
|
1113
|
+
export declare class UnsupportedFeatureException extends __BaseException {
|
|
1114
|
+
readonly name: "UnsupportedFeatureException";
|
|
1115
|
+
readonly $fault: "client";
|
|
1115
1116
|
canRetry: boolean | undefined;
|
|
1117
|
+
|
|
1118
|
+
constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
|
|
1116
1119
|
}
|
|
1117
1120
|
export interface GetExclusionsPreviewRequest {
|
|
1118
1121
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|