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 status information for an Cloud9 development environment.
Synopsis
- data DescribeEnvironmentStatus = DescribeEnvironmentStatus' {}
- newDescribeEnvironmentStatus :: Text -> DescribeEnvironmentStatus
- describeEnvironmentStatus_environmentId :: Lens' DescribeEnvironmentStatus Text
- data DescribeEnvironmentStatusResponse = DescribeEnvironmentStatusResponse' {
- httpStatus :: Int
- status :: EnvironmentStatus
- message :: Text
- newDescribeEnvironmentStatusResponse :: Int -> EnvironmentStatus -> Text -> DescribeEnvironmentStatusResponse
- describeEnvironmentStatusResponse_httpStatus :: Lens' DescribeEnvironmentStatusResponse Int
- describeEnvironmentStatusResponse_status :: Lens' DescribeEnvironmentStatusResponse EnvironmentStatus
- describeEnvironmentStatusResponse_message :: Lens' DescribeEnvironmentStatusResponse Text
Creating a Request
data DescribeEnvironmentStatus Source #
See: newDescribeEnvironmentStatus
smart constructor.
DescribeEnvironmentStatus' | |
|
Instances
newDescribeEnvironmentStatus Source #
Create a value of DescribeEnvironmentStatus
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:environmentId:DescribeEnvironmentStatus'
, describeEnvironmentStatus_environmentId
- The ID of the environment to get status information about.
Request Lenses
describeEnvironmentStatus_environmentId :: Lens' DescribeEnvironmentStatus Text Source #
The ID of the environment to get status information about.
Destructuring the Response
data DescribeEnvironmentStatusResponse Source #
See: newDescribeEnvironmentStatusResponse
smart constructor.
DescribeEnvironmentStatusResponse' | |
|
Instances
newDescribeEnvironmentStatusResponse Source #
Create a value of DescribeEnvironmentStatusResponse
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:DescribeEnvironmentStatusResponse'
, describeEnvironmentStatusResponse_httpStatus
- The response's http status code.
$sel:status:DescribeEnvironmentStatusResponse'
, describeEnvironmentStatusResponse_status
- The status of the environment. Available values include:
connecting
: The environment is connecting.creating
: The environment is being created.deleting
: The environment is being deleted.error
: The environment is in an error state.ready
: The environment is ready.stopped
: The environment is stopped.stopping
: The environment is stopping.
$sel:message:DescribeEnvironmentStatusResponse'
, describeEnvironmentStatusResponse_message
- Any informational message about the status of the environment.
Response Lenses
describeEnvironmentStatusResponse_httpStatus :: Lens' DescribeEnvironmentStatusResponse Int Source #
The response's http status code.
describeEnvironmentStatusResponse_status :: Lens' DescribeEnvironmentStatusResponse EnvironmentStatus Source #
The status of the environment. Available values include:
connecting
: The environment is connecting.creating
: The environment is being created.deleting
: The environment is being deleted.error
: The environment is in an error state.ready
: The environment is ready.stopped
: The environment is stopped.stopping
: The environment is stopping.
describeEnvironmentStatusResponse_message :: Lens' DescribeEnvironmentStatusResponse Text Source #
Any informational message about the status of the environment.