import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PhoneNumberValidateRequest, PhoneNumberValidateResponse } from "../models/models_1"; import type { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link PhoneNumberValidateCommand}. */ export interface PhoneNumberValidateCommandInput extends PhoneNumberValidateRequest { } /** * @public * * The output of {@link PhoneNumberValidateCommand}. */ export interface PhoneNumberValidateCommandOutput extends PhoneNumberValidateResponse, __MetadataBearer { } declare const PhoneNumberValidateCommand_base: { new (input: PhoneNumberValidateCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: PhoneNumberValidateCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves information about a phone number.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PinpointClient, PhoneNumberValidateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import * // const { PinpointClient, PhoneNumberValidateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import * // import type { PinpointClientConfig } from "@aws-sdk/client-pinpoint"; * const config = {}; // type is PinpointClientConfig * const client = new PinpointClient(config); * const input = { // PhoneNumberValidateRequest * NumberValidateRequest: { // NumberValidateRequest * IsoCountryCode: "STRING_VALUE", * PhoneNumber: "STRING_VALUE", * }, * }; * const command = new PhoneNumberValidateCommand(input); * const response = await client.send(command); * // { // PhoneNumberValidateResponse * // NumberValidateResponse: { // NumberValidateResponse * // Carrier: "STRING_VALUE", * // City: "STRING_VALUE", * // CleansedPhoneNumberE164: "STRING_VALUE", * // CleansedPhoneNumberNational: "STRING_VALUE", * // Country: "STRING_VALUE", * // CountryCodeIso2: "STRING_VALUE", * // CountryCodeNumeric: "STRING_VALUE", * // County: "STRING_VALUE", * // OriginalCountryCodeIso2: "STRING_VALUE", * // OriginalPhoneNumber: "STRING_VALUE", * // PhoneType: "STRING_VALUE", * // PhoneTypeCode: Number("int"), * // Timezone: "STRING_VALUE", * // ZipCode: "STRING_VALUE", * // }, * // }; * * ``` * * @param PhoneNumberValidateCommandInput - {@link PhoneNumberValidateCommandInput} * @returns {@link PhoneNumberValidateCommandOutput} * @see {@link PhoneNumberValidateCommandInput} for command's `input` shape. * @see {@link PhoneNumberValidateCommandOutput} for command's `response` shape. * @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

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

Provides information about an API request or response.

* * @throws {@link PinpointServiceException} *

Base exception class for all service exceptions from Pinpoint service.

* * * @public */ export declare class PhoneNumberValidateCommand extends PhoneNumberValidateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PhoneNumberValidateRequest; output: PhoneNumberValidateResponse; }; sdk: { input: PhoneNumberValidateCommandInput; output: PhoneNumberValidateCommandOutput; }; }; }