amazonka-cloudhsm-1.4.3: 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.DescribeHSM

Contents

Description

Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.

Synopsis

Creating a Request

describeHSM :: DescribeHSM Source #

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

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

data DescribeHSM Source #

Contains the inputs for the DescribeHsm operation.

See: describeHSM smart constructor.

Instances

Eq DescribeHSM Source # 
Data DescribeHSM Source # 

Methods

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

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

toConstr :: DescribeHSM -> Constr #

dataTypeOf :: DescribeHSM -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeHSM Source # 
Show DescribeHSM Source # 
Generic DescribeHSM Source # 

Associated Types

type Rep DescribeHSM :: * -> * #

ToJSON DescribeHSM Source # 
Hashable DescribeHSM Source # 
NFData DescribeHSM Source # 

Methods

rnf :: DescribeHSM -> () #

AWSRequest DescribeHSM Source # 
ToPath DescribeHSM Source # 
ToHeaders DescribeHSM Source # 

Methods

toHeaders :: DescribeHSM -> [Header] #

ToQuery DescribeHSM Source # 
type Rep DescribeHSM Source # 
type Rep DescribeHSM = D1 (MetaData "DescribeHSM" "Network.AWS.CloudHSM.DescribeHSM" "amazonka-cloudhsm-1.4.3-8vyovRbs8BsGwKsWR2QfXS" False) (C1 (MetaCons "DescribeHSM'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dhsmHSMSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dhsmHSMARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs DescribeHSM Source # 

Request Lenses

dhsmHSMSerialNumber :: Lens' DescribeHSM (Maybe Text) Source #

The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.

dhsmHSMARN :: Lens' DescribeHSM (Maybe Text) Source #

The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.

Destructuring the Response

data DescribeHSMResponse Source #

Contains the output of the DescribeHsm operation.

See: describeHSMResponse smart constructor.

Instances

Eq DescribeHSMResponse Source # 
Data DescribeHSMResponse Source # 

Methods

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

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

toConstr :: DescribeHSMResponse -> Constr #

dataTypeOf :: DescribeHSMResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeHSMResponse Source # 
Show DescribeHSMResponse Source # 
Generic DescribeHSMResponse Source # 
NFData DescribeHSMResponse Source # 

Methods

rnf :: DescribeHSMResponse -> () #

type Rep DescribeHSMResponse Source # 
type Rep DescribeHSMResponse = D1 (MetaData "DescribeHSMResponse" "Network.AWS.CloudHSM.DescribeHSM" "amazonka-cloudhsm-1.4.3-8vyovRbs8BsGwKsWR2QfXS" False) (C1 (MetaCons "DescribeHSMResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_desrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HSMStatus))) (S1 (MetaSel (Just Symbol "_desrsIAMRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsEniId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_desrsSSHKeyLastUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_desrsSubscriptionEndDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsServerCertURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_desrsSubscriptionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SubscriptionType))))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsSSHPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsSubnetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_desrsStatusDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_desrsPartitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_desrsSubscriptionStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsAvailabilityZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsServerCertLastUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_desrsSoftwareVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_desrsVendorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_desrsHSMARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsEniIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_desrsHSMType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_desrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))))

Response Lenses

desrsIAMRoleARN :: Lens' DescribeHSMResponse (Maybe Text) Source #

The ARN of the IAM role assigned to the HSM.

desrsEniId :: Lens' DescribeHSMResponse (Maybe Text) Source #

The identifier of the elastic network interface (ENI) attached to the HSM.

desrsVPCId :: Lens' DescribeHSMResponse (Maybe Text) Source #

The identifier of the VPC that the HSM is in.

desrsSSHKeyLastUpdated :: Lens' DescribeHSMResponse (Maybe Text) Source #

The date and time that the SSH key was last updated.

desrsServerCertURI :: Lens' DescribeHSMResponse (Maybe Text) Source #

The URI of the certificate server.

desrsSubnetId :: Lens' DescribeHSMResponse (Maybe Text) Source #

The identifier of the subnet that the HSM is in.

desrsStatusDetails :: Lens' DescribeHSMResponse (Maybe Text) Source #

Contains additional information about the status of the HSM.

desrsPartitions :: Lens' DescribeHSMResponse [Text] Source #

The list of partitions on the HSM.

desrsAvailabilityZone :: Lens' DescribeHSMResponse (Maybe Text) Source #

The Availability Zone that the HSM is in.

desrsServerCertLastUpdated :: Lens' DescribeHSMResponse (Maybe Text) Source #

The date and time that the server certificate was last updated.

desrsVendorName :: Lens' DescribeHSMResponse (Maybe Text) Source #

The name of the HSM vendor.

desrsSerialNumber :: Lens' DescribeHSMResponse (Maybe Text) Source #

The serial number of the HSM.

desrsEniIP :: Lens' DescribeHSMResponse (Maybe Text) Source #

The IP address assigned to the HSM's ENI.