libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudHSM.ModifyHsm

Description

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.

Synopsis

Creating a Request

data ModifyHsm Source #

Contains the inputs for the ModifyHsm operation.

See: newModifyHsm smart constructor.

Constructors

ModifyHsm' 

Fields

  • iamRoleArn :: Maybe Text

    The new IAM role ARN.

  • subnetId :: Maybe Text

    The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.

  • syslogIp :: Maybe Text

    The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.

  • externalId :: Maybe Text

    The new external ID.

  • eniIp :: Maybe Text

    The new IP address for the elastic network interface (ENI) attached to the HSM.

    If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.

  • hsmArn :: Text

    The ARN of the HSM to modify.

Instances

Instances details
Eq ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Read ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Show ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Generic ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Associated Types

type Rep ModifyHsm :: Type -> Type #

NFData ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Methods

rnf :: ModifyHsm -> () #

Hashable ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

ToJSON ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

AWSRequest ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Associated Types

type AWSResponse ModifyHsm #

ToHeaders ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Methods

toHeaders :: ModifyHsm -> [Header] #

ToPath ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

ToQuery ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

type Rep ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

type AWSResponse ModifyHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

newModifyHsm Source #

Create a value of ModifyHsm with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:iamRoleArn:ModifyHsm', modifyHsm_iamRoleArn - The new IAM role ARN.

$sel:subnetId:ModifyHsm', modifyHsm_subnetId - The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.

$sel:syslogIp:ModifyHsm', modifyHsm_syslogIp - The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.

$sel:externalId:ModifyHsm', modifyHsm_externalId - The new external ID.

$sel:eniIp:ModifyHsm', modifyHsm_eniIp - The new IP address for the elastic network interface (ENI) attached to the HSM.

If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.

$sel:hsmArn:ModifyHsm', modifyHsm_hsmArn - The ARN of the HSM to modify.

Request Lenses

modifyHsm_subnetId :: Lens' ModifyHsm (Maybe Text) Source #

The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.

modifyHsm_syslogIp :: Lens' ModifyHsm (Maybe Text) Source #

The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.

modifyHsm_eniIp :: Lens' ModifyHsm (Maybe Text) Source #

The new IP address for the elastic network interface (ENI) attached to the HSM.

If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.

modifyHsm_hsmArn :: Lens' ModifyHsm Text Source #

The ARN of the HSM to modify.

Destructuring the Response

data ModifyHsmResponse Source #

Contains the output of the ModifyHsm operation.

See: newModifyHsmResponse smart constructor.

Constructors

ModifyHsmResponse' 

Fields

Instances

Instances details
Eq ModifyHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Read ModifyHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Show ModifyHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Generic ModifyHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Associated Types

type Rep ModifyHsmResponse :: Type -> Type #

NFData ModifyHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

Methods

rnf :: ModifyHsmResponse -> () #

type Rep ModifyHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.ModifyHsm

type Rep ModifyHsmResponse = D1 ('MetaData "ModifyHsmResponse" "Amazonka.CloudHSM.ModifyHsm" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "ModifyHsmResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hsmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyHsmResponse Source #

Create a value of ModifyHsmResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hsmArn:ModifyHsm', modifyHsmResponse_hsmArn - The ARN of the HSM.

$sel:httpStatus:ModifyHsmResponse', modifyHsmResponse_httpStatus - The response's http status code.

Response Lenses

modifyHsmResponse_httpStatus :: Lens' ModifyHsmResponse Int Source #

The response's http status code.