@aws-sdk/client-inspector 3.45.0 → 3.47.2
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 +44 -0
- package/dist-cjs/endpoints.js +0 -24
- package/dist-cjs/models/models_0.js +3 -69
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +0 -24
- package/dist-es/models/models_0.js +0 -44
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/InspectorClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -66
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/InspectorClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -44
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-inspector
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-inspector
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
44
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
51
|
|
|
8
52
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "inspector.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "inspector-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "inspector.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "inspector-fips.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-gov-east-1": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "inspector.us-gov-east-1.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "inspector-fips.us-gov-east-1.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-gov-west-1": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "inspector.us-gov-west-1.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "inspector-fips.us-gov-west-1.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"us-west-1": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "inspector.us-west-1.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "inspector-fips.us-west-1.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -65,10 +45,6 @@ const regionHash = {
|
|
|
65
45
|
},
|
|
66
46
|
"us-west-2": {
|
|
67
47
|
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "inspector.us-west-2.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
48
|
{
|
|
73
49
|
hostname: "inspector-fips.us-west-2.amazonaws.com",
|
|
74
50
|
tags: ["fips"],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateAssessmentTargetRequest = exports.UnsubscribeFromEventRequest = exports.SubscribeToEventRequest = exports.StopAssessmentRunRequest = exports.StopAction = exports.StartAssessmentRunResponse = exports.StartAssessmentRunRequest = exports.SetTagsForResourceRequest = exports.RemoveAttributesFromFindingsResponse = exports.RemoveAttributesFromFindingsRequest = exports.RegisterCrossAccountAccessRoleRequest = exports.PreviewAgentsResponse = exports.PreviewAgentsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRulesPackagesResponse = exports.ListRulesPackagesRequest =
|
|
3
|
+
exports.DescribeAssessmentRunsRequest = exports.DeleteAssessmentTemplateRequest = exports.DeleteAssessmentTargetRequest = exports.DeleteAssessmentRunRequest = exports.CreateResourceGroupResponse = exports.CreateResourceGroupRequest = exports.ResourceGroupTag = exports.CreateExclusionsPreviewResponse = exports.CreateExclusionsPreviewRequest = exports.CreateAssessmentTemplateResponse = exports.CreateAssessmentTemplateRequest = exports.LimitExceededErrorCode = exports.InvalidCrossAccountRoleErrorCode = exports.CreateAssessmentTargetResponse = exports.CreateAssessmentTargetRequest = exports.AssetType = exports.AssetAttributes = exports.Tag = exports.NetworkInterface = exports.SecurityGroup = exports.PrivateIp = exports.AssessmentTemplateFilter = exports.AssessmentTemplate = exports.AssessmentTargetFilter = exports.AssessmentTarget = exports.AssessmentRunFilter = exports.DurationRange = exports.TimestampRange = exports.AssessmentRunAgent = exports.TelemetryMetadata = exports.AssessmentRun = exports.AssessmentRunStateChange = exports.AssessmentRunState = exports.AssessmentRunNotification = exports.AssessmentRunNotificationSnsStatusCode = exports.InspectorEvent = exports.Severity = exports.AgentPreview = exports.AgentFilter = exports.AgentHealth = exports.AgentHealthCode = exports.AgentAlreadyRunningAssessment = exports.NoSuchEntityErrorCode = exports.InvalidInputErrorCode = exports.AddAttributesToFindingsResponse = exports.FailedItemDetails = exports.FailedItemErrorCode = exports.AddAttributesToFindingsRequest = exports.Attribute = exports.AccessDeniedErrorCode = void 0;
|
|
4
|
+
exports.ListFindingsResponse = exports.ListFindingsRequest = exports.ListExclusionsResponse = exports.ListExclusionsRequest = exports.ListEventSubscriptionsResponse = exports.Subscription = exports.ListEventSubscriptionsRequest = exports.ListAssessmentTemplatesResponse = exports.ListAssessmentTemplatesRequest = exports.ListAssessmentTargetsResponse = exports.ListAssessmentTargetsRequest = exports.ListAssessmentRunsResponse = exports.ListAssessmentRunsRequest = exports.ListAssessmentRunAgentsResponse = exports.ListAssessmentRunAgentsRequest = exports.GetTelemetryMetadataResponse = exports.GetTelemetryMetadataRequest = exports.GetExclusionsPreviewResponse = exports.PreviewStatus = exports.GetExclusionsPreviewRequest = exports.GetAssessmentReportResponse = exports.ReportStatus = exports.GetAssessmentReportRequest = exports.ReportType = exports.ReportFileFormat = exports.FindingFilter = exports.ExclusionPreview = exports.EventSubscription = exports.DescribeRulesPackagesResponse = exports.RulesPackage = exports.DescribeRulesPackagesRequest = exports.DescribeResourceGroupsResponse = exports.ResourceGroup = exports.DescribeResourceGroupsRequest = exports.DescribeFindingsResponse = exports.Finding = exports.InspectorServiceAttributes = exports.DescribeFindingsRequest = exports.DescribeExclusionsResponse = exports.Exclusion = exports.Scope = exports.ScopeType = exports.DescribeExclusionsRequest = exports.Locale = exports.DescribeCrossAccountAccessRoleResponse = exports.DescribeAssessmentTemplatesResponse = exports.DescribeAssessmentTemplatesRequest = exports.DescribeAssessmentTargetsResponse = exports.DescribeAssessmentTargetsRequest = exports.DescribeAssessmentRunsResponse = void 0;
|
|
5
|
+
exports.UpdateAssessmentTargetRequest = exports.UnsubscribeFromEventRequest = exports.SubscribeToEventRequest = exports.StopAssessmentRunRequest = exports.StopAction = exports.StartAssessmentRunResponse = exports.StartAssessmentRunRequest = exports.SetTagsForResourceRequest = exports.RemoveAttributesFromFindingsResponse = exports.RemoveAttributesFromFindingsRequest = exports.RegisterCrossAccountAccessRoleRequest = exports.PreviewAgentsResponse = exports.PreviewAgentsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRulesPackagesResponse = exports.ListRulesPackagesRequest = void 0;
|
|
6
6
|
var AccessDeniedErrorCode;
|
|
7
7
|
(function (AccessDeniedErrorCode) {
|
|
8
8
|
AccessDeniedErrorCode["ACCESS_DENIED_TO_ASSESSMENT_RUN"] = "ACCESS_DENIED_TO_ASSESSMENT_RUN";
|
|
@@ -14,12 +14,6 @@ var AccessDeniedErrorCode;
|
|
|
14
14
|
AccessDeniedErrorCode["ACCESS_DENIED_TO_RULES_PACKAGE"] = "ACCESS_DENIED_TO_RULES_PACKAGE";
|
|
15
15
|
AccessDeniedErrorCode["ACCESS_DENIED_TO_SNS_TOPIC"] = "ACCESS_DENIED_TO_SNS_TOPIC";
|
|
16
16
|
})(AccessDeniedErrorCode = exports.AccessDeniedErrorCode || (exports.AccessDeniedErrorCode = {}));
|
|
17
|
-
var AccessDeniedException;
|
|
18
|
-
(function (AccessDeniedException) {
|
|
19
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
20
|
-
...obj,
|
|
21
|
-
});
|
|
22
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
23
17
|
var Attribute;
|
|
24
18
|
(function (Attribute) {
|
|
25
19
|
Attribute.filterSensitiveLog = (obj) => ({
|
|
@@ -53,12 +47,6 @@ var AddAttributesToFindingsResponse;
|
|
|
53
47
|
...obj,
|
|
54
48
|
});
|
|
55
49
|
})(AddAttributesToFindingsResponse = exports.AddAttributesToFindingsResponse || (exports.AddAttributesToFindingsResponse = {}));
|
|
56
|
-
var InternalException;
|
|
57
|
-
(function (InternalException) {
|
|
58
|
-
InternalException.filterSensitiveLog = (obj) => ({
|
|
59
|
-
...obj,
|
|
60
|
-
});
|
|
61
|
-
})(InternalException = exports.InternalException || (exports.InternalException = {}));
|
|
62
50
|
var InvalidInputErrorCode;
|
|
63
51
|
(function (InvalidInputErrorCode) {
|
|
64
52
|
InvalidInputErrorCode["ASSESSMENT_TARGET_NAME_ALREADY_TAKEN"] = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN";
|
|
@@ -116,12 +104,6 @@ var InvalidInputErrorCode;
|
|
|
116
104
|
InvalidInputErrorCode["INVALID_USER_ATTRIBUTE_KEY"] = "INVALID_USER_ATTRIBUTE_KEY";
|
|
117
105
|
InvalidInputErrorCode["INVALID_USER_ATTRIBUTE_VALUE"] = "INVALID_USER_ATTRIBUTE_VALUE";
|
|
118
106
|
})(InvalidInputErrorCode = exports.InvalidInputErrorCode || (exports.InvalidInputErrorCode = {}));
|
|
119
|
-
var InvalidInputException;
|
|
120
|
-
(function (InvalidInputException) {
|
|
121
|
-
InvalidInputException.filterSensitiveLog = (obj) => ({
|
|
122
|
-
...obj,
|
|
123
|
-
});
|
|
124
|
-
})(InvalidInputException = exports.InvalidInputException || (exports.InvalidInputException = {}));
|
|
125
107
|
var NoSuchEntityErrorCode;
|
|
126
108
|
(function (NoSuchEntityErrorCode) {
|
|
127
109
|
NoSuchEntityErrorCode["ASSESSMENT_RUN_DOES_NOT_EXIST"] = "ASSESSMENT_RUN_DOES_NOT_EXIST";
|
|
@@ -133,18 +115,6 @@ var NoSuchEntityErrorCode;
|
|
|
133
115
|
NoSuchEntityErrorCode["RULES_PACKAGE_DOES_NOT_EXIST"] = "RULES_PACKAGE_DOES_NOT_EXIST";
|
|
134
116
|
NoSuchEntityErrorCode["SNS_TOPIC_DOES_NOT_EXIST"] = "SNS_TOPIC_DOES_NOT_EXIST";
|
|
135
117
|
})(NoSuchEntityErrorCode = exports.NoSuchEntityErrorCode || (exports.NoSuchEntityErrorCode = {}));
|
|
136
|
-
var NoSuchEntityException;
|
|
137
|
-
(function (NoSuchEntityException) {
|
|
138
|
-
NoSuchEntityException.filterSensitiveLog = (obj) => ({
|
|
139
|
-
...obj,
|
|
140
|
-
});
|
|
141
|
-
})(NoSuchEntityException = exports.NoSuchEntityException || (exports.NoSuchEntityException = {}));
|
|
142
|
-
var ServiceTemporarilyUnavailableException;
|
|
143
|
-
(function (ServiceTemporarilyUnavailableException) {
|
|
144
|
-
ServiceTemporarilyUnavailableException.filterSensitiveLog = (obj) => ({
|
|
145
|
-
...obj,
|
|
146
|
-
});
|
|
147
|
-
})(ServiceTemporarilyUnavailableException = exports.ServiceTemporarilyUnavailableException || (exports.ServiceTemporarilyUnavailableException = {}));
|
|
148
118
|
var AgentAlreadyRunningAssessment;
|
|
149
119
|
(function (AgentAlreadyRunningAssessment) {
|
|
150
120
|
AgentAlreadyRunningAssessment.filterSensitiveLog = (obj) => ({
|
|
@@ -178,12 +148,6 @@ var AgentPreview;
|
|
|
178
148
|
...obj,
|
|
179
149
|
});
|
|
180
150
|
})(AgentPreview = exports.AgentPreview || (exports.AgentPreview = {}));
|
|
181
|
-
var AgentsAlreadyRunningAssessmentException;
|
|
182
|
-
(function (AgentsAlreadyRunningAssessmentException) {
|
|
183
|
-
AgentsAlreadyRunningAssessmentException.filterSensitiveLog = (obj) => ({
|
|
184
|
-
...obj,
|
|
185
|
-
});
|
|
186
|
-
})(AgentsAlreadyRunningAssessmentException = exports.AgentsAlreadyRunningAssessmentException || (exports.AgentsAlreadyRunningAssessmentException = {}));
|
|
187
151
|
var Severity;
|
|
188
152
|
(function (Severity) {
|
|
189
153
|
Severity["HIGH"] = "High";
|
|
@@ -271,12 +235,6 @@ var AssessmentRunFilter;
|
|
|
271
235
|
...obj,
|
|
272
236
|
});
|
|
273
237
|
})(AssessmentRunFilter = exports.AssessmentRunFilter || (exports.AssessmentRunFilter = {}));
|
|
274
|
-
var AssessmentRunInProgressException;
|
|
275
|
-
(function (AssessmentRunInProgressException) {
|
|
276
|
-
AssessmentRunInProgressException.filterSensitiveLog = (obj) => ({
|
|
277
|
-
...obj,
|
|
278
|
-
});
|
|
279
|
-
})(AssessmentRunInProgressException = exports.AssessmentRunInProgressException || (exports.AssessmentRunInProgressException = {}));
|
|
280
238
|
var AssessmentTarget;
|
|
281
239
|
(function (AssessmentTarget) {
|
|
282
240
|
AssessmentTarget.filterSensitiveLog = (obj) => ({
|
|
@@ -352,12 +310,6 @@ var InvalidCrossAccountRoleErrorCode;
|
|
|
352
310
|
InvalidCrossAccountRoleErrorCode["ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP"] = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP";
|
|
353
311
|
InvalidCrossAccountRoleErrorCode["ROLE_DOES_NOT_HAVE_CORRECT_POLICY"] = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY";
|
|
354
312
|
})(InvalidCrossAccountRoleErrorCode = exports.InvalidCrossAccountRoleErrorCode || (exports.InvalidCrossAccountRoleErrorCode = {}));
|
|
355
|
-
var InvalidCrossAccountRoleException;
|
|
356
|
-
(function (InvalidCrossAccountRoleException) {
|
|
357
|
-
InvalidCrossAccountRoleException.filterSensitiveLog = (obj) => ({
|
|
358
|
-
...obj,
|
|
359
|
-
});
|
|
360
|
-
})(InvalidCrossAccountRoleException = exports.InvalidCrossAccountRoleException || (exports.InvalidCrossAccountRoleException = {}));
|
|
361
313
|
var LimitExceededErrorCode;
|
|
362
314
|
(function (LimitExceededErrorCode) {
|
|
363
315
|
LimitExceededErrorCode["ASSESSMENT_RUN_LIMIT_EXCEEDED"] = "ASSESSMENT_RUN_LIMIT_EXCEEDED";
|
|
@@ -366,12 +318,6 @@ var LimitExceededErrorCode;
|
|
|
366
318
|
LimitExceededErrorCode["EVENT_SUBSCRIPTION_LIMIT_EXCEEDED"] = "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED";
|
|
367
319
|
LimitExceededErrorCode["RESOURCE_GROUP_LIMIT_EXCEEDED"] = "RESOURCE_GROUP_LIMIT_EXCEEDED";
|
|
368
320
|
})(LimitExceededErrorCode = exports.LimitExceededErrorCode || (exports.LimitExceededErrorCode = {}));
|
|
369
|
-
var LimitExceededException;
|
|
370
|
-
(function (LimitExceededException) {
|
|
371
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
372
|
-
...obj,
|
|
373
|
-
});
|
|
374
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
375
321
|
var CreateAssessmentTemplateRequest;
|
|
376
322
|
(function (CreateAssessmentTemplateRequest) {
|
|
377
323
|
CreateAssessmentTemplateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -396,12 +342,6 @@ var CreateExclusionsPreviewResponse;
|
|
|
396
342
|
...obj,
|
|
397
343
|
});
|
|
398
344
|
})(CreateExclusionsPreviewResponse = exports.CreateExclusionsPreviewResponse || (exports.CreateExclusionsPreviewResponse = {}));
|
|
399
|
-
var PreviewGenerationInProgressException;
|
|
400
|
-
(function (PreviewGenerationInProgressException) {
|
|
401
|
-
PreviewGenerationInProgressException.filterSensitiveLog = (obj) => ({
|
|
402
|
-
...obj,
|
|
403
|
-
});
|
|
404
|
-
})(PreviewGenerationInProgressException = exports.PreviewGenerationInProgressException || (exports.PreviewGenerationInProgressException = {}));
|
|
405
345
|
var ResourceGroupTag;
|
|
406
346
|
(function (ResourceGroupTag) {
|
|
407
347
|
ResourceGroupTag.filterSensitiveLog = (obj) => ({
|
|
@@ -619,12 +559,6 @@ var GetAssessmentReportResponse;
|
|
|
619
559
|
...obj,
|
|
620
560
|
});
|
|
621
561
|
})(GetAssessmentReportResponse = exports.GetAssessmentReportResponse || (exports.GetAssessmentReportResponse = {}));
|
|
622
|
-
var UnsupportedFeatureException;
|
|
623
|
-
(function (UnsupportedFeatureException) {
|
|
624
|
-
UnsupportedFeatureException.filterSensitiveLog = (obj) => ({
|
|
625
|
-
...obj,
|
|
626
|
-
});
|
|
627
|
-
})(UnsupportedFeatureException = exports.UnsupportedFeatureException || (exports.UnsupportedFeatureException = {}));
|
|
628
562
|
var GetExclusionsPreviewRequest;
|
|
629
563
|
(function (GetExclusionsPreviewRequest) {
|
|
630
564
|
GetExclusionsPreviewRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "inspector.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "inspector-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "inspector.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "inspector-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-gov-east-1": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "inspector.us-gov-east-1.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "inspector-fips.us-gov-east-1.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-gov-west-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "inspector.us-gov-west-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "inspector-fips.us-gov-west-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-west-1": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "inspector.us-west-1.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "inspector-fips.us-west-1.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -63,10 +43,6 @@ var regionHash = {
|
|
|
63
43
|
},
|
|
64
44
|
"us-west-2": {
|
|
65
45
|
variants: [
|
|
66
|
-
{
|
|
67
|
-
hostname: "inspector.us-west-2.amazonaws.com",
|
|
68
|
-
tags: [],
|
|
69
|
-
},
|
|
70
46
|
{
|
|
71
47
|
hostname: "inspector-fips.us-west-2.amazonaws.com",
|
|
72
48
|
tags: ["fips"],
|
|
@@ -10,10 +10,6 @@ export var AccessDeniedErrorCode;
|
|
|
10
10
|
AccessDeniedErrorCode["ACCESS_DENIED_TO_RULES_PACKAGE"] = "ACCESS_DENIED_TO_RULES_PACKAGE";
|
|
11
11
|
AccessDeniedErrorCode["ACCESS_DENIED_TO_SNS_TOPIC"] = "ACCESS_DENIED_TO_SNS_TOPIC";
|
|
12
12
|
})(AccessDeniedErrorCode || (AccessDeniedErrorCode = {}));
|
|
13
|
-
export var AccessDeniedException;
|
|
14
|
-
(function (AccessDeniedException) {
|
|
15
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
16
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
17
13
|
export var Attribute;
|
|
18
14
|
(function (Attribute) {
|
|
19
15
|
Attribute.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -39,10 +35,6 @@ export var AddAttributesToFindingsResponse;
|
|
|
39
35
|
(function (AddAttributesToFindingsResponse) {
|
|
40
36
|
AddAttributesToFindingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
37
|
})(AddAttributesToFindingsResponse || (AddAttributesToFindingsResponse = {}));
|
|
42
|
-
export var InternalException;
|
|
43
|
-
(function (InternalException) {
|
|
44
|
-
InternalException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
45
|
-
})(InternalException || (InternalException = {}));
|
|
46
38
|
export var InvalidInputErrorCode;
|
|
47
39
|
(function (InvalidInputErrorCode) {
|
|
48
40
|
InvalidInputErrorCode["ASSESSMENT_TARGET_NAME_ALREADY_TAKEN"] = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN";
|
|
@@ -100,10 +92,6 @@ export var InvalidInputErrorCode;
|
|
|
100
92
|
InvalidInputErrorCode["INVALID_USER_ATTRIBUTE_KEY"] = "INVALID_USER_ATTRIBUTE_KEY";
|
|
101
93
|
InvalidInputErrorCode["INVALID_USER_ATTRIBUTE_VALUE"] = "INVALID_USER_ATTRIBUTE_VALUE";
|
|
102
94
|
})(InvalidInputErrorCode || (InvalidInputErrorCode = {}));
|
|
103
|
-
export var InvalidInputException;
|
|
104
|
-
(function (InvalidInputException) {
|
|
105
|
-
InvalidInputException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
|
-
})(InvalidInputException || (InvalidInputException = {}));
|
|
107
95
|
export var NoSuchEntityErrorCode;
|
|
108
96
|
(function (NoSuchEntityErrorCode) {
|
|
109
97
|
NoSuchEntityErrorCode["ASSESSMENT_RUN_DOES_NOT_EXIST"] = "ASSESSMENT_RUN_DOES_NOT_EXIST";
|
|
@@ -115,14 +103,6 @@ export var NoSuchEntityErrorCode;
|
|
|
115
103
|
NoSuchEntityErrorCode["RULES_PACKAGE_DOES_NOT_EXIST"] = "RULES_PACKAGE_DOES_NOT_EXIST";
|
|
116
104
|
NoSuchEntityErrorCode["SNS_TOPIC_DOES_NOT_EXIST"] = "SNS_TOPIC_DOES_NOT_EXIST";
|
|
117
105
|
})(NoSuchEntityErrorCode || (NoSuchEntityErrorCode = {}));
|
|
118
|
-
export var NoSuchEntityException;
|
|
119
|
-
(function (NoSuchEntityException) {
|
|
120
|
-
NoSuchEntityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
-
})(NoSuchEntityException || (NoSuchEntityException = {}));
|
|
122
|
-
export var ServiceTemporarilyUnavailableException;
|
|
123
|
-
(function (ServiceTemporarilyUnavailableException) {
|
|
124
|
-
ServiceTemporarilyUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(ServiceTemporarilyUnavailableException || (ServiceTemporarilyUnavailableException = {}));
|
|
126
106
|
export var AgentAlreadyRunningAssessment;
|
|
127
107
|
(function (AgentAlreadyRunningAssessment) {
|
|
128
108
|
AgentAlreadyRunningAssessment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -150,10 +130,6 @@ export var AgentPreview;
|
|
|
150
130
|
(function (AgentPreview) {
|
|
151
131
|
AgentPreview.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
132
|
})(AgentPreview || (AgentPreview = {}));
|
|
153
|
-
export var AgentsAlreadyRunningAssessmentException;
|
|
154
|
-
(function (AgentsAlreadyRunningAssessmentException) {
|
|
155
|
-
AgentsAlreadyRunningAssessmentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
-
})(AgentsAlreadyRunningAssessmentException || (AgentsAlreadyRunningAssessmentException = {}));
|
|
157
133
|
export var Severity;
|
|
158
134
|
(function (Severity) {
|
|
159
135
|
Severity["HIGH"] = "High";
|
|
@@ -225,10 +201,6 @@ export var AssessmentRunFilter;
|
|
|
225
201
|
(function (AssessmentRunFilter) {
|
|
226
202
|
AssessmentRunFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
203
|
})(AssessmentRunFilter || (AssessmentRunFilter = {}));
|
|
228
|
-
export var AssessmentRunInProgressException;
|
|
229
|
-
(function (AssessmentRunInProgressException) {
|
|
230
|
-
AssessmentRunInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
-
})(AssessmentRunInProgressException || (AssessmentRunInProgressException = {}));
|
|
232
204
|
export var AssessmentTarget;
|
|
233
205
|
(function (AssessmentTarget) {
|
|
234
206
|
AssessmentTarget.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -282,10 +254,6 @@ export var InvalidCrossAccountRoleErrorCode;
|
|
|
282
254
|
InvalidCrossAccountRoleErrorCode["ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP"] = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP";
|
|
283
255
|
InvalidCrossAccountRoleErrorCode["ROLE_DOES_NOT_HAVE_CORRECT_POLICY"] = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY";
|
|
284
256
|
})(InvalidCrossAccountRoleErrorCode || (InvalidCrossAccountRoleErrorCode = {}));
|
|
285
|
-
export var InvalidCrossAccountRoleException;
|
|
286
|
-
(function (InvalidCrossAccountRoleException) {
|
|
287
|
-
InvalidCrossAccountRoleException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
288
|
-
})(InvalidCrossAccountRoleException || (InvalidCrossAccountRoleException = {}));
|
|
289
257
|
export var LimitExceededErrorCode;
|
|
290
258
|
(function (LimitExceededErrorCode) {
|
|
291
259
|
LimitExceededErrorCode["ASSESSMENT_RUN_LIMIT_EXCEEDED"] = "ASSESSMENT_RUN_LIMIT_EXCEEDED";
|
|
@@ -294,10 +262,6 @@ export var LimitExceededErrorCode;
|
|
|
294
262
|
LimitExceededErrorCode["EVENT_SUBSCRIPTION_LIMIT_EXCEEDED"] = "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED";
|
|
295
263
|
LimitExceededErrorCode["RESOURCE_GROUP_LIMIT_EXCEEDED"] = "RESOURCE_GROUP_LIMIT_EXCEEDED";
|
|
296
264
|
})(LimitExceededErrorCode || (LimitExceededErrorCode = {}));
|
|
297
|
-
export var LimitExceededException;
|
|
298
|
-
(function (LimitExceededException) {
|
|
299
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
300
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
301
265
|
export var CreateAssessmentTemplateRequest;
|
|
302
266
|
(function (CreateAssessmentTemplateRequest) {
|
|
303
267
|
CreateAssessmentTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -314,10 +278,6 @@ export var CreateExclusionsPreviewResponse;
|
|
|
314
278
|
(function (CreateExclusionsPreviewResponse) {
|
|
315
279
|
CreateExclusionsPreviewResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
316
280
|
})(CreateExclusionsPreviewResponse || (CreateExclusionsPreviewResponse = {}));
|
|
317
|
-
export var PreviewGenerationInProgressException;
|
|
318
|
-
(function (PreviewGenerationInProgressException) {
|
|
319
|
-
PreviewGenerationInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
320
|
-
})(PreviewGenerationInProgressException || (PreviewGenerationInProgressException = {}));
|
|
321
281
|
export var ResourceGroupTag;
|
|
322
282
|
(function (ResourceGroupTag) {
|
|
323
283
|
ResourceGroupTag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -471,10 +431,6 @@ export var GetAssessmentReportResponse;
|
|
|
471
431
|
(function (GetAssessmentReportResponse) {
|
|
472
432
|
GetAssessmentReportResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
473
433
|
})(GetAssessmentReportResponse || (GetAssessmentReportResponse = {}));
|
|
474
|
-
export var UnsupportedFeatureException;
|
|
475
|
-
(function (UnsupportedFeatureException) {
|
|
476
|
-
UnsupportedFeatureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
477
|
-
})(UnsupportedFeatureException || (UnsupportedFeatureException = {}));
|
|
478
434
|
export var GetExclusionsPreviewRequest;
|
|
479
435
|
(function (GetExclusionsPreviewRequest) {
|
|
480
436
|
GetExclusionsPreviewRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
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";
|
|
9
9
|
import { AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput } from "./commands/AddAttributesToFindingsCommand";
|
|
10
10
|
import { CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput } from "./commands/CreateAssessmentTargetCommand";
|
|
@@ -145,6 +145,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
145
145
|
* @internal
|
|
146
146
|
*/
|
|
147
147
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
148
|
+
/**
|
|
149
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
150
|
+
*/
|
|
151
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
148
152
|
}
|
|
149
153
|
declare type InspectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
150
154
|
/**
|
|
@@ -28,12 +28,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
28
28
|
*/
|
|
29
29
|
canRetry: boolean | undefined;
|
|
30
30
|
}
|
|
31
|
-
export declare namespace AccessDeniedException {
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
36
|
-
}
|
|
37
31
|
/**
|
|
38
32
|
* <p>This data type is used as a request parameter in the <a>AddAttributesToFindings</a> and <a>CreateAssessmentTemplate</a>
|
|
39
33
|
* actions.</p>
|
|
@@ -128,12 +122,6 @@ export interface InternalException extends __SmithyException, $MetadataBearer {
|
|
|
128
122
|
*/
|
|
129
123
|
canRetry: boolean | undefined;
|
|
130
124
|
}
|
|
131
|
-
export declare namespace InternalException {
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
const filterSensitiveLog: (obj: InternalException) => any;
|
|
136
|
-
}
|
|
137
125
|
export declare enum InvalidInputErrorCode {
|
|
138
126
|
ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
|
|
139
127
|
ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN = "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN",
|
|
@@ -210,12 +198,6 @@ export interface InvalidInputException extends __SmithyException, $MetadataBeare
|
|
|
210
198
|
*/
|
|
211
199
|
canRetry: boolean | undefined;
|
|
212
200
|
}
|
|
213
|
-
export declare namespace InvalidInputException {
|
|
214
|
-
/**
|
|
215
|
-
* @internal
|
|
216
|
-
*/
|
|
217
|
-
const filterSensitiveLog: (obj: InvalidInputException) => any;
|
|
218
|
-
}
|
|
219
201
|
export declare enum NoSuchEntityErrorCode {
|
|
220
202
|
ASSESSMENT_RUN_DOES_NOT_EXIST = "ASSESSMENT_RUN_DOES_NOT_EXIST",
|
|
221
203
|
ASSESSMENT_TARGET_DOES_NOT_EXIST = "ASSESSMENT_TARGET_DOES_NOT_EXIST",
|
|
@@ -246,12 +228,6 @@ export interface NoSuchEntityException extends __SmithyException, $MetadataBeare
|
|
|
246
228
|
*/
|
|
247
229
|
canRetry: boolean | undefined;
|
|
248
230
|
}
|
|
249
|
-
export declare namespace NoSuchEntityException {
|
|
250
|
-
/**
|
|
251
|
-
* @internal
|
|
252
|
-
*/
|
|
253
|
-
const filterSensitiveLog: (obj: NoSuchEntityException) => any;
|
|
254
|
-
}
|
|
255
231
|
/**
|
|
256
232
|
* <p>The serice is temporary unavailable.</p>
|
|
257
233
|
*/
|
|
@@ -267,12 +243,6 @@ export interface ServiceTemporarilyUnavailableException extends __SmithyExceptio
|
|
|
267
243
|
*/
|
|
268
244
|
canRetry: boolean | undefined;
|
|
269
245
|
}
|
|
270
|
-
export declare namespace ServiceTemporarilyUnavailableException {
|
|
271
|
-
/**
|
|
272
|
-
* @internal
|
|
273
|
-
*/
|
|
274
|
-
const filterSensitiveLog: (obj: ServiceTemporarilyUnavailableException) => any;
|
|
275
|
-
}
|
|
276
246
|
/**
|
|
277
247
|
* <p>Used in the exception error that is thrown if you start an assessment run for an
|
|
278
248
|
* assessment target that includes an EC2 instance that is already participating in another
|
|
@@ -399,12 +369,6 @@ export interface AgentsAlreadyRunningAssessmentException extends __SmithyExcepti
|
|
|
399
369
|
*/
|
|
400
370
|
canRetry: boolean | undefined;
|
|
401
371
|
}
|
|
402
|
-
export declare namespace AgentsAlreadyRunningAssessmentException {
|
|
403
|
-
/**
|
|
404
|
-
* @internal
|
|
405
|
-
*/
|
|
406
|
-
const filterSensitiveLog: (obj: AgentsAlreadyRunningAssessmentException) => any;
|
|
407
|
-
}
|
|
408
372
|
export declare enum Severity {
|
|
409
373
|
HIGH = "High",
|
|
410
374
|
INFORMATIONAL = "Informational",
|
|
@@ -764,12 +728,6 @@ export interface AssessmentRunInProgressException extends __SmithyException, $Me
|
|
|
764
728
|
*/
|
|
765
729
|
canRetry: boolean | undefined;
|
|
766
730
|
}
|
|
767
|
-
export declare namespace AssessmentRunInProgressException {
|
|
768
|
-
/**
|
|
769
|
-
* @internal
|
|
770
|
-
*/
|
|
771
|
-
const filterSensitiveLog: (obj: AssessmentRunInProgressException) => any;
|
|
772
|
-
}
|
|
773
731
|
/**
|
|
774
732
|
* <p>Contains information about an Amazon Inspector application. This data type is used as
|
|
775
733
|
* the response element in the <a>DescribeAssessmentTargets</a> action.</p>
|
|
@@ -1127,12 +1085,6 @@ export interface InvalidCrossAccountRoleException extends __SmithyException, $Me
|
|
|
1127
1085
|
*/
|
|
1128
1086
|
canRetry: boolean | undefined;
|
|
1129
1087
|
}
|
|
1130
|
-
export declare namespace InvalidCrossAccountRoleException {
|
|
1131
|
-
/**
|
|
1132
|
-
* @internal
|
|
1133
|
-
*/
|
|
1134
|
-
const filterSensitiveLog: (obj: InvalidCrossAccountRoleException) => any;
|
|
1135
|
-
}
|
|
1136
1088
|
export declare enum LimitExceededErrorCode {
|
|
1137
1089
|
ASSESSMENT_RUN_LIMIT_EXCEEDED = "ASSESSMENT_RUN_LIMIT_EXCEEDED",
|
|
1138
1090
|
ASSESSMENT_TARGET_LIMIT_EXCEEDED = "ASSESSMENT_TARGET_LIMIT_EXCEEDED",
|
|
@@ -1160,12 +1112,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
1160
1112
|
*/
|
|
1161
1113
|
canRetry: boolean | undefined;
|
|
1162
1114
|
}
|
|
1163
|
-
export declare namespace LimitExceededException {
|
|
1164
|
-
/**
|
|
1165
|
-
* @internal
|
|
1166
|
-
*/
|
|
1167
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
1168
|
-
}
|
|
1169
1115
|
export interface CreateAssessmentTemplateRequest {
|
|
1170
1116
|
/**
|
|
1171
1117
|
* <p>The ARN that specifies the assessment target for which you want to create the
|
|
@@ -1250,12 +1196,6 @@ export interface PreviewGenerationInProgressException extends __SmithyException,
|
|
|
1250
1196
|
$fault: "client";
|
|
1251
1197
|
message: string | undefined;
|
|
1252
1198
|
}
|
|
1253
|
-
export declare namespace PreviewGenerationInProgressException {
|
|
1254
|
-
/**
|
|
1255
|
-
* @internal
|
|
1256
|
-
*/
|
|
1257
|
-
const filterSensitiveLog: (obj: PreviewGenerationInProgressException) => any;
|
|
1258
|
-
}
|
|
1259
1199
|
/**
|
|
1260
1200
|
* <p>This data type is used as one of the elements of the <a>ResourceGroup</a>
|
|
1261
1201
|
* data type.</p>
|
|
@@ -1992,12 +1932,6 @@ export interface UnsupportedFeatureException extends __SmithyException, $Metadat
|
|
|
1992
1932
|
message: string | undefined;
|
|
1993
1933
|
canRetry: boolean | undefined;
|
|
1994
1934
|
}
|
|
1995
|
-
export declare namespace UnsupportedFeatureException {
|
|
1996
|
-
/**
|
|
1997
|
-
* @internal
|
|
1998
|
-
*/
|
|
1999
|
-
const filterSensitiveLog: (obj: UnsupportedFeatureException) => any;
|
|
2000
|
-
}
|
|
2001
1935
|
export interface GetExclusionsPreviewRequest {
|
|
2002
1936
|
/**
|
|
2003
1937
|
* <p>The ARN that specifies the assessment template for which the exclusions preview was
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { InspectorClientConfig } from "./InspectorClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: InspectorClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: InspectorClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { InspectorClientConfig } from "./InspectorClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: InspectorClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: InspectorClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
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";
|
|
9
9
|
import { AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput } from "./commands/AddAttributesToFindingsCommand";
|
|
10
10
|
import { CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput } from "./commands/CreateAssessmentTargetCommand";
|
|
@@ -88,6 +88,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
88
88
|
regionInfoProvider?: RegionInfoProvider;
|
|
89
89
|
|
|
90
90
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
91
|
+
|
|
92
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
91
93
|
}
|
|
92
94
|
declare type InspectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
93
95
|
|
|
@@ -20,10 +20,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
20
20
|
|
|
21
21
|
canRetry: boolean | undefined;
|
|
22
22
|
}
|
|
23
|
-
export declare namespace AccessDeniedException {
|
|
24
|
-
|
|
25
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
26
|
-
}
|
|
27
23
|
|
|
28
24
|
export interface Attribute {
|
|
29
25
|
|
|
@@ -83,10 +79,6 @@ export interface InternalException extends __SmithyException, $MetadataBearer {
|
|
|
83
79
|
|
|
84
80
|
canRetry: boolean | undefined;
|
|
85
81
|
}
|
|
86
|
-
export declare namespace InternalException {
|
|
87
|
-
|
|
88
|
-
const filterSensitiveLog: (obj: InternalException) => any;
|
|
89
|
-
}
|
|
90
82
|
export declare enum InvalidInputErrorCode {
|
|
91
83
|
ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
|
|
92
84
|
ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN = "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN",
|
|
@@ -154,10 +146,6 @@ export interface InvalidInputException extends __SmithyException, $MetadataBeare
|
|
|
154
146
|
|
|
155
147
|
canRetry: boolean | undefined;
|
|
156
148
|
}
|
|
157
|
-
export declare namespace InvalidInputException {
|
|
158
|
-
|
|
159
|
-
const filterSensitiveLog: (obj: InvalidInputException) => any;
|
|
160
|
-
}
|
|
161
149
|
export declare enum NoSuchEntityErrorCode {
|
|
162
150
|
ASSESSMENT_RUN_DOES_NOT_EXIST = "ASSESSMENT_RUN_DOES_NOT_EXIST",
|
|
163
151
|
ASSESSMENT_TARGET_DOES_NOT_EXIST = "ASSESSMENT_TARGET_DOES_NOT_EXIST",
|
|
@@ -179,10 +167,6 @@ export interface NoSuchEntityException extends __SmithyException, $MetadataBeare
|
|
|
179
167
|
|
|
180
168
|
canRetry: boolean | undefined;
|
|
181
169
|
}
|
|
182
|
-
export declare namespace NoSuchEntityException {
|
|
183
|
-
|
|
184
|
-
const filterSensitiveLog: (obj: NoSuchEntityException) => any;
|
|
185
|
-
}
|
|
186
170
|
|
|
187
171
|
export interface ServiceTemporarilyUnavailableException extends __SmithyException, $MetadataBearer {
|
|
188
172
|
name: "ServiceTemporarilyUnavailableException";
|
|
@@ -192,10 +176,6 @@ export interface ServiceTemporarilyUnavailableException extends __SmithyExceptio
|
|
|
192
176
|
|
|
193
177
|
canRetry: boolean | undefined;
|
|
194
178
|
}
|
|
195
|
-
export declare namespace ServiceTemporarilyUnavailableException {
|
|
196
|
-
|
|
197
|
-
const filterSensitiveLog: (obj: ServiceTemporarilyUnavailableException) => any;
|
|
198
|
-
}
|
|
199
179
|
|
|
200
180
|
export interface AgentAlreadyRunningAssessment {
|
|
201
181
|
|
|
@@ -267,10 +247,6 @@ export interface AgentsAlreadyRunningAssessmentException extends __SmithyExcepti
|
|
|
267
247
|
|
|
268
248
|
canRetry: boolean | undefined;
|
|
269
249
|
}
|
|
270
|
-
export declare namespace AgentsAlreadyRunningAssessmentException {
|
|
271
|
-
|
|
272
|
-
const filterSensitiveLog: (obj: AgentsAlreadyRunningAssessmentException) => any;
|
|
273
|
-
}
|
|
274
250
|
export declare enum Severity {
|
|
275
251
|
HIGH = "High",
|
|
276
252
|
INFORMATIONAL = "Informational",
|
|
@@ -465,10 +441,6 @@ export interface AssessmentRunInProgressException extends __SmithyException, $Me
|
|
|
465
441
|
|
|
466
442
|
canRetry: boolean | undefined;
|
|
467
443
|
}
|
|
468
|
-
export declare namespace AssessmentRunInProgressException {
|
|
469
|
-
|
|
470
|
-
const filterSensitiveLog: (obj: AssessmentRunInProgressException) => any;
|
|
471
|
-
}
|
|
472
444
|
|
|
473
445
|
export interface AssessmentTarget {
|
|
474
446
|
|
|
@@ -652,10 +624,6 @@ export interface InvalidCrossAccountRoleException extends __SmithyException, $Me
|
|
|
652
624
|
|
|
653
625
|
canRetry: boolean | undefined;
|
|
654
626
|
}
|
|
655
|
-
export declare namespace InvalidCrossAccountRoleException {
|
|
656
|
-
|
|
657
|
-
const filterSensitiveLog: (obj: InvalidCrossAccountRoleException) => any;
|
|
658
|
-
}
|
|
659
627
|
export declare enum LimitExceededErrorCode {
|
|
660
628
|
ASSESSMENT_RUN_LIMIT_EXCEEDED = "ASSESSMENT_RUN_LIMIT_EXCEEDED",
|
|
661
629
|
ASSESSMENT_TARGET_LIMIT_EXCEEDED = "ASSESSMENT_TARGET_LIMIT_EXCEEDED",
|
|
@@ -674,10 +642,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
674
642
|
|
|
675
643
|
canRetry: boolean | undefined;
|
|
676
644
|
}
|
|
677
|
-
export declare namespace LimitExceededException {
|
|
678
|
-
|
|
679
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
680
|
-
}
|
|
681
645
|
export interface CreateAssessmentTemplateRequest {
|
|
682
646
|
|
|
683
647
|
assessmentTargetArn: string | undefined;
|
|
@@ -724,10 +688,6 @@ export interface PreviewGenerationInProgressException extends __SmithyException,
|
|
|
724
688
|
$fault: "client";
|
|
725
689
|
message: string | undefined;
|
|
726
690
|
}
|
|
727
|
-
export declare namespace PreviewGenerationInProgressException {
|
|
728
|
-
|
|
729
|
-
const filterSensitiveLog: (obj: PreviewGenerationInProgressException) => any;
|
|
730
|
-
}
|
|
731
691
|
|
|
732
692
|
export interface ResourceGroupTag {
|
|
733
693
|
|
|
@@ -1154,10 +1114,6 @@ export interface UnsupportedFeatureException extends __SmithyException, $Metadat
|
|
|
1154
1114
|
message: string | undefined;
|
|
1155
1115
|
canRetry: boolean | undefined;
|
|
1156
1116
|
}
|
|
1157
|
-
export declare namespace UnsupportedFeatureException {
|
|
1158
|
-
|
|
1159
|
-
const filterSensitiveLog: (obj: UnsupportedFeatureException) => any;
|
|
1160
|
-
}
|
|
1161
1117
|
export interface GetExclusionsPreviewRequest {
|
|
1162
1118
|
|
|
1163
1119
|
assessmentTemplateArn: string | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { InspectorClientConfig } from "./InspectorClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: InspectorClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: InspectorClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { InspectorClientConfig } from "./InspectorClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: InspectorClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: InspectorClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
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.47.2",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,48 +18,44 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.2",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.2",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.2",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.2",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.2",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
52
51
|
"tslib": "^2.3.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
-
"@types/node": "^12.7.5"
|
|
57
|
-
"downlevel-dts": "0.7.0",
|
|
58
|
-
"jest": "^26.1.0",
|
|
59
|
-
"rimraf": "^3.0.0",
|
|
60
|
-
"ts-jest": "^26.4.1",
|
|
61
|
-
"typedoc": "^0.19.2",
|
|
62
|
-
"typescript": "~4.3.5"
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
55
|
+
"@types/node": "^12.7.5"
|
|
63
56
|
},
|
|
64
57
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
58
|
+
"node": ">=12.0.0"
|
|
66
59
|
},
|
|
67
60
|
"typesVersions": {
|
|
68
61
|
"<4.0": {
|