| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.GetUpload
Description
Gets information about an upload.
Synopsis
- data GetUpload = GetUpload' {}
- newGetUpload :: Text -> GetUpload
- getUpload_arn :: Lens' GetUpload Text
- data GetUploadResponse = GetUploadResponse' {
- upload :: Maybe Upload
- httpStatus :: Int
- newGetUploadResponse :: Int -> GetUploadResponse
- getUploadResponse_upload :: Lens' GetUploadResponse (Maybe Upload)
- getUploadResponse_httpStatus :: Lens' GetUploadResponse Int
Creating a Request
Represents a request to the get upload operation.
See: newGetUpload smart constructor.
Constructors
| GetUpload' | |
Instances
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:
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
Arguments
| :: Int | |
| -> GetUploadResponse |
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.