| 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.IoTSiteWise.DescribeProject
Description
Retrieves information about a project.
Synopsis
- data DescribeProject = DescribeProject' {}
- newDescribeProject :: Text -> DescribeProject
- describeProject_projectId :: Lens' DescribeProject Text
- data DescribeProjectResponse = DescribeProjectResponse' {}
- newDescribeProjectResponse :: Int -> Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> DescribeProjectResponse
- describeProjectResponse_projectDescription :: Lens' DescribeProjectResponse (Maybe Text)
- describeProjectResponse_httpStatus :: Lens' DescribeProjectResponse Int
- describeProjectResponse_projectId :: Lens' DescribeProjectResponse Text
- describeProjectResponse_projectArn :: Lens' DescribeProjectResponse Text
- describeProjectResponse_projectName :: Lens' DescribeProjectResponse Text
- describeProjectResponse_portalId :: Lens' DescribeProjectResponse Text
- describeProjectResponse_projectCreationDate :: Lens' DescribeProjectResponse UTCTime
- describeProjectResponse_projectLastUpdateDate :: Lens' DescribeProjectResponse UTCTime
Creating a Request
data DescribeProject Source #
See: newDescribeProject smart constructor.
Constructors
| DescribeProject' | |
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_projectId - The ID of the project.
Request Lenses
describeProject_projectId :: Lens' DescribeProject Text Source #
The ID of the project.
Destructuring the Response
data DescribeProjectResponse Source #
See: newDescribeProjectResponse smart constructor.
Constructors
| DescribeProjectResponse' | |
Fields
| |
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:projectDescription:DescribeProjectResponse', describeProjectResponse_projectDescription - The project's description.
$sel:httpStatus:DescribeProjectResponse', describeProjectResponse_httpStatus - The response's http status code.
DescribeProject, describeProjectResponse_projectId - The ID of the project.
$sel:projectArn:DescribeProjectResponse', describeProjectResponse_projectArn - The
ARN
of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}$sel:projectName:DescribeProjectResponse', describeProjectResponse_projectName - The name of the project.
$sel:portalId:DescribeProjectResponse', describeProjectResponse_portalId - The ID of the portal that the project is in.
$sel:projectCreationDate:DescribeProjectResponse', describeProjectResponse_projectCreationDate - The date the project was created, in Unix epoch time.
$sel:projectLastUpdateDate:DescribeProjectResponse', describeProjectResponse_projectLastUpdateDate - The date the project was last updated, in Unix epoch time.
Response Lenses
describeProjectResponse_projectDescription :: Lens' DescribeProjectResponse (Maybe Text) Source #
The project's description.
describeProjectResponse_httpStatus :: Lens' DescribeProjectResponse Int Source #
The response's http status code.
describeProjectResponse_projectId :: Lens' DescribeProjectResponse Text Source #
The ID of the project.
describeProjectResponse_projectArn :: Lens' DescribeProjectResponse Text Source #
The ARN of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}describeProjectResponse_projectName :: Lens' DescribeProjectResponse Text Source #
The name of the project.
describeProjectResponse_portalId :: Lens' DescribeProjectResponse Text Source #
The ID of the portal that the project is in.
describeProjectResponse_projectCreationDate :: Lens' DescribeProjectResponse UTCTime Source #
The date the project was created, in Unix epoch time.
describeProjectResponse_projectLastUpdateDate :: Lens' DescribeProjectResponse UTCTime Source #
The date the project was last updated, in Unix epoch time.