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

Description

Gets information about a job.

Synopsis

Creating a Request

data GetJob Source #

Represents a request to the get job operation.

See: newGetJob smart constructor.

Constructors

GetJob' 

Fields

Instances

Instances details
Eq GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Methods

(==) :: GetJob -> GetJob -> Bool #

(/=) :: GetJob -> GetJob -> Bool #

Read GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Show GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Generic GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Associated Types

type Rep GetJob :: Type -> Type #

Methods

from :: GetJob -> Rep GetJob x #

to :: Rep GetJob x -> GetJob #

NFData GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Methods

rnf :: GetJob -> () #

Hashable GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Methods

hashWithSalt :: Int -> GetJob -> Int #

hash :: GetJob -> Int #

ToJSON GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

AWSRequest GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Associated Types

type AWSResponse GetJob #

ToHeaders GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Methods

toHeaders :: GetJob -> [Header] #

ToPath GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Methods

toPath :: GetJob -> ByteString #

ToQuery GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

type Rep GetJob Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

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

Defined in Amazonka.DeviceFarm.GetJob

newGetJob Source #

Create a value of GetJob 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:arn:GetJob', getJob_arn - The job's ARN.

Request Lenses

getJob_arn :: Lens' GetJob Text Source #

The job's ARN.

Destructuring the Response

data GetJobResponse Source #

Represents the result of a get job request.

See: newGetJobResponse smart constructor.

Constructors

GetJobResponse' 

Fields

  • job :: Maybe Job

    An object that contains information about the requested job.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetJobResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Read GetJobResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Show GetJobResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Generic GetJobResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Associated Types

type Rep GetJobResponse :: Type -> Type #

NFData GetJobResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

Methods

rnf :: GetJobResponse -> () #

type Rep GetJobResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetJob

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

newGetJobResponse Source #

Create a value of GetJobResponse 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:job:GetJobResponse', getJobResponse_job - An object that contains information about the requested job.

$sel:httpStatus:GetJobResponse', getJobResponse_httpStatus - The response's http status code.

Response Lenses

getJobResponse_job :: Lens' GetJobResponse (Maybe Job) Source #

An object that contains information about the requested job.

getJobResponse_httpStatus :: Lens' GetJobResponse Int Source #

The response's http status code.