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

* Lists projects in AWS Mobile Hub. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MobileClient, ListProjectsCommand } from "@aws-sdk/client-mobile"; // ES Modules import * // const { MobileClient, ListProjectsCommand } = require("@aws-sdk/client-mobile"); // CommonJS import * const client = new MobileClient(config); * const input = { // ListProjectsRequest * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListProjectsCommand(input); * const response = await client.send(command); * // { // ListProjectsResult * // projects: [ // ProjectSummaries * // { // ProjectSummary * // name: "STRING_VALUE", * // projectId: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListProjectsCommandInput - {@link ListProjectsCommandInput} * @returns {@link ListProjectsCommandOutput} * @see {@link ListProjectsCommandInput} for command's `input` shape. * @see {@link ListProjectsCommandOutput} 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 ListProjectsCommand extends ListProjectsCommand_base { }