import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeRulesPackagesRequest, DescribeRulesPackagesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeRulesPackagesCommand}. */ export interface DescribeRulesPackagesCommandInput extends DescribeRulesPackagesRequest { } /** * @public * * The output of {@link DescribeRulesPackagesCommand}. */ export interface DescribeRulesPackagesCommandOutput extends DescribeRulesPackagesResponse, __MetadataBearer { } declare const DescribeRulesPackagesCommand_base: { new (input: DescribeRulesPackagesCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeRulesPackagesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the rules packages that are specified by the ARNs of the rules * packages.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { InspectorClient, DescribeRulesPackagesCommand } from "@aws-sdk/client-inspector"; // ES Modules import * // const { InspectorClient, DescribeRulesPackagesCommand } = require("@aws-sdk/client-inspector"); // CommonJS import * // import type { InspectorClientConfig } from "@aws-sdk/client-inspector"; * const config = {}; // type is InspectorClientConfig * const client = new InspectorClient(config); * const input = { // DescribeRulesPackagesRequest * rulesPackageArns: [ // BatchDescribeArnList // required * "STRING_VALUE", * ], * locale: "EN_US", * }; * const command = new DescribeRulesPackagesCommand(input); * const response = await client.send(command); * // { // DescribeRulesPackagesResponse * // rulesPackages: [ // RulesPackageList // required * // { // RulesPackage * // arn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // version: "STRING_VALUE", // required * // provider: "STRING_VALUE", // required * // description: "STRING_VALUE", * // }, * // ], * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, * // }; * * ``` * * @param DescribeRulesPackagesCommandInput - {@link DescribeRulesPackagesCommandInput} * @returns {@link DescribeRulesPackagesCommandOutput} * @see {@link DescribeRulesPackagesCommandInput} for command's `input` shape. * @see {@link DescribeRulesPackagesCommandOutput} for command's `response` shape. * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape. * * @throws {@link InternalException} (server fault) *

Internal server error.

* * @throws {@link InvalidInputException} (client fault) *

The request was rejected because an invalid or out-of-range value was supplied for an * input parameter.

* * @throws {@link InspectorServiceException} *

Base exception class for all service exceptions from Inspector service.

* * * @example Describe rules packages * ```javascript * // Describes the rules packages that are specified by the ARNs of the rules packages. * const input = { * rulesPackageArns: [ * "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ" * ] * }; * const command = new DescribeRulesPackagesCommand(input); * const response = await client.send(command); * /* response is * { * failedItems: { /* empty *\/ }, * rulesPackages: [ * { * arn: "arn:aws:inspector:us-west-2:758058086616:rulespackage/0-JJOtZiqQ", * description: "The rules in this package help determine whether your systems are configured securely.", * name: "Security Best Practices", * provider: "Amazon Web Services, Inc.", * version: "1.1" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeRulesPackagesCommand extends DescribeRulesPackagesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeRulesPackagesRequest; output: DescribeRulesPackagesResponse; }; sdk: { input: DescribeRulesPackagesCommandInput; output: DescribeRulesPackagesCommandOutput; }; }; }