import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { ListDistributionsByResponseHeadersPolicyIdRequest, ListDistributionsByResponseHeadersPolicyIdResult } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDistributionsByResponseHeadersPolicyIdCommand}. */ export interface ListDistributionsByResponseHeadersPolicyIdCommandInput extends ListDistributionsByResponseHeadersPolicyIdRequest { } /** * @public * * The output of {@link ListDistributionsByResponseHeadersPolicyIdCommand}. */ export interface ListDistributionsByResponseHeadersPolicyIdCommandOutput extends ListDistributionsByResponseHeadersPolicyIdResult, __MetadataBearer { } declare const ListDistributionsByResponseHeadersPolicyIdCommand_base: { new (input: ListDistributionsByResponseHeadersPolicyIdCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListDistributionsByResponseHeadersPolicyIdCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified response headers policy.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // ListDistributionsByResponseHeadersPolicyIdRequest * Marker: "STRING_VALUE", * MaxItems: Number("int"), * ResponseHeadersPolicyId: "STRING_VALUE", // required * }; * const command = new ListDistributionsByResponseHeadersPolicyIdCommand(input); * const response = await client.send(command); * // { // ListDistributionsByResponseHeadersPolicyIdResult * // DistributionIdList: { // DistributionIdList * // Marker: "STRING_VALUE", // required * // NextMarker: "STRING_VALUE", * // MaxItems: Number("int"), // required * // IsTruncated: true || false, // required * // Quantity: Number("int"), // required * // Items: [ // DistributionIdListSummary * // "STRING_VALUE", * // ], * // }, * // }; * * ``` * * @param ListDistributionsByResponseHeadersPolicyIdCommandInput - {@link ListDistributionsByResponseHeadersPolicyIdCommandInput} * @returns {@link ListDistributionsByResponseHeadersPolicyIdCommandOutput} * @see {@link ListDistributionsByResponseHeadersPolicyIdCommandInput} for command's `input` shape. * @see {@link ListDistributionsByResponseHeadersPolicyIdCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

An argument is invalid.

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

The response headers policy does not exist.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class ListDistributionsByResponseHeadersPolicyIdCommand extends ListDistributionsByResponseHeadersPolicyIdCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDistributionsByResponseHeadersPolicyIdRequest; output: ListDistributionsByResponseHeadersPolicyIdResult; }; sdk: { input: ListDistributionsByResponseHeadersPolicyIdCommandInput; output: ListDistributionsByResponseHeadersPolicyIdCommandOutput; }; }; }