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.CreateProject

Description

Creates a project.

Synopsis

Creating a Request

data CreateProject Source #

Represents a request to the create project operation.

See: newCreateProject smart constructor.

Constructors

CreateProject' 

Fields

  • defaultJobTimeoutMinutes :: Maybe Int

    Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.

  • name :: Text

    The project's name.

Instances

Instances details
Eq CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Read CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Show CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Generic CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Associated Types

type Rep CreateProject :: Type -> Type #

NFData CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Methods

rnf :: CreateProject -> () #

Hashable CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

ToJSON CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

AWSRequest CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Associated Types

type AWSResponse CreateProject #

ToHeaders CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

ToPath CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

ToQuery CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

type Rep CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

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

Defined in Amazonka.DeviceFarm.CreateProject

newCreateProject Source #

Create a value of CreateProject 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:defaultJobTimeoutMinutes:CreateProject', createProject_defaultJobTimeoutMinutes - Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.

$sel:name:CreateProject', createProject_name - The project's name.

Request Lenses

createProject_defaultJobTimeoutMinutes :: Lens' CreateProject (Maybe Int) Source #

Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.

Destructuring the Response

data CreateProjectResponse Source #

Represents the result of a create project request.

See: newCreateProjectResponse smart constructor.

Constructors

CreateProjectResponse' 

Fields

Instances

Instances details
Eq CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Read CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Show CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Generic CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Associated Types

type Rep CreateProjectResponse :: Type -> Type #

NFData CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Methods

rnf :: CreateProjectResponse -> () #

type Rep CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

type Rep CreateProjectResponse = D1 ('MetaData "CreateProjectResponse" "Amazonka.DeviceFarm.CreateProject" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "CreateProjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Project)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateProjectResponse Source #

Create a value of CreateProjectResponse 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:CreateProjectResponse', createProjectResponse_project - The newly created project.

$sel:httpStatus:CreateProjectResponse', createProjectResponse_httpStatus - The response's http status code.

Response Lenses