| 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.IoT1ClickProjects.DescribeProject
Description
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.
Constructors
| DescribeProject' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeProject |
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:
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.
Constructors
| DescribeProjectResponse' | |
Fields
| |
Instances
newDescribeProjectResponse Source #
Arguments
| :: Int | |
| -> ProjectDescription | |
| -> DescribeProjectResponse |
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.