Amazon Elastic Compute Cloud
API Reference (API Version 2012-04-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

DeletePlacementGroup

Description

Deletes a placement group from your account. You must terminate all instances in the placement group before deleting it. For more information about placement groups and cluster instances, go to Using Cluster Instances in the Amazon Elastic Compute Cloud User Guide.

Request Parameters

NameDescriptionRequired

GroupName

The name of the placement group to delete.

Type: string

Default: None

Yes

Response Elements

The elements in the following table are wrapped in a DeletePlacementGroupResponse structure.

NameDescription

requestId

The ID of the request.

Type: xsd:string

return

Returns true if the request succeeds. Otherwise, returns an error.

Type: xsd:boolean

Examples

Example Request

This example deletes the placement group named XYZ-cluster.

https://ec2.amazonaws.com/?Action=DeletePlacementGroup
&GroupName=XYZ-cluster
&AUTHPARAMS

Example Response

<DeletePlacementGroupResponse xmlns="http://ec2.amazonaws.com/doc/2012-04-01/">
   <requestId>d4904fd9-82c2-4ea5-adfe-a9cc3EXAMPLE</requestId>
   <return>true</return>
</DeletePlacementGroupResponse>