| 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.GetProject
Description
Gets information about a project.
Synopsis
- data GetProject = GetProject' {}
- newGetProject :: Text -> GetProject
- getProject_arn :: Lens' GetProject Text
- data GetProjectResponse = GetProjectResponse' {
- project :: Maybe Project
- httpStatus :: Int
- newGetProjectResponse :: Int -> GetProjectResponse
- getProjectResponse_project :: Lens' GetProjectResponse (Maybe Project)
- getProjectResponse_httpStatus :: Lens' GetProjectResponse Int
Creating a Request
data GetProject Source #
Represents a request to the get project operation.
See: newGetProject smart constructor.
Constructors
| GetProject' | |
Instances
Arguments
| :: Text | |
| -> GetProject |
Create a value of GetProject 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:
GetProject, getProject_arn - The project's ARN.
Request Lenses
getProject_arn :: Lens' GetProject Text Source #
The project's ARN.
Destructuring the Response
data GetProjectResponse Source #
Represents the result of a get project request.
See: newGetProjectResponse smart constructor.
Constructors
| GetProjectResponse' | |
Fields
| |
Instances
newGetProjectResponse Source #
Arguments
| :: Int | |
| -> GetProjectResponse |
Create a value of GetProjectResponse 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:GetProjectResponse', getProjectResponse_project - The project to get information about.
$sel:httpStatus:GetProjectResponse', getProjectResponse_httpStatus - The response's http status code.
Response Lenses
getProjectResponse_project :: Lens' GetProjectResponse (Maybe Project) Source #
The project to get information about.
getProjectResponse_httpStatus :: Lens' GetProjectResponse Int Source #
The response's http status code.