amazonka-devicefarm-2.0: Amazon Device Farm SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DeviceFarm.UpdateProject

Description

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

Synopsis

Creating a Request

data UpdateProject Source #

Represents a request to the update project operation.

See: newUpdateProject smart constructor.

Constructors

UpdateProject' 

Fields

  • defaultJobTimeoutMinutes :: Maybe Int

    The number of minutes a test run in the project executes before it times out.

  • name :: Maybe Text

    A string that represents the new name of the project that you are updating.

  • vpcConfig :: Maybe VpcConfig

    The VPC security groups and subnets that are attached to a project.

  • arn :: Text

    The Amazon Resource Name (ARN) of the project whose name to update.

Instances

Instances details
ToJSON UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

ToHeaders UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

ToPath UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

ToQuery UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

AWSRequest UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Associated Types

type AWSResponse UpdateProject #

Generic UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Associated Types

type Rep UpdateProject :: Type -> Type #

Read UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Show UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

NFData UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Methods

rnf :: UpdateProject -> () #

Eq UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Hashable UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

type AWSResponse UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

type Rep UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

type Rep UpdateProject = D1 ('MetaData "UpdateProject" "Amazonka.DeviceFarm.UpdateProject" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "UpdateProject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultJobTimeoutMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateProject Source #

Create a value of UpdateProject with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateProject, updateProject_defaultJobTimeoutMinutes - The number of minutes a test run in the project executes before it times out.

UpdateProject, updateProject_name - A string that represents the new name of the project that you are updating.

UpdateProject, updateProject_vpcConfig - The VPC security groups and subnets that are attached to a project.

UpdateProject, updateProject_arn - The Amazon Resource Name (ARN) of the project whose name to update.

Request Lenses

updateProject_defaultJobTimeoutMinutes :: Lens' UpdateProject (Maybe Int) Source #

The number of minutes a test run in the project executes before it times out.

updateProject_name :: Lens' UpdateProject (Maybe Text) Source #

A string that represents the new name of the project that you are updating.

updateProject_vpcConfig :: Lens' UpdateProject (Maybe VpcConfig) Source #

The VPC security groups and subnets that are attached to a project.

updateProject_arn :: Lens' UpdateProject Text Source #

The Amazon Resource Name (ARN) of the project whose name to update.

Destructuring the Response

data UpdateProjectResponse Source #

Represents the result of an update project request.

See: newUpdateProjectResponse smart constructor.

Constructors

UpdateProjectResponse' 

Fields

Instances

Instances details
Generic UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Associated Types

type Rep UpdateProjectResponse :: Type -> Type #

Read UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Show UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

NFData UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Methods

rnf :: UpdateProjectResponse -> () #

Eq UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

type Rep UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

type Rep UpdateProjectResponse = D1 ('MetaData "UpdateProjectResponse" "Amazonka.DeviceFarm.UpdateProject" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "UpdateProjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Project)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateProjectResponse Source #

Create a value of UpdateProjectResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:project:UpdateProjectResponse', updateProjectResponse_project - The project to update.

$sel:httpStatus:UpdateProjectResponse', updateProjectResponse_httpStatus - The response's http status code.

Response Lenses