@aws-sdk/client-inspector 3.952.0 → 3.954.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +487 -333
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/AddAttributesToFindingsCommand.js +2 -2
- package/dist-es/commands/CreateAssessmentTargetCommand.js +2 -2
- package/dist-es/commands/CreateAssessmentTemplateCommand.js +2 -2
- package/dist-es/commands/CreateExclusionsPreviewCommand.js +2 -2
- package/dist-es/commands/CreateResourceGroupCommand.js +2 -2
- package/dist-es/commands/DeleteAssessmentRunCommand.js +2 -2
- package/dist-es/commands/DeleteAssessmentTargetCommand.js +2 -2
- package/dist-es/commands/DeleteAssessmentTemplateCommand.js +2 -2
- package/dist-es/commands/DescribeAssessmentRunsCommand.js +2 -2
- package/dist-es/commands/DescribeAssessmentTargetsCommand.js +2 -2
- package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +2 -2
- package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +2 -2
- package/dist-es/commands/DescribeExclusionsCommand.js +2 -2
- package/dist-es/commands/DescribeFindingsCommand.js +2 -2
- package/dist-es/commands/DescribeResourceGroupsCommand.js +2 -2
- package/dist-es/commands/DescribeRulesPackagesCommand.js +2 -2
- package/dist-es/commands/GetAssessmentReportCommand.js +2 -2
- package/dist-es/commands/GetExclusionsPreviewCommand.js +2 -2
- package/dist-es/commands/GetTelemetryMetadataCommand.js +2 -2
- package/dist-es/commands/ListAssessmentRunAgentsCommand.js +2 -2
- package/dist-es/commands/ListAssessmentRunsCommand.js +2 -2
- package/dist-es/commands/ListAssessmentTargetsCommand.js +2 -2
- package/dist-es/commands/ListAssessmentTemplatesCommand.js +2 -2
- package/dist-es/commands/ListEventSubscriptionsCommand.js +2 -2
- package/dist-es/commands/ListExclusionsCommand.js +2 -2
- package/dist-es/commands/ListFindingsCommand.js +2 -2
- package/dist-es/commands/ListRulesPackagesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PreviewAgentsCommand.js +2 -2
- package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +2 -2
- package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +2 -2
- package/dist-es/commands/SetTagsForResourceCommand.js +2 -2
- package/dist-es/commands/StartAssessmentRunCommand.js +2 -2
- package/dist-es/commands/StopAssessmentRunCommand.js +2 -2
- package/dist-es/commands/SubscribeToEventCommand.js +2 -2
- package/dist-es/commands/UnsubscribeFromEventCommand.js +2 -2
- package/dist-es/commands/UpdateAssessmentTargetCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +291 -283
- package/dist-types/InspectorClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +147 -194
- package/dist-types/ts3.4/InspectorClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +146 -195
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UnsubscribeFromEvent } from "../schemas/schemas_0";
|
|
4
|
+
import { UnsubscribeFromEvent$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UnsubscribeFromEventCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UnsubscribeFromEventCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("InspectorService", "UnsubscribeFromEvent", {})
|
|
13
13
|
.n("InspectorClient", "UnsubscribeFromEventCommand")
|
|
14
|
-
.sc(UnsubscribeFromEvent)
|
|
14
|
+
.sc(UnsubscribeFromEvent$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateAssessmentTarget } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateAssessmentTarget$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateAssessmentTargetCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateAssessmentTargetCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("InspectorService", "UpdateAssessmentTarget", {})
|
|
13
13
|
.n("InspectorClient", "UpdateAssessmentTargetCommand")
|
|
14
|
-
.sc(UpdateAssessmentTarget)
|
|
14
|
+
.sc(UpdateAssessmentTarget$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.inspector",
|
|
29
|
+
version: "2016-02-16",
|
|
30
|
+
serviceTarget: "InspectorService",
|
|
31
|
+
},
|
|
32
32
|
serviceId: config?.serviceId ?? "Inspector",
|
|
33
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|