DeleteHsmConfiguration - Amazon Redshift
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with AWS services in China.

DeleteHsmConfiguration

Deletes the specified Amazon Redshift HSM configuration.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

HsmConfigurationIdentifier

The identifier of the Amazon Redshift HSM configuration to be deleted.

Type: String

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Errors.

HsmConfigurationNotFoundFault

There is no Amazon Redshift HSM configuration with the specified identifier.

HTTP Status Code: 400

InvalidHsmConfigurationStateFault

The specified HSM configuration is not in the available state, or it is still in use by one or more Amazon Redshift clusters.

HTTP Status Code: 400

Example

Sample Request

https://redshift.us-east-2.amazonaws.com/ ?Action=DeleteHsmConfiguration &HsmConfigurationIdentifier=myhsmconnection &SignatureMethod=HmacSHA256&SignatureVersion=4 &Version=2012-12-01 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request &X-Amz-Date=20190825T160000Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b

Sample Response

<DeleteHsmConfigurationResponse xmlns="http://redshift.amazonaws.com/doc/2012-12-01/"> <ResponseMetadata> <RequestId>3d45f314-283a-11ea-8397-219d1980588b</RequestId> </ResponseMetadata> </DeleteHsmConfigurationResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: