@aws-sdk/client-inspector 3.299.0 → 3.300.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.
Files changed (38) hide show
  1. package/dist-types/commands/AddAttributesToFindingsCommand.d.ts +11 -0
  2. package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +4 -0
  3. package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +14 -0
  4. package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +3 -0
  5. package/dist-types/commands/CreateResourceGroupCommand.d.ts +8 -0
  6. package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +3 -0
  7. package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +3 -0
  8. package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +3 -0
  9. package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +5 -0
  10. package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +5 -0
  11. package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +5 -0
  12. package/dist-types/commands/DescribeCrossAccountAccessRoleCommand.d.ts +1 -0
  13. package/dist-types/commands/DescribeExclusionsCommand.d.ts +6 -0
  14. package/dist-types/commands/DescribeFindingsCommand.d.ts +6 -0
  15. package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +5 -0
  16. package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +6 -0
  17. package/dist-types/commands/GetAssessmentReportCommand.d.ts +5 -0
  18. package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +7 -0
  19. package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +3 -0
  20. package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +13 -0
  21. package/dist-types/commands/ListAssessmentRunsCommand.d.ts +32 -0
  22. package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +7 -0
  23. package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +17 -0
  24. package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +5 -0
  25. package/dist-types/commands/ListExclusionsCommand.d.ts +5 -0
  26. package/dist-types/commands/ListFindingsCommand.d.ts +40 -0
  27. package/dist-types/commands/ListRulesPackagesCommand.d.ts +4 -0
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  29. package/dist-types/commands/PreviewAgentsCommand.d.ts +5 -0
  30. package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +3 -0
  31. package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +8 -0
  32. package/dist-types/commands/SetTagsForResourceCommand.d.ts +9 -0
  33. package/dist-types/commands/StartAssessmentRunCommand.d.ts +4 -0
  34. package/dist-types/commands/StopAssessmentRunCommand.d.ts +4 -0
  35. package/dist-types/commands/SubscribeToEventCommand.d.ts +5 -0
  36. package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +5 -0
  37. package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +5 -0
  38. package/package.json +8 -8
@@ -27,6 +27,17 @@ 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
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * attributes: [ // required
35
+ * {
36
+ * key: "STRING_VALUE", // required
37
+ * value: "STRING_VALUE",
38
+ * },
39
+ * ],
40
+ * };
30
41
  * const command = new AddAttributesToFindingsCommand(input);
31
42
  * const response = await client.send(command);
32
43
  * ```
@@ -33,6 +33,10 @@ 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 = {
37
+ * assessmentTargetName: "STRING_VALUE", // required
38
+ * resourceGroupArn: "STRING_VALUE",
39
+ * };
36
40
  * const command = new CreateAssessmentTargetCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
@@ -29,6 +29,20 @@ 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 = {
33
+ * assessmentTargetArn: "STRING_VALUE", // required
34
+ * assessmentTemplateName: "STRING_VALUE", // required
35
+ * durationInSeconds: Number("int"), // required
36
+ * rulesPackageArns: [ // required
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * userAttributesForFindings: [
40
+ * {
41
+ * key: "STRING_VALUE", // required
42
+ * value: "STRING_VALUE",
43
+ * },
44
+ * ],
45
+ * };
32
46
  * const command = new CreateAssessmentTemplateCommand(input);
33
47
  * const response = await client.send(command);
34
48
  * ```
@@ -28,6 +28,9 @@ 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 = {
32
+ * assessmentTemplateArn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new CreateExclusionsPreviewCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -29,6 +29,14 @@ 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
+ * {
35
+ * key: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE",
37
+ * },
38
+ * ],
39
+ * };
32
40
  * const command = new CreateResourceGroupCommand(input);
33
41
  * const response = await client.send(command);
34
42
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * assessmentRunArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteAssessmentRunCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * assessmentTargetArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteAssessmentTargetCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * assessmentTemplateArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteAssessmentTemplateCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,11 @@ 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
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
30
35
  * const command = new DescribeAssessmentRunsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,11 @@ 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
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
30
35
  * const command = new DescribeAssessmentTargetsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,11 @@ 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
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
30
35
  * const command = new DescribeAssessmentTemplatesCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,7 @@ export interface DescribeCrossAccountAccessRoleCommandOutput extends DescribeCro
27
27
  * import { InspectorClient, DescribeCrossAccountAccessRoleCommand } from "@aws-sdk/client-inspector"; // ES Modules import
28
28
  * // const { InspectorClient, DescribeCrossAccountAccessRoleCommand } = require("@aws-sdk/client-inspector"); // CommonJS import
29
29
  * const client = new InspectorClient(config);
30
+ * const input = {};
30
31
  * const command = new DescribeCrossAccountAccessRoleCommand(input);
31
32
  * const response = await client.send(command);
32
33
  * ```
@@ -26,6 +26,12 @@ 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
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * locale: "STRING_VALUE",
34
+ * };
29
35
  * const command = new DescribeExclusionsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ 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
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * locale: "STRING_VALUE",
34
+ * };
29
35
  * const command = new DescribeFindingsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,11 @@ 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
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
30
35
  * const command = new DescribeResourceGroupsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,12 @@ 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
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * locale: "STRING_VALUE",
35
+ * };
30
36
  * const command = new DescribeRulesPackagesCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -27,6 +27,11 @@ 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 = {
31
+ * assessmentRunArn: "STRING_VALUE", // required
32
+ * reportFileFormat: "STRING_VALUE", // required
33
+ * reportType: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new GetAssessmentReportCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -28,6 +28,13 @@ 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 = {
32
+ * assessmentTemplateArn: "STRING_VALUE", // required
33
+ * previewToken: "STRING_VALUE", // required
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * locale: "STRING_VALUE",
37
+ * };
31
38
  * const command = new GetExclusionsPreviewCommand(input);
32
39
  * const response = await client.send(command);
33
40
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * assessmentRunArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new GetTelemetryMetadataCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,19 @@ 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 = {
31
+ * assessmentRunArn: "STRING_VALUE", // required
32
+ * filter: {
33
+ * agentHealths: [ // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * agentHealthCodes: [ // required
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * },
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * };
30
43
  * const command = new ListAssessmentRunAgentsCommand(input);
31
44
  * const response = await client.send(command);
32
45
  * ```
