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

Description

Gets information about an upload.

Synopsis

Creating a Request

data GetUpload Source #

Represents a request to the get upload operation.

See: newGetUpload smart constructor.

Constructors

GetUpload' 

Fields

Instances

Instances details
Eq GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Read GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Show GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Generic GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Associated Types

type Rep GetUpload :: Type -> Type #

NFData GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Methods

rnf :: GetUpload -> () #

Hashable GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

ToJSON GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

AWSRequest GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Associated Types

type AWSResponse GetUpload #

ToHeaders GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Methods

toHeaders :: GetUpload -> [Header] #

ToPath GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

ToQuery GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

type Rep GetUpload Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

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

Defined in Amazonka.DeviceFarm.GetUpload

newGetUpload Source #

Create a value of GetUpload 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:GetUpload', getUpload_arn - The upload's ARN.

Request Lenses

Destructuring the Response

data GetUploadResponse Source #

Represents the result of a get upload request.

See: newGetUploadResponse smart constructor.

Constructors

GetUploadResponse' 

Fields

Instances

Instances details
Eq GetUploadResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Show GetUploadResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Generic GetUploadResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Associated Types

type Rep GetUploadResponse :: Type -> Type #

NFData GetUploadResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

Methods

rnf :: GetUploadResponse -> () #

type Rep GetUploadResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetUpload

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

newGetUploadResponse Source #

Create a value of GetUploadResponse 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:upload:GetUploadResponse', getUploadResponse_upload - An app or a set of one or more tests to upload or that have been uploaded.

$sel:httpStatus:GetUploadResponse', getUploadResponse_httpStatus - The response's http status code.

Response Lenses

getUploadResponse_upload :: Lens' GetUploadResponse (Maybe Upload) Source #

An app or a set of one or more tests to upload or that have been uploaded.

getUploadResponse_httpStatus :: Lens' GetUploadResponse Int Source #

The response's http status code.