import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetWhatsAppFlowInput, GetWhatsAppFlowOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetWhatsAppFlowCommand}. */ export interface GetWhatsAppFlowCommandInput extends GetWhatsAppFlowInput { } /** * @public * * The output of {@link GetWhatsAppFlowCommand}. */ export interface GetWhatsAppFlowCommandOutput extends GetWhatsAppFlowOutput, __MetadataBearer { } declare const GetWhatsAppFlowCommand_base: { new (input: GetWhatsAppFlowCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetWhatsAppFlowCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves the metadata and status of a WhatsApp Flow, including validation errors, preview information, and health status.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SocialMessagingClient, GetWhatsAppFlowCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import * // const { SocialMessagingClient, GetWhatsAppFlowCommand } = 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 = { // GetWhatsAppFlowInput * id: "STRING_VALUE", // required * flowId: "STRING_VALUE", // required * }; * const command = new GetWhatsAppFlowCommand(input); * const response = await client.send(command); * // { // GetWhatsAppFlowOutput * // flowId: "STRING_VALUE", // required * // flowName: "STRING_VALUE", // required * // flowStatus: "STRING_VALUE", // required * // categories: [ // MetaFlowCategoryList * // "SIGN_UP" || "SIGN_IN" || "APPOINTMENT_BOOKING" || "LEAD_GENERATION" || "SHOPPING" || "CONTACT_US" || "CUSTOMER_SUPPORT" || "SURVEY" || "OTHER", * // ], * // validationErrors: [ // ValidationErrorList * // "STRING_VALUE", * // ], * // jsonVersion: "STRING_VALUE", * // dataApiVersion: "STRING_VALUE", * // endpointUri: "STRING_VALUE", * // preview: { // MetaFlowPreviewInfo * // previewUrl: "STRING_VALUE", // required * // expiresAt: "STRING_VALUE", // required * // }, * // whatsAppBusinessAccount: { // MetaFlowWhatsAppBusinessAccountInfo * // id: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // currency: "STRING_VALUE", * // timezoneId: "STRING_VALUE", * // messageTemplateNamespace: "STRING_VALUE", * // }, * // application: { // MetaFlowApplicationInfo * // link: "STRING_VALUE", * // name: "STRING_VALUE", // required * // id: "STRING_VALUE", // required * // }, * // healthStatus: { // MetaFlowHealthStatus * // canSendMessage: "STRING_VALUE", // required * // entities: [ // MetaFlowHealthEntityList * // { // MetaFlowHealthEntity * // entityType: "STRING_VALUE", // required * // id: "STRING_VALUE", // required * // canSendMessage: "STRING_VALUE", // required * // }, * // ], * // }, * // }; * * ``` * * @param GetWhatsAppFlowCommandInput - {@link GetWhatsAppFlowCommandInput} * @returns {@link GetWhatsAppFlowCommandOutput} * @see {@link GetWhatsAppFlowCommandInput} for command's `input` shape. * @see {@link GetWhatsAppFlowCommandOutput} for command's `response` shape. * @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape. * * @throws {@link AccessDeniedByMetaException} (client fault) *

You do not have sufficient access to perform this action.

* * @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 GetWhatsAppFlowCommand extends GetWhatsAppFlowCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetWhatsAppFlowInput; output: GetWhatsAppFlowOutput; }; sdk: { input: GetWhatsAppFlowCommandInput; output: GetWhatsAppFlowCommandOutput; }; }; }