@@ -27,6 +27,38 @@ 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: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * filter: {
35
+ * namePattern: "STRING_VALUE",
36
+ * states: [
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * durationRange: {
40
+ * minSeconds: Number("int"),
41
+ * maxSeconds: Number("int"),
42
+ * },
43
+ * rulesPackageArns: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * startTimeRange: {
47
+ * beginDate: new Date("TIMESTAMP"),
48
+ * endDate: new Date("TIMESTAMP"),
49
+ * },
50
+ * completionTimeRange: {
51
+ * beginDate: new Date("TIMESTAMP"),
52
+ * endDate: new Date("TIMESTAMP"),
53
+ * },
54
+ * stateChangeTimeRange: {
55
+ * beginDate: new Date("TIMESTAMP"),
56
+ * endDate: new Date("TIMESTAMP"),
57
+ * },
58
+ * },
59
+ * nextToken: "STRING_VALUE",
60
+ * maxResults: Number("int"),
61
+ * };
30
62
  * const command = new ListAssessmentRunsCommand(input);
31
63
  * const response = await client.send(command);
32
64
  * ```
@@ -28,6 +28,13 @@ 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: {
33
+ * assessmentTargetNamePattern: "STRING_VALUE",
34
+ * },
35
+ * nextToken: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * };
31
38
  * const command = new ListAssessmentTargetsCommand(input);
32
39
  * const response = await client.send(command);
33
40
  * ```
@@ -27,6 +27,23 @@ 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: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * filter: {
35
+ * namePattern: "STRING_VALUE",
36
+ * durationRange: {
37
+ * minSeconds: Number("int"),
38
+ * maxSeconds: Number("int"),
39
+ * },
40
+ * rulesPackageArns: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * },
44
+ * nextToken: "STRING_VALUE",
45
+ * maxResults: Number("int"),
46
+ * };
30
47
  * const command = new ListAssessmentTemplatesCommand(input);
31
48
  * const response = await client.send(command);
32
49
  * ```
@@ -27,6 +27,11 @@ 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 = {
31
+ * resourceArn: "STRING_VALUE",
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListEventSubscriptionsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,11 @@ 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 = {
30
+ * assessmentRunArn: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListExclusionsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,46 @@ 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: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * filter: {
35
+ * agentIds: [
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * autoScalingGroups: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * ruleNames: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * severities: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * rulesPackageArns: [
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * attributes: [
51
+ * {
52
+ * key: "STRING_VALUE", // required
53
+ * value: "STRING_VALUE",
54
+ * },
55
+ * ],
56
+ * userAttributes: [
57
+ * {
58
+ * key: "STRING_VALUE", // required
59
+ * value: "STRING_VALUE",
60
+ * },
61
+ * ],
62
+ * creationTimeRange: {
63
+ * beginDate: new Date("TIMESTAMP"),
64
+ * endDate: new Date("TIMESTAMP"),
65
+ * },
66
+ * },
67
+ * nextToken: "STRING_VALUE",
68
+ * maxResults: Number("int"),
69
+ * };
30
70
  * const command = new ListFindingsCommand(input);
31
71
  * const response = await client.send(command);
32
72
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * nextToken: "STRING_VALUE",
31
+ * maxResults: Number("int"),
32
+ * };
29
33
  * const command = new ListRulesPackagesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,11 @@ 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 = {
31
+ * previewAgentsArn: "STRING_VALUE", // required
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
30
35
  * const command = new PreviewAgentsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,9 @@ 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 = {
31
+ * roleArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new RegisterCrossAccountAccessRoleCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,14 @@ 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
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * attributeKeys: [ // required
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * };
30
38
  * const command = new RemoveAttributesFromFindingsCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -27,6 +27,15 @@ 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 = {
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * tags: [
33
+ * {
34
+ * key: "STRING_VALUE", // required
35
+ * value: "STRING_VALUE",
36
+ * },
37
+ * ],
38
+ * };
30
39
  * const command = new SetTagsForResourceCommand(input);
31
40
  * const response = await client.send(command);
32
41
  * ```
@@ -28,6 +28,10 @@ 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 = {
32
+ * assessmentTemplateArn: "STRING_VALUE", // required
33
+ * assessmentRunName: "STRING_VALUE",
34
+ * };
31
35
  * const command = new StartAssessmentRunCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -27,6 +27,10 @@ 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 = {
31
+ * assessmentRunArn: "STRING_VALUE", // required
32
+ * stopAction: "STRING_VALUE",
33
+ * };
30
34
  * const command = new StopAssessmentRunCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -27,6 +27,11 @@ 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 = {
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * event: "STRING_VALUE", // required
33
+ * topicArn: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new SubscribeToEventCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,11 @@ 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 = {
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * event: "STRING_VALUE", // required
33
+ * topicArn: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new UnsubscribeFromEventCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -29,6 +29,11 @@ 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 = {
33
+ * assessmentTargetArn: "STRING_VALUE", // required
34
+ * assessmentTargetName: "STRING_VALUE", // required
35
+ * resourceGroupArn: "STRING_VALUE",
36
+ * };
32
37
  * const command = new UpdateAssessmentTargetCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },