@aws-sdk/client-inspector2 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 +170 -714
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +169 -0
- package/dist-es/models/errors.js +115 -0
- package/dist-es/models/models_0.js +66 -268
- package/dist-es/models/models_1.js +0 -80
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetCisScanReportCommand.d.ts +1 -1
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
- package/dist-types/commands/GetClustersForImageCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +4 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +441 -0
- package/dist-types/models/errors.d.ts +144 -0
- package/dist-types/models/models_0.d.ts +992 -545
- package/dist-types/models/models_1.d.ts +2 -1026
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +232 -0
- package/dist-types/ts3.4/models/errors.d.ts +71 -0
- package/dist-types/ts3.4/models/models_0.d.ts +298 -277
- package/dist-types/ts3.4/models/models_1.d.ts +17 -314
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
|
|
3
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
6
|
+
* <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
|
|
7
|
+
* unsupported Amazon Web Services Region. </p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
11
|
+
readonly name: "AccessDeniedException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class InternalServerException extends __BaseException {
|
|
23
|
+
readonly name: "InternalServerException";
|
|
24
|
+
readonly $fault: "server";
|
|
25
|
+
$retryable: {};
|
|
26
|
+
/**
|
|
27
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
retryAfterSeconds?: number | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
38
|
+
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
42
|
+
readonly name: "ServiceQuotaExceededException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
/**
|
|
45
|
+
* <p>The ID of the resource that exceeds a service quota.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
resourceId: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare class ThrottlingException extends __BaseException {
|
|
59
|
+
readonly name: "ThrottlingException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
$retryable: {
|
|
62
|
+
throttling: boolean;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
retryAfterSeconds?: number | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
76
|
+
* inputs.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ValidationException extends __BaseException {
|
|
80
|
+
readonly name: "ValidationException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
/**
|
|
83
|
+
* <p>The reason for the validation failure.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
reason: ValidationExceptionReason | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>The fields that failed validation.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
fields?: ValidationExceptionField[] | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* <p>One or more tags submitted as part of the request is not valid.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class BadRequestException extends __BaseException {
|
|
102
|
+
readonly name: "BadRequestException";
|
|
103
|
+
readonly $fault: "client";
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>A conflict occurred. This exception occurs when the same resource is being modified by
|
|
111
|
+
* concurrent requests.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class ConflictException extends __BaseException {
|
|
115
|
+
readonly name: "ConflictException";
|
|
116
|
+
readonly $fault: "client";
|
|
117
|
+
/**
|
|
118
|
+
* The ID of the conflicting resource.
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
resourceId: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* The type of the conflicting resource.
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
resourceType: string | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified
|
|
134
|
+
* correctly.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
138
|
+
readonly name: "ResourceNotFoundException";
|
|
139
|
+
readonly $fault: "client";
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
144
|
+
}
|