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 |
Returns an object describing a project.
Synopsis
- data DescribeProject = DescribeProject' {
- projectName :: Text
- newDescribeProject :: Text -> DescribeProject
- describeProject_projectName :: Lens' DescribeProject Text
- data DescribeProjectResponse = DescribeProjectResponse' {}
- newDescribeProjectResponse :: Int -> ProjectDescription -> DescribeProjectResponse
- describeProjectResponse_httpStatus :: Lens' DescribeProjectResponse Int
- describeProjectResponse_project :: Lens' DescribeProjectResponse ProjectDescription
Creating a Request
data DescribeProject Source #
See: newDescribeProject
smart constructor.
DescribeProject' | |
|
Instances
Create a value of DescribeProject
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:projectName:DescribeProject'
, describeProject_projectName
- The name of the project to be described.
Request Lenses
describeProject_projectName :: Lens' DescribeProject Text Source #
The name of the project to be described.
Destructuring the Response
data DescribeProjectResponse Source #
See: newDescribeProjectResponse
smart constructor.
DescribeProjectResponse' | |
|
Instances
newDescribeProjectResponse Source #
Create a value of DescribeProjectResponse
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:httpStatus:DescribeProjectResponse'
, describeProjectResponse_httpStatus
- The response's http status code.
$sel:project:DescribeProjectResponse'
, describeProjectResponse_project
- An object describing the project.
Response Lenses
describeProjectResponse_httpStatus :: Lens' DescribeProjectResponse Int Source #
The response's http status code.
describeProjectResponse_project :: Lens' DescribeProjectResponse ProjectDescription Source #
An object describing the project.