| 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.GetTest
Description
Gets information about a test.
Synopsis
- data GetTest = GetTest' {}
- newGetTest :: Text -> GetTest
- getTest_arn :: Lens' GetTest Text
- data GetTestResponse = GetTestResponse' {
- test :: Maybe Test
- httpStatus :: Int
- newGetTestResponse :: Int -> GetTestResponse
- getTestResponse_test :: Lens' GetTestResponse (Maybe Test)
- getTestResponse_httpStatus :: Lens' GetTestResponse Int
Creating a Request
Represents a request to the get test operation.
See: newGetTest smart constructor.
Instances
Create a value of GetTest 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:
GetTest, getTest_arn - The test's ARN.
Request Lenses
Destructuring the Response
data GetTestResponse Source #
Represents the result of a get test request.
See: newGetTestResponse smart constructor.
Constructors
| GetTestResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetTestResponse |
Create a value of GetTestResponse 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:
GetTestResponse, getTestResponse_test - A test condition that is evaluated.
$sel:httpStatus:GetTestResponse', getTestResponse_httpStatus - The response's http status code.
Response Lenses
getTestResponse_test :: Lens' GetTestResponse (Maybe Test) Source #
A test condition that is evaluated.
getTestResponse_httpStatus :: Lens' GetTestResponse Int Source #
The response's http status code.