import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListHostedZoneAssociationsInput, ListHostedZoneAssociationsOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListHostedZoneAssociationsCommand}. */ export interface ListHostedZoneAssociationsCommandInput extends ListHostedZoneAssociationsInput { } /** * @public * * The output of {@link ListHostedZoneAssociationsCommand}. */ export interface ListHostedZoneAssociationsCommandOutput extends ListHostedZoneAssociationsOutput, __MetadataBearer { } declare const ListHostedZoneAssociationsCommand_base: { new (input: ListHostedZoneAssociationsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListHostedZoneAssociationsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists hosted zone associations with pagination support. Specify a DNS view through the resourceArn parameter to list the hosted zone associations for that DNS view, or omit it to list all hosted zone associations in your Amazon Web Services account.

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Route53GlobalResolverClient, ListHostedZoneAssociationsCommand } from "@aws-sdk/client-route53globalresolver"; // ES Modules import * // const { Route53GlobalResolverClient, ListHostedZoneAssociationsCommand } = require("@aws-sdk/client-route53globalresolver"); // CommonJS import * // import type { Route53GlobalResolverClientConfig } from "@aws-sdk/client-route53globalresolver"; * const config = {}; // type is Route53GlobalResolverClientConfig * const client = new Route53GlobalResolverClient(config); * const input = { // ListHostedZoneAssociationsInput * maxResults: Number("int"), * nextToken: "STRING_VALUE", * resourceArn: "STRING_VALUE", * }; * const command = new ListHostedZoneAssociationsCommand(input); * const response = await client.send(command); * // { // ListHostedZoneAssociationsOutput * // nextToken: "STRING_VALUE", * // hostedZoneAssociations: [ // HostedZoneAssociations // required * // { // HostedZoneAssociationSummary * // id: "STRING_VALUE", // required * // resourceArn: "STRING_VALUE", // required * // hostedZoneId: "STRING_VALUE", // required * // hostedZoneName: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // createdAt: new Date("TIMESTAMP"), // required * // updatedAt: new Date("TIMESTAMP"), // required * // status: "CREATING" || "OPERATIONAL" || "DELETING", // required * // }, * // ], * // }; * * ``` * * @param ListHostedZoneAssociationsCommandInput - {@link ListHostedZoneAssociationsCommandInput} * @returns {@link ListHostedZoneAssociationsCommandOutput} * @see {@link ListHostedZoneAssociationsCommandInput} for command's `input` shape. * @see {@link ListHostedZoneAssociationsCommandOutput} for command's `response` shape. * @see {@link Route53GlobalResolverClientResolvedConfig | config} for Route53GlobalResolverClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have permission to perform this operation. Check your IAM permissions and try again.

* * @throws {@link InternalServerException} (server fault) *

An internal server error occurred. Try again later.

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

The specified resource was not found. Verify the resource ID and try again.

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

The request was throttled due to too many requests. Wait a moment and try again.

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

The input parameters are invalid. Check the parameter values and try again.

* * @throws {@link Route53GlobalResolverServiceException} *

Base exception class for all service exceptions from Route53GlobalResolver service.

* * * @public */ export declare class ListHostedZoneAssociationsCommand extends ListHostedZoneAssociationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListHostedZoneAssociationsInput; output: ListHostedZoneAssociationsOutput; }; sdk: { input: ListHostedZoneAssociationsCommandInput; output: ListHostedZoneAssociationsCommandOutput; }; }; }