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

  • vpcConfig :: Maybe VpcConfig

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

  • name :: Text

    The project's name.

Instances

Instances details
ToJSON CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.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

AWSRequest CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Associated Types

type AWSResponse CreateProject #

Generic CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Associated Types

type Rep CreateProject :: Type -> Type #

Read CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Show CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

NFData CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Methods

rnf :: CreateProject -> () #

Eq CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Hashable CreateProject Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

type AWSResponse 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" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "CreateProject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultJobTimeoutMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

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.

CreateProject, createProject_vpcConfig - The VPC security groups and subnets that are attached to a project.

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.

createProject_vpcConfig :: Lens' CreateProject (Maybe VpcConfig) Source #

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

Destructuring the Response

data CreateProjectResponse Source #

Represents the result of a create project request.

See: newCreateProjectResponse smart constructor.

Constructors

CreateProjectResponse' 

Fields

Instances

Instances details
Generic CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Associated Types

type Rep CreateProjectResponse :: Type -> Type #

Read CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Show CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

NFData CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

Methods

rnf :: CreateProjectResponse -> () #

Eq CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

type Rep CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateProject

type Rep CreateProjectResponse = D1 ('MetaData "CreateProjectResponse" "Amazonka.DeviceFarm.CreateProject" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" '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