Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Instances
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:
$sel:arn: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.
GetProjectResponse' | |
|
Instances
newGetProjectResponse Source #
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.