import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetLinkedWhatsAppBusinessAccountPhoneNumberInput, GetLinkedWhatsAppBusinessAccountPhoneNumberOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetLinkedWhatsAppBusinessAccountPhoneNumberCommand}. */ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput extends GetLinkedWhatsAppBusinessAccountPhoneNumberInput { } /** * @public * * The output of {@link GetLinkedWhatsAppBusinessAccountPhoneNumberCommand}. */ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput extends GetLinkedWhatsAppBusinessAccountPhoneNumberOutput, __MetadataBearer { } declare const GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_base: { new (input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieve the WABA account id and phone number details of a WhatsApp business account phone number.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SocialMessagingClient, GetLinkedWhatsAppBusinessAccountPhoneNumberCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import * // const { SocialMessagingClient, GetLinkedWhatsAppBusinessAccountPhoneNumberCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import * // import type { SocialMessagingClientConfig } from "@aws-sdk/client-socialmessaging"; * const config = {}; // type is SocialMessagingClientConfig * const client = new SocialMessagingClient(config); * const input = { // GetLinkedWhatsAppBusinessAccountPhoneNumberInput * id: "STRING_VALUE", // required * }; * const command = new GetLinkedWhatsAppBusinessAccountPhoneNumberCommand(input); * const response = await client.send(command); * // { // GetLinkedWhatsAppBusinessAccountPhoneNumberOutput * // phoneNumber: { // WhatsAppPhoneNumberDetail * // arn: "STRING_VALUE", // required * // phoneNumber: "STRING_VALUE", // required * // phoneNumberId: "STRING_VALUE", // required * // metaPhoneNumberId: "STRING_VALUE", // required * // displayPhoneNumberName: "STRING_VALUE", // required * // displayPhoneNumber: "STRING_VALUE", // required * // qualityRating: "STRING_VALUE", // required * // dataLocalizationRegion: "STRING_VALUE", * // }, * // linkedWhatsAppBusinessAccountId: "STRING_VALUE", * // callSettings: { // WhatsAppCallSettings * // callEnabled: true || false, // required * // callHours: { // WhatsAppCallHours * // enabled: true || false, // required * // timezone: "STRING_VALUE", // required * // weeklyOperatingHours: [ // WhatsAppWeeklyOperatingHoursList // required * // { // WhatsAppWeeklyOperatingHoursEntry * // dayOfWeek: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required * // openTime: { // WhatsAppTimeOfDay * // hours: Number("int"), // required * // minutes: Number("int"), // required * // }, * // closeTime: { * // hours: Number("int"), // required * // minutes: Number("int"), // required * // }, * // }, * // ], * // holidaySchedule: [ // WhatsAppHolidayScheduleList * // { // WhatsAppHolidayScheduleEntry * // date: "STRING_VALUE", // required * // startTime: { * // hours: Number("int"), // required * // minutes: Number("int"), // required * // }, * // endTime: { * // hours: Number("int"), // required * // minutes: Number("int"), // required * // }, * // }, * // ], * // }, * // callIconVisibility: "STRING_VALUE", * // callbackPermissionStatus: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput - {@link GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput} * @returns {@link GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput} * @see {@link GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput} for command's `input` shape. * @see {@link GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput} for command's `response` shape. * @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape. * * @throws {@link DependencyException} (server fault) *

Thrown when performing an action because a dependency would be broken.

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

The request processing has failed because of an unknown error, exception, or * failure.

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

One or more parameters provided to the action are not valid.

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

The resource was not found.

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

The request was denied due to request throttling.

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

You do not have sufficient access to perform this action.

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

The request contains an invalid parameter value.

* * @throws {@link SocialMessagingServiceException} *

Base exception class for all service exceptions from SocialMessaging service.

* * * @public */ export declare class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetLinkedWhatsAppBusinessAccountPhoneNumberInput; output: GetLinkedWhatsAppBusinessAccountPhoneNumberOutput; }; sdk: { input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput; output: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput; }; }; }