// This is documentation for AWS CloudHSM Classic. For more information, see AWS
// CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS
// CloudHSM Classic User Guide
// (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM
// Classic API Reference
// (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information
// about the current version of AWS CloudHSM, see AWS CloudHSM
// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide
// (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM
// API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
// Modifies an HSM. This operation can result in the HSM being offline for up to 15
// minutes while the AWS CloudHSM service is reconfigured. If you are modifying a
// production HSM, you should ensure that your AWS CloudHSM service is configured
// for high availability, and consider executing this operation during a
// maintenance window.
This is documentation for AWS CloudHSM Classic. For more information, see AWS
CloudHSM Classic FAQs , the AWS
CloudHSM Classic User Guide
, and the AWS CloudHSM
Classic API Reference
. For information
about the current version of AWS CloudHSM, see AWS CloudHSM
, the AWS CloudHSM User Guide
, and the AWS CloudHSM
API Reference .
Modifies an HSM. This operation can result in the HSM being offline for up to 15
minutes while the AWS CloudHSM service is reconfigured. If you are modifying a
production HSM, you should ensure that your AWS CloudHSM service is configured
for high availability, and consider executing this operation during a
maintenance window.
// This is documentation for AWS CloudHSM Classic . For more information see AWS // CloudHSM Classic FAQs ( http : // aws . amazon . com / cloudhsm / faqs - classic / ) the AWS // CloudHSM Classic User Guide // ( https : // docs . aws . amazon . com / cloudhsm / classic / userguide / ) and the AWS CloudHSM // Classic API Reference // ( https : // docs . aws . amazon . com / cloudhsm / classic / APIReference / ) . For information // about the current version of AWS CloudHSM see AWS CloudHSM // ( http : // aws . amazon . com / cloudhsm / ) the AWS CloudHSM User Guide // ( https : // docs . aws . amazon . com / cloudhsm / latest / userguide / ) and the AWS CloudHSM // API Reference ( https : // docs . aws . amazon . com / cloudhsm / latest / APIReference / ) . // Modifies an HSM . This operation can result in the HSM being offline for up to 15 // minutes while the AWS CloudHSM service is reconfigured . If you are modifying a // production HSM you should ensure that your AWS CloudHSM service is configured // for high availability and consider executing this operation during a // maintenance window .
func (c *Client) ModifyHsm(ctx context.Context, params *ModifyHsmInput, optFns ...func(*Options)) (*ModifyHsmOutput, error) {
	if params == nil {
		params = &ModifyHsmInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ModifyHsm", params, optFns, addOperationModifyHsmMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ModifyHsmOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ModifyHsm ( ctx context . Context , params * ModifyHsmInput , optFns ... func ( * Options ) ) ( * ModifyHsmOutput , error ) { if params == nil { params = & ModifyHsmInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationModifyHsmMiddlewares ) if err != nil { return nil , err } out := result . ( * ModifyHsmOutput ) out . ResultMetadata = metadata return out , nil }
This is documentation for AWS CloudHSM Classic.
This is documentation for AWS CloudHSM Classic .