Use DescribeEnvironmentStatus with a CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use DescribeEnvironmentStatus with a CLI

The following code examples show how to use DescribeEnvironmentStatus.

CLI
AWS CLI

To get status information for an AWS Cloud9 development environment

This example gets status information for the specified AWS Cloud9 development environment.

Command:

aws cloud9 describe-environment-status --environment-id 685f892f431b45c2b28cb69eadcdb0EX

Output:

{ "status": "ready", "message": "Environment is ready to use" }
PowerShell
Tools for PowerShell V4

Example 1: This example gets status information for the specified AWS Cloud9 development environment.

Get-C9EnvironmentStatus -EnvironmentId 349c86d4579e4e7298d500ff57a6b2EX

Output:

Message Status ------- ------ Environment is ready to use ready