@aws-sdk/client-inspector 3.300.0 → 3.301.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-types/commands/AddAttributesToFindingsCommand.d.ts +4 -4
- package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +4 -4
- package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourceGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeExclusionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFindingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +2 -2
- package/dist-types/commands/GetAssessmentReportCommand.d.ts +1 -1
- package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +1 -1
- package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +4 -4
- package/dist-types/commands/ListAssessmentRunsCommand.d.ts +7 -7
- package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +2 -2
- package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +5 -5
- package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/ListExclusionsCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +11 -11
- package/dist-types/commands/ListRulesPackagesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PreviewAgentsCommand.d.ts +1 -1
- package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +1 -1
- package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +3 -3
- package/dist-types/commands/SetTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/StartAssessmentRunCommand.d.ts +1 -1
- package/dist-types/commands/StopAssessmentRunCommand.d.ts +1 -1
- package/dist-types/commands/SubscribeToEventCommand.d.ts +1 -1
- package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -27,12 +27,12 @@ export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFin
|
|
|
27
27
|
* import { InspectorClient, AddAttributesToFindingsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, AddAttributesToFindingsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* findingArns: [ // required
|
|
30
|
+
* const input = { // AddAttributesToFindingsRequest
|
|
31
|
+
* findingArns: [ // AddRemoveAttributesFindingArnList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* attributes: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* attributes: [ // UserAttributeList // required
|
|
35
|
+
* { // Attribute
|
|
36
36
|
* key: "STRING_VALUE", // required
|
|
37
37
|
* value: "STRING_VALUE",
|
|
38
38
|
* },
|
|
@@ -33,7 +33,7 @@ export interface CreateAssessmentTargetCommandOutput extends CreateAssessmentTar
|
|
|
33
33
|
* import { InspectorClient, CreateAssessmentTargetCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
34
34
|
* // const { InspectorClient, CreateAssessmentTargetCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
35
35
|
* const client = new InspectorClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // CreateAssessmentTargetRequest
|
|
37
37
|
* assessmentTargetName: "STRING_VALUE", // required
|
|
38
38
|
* resourceGroupArn: "STRING_VALUE",
|
|
39
39
|
* };
|
|
@@ -29,15 +29,15 @@ export interface CreateAssessmentTemplateCommandOutput extends CreateAssessmentT
|
|
|
29
29
|
* import { InspectorClient, CreateAssessmentTemplateCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
30
30
|
* // const { InspectorClient, CreateAssessmentTemplateCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
31
31
|
* const client = new InspectorClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateAssessmentTemplateRequest
|
|
33
33
|
* assessmentTargetArn: "STRING_VALUE", // required
|
|
34
34
|
* assessmentTemplateName: "STRING_VALUE", // required
|
|
35
35
|
* durationInSeconds: Number("int"), // required
|
|
36
|
-
* rulesPackageArns: [ // required
|
|
36
|
+
* rulesPackageArns: [ // AssessmentTemplateRulesPackageArnList // required
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
|
-
* userAttributesForFindings: [
|
|
40
|
-
* {
|
|
39
|
+
* userAttributesForFindings: [ // UserAttributeList
|
|
40
|
+
* { // Attribute
|
|
41
41
|
* key: "STRING_VALUE", // required
|
|
42
42
|
* value: "STRING_VALUE",
|
|
43
43
|
* },
|
|
@@ -28,7 +28,7 @@ export interface CreateExclusionsPreviewCommandOutput extends CreateExclusionsPr
|
|
|
28
28
|
* import { InspectorClient, CreateExclusionsPreviewCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
29
29
|
* // const { InspectorClient, CreateExclusionsPreviewCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
30
30
|
* const client = new InspectorClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CreateExclusionsPreviewRequest
|
|
32
32
|
* assessmentTemplateArn: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new CreateExclusionsPreviewCommand(input);
|
|
@@ -29,9 +29,9 @@ export interface CreateResourceGroupCommandOutput extends CreateResourceGroupRes
|
|
|
29
29
|
* import { InspectorClient, CreateResourceGroupCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
30
30
|
* // const { InspectorClient, CreateResourceGroupCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
31
31
|
* const client = new InspectorClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* resourceGroupTags: [ // required
|
|
34
|
-
* {
|
|
32
|
+
* const input = { // CreateResourceGroupRequest
|
|
33
|
+
* resourceGroupTags: [ // ResourceGroupTags // required
|
|
34
|
+
* { // ResourceGroupTag
|
|
35
35
|
* key: "STRING_VALUE", // required
|
|
36
36
|
* value: "STRING_VALUE",
|
|
37
37
|
* },
|
|
@@ -27,7 +27,7 @@ export interface DeleteAssessmentRunCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { InspectorClient, DeleteAssessmentRunCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, DeleteAssessmentRunCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteAssessmentRunRequest
|
|
31
31
|
* assessmentRunArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteAssessmentRunCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteAssessmentTargetCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { InspectorClient, DeleteAssessmentTargetCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, DeleteAssessmentTargetCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteAssessmentTargetRequest
|
|
31
31
|
* assessmentTargetArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteAssessmentTargetCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteAssessmentTemplateCommandOutput extends __MetadataBearer
|
|
|
27
27
|
* import { InspectorClient, DeleteAssessmentTemplateCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, DeleteAssessmentTemplateCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteAssessmentTemplateRequest
|
|
31
31
|
* assessmentTemplateArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteAssessmentTemplateCommand(input);
|
|
@@ -27,8 +27,8 @@ export interface DescribeAssessmentRunsCommandOutput extends DescribeAssessmentR
|
|
|
27
27
|
* import { InspectorClient, DescribeAssessmentRunsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, DescribeAssessmentRunsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* assessmentRunArns: [ // required
|
|
30
|
+
* const input = { // DescribeAssessmentRunsRequest
|
|
31
|
+
* assessmentRunArns: [ // BatchDescribeArnList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -27,8 +27,8 @@ export interface DescribeAssessmentTargetsCommandOutput extends DescribeAssessme
|
|
|
27
27
|
* import { InspectorClient, DescribeAssessmentTargetsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, DescribeAssessmentTargetsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* assessmentTargetArns: [ // required
|
|
30
|
+
* const input = { // DescribeAssessmentTargetsRequest
|
|
31
|
+
* assessmentTargetArns: [ // BatchDescribeArnList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -27,8 +27,8 @@ export interface DescribeAssessmentTemplatesCommandOutput extends DescribeAssess
|
|
|
27
27
|
* import { InspectorClient, DescribeAssessmentTemplatesCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, DescribeAssessmentTemplatesCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* assessmentTemplateArns: [ // required
|
|
30
|
+
* const input = { // DescribeAssessmentTemplatesRequest
|
|
31
|
+
* assessmentTemplateArns: [ // BatchDescribeArnList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,8 +26,8 @@ export interface DescribeExclusionsCommandOutput extends DescribeExclusionsRespo
|
|
|
26
26
|
* import { InspectorClient, DescribeExclusionsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
27
27
|
* // const { InspectorClient, DescribeExclusionsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
28
28
|
* const client = new InspectorClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* exclusionArns: [ // required
|
|
29
|
+
* const input = { // DescribeExclusionsRequest
|
|
30
|
+
* exclusionArns: [ // BatchDescribeExclusionsArnList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* locale: "STRING_VALUE",
|
|
@@ -26,8 +26,8 @@ export interface DescribeFindingsCommandOutput extends DescribeFindingsResponse,
|
|
|
26
26
|
* import { InspectorClient, DescribeFindingsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
27
27
|
* // const { InspectorClient, DescribeFindingsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
28
28
|
* const client = new InspectorClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* findingArns: [ // required
|
|
29
|
+
* const input = { // DescribeFindingsRequest
|
|
30
|
+
* findingArns: [ // BatchDescribeArnList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* locale: "STRING_VALUE",
|
|
@@ -27,8 +27,8 @@ export interface DescribeResourceGroupsCommandOutput extends DescribeResourceGro
|
|
|
27
27
|
* import { InspectorClient, DescribeResourceGroupsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, DescribeResourceGroupsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* resourceGroupArns: [ // required
|
|
30
|
+
* const input = { // DescribeResourceGroupsRequest
|
|
31
|
+
* resourceGroupArns: [ // BatchDescribeArnList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -27,8 +27,8 @@ export interface DescribeRulesPackagesCommandOutput extends DescribeRulesPackage
|
|
|
27
27
|
* import { InspectorClient, DescribeRulesPackagesCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, DescribeRulesPackagesCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* rulesPackageArns: [ // required
|
|
30
|
+
* const input = { // DescribeRulesPackagesRequest
|
|
31
|
+
* rulesPackageArns: [ // BatchDescribeArnList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* locale: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ export interface GetAssessmentReportCommandOutput extends GetAssessmentReportRes
|
|
|
27
27
|
* import { InspectorClient, GetAssessmentReportCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, GetAssessmentReportCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetAssessmentReportRequest
|
|
31
31
|
* assessmentRunArn: "STRING_VALUE", // required
|
|
32
32
|
* reportFileFormat: "STRING_VALUE", // required
|
|
33
33
|
* reportType: "STRING_VALUE", // required
|
|
@@ -28,7 +28,7 @@ export interface GetExclusionsPreviewCommandOutput extends GetExclusionsPreviewR
|
|
|
28
28
|
* import { InspectorClient, GetExclusionsPreviewCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
29
29
|
* // const { InspectorClient, GetExclusionsPreviewCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
30
30
|
* const client = new InspectorClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetExclusionsPreviewRequest
|
|
32
32
|
* assessmentTemplateArn: "STRING_VALUE", // required
|
|
33
33
|
* previewToken: "STRING_VALUE", // required
|
|
34
34
|
* nextToken: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ export interface GetTelemetryMetadataCommandOutput extends GetTelemetryMetadataR
|
|
|
27
27
|
* import { InspectorClient, GetTelemetryMetadataCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, GetTelemetryMetadataCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetTelemetryMetadataRequest
|
|
31
31
|
* assessmentRunArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new GetTelemetryMetadataCommand(input);
|
|
@@ -27,13 +27,13 @@ export interface ListAssessmentRunAgentsCommandOutput extends ListAssessmentRunA
|
|
|
27
27
|
* import { InspectorClient, ListAssessmentRunAgentsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, ListAssessmentRunAgentsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListAssessmentRunAgentsRequest
|
|
31
31
|
* assessmentRunArn: "STRING_VALUE", // required
|
|
32
|
-
* filter: {
|
|
33
|
-
* agentHealths: [ // required
|
|
32
|
+
* filter: { // AgentFilter
|
|
33
|
+
* agentHealths: [ // AgentHealthList // required
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
|
-
* agentHealthCodes: [ // required
|
|
36
|
+
* agentHealthCodes: [ // AgentHealthCodeList // required
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* },
|
|
@@ -27,23 +27,23 @@ export interface ListAssessmentRunsCommandOutput extends ListAssessmentRunsRespo
|
|
|
27
27
|
* import { InspectorClient, ListAssessmentRunsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, ListAssessmentRunsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* assessmentTemplateArns: [
|
|
30
|
+
* const input = { // ListAssessmentRunsRequest
|
|
31
|
+
* assessmentTemplateArns: [ // ListParentArnList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* filter: {
|
|
34
|
+
* filter: { // AssessmentRunFilter
|
|
35
35
|
* namePattern: "STRING_VALUE",
|
|
36
|
-
* states: [
|
|
36
|
+
* states: [ // AssessmentRunStateList
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
|
-
* durationRange: {
|
|
39
|
+
* durationRange: { // DurationRange
|
|
40
40
|
* minSeconds: Number("int"),
|
|
41
41
|
* maxSeconds: Number("int"),
|
|
42
42
|
* },
|
|
43
|
-
* rulesPackageArns: [
|
|
43
|
+
* rulesPackageArns: [ // FilterRulesPackageArnList
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
-
* startTimeRange: {
|
|
46
|
+
* startTimeRange: { // TimestampRange
|
|
47
47
|
* beginDate: new Date("TIMESTAMP"),
|
|
48
48
|
* endDate: new Date("TIMESTAMP"),
|
|
49
49
|
* },
|
|
@@ -28,8 +28,8 @@ export interface ListAssessmentTargetsCommandOutput extends ListAssessmentTarget
|
|
|
28
28
|
* import { InspectorClient, ListAssessmentTargetsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
29
29
|
* // const { InspectorClient, ListAssessmentTargetsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
30
30
|
* const client = new InspectorClient(config);
|
|
31
|
-
* const input = {
|
|
32
|
-
* filter: {
|
|
31
|
+
* const input = { // ListAssessmentTargetsRequest
|
|
32
|
+
* filter: { // AssessmentTargetFilter
|
|
33
33
|
* assessmentTargetNamePattern: "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* nextToken: "STRING_VALUE",
|
|
@@ -27,17 +27,17 @@ export interface ListAssessmentTemplatesCommandOutput extends ListAssessmentTemp
|
|
|
27
27
|
* import { InspectorClient, ListAssessmentTemplatesCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, ListAssessmentTemplatesCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* assessmentTargetArns: [
|
|
30
|
+
* const input = { // ListAssessmentTemplatesRequest
|
|
31
|
+
* assessmentTargetArns: [ // ListParentArnList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* filter: {
|
|
34
|
+
* filter: { // AssessmentTemplateFilter
|
|
35
35
|
* namePattern: "STRING_VALUE",
|
|
36
|
-
* durationRange: {
|
|
36
|
+
* durationRange: { // DurationRange
|
|
37
37
|
* minSeconds: Number("int"),
|
|
38
38
|
* maxSeconds: Number("int"),
|
|
39
39
|
* },
|
|
40
|
-
* rulesPackageArns: [
|
|
40
|
+
* rulesPackageArns: [ // FilterRulesPackageArnList
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* },
|
|
@@ -27,7 +27,7 @@ export interface ListEventSubscriptionsCommandOutput extends ListEventSubscripti
|
|
|
27
27
|
* import { InspectorClient, ListEventSubscriptionsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, ListEventSubscriptionsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListEventSubscriptionsRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE",
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
33
33
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListExclusionsCommandOutput extends ListExclusionsResponse, __M
|
|
|
26
26
|
* import { InspectorClient, ListExclusionsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
27
27
|
* // const { InspectorClient, ListExclusionsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
28
28
|
* const client = new InspectorClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListExclusionsRequest
|
|
30
30
|
* assessmentRunArn: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -27,28 +27,28 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
27
27
|
* import { InspectorClient, ListFindingsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, ListFindingsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* assessmentRunArns: [
|
|
30
|
+
* const input = { // ListFindingsRequest
|
|
31
|
+
* assessmentRunArns: [ // ListParentArnList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* filter: {
|
|
35
|
-
* agentIds: [
|
|
34
|
+
* filter: { // FindingFilter
|
|
35
|
+
* agentIds: [ // AgentIdList
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
* autoScalingGroups: [
|
|
38
|
+
* autoScalingGroups: [ // AutoScalingGroupList
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
|
-
* ruleNames: [
|
|
41
|
+
* ruleNames: [ // RuleNameList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
|
-
* severities: [
|
|
44
|
+
* severities: [ // SeverityList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
|
-
* rulesPackageArns: [
|
|
47
|
+
* rulesPackageArns: [ // FilterRulesPackageArnList
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
|
-
* attributes: [
|
|
51
|
-
* {
|
|
50
|
+
* attributes: [ // AttributeList
|
|
51
|
+
* { // Attribute
|
|
52
52
|
* key: "STRING_VALUE", // required
|
|
53
53
|
* value: "STRING_VALUE",
|
|
54
54
|
* },
|
|
@@ -59,7 +59,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
59
59
|
* value: "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
61
|
* ],
|
|
62
|
-
* creationTimeRange: {
|
|
62
|
+
* creationTimeRange: { // TimestampRange
|
|
63
63
|
* beginDate: new Date("TIMESTAMP"),
|
|
64
64
|
* endDate: new Date("TIMESTAMP"),
|
|
65
65
|
* },
|
|
@@ -26,7 +26,7 @@ export interface ListRulesPackagesCommandOutput extends ListRulesPackagesRespons
|
|
|
26
26
|
* import { InspectorClient, ListRulesPackagesCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
27
27
|
* // const { InspectorClient, ListRulesPackagesCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
28
28
|
* const client = new InspectorClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListRulesPackagesRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { InspectorClient, ListTagsForResourceCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
27
27
|
* // const { InspectorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
28
28
|
* const client = new InspectorClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface PreviewAgentsCommandOutput extends PreviewAgentsResponse, __Met
|
|
|
27
27
|
* import { InspectorClient, PreviewAgentsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, PreviewAgentsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // PreviewAgentsRequest
|
|
31
31
|
* previewAgentsArn: "STRING_VALUE", // required
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
33
33
|
* maxResults: Number("int"),
|
|
@@ -27,7 +27,7 @@ export interface RegisterCrossAccountAccessRoleCommandOutput extends __MetadataB
|
|
|
27
27
|
* import { InspectorClient, RegisterCrossAccountAccessRoleCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, RegisterCrossAccountAccessRoleCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // RegisterCrossAccountAccessRoleRequest
|
|
31
31
|
* roleArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new RegisterCrossAccountAccessRoleCommand(input);
|
|
@@ -27,11 +27,11 @@ export interface RemoveAttributesFromFindingsCommandOutput extends RemoveAttribu
|
|
|
27
27
|
* import { InspectorClient, RemoveAttributesFromFindingsCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, RemoveAttributesFromFindingsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* findingArns: [ // required
|
|
30
|
+
* const input = { // RemoveAttributesFromFindingsRequest
|
|
31
|
+
* findingArns: [ // AddRemoveAttributesFindingArnList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* attributeKeys: [ // required
|
|
34
|
+
* attributeKeys: [ // UserAttributeKeyList // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* };
|
|
@@ -27,10 +27,10 @@ export interface SetTagsForResourceCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { InspectorClient, SetTagsForResourceCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, SetTagsForResourceCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // SetTagsForResourceRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
|
-
* tags: [
|
|
33
|
-
* {
|
|
32
|
+
* tags: [ // TagList
|
|
33
|
+
* { // Tag
|
|
34
34
|
* key: "STRING_VALUE", // required
|
|
35
35
|
* value: "STRING_VALUE",
|
|
36
36
|
* },
|
|
@@ -28,7 +28,7 @@ export interface StartAssessmentRunCommandOutput extends StartAssessmentRunRespo
|
|
|
28
28
|
* import { InspectorClient, StartAssessmentRunCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
29
29
|
* // const { InspectorClient, StartAssessmentRunCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
30
30
|
* const client = new InspectorClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // StartAssessmentRunRequest
|
|
32
32
|
* assessmentTemplateArn: "STRING_VALUE", // required
|
|
33
33
|
* assessmentRunName: "STRING_VALUE",
|
|
34
34
|
* };
|
|
@@ -27,7 +27,7 @@ export interface StopAssessmentRunCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { InspectorClient, StopAssessmentRunCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, StopAssessmentRunCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // StopAssessmentRunRequest
|
|
31
31
|
* assessmentRunArn: "STRING_VALUE", // required
|
|
32
32
|
* stopAction: "STRING_VALUE",
|
|
33
33
|
* };
|
|
@@ -27,7 +27,7 @@ export interface SubscribeToEventCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { InspectorClient, SubscribeToEventCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, SubscribeToEventCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // SubscribeToEventRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
32
|
* event: "STRING_VALUE", // required
|
|
33
33
|
* topicArn: "STRING_VALUE", // required
|
|
@@ -27,7 +27,7 @@ export interface UnsubscribeFromEventCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { InspectorClient, UnsubscribeFromEventCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
28
28
|
* // const { InspectorClient, UnsubscribeFromEventCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
29
29
|
* const client = new InspectorClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UnsubscribeFromEventRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
32
|
* event: "STRING_VALUE", // required
|
|
33
33
|
* topicArn: "STRING_VALUE", // required
|
|
@@ -29,7 +29,7 @@ export interface UpdateAssessmentTargetCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { InspectorClient, UpdateAssessmentTargetCommand } from "@aws-sdk/client-inspector"; // ES Modules import
|
|
30
30
|
* // const { InspectorClient, UpdateAssessmentTargetCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
|
|
31
31
|
* const client = new InspectorClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // UpdateAssessmentTargetRequest
|
|
33
33
|
* assessmentTargetArn: "STRING_VALUE", // required
|
|
34
34
|
* assessmentTargetName: "STRING_VALUE", // required
|
|
35
35
|
* resourceGroupArn: "STRING_VALUE",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|