@aws-sdk/client-inspector 3.489.0 → 3.495.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/Inspector.js +1 -85
- package/dist-cjs/InspectorClient.js +1 -43
- package/dist-cjs/commands/AddAttributesToFindingsCommand.js +1 -28
- package/dist-cjs/commands/CreateAssessmentTargetCommand.js +1 -28
- package/dist-cjs/commands/CreateAssessmentTemplateCommand.js +1 -28
- package/dist-cjs/commands/CreateExclusionsPreviewCommand.js +1 -28
- package/dist-cjs/commands/CreateResourceGroupCommand.js +1 -28
- package/dist-cjs/commands/DeleteAssessmentRunCommand.js +1 -28
- package/dist-cjs/commands/DeleteAssessmentTargetCommand.js +1 -28
- package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js +1 -28
- package/dist-cjs/commands/DescribeAssessmentRunsCommand.js +1 -28
- package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js +1 -28
- package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js +1 -28
- package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js +1 -28
- package/dist-cjs/commands/DescribeExclusionsCommand.js +1 -28
- package/dist-cjs/commands/DescribeFindingsCommand.js +1 -28
- package/dist-cjs/commands/DescribeResourceGroupsCommand.js +1 -28
- package/dist-cjs/commands/DescribeRulesPackagesCommand.js +1 -28
- package/dist-cjs/commands/GetAssessmentReportCommand.js +1 -28
- package/dist-cjs/commands/GetExclusionsPreviewCommand.js +1 -28
- package/dist-cjs/commands/GetTelemetryMetadataCommand.js +1 -28
- package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js +1 -28
- package/dist-cjs/commands/ListAssessmentRunsCommand.js +1 -28
- package/dist-cjs/commands/ListAssessmentTargetsCommand.js +1 -28
- package/dist-cjs/commands/ListAssessmentTemplatesCommand.js +1 -28
- package/dist-cjs/commands/ListEventSubscriptionsCommand.js +1 -28
- package/dist-cjs/commands/ListExclusionsCommand.js +1 -28
- package/dist-cjs/commands/ListFindingsCommand.js +1 -28
- package/dist-cjs/commands/ListRulesPackagesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PreviewAgentsCommand.js +1 -28
- package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js +1 -28
- package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js +1 -28
- package/dist-cjs/commands/SetTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/StartAssessmentRunCommand.js +1 -28
- package/dist-cjs/commands/StopAssessmentRunCommand.js +1 -28
- package/dist-cjs/commands/SubscribeToEventCommand.js +1 -28
- package/dist-cjs/commands/UnsubscribeFromEventCommand.js +1 -28
- package/dist-cjs/commands/UpdateAssessmentTargetCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -40
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3561 -11
- package/dist-cjs/models/InspectorServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -340
- package/dist-cjs/pagination/GetExclusionsPreviewPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAssessmentRunAgentsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssessmentRunsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssessmentTargetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAssessmentTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/ListEventSubscriptionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListExclusionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListFindingsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRulesPackagesPaginator.js +1 -7
- package/dist-cjs/pagination/PreviewAgentsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -14
- package/dist-cjs/protocols/Aws_json1_1.js +1 -2259
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InspectorServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class InspectorServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, InspectorServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.InspectorServiceException = InspectorServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,340 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StopAction = exports.PreviewStatus = exports.UnsupportedFeatureException = exports.ReportStatus = exports.ReportType = exports.ReportFileFormat = exports.ScopeType = exports.Locale = exports.PreviewGenerationInProgressException = exports.LimitExceededException = exports.LimitExceededErrorCode = exports.InvalidCrossAccountRoleException = exports.InvalidCrossAccountRoleErrorCode = exports.AssetType = exports.AssessmentRunInProgressException = exports.AssessmentRunState = exports.AssessmentRunNotificationSnsStatusCode = exports.InspectorEvent = exports.Severity = exports.AgentsAlreadyRunningAssessmentException = exports.AgentHealth = exports.AgentHealthCode = exports.ServiceTemporarilyUnavailableException = exports.NoSuchEntityException = exports.NoSuchEntityErrorCode = exports.InvalidInputException = exports.InvalidInputErrorCode = exports.InternalException = exports.FailedItemErrorCode = exports.AccessDeniedException = exports.AccessDeniedErrorCode = void 0;
|
|
4
|
-
const InspectorServiceException_1 = require("./InspectorServiceException");
|
|
5
|
-
exports.AccessDeniedErrorCode = {
|
|
6
|
-
ACCESS_DENIED_TO_ASSESSMENT_RUN: "ACCESS_DENIED_TO_ASSESSMENT_RUN",
|
|
7
|
-
ACCESS_DENIED_TO_ASSESSMENT_TARGET: "ACCESS_DENIED_TO_ASSESSMENT_TARGET",
|
|
8
|
-
ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE: "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE",
|
|
9
|
-
ACCESS_DENIED_TO_FINDING: "ACCESS_DENIED_TO_FINDING",
|
|
10
|
-
ACCESS_DENIED_TO_IAM_ROLE: "ACCESS_DENIED_TO_IAM_ROLE",
|
|
11
|
-
ACCESS_DENIED_TO_RESOURCE_GROUP: "ACCESS_DENIED_TO_RESOURCE_GROUP",
|
|
12
|
-
ACCESS_DENIED_TO_RULES_PACKAGE: "ACCESS_DENIED_TO_RULES_PACKAGE",
|
|
13
|
-
ACCESS_DENIED_TO_SNS_TOPIC: "ACCESS_DENIED_TO_SNS_TOPIC",
|
|
14
|
-
};
|
|
15
|
-
class AccessDeniedException extends InspectorServiceException_1.InspectorServiceException {
|
|
16
|
-
constructor(opts) {
|
|
17
|
-
super({
|
|
18
|
-
name: "AccessDeniedException",
|
|
19
|
-
$fault: "client",
|
|
20
|
-
...opts,
|
|
21
|
-
});
|
|
22
|
-
this.name = "AccessDeniedException";
|
|
23
|
-
this.$fault = "client";
|
|
24
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
25
|
-
this.errorCode = opts.errorCode;
|
|
26
|
-
this.canRetry = opts.canRetry;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
30
|
-
exports.FailedItemErrorCode = {
|
|
31
|
-
ACCESS_DENIED: "ACCESS_DENIED",
|
|
32
|
-
DUPLICATE_ARN: "DUPLICATE_ARN",
|
|
33
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
34
|
-
INVALID_ARN: "INVALID_ARN",
|
|
35
|
-
ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST",
|
|
36
|
-
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
37
|
-
};
|
|
38
|
-
class InternalException extends InspectorServiceException_1.InspectorServiceException {
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "InternalException",
|
|
42
|
-
$fault: "server",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
this.name = "InternalException";
|
|
46
|
-
this.$fault = "server";
|
|
47
|
-
Object.setPrototypeOf(this, InternalException.prototype);
|
|
48
|
-
this.canRetry = opts.canRetry;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
exports.InternalException = InternalException;
|
|
52
|
-
exports.InvalidInputErrorCode = {
|
|
53
|
-
ASSESSMENT_TARGET_NAME_ALREADY_TAKEN: "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
|
|
54
|
-
ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN: "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN",
|
|
55
|
-
INVALID_AGENT_ID: "INVALID_AGENT_ID",
|
|
56
|
-
INVALID_ASSESSMENT_RUN_ARN: "INVALID_ASSESSMENT_RUN_ARN",
|
|
57
|
-
INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE: "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE",
|
|
58
|
-
INVALID_ASSESSMENT_RUN_DURATION_RANGE: "INVALID_ASSESSMENT_RUN_DURATION_RANGE",
|
|
59
|
-
INVALID_ASSESSMENT_RUN_START_TIME_RANGE: "INVALID_ASSESSMENT_RUN_START_TIME_RANGE",
|
|
60
|
-
INVALID_ASSESSMENT_RUN_STATE: "INVALID_ASSESSMENT_RUN_STATE",
|
|
61
|
-
INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE: "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE",
|
|
62
|
-
INVALID_ASSESSMENT_TARGET_ARN: "INVALID_ASSESSMENT_TARGET_ARN",
|
|
63
|
-
INVALID_ASSESSMENT_TARGET_NAME: "INVALID_ASSESSMENT_TARGET_NAME",
|
|
64
|
-
INVALID_ASSESSMENT_TARGET_NAME_PATTERN: "INVALID_ASSESSMENT_TARGET_NAME_PATTERN",
|
|
65
|
-
INVALID_ASSESSMENT_TEMPLATE_ARN: "INVALID_ASSESSMENT_TEMPLATE_ARN",
|
|
66
|
-
INVALID_ASSESSMENT_TEMPLATE_DURATION: "INVALID_ASSESSMENT_TEMPLATE_DURATION",
|
|
67
|
-
INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE: "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE",
|
|
68
|
-
INVALID_ASSESSMENT_TEMPLATE_NAME: "INVALID_ASSESSMENT_TEMPLATE_NAME",
|
|
69
|
-
INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN: "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN",
|
|
70
|
-
INVALID_ATTRIBUTE: "INVALID_ATTRIBUTE",
|
|
71
|
-
INVALID_AUTO_SCALING_GROUP: "INVALID_AUTO_SCALING_GROUP",
|
|
72
|
-
INVALID_EVENT: "INVALID_EVENT",
|
|
73
|
-
INVALID_FINDING_ARN: "INVALID_FINDING_ARN",
|
|
74
|
-
INVALID_IAM_ROLE_ARN: "INVALID_IAM_ROLE_ARN",
|
|
75
|
-
INVALID_LOCALE: "INVALID_LOCALE",
|
|
76
|
-
INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS",
|
|
77
|
-
INVALID_NUMBER_OF_AGENT_IDS: "INVALID_NUMBER_OF_AGENT_IDS",
|
|
78
|
-
INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS",
|
|
79
|
-
INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES: "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES",
|
|
80
|
-
INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS",
|
|
81
|
-
INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS",
|
|
82
|
-
INVALID_NUMBER_OF_ATTRIBUTES: "INVALID_NUMBER_OF_ATTRIBUTES",
|
|
83
|
-
INVALID_NUMBER_OF_AUTO_SCALING_GROUPS: "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS",
|
|
84
|
-
INVALID_NUMBER_OF_FINDING_ARNS: "INVALID_NUMBER_OF_FINDING_ARNS",
|
|
85
|
-
INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS: "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS",
|
|
86
|
-
INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS: "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS",
|
|
87
|
-
INVALID_NUMBER_OF_RULES_PACKAGE_ARNS: "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS",
|
|
88
|
-
INVALID_NUMBER_OF_RULE_NAMES: "INVALID_NUMBER_OF_RULE_NAMES",
|
|
89
|
-
INVALID_NUMBER_OF_SEVERITIES: "INVALID_NUMBER_OF_SEVERITIES",
|
|
90
|
-
INVALID_NUMBER_OF_TAGS: "INVALID_NUMBER_OF_TAGS",
|
|
91
|
-
INVALID_NUMBER_OF_USER_ATTRIBUTES: "INVALID_NUMBER_OF_USER_ATTRIBUTES",
|
|
92
|
-
INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN",
|
|
93
|
-
INVALID_RESOURCE_ARN: "INVALID_RESOURCE_ARN",
|
|
94
|
-
INVALID_RESOURCE_GROUP_ARN: "INVALID_RESOURCE_GROUP_ARN",
|
|
95
|
-
INVALID_RESOURCE_GROUP_TAG_KEY: "INVALID_RESOURCE_GROUP_TAG_KEY",
|
|
96
|
-
INVALID_RESOURCE_GROUP_TAG_VALUE: "INVALID_RESOURCE_GROUP_TAG_VALUE",
|
|
97
|
-
INVALID_RULES_PACKAGE_ARN: "INVALID_RULES_PACKAGE_ARN",
|
|
98
|
-
INVALID_RULE_NAME: "INVALID_RULE_NAME",
|
|
99
|
-
INVALID_SEVERITY: "INVALID_SEVERITY",
|
|
100
|
-
INVALID_SNS_TOPIC_ARN: "INVALID_SNS_TOPIC_ARN",
|
|
101
|
-
INVALID_TAG: "INVALID_TAG",
|
|
102
|
-
INVALID_TAG_KEY: "INVALID_TAG_KEY",
|
|
103
|
-
INVALID_TAG_VALUE: "INVALID_TAG_VALUE",
|
|
104
|
-
INVALID_USER_ATTRIBUTE: "INVALID_USER_ATTRIBUTE",
|
|
105
|
-
INVALID_USER_ATTRIBUTE_KEY: "INVALID_USER_ATTRIBUTE_KEY",
|
|
106
|
-
INVALID_USER_ATTRIBUTE_VALUE: "INVALID_USER_ATTRIBUTE_VALUE",
|
|
107
|
-
};
|
|
108
|
-
class InvalidInputException extends InspectorServiceException_1.InspectorServiceException {
|
|
109
|
-
constructor(opts) {
|
|
110
|
-
super({
|
|
111
|
-
name: "InvalidInputException",
|
|
112
|
-
$fault: "client",
|
|
113
|
-
...opts,
|
|
114
|
-
});
|
|
115
|
-
this.name = "InvalidInputException";
|
|
116
|
-
this.$fault = "client";
|
|
117
|
-
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
118
|
-
this.errorCode = opts.errorCode;
|
|
119
|
-
this.canRetry = opts.canRetry;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
exports.InvalidInputException = InvalidInputException;
|
|
123
|
-
exports.NoSuchEntityErrorCode = {
|
|
124
|
-
ASSESSMENT_RUN_DOES_NOT_EXIST: "ASSESSMENT_RUN_DOES_NOT_EXIST",
|
|
125
|
-
ASSESSMENT_TARGET_DOES_NOT_EXIST: "ASSESSMENT_TARGET_DOES_NOT_EXIST",
|
|
126
|
-
ASSESSMENT_TEMPLATE_DOES_NOT_EXIST: "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST",
|
|
127
|
-
FINDING_DOES_NOT_EXIST: "FINDING_DOES_NOT_EXIST",
|
|
128
|
-
IAM_ROLE_DOES_NOT_EXIST: "IAM_ROLE_DOES_NOT_EXIST",
|
|
129
|
-
RESOURCE_GROUP_DOES_NOT_EXIST: "RESOURCE_GROUP_DOES_NOT_EXIST",
|
|
130
|
-
RULES_PACKAGE_DOES_NOT_EXIST: "RULES_PACKAGE_DOES_NOT_EXIST",
|
|
131
|
-
SNS_TOPIC_DOES_NOT_EXIST: "SNS_TOPIC_DOES_NOT_EXIST",
|
|
132
|
-
};
|
|
133
|
-
class NoSuchEntityException extends InspectorServiceException_1.InspectorServiceException {
|
|
134
|
-
constructor(opts) {
|
|
135
|
-
super({
|
|
136
|
-
name: "NoSuchEntityException",
|
|
137
|
-
$fault: "client",
|
|
138
|
-
...opts,
|
|
139
|
-
});
|
|
140
|
-
this.name = "NoSuchEntityException";
|
|
141
|
-
this.$fault = "client";
|
|
142
|
-
Object.setPrototypeOf(this, NoSuchEntityException.prototype);
|
|
143
|
-
this.errorCode = opts.errorCode;
|
|
144
|
-
this.canRetry = opts.canRetry;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
exports.NoSuchEntityException = NoSuchEntityException;
|
|
148
|
-
class ServiceTemporarilyUnavailableException extends InspectorServiceException_1.InspectorServiceException {
|
|
149
|
-
constructor(opts) {
|
|
150
|
-
super({
|
|
151
|
-
name: "ServiceTemporarilyUnavailableException",
|
|
152
|
-
$fault: "server",
|
|
153
|
-
...opts,
|
|
154
|
-
});
|
|
155
|
-
this.name = "ServiceTemporarilyUnavailableException";
|
|
156
|
-
this.$fault = "server";
|
|
157
|
-
Object.setPrototypeOf(this, ServiceTemporarilyUnavailableException.prototype);
|
|
158
|
-
this.canRetry = opts.canRetry;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
exports.ServiceTemporarilyUnavailableException = ServiceTemporarilyUnavailableException;
|
|
162
|
-
exports.AgentHealthCode = {
|
|
163
|
-
IDLE: "IDLE",
|
|
164
|
-
RUNNING: "RUNNING",
|
|
165
|
-
SHUTDOWN: "SHUTDOWN",
|
|
166
|
-
THROTTLED: "THROTTLED",
|
|
167
|
-
UNHEALTHY: "UNHEALTHY",
|
|
168
|
-
UNKNOWN: "UNKNOWN",
|
|
169
|
-
};
|
|
170
|
-
exports.AgentHealth = {
|
|
171
|
-
HEALTHY: "HEALTHY",
|
|
172
|
-
UNHEALTHY: "UNHEALTHY",
|
|
173
|
-
UNKNOWN: "UNKNOWN",
|
|
174
|
-
};
|
|
175
|
-
class AgentsAlreadyRunningAssessmentException extends InspectorServiceException_1.InspectorServiceException {
|
|
176
|
-
constructor(opts) {
|
|
177
|
-
super({
|
|
178
|
-
name: "AgentsAlreadyRunningAssessmentException",
|
|
179
|
-
$fault: "client",
|
|
180
|
-
...opts,
|
|
181
|
-
});
|
|
182
|
-
this.name = "AgentsAlreadyRunningAssessmentException";
|
|
183
|
-
this.$fault = "client";
|
|
184
|
-
Object.setPrototypeOf(this, AgentsAlreadyRunningAssessmentException.prototype);
|
|
185
|
-
this.agents = opts.agents;
|
|
186
|
-
this.agentsTruncated = opts.agentsTruncated;
|
|
187
|
-
this.canRetry = opts.canRetry;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
exports.AgentsAlreadyRunningAssessmentException = AgentsAlreadyRunningAssessmentException;
|
|
191
|
-
exports.Severity = {
|
|
192
|
-
HIGH: "High",
|
|
193
|
-
INFORMATIONAL: "Informational",
|
|
194
|
-
LOW: "Low",
|
|
195
|
-
MEDIUM: "Medium",
|
|
196
|
-
UNDEFINED: "Undefined",
|
|
197
|
-
};
|
|
198
|
-
exports.InspectorEvent = {
|
|
199
|
-
ASSESSMENT_RUN_COMPLETED: "ASSESSMENT_RUN_COMPLETED",
|
|
200
|
-
ASSESSMENT_RUN_STARTED: "ASSESSMENT_RUN_STARTED",
|
|
201
|
-
ASSESSMENT_RUN_STATE_CHANGED: "ASSESSMENT_RUN_STATE_CHANGED",
|
|
202
|
-
FINDING_REPORTED: "FINDING_REPORTED",
|
|
203
|
-
OTHER: "OTHER",
|
|
204
|
-
};
|
|
205
|
-
exports.AssessmentRunNotificationSnsStatusCode = {
|
|
206
|
-
ACCESS_DENIED: "ACCESS_DENIED",
|
|
207
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
208
|
-
SUCCESS: "SUCCESS",
|
|
209
|
-
TOPIC_DOES_NOT_EXIST: "TOPIC_DOES_NOT_EXIST",
|
|
210
|
-
};
|
|
211
|
-
exports.AssessmentRunState = {
|
|
212
|
-
CANCELED: "CANCELED",
|
|
213
|
-
COLLECTING_DATA: "COLLECTING_DATA",
|
|
214
|
-
COMPLETED: "COMPLETED",
|
|
215
|
-
COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
|
|
216
|
-
CREATED: "CREATED",
|
|
217
|
-
DATA_COLLECTED: "DATA_COLLECTED",
|
|
218
|
-
ERROR: "ERROR",
|
|
219
|
-
EVALUATING_RULES: "EVALUATING_RULES",
|
|
220
|
-
FAILED: "FAILED",
|
|
221
|
-
START_DATA_COLLECTION_IN_PROGRESS: "START_DATA_COLLECTION_IN_PROGRESS",
|
|
222
|
-
START_DATA_COLLECTION_PENDING: "START_DATA_COLLECTION_PENDING",
|
|
223
|
-
START_EVALUATING_RULES_PENDING: "START_EVALUATING_RULES_PENDING",
|
|
224
|
-
STOP_DATA_COLLECTION_PENDING: "STOP_DATA_COLLECTION_PENDING",
|
|
225
|
-
};
|
|
226
|
-
class AssessmentRunInProgressException extends InspectorServiceException_1.InspectorServiceException {
|
|
227
|
-
constructor(opts) {
|
|
228
|
-
super({
|
|
229
|
-
name: "AssessmentRunInProgressException",
|
|
230
|
-
$fault: "client",
|
|
231
|
-
...opts,
|
|
232
|
-
});
|
|
233
|
-
this.name = "AssessmentRunInProgressException";
|
|
234
|
-
this.$fault = "client";
|
|
235
|
-
Object.setPrototypeOf(this, AssessmentRunInProgressException.prototype);
|
|
236
|
-
this.assessmentRunArns = opts.assessmentRunArns;
|
|
237
|
-
this.assessmentRunArnsTruncated = opts.assessmentRunArnsTruncated;
|
|
238
|
-
this.canRetry = opts.canRetry;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
exports.AssessmentRunInProgressException = AssessmentRunInProgressException;
|
|
242
|
-
exports.AssetType = {
|
|
243
|
-
EC2_INSTANCE: "ec2-instance",
|
|
244
|
-
};
|
|
245
|
-
exports.InvalidCrossAccountRoleErrorCode = {
|
|
246
|
-
ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP: "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP",
|
|
247
|
-
ROLE_DOES_NOT_HAVE_CORRECT_POLICY: "ROLE_DOES_NOT_HAVE_CORRECT_POLICY",
|
|
248
|
-
};
|
|
249
|
-
class InvalidCrossAccountRoleException extends InspectorServiceException_1.InspectorServiceException {
|
|
250
|
-
constructor(opts) {
|
|
251
|
-
super({
|
|
252
|
-
name: "InvalidCrossAccountRoleException",
|
|
253
|
-
$fault: "client",
|
|
254
|
-
...opts,
|
|
255
|
-
});
|
|
256
|
-
this.name = "InvalidCrossAccountRoleException";
|
|
257
|
-
this.$fault = "client";
|
|
258
|
-
Object.setPrototypeOf(this, InvalidCrossAccountRoleException.prototype);
|
|
259
|
-
this.errorCode = opts.errorCode;
|
|
260
|
-
this.canRetry = opts.canRetry;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
exports.InvalidCrossAccountRoleException = InvalidCrossAccountRoleException;
|
|
264
|
-
exports.LimitExceededErrorCode = {
|
|
265
|
-
ASSESSMENT_RUN_LIMIT_EXCEEDED: "ASSESSMENT_RUN_LIMIT_EXCEEDED",
|
|
266
|
-
ASSESSMENT_TARGET_LIMIT_EXCEEDED: "ASSESSMENT_TARGET_LIMIT_EXCEEDED",
|
|
267
|
-
ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED: "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED",
|
|
268
|
-
EVENT_SUBSCRIPTION_LIMIT_EXCEEDED: "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED",
|
|
269
|
-
RESOURCE_GROUP_LIMIT_EXCEEDED: "RESOURCE_GROUP_LIMIT_EXCEEDED",
|
|
270
|
-
};
|
|
271
|
-
class LimitExceededException extends InspectorServiceException_1.InspectorServiceException {
|
|
272
|
-
constructor(opts) {
|
|
273
|
-
super({
|
|
274
|
-
name: "LimitExceededException",
|
|
275
|
-
$fault: "client",
|
|
276
|
-
...opts,
|
|
277
|
-
});
|
|
278
|
-
this.name = "LimitExceededException";
|
|
279
|
-
this.$fault = "client";
|
|
280
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
281
|
-
this.errorCode = opts.errorCode;
|
|
282
|
-
this.canRetry = opts.canRetry;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
exports.LimitExceededException = LimitExceededException;
|
|
286
|
-
class PreviewGenerationInProgressException extends InspectorServiceException_1.InspectorServiceException {
|
|
287
|
-
constructor(opts) {
|
|
288
|
-
super({
|
|
289
|
-
name: "PreviewGenerationInProgressException",
|
|
290
|
-
$fault: "client",
|
|
291
|
-
...opts,
|
|
292
|
-
});
|
|
293
|
-
this.name = "PreviewGenerationInProgressException";
|
|
294
|
-
this.$fault = "client";
|
|
295
|
-
Object.setPrototypeOf(this, PreviewGenerationInProgressException.prototype);
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
exports.PreviewGenerationInProgressException = PreviewGenerationInProgressException;
|
|
299
|
-
exports.Locale = {
|
|
300
|
-
EN_US: "EN_US",
|
|
301
|
-
};
|
|
302
|
-
exports.ScopeType = {
|
|
303
|
-
INSTANCE_ID: "INSTANCE_ID",
|
|
304
|
-
RULES_PACKAGE_ARN: "RULES_PACKAGE_ARN",
|
|
305
|
-
};
|
|
306
|
-
exports.ReportFileFormat = {
|
|
307
|
-
HTML: "HTML",
|
|
308
|
-
PDF: "PDF",
|
|
309
|
-
};
|
|
310
|
-
exports.ReportType = {
|
|
311
|
-
FINDING: "FINDING",
|
|
312
|
-
FULL: "FULL",
|
|
313
|
-
};
|
|
314
|
-
exports.ReportStatus = {
|
|
315
|
-
COMPLETED: "COMPLETED",
|
|
316
|
-
FAILED: "FAILED",
|
|
317
|
-
WORK_IN_PROGRESS: "WORK_IN_PROGRESS",
|
|
318
|
-
};
|
|
319
|
-
class UnsupportedFeatureException extends InspectorServiceException_1.InspectorServiceException {
|
|
320
|
-
constructor(opts) {
|
|
321
|
-
super({
|
|
322
|
-
name: "UnsupportedFeatureException",
|
|
323
|
-
$fault: "client",
|
|
324
|
-
...opts,
|
|
325
|
-
});
|
|
326
|
-
this.name = "UnsupportedFeatureException";
|
|
327
|
-
this.$fault = "client";
|
|
328
|
-
Object.setPrototypeOf(this, UnsupportedFeatureException.prototype);
|
|
329
|
-
this.canRetry = opts.canRetry;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
exports.UnsupportedFeatureException = UnsupportedFeatureException;
|
|
333
|
-
exports.PreviewStatus = {
|
|
334
|
-
COMPLETED: "COMPLETED",
|
|
335
|
-
WORK_IN_PROGRESS: "WORK_IN_PROGRESS",
|
|
336
|
-
};
|
|
337
|
-
exports.StopAction = {
|
|
338
|
-
SKIP_EVALUATION: "SKIP_EVALUATION",
|
|
339
|
-
START_EVALUATION: "START_EVALUATION",
|
|
340
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateGetExclusionsPreview = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const GetExclusionsPreviewCommand_1 = require("../commands/GetExclusionsPreviewCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateGetExclusionsPreview = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, GetExclusionsPreviewCommand_1.GetExclusionsPreviewCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAssessmentRunAgents = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListAssessmentRunAgentsCommand_1 = require("../commands/ListAssessmentRunAgentsCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateListAssessmentRunAgents = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, ListAssessmentRunAgentsCommand_1.ListAssessmentRunAgentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAssessmentRuns = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListAssessmentRunsCommand_1 = require("../commands/ListAssessmentRunsCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateListAssessmentRuns = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, ListAssessmentRunsCommand_1.ListAssessmentRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAssessmentTargets = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListAssessmentTargetsCommand_1 = require("../commands/ListAssessmentTargetsCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateListAssessmentTargets = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, ListAssessmentTargetsCommand_1.ListAssessmentTargetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAssessmentTemplates = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListAssessmentTemplatesCommand_1 = require("../commands/ListAssessmentTemplatesCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateListAssessmentTemplates = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, ListAssessmentTemplatesCommand_1.ListAssessmentTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListEventSubscriptions = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListEventSubscriptionsCommand_1 = require("../commands/ListEventSubscriptionsCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateListEventSubscriptions = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, ListEventSubscriptionsCommand_1.ListEventSubscriptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListExclusions = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListExclusionsCommand_1 = require("../commands/ListExclusionsCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateListExclusions = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, ListExclusionsCommand_1.ListExclusionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListFindings = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListFindingsCommand_1 = require("../commands/ListFindingsCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateListFindings = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, ListFindingsCommand_1.ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListRulesPackages = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListRulesPackagesCommand_1 = require("../commands/ListRulesPackagesCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginateListRulesPackages = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, ListRulesPackagesCommand_1.ListRulesPackagesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginatePreviewAgents = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const PreviewAgentsCommand_1 = require("../commands/PreviewAgentsCommand");
|
|
6
|
-
const InspectorClient_1 = require("../InspectorClient");
|
|
7
|
-
exports.paginatePreviewAgents = (0, core_1.createPaginator)(InspectorClient_1.InspectorClient, PreviewAgentsCommand_1.PreviewAgentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./GetExclusionsPreviewPaginator"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListAssessmentRunAgentsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListAssessmentRunsPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListAssessmentTargetsPaginator"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ListAssessmentTemplatesPaginator"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./ListEventSubscriptionsPaginator"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./ListExclusionsPaginator"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./ListFindingsPaginator"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./ListRulesPackagesPaginator"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./PreviewAgentsPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|