DeleteClusterSubnetGroup
Deletes the specified cluster subnet group.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- ClusterSubnetGroupName
-
The name of the cluster subnet group name to be deleted.
Type: String
Required: Yes
Errors
For information about the errors that are common to all actions, see Common Errors.
- ClusterSubnetGroupNotFoundFault
-
The cluster subnet group name does not refer to an existing cluster subnet group.
HTTP Status Code: 400
- InvalidClusterSubnetGroupStateFault
-
The cluster subnet group cannot be deleted because it is in use.
HTTP Status Code: 400
- InvalidClusterSubnetStateFault
-
The state of the subnet is invalid.
HTTP Status Code: 400
Example
Sample Request
https://redshift.us-east-1.amazonaws.com/ ?Action=DeleteClusterSubnetGroup &ClusterSubnetGroupName=my-subnet-group-2 &Version=2012-12-01 &x-amz-algorithm=AWS4-HMAC-SHA256 &x-amz-credential=AKIAIOSFODNN7EXAMPLE/20130130/us-east-1/redshift/aws4_request &x-amz-date=20130130T154635Z &x-amz-signedheaders=content-type;host;x-amz-date
Sample Response
<DeleteClusterSubnetGroupResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/"> <ResponseMetadata> <RequestId>3a63806b-6af4-11e2-b27b-4d850b1c672d</RequestId> </ResponseMetadata> </DeleteClusterSubnetGroupResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: