🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

@aws-sdk/client-securityhub

Package Overview
Dependencies
Maintainers
2
Versions
666
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-securityhub - npm Package Compare versions

Comparing version
3.1043.0
to
3.1044.0
+16
dist-es/commands/GenerateRecommendedPolicyV2Command.js
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GenerateRecommendedPolicyV2$ } from "../schemas/schemas_0";
export { $Command };
export class GenerateRecommendedPolicyV2Command extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("SecurityHubAPIService", "GenerateRecommendedPolicyV2", {})
.n("SecurityHubClient", "GenerateRecommendedPolicyV2Command")
.sc(GenerateRecommendedPolicyV2$)
.build() {
}
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetRecommendedPolicyV2$ } from "../schemas/schemas_0";
export { $Command };
export class GetRecommendedPolicyV2Command extends $Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("SecurityHubAPIService", "GetRecommendedPolicyV2", {})
.n("SecurityHubClient", "GetRecommendedPolicyV2Command")
.sc(GetRecommendedPolicyV2$)
.build() {
}
import { createPaginator } from "@smithy/core";
import { GetRecommendedPolicyV2Command, } from "../commands/GetRecommendedPolicyV2Command";
import { SecurityHubClient } from "../SecurityHubClient";
export const paginateGetRecommendedPolicyV2 = createPaginator(SecurityHubClient, GetRecommendedPolicyV2Command, "NextToken", "NextToken", "MaxResults");
import { Command as $Command } from "@smithy/smithy-client";
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { GenerateRecommendedPolicyV2Request, GenerateRecommendedPolicyV2Response } from "../models/models_2";
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
/**
* @public
*/
export type { __MetadataBearer };
export { $Command };
/**
* @public
*
* The input for {@link GenerateRecommendedPolicyV2Command}.
*/
export interface GenerateRecommendedPolicyV2CommandInput extends GenerateRecommendedPolicyV2Request {
}
/**
* @public
*
* The output of {@link GenerateRecommendedPolicyV2Command}.
*/
export interface GenerateRecommendedPolicyV2CommandOutput extends GenerateRecommendedPolicyV2Response, __MetadataBearer {
}
declare const GenerateRecommendedPolicyV2Command_base: {
new (input: GenerateRecommendedPolicyV2CommandInput): import("@smithy/smithy-client").CommandImpl<GenerateRecommendedPolicyV2CommandInput, GenerateRecommendedPolicyV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
new (input: GenerateRecommendedPolicyV2CommandInput): import("@smithy/smithy-client").CommandImpl<GenerateRecommendedPolicyV2CommandInput, GenerateRecommendedPolicyV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
/**
* <p>Begins the recommended policy generation to remediate a Security Hub finding.
* <code>GenerateRecommendedPolicyV2</code> only supports findings for unused permissions.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { SecurityHubClient, GenerateRecommendedPolicyV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
* // const { SecurityHubClient, GenerateRecommendedPolicyV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
* const config = {}; // type is SecurityHubClientConfig
* const client = new SecurityHubClient(config);
* const input = { // GenerateRecommendedPolicyV2Request
* MetadataUid: "STRING_VALUE", // required
* };
* const command = new GenerateRecommendedPolicyV2Command(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param GenerateRecommendedPolicyV2CommandInput - {@link GenerateRecommendedPolicyV2CommandInput}
* @returns {@link GenerateRecommendedPolicyV2CommandOutput}
* @see {@link GenerateRecommendedPolicyV2CommandInput} for command's `input` shape.
* @see {@link GenerateRecommendedPolicyV2CommandOutput} for command's `response` shape.
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You don't have permission to perform the action specified in the request.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>
* The request has failed due to an internal failure of the service.
* </p>
*
* @throws {@link InvalidInputException} (client fault)
* <p>The request was rejected because you supplied an invalid or out-of-range value for an
* input parameter.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The request was rejected because we can't find the specified resource.</p>
*
* @throws {@link ThrottlingException} (client fault)
* <p>
* The limit on the number of requests per second was exceeded.
* </p>
*
* @throws {@link ValidationException} (client fault)
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
*
* @throws {@link SecurityHubServiceException}
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
*
*
* @public
*/
export declare class GenerateRecommendedPolicyV2Command extends GenerateRecommendedPolicyV2Command_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: GenerateRecommendedPolicyV2Request;
output: {};
};
sdk: {
input: GenerateRecommendedPolicyV2CommandInput;
output: GenerateRecommendedPolicyV2CommandOutput;
};
};
}
import { Command as $Command } from "@smithy/smithy-client";
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { GetRecommendedPolicyV2Request, GetRecommendedPolicyV2Response } from "../models/models_2";
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
/**
* @public
*/
export type { __MetadataBearer };
export { $Command };
/**
* @public
*
* The input for {@link GetRecommendedPolicyV2Command}.
*/
export interface GetRecommendedPolicyV2CommandInput extends GetRecommendedPolicyV2Request {
}
/**
* @public
*
* The output of {@link GetRecommendedPolicyV2Command}.
*/
export interface GetRecommendedPolicyV2CommandOutput extends GetRecommendedPolicyV2Response, __MetadataBearer {
}
declare const GetRecommendedPolicyV2Command_base: {
new (input: GetRecommendedPolicyV2CommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendedPolicyV2CommandInput, GetRecommendedPolicyV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
new (input: GetRecommendedPolicyV2CommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendedPolicyV2CommandInput, GetRecommendedPolicyV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
/**
* <p>Retrieves the recommended policy to remediate a Security Hub finding.
* <code>GetRecommendedPolicyV2</code> only supports findings for unused permissions.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { SecurityHubClient, GetRecommendedPolicyV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
* // const { SecurityHubClient, GetRecommendedPolicyV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
* const config = {}; // type is SecurityHubClientConfig
* const client = new SecurityHubClient(config);
* const input = { // GetRecommendedPolicyV2Request
* MetadataUid: "STRING_VALUE", // required
* NextToken: "STRING_VALUE",
* MaxResults: Number("int"),
* };
* const command = new GetRecommendedPolicyV2Command(input);
* const response = await client.send(command);
* // { // GetRecommendedPolicyV2Response
* // NextToken: "STRING_VALUE",
* // RecommendationType: "UNUSED_PERMISSION_RECOMMENDATION",
* // RecommendationSteps: [ // RecommendationSteps
* // { // RecommendationStep Union: only one key present
* // UnusedPermissions: { // UnusedPermissionsRecommendationStep
* // RecommendedAction: "STRING_VALUE",
* // ExistingPolicy: "STRING_VALUE",
* // ExistingPolicyId: "STRING_VALUE",
* // PolicyUpdatedAt: new Date("TIMESTAMP"),
* // RecommendedPolicy: "STRING_VALUE",
* // },
* // },
* // ],
* // Error: { // RecommendationError
* // Code: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // Status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED",
* // ResourceArn: "STRING_VALUE",
* // };
*
* ```
*
* @param GetRecommendedPolicyV2CommandInput - {@link GetRecommendedPolicyV2CommandInput}
* @returns {@link GetRecommendedPolicyV2CommandOutput}
* @see {@link GetRecommendedPolicyV2CommandInput} for command's `input` shape.
* @see {@link GetRecommendedPolicyV2CommandOutput} for command's `response` shape.
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
*
* @throws {@link AccessDeniedException} (client fault)
* <p>You don't have permission to perform the action specified in the request.</p>
*
* @throws {@link InternalServerException} (server fault)
* <p>
* The request has failed due to an internal failure of the service.
* </p>
*
* @throws {@link InvalidInputException} (client fault)
* <p>The request was rejected because you supplied an invalid or out-of-range value for an
* input parameter.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The request was rejected because we can't find the specified resource.</p>
*
* @throws {@link ThrottlingException} (client fault)
* <p>
* The limit on the number of requests per second was exceeded.
* </p>
*
* @throws {@link ValidationException} (client fault)
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
*
* @throws {@link SecurityHubServiceException}
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
*
*
* @public
*/
export declare class GetRecommendedPolicyV2Command extends GetRecommendedPolicyV2Command_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: GetRecommendedPolicyV2Request;
output: GetRecommendedPolicyV2Response;
};
sdk: {
input: GetRecommendedPolicyV2CommandInput;
output: GetRecommendedPolicyV2CommandOutput;
};
};
}
import type { Paginator } from "@smithy/types";
import { GetRecommendedPolicyV2CommandInput, GetRecommendedPolicyV2CommandOutput } from "../commands/GetRecommendedPolicyV2Command";
import type { SecurityHubPaginationConfiguration } from "./Interfaces";
/**
* @public
*/
export declare const paginateGetRecommendedPolicyV2: (config: SecurityHubPaginationConfiguration, input: GetRecommendedPolicyV2CommandInput, ...rest: any[]) => Paginator<GetRecommendedPolicyV2CommandOutput>;
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import {
GenerateRecommendedPolicyV2Request,
GenerateRecommendedPolicyV2Response,
} from "../models/models_2";
import {
SecurityHubClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../SecurityHubClient";
export { __MetadataBearer };
export { $Command };
export interface GenerateRecommendedPolicyV2CommandInput
extends GenerateRecommendedPolicyV2Request {}
export interface GenerateRecommendedPolicyV2CommandOutput
extends GenerateRecommendedPolicyV2Response,
__MetadataBearer {}
declare const GenerateRecommendedPolicyV2Command_base: {
new (
input: GenerateRecommendedPolicyV2CommandInput
): import("@smithy/smithy-client").CommandImpl<
GenerateRecommendedPolicyV2CommandInput,
GenerateRecommendedPolicyV2CommandOutput,
SecurityHubClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
>;
new (
input: GenerateRecommendedPolicyV2CommandInput
): import("@smithy/smithy-client").CommandImpl<
GenerateRecommendedPolicyV2CommandInput,
GenerateRecommendedPolicyV2CommandOutput,
SecurityHubClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
>;
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
export declare class GenerateRecommendedPolicyV2Command extends GenerateRecommendedPolicyV2Command_base {
protected static __types: {
api: {
input: GenerateRecommendedPolicyV2Request;
output: {};
};
sdk: {
input: GenerateRecommendedPolicyV2CommandInput;
output: GenerateRecommendedPolicyV2CommandOutput;
};
};
}
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import {
GetRecommendedPolicyV2Request,
GetRecommendedPolicyV2Response,
} from "../models/models_2";
import {
SecurityHubClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../SecurityHubClient";
export { __MetadataBearer };
export { $Command };
export interface GetRecommendedPolicyV2CommandInput
extends GetRecommendedPolicyV2Request {}
export interface GetRecommendedPolicyV2CommandOutput
extends GetRecommendedPolicyV2Response,
__MetadataBearer {}
declare const GetRecommendedPolicyV2Command_base: {
new (
input: GetRecommendedPolicyV2CommandInput
): import("@smithy/smithy-client").CommandImpl<
GetRecommendedPolicyV2CommandInput,
GetRecommendedPolicyV2CommandOutput,
SecurityHubClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
>;
new (
input: GetRecommendedPolicyV2CommandInput
): import("@smithy/smithy-client").CommandImpl<
GetRecommendedPolicyV2CommandInput,
GetRecommendedPolicyV2CommandOutput,
SecurityHubClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
>;
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
export declare class GetRecommendedPolicyV2Command extends GetRecommendedPolicyV2Command_base {
protected static __types: {
api: {
input: GetRecommendedPolicyV2Request;
output: GetRecommendedPolicyV2Response;
};
sdk: {
input: GetRecommendedPolicyV2CommandInput;
output: GetRecommendedPolicyV2CommandOutput;
};
};
}
import { Paginator } from "@smithy/types";
import {
GetRecommendedPolicyV2CommandInput,
GetRecommendedPolicyV2CommandOutput,
} from "../commands/GetRecommendedPolicyV2Command";
import { SecurityHubPaginationConfiguration } from "./Interfaces";
export declare const paginateGetRecommendedPolicyV2: (
config: SecurityHubPaginationConfiguration,
input: GetRecommendedPolicyV2CommandInput,
...rest: any[]
) => Paginator<GetRecommendedPolicyV2CommandOutput>;
+2
-0

@@ -54,2 +54,3 @@ export * from "./AcceptAdministratorInvitationCommand";

export * from "./EnableSecurityHubV2Command";
export * from "./GenerateRecommendedPolicyV2Command";
export * from "./GetAdministratorAccountCommand";

@@ -73,2 +74,3 @@ export * from "./GetAggregatorV2Command";

export * from "./GetMembersCommand";
export * from "./GetRecommendedPolicyV2Command";
export * from "./GetResourcesStatisticsV2Command";

@@ -75,0 +77,0 @@ export * from "./GetResourcesTrendsV2Command";

@@ -65,2 +65,6 @@ export const SeverityLabel = {

};
export const DateRangeComparison = {
OLDER_THAN: "OLDER_THAN",
WITHIN: "WITHIN",
};
export const DateRangeUnit = {

@@ -437,2 +441,10 @@ DAYS: "DAYS",

};
export const RecommendationType = {
UNUSED_PERMISSION_RECOMMENDATION: "UNUSED_PERMISSION_RECOMMENDATION",
};
export const RecommendationStatus = {
FAILED: "FAILED",
IN_PROGRESS: "IN_PROGRESS",
SUCCEEDED: "SUCCEEDED",
};
export const ResourcesDateField = {

@@ -439,0 +451,0 @@ RESOURCE_CREATION_TIME_DT: "ResourceCreationTime",

@@ -13,2 +13,3 @@ export * from "./Interfaces";

export * from "./GetInsightsPaginator";
export * from "./GetRecommendedPolicyV2Paginator";
export * from "./GetResourcesTrendsV2Paginator";

@@ -15,0 +16,0 @@ export * from "./GetResourcesV2Paginator";

@@ -55,2 +55,3 @@ import { createAggregatedClient } from "@smithy/smithy-client";

import { EnableSecurityHubV2Command, } from "./commands/EnableSecurityHubV2Command";
import { GenerateRecommendedPolicyV2Command, } from "./commands/GenerateRecommendedPolicyV2Command";
import { GetAdministratorAccountCommand, } from "./commands/GetAdministratorAccountCommand";

@@ -74,2 +75,3 @@ import { GetAggregatorV2Command, } from "./commands/GetAggregatorV2Command";

import { GetMembersCommand, } from "./commands/GetMembersCommand";
import { GetRecommendedPolicyV2Command, } from "./commands/GetRecommendedPolicyV2Command";
import { GetResourcesStatisticsV2Command, } from "./commands/GetResourcesStatisticsV2Command";

@@ -122,2 +124,3 @@ import { GetResourcesTrendsV2Command, } from "./commands/GetResourcesTrendsV2Command";

import { paginateGetInsights } from "./pagination/GetInsightsPaginator";
import { paginateGetRecommendedPolicyV2 } from "./pagination/GetRecommendedPolicyV2Paginator";
import { paginateGetResourcesTrendsV2 } from "./pagination/GetResourcesTrendsV2Paginator";

@@ -190,2 +193,3 @@ import { paginateGetResourcesV2 } from "./pagination/GetResourcesV2Paginator";

EnableSecurityHubV2Command,
GenerateRecommendedPolicyV2Command,
GetAdministratorAccountCommand,

@@ -209,2 +213,3 @@ GetAggregatorV2Command,

GetMembersCommand,
GetRecommendedPolicyV2Command,
GetResourcesStatisticsV2Command,

@@ -259,2 +264,3 @@ GetResourcesTrendsV2Command,

paginateGetInsights,
paginateGetRecommendedPolicyV2,
paginateGetResourcesTrendsV2,

@@ -261,0 +267,0 @@ paginateGetResourcesV2,

@@ -96,2 +96,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -107,2 +108,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -118,2 +120,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -129,2 +132,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -191,2 +195,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -193,0 +198,0 @@ * // },

@@ -89,2 +89,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -100,2 +101,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -111,2 +113,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -122,2 +125,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -184,2 +188,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -186,0 +191,0 @@ * },

@@ -88,2 +88,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -99,2 +100,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -110,2 +112,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -121,2 +124,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -183,2 +187,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -185,0 +190,0 @@ * },

@@ -67,2 +67,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -130,2 +131,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -132,0 +134,0 @@ * },

@@ -83,2 +83,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -94,2 +95,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -105,2 +107,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -116,2 +119,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -227,2 +231,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -229,0 +234,0 @@ * },

@@ -74,2 +74,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -137,2 +138,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -139,0 +141,0 @@ * // },

@@ -68,2 +68,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -131,2 +132,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -133,0 +135,0 @@ * },

@@ -67,2 +67,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -130,2 +131,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -132,0 +134,0 @@ * },

@@ -92,2 +92,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -103,2 +104,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -114,2 +116,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -125,2 +128,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -236,2 +240,3 @@ * // },

* // Unit: "DAYS",
* // Comparison: "WITHIN" || "OLDER_THAN",
* // },

@@ -238,0 +243,0 @@ * // },

@@ -66,2 +66,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -113,2 +114,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -115,0 +117,0 @@ * },

@@ -64,2 +64,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -111,2 +112,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -113,0 +115,0 @@ * },

@@ -54,2 +54,3 @@ export * from "./AcceptAdministratorInvitationCommand";

export * from "./EnableSecurityHubV2Command";
export * from "./GenerateRecommendedPolicyV2Command";
export * from "./GetAdministratorAccountCommand";

@@ -73,2 +74,3 @@ export * from "./GetAggregatorV2Command";

export * from "./GetMembersCommand";
export * from "./GetRecommendedPolicyV2Command";
export * from "./GetResourcesStatisticsV2Command";

@@ -75,0 +77,0 @@ export * from "./GetResourcesTrendsV2Command";

+1
-1
import { Command as $Command } from "@smithy/smithy-client";
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { ListMembersRequest, ListMembersResponse } from "../models/models_2";
import type { ListMembersRequest, ListMembersResponse } from "../models/models_3";
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";

@@ -5,0 +5,0 @@ /**

import { Command as $Command } from "@smithy/smithy-client";
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { ListOrganizationAdminAccountsRequest, ListOrganizationAdminAccountsResponse } from "../models/models_2";
import type { ListOrganizationAdminAccountsRequest, ListOrganizationAdminAccountsResponse } from "../models/models_3";
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";

@@ -5,0 +5,0 @@ /**

import { Command as $Command } from "@smithy/smithy-client";
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { ListSecurityControlDefinitionsRequest, ListSecurityControlDefinitionsResponse } from "../models/models_2";
import type { ListSecurityControlDefinitionsRequest, ListSecurityControlDefinitionsResponse } from "../models/models_3";
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";

@@ -5,0 +5,0 @@ /**

import { Command as $Command } from "@smithy/smithy-client";
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { ListStandardsControlAssociationsRequest } from "../models/models_2";
import type { ListStandardsControlAssociationsResponse } from "../models/models_3";
import type { ListStandardsControlAssociationsRequest, ListStandardsControlAssociationsResponse } from "../models/models_3";
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";

@@ -6,0 +5,0 @@ /**

@@ -67,2 +67,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -130,2 +131,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -132,0 +134,0 @@ * },

@@ -87,2 +87,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -98,2 +99,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -109,2 +111,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -120,2 +123,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -231,2 +235,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -233,0 +238,0 @@ * },

@@ -81,2 +81,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -92,2 +93,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -103,2 +105,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -114,2 +117,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -225,2 +229,3 @@ * },

* Unit: "DAYS",
* Comparison: "WITHIN" || "OLDER_THAN",
* },

@@ -227,0 +232,0 @@ * },

@@ -173,2 +173,14 @@ /**

*/
export declare const DateRangeComparison: {
readonly OLDER_THAN: "OLDER_THAN";
readonly WITHIN: "WITHIN";
};
/**
* @public
*/
export type DateRangeComparison = (typeof DateRangeComparison)[keyof typeof DateRangeComparison];
/**
* @public
* @enum
*/
export declare const DateRangeUnit: {

@@ -945,2 +957,26 @@ readonly DAYS: "DAYS";

*/
export declare const RecommendationType: {
readonly UNUSED_PERMISSION_RECOMMENDATION: "UNUSED_PERMISSION_RECOMMENDATION";
};
/**
* @public
*/
export type RecommendationType = (typeof RecommendationType)[keyof typeof RecommendationType];
/**
* @public
* @enum
*/
export declare const RecommendationStatus: {
readonly FAILED: "FAILED";
readonly IN_PROGRESS: "IN_PROGRESS";
readonly SUCCEEDED: "SUCCEEDED";
};
/**
* @public
*/
export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
/**
* @public
* @enum
*/
export declare const ResourcesDateField: {

@@ -947,0 +983,0 @@ readonly RESOURCE_CREATION_TIME_DT: "ResourceCreationTime";

@@ -1,5 +0,171 @@

import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ControlFindingGenerator, ControlStatus, GroupByField, RecordState, ResourceGroupByField, RuleStatusV2, SortOrder, TargetType } from "./enums";
import type { AutomationRulesActionV2, NoteUpdate } from "./models_0";
import type { AwsSecurityFindingFilters, FindingScopes, FindingsTrendsStringFilter, JiraCloudUpdateConfiguration, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourceScopes, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, SortCriterion, Target } from "./models_2";
import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ControlFindingGenerator, ControlStatus, GroupByField, RecordState, ResourceGroupByField, RuleStatusV2, SecurityHubFeature, SortOrder, TargetType } from "./enums";
import type { AdminAccount, AutomationRulesActionV2, NoteUpdate } from "./models_0";
import type { AwsSecurityFindingFilters, FindingScopes, FindingsTrendsStringFilter, JiraCloudUpdateConfiguration, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourceScopes, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, SecurityControlDefinition, SortCriterion, Target } from "./models_2";
/**
* @public
*/
export interface ListMembersRequest {
/**
* <p>Specifies which member accounts to include in the response based on their relationship
* status with the administrator account. The default value is <code>TRUE</code>.</p>
* <p>If <code>OnlyAssociated</code> is set to <code>TRUE</code>, the response includes member
* accounts whose relationship status with the administrator account is set to <code>ENABLED</code>.</p>
* <p>If <code>OnlyAssociated</code> is set to <code>FALSE</code>, the response includes all
* existing member accounts. </p>
* @public
*/
OnlyAssociated?: boolean | undefined;
/**
* <p>The maximum number of items to return in the response. </p>
* @public
*/
MaxResults?: number | undefined;
/**
* <p>The token that is required for pagination. On your first call to the
* <code>ListMembers</code> operation, set the value of this parameter to
* <code>NULL</code>.</p>
* <p>For subsequent calls to the operation, to continue listing data, set the value of this
* parameter to the value returned from the previous response.</p>
* @public
*/
NextToken?: string | undefined;
}
/**
* @public
*/
export interface ListMembersResponse {
/**
* <p>Member details returned by the operation.</p>
* @public
*/
Members?: Member[] | undefined;
/**
* <p>The pagination token to use to request the next page of results.</p>
* @public
*/
NextToken?: string | undefined;
}
/**
* @public
*/
export interface ListOrganizationAdminAccountsRequest {
/**
* <p>The maximum number of items to return in the response.</p>
* @public
*/
MaxResults?: number | undefined;
/**
* <p>The token that is required for pagination. On your first call to the
* <code>ListOrganizationAdminAccounts</code> operation, set the value of this parameter to
* <code>NULL</code>. For subsequent calls to the operation, to continue listing data, set
* the value of this parameter to the value returned from the previous response. </p>
* @public
*/
NextToken?: string | undefined;
/**
* <p>The feature where the delegated administrator account is listed.
* Defaults to Security Hub CSPM if not specified.</p>
* @public
*/
Feature?: SecurityHubFeature | undefined;
}
/**
* @public
*/
export interface ListOrganizationAdminAccountsResponse {
/**
* <p>The list of Security Hub CSPM administrator accounts.</p>
* @public
*/
AdminAccounts?: AdminAccount[] | undefined;
/**
* <p>The pagination token to use to request the next page of results.</p>
* @public
*/
NextToken?: string | undefined;
/**
* <p>The feature where the delegated administrator account is listed.
* Defaults to Security Hub CSPM CSPM if not specified.</p>
* @public
*/
Feature?: SecurityHubFeature | undefined;
}
/**
* @public
*/
export interface ListSecurityControlDefinitionsRequest {
/**
* <p>
* The Amazon Resource Name (ARN) of the standard that you want to view controls for.
* </p>
* @public
*/
StandardsArn?: string | undefined;
/**
* <p>
* Optional pagination parameter.
* </p>
* @public
*/
NextToken?: string | undefined;
/**
* <p> An optional parameter that limits the total results of the API response to the
* specified number. If this parameter isn't provided in the request, the results include the
* first 25 security controls that apply to the specified standard. The results also include a
* <code>NextToken</code> parameter that you can use in a subsequent API call to get the
* next 25 controls. This repeats until all controls for the standard are returned. </p>
* @public
*/
MaxResults?: number | undefined;
}
/**
* @public
*/
export interface ListSecurityControlDefinitionsResponse {
/**
* <p>
* An array of controls that apply to the specified standard.
* </p>
* @public
*/
SecurityControlDefinitions: SecurityControlDefinition[] | undefined;
/**
* <p> A pagination parameter that's included in the response only if it was included in the
* request. </p>
* @public
*/
NextToken?: string | undefined;
}
/**
* @public
*/
export interface ListStandardsControlAssociationsRequest {
/**
* <p>
* The identifier of the control (identified with <code>SecurityControlId</code>, <code>SecurityControlArn</code>, or a mix of both parameters) that you
* want to determine the enablement status of in each enabled standard.
* </p>
* @public
*/
SecurityControlId: string | undefined;
/**
* <p>
* Optional pagination parameter.
* </p>
* @public
*/
NextToken?: string | undefined;
/**
* <p> An optional parameter that limits the total results of the API response to the
* specified number. If this parameter isn't provided in the request, the results include the
* first 25 standard and control associations. The results also include a
* <code>NextToken</code> parameter that you can use in a subsequent API call to get the
* next 25 associations. This repeats until all associations for the specified control are
* returned. The number of results is limited by the number of supported Security Hub CSPM
* standards that you've enabled in the calling account. </p>
* @public
*/
MaxResults?: number | undefined;
}
/**
* <p> An array that provides the enablement status and other details for each control that

@@ -6,0 +172,0 @@ * applies to each enabled standard. </p>

@@ -13,2 +13,3 @@ export * from "./Interfaces";

export * from "./GetInsightsPaginator";
export * from "./GetRecommendedPolicyV2Paginator";
export * from "./GetResourcesTrendsV2Paginator";

@@ -15,0 +16,0 @@ export * from "./GetResourcesV2Paginator";

@@ -63,2 +63,3 @@ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";

import type { EnableSecurityHubV2CommandInput, EnableSecurityHubV2CommandOutput } from "./commands/EnableSecurityHubV2Command";
import type { GenerateRecommendedPolicyV2CommandInput, GenerateRecommendedPolicyV2CommandOutput } from "./commands/GenerateRecommendedPolicyV2Command";
import type { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";

@@ -82,2 +83,3 @@ import type { GetAggregatorV2CommandInput, GetAggregatorV2CommandOutput } from "./commands/GetAggregatorV2Command";

import type { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
import type { GetRecommendedPolicyV2CommandInput, GetRecommendedPolicyV2CommandOutput } from "./commands/GetRecommendedPolicyV2Command";
import type { GetResourcesStatisticsV2CommandInput, GetResourcesStatisticsV2CommandOutput } from "./commands/GetResourcesStatisticsV2Command";

@@ -125,7 +127,7 @@ import type { GetResourcesTrendsV2CommandInput, GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";

*/
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
/**
* @public
*/
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
/**

@@ -132,0 +134,0 @@ * @public

@@ -54,2 +54,3 @@ export * from "./AcceptAdministratorInvitationCommand";

export * from "./EnableSecurityHubV2Command";
export * from "./GenerateRecommendedPolicyV2Command";
export * from "./GetAdministratorAccountCommand";

@@ -73,2 +74,3 @@ export * from "./GetAggregatorV2Command";

export * from "./GetMembersCommand";
export * from "./GetRecommendedPolicyV2Command";
export * from "./GetResourcesStatisticsV2Command";

@@ -75,0 +77,0 @@ export * from "./GetResourcesTrendsV2Command";

import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { ListMembersRequest, ListMembersResponse } from "../models/models_2";
import { ListMembersRequest, ListMembersResponse } from "../models/models_3";
import {

@@ -5,0 +5,0 @@ SecurityHubClientResolvedConfig,

@@ -6,3 +6,3 @@ import { Command as $Command } from "@smithy/smithy-client";

ListOrganizationAdminAccountsResponse,
} from "../models/models_2";
} from "../models/models_3";
import {

@@ -9,0 +9,0 @@ SecurityHubClientResolvedConfig,

@@ -6,3 +6,3 @@ import { Command as $Command } from "@smithy/smithy-client";

ListSecurityControlDefinitionsResponse,
} from "../models/models_2";
} from "../models/models_3";
import {

@@ -9,0 +9,0 @@ SecurityHubClientResolvedConfig,

import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { ListStandardsControlAssociationsRequest } from "../models/models_2";
import { ListStandardsControlAssociationsResponse } from "../models/models_3";
import {
ListStandardsControlAssociationsRequest,
ListStandardsControlAssociationsResponse,
} from "../models/models_3";
import {
SecurityHubClientResolvedConfig,

@@ -7,0 +9,0 @@ ServiceInputTypes,

@@ -89,2 +89,8 @@ export declare const SeverityLabel: {

(typeof StringFilterComparison)[keyof typeof StringFilterComparison];
export declare const DateRangeComparison: {
readonly OLDER_THAN: "OLDER_THAN";
readonly WITHIN: "WITHIN";
};
export type DateRangeComparison =
(typeof DateRangeComparison)[keyof typeof DateRangeComparison];
export declare const DateRangeUnit: {

@@ -545,2 +551,14 @@ readonly DAYS: "DAYS";

(typeof GranularityField)[keyof typeof GranularityField];
export declare const RecommendationType: {
readonly UNUSED_PERMISSION_RECOMMENDATION: "UNUSED_PERMISSION_RECOMMENDATION";
};
export type RecommendationType =
(typeof RecommendationType)[keyof typeof RecommendationType];
export declare const RecommendationStatus: {
readonly FAILED: "FAILED";
readonly IN_PROGRESS: "IN_PROGRESS";
readonly SUCCEEDED: "SUCCEEDED";
};
export type RecommendationStatus =
(typeof RecommendationStatus)[keyof typeof RecommendationStatus];
export declare const ResourcesDateField: {

@@ -547,0 +565,0 @@ readonly RESOURCE_CREATION_TIME_DT: "ResourceCreationTime";

@@ -13,6 +13,7 @@ import {

RuleStatusV2,
SecurityHubFeature,
SortOrder,
TargetType,
} from "./enums";
import { AutomationRulesActionV2, NoteUpdate } from "./models_0";
import { AdminAccount, AutomationRulesActionV2, NoteUpdate } from "./models_0";
import {

@@ -23,2 +24,3 @@ AwsSecurityFindingFilters,

JiraCloudUpdateConfiguration,
Member,
OcsfBooleanFilter,

@@ -39,5 +41,39 @@ OcsfDateFilter,

ResourcesTrendsStringFilter,
SecurityControlDefinition,
SortCriterion,
Target,
} from "./models_2";
export interface ListMembersRequest {
OnlyAssociated?: boolean | undefined;
MaxResults?: number | undefined;
NextToken?: string | undefined;
}
export interface ListMembersResponse {
Members?: Member[] | undefined;
NextToken?: string | undefined;
}
export interface ListOrganizationAdminAccountsRequest {
MaxResults?: number | undefined;
NextToken?: string | undefined;
Feature?: SecurityHubFeature | undefined;
}
export interface ListOrganizationAdminAccountsResponse {
AdminAccounts?: AdminAccount[] | undefined;
NextToken?: string | undefined;
Feature?: SecurityHubFeature | undefined;
}
export interface ListSecurityControlDefinitionsRequest {
StandardsArn?: string | undefined;
NextToken?: string | undefined;
MaxResults?: number | undefined;
}
export interface ListSecurityControlDefinitionsResponse {
SecurityControlDefinitions: SecurityControlDefinition[] | undefined;
NextToken?: string | undefined;
}
export interface ListStandardsControlAssociationsRequest {
SecurityControlId: string | undefined;
NextToken?: string | undefined;
MaxResults?: number | undefined;
}
export interface StandardsControlAssociationSummary {

@@ -44,0 +80,0 @@ StandardsArn: string | undefined;

@@ -13,2 +13,3 @@ export * from "./Interfaces";

export * from "./GetInsightsPaginator";
export * from "./GetRecommendedPolicyV2Paginator";
export * from "./GetResourcesTrendsV2Paginator";

@@ -15,0 +16,0 @@ export * from "./GetResourcesV2Paginator";

@@ -260,2 +260,6 @@ import {

import {
GenerateRecommendedPolicyV2CommandInput,
GenerateRecommendedPolicyV2CommandOutput,
} from "./commands/GenerateRecommendedPolicyV2Command";
import {
GetAdministratorAccountCommandInput,

@@ -333,2 +337,6 @@ GetAdministratorAccountCommandOutput,

import {
GetRecommendedPolicyV2CommandInput,
GetRecommendedPolicyV2CommandOutput,
} from "./commands/GetRecommendedPolicyV2Command";
import {
GetResourcesStatisticsV2CommandInput,

@@ -538,2 +546,3 @@ GetResourcesStatisticsV2CommandOutput,

| EnableSecurityHubV2CommandInput
| GenerateRecommendedPolicyV2CommandInput
| GetAdministratorAccountCommandInput

@@ -557,2 +566,3 @@ | GetAggregatorV2CommandInput

| GetMembersCommandInput
| GetRecommendedPolicyV2CommandInput
| GetResourcesStatisticsV2CommandInput

@@ -648,2 +658,3 @@ | GetResourcesTrendsV2CommandInput

| EnableSecurityHubV2CommandOutput
| GenerateRecommendedPolicyV2CommandOutput
| GetAdministratorAccountCommandOutput

@@ -667,2 +678,3 @@ | GetAggregatorV2CommandOutput

| GetMembersCommandOutput
| GetRecommendedPolicyV2CommandOutput
| GetResourcesStatisticsV2CommandOutput

@@ -669,0 +681,0 @@ | GetResourcesTrendsV2CommandOutput

{
"name": "@aws-sdk/client-securityhub",
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
"version": "3.1043.0",
"version": "3.1044.0",
"scripts": {

@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display