import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { MobileClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MobileClient"; import { ExportProjectRequest, ExportProjectResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ExportProjectCommand}. */ export interface ExportProjectCommandInput extends ExportProjectRequest { } /** * @public * * The output of {@link ExportProjectCommand}. */ export interface ExportProjectCommandOutput extends ExportProjectResult, __MetadataBearer { } declare const ExportProjectCommand_base: { new (input: ExportProjectCommandInput): import("@smithy/smithy-client").CommandImpl; new (__0_0: ExportProjectCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

* Exports project configuration to a snapshot which can be downloaded and shared. * Note that mobile app push credentials are encrypted in exported projects, so they * can only be shared successfully within the same AWS account. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MobileClient, ExportProjectCommand } from "@aws-sdk/client-mobile"; // ES Modules import * // const { MobileClient, ExportProjectCommand } = require("@aws-sdk/client-mobile"); // CommonJS import * const client = new MobileClient(config); * const input = { // ExportProjectRequest * projectId: "STRING_VALUE", // required * }; * const command = new ExportProjectCommand(input); * const response = await client.send(command); * // { // ExportProjectResult * // downloadUrl: "STRING_VALUE", * // shareUrl: "STRING_VALUE", * // snapshotId: "STRING_VALUE", * // }; * * ``` * * @param ExportProjectCommandInput - {@link ExportProjectCommandInput} * @returns {@link ExportProjectCommandOutput} * @see {@link ExportProjectCommandInput} for command's `input` shape. * @see {@link ExportProjectCommandOutput} 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 NotFoundException} (client fault) *

* No entity can be found with the specified identifier. *

* * @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 ExportProjectCommand extends ExportProjectCommand_base { }