@aws-sdk/client-route-53
Version:
AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native
89 lines (88 loc) • 3.92 kB
TypeScript
import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { ListReusableDelegationSetsRequest, ListReusableDelegationSetsResponse } from "../models/models_0";
import { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
/**
* @public
*/
export type { __MetadataBearer };
export { $Command };
/**
* @public
*
* The input for {@link ListReusableDelegationSetsCommand}.
*/
export interface ListReusableDelegationSetsCommandInput extends ListReusableDelegationSetsRequest {
}
/**
* @public
*
* The output of {@link ListReusableDelegationSetsCommand}.
*/
export interface ListReusableDelegationSetsCommandOutput extends ListReusableDelegationSetsResponse, __MetadataBearer {
}
declare const ListReusableDelegationSetsCommand_base: {
new (input: ListReusableDelegationSetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListReusableDelegationSetsCommandInput, ListReusableDelegationSetsCommandOutput, Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
new (...[input]: [] | [ListReusableDelegationSetsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListReusableDelegationSetsCommandInput, ListReusableDelegationSetsCommandOutput, Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
};
/**
* <p>Retrieves a list of the reusable delegation sets that are associated with the current
* Amazon Web Services account.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { Route53Client, ListReusableDelegationSetsCommand } from "@aws-sdk/client-route-53"; // ES Modules import
* // const { Route53Client, ListReusableDelegationSetsCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
* const client = new Route53Client(config);
* const input = { // ListReusableDelegationSetsRequest
* Marker: "STRING_VALUE",
* MaxItems: Number("int"),
* };
* const command = new ListReusableDelegationSetsCommand(input);
* const response = await client.send(command);
* // { // ListReusableDelegationSetsResponse
* // DelegationSets: [ // DelegationSets // required
* // { // DelegationSet
* // Id: "STRING_VALUE",
* // CallerReference: "STRING_VALUE",
* // NameServers: [ // DelegationSetNameServers // required
* // "STRING_VALUE",
* // ],
* // },
* // ],
* // Marker: "STRING_VALUE", // required
* // IsTruncated: true || false, // required
* // NextMarker: "STRING_VALUE",
* // MaxItems: Number("int"), // required
* // };
*
* ```
*
* @param ListReusableDelegationSetsCommandInput - {@link ListReusableDelegationSetsCommandInput}
* @returns {@link ListReusableDelegationSetsCommandOutput}
* @see {@link ListReusableDelegationSetsCommandInput} for command's `input` shape.
* @see {@link ListReusableDelegationSetsCommandOutput} for command's `response` shape.
* @see {@link Route53ClientResolvedConfig | config} for Route53Client's `config` shape.
*
* @throws {@link InvalidInput} (client fault)
* <p>The input is not valid.</p>
*
* @throws {@link Route53ServiceException}
* <p>Base exception class for all service exceptions from Route53 service.</p>
*
* @public
*/
export declare class ListReusableDelegationSetsCommand extends ListReusableDelegationSetsCommand_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: ListReusableDelegationSetsRequest;
output: ListReusableDelegationSetsResponse;
};
sdk: {
input: ListReusableDelegationSetsCommandInput;
output: ListReusableDelegationSetsCommandOutput;
};
};
}