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 Cloud9 development environments.
Synopsis
- data DescribeEnvironments = DescribeEnvironments' {}
- newDescribeEnvironments :: NonEmpty Text -> DescribeEnvironments
- describeEnvironments_environmentIds :: Lens' DescribeEnvironments (NonEmpty Text)
- data DescribeEnvironmentsResponse = DescribeEnvironmentsResponse' {
- environments :: Maybe [Environment]
- httpStatus :: Int
- newDescribeEnvironmentsResponse :: Int -> DescribeEnvironmentsResponse
- describeEnvironmentsResponse_environments :: Lens' DescribeEnvironmentsResponse (Maybe [Environment])
- describeEnvironmentsResponse_httpStatus :: Lens' DescribeEnvironmentsResponse Int
Creating a Request
data DescribeEnvironments Source #
See: newDescribeEnvironments
smart constructor.
DescribeEnvironments' | |
|
Instances
newDescribeEnvironments Source #
Create a value of DescribeEnvironments
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:environmentIds:DescribeEnvironments'
, describeEnvironments_environmentIds
- The IDs of individual environments to get information about.
Request Lenses
describeEnvironments_environmentIds :: Lens' DescribeEnvironments (NonEmpty Text) Source #
The IDs of individual environments to get information about.
Destructuring the Response
data DescribeEnvironmentsResponse Source #
See: newDescribeEnvironmentsResponse
smart constructor.
DescribeEnvironmentsResponse' | |
|
Instances
newDescribeEnvironmentsResponse Source #
Create a value of DescribeEnvironmentsResponse
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:environments:DescribeEnvironmentsResponse'
, describeEnvironmentsResponse_environments
- Information about the environments that are returned.
$sel:httpStatus:DescribeEnvironmentsResponse'
, describeEnvironmentsResponse_httpStatus
- The response's http status code.
Response Lenses
describeEnvironmentsResponse_environments :: Lens' DescribeEnvironmentsResponse (Maybe [Environment]) Source #
Information about the environments that are returned.
describeEnvironmentsResponse_httpStatus :: Lens' DescribeEnvironmentsResponse Int Source #
The response's http status code.