@aws-sdk/client-inspector2 3.52.0 → 3.54.1
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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/Inspector2ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +116 -4
- package/dist-cjs/protocols/Aws_restJson1.js +372 -1196
- package/dist-es/index.js +1 -0
- package/dist-es/models/Inspector2ServiceException.js +12 -0
- package/dist-es/models/models_0.js +105 -1
- package/dist-es/protocols/Aws_restJson1.js +731 -1326
- package/dist-types/Inspector2Client.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/Inspector2ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/Inspector2Client.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/Inspector2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -33
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "./commands/AssociateMemberCommand";
|
|
10
10
|
import { BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput } from "./commands/BatchGetAccountStatusCommand";
|
|
11
11
|
import { BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput } from "./commands/BatchGetFreeTrialInfoCommand";
|
|
@@ -58,7 +58,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
58
58
|
* A function that can calculate the length of a request body.
|
|
59
59
|
* @internal
|
|
60
60
|
*/
|
|
61
|
-
bodyLengthChecker?:
|
|
61
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
62
62
|
/**
|
|
63
63
|
* A function that converts a stream into an array of bytes.
|
|
64
64
|
* @internal
|
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 Inspector2 service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Inspector2ServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
13
|
}
|
|
10
14
|
export declare enum Status {
|
|
11
15
|
DISABLED = "DISABLED",
|
|
@@ -1180,23 +1184,29 @@ export declare namespace AssociateMemberResponse {
|
|
|
1180
1184
|
/**
|
|
1181
1185
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
1182
1186
|
*/
|
|
1183
|
-
export
|
|
1184
|
-
name: "InternalServerException";
|
|
1185
|
-
$fault: "server";
|
|
1187
|
+
export declare class InternalServerException extends __BaseException {
|
|
1188
|
+
readonly name: "InternalServerException";
|
|
1189
|
+
readonly $fault: "server";
|
|
1186
1190
|
$retryable: {};
|
|
1187
|
-
message: string | undefined;
|
|
1188
1191
|
/**
|
|
1189
1192
|
* <p>The number of seconds to wait before retrying the request.</p>
|
|
1190
1193
|
*/
|
|
1191
1194
|
retryAfterSeconds?: number;
|
|
1195
|
+
/**
|
|
1196
|
+
* @internal
|
|
1197
|
+
*/
|
|
1198
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1192
1199
|
}
|
|
1193
1200
|
/**
|
|
1194
1201
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
1195
1202
|
*/
|
|
1196
|
-
export
|
|
1197
|
-
name: "ThrottlingException";
|
|
1198
|
-
$fault: "client";
|
|
1199
|
-
|
|
1203
|
+
export declare class ThrottlingException extends __BaseException {
|
|
1204
|
+
readonly name: "ThrottlingException";
|
|
1205
|
+
readonly $fault: "client";
|
|
1206
|
+
/**
|
|
1207
|
+
* @internal
|
|
1208
|
+
*/
|
|
1209
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
1200
1210
|
}
|
|
1201
1211
|
/**
|
|
1202
1212
|
* <p>An object that describes a validation exception.</p>
|
|
@@ -1226,10 +1236,9 @@ export declare enum ValidationExceptionReason {
|
|
|
1226
1236
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
1227
1237
|
* inputs.</p>
|
|
1228
1238
|
*/
|
|
1229
|
-
export
|
|
1230
|
-
name: "ValidationException";
|
|
1231
|
-
$fault: "client";
|
|
1232
|
-
message: string | undefined;
|
|
1239
|
+
export declare class ValidationException extends __BaseException {
|
|
1240
|
+
readonly name: "ValidationException";
|
|
1241
|
+
readonly $fault: "client";
|
|
1233
1242
|
/**
|
|
1234
1243
|
* <p>The reason for the validation failure.</p>
|
|
1235
1244
|
*/
|
|
@@ -1238,6 +1247,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
1238
1247
|
* <p>The fields that failed validation.</p>
|
|
1239
1248
|
*/
|
|
1240
1249
|
fields?: ValidationExceptionField[];
|
|
1250
|
+
/**
|
|
1251
|
+
* @internal
|
|
1252
|
+
*/
|
|
1253
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1241
1254
|
}
|
|
1242
1255
|
/**
|
|
1243
1256
|
* <p>Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.</p>
|
|
@@ -1357,10 +1370,13 @@ export declare namespace AwsEcrContainerImageDetails {
|
|
|
1357
1370
|
/**
|
|
1358
1371
|
* <p>One or more tags submitted as part of the request is not valid.</p>
|
|
1359
1372
|
*/
|
|
1360
|
-
export
|
|
1361
|
-
name: "BadRequestException";
|
|
1362
|
-
$fault: "client";
|
|
1363
|
-
|
|
1373
|
+
export declare class BadRequestException extends __BaseException {
|
|
1374
|
+
readonly name: "BadRequestException";
|
|
1375
|
+
readonly $fault: "client";
|
|
1376
|
+
/**
|
|
1377
|
+
* @internal
|
|
1378
|
+
*/
|
|
1379
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
1364
1380
|
}
|
|
1365
1381
|
export interface BatchGetAccountStatusRequest {
|
|
1366
1382
|
/**
|
|
@@ -1424,10 +1440,13 @@ export declare namespace BatchGetAccountStatusResponse {
|
|
|
1424
1440
|
/**
|
|
1425
1441
|
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
1426
1442
|
*/
|
|
1427
|
-
export
|
|
1428
|
-
name: "ResourceNotFoundException";
|
|
1429
|
-
$fault: "client";
|
|
1430
|
-
|
|
1443
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1444
|
+
readonly name: "ResourceNotFoundException";
|
|
1445
|
+
readonly $fault: "client";
|
|
1446
|
+
/**
|
|
1447
|
+
* @internal
|
|
1448
|
+
*/
|
|
1449
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1431
1450
|
}
|
|
1432
1451
|
export interface BatchGetFreeTrialInfoRequest {
|
|
1433
1452
|
/**
|
|
@@ -1566,10 +1585,9 @@ export declare namespace CancelFindingsReportResponse {
|
|
|
1566
1585
|
/**
|
|
1567
1586
|
* <p>A conflict occurred.</p>
|
|
1568
1587
|
*/
|
|
1569
|
-
export
|
|
1570
|
-
name: "ConflictException";
|
|
1571
|
-
$fault: "client";
|
|
1572
|
-
message: string | undefined;
|
|
1588
|
+
export declare class ConflictException extends __BaseException {
|
|
1589
|
+
readonly name: "ConflictException";
|
|
1590
|
+
readonly $fault: "client";
|
|
1573
1591
|
/**
|
|
1574
1592
|
* <p>The ID of the conflicting resource.</p>
|
|
1575
1593
|
*/
|
|
@@ -1578,6 +1596,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
1578
1596
|
* <p>The type of the conflicting resource.</p>
|
|
1579
1597
|
*/
|
|
1580
1598
|
resourceType: string | undefined;
|
|
1599
|
+
/**
|
|
1600
|
+
* @internal
|
|
1601
|
+
*/
|
|
1602
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1581
1603
|
}
|
|
1582
1604
|
export declare enum GroupKey {
|
|
1583
1605
|
ACCOUNT_ID = "ACCOUNT_ID",
|
|
@@ -2154,14 +2176,17 @@ export declare namespace CreateFilterResponse {
|
|
|
2154
2176
|
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
2155
2177
|
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
2156
2178
|
*/
|
|
2157
|
-
export
|
|
2158
|
-
name: "ServiceQuotaExceededException";
|
|
2159
|
-
$fault: "client";
|
|
2160
|
-
message: string | undefined;
|
|
2179
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
2180
|
+
readonly name: "ServiceQuotaExceededException";
|
|
2181
|
+
readonly $fault: "client";
|
|
2161
2182
|
/**
|
|
2162
2183
|
* <p>The ID of the resource that exceeds a service quota.</p>
|
|
2163
2184
|
*/
|
|
2164
2185
|
resourceId: string | undefined;
|
|
2186
|
+
/**
|
|
2187
|
+
* @internal
|
|
2188
|
+
*/
|
|
2189
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
2165
2190
|
}
|
|
2166
2191
|
export declare enum ReportFormat {
|
|
2167
2192
|
CSV = "CSV",
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "./commands/AssociateMemberCommand";
|
|
10
10
|
import { BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput } from "./commands/BatchGetAccountStatusCommand";
|
|
11
11
|
import { BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput } from "./commands/BatchGetFreeTrialInfoCommand";
|
|
@@ -46,7 +46,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
46
46
|
|
|
47
47
|
urlParser?: __UrlParser;
|
|
48
48
|
|
|
49
|
-
bodyLengthChecker?:
|
|
49
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
50
50
|
|
|
51
51
|
streamCollector?: __StreamCollector;
|
|
52
52
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class Inspector2ServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
export declare enum Status {
|
|
9
11
|
DISABLED = "DISABLED",
|
|
@@ -810,19 +812,21 @@ export declare namespace AssociateMemberResponse {
|
|
|
810
812
|
const filterSensitiveLog: (obj: AssociateMemberResponse) => any;
|
|
811
813
|
}
|
|
812
814
|
|
|
813
|
-
export
|
|
814
|
-
name: "InternalServerException";
|
|
815
|
-
$fault: "server";
|
|
815
|
+
export declare class InternalServerException extends __BaseException {
|
|
816
|
+
readonly name: "InternalServerException";
|
|
817
|
+
readonly $fault: "server";
|
|
816
818
|
$retryable: {};
|
|
817
|
-
message: string | undefined;
|
|
818
819
|
|
|
819
820
|
retryAfterSeconds?: number;
|
|
821
|
+
|
|
822
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
820
823
|
}
|
|
821
824
|
|
|
822
|
-
export
|
|
823
|
-
name: "ThrottlingException";
|
|
824
|
-
$fault: "client";
|
|
825
|
-
|
|
825
|
+
export declare class ThrottlingException extends __BaseException {
|
|
826
|
+
readonly name: "ThrottlingException";
|
|
827
|
+
readonly $fault: "client";
|
|
828
|
+
|
|
829
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
826
830
|
}
|
|
827
831
|
|
|
828
832
|
export interface ValidationExceptionField {
|
|
@@ -841,14 +845,15 @@ export declare enum ValidationExceptionReason {
|
|
|
841
845
|
OTHER = "OTHER"
|
|
842
846
|
}
|
|
843
847
|
|
|
844
|
-
export
|
|
845
|
-
name: "ValidationException";
|
|
846
|
-
$fault: "client";
|
|
847
|
-
message: string | undefined;
|
|
848
|
+
export declare class ValidationException extends __BaseException {
|
|
849
|
+
readonly name: "ValidationException";
|
|
850
|
+
readonly $fault: "client";
|
|
848
851
|
|
|
849
852
|
reason: ValidationExceptionReason | string | undefined;
|
|
850
853
|
|
|
851
854
|
fields?: ValidationExceptionField[];
|
|
855
|
+
|
|
856
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
852
857
|
}
|
|
853
858
|
|
|
854
859
|
export interface AutoEnable {
|
|
@@ -912,10 +917,11 @@ export declare namespace AwsEcrContainerImageDetails {
|
|
|
912
917
|
const filterSensitiveLog: (obj: AwsEcrContainerImageDetails) => any;
|
|
913
918
|
}
|
|
914
919
|
|
|
915
|
-
export
|
|
916
|
-
name: "BadRequestException";
|
|
917
|
-
$fault: "client";
|
|
918
|
-
|
|
920
|
+
export declare class BadRequestException extends __BaseException {
|
|
921
|
+
readonly name: "BadRequestException";
|
|
922
|
+
readonly $fault: "client";
|
|
923
|
+
|
|
924
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
919
925
|
}
|
|
920
926
|
export interface BatchGetAccountStatusRequest {
|
|
921
927
|
|
|
@@ -953,10 +959,11 @@ export declare namespace BatchGetAccountStatusResponse {
|
|
|
953
959
|
const filterSensitiveLog: (obj: BatchGetAccountStatusResponse) => any;
|
|
954
960
|
}
|
|
955
961
|
|
|
956
|
-
export
|
|
957
|
-
name: "ResourceNotFoundException";
|
|
958
|
-
$fault: "client";
|
|
959
|
-
|
|
962
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
963
|
+
readonly name: "ResourceNotFoundException";
|
|
964
|
+
readonly $fault: "client";
|
|
965
|
+
|
|
966
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
960
967
|
}
|
|
961
968
|
export interface BatchGetFreeTrialInfoRequest {
|
|
962
969
|
|
|
@@ -1044,14 +1051,15 @@ export declare namespace CancelFindingsReportResponse {
|
|
|
1044
1051
|
const filterSensitiveLog: (obj: CancelFindingsReportResponse) => any;
|
|
1045
1052
|
}
|
|
1046
1053
|
|
|
1047
|
-
export
|
|
1048
|
-
name: "ConflictException";
|
|
1049
|
-
$fault: "client";
|
|
1050
|
-
message: string | undefined;
|
|
1054
|
+
export declare class ConflictException extends __BaseException {
|
|
1055
|
+
readonly name: "ConflictException";
|
|
1056
|
+
readonly $fault: "client";
|
|
1051
1057
|
|
|
1052
1058
|
resourceId: string | undefined;
|
|
1053
1059
|
|
|
1054
1060
|
resourceType: string | undefined;
|
|
1061
|
+
|
|
1062
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1055
1063
|
}
|
|
1056
1064
|
export declare enum GroupKey {
|
|
1057
1065
|
ACCOUNT_ID = "ACCOUNT_ID",
|
|
@@ -1395,12 +1403,13 @@ export declare namespace CreateFilterResponse {
|
|
|
1395
1403
|
const filterSensitiveLog: (obj: CreateFilterResponse) => any;
|
|
1396
1404
|
}
|
|
1397
1405
|
|
|
1398
|
-
export
|
|
1399
|
-
name: "ServiceQuotaExceededException";
|
|
1400
|
-
$fault: "client";
|
|
1401
|
-
message: string | undefined;
|
|
1406
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1407
|
+
readonly name: "ServiceQuotaExceededException";
|
|
1408
|
+
readonly $fault: "client";
|
|
1402
1409
|
|
|
1403
1410
|
resourceId: string | undefined;
|
|
1411
|
+
|
|
1412
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
1404
1413
|
}
|
|
1405
1414
|
export declare enum ReportFormat {
|
|
1406
1415
|
CSV = "CSV",
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.1",
|
|
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.54.1",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.1",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.1",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.1",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.1",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.1",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.1",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.1",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.1",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.1",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.1",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.1",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.1",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.1",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.1",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.1",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.1",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.1",
|
|
39
|
+
"@aws-sdk/types": "3.54.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.1",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
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.
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.1",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.1",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.1",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.1",
|
|
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",
|