libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • name :: Maybe Text

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

  • defaultJobTimeoutMinutes :: Maybe Int

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

  • arn :: Text

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

Instances

Instances details
Eq UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Read UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Show UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Generic UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Associated Types

type Rep UpdateProject :: Type -> Type #

NFData UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Methods

rnf :: UpdateProject -> () #

Hashable UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

ToJSON UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

AWSRequest UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Associated Types

type AWSResponse 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

type Rep UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

type Rep UpdateProject = D1 ('MetaData "UpdateProject" "Amazonka.DeviceFarm.UpdateProject" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "UpdateProject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "defaultJobTimeoutMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

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:

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

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

$sel:arn:UpdateProject', updateProject_arn - The Amazon Resource Name (ARN) of the project whose name to update.

Request Lenses

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

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

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

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

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
Eq UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Read UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Show UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Generic UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Associated Types

type Rep UpdateProjectResponse :: Type -> Type #

NFData UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

Methods

rnf :: UpdateProjectResponse -> () #

type Rep UpdateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.UpdateProject

type Rep UpdateProjectResponse = D1 ('MetaData "UpdateProjectResponse" "Amazonka.DeviceFarm.UpdateProject" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" '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