import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient"; import type { UpdateProjectRequest, UpdateProjectResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateProjectCommand}. */ export interface UpdateProjectCommandInput extends UpdateProjectRequest { } /** * @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 (input: UpdateProjectCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Modifies the specified project name, given the project ARN and a new * name.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, UpdateProjectCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, UpdateProjectCommand } = require("@aws-sdk/client-device-farm"); // CommonJS import * // import type { DeviceFarmClientConfig } from "@aws-sdk/client-device-farm"; * const config = {}; // type is DeviceFarmClientConfig * const client = new DeviceFarmClient(config); * const input = { // UpdateProjectRequest * arn: "STRING_VALUE", // required * name: "STRING_VALUE", * defaultJobTimeoutMinutes: Number("int"), * vpcConfig: { // VpcConfig * securityGroupIds: [ // VpcSecurityGroupIds // required * "STRING_VALUE", * ], * subnetIds: [ // VpcSubnetIds // required * "STRING_VALUE", * ], * vpcId: "STRING_VALUE", // required * }, * environmentVariables: [ // EnvironmentVariables * { // EnvironmentVariable * name: "STRING_VALUE", // required * value: "STRING_VALUE", // required * }, * ], * executionRoleArn: "STRING_VALUE", * }; * const command = new UpdateProjectCommand(input); * const response = await client.send(command); * // { // UpdateProjectResult * // project: { // Project * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // defaultJobTimeoutMinutes: Number("int"), * // created: new Date("TIMESTAMP"), * // vpcConfig: { // VpcConfig * // securityGroupIds: [ // VpcSecurityGroupIds // required * // "STRING_VALUE", * // ], * // subnetIds: [ // VpcSubnetIds // required * // "STRING_VALUE", * // ], * // vpcId: "STRING_VALUE", // required * // }, * // environmentVariables: [ // EnvironmentVariables * // { // EnvironmentVariable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required * // }, * // ], * // executionRoleArn: "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 DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape. * * @throws {@link ArgumentException} (client fault) *

An invalid argument was specified.

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

A limit was exceeded.

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

The specified entity was not found.

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

There was a problem with the service account.

* * @throws {@link DeviceFarmServiceException} *

Base exception class for all service exceptions from DeviceFarm service.

* * * @public */ export declare class UpdateProjectCommand extends UpdateProjectCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateProjectRequest; output: UpdateProjectResult; }; sdk: { input: UpdateProjectCommandInput; output: UpdateProjectCommandOutput; }; }; }