We are excited to announce our new API Documentation.
Protected
Gets a list of Cloud9 development environment identifiers.
Use a bare-bones client and the command you need to make an API call.
import { Cloud9Client, ListEnvironmentsCommand } from "@aws-sdk/client-cloud9"; // ES Modules import// const { Cloud9Client, ListEnvironmentsCommand } = require("@aws-sdk/client-cloud9"); // CommonJS importconst client = new Cloud9Client(config);const input = { // ListEnvironmentsRequest nextToken: "STRING_VALUE", maxResults: Number("int"),};const command = new ListEnvironmentsCommand(input);const response = await client.send(command);// { // ListEnvironmentsResult// nextToken: "STRING_VALUE",// environmentIds: [ // EnvironmentIdList// "STRING_VALUE",// ],// };
ListEnvironmentsCommandInput
ListEnvironmentsCommandOutput
input
response
config
BadRequestException (client fault)
The target request is invalid.
ConflictException (client fault)
A conflict occurred.
ForbiddenException (client fault)
An access permissions issue occurred.
InternalServerErrorException (server fault)
An internal server error occurred.
LimitExceededException (client fault)
A service limit was exceeded.
NotFoundException (client fault)
The target resource cannot be found.
TooManyRequestsException (client fault)
Too many service requests were made over the given time period.
Cloud9ServiceException
Base exception class for all service exceptions from Cloud9 service.
ListEnvironments
//const input = {};const command = new ListEnvironmentsCommand(input);const response = await client.send(command);/* response =={ "environmentIds": [ "349c86d4579e4e7298d500ff57a6b2EX", "45a3da47af0840f2b0c0824f5ee232EX" ]}*/// example id: listenvironments-1516823687205
Readonly
Static
Gets a list of Cloud9 development environment identifiers.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListEnvironmentsCommandInput
Returns
ListEnvironmentsCommandOutput
See
input
shape.response
shape.config
shape.Throws
BadRequestException (client fault)
The target request is invalid.
Throws
ConflictException (client fault)
A conflict occurred.
Throws
ForbiddenException (client fault)
An access permissions issue occurred.
Throws
InternalServerErrorException (server fault)
An internal server error occurred.
Throws
LimitExceededException (client fault)
A service limit was exceeded.
Throws
NotFoundException (client fault)
The target resource cannot be found.
Throws
TooManyRequestsException (client fault)
Too many service requests were made over the given time period.
Throws
Cloud9ServiceException
Base exception class for all service exceptions from Cloud9 service.
Example
ListEnvironments