amazonka-cloudhsm-1.4.5: Amazon CloudHSM SDK.

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

Network.AWS.CloudHSM.ModifyHSM

Contents

Description

Modifies an HSM.

Important: 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

modifyHSM Source #

Arguments

:: Text

mhHSMARN

-> ModifyHSM 

Creates a value of ModifyHSM with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • mhIAMRoleARN - The new IAM role ARN.
  • mhSubnetId - 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.
  • mhSyslogIP - The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
  • mhExternalId - The new external ID.
  • mhEniIP - 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.
  • mhHSMARN - The ARN of the HSM to modify.

data ModifyHSM Source #

Contains the inputs for the ModifyHsm operation.

See: modifyHSM smart constructor.

Instances

Eq ModifyHSM Source # 
Data ModifyHSM Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyHSM -> c ModifyHSM #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyHSM #

toConstr :: ModifyHSM -> Constr #

dataTypeOf :: ModifyHSM -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyHSM) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyHSM) #

gmapT :: (forall b. Data b => b -> b) -> ModifyHSM -> ModifyHSM #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyHSM -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyHSM -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyHSM -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyHSM -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyHSM -> m ModifyHSM #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyHSM -> m ModifyHSM #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyHSM -> m ModifyHSM #

Read ModifyHSM Source # 
Show ModifyHSM Source # 
Generic ModifyHSM Source # 

Associated Types

type Rep ModifyHSM :: * -> * #

Hashable ModifyHSM Source # 
ToJSON ModifyHSM Source # 
NFData ModifyHSM Source # 

Methods

rnf :: ModifyHSM -> () #

AWSRequest ModifyHSM Source # 
ToPath ModifyHSM Source # 
ToHeaders ModifyHSM Source # 

Methods

toHeaders :: ModifyHSM -> [Header] #

ToQuery ModifyHSM Source # 
type Rep ModifyHSM Source # 
type Rs ModifyHSM Source # 

Request Lenses

mhIAMRoleARN :: Lens' ModifyHSM (Maybe Text) Source #

The new IAM role ARN.

mhSubnetId :: 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.

mhSyslogIP :: Lens' ModifyHSM (Maybe Text) Source #

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

mhExternalId :: Lens' ModifyHSM (Maybe Text) Source #

The new external ID.

mhEniIP :: 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.

mhHSMARN :: Lens' ModifyHSM Text Source #

The ARN of the HSM to modify.

Destructuring the Response

modifyHSMResponse Source #

Creates a value of ModifyHSMResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ModifyHSMResponse Source #

Contains the output of the ModifyHsm operation.

See: modifyHSMResponse smart constructor.

Instances

Eq ModifyHSMResponse Source # 
Data ModifyHSMResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyHSMResponse -> c ModifyHSMResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyHSMResponse #

toConstr :: ModifyHSMResponse -> Constr #

dataTypeOf :: ModifyHSMResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyHSMResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyHSMResponse) #

gmapT :: (forall b. Data b => b -> b) -> ModifyHSMResponse -> ModifyHSMResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyHSMResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyHSMResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyHSMResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyHSMResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyHSMResponse -> m ModifyHSMResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyHSMResponse -> m ModifyHSMResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyHSMResponse -> m ModifyHSMResponse #

Read ModifyHSMResponse Source # 
Show ModifyHSMResponse Source # 
Generic ModifyHSMResponse Source # 
NFData ModifyHSMResponse Source # 

Methods

rnf :: ModifyHSMResponse -> () #

type Rep ModifyHSMResponse Source # 
type Rep ModifyHSMResponse = D1 (MetaData "ModifyHSMResponse" "Network.AWS.CloudHSM.ModifyHSM" "amazonka-cloudhsm-1.4.5-2qw2RsgWv1x7RV995HoL3s" False) (C1 (MetaCons "ModifyHSMResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mhsmrsHSMARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mhsmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

mhsmrsResponseStatus :: Lens' ModifyHSMResponse Int Source #

  • - | The response status code.