import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { MobileClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MobileClient"; import { ListBundlesRequest, ListBundlesResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListBundlesCommand}. */ export interface ListBundlesCommandInput extends ListBundlesRequest { } /** * @public * * The output of {@link ListBundlesCommand}. */ export interface ListBundlesCommandOutput extends ListBundlesResult, __MetadataBearer { } declare const ListBundlesCommand_base: { new (input: ListBundlesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListBundlesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

* List all available bundles. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MobileClient, ListBundlesCommand } from "@aws-sdk/client-mobile"; // ES Modules import * // const { MobileClient, ListBundlesCommand } = require("@aws-sdk/client-mobile"); // CommonJS import * const client = new MobileClient(config); * const input = { // ListBundlesRequest * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListBundlesCommand(input); * const response = await client.send(command); * // { // ListBundlesResult * // bundleList: [ // BundleList * // { // BundleDetails * // bundleId: "STRING_VALUE", * // title: "STRING_VALUE", * // version: "STRING_VALUE", * // description: "STRING_VALUE", * // iconUrl: "STRING_VALUE", * // availablePlatforms: [ // Platforms * // "OSX" || "WINDOWS" || "LINUX" || "OBJC" || "SWIFT" || "ANDROID" || "JAVASCRIPT", * // ], * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListBundlesCommandInput - {@link ListBundlesCommandInput} * @returns {@link ListBundlesCommandOutput} * @see {@link ListBundlesCommandInput} for command's `input` shape. * @see {@link ListBundlesCommandOutput} for command's `response` shape. * @see {@link MobileClientResolvedConfig | config} for MobileClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

* The request cannot be processed because some parameter is not valid or the project * state prevents the operation from being performed. *

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

* The service has encountered an unexpected error condition which prevents it from * servicing the request. *

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

* The service is temporarily unavailable. The request should be retried after some * time delay. *

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

* Too many requests have been received for this AWS account in too short a time. The * request should be retried after some time delay. *

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

* Credentials of the caller are insufficient to authorize the request. *

* * @throws {@link MobileServiceException} *

Base exception class for all service exceptions from Mobile service.

* * @public */ export declare class ListBundlesCommand extends ListBundlesCommand_base { }