import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListWhatsAppTemplateLibraryInput, ListWhatsAppTemplateLibraryOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListWhatsAppTemplateLibraryCommand}. */ export interface ListWhatsAppTemplateLibraryCommandInput extends ListWhatsAppTemplateLibraryInput { } /** * @public * * The output of {@link ListWhatsAppTemplateLibraryCommand}. */ export interface ListWhatsAppTemplateLibraryCommandOutput extends ListWhatsAppTemplateLibraryOutput, __MetadataBearer { } declare const ListWhatsAppTemplateLibraryCommand_base: { new (input: ListWhatsAppTemplateLibraryCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListWhatsAppTemplateLibraryCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists templates available in Meta's template library for WhatsApp messaging.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SocialMessagingClient, ListWhatsAppTemplateLibraryCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import * // const { SocialMessagingClient, ListWhatsAppTemplateLibraryCommand } = 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 = { // ListWhatsAppTemplateLibraryInput * nextToken: "STRING_VALUE", * maxResults: Number("int"), * id: "STRING_VALUE", // required * filters: { // Filter * "": "STRING_VALUE", * }, * }; * const command = new ListWhatsAppTemplateLibraryCommand(input); * const response = await client.send(command); * // { // ListWhatsAppTemplateLibraryOutput * // metaLibraryTemplates: [ // MetaLibraryTemplatesList * // { // MetaLibraryTemplateDefinition * // templateName: "STRING_VALUE", * // templateLanguage: "STRING_VALUE", * // templateCategory: "STRING_VALUE", * // templateTopic: "STRING_VALUE", * // templateUseCase: "STRING_VALUE", * // templateIndustry: [ // MetaIndustries * // "STRING_VALUE", * // ], * // templateHeader: "STRING_VALUE", * // templateBody: "STRING_VALUE", * // templateButtons: [ // MetaLibraryTemplateButtonList * // { // LibraryTemplateButtonList * // type: "STRING_VALUE", * // text: "STRING_VALUE", * // phoneNumber: "STRING_VALUE", * // url: "STRING_VALUE", * // otpType: "STRING_VALUE", * // zeroTapTermsAccepted: true || false, * // supportedApps: [ // SupportedApps * // { // SupportedApp * // "": "STRING_VALUE", * // }, * // ], * // }, * // ], * // templateId: "STRING_VALUE", * // templateBodyExampleParams: [ // MetaTemplateBodyExampleParams * // "STRING_VALUE", * // ], * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListWhatsAppTemplateLibraryCommandInput - {@link ListWhatsAppTemplateLibraryCommandInput} * @returns {@link ListWhatsAppTemplateLibraryCommandOutput} * @see {@link ListWhatsAppTemplateLibraryCommandInput} for command's `input` shape. * @see {@link ListWhatsAppTemplateLibraryCommandOutput} 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 ListWhatsAppTemplateLibraryCommand extends ListWhatsAppTemplateLibraryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListWhatsAppTemplateLibraryInput; output: ListWhatsAppTemplateLibraryOutput; }; sdk: { input: ListWhatsAppTemplateLibraryCommandInput; output: ListWhatsAppTemplateLibraryCommandOutput; }; }; }