@aws-sdk/client-route-53
Version:
AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native
92 lines (91 loc) • 4.41 kB
TypeScript
import { Command as $Command } from "@smithy/core/client";
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { GetReusableDelegationSetLimitRequest, GetReusableDelegationSetLimitResponse } from "../models/models_0";
import type { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
/**
* @public
*/
export type { __MetadataBearer };
export { $Command };
/**
* @public
*
* The input for {@link GetReusableDelegationSetLimitCommand}.
*/
export interface GetReusableDelegationSetLimitCommandInput extends GetReusableDelegationSetLimitRequest {
}
/**
* @public
*
* The output of {@link GetReusableDelegationSetLimitCommand}.
*/
export interface GetReusableDelegationSetLimitCommandOutput extends GetReusableDelegationSetLimitResponse, __MetadataBearer {
}
declare const GetReusableDelegationSetLimitCommand_base: {
new (input: GetReusableDelegationSetLimitCommandInput): import("@smithy/core/client").CommandImpl<GetReusableDelegationSetLimitCommandInput, GetReusableDelegationSetLimitCommandOutput, Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
new (input: GetReusableDelegationSetLimitCommandInput): import("@smithy/core/client").CommandImpl<GetReusableDelegationSetLimitCommandInput, GetReusableDelegationSetLimitCommandOutput, Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
getEndpointParameterInstructions(): {
[x: string]: unknown;
};
};
/**
* <p>Gets the maximum number of hosted zones that you can associate with the specified
* reusable delegation set.</p>
* <p>For the default limit, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html">Limits</a> in the
* <i>Amazon Route 53 Developer Guide</i>. To request a higher limit,
* <a href="https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-route53">open a case</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { Route53Client, GetReusableDelegationSetLimitCommand } from "@aws-sdk/client-route-53"; // ES Modules import
* // const { Route53Client, GetReusableDelegationSetLimitCommand } = require("@aws-sdk/client-route-53"); // CommonJS import
* // import type { Route53ClientConfig } from "@aws-sdk/client-route-53";
* const config = {}; // type is Route53ClientConfig
* const client = new Route53Client(config);
* const input = { // GetReusableDelegationSetLimitRequest
* Type: "MAX_ZONES_BY_REUSABLE_DELEGATION_SET", // required
* DelegationSetId: "STRING_VALUE", // required
* };
* const command = new GetReusableDelegationSetLimitCommand(input);
* const response = await client.send(command);
* // { // GetReusableDelegationSetLimitResponse
* // Limit: { // ReusableDelegationSetLimit
* // Type: "MAX_ZONES_BY_REUSABLE_DELEGATION_SET", // required
* // Value: Number("long"), // required
* // },
* // Count: Number("long"), // required
* // };
*
* ```
*
* @param GetReusableDelegationSetLimitCommandInput - {@link GetReusableDelegationSetLimitCommandInput}
* @returns {@link GetReusableDelegationSetLimitCommandOutput}
* @see {@link GetReusableDelegationSetLimitCommandInput} for command's `input` shape.
* @see {@link GetReusableDelegationSetLimitCommandOutput} 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 NoSuchDelegationSet} (client fault)
* <p>A reusable delegation set with the specified ID does not exist.</p>
*
* @throws {@link Route53ServiceException}
* <p>Base exception class for all service exceptions from Route53 service.</p>
*
*
* @public
*/
export declare class GetReusableDelegationSetLimitCommand extends GetReusableDelegationSetLimitCommand_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: GetReusableDelegationSetLimitRequest;
output: GetReusableDelegationSetLimitResponse;
};
sdk: {
input: GetReusableDelegationSetLimitCommandInput;
output: GetReusableDelegationSetLimitCommandOutput;
};
};
}