import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client"; import type { GetDomainNameRequest, GetDomainNameResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDomainNameCommand}. */ export interface GetDomainNameCommandInput extends GetDomainNameRequest { } /** * @public * * The output of {@link GetDomainNameCommand}. */ export interface GetDomainNameCommandOutput extends GetDomainNameResponse, __MetadataBearer { } declare const GetDomainNameCommand_base: { new (input: GetDomainNameCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetDomainNameCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets a domain name.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApiGatewayV2Client, GetDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import * // const { ApiGatewayV2Client, GetDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import * // import type { ApiGatewayV2ClientConfig } from "@aws-sdk/client-apigatewayv2"; * const config = {}; // type is ApiGatewayV2ClientConfig * const client = new ApiGatewayV2Client(config); * const input = { // GetDomainNameRequest * DomainName: "STRING_VALUE", // required * }; * const command = new GetDomainNameCommand(input); * const response = await client.send(command); * // { // GetDomainNameResponse * // ApiMappingSelectionExpression: "STRING_VALUE", * // DomainName: "STRING_VALUE", * // DomainNameArn: "STRING_VALUE", * // DomainNameConfigurations: [ // DomainNameConfigurations * // { // DomainNameConfiguration * // ApiGatewayDomainName: "STRING_VALUE", * // CertificateArn: "STRING_VALUE", * // CertificateName: "STRING_VALUE", * // CertificateUploadDate: new Date("TIMESTAMP"), * // DomainNameStatus: "AVAILABLE" || "UPDATING" || "PENDING_CERTIFICATE_REIMPORT" || "PENDING_OWNERSHIP_VERIFICATION", * // DomainNameStatusMessage: "STRING_VALUE", * // EndpointType: "REGIONAL" || "EDGE", * // HostedZoneId: "STRING_VALUE", * // IpAddressType: "ipv4" || "dualstack", * // SecurityPolicy: "TLS_1_0" || "TLS_1_2", * // OwnershipVerificationCertificateArn: "STRING_VALUE", * // }, * // ], * // MutualTlsAuthentication: { // MutualTlsAuthentication * // TruststoreUri: "STRING_VALUE", * // TruststoreVersion: "STRING_VALUE", * // TruststoreWarnings: [ // __listOf__string * // "STRING_VALUE", * // ], * // }, * // RoutingMode: "API_MAPPING_ONLY" || "ROUTING_RULE_ONLY" || "ROUTING_RULE_THEN_API_MAPPING", * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetDomainNameCommandInput - {@link GetDomainNameCommandInput} * @returns {@link GetDomainNameCommandOutput} * @see {@link GetDomainNameCommandInput} for command's `input` shape. * @see {@link GetDomainNameCommandOutput} for command's `response` shape. * @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape. * * @throws {@link NotFoundException} (client fault) *

The resource specified in the request was not found. See the message field for more information.

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

A limit has been exceeded. See the accompanying error message for details.

* * @throws {@link ApiGatewayV2ServiceException} *

Base exception class for all service exceptions from ApiGatewayV2 service.

* * * @public */ export declare class GetDomainNameCommand extends GetDomainNameCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDomainNameRequest; output: GetDomainNameResponse; }; sdk: { input: GetDomainNameCommandInput; output: GetDomainNameCommandOutput; }; }; }