import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListManagedRuleSetsRequest, ListManagedRuleSetsResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListManagedRuleSetsCommand}. */ export interface ListManagedRuleSetsCommandInput extends ListManagedRuleSetsRequest { } /** * @public * * The output of {@link ListManagedRuleSetsCommand}. */ export interface ListManagedRuleSetsCommandOutput extends ListManagedRuleSetsResponse, __MetadataBearer { } declare const ListManagedRuleSetsCommand_base: { new (input: ListManagedRuleSetsCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListManagedRuleSetsCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves the managed rule sets that you own.

* *

This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.

*

Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WAFV2Client, ListManagedRuleSetsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import * // const { WAFV2Client, ListManagedRuleSetsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import * // import type { WAFV2ClientConfig } from "@aws-sdk/client-wafv2"; * const config = {}; // type is WAFV2ClientConfig * const client = new WAFV2Client(config); * const input = { // ListManagedRuleSetsRequest * Scope: "CLOUDFRONT" || "REGIONAL", // required * NextMarker: "STRING_VALUE", * Limit: Number("int"), * }; * const command = new ListManagedRuleSetsCommand(input); * const response = await client.send(command); * // { // ListManagedRuleSetsResponse * // NextMarker: "STRING_VALUE", * // ManagedRuleSets: [ // ManagedRuleSetSummaries * // { // ManagedRuleSetSummary * // Name: "STRING_VALUE", * // Id: "STRING_VALUE", * // Description: "STRING_VALUE", * // LockToken: "STRING_VALUE", * // ARN: "STRING_VALUE", * // LabelNamespace: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListManagedRuleSetsCommandInput - {@link ListManagedRuleSetsCommandInput} * @returns {@link ListManagedRuleSetsCommandOutput} * @see {@link ListManagedRuleSetsCommandInput} for command's `input` shape. * @see {@link ListManagedRuleSetsCommandOutput} for command's `response` shape. * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape. * * @throws {@link WAFInternalErrorException} (server fault) *

Your request is valid, but WAF couldn’t perform the operation because of a system * problem. Retry your request.

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

The operation isn't valid.

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

The operation failed because WAF didn't recognize a parameter in the request. For * example:

* * * @throws {@link WAFV2ServiceException} *

Base exception class for all service exceptions from WAFV2 service.

* * * @public */ export declare class ListManagedRuleSetsCommand extends ListManagedRuleSetsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListManagedRuleSetsRequest; output: ListManagedRuleSetsResponse; }; sdk: { input: ListManagedRuleSetsCommandInput; output: ListManagedRuleSetsCommandOutput; }; }; }