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

Retrieves an array of your LoggingConfiguration objects.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WAFV2Client, ListLoggingConfigurationsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import * // const { WAFV2Client, ListLoggingConfigurationsCommand } = 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 = { // ListLoggingConfigurationsRequest * Scope: "CLOUDFRONT" || "REGIONAL", // required * NextMarker: "STRING_VALUE", * Limit: Number("int"), * LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED", * }; * const command = new ListLoggingConfigurationsCommand(input); * const response = await client.send(command); * // { // ListLoggingConfigurationsResponse * // LoggingConfigurations: [ // LoggingConfigurations * // { // LoggingConfiguration * // ResourceArn: "STRING_VALUE", // required * // LogDestinationConfigs: [ // LogDestinationConfigs // required * // "STRING_VALUE", * // ], * // RedactedFields: [ // RedactedFields * // { // FieldToMatch * // SingleHeader: { // SingleHeader * // Name: "STRING_VALUE", // required * // }, * // SingleQueryArgument: { // SingleQueryArgument * // Name: "STRING_VALUE", // required * // }, * // AllQueryArguments: {}, * // UriPath: {}, * // QueryString: {}, * // Body: { // Body * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", * // }, * // Method: {}, * // JsonBody: { // JsonBody * // MatchPattern: { // JsonMatchPattern * // All: {}, * // IncludedPaths: [ // JsonPointerPaths * // "STRING_VALUE", * // ], * // }, * // MatchScope: "ALL" || "KEY" || "VALUE", // required * // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING", * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", * // }, * // Headers: { // Headers * // MatchPattern: { // HeaderMatchPattern * // All: {}, * // IncludedHeaders: [ // HeaderNames * // "STRING_VALUE", * // ], * // ExcludedHeaders: [ * // "STRING_VALUE", * // ], * // }, * // MatchScope: "ALL" || "KEY" || "VALUE", // required * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required * // }, * // Cookies: { // Cookies * // MatchPattern: { // CookieMatchPattern * // All: {}, * // IncludedCookies: [ // CookieNames * // "STRING_VALUE", * // ], * // ExcludedCookies: [ * // "STRING_VALUE", * // ], * // }, * // MatchScope: "ALL" || "KEY" || "VALUE", // required * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required * // }, * // HeaderOrder: { // HeaderOrder * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required * // }, * // JA3Fingerprint: { // JA3Fingerprint * // FallbackBehavior: "MATCH" || "NO_MATCH", // required * // }, * // JA4Fingerprint: { // JA4Fingerprint * // FallbackBehavior: "MATCH" || "NO_MATCH", // required * // }, * // UriFragment: { // UriFragment * // FallbackBehavior: "MATCH" || "NO_MATCH", * // }, * // }, * // ], * // ManagedByFirewallManager: true || false, * // LoggingFilter: { // LoggingFilter * // Filters: [ // Filters // required * // { // Filter * // Behavior: "KEEP" || "DROP", // required * // Requirement: "MEETS_ALL" || "MEETS_ANY", // required * // Conditions: [ // Conditions // required * // { // Condition * // ActionCondition: { // ActionCondition * // Action: "ALLOW" || "BLOCK" || "COUNT" || "CAPTCHA" || "CHALLENGE" || "EXCLUDED_AS_COUNT", // required * // }, * // LabelNameCondition: { // LabelNameCondition * // LabelName: "STRING_VALUE", // required * // }, * // }, * // ], * // }, * // ], * // DefaultBehavior: "KEEP" || "DROP", // required * // }, * // LogType: "WAF_LOGS", * // LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED", * // }, * // ], * // NextMarker: "STRING_VALUE", * // }; * * ``` * * @param ListLoggingConfigurationsCommandInput - {@link ListLoggingConfigurationsCommandInput} * @returns {@link ListLoggingConfigurationsCommandOutput} * @see {@link ListLoggingConfigurationsCommandInput} for command's `input` shape. * @see {@link ListLoggingConfigurationsCommandOutput} 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 ListLoggingConfigurationsCommand extends ListLoggingConfigurationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListLoggingConfigurationsRequest; output: ListLoggingConfigurationsResponse; }; sdk: { input: ListLoggingConfigurationsCommandInput; output: ListLoggingConfigurationsCommandOutput; }; }; }