New API Documentation - Developer Preview Available
We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Base exception class for all service exceptions from AppConfig service.
Example
To delete an environment
// The following delete-environment example deletes the specified application environment. constinput = { "ApplicationId":"339ohji", "EnvironmentId":"54j1r29" }; constcommand = newDeleteEnvironmentCommand(input); awaitclient.send(command); // example id: to-delete-an-environment-1632265641044
Deletes an environment. Deleting an environment does not delete a configuration from a host.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteEnvironmentCommandInput
Returns
DeleteEnvironmentCommandOutput
See
input
shape.response
shape.config
shape.Throws
BadRequestException (client fault)
The input fails to satisfy the constraints specified by an Amazon Web Services service.
Throws
ConflictException (client fault)
The request could not be processed because of conflict in the current state of the resource.
Throws
InternalServerException (server fault)
There was an internal failure in the AppConfig service.
Throws
ResourceNotFoundException (client fault)
The requested resource could not be found.
Throws
AppConfigServiceException
Base exception class for all service exceptions from AppConfig service.
Example
To delete an environment