import { Command as $Command } from "@smithy/smithy-client"; import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types"; import { MobileClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MobileClient"; import { UpdateProjectRequest, UpdateProjectResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public */ export type UpdateProjectCommandInputType = Omit & { contents?: BlobPayloadInputTypes; }; /** * @public * * The input for {@link UpdateProjectCommand}. */ export interface UpdateProjectCommandInput extends UpdateProjectCommandInputType { } /** * @public * * The output of {@link UpdateProjectCommand}. */ export interface UpdateProjectCommandOutput extends UpdateProjectResult, __MetadataBearer { } declare const UpdateProjectCommand_base: { new (input: UpdateProjectCommandInput): import("@smithy/smithy-client").CommandImpl; new (__0_0: UpdateProjectCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

* Update an existing project. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MobileClient, UpdateProjectCommand } from "@aws-sdk/client-mobile"; // ES Modules import * // const { MobileClient, UpdateProjectCommand } = require("@aws-sdk/client-mobile"); // CommonJS import * const client = new MobileClient(config); * const input = { // UpdateProjectRequest * contents: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") * projectId: "STRING_VALUE", // required * }; * const command = new UpdateProjectCommand(input); * const response = await client.send(command); * // { // UpdateProjectResult * // details: { // ProjectDetails * // name: "STRING_VALUE", * // projectId: "STRING_VALUE", * // region: "STRING_VALUE", * // state: "NORMAL" || "SYNCING" || "IMPORTING", * // createdDate: new Date("TIMESTAMP"), * // lastUpdatedDate: new Date("TIMESTAMP"), * // consoleUrl: "STRING_VALUE", * // resources: [ // Resources * // { // Resource * // type: "STRING_VALUE", * // name: "STRING_VALUE", * // arn: "STRING_VALUE", * // feature: "STRING_VALUE", * // attributes: { // Attributes * // "": "STRING_VALUE", * // }, * // }, * // ], * // }, * // }; * * ``` * * @param UpdateProjectCommandInput - {@link UpdateProjectCommandInput} * @returns {@link UpdateProjectCommandOutput} * @see {@link UpdateProjectCommandInput} for command's `input` shape. * @see {@link UpdateProjectCommandOutput} for command's `response` shape. * @see {@link MobileClientResolvedConfig | config} for MobileClient's `config` shape. * * @throws {@link AccountActionRequiredException} (client fault) *

* Account Action is required in order to continue the request. *

* * @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 LimitExceededException} (client fault) *

* There are too many AWS Mobile Hub projects in the account or the account has * exceeded the maximum number of resources in some AWS service. You should create * another sub-account using AWS Organizations or remove some resources and retry * your 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 UpdateProjectCommand extends UpdateProjectCommand_base { }