packages feed

amazonka-cloudhsmv2 1.6.1 → 2.0

raw patch · 74 files changed

+6022/−2930 lines, 74 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok

version bump matches the API change (PVP)

Dependencies added: case-insensitive

Dependency ranges changed: amazonka-core, amazonka-test, base

API changes (from Hackage documentation)

- Network.AWS.CloudHSMv2: Active :: ClusterState
- Network.AWS.CloudHSMv2: BSCreateInProgress :: BackupState
- Network.AWS.CloudHSMv2: BSDeleted :: BackupState
- Network.AWS.CloudHSMv2: BSReady :: BackupState
- Network.AWS.CloudHSMv2: CreateInProgress :: ClusterState
- Network.AWS.CloudHSMv2: Default :: BackupPolicy
- Network.AWS.CloudHSMv2: Degraded :: ClusterState
- Network.AWS.CloudHSMv2: DeleteInProgress :: ClusterState
- Network.AWS.CloudHSMv2: Deleted :: ClusterState
- Network.AWS.CloudHSMv2: HSActive :: HSMState
- Network.AWS.CloudHSMv2: HSCreateInProgress :: HSMState
- Network.AWS.CloudHSMv2: HSDegraded :: HSMState
- Network.AWS.CloudHSMv2: HSDeleteInProgress :: HSMState
- Network.AWS.CloudHSMv2: HSDeleted :: HSMState
- Network.AWS.CloudHSMv2: InitializeInProgress :: ClusterState
- Network.AWS.CloudHSMv2: Initialized :: ClusterState
- Network.AWS.CloudHSMv2: Uninitialized :: ClusterState
- Network.AWS.CloudHSMv2: UpdateInProgress :: ClusterState
- Network.AWS.CloudHSMv2: _CloudHSMAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2: _CloudHSMInternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2: _CloudHSMInvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2: _CloudHSMResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2: _CloudHSMServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2: bBackupId :: Lens' Backup Text
- Network.AWS.CloudHSMv2: bBackupState :: Lens' Backup (Maybe BackupState)
- Network.AWS.CloudHSMv2: bClusterId :: Lens' Backup (Maybe Text)
- Network.AWS.CloudHSMv2: bCreateTimestamp :: Lens' Backup (Maybe UTCTime)
- Network.AWS.CloudHSMv2: backup :: Text -> Backup
- Network.AWS.CloudHSMv2: cAWSHardwareCertificate :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2: cBackupPolicy :: Lens' Cluster (Maybe BackupPolicy)
- Network.AWS.CloudHSMv2: cCertificates :: Lens' Cluster (Maybe Certificates)
- Network.AWS.CloudHSMv2: cClusterCSR :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2: cClusterCertificate :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2: cClusterId :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2: cCreateTimestamp :: Lens' Cluster (Maybe UTCTime)
- Network.AWS.CloudHSMv2: cHSMCertificate :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2: cHSMType :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2: cHSMs :: Lens' Cluster [HSM]
- Network.AWS.CloudHSMv2: cManufacturerHardwareCertificate :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2: cPreCoPassword :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2: cSecurityGroup :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2: cSourceBackupId :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2: cState :: Lens' Cluster (Maybe ClusterState)
- Network.AWS.CloudHSMv2: cStateMessage :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2: cSubnetMapping :: Lens' Cluster (HashMap Text Text)
- Network.AWS.CloudHSMv2: cVPCId :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2: certificates :: Certificates
- Network.AWS.CloudHSMv2: cloudHSMv2 :: Service
- Network.AWS.CloudHSMv2: cluster :: Cluster
- Network.AWS.CloudHSMv2: data Backup
- Network.AWS.CloudHSMv2: data BackupPolicy
- Network.AWS.CloudHSMv2: data BackupState
- Network.AWS.CloudHSMv2: data Certificates
- Network.AWS.CloudHSMv2: data Cluster
- Network.AWS.CloudHSMv2: data ClusterState
- Network.AWS.CloudHSMv2: data HSM
- Network.AWS.CloudHSMv2: data HSMState
- Network.AWS.CloudHSMv2: data Tag
- Network.AWS.CloudHSMv2: hsm :: Text -> HSM
- Network.AWS.CloudHSMv2: hsmAvailabilityZone :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2: hsmClusterId :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2: hsmEniIP :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2: hsmEniId :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2: hsmHSMId :: Lens' HSM Text
- Network.AWS.CloudHSMv2: hsmState :: Lens' HSM (Maybe HSMState)
- Network.AWS.CloudHSMv2: hsmStateMessage :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2: hsmSubnetId :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2: tag :: Text -> Text -> Tag
- Network.AWS.CloudHSMv2: tagKey :: Lens' Tag Text
- Network.AWS.CloudHSMv2: tagValue :: Lens' Tag Text
- Network.AWS.CloudHSMv2.CreateCluster: ccHSMType :: Lens' CreateCluster Text
- Network.AWS.CloudHSMv2.CreateCluster: ccSourceBackupId :: Lens' CreateCluster (Maybe Text)
- Network.AWS.CloudHSMv2.CreateCluster: ccSubnetIds :: Lens' CreateCluster (NonEmpty Text)
- Network.AWS.CloudHSMv2.CreateCluster: ccrsCluster :: Lens' CreateClusterResponse (Maybe Cluster)
- Network.AWS.CloudHSMv2.CreateCluster: ccrsResponseStatus :: Lens' CreateClusterResponse Int
- Network.AWS.CloudHSMv2.CreateCluster: createCluster :: NonEmpty Text -> Text -> CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: createClusterResponse :: Int -> CreateClusterResponse
- Network.AWS.CloudHSMv2.CreateCluster: data CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: data CreateClusterResponse
- Network.AWS.CloudHSMv2.CreateCluster: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.CreateCluster.CreateClusterResponse
- Network.AWS.CloudHSMv2.CreateCluster: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance Data.Data.Data Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance Data.Data.Data Network.AWS.CloudHSMv2.CreateCluster.CreateClusterResponse
- Network.AWS.CloudHSMv2.CreateCluster: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.CreateCluster.CreateClusterResponse
- Network.AWS.CloudHSMv2.CreateCluster: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.CreateCluster.CreateClusterResponse
- Network.AWS.CloudHSMv2.CreateCluster: instance GHC.Read.Read Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance GHC.Read.Read Network.AWS.CloudHSMv2.CreateCluster.CreateClusterResponse
- Network.AWS.CloudHSMv2.CreateCluster: instance GHC.Show.Show Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance GHC.Show.Show Network.AWS.CloudHSMv2.CreateCluster.CreateClusterResponse
- Network.AWS.CloudHSMv2.CreateCluster: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateCluster: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.CreateCluster.CreateCluster
- Network.AWS.CloudHSMv2.CreateHSM: chAvailabilityZone :: Lens' CreateHSM Text
- Network.AWS.CloudHSMv2.CreateHSM: chClusterId :: Lens' CreateHSM Text
- Network.AWS.CloudHSMv2.CreateHSM: chIPAddress :: Lens' CreateHSM (Maybe Text)
- Network.AWS.CloudHSMv2.CreateHSM: chrsHSM :: Lens' CreateHSMResponse (Maybe HSM)
- Network.AWS.CloudHSMv2.CreateHSM: chrsResponseStatus :: Lens' CreateHSMResponse Int
- Network.AWS.CloudHSMv2.CreateHSM: createHSM :: Text -> Text -> CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: createHSMResponse :: Int -> CreateHSMResponse
- Network.AWS.CloudHSMv2.CreateHSM: data CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: data CreateHSMResponse
- Network.AWS.CloudHSMv2.CreateHSM: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.CreateHSM.CreateHSMResponse
- Network.AWS.CloudHSMv2.CreateHSM: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance Data.Data.Data Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance Data.Data.Data Network.AWS.CloudHSMv2.CreateHSM.CreateHSMResponse
- Network.AWS.CloudHSMv2.CreateHSM: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.CreateHSM.CreateHSMResponse
- Network.AWS.CloudHSMv2.CreateHSM: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.CreateHSM.CreateHSMResponse
- Network.AWS.CloudHSMv2.CreateHSM: instance GHC.Read.Read Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance GHC.Read.Read Network.AWS.CloudHSMv2.CreateHSM.CreateHSMResponse
- Network.AWS.CloudHSMv2.CreateHSM: instance GHC.Show.Show Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance GHC.Show.Show Network.AWS.CloudHSMv2.CreateHSM.CreateHSMResponse
- Network.AWS.CloudHSMv2.CreateHSM: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.CreateHSM: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.CreateHSM.CreateHSM
- Network.AWS.CloudHSMv2.DeleteCluster: data DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: data DeleteClusterResponse
- Network.AWS.CloudHSMv2.DeleteCluster: dcClusterId :: Lens' DeleteCluster Text
- Network.AWS.CloudHSMv2.DeleteCluster: deleteCluster :: Text -> DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: deleteClusterResponse :: Int -> DeleteClusterResponse
- Network.AWS.CloudHSMv2.DeleteCluster: drsCluster :: Lens' DeleteClusterResponse (Maybe Cluster)
- Network.AWS.CloudHSMv2.DeleteCluster: drsResponseStatus :: Lens' DeleteClusterResponse Int
- Network.AWS.CloudHSMv2.DeleteCluster: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.DeleteCluster.DeleteClusterResponse
- Network.AWS.CloudHSMv2.DeleteCluster: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance Data.Data.Data Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance Data.Data.Data Network.AWS.CloudHSMv2.DeleteCluster.DeleteClusterResponse
- Network.AWS.CloudHSMv2.DeleteCluster: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.DeleteCluster.DeleteClusterResponse
- Network.AWS.CloudHSMv2.DeleteCluster: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.DeleteCluster.DeleteClusterResponse
- Network.AWS.CloudHSMv2.DeleteCluster: instance GHC.Read.Read Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance GHC.Read.Read Network.AWS.CloudHSMv2.DeleteCluster.DeleteClusterResponse
- Network.AWS.CloudHSMv2.DeleteCluster: instance GHC.Show.Show Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance GHC.Show.Show Network.AWS.CloudHSMv2.DeleteCluster.DeleteClusterResponse
- Network.AWS.CloudHSMv2.DeleteCluster: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteCluster: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.DeleteCluster.DeleteCluster
- Network.AWS.CloudHSMv2.DeleteHSM: data DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: data DeleteHSMResponse
- Network.AWS.CloudHSMv2.DeleteHSM: deleteHSM :: Text -> DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: deleteHSMResponse :: Int -> DeleteHSMResponse
- Network.AWS.CloudHSMv2.DeleteHSM: dhClusterId :: Lens' DeleteHSM Text
- Network.AWS.CloudHSMv2.DeleteHSM: dhEniIP :: Lens' DeleteHSM (Maybe Text)
- Network.AWS.CloudHSMv2.DeleteHSM: dhEniId :: Lens' DeleteHSM (Maybe Text)
- Network.AWS.CloudHSMv2.DeleteHSM: dhHSMId :: Lens' DeleteHSM (Maybe Text)
- Network.AWS.CloudHSMv2.DeleteHSM: dhrsHSMId :: Lens' DeleteHSMResponse (Maybe Text)
- Network.AWS.CloudHSMv2.DeleteHSM: dhrsResponseStatus :: Lens' DeleteHSMResponse Int
- Network.AWS.CloudHSMv2.DeleteHSM: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSMResponse
- Network.AWS.CloudHSMv2.DeleteHSM: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance Data.Data.Data Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance Data.Data.Data Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSMResponse
- Network.AWS.CloudHSMv2.DeleteHSM: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSMResponse
- Network.AWS.CloudHSMv2.DeleteHSM: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSMResponse
- Network.AWS.CloudHSMv2.DeleteHSM: instance GHC.Read.Read Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance GHC.Read.Read Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSMResponse
- Network.AWS.CloudHSMv2.DeleteHSM: instance GHC.Show.Show Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance GHC.Show.Show Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSMResponse
- Network.AWS.CloudHSMv2.DeleteHSM: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DeleteHSM: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.DeleteHSM.DeleteHSM
- Network.AWS.CloudHSMv2.DescribeBackups: data DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: data DescribeBackupsResponse
- Network.AWS.CloudHSMv2.DescribeBackups: dbFilters :: Lens' DescribeBackups (HashMap Text [Text])
- Network.AWS.CloudHSMv2.DescribeBackups: dbMaxResults :: Lens' DescribeBackups (Maybe Natural)
- Network.AWS.CloudHSMv2.DescribeBackups: dbNextToken :: Lens' DescribeBackups (Maybe Text)
- Network.AWS.CloudHSMv2.DescribeBackups: dbrsBackups :: Lens' DescribeBackupsResponse [Backup]
- Network.AWS.CloudHSMv2.DescribeBackups: dbrsNextToken :: Lens' DescribeBackupsResponse (Maybe Text)
- Network.AWS.CloudHSMv2.DescribeBackups: dbrsResponseStatus :: Lens' DescribeBackupsResponse Int
- Network.AWS.CloudHSMv2.DescribeBackups: describeBackups :: DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: describeBackupsResponse :: Int -> DescribeBackupsResponse
- Network.AWS.CloudHSMv2.DescribeBackups: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackupsResponse
- Network.AWS.CloudHSMv2.DescribeBackups: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance Data.Data.Data Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance Data.Data.Data Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackupsResponse
- Network.AWS.CloudHSMv2.DescribeBackups: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackupsResponse
- Network.AWS.CloudHSMv2.DescribeBackups: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackupsResponse
- Network.AWS.CloudHSMv2.DescribeBackups: instance GHC.Read.Read Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance GHC.Read.Read Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackupsResponse
- Network.AWS.CloudHSMv2.DescribeBackups: instance GHC.Show.Show Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance GHC.Show.Show Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackupsResponse
- Network.AWS.CloudHSMv2.DescribeBackups: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance Network.AWS.Pager.AWSPager Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeBackups: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.DescribeBackups.DescribeBackups
- Network.AWS.CloudHSMv2.DescribeClusters: data DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: data DescribeClustersResponse
- Network.AWS.CloudHSMv2.DescribeClusters: dcFilters :: Lens' DescribeClusters (HashMap Text [Text])
- Network.AWS.CloudHSMv2.DescribeClusters: dcMaxResults :: Lens' DescribeClusters (Maybe Natural)
- Network.AWS.CloudHSMv2.DescribeClusters: dcNextToken :: Lens' DescribeClusters (Maybe Text)
- Network.AWS.CloudHSMv2.DescribeClusters: dcrsClusters :: Lens' DescribeClustersResponse [Cluster]
- Network.AWS.CloudHSMv2.DescribeClusters: dcrsNextToken :: Lens' DescribeClustersResponse (Maybe Text)
- Network.AWS.CloudHSMv2.DescribeClusters: dcrsResponseStatus :: Lens' DescribeClustersResponse Int
- Network.AWS.CloudHSMv2.DescribeClusters: describeClusters :: DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: describeClustersResponse :: Int -> DescribeClustersResponse
- Network.AWS.CloudHSMv2.DescribeClusters: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.DescribeClusters.DescribeClustersResponse
- Network.AWS.CloudHSMv2.DescribeClusters: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance Data.Data.Data Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance Data.Data.Data Network.AWS.CloudHSMv2.DescribeClusters.DescribeClustersResponse
- Network.AWS.CloudHSMv2.DescribeClusters: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.DescribeClusters.DescribeClustersResponse
- Network.AWS.CloudHSMv2.DescribeClusters: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.DescribeClusters.DescribeClustersResponse
- Network.AWS.CloudHSMv2.DescribeClusters: instance GHC.Read.Read Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance GHC.Read.Read Network.AWS.CloudHSMv2.DescribeClusters.DescribeClustersResponse
- Network.AWS.CloudHSMv2.DescribeClusters: instance GHC.Show.Show Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance GHC.Show.Show Network.AWS.CloudHSMv2.DescribeClusters.DescribeClustersResponse
- Network.AWS.CloudHSMv2.DescribeClusters: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance Network.AWS.Pager.AWSPager Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.DescribeClusters: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.DescribeClusters.DescribeClusters
- Network.AWS.CloudHSMv2.InitializeCluster: data InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: data InitializeClusterResponse
- Network.AWS.CloudHSMv2.InitializeCluster: icClusterId :: Lens' InitializeCluster Text
- Network.AWS.CloudHSMv2.InitializeCluster: icSignedCert :: Lens' InitializeCluster Text
- Network.AWS.CloudHSMv2.InitializeCluster: icTrustAnchor :: Lens' InitializeCluster Text
- Network.AWS.CloudHSMv2.InitializeCluster: icrsResponseStatus :: Lens' InitializeClusterResponse Int
- Network.AWS.CloudHSMv2.InitializeCluster: icrsState :: Lens' InitializeClusterResponse (Maybe ClusterState)
- Network.AWS.CloudHSMv2.InitializeCluster: icrsStateMessage :: Lens' InitializeClusterResponse (Maybe Text)
- Network.AWS.CloudHSMv2.InitializeCluster: initializeCluster :: Text -> Text -> Text -> InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: initializeClusterResponse :: Int -> InitializeClusterResponse
- Network.AWS.CloudHSMv2.InitializeCluster: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.InitializeCluster.InitializeClusterResponse
- Network.AWS.CloudHSMv2.InitializeCluster: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance Data.Data.Data Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance Data.Data.Data Network.AWS.CloudHSMv2.InitializeCluster.InitializeClusterResponse
- Network.AWS.CloudHSMv2.InitializeCluster: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.InitializeCluster.InitializeClusterResponse
- Network.AWS.CloudHSMv2.InitializeCluster: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.InitializeCluster.InitializeClusterResponse
- Network.AWS.CloudHSMv2.InitializeCluster: instance GHC.Read.Read Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance GHC.Read.Read Network.AWS.CloudHSMv2.InitializeCluster.InitializeClusterResponse
- Network.AWS.CloudHSMv2.InitializeCluster: instance GHC.Show.Show Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance GHC.Show.Show Network.AWS.CloudHSMv2.InitializeCluster.InitializeClusterResponse
- Network.AWS.CloudHSMv2.InitializeCluster: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.InitializeCluster: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.InitializeCluster.InitializeCluster
- Network.AWS.CloudHSMv2.ListTags: data ListTags
- Network.AWS.CloudHSMv2.ListTags: data ListTagsResponse
- Network.AWS.CloudHSMv2.ListTags: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.ListTags.ListTagsResponse
- Network.AWS.CloudHSMv2.ListTags: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance Data.Data.Data Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance Data.Data.Data Network.AWS.CloudHSMv2.ListTags.ListTagsResponse
- Network.AWS.CloudHSMv2.ListTags: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.ListTags.ListTagsResponse
- Network.AWS.CloudHSMv2.ListTags: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.ListTags.ListTagsResponse
- Network.AWS.CloudHSMv2.ListTags: instance GHC.Read.Read Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance GHC.Read.Read Network.AWS.CloudHSMv2.ListTags.ListTagsResponse
- Network.AWS.CloudHSMv2.ListTags: instance GHC.Show.Show Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance GHC.Show.Show Network.AWS.CloudHSMv2.ListTags.ListTagsResponse
- Network.AWS.CloudHSMv2.ListTags: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance Network.AWS.Pager.AWSPager Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.ListTags.ListTags
- Network.AWS.CloudHSMv2.ListTags: listTags :: Text -> ListTags
- Network.AWS.CloudHSMv2.ListTags: listTagsResponse :: Int -> ListTagsResponse
- Network.AWS.CloudHSMv2.ListTags: ltMaxResults :: Lens' ListTags (Maybe Natural)
- Network.AWS.CloudHSMv2.ListTags: ltNextToken :: Lens' ListTags (Maybe Text)
- Network.AWS.CloudHSMv2.ListTags: ltResourceId :: Lens' ListTags Text
- Network.AWS.CloudHSMv2.ListTags: ltrsNextToken :: Lens' ListTagsResponse (Maybe Text)
- Network.AWS.CloudHSMv2.ListTags: ltrsResponseStatus :: Lens' ListTagsResponse Int
- Network.AWS.CloudHSMv2.ListTags: ltrsTagList :: Lens' ListTagsResponse [Tag]
- Network.AWS.CloudHSMv2.TagResource: data TagResource
- Network.AWS.CloudHSMv2.TagResource: data TagResourceResponse
- Network.AWS.CloudHSMv2.TagResource: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.TagResource.TagResourceResponse
- Network.AWS.CloudHSMv2.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance Data.Data.Data Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance Data.Data.Data Network.AWS.CloudHSMv2.TagResource.TagResourceResponse
- Network.AWS.CloudHSMv2.TagResource: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.TagResource.TagResourceResponse
- Network.AWS.CloudHSMv2.TagResource: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.TagResource.TagResourceResponse
- Network.AWS.CloudHSMv2.TagResource: instance GHC.Read.Read Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance GHC.Read.Read Network.AWS.CloudHSMv2.TagResource.TagResourceResponse
- Network.AWS.CloudHSMv2.TagResource: instance GHC.Show.Show Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance GHC.Show.Show Network.AWS.CloudHSMv2.TagResource.TagResourceResponse
- Network.AWS.CloudHSMv2.TagResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.TagResource.TagResource
- Network.AWS.CloudHSMv2.TagResource: tagResource :: Text -> TagResource
- Network.AWS.CloudHSMv2.TagResource: tagResourceResponse :: Int -> TagResourceResponse
- Network.AWS.CloudHSMv2.TagResource: trResourceId :: Lens' TagResource Text
- Network.AWS.CloudHSMv2.TagResource: trTagList :: Lens' TagResource [Tag]
- Network.AWS.CloudHSMv2.TagResource: trrsResponseStatus :: Lens' TagResourceResponse Int
- Network.AWS.CloudHSMv2.Types: Active :: ClusterState
- Network.AWS.CloudHSMv2.Types: BSCreateInProgress :: BackupState
- Network.AWS.CloudHSMv2.Types: BSDeleted :: BackupState
- Network.AWS.CloudHSMv2.Types: BSReady :: BackupState
- Network.AWS.CloudHSMv2.Types: CreateInProgress :: ClusterState
- Network.AWS.CloudHSMv2.Types: Default :: BackupPolicy
- Network.AWS.CloudHSMv2.Types: Degraded :: ClusterState
- Network.AWS.CloudHSMv2.Types: DeleteInProgress :: ClusterState
- Network.AWS.CloudHSMv2.Types: Deleted :: ClusterState
- Network.AWS.CloudHSMv2.Types: HSActive :: HSMState
- Network.AWS.CloudHSMv2.Types: HSCreateInProgress :: HSMState
- Network.AWS.CloudHSMv2.Types: HSDegraded :: HSMState
- Network.AWS.CloudHSMv2.Types: HSDeleteInProgress :: HSMState
- Network.AWS.CloudHSMv2.Types: HSDeleted :: HSMState
- Network.AWS.CloudHSMv2.Types: InitializeInProgress :: ClusterState
- Network.AWS.CloudHSMv2.Types: Initialized :: ClusterState
- Network.AWS.CloudHSMv2.Types: Uninitialized :: ClusterState
- Network.AWS.CloudHSMv2.Types: UpdateInProgress :: ClusterState
- Network.AWS.CloudHSMv2.Types: _CloudHSMAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2.Types: _CloudHSMInternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2.Types: _CloudHSMInvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2.Types: _CloudHSMResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2.Types: _CloudHSMServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.CloudHSMv2.Types: bBackupId :: Lens' Backup Text
- Network.AWS.CloudHSMv2.Types: bBackupState :: Lens' Backup (Maybe BackupState)
- Network.AWS.CloudHSMv2.Types: bClusterId :: Lens' Backup (Maybe Text)
- Network.AWS.CloudHSMv2.Types: bCreateTimestamp :: Lens' Backup (Maybe UTCTime)
- Network.AWS.CloudHSMv2.Types: backup :: Text -> Backup
- Network.AWS.CloudHSMv2.Types: cAWSHardwareCertificate :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cBackupPolicy :: Lens' Cluster (Maybe BackupPolicy)
- Network.AWS.CloudHSMv2.Types: cCertificates :: Lens' Cluster (Maybe Certificates)
- Network.AWS.CloudHSMv2.Types: cClusterCSR :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cClusterCertificate :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cClusterId :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cCreateTimestamp :: Lens' Cluster (Maybe UTCTime)
- Network.AWS.CloudHSMv2.Types: cHSMCertificate :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cHSMType :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cHSMs :: Lens' Cluster [HSM]
- Network.AWS.CloudHSMv2.Types: cManufacturerHardwareCertificate :: Lens' Certificates (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cPreCoPassword :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cSecurityGroup :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cSourceBackupId :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cState :: Lens' Cluster (Maybe ClusterState)
- Network.AWS.CloudHSMv2.Types: cStateMessage :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2.Types: cSubnetMapping :: Lens' Cluster (HashMap Text Text)
- Network.AWS.CloudHSMv2.Types: cVPCId :: Lens' Cluster (Maybe Text)
- Network.AWS.CloudHSMv2.Types: certificates :: Certificates
- Network.AWS.CloudHSMv2.Types: cloudHSMv2 :: Service
- Network.AWS.CloudHSMv2.Types: cluster :: Cluster
- Network.AWS.CloudHSMv2.Types: data Backup
- Network.AWS.CloudHSMv2.Types: data BackupPolicy
- Network.AWS.CloudHSMv2.Types: data BackupState
- Network.AWS.CloudHSMv2.Types: data Certificates
- Network.AWS.CloudHSMv2.Types: data Cluster
- Network.AWS.CloudHSMv2.Types: data ClusterState
- Network.AWS.CloudHSMv2.Types: data HSM
- Network.AWS.CloudHSMv2.Types: data HSMState
- Network.AWS.CloudHSMv2.Types: data Tag
- Network.AWS.CloudHSMv2.Types: hsm :: Text -> HSM
- Network.AWS.CloudHSMv2.Types: hsmAvailabilityZone :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2.Types: hsmClusterId :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2.Types: hsmEniIP :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2.Types: hsmEniId :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2.Types: hsmHSMId :: Lens' HSM Text
- Network.AWS.CloudHSMv2.Types: hsmState :: Lens' HSM (Maybe HSMState)
- Network.AWS.CloudHSMv2.Types: hsmStateMessage :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2.Types: hsmSubnetId :: Lens' HSM (Maybe Text)
- Network.AWS.CloudHSMv2.Types: tag :: Text -> Text -> Tag
- Network.AWS.CloudHSMv2.Types: tagKey :: Lens' Tag Text
- Network.AWS.CloudHSMv2.Types: tagValue :: Lens' Tag Text
- Network.AWS.CloudHSMv2.UntagResource: data UntagResource
- Network.AWS.CloudHSMv2.UntagResource: data UntagResourceResponse
- Network.AWS.CloudHSMv2.UntagResource: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance Control.DeepSeq.NFData Network.AWS.CloudHSMv2.UntagResource.UntagResourceResponse
- Network.AWS.CloudHSMv2.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance Data.Data.Data Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance Data.Data.Data Network.AWS.CloudHSMv2.UntagResource.UntagResourceResponse
- Network.AWS.CloudHSMv2.UntagResource: instance Data.Hashable.Class.Hashable Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance GHC.Classes.Eq Network.AWS.CloudHSMv2.UntagResource.UntagResourceResponse
- Network.AWS.CloudHSMv2.UntagResource: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance GHC.Generics.Generic Network.AWS.CloudHSMv2.UntagResource.UntagResourceResponse
- Network.AWS.CloudHSMv2.UntagResource: instance GHC.Read.Read Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance GHC.Read.Read Network.AWS.CloudHSMv2.UntagResource.UntagResourceResponse
- Network.AWS.CloudHSMv2.UntagResource: instance GHC.Show.Show Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance GHC.Show.Show Network.AWS.CloudHSMv2.UntagResource.UntagResourceResponse
- Network.AWS.CloudHSMv2.UntagResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: instance Network.AWS.Types.AWSRequest Network.AWS.CloudHSMv2.UntagResource.UntagResource
- Network.AWS.CloudHSMv2.UntagResource: untagResource :: Text -> NonEmpty Text -> UntagResource
- Network.AWS.CloudHSMv2.UntagResource: untagResourceResponse :: Int -> UntagResourceResponse
- Network.AWS.CloudHSMv2.UntagResource: urResourceId :: Lens' UntagResource Text
- Network.AWS.CloudHSMv2.UntagResource: urTagKeyList :: Lens' UntagResource (NonEmpty Text)
- Network.AWS.CloudHSMv2.UntagResource: urrsResponseStatus :: Lens' UntagResourceResponse Int
+ Amazonka.CloudHSMV2: Backup' :: Maybe BackupState -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Text -> Backup
+ Amazonka.CloudHSMV2: BackupPolicy' :: Text -> BackupPolicy
+ Amazonka.CloudHSMV2: BackupRetentionPolicy' :: Maybe BackupRetentionType -> Maybe Text -> BackupRetentionPolicy
+ Amazonka.CloudHSMV2: BackupRetentionType' :: Text -> BackupRetentionType
+ Amazonka.CloudHSMV2: BackupState' :: Text -> BackupState
+ Amazonka.CloudHSMV2: Certificates' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Certificates
+ Amazonka.CloudHSMV2: Cluster' :: Maybe BackupPolicy -> Maybe BackupRetentionPolicy -> Maybe Certificates -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe [Hsm] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ClusterState -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Tag] -> Maybe Text -> Cluster
+ Amazonka.CloudHSMV2: ClusterState' :: Text -> ClusterState
+ Amazonka.CloudHSMV2: CopyBackupToRegion' :: Maybe [Tag] -> Text -> Text -> CopyBackupToRegion
+ Amazonka.CloudHSMV2: CopyBackupToRegionResponse' :: Maybe DestinationBackup -> Int -> CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2: CreateCluster' :: Maybe BackupRetentionPolicy -> Maybe Text -> Maybe [Tag] -> Text -> NonEmpty Text -> CreateCluster
+ Amazonka.CloudHSMV2: CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
+ Amazonka.CloudHSMV2: CreateHsm' :: Maybe Text -> Text -> Text -> CreateHsm
+ Amazonka.CloudHSMV2: CreateHsmResponse' :: Maybe Hsm -> Int -> CreateHsmResponse
+ Amazonka.CloudHSMV2: DeleteBackup' :: Text -> DeleteBackup
+ Amazonka.CloudHSMV2: DeleteBackupResponse' :: Maybe Backup -> Int -> DeleteBackupResponse
+ Amazonka.CloudHSMV2: DeleteCluster' :: Text -> DeleteCluster
+ Amazonka.CloudHSMV2: DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
+ Amazonka.CloudHSMV2: DeleteHsm' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> DeleteHsm
+ Amazonka.CloudHSMV2: DeleteHsmResponse' :: Maybe Text -> Int -> DeleteHsmResponse
+ Amazonka.CloudHSMV2: DescribeBackups' :: Maybe (HashMap Text [Text]) -> Maybe Natural -> Maybe Text -> Maybe Bool -> DescribeBackups
+ Amazonka.CloudHSMV2: DescribeBackupsResponse' :: Maybe [Backup] -> Maybe Text -> Int -> DescribeBackupsResponse
+ Amazonka.CloudHSMV2: DescribeClusters' :: Maybe (HashMap Text [Text]) -> Maybe Natural -> Maybe Text -> DescribeClusters
+ Amazonka.CloudHSMV2: DescribeClustersResponse' :: Maybe [Cluster] -> Maybe Text -> Int -> DescribeClustersResponse
+ Amazonka.CloudHSMV2: DestinationBackup' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> DestinationBackup
+ Amazonka.CloudHSMV2: Hsm' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe HsmState -> Maybe Text -> Maybe Text -> Text -> Hsm
+ Amazonka.CloudHSMV2: HsmState' :: Text -> HsmState
+ Amazonka.CloudHSMV2: InitializeCluster' :: Text -> Text -> Text -> InitializeCluster
+ Amazonka.CloudHSMV2: InitializeClusterResponse' :: Maybe ClusterState -> Maybe Text -> Int -> InitializeClusterResponse
+ Amazonka.CloudHSMV2: ListTags' :: Maybe Natural -> Maybe Text -> Text -> ListTags
+ Amazonka.CloudHSMV2: ListTagsResponse' :: Maybe Text -> Int -> [Tag] -> ListTagsResponse
+ Amazonka.CloudHSMV2: ModifyBackupAttributes' :: Text -> Bool -> ModifyBackupAttributes
+ Amazonka.CloudHSMV2: ModifyBackupAttributesResponse' :: Maybe Backup -> Int -> ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2: ModifyCluster' :: BackupRetentionPolicy -> Text -> ModifyCluster
+ Amazonka.CloudHSMV2: ModifyClusterResponse' :: Maybe Cluster -> Int -> ModifyClusterResponse
+ Amazonka.CloudHSMV2: RestoreBackup' :: Text -> RestoreBackup
+ Amazonka.CloudHSMV2: RestoreBackupResponse' :: Maybe Backup -> Int -> RestoreBackupResponse
+ Amazonka.CloudHSMV2: Tag' :: Text -> Text -> Tag
+ Amazonka.CloudHSMV2: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.CloudHSMV2: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.CloudHSMV2: UntagResource' :: Text -> NonEmpty Text -> UntagResource
+ Amazonka.CloudHSMV2: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.CloudHSMV2: [fromBackupPolicy] :: BackupPolicy -> Text
+ Amazonka.CloudHSMV2: [fromBackupRetentionType] :: BackupRetentionType -> Text
+ Amazonka.CloudHSMV2: [fromBackupState] :: BackupState -> Text
+ Amazonka.CloudHSMV2: [fromClusterState] :: ClusterState -> Text
+ Amazonka.CloudHSMV2: [fromHsmState] :: HsmState -> Text
+ Amazonka.CloudHSMV2: _CloudHsmAccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2: _CloudHsmInternalFailureException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2: _CloudHsmInvalidRequestException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2: _CloudHsmResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2: _CloudHsmServiceException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2: _CloudHsmTagException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2: data Backup
+ Amazonka.CloudHSMV2: data BackupRetentionPolicy
+ Amazonka.CloudHSMV2: data Certificates
+ Amazonka.CloudHSMV2: data Cluster
+ Amazonka.CloudHSMV2: data CopyBackupToRegion
+ Amazonka.CloudHSMV2: data CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2: data CreateCluster
+ Amazonka.CloudHSMV2: data CreateClusterResponse
+ Amazonka.CloudHSMV2: data CreateHsm
+ Amazonka.CloudHSMV2: data CreateHsmResponse
+ Amazonka.CloudHSMV2: data DeleteBackup
+ Amazonka.CloudHSMV2: data DeleteBackupResponse
+ Amazonka.CloudHSMV2: data DeleteCluster
+ Amazonka.CloudHSMV2: data DeleteClusterResponse
+ Amazonka.CloudHSMV2: data DeleteHsm
+ Amazonka.CloudHSMV2: data DeleteHsmResponse
+ Amazonka.CloudHSMV2: data DescribeBackups
+ Amazonka.CloudHSMV2: data DescribeBackupsResponse
+ Amazonka.CloudHSMV2: data DescribeClusters
+ Amazonka.CloudHSMV2: data DescribeClustersResponse
+ Amazonka.CloudHSMV2: data DestinationBackup
+ Amazonka.CloudHSMV2: data Hsm
+ Amazonka.CloudHSMV2: data InitializeCluster
+ Amazonka.CloudHSMV2: data InitializeClusterResponse
+ Amazonka.CloudHSMV2: data ListTags
+ Amazonka.CloudHSMV2: data ListTagsResponse
+ Amazonka.CloudHSMV2: data ModifyBackupAttributes
+ Amazonka.CloudHSMV2: data ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2: data ModifyCluster
+ Amazonka.CloudHSMV2: data ModifyClusterResponse
+ Amazonka.CloudHSMV2: data RestoreBackup
+ Amazonka.CloudHSMV2: data RestoreBackupResponse
+ Amazonka.CloudHSMV2: data Tag
+ Amazonka.CloudHSMV2: data TagResource
+ Amazonka.CloudHSMV2: data TagResourceResponse
+ Amazonka.CloudHSMV2: data UntagResource
+ Amazonka.CloudHSMV2: data UntagResourceResponse
+ Amazonka.CloudHSMV2: defaultService :: Service
+ Amazonka.CloudHSMV2: newBackup :: Text -> Backup
+ Amazonka.CloudHSMV2: newBackupRetentionPolicy :: BackupRetentionPolicy
+ Amazonka.CloudHSMV2: newCertificates :: Certificates
+ Amazonka.CloudHSMV2: newCluster :: Cluster
+ Amazonka.CloudHSMV2: newCopyBackupToRegion :: Text -> Text -> CopyBackupToRegion
+ Amazonka.CloudHSMV2: newCopyBackupToRegionResponse :: Int -> CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2: newCreateCluster :: Text -> NonEmpty Text -> CreateCluster
+ Amazonka.CloudHSMV2: newCreateClusterResponse :: Int -> CreateClusterResponse
+ Amazonka.CloudHSMV2: newCreateHsm :: Text -> Text -> CreateHsm
+ Amazonka.CloudHSMV2: newCreateHsmResponse :: Int -> CreateHsmResponse
+ Amazonka.CloudHSMV2: newDeleteBackup :: Text -> DeleteBackup
+ Amazonka.CloudHSMV2: newDeleteBackupResponse :: Int -> DeleteBackupResponse
+ Amazonka.CloudHSMV2: newDeleteCluster :: Text -> DeleteCluster
+ Amazonka.CloudHSMV2: newDeleteClusterResponse :: Int -> DeleteClusterResponse
+ Amazonka.CloudHSMV2: newDeleteHsm :: Text -> DeleteHsm
+ Amazonka.CloudHSMV2: newDeleteHsmResponse :: Int -> DeleteHsmResponse
+ Amazonka.CloudHSMV2: newDescribeBackups :: DescribeBackups
+ Amazonka.CloudHSMV2: newDescribeBackupsResponse :: Int -> DescribeBackupsResponse
+ Amazonka.CloudHSMV2: newDescribeClusters :: DescribeClusters
+ Amazonka.CloudHSMV2: newDescribeClustersResponse :: Int -> DescribeClustersResponse
+ Amazonka.CloudHSMV2: newDestinationBackup :: DestinationBackup
+ Amazonka.CloudHSMV2: newHsm :: Text -> Hsm
+ Amazonka.CloudHSMV2: newInitializeCluster :: Text -> Text -> Text -> InitializeCluster
+ Amazonka.CloudHSMV2: newInitializeClusterResponse :: Int -> InitializeClusterResponse
+ Amazonka.CloudHSMV2: newListTags :: Text -> ListTags
+ Amazonka.CloudHSMV2: newListTagsResponse :: Int -> ListTagsResponse
+ Amazonka.CloudHSMV2: newModifyBackupAttributes :: Text -> Bool -> ModifyBackupAttributes
+ Amazonka.CloudHSMV2: newModifyBackupAttributesResponse :: Int -> ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2: newModifyCluster :: BackupRetentionPolicy -> Text -> ModifyCluster
+ Amazonka.CloudHSMV2: newModifyClusterResponse :: Int -> ModifyClusterResponse
+ Amazonka.CloudHSMV2: newRestoreBackup :: Text -> RestoreBackup
+ Amazonka.CloudHSMV2: newRestoreBackupResponse :: Int -> RestoreBackupResponse
+ Amazonka.CloudHSMV2: newTag :: Text -> Text -> Tag
+ Amazonka.CloudHSMV2: newTagResource :: Text -> TagResource
+ Amazonka.CloudHSMV2: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.CloudHSMV2: newUntagResource :: Text -> NonEmpty Text -> UntagResource
+ Amazonka.CloudHSMV2: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.CloudHSMV2: newtype BackupPolicy
+ Amazonka.CloudHSMV2: newtype BackupRetentionType
+ Amazonka.CloudHSMV2: newtype BackupState
+ Amazonka.CloudHSMV2: newtype ClusterState
+ Amazonka.CloudHSMV2: newtype HsmState
+ Amazonka.CloudHSMV2: pattern BackupPolicy_DEFAULT :: BackupPolicy
+ Amazonka.CloudHSMV2: pattern BackupRetentionType_DAYS :: BackupRetentionType
+ Amazonka.CloudHSMV2: pattern BackupState_CREATE_IN_PROGRESS :: BackupState
+ Amazonka.CloudHSMV2: pattern BackupState_DELETED :: BackupState
+ Amazonka.CloudHSMV2: pattern BackupState_PENDING_DELETION :: BackupState
+ Amazonka.CloudHSMV2: pattern BackupState_READY :: BackupState
+ Amazonka.CloudHSMV2: pattern ClusterState_ACTIVE :: ClusterState
+ Amazonka.CloudHSMV2: pattern ClusterState_CREATE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2: pattern ClusterState_DEGRADED :: ClusterState
+ Amazonka.CloudHSMV2: pattern ClusterState_DELETED :: ClusterState
+ Amazonka.CloudHSMV2: pattern ClusterState_DELETE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2: pattern ClusterState_INITIALIZED :: ClusterState
+ Amazonka.CloudHSMV2: pattern ClusterState_INITIALIZE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2: pattern ClusterState_UNINITIALIZED :: ClusterState
+ Amazonka.CloudHSMV2: pattern ClusterState_UPDATE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2: pattern HsmState_ACTIVE :: HsmState
+ Amazonka.CloudHSMV2: pattern HsmState_CREATE_IN_PROGRESS :: HsmState
+ Amazonka.CloudHSMV2: pattern HsmState_DEGRADED :: HsmState
+ Amazonka.CloudHSMV2: pattern HsmState_DELETED :: HsmState
+ Amazonka.CloudHSMV2: pattern HsmState_DELETE_IN_PROGRESS :: HsmState
+ Amazonka.CloudHSMV2.CopyBackupToRegion: CopyBackupToRegion' :: Maybe [Tag] -> Text -> Text -> CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: CopyBackupToRegionResponse' :: Maybe DestinationBackup -> Int -> CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2.CopyBackupToRegion: [$sel:backupId:CopyBackupToRegion'] :: CopyBackupToRegion -> Text
+ Amazonka.CloudHSMV2.CopyBackupToRegion: [$sel:destinationBackup:CopyBackupToRegionResponse'] :: CopyBackupToRegionResponse -> Maybe DestinationBackup
+ Amazonka.CloudHSMV2.CopyBackupToRegion: [$sel:destinationRegion:CopyBackupToRegion'] :: CopyBackupToRegion -> Text
+ Amazonka.CloudHSMV2.CopyBackupToRegion: [$sel:httpStatus:CopyBackupToRegionResponse'] :: CopyBackupToRegionResponse -> Int
+ Amazonka.CloudHSMV2.CopyBackupToRegion: [$sel:tagList:CopyBackupToRegion'] :: CopyBackupToRegion -> Maybe [Tag]
+ Amazonka.CloudHSMV2.CopyBackupToRegion: copyBackupToRegionResponse_destinationBackup :: Lens' CopyBackupToRegionResponse (Maybe DestinationBackup)
+ Amazonka.CloudHSMV2.CopyBackupToRegion: copyBackupToRegionResponse_httpStatus :: Lens' CopyBackupToRegionResponse Int
+ Amazonka.CloudHSMV2.CopyBackupToRegion: copyBackupToRegion_backupId :: Lens' CopyBackupToRegion Text
+ Amazonka.CloudHSMV2.CopyBackupToRegion: copyBackupToRegion_destinationRegion :: Lens' CopyBackupToRegion Text
+ Amazonka.CloudHSMV2.CopyBackupToRegion: copyBackupToRegion_tagList :: Lens' CopyBackupToRegion (Maybe [Tag])
+ Amazonka.CloudHSMV2.CopyBackupToRegion: data CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: data CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance GHC.Classes.Eq Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance GHC.Classes.Eq Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance GHC.Generics.Generic Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance GHC.Generics.Generic Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance GHC.Read.Read Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance GHC.Read.Read Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance GHC.Show.Show Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: instance GHC.Show.Show Amazonka.CloudHSMV2.CopyBackupToRegion.CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2.CopyBackupToRegion: newCopyBackupToRegion :: Text -> Text -> CopyBackupToRegion
+ Amazonka.CloudHSMV2.CopyBackupToRegion: newCopyBackupToRegionResponse :: Int -> CopyBackupToRegionResponse
+ Amazonka.CloudHSMV2.CreateCluster: CreateCluster' :: Maybe BackupRetentionPolicy -> Maybe Text -> Maybe [Tag] -> Text -> NonEmpty Text -> CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: CreateClusterResponse' :: Maybe Cluster -> Int -> CreateClusterResponse
+ Amazonka.CloudHSMV2.CreateCluster: [$sel:backupRetentionPolicy:CreateCluster'] :: CreateCluster -> Maybe BackupRetentionPolicy
+ Amazonka.CloudHSMV2.CreateCluster: [$sel:cluster:CreateClusterResponse'] :: CreateClusterResponse -> Maybe Cluster
+ Amazonka.CloudHSMV2.CreateCluster: [$sel:hsmType:CreateCluster'] :: CreateCluster -> Text
+ Amazonka.CloudHSMV2.CreateCluster: [$sel:httpStatus:CreateClusterResponse'] :: CreateClusterResponse -> Int
+ Amazonka.CloudHSMV2.CreateCluster: [$sel:sourceBackupId:CreateCluster'] :: CreateCluster -> Maybe Text
+ Amazonka.CloudHSMV2.CreateCluster: [$sel:subnetIds:CreateCluster'] :: CreateCluster -> NonEmpty Text
+ Amazonka.CloudHSMV2.CreateCluster: [$sel:tagList:CreateCluster'] :: CreateCluster -> Maybe [Tag]
+ Amazonka.CloudHSMV2.CreateCluster: createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
+ Amazonka.CloudHSMV2.CreateCluster: createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
+ Amazonka.CloudHSMV2.CreateCluster: createCluster_backupRetentionPolicy :: Lens' CreateCluster (Maybe BackupRetentionPolicy)
+ Amazonka.CloudHSMV2.CreateCluster: createCluster_hsmType :: Lens' CreateCluster Text
+ Amazonka.CloudHSMV2.CreateCluster: createCluster_sourceBackupId :: Lens' CreateCluster (Maybe Text)
+ Amazonka.CloudHSMV2.CreateCluster: createCluster_subnetIds :: Lens' CreateCluster (NonEmpty Text)
+ Amazonka.CloudHSMV2.CreateCluster: createCluster_tagList :: Lens' CreateCluster (Maybe [Tag])
+ Amazonka.CloudHSMV2.CreateCluster: data CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: data CreateClusterResponse
+ Amazonka.CloudHSMV2.CreateCluster: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.CreateCluster.CreateClusterResponse
+ Amazonka.CloudHSMV2.CreateCluster: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.CreateCluster.CreateClusterResponse
+ Amazonka.CloudHSMV2.CreateCluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.CreateCluster.CreateClusterResponse
+ Amazonka.CloudHSMV2.CreateCluster: instance GHC.Read.Read Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance GHC.Read.Read Amazonka.CloudHSMV2.CreateCluster.CreateClusterResponse
+ Amazonka.CloudHSMV2.CreateCluster: instance GHC.Show.Show Amazonka.CloudHSMV2.CreateCluster.CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: instance GHC.Show.Show Amazonka.CloudHSMV2.CreateCluster.CreateClusterResponse
+ Amazonka.CloudHSMV2.CreateCluster: newCreateCluster :: Text -> NonEmpty Text -> CreateCluster
+ Amazonka.CloudHSMV2.CreateCluster: newCreateClusterResponse :: Int -> CreateClusterResponse
+ Amazonka.CloudHSMV2.CreateHsm: CreateHsm' :: Maybe Text -> Text -> Text -> CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: CreateHsmResponse' :: Maybe Hsm -> Int -> CreateHsmResponse
+ Amazonka.CloudHSMV2.CreateHsm: [$sel:availabilityZone:CreateHsm'] :: CreateHsm -> Text
+ Amazonka.CloudHSMV2.CreateHsm: [$sel:clusterId:CreateHsm'] :: CreateHsm -> Text
+ Amazonka.CloudHSMV2.CreateHsm: [$sel:hsm:CreateHsmResponse'] :: CreateHsmResponse -> Maybe Hsm
+ Amazonka.CloudHSMV2.CreateHsm: [$sel:httpStatus:CreateHsmResponse'] :: CreateHsmResponse -> Int
+ Amazonka.CloudHSMV2.CreateHsm: [$sel:ipAddress:CreateHsm'] :: CreateHsm -> Maybe Text
+ Amazonka.CloudHSMV2.CreateHsm: createHsmResponse_hsm :: Lens' CreateHsmResponse (Maybe Hsm)
+ Amazonka.CloudHSMV2.CreateHsm: createHsmResponse_httpStatus :: Lens' CreateHsmResponse Int
+ Amazonka.CloudHSMV2.CreateHsm: createHsm_availabilityZone :: Lens' CreateHsm Text
+ Amazonka.CloudHSMV2.CreateHsm: createHsm_clusterId :: Lens' CreateHsm Text
+ Amazonka.CloudHSMV2.CreateHsm: createHsm_ipAddress :: Lens' CreateHsm (Maybe Text)
+ Amazonka.CloudHSMV2.CreateHsm: data CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: data CreateHsmResponse
+ Amazonka.CloudHSMV2.CreateHsm: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.CreateHsm.CreateHsmResponse
+ Amazonka.CloudHSMV2.CreateHsm: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance GHC.Classes.Eq Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance GHC.Classes.Eq Amazonka.CloudHSMV2.CreateHsm.CreateHsmResponse
+ Amazonka.CloudHSMV2.CreateHsm: instance GHC.Generics.Generic Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance GHC.Generics.Generic Amazonka.CloudHSMV2.CreateHsm.CreateHsmResponse
+ Amazonka.CloudHSMV2.CreateHsm: instance GHC.Read.Read Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance GHC.Read.Read Amazonka.CloudHSMV2.CreateHsm.CreateHsmResponse
+ Amazonka.CloudHSMV2.CreateHsm: instance GHC.Show.Show Amazonka.CloudHSMV2.CreateHsm.CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: instance GHC.Show.Show Amazonka.CloudHSMV2.CreateHsm.CreateHsmResponse
+ Amazonka.CloudHSMV2.CreateHsm: newCreateHsm :: Text -> Text -> CreateHsm
+ Amazonka.CloudHSMV2.CreateHsm: newCreateHsmResponse :: Int -> CreateHsmResponse
+ Amazonka.CloudHSMV2.DeleteBackup: DeleteBackup' :: Text -> DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: DeleteBackupResponse' :: Maybe Backup -> Int -> DeleteBackupResponse
+ Amazonka.CloudHSMV2.DeleteBackup: [$sel:backup:DeleteBackupResponse'] :: DeleteBackupResponse -> Maybe Backup
+ Amazonka.CloudHSMV2.DeleteBackup: [$sel:backupId:DeleteBackup'] :: DeleteBackup -> Text
+ Amazonka.CloudHSMV2.DeleteBackup: [$sel:httpStatus:DeleteBackupResponse'] :: DeleteBackupResponse -> Int
+ Amazonka.CloudHSMV2.DeleteBackup: data DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: data DeleteBackupResponse
+ Amazonka.CloudHSMV2.DeleteBackup: deleteBackupResponse_backup :: Lens' DeleteBackupResponse (Maybe Backup)
+ Amazonka.CloudHSMV2.DeleteBackup: deleteBackupResponse_httpStatus :: Lens' DeleteBackupResponse Int
+ Amazonka.CloudHSMV2.DeleteBackup: deleteBackup_backupId :: Lens' DeleteBackup Text
+ Amazonka.CloudHSMV2.DeleteBackup: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DeleteBackup.DeleteBackupResponse
+ Amazonka.CloudHSMV2.DeleteBackup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DeleteBackup.DeleteBackupResponse
+ Amazonka.CloudHSMV2.DeleteBackup: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DeleteBackup.DeleteBackupResponse
+ Amazonka.CloudHSMV2.DeleteBackup: instance GHC.Read.Read Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance GHC.Read.Read Amazonka.CloudHSMV2.DeleteBackup.DeleteBackupResponse
+ Amazonka.CloudHSMV2.DeleteBackup: instance GHC.Show.Show Amazonka.CloudHSMV2.DeleteBackup.DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: instance GHC.Show.Show Amazonka.CloudHSMV2.DeleteBackup.DeleteBackupResponse
+ Amazonka.CloudHSMV2.DeleteBackup: newDeleteBackup :: Text -> DeleteBackup
+ Amazonka.CloudHSMV2.DeleteBackup: newDeleteBackupResponse :: Int -> DeleteBackupResponse
+ Amazonka.CloudHSMV2.DeleteCluster: DeleteCluster' :: Text -> DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: DeleteClusterResponse' :: Maybe Cluster -> Int -> DeleteClusterResponse
+ Amazonka.CloudHSMV2.DeleteCluster: [$sel:cluster:DeleteClusterResponse'] :: DeleteClusterResponse -> Maybe Cluster
+ Amazonka.CloudHSMV2.DeleteCluster: [$sel:clusterId:DeleteCluster'] :: DeleteCluster -> Text
+ Amazonka.CloudHSMV2.DeleteCluster: [$sel:httpStatus:DeleteClusterResponse'] :: DeleteClusterResponse -> Int
+ Amazonka.CloudHSMV2.DeleteCluster: data DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: data DeleteClusterResponse
+ Amazonka.CloudHSMV2.DeleteCluster: deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
+ Amazonka.CloudHSMV2.DeleteCluster: deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
+ Amazonka.CloudHSMV2.DeleteCluster: deleteCluster_clusterId :: Lens' DeleteCluster Text
+ Amazonka.CloudHSMV2.DeleteCluster: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DeleteCluster.DeleteClusterResponse
+ Amazonka.CloudHSMV2.DeleteCluster: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DeleteCluster.DeleteClusterResponse
+ Amazonka.CloudHSMV2.DeleteCluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DeleteCluster.DeleteClusterResponse
+ Amazonka.CloudHSMV2.DeleteCluster: instance GHC.Read.Read Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance GHC.Read.Read Amazonka.CloudHSMV2.DeleteCluster.DeleteClusterResponse
+ Amazonka.CloudHSMV2.DeleteCluster: instance GHC.Show.Show Amazonka.CloudHSMV2.DeleteCluster.DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: instance GHC.Show.Show Amazonka.CloudHSMV2.DeleteCluster.DeleteClusterResponse
+ Amazonka.CloudHSMV2.DeleteCluster: newDeleteCluster :: Text -> DeleteCluster
+ Amazonka.CloudHSMV2.DeleteCluster: newDeleteClusterResponse :: Int -> DeleteClusterResponse
+ Amazonka.CloudHSMV2.DeleteHsm: DeleteHsm' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: DeleteHsmResponse' :: Maybe Text -> Int -> DeleteHsmResponse
+ Amazonka.CloudHSMV2.DeleteHsm: [$sel:clusterId:DeleteHsm'] :: DeleteHsm -> Text
+ Amazonka.CloudHSMV2.DeleteHsm: [$sel:eniId:DeleteHsm'] :: DeleteHsm -> Maybe Text
+ Amazonka.CloudHSMV2.DeleteHsm: [$sel:eniIp:DeleteHsm'] :: DeleteHsm -> Maybe Text
+ Amazonka.CloudHSMV2.DeleteHsm: [$sel:hsmId:DeleteHsm'] :: DeleteHsm -> Maybe Text
+ Amazonka.CloudHSMV2.DeleteHsm: [$sel:hsmId:DeleteHsmResponse'] :: DeleteHsmResponse -> Maybe Text
+ Amazonka.CloudHSMV2.DeleteHsm: [$sel:httpStatus:DeleteHsmResponse'] :: DeleteHsmResponse -> Int
+ Amazonka.CloudHSMV2.DeleteHsm: data DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: data DeleteHsmResponse
+ Amazonka.CloudHSMV2.DeleteHsm: deleteHsmResponse_hsmId :: Lens' DeleteHsmResponse (Maybe Text)
+ Amazonka.CloudHSMV2.DeleteHsm: deleteHsmResponse_httpStatus :: Lens' DeleteHsmResponse Int
+ Amazonka.CloudHSMV2.DeleteHsm: deleteHsm_clusterId :: Lens' DeleteHsm Text
+ Amazonka.CloudHSMV2.DeleteHsm: deleteHsm_eniId :: Lens' DeleteHsm (Maybe Text)
+ Amazonka.CloudHSMV2.DeleteHsm: deleteHsm_eniIp :: Lens' DeleteHsm (Maybe Text)
+ Amazonka.CloudHSMV2.DeleteHsm: deleteHsm_hsmId :: Lens' DeleteHsm (Maybe Text)
+ Amazonka.CloudHSMV2.DeleteHsm: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DeleteHsm.DeleteHsmResponse
+ Amazonka.CloudHSMV2.DeleteHsm: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DeleteHsm.DeleteHsmResponse
+ Amazonka.CloudHSMV2.DeleteHsm: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DeleteHsm.DeleteHsmResponse
+ Amazonka.CloudHSMV2.DeleteHsm: instance GHC.Read.Read Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance GHC.Read.Read Amazonka.CloudHSMV2.DeleteHsm.DeleteHsmResponse
+ Amazonka.CloudHSMV2.DeleteHsm: instance GHC.Show.Show Amazonka.CloudHSMV2.DeleteHsm.DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: instance GHC.Show.Show Amazonka.CloudHSMV2.DeleteHsm.DeleteHsmResponse
+ Amazonka.CloudHSMV2.DeleteHsm: newDeleteHsm :: Text -> DeleteHsm
+ Amazonka.CloudHSMV2.DeleteHsm: newDeleteHsmResponse :: Int -> DeleteHsmResponse
+ Amazonka.CloudHSMV2.DescribeBackups: DescribeBackups' :: Maybe (HashMap Text [Text]) -> Maybe Natural -> Maybe Text -> Maybe Bool -> DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: DescribeBackupsResponse' :: Maybe [Backup] -> Maybe Text -> Int -> DescribeBackupsResponse
+ Amazonka.CloudHSMV2.DescribeBackups: [$sel:backups:DescribeBackupsResponse'] :: DescribeBackupsResponse -> Maybe [Backup]
+ Amazonka.CloudHSMV2.DescribeBackups: [$sel:filters:DescribeBackups'] :: DescribeBackups -> Maybe (HashMap Text [Text])
+ Amazonka.CloudHSMV2.DescribeBackups: [$sel:httpStatus:DescribeBackupsResponse'] :: DescribeBackupsResponse -> Int
+ Amazonka.CloudHSMV2.DescribeBackups: [$sel:maxResults:DescribeBackups'] :: DescribeBackups -> Maybe Natural
+ Amazonka.CloudHSMV2.DescribeBackups: [$sel:nextToken:DescribeBackups'] :: DescribeBackups -> Maybe Text
+ Amazonka.CloudHSMV2.DescribeBackups: [$sel:nextToken:DescribeBackupsResponse'] :: DescribeBackupsResponse -> Maybe Text
+ Amazonka.CloudHSMV2.DescribeBackups: [$sel:sortAscending:DescribeBackups'] :: DescribeBackups -> Maybe Bool
+ Amazonka.CloudHSMV2.DescribeBackups: data DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: data DescribeBackupsResponse
+ Amazonka.CloudHSMV2.DescribeBackups: describeBackupsResponse_backups :: Lens' DescribeBackupsResponse (Maybe [Backup])
+ Amazonka.CloudHSMV2.DescribeBackups: describeBackupsResponse_httpStatus :: Lens' DescribeBackupsResponse Int
+ Amazonka.CloudHSMV2.DescribeBackups: describeBackupsResponse_nextToken :: Lens' DescribeBackupsResponse (Maybe Text)
+ Amazonka.CloudHSMV2.DescribeBackups: describeBackups_filters :: Lens' DescribeBackups (Maybe (HashMap Text [Text]))
+ Amazonka.CloudHSMV2.DescribeBackups: describeBackups_maxResults :: Lens' DescribeBackups (Maybe Natural)
+ Amazonka.CloudHSMV2.DescribeBackups: describeBackups_nextToken :: Lens' DescribeBackups (Maybe Text)
+ Amazonka.CloudHSMV2.DescribeBackups: describeBackups_sortAscending :: Lens' DescribeBackups (Maybe Bool)
+ Amazonka.CloudHSMV2.DescribeBackups: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance Amazonka.Pager.AWSPager Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DescribeBackups.DescribeBackupsResponse
+ Amazonka.CloudHSMV2.DescribeBackups: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DescribeBackups.DescribeBackupsResponse
+ Amazonka.CloudHSMV2.DescribeBackups: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DescribeBackups.DescribeBackupsResponse
+ Amazonka.CloudHSMV2.DescribeBackups: instance GHC.Read.Read Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance GHC.Read.Read Amazonka.CloudHSMV2.DescribeBackups.DescribeBackupsResponse
+ Amazonka.CloudHSMV2.DescribeBackups: instance GHC.Show.Show Amazonka.CloudHSMV2.DescribeBackups.DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: instance GHC.Show.Show Amazonka.CloudHSMV2.DescribeBackups.DescribeBackupsResponse
+ Amazonka.CloudHSMV2.DescribeBackups: newDescribeBackups :: DescribeBackups
+ Amazonka.CloudHSMV2.DescribeBackups: newDescribeBackupsResponse :: Int -> DescribeBackupsResponse
+ Amazonka.CloudHSMV2.DescribeClusters: DescribeClusters' :: Maybe (HashMap Text [Text]) -> Maybe Natural -> Maybe Text -> DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: DescribeClustersResponse' :: Maybe [Cluster] -> Maybe Text -> Int -> DescribeClustersResponse
+ Amazonka.CloudHSMV2.DescribeClusters: [$sel:clusters:DescribeClustersResponse'] :: DescribeClustersResponse -> Maybe [Cluster]
+ Amazonka.CloudHSMV2.DescribeClusters: [$sel:filters:DescribeClusters'] :: DescribeClusters -> Maybe (HashMap Text [Text])
+ Amazonka.CloudHSMV2.DescribeClusters: [$sel:httpStatus:DescribeClustersResponse'] :: DescribeClustersResponse -> Int
+ Amazonka.CloudHSMV2.DescribeClusters: [$sel:maxResults:DescribeClusters'] :: DescribeClusters -> Maybe Natural
+ Amazonka.CloudHSMV2.DescribeClusters: [$sel:nextToken:DescribeClusters'] :: DescribeClusters -> Maybe Text
+ Amazonka.CloudHSMV2.DescribeClusters: [$sel:nextToken:DescribeClustersResponse'] :: DescribeClustersResponse -> Maybe Text
+ Amazonka.CloudHSMV2.DescribeClusters: data DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: data DescribeClustersResponse
+ Amazonka.CloudHSMV2.DescribeClusters: describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
+ Amazonka.CloudHSMV2.DescribeClusters: describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
+ Amazonka.CloudHSMV2.DescribeClusters: describeClustersResponse_nextToken :: Lens' DescribeClustersResponse (Maybe Text)
+ Amazonka.CloudHSMV2.DescribeClusters: describeClusters_filters :: Lens' DescribeClusters (Maybe (HashMap Text [Text]))
+ Amazonka.CloudHSMV2.DescribeClusters: describeClusters_maxResults :: Lens' DescribeClusters (Maybe Natural)
+ Amazonka.CloudHSMV2.DescribeClusters: describeClusters_nextToken :: Lens' DescribeClusters (Maybe Text)
+ Amazonka.CloudHSMV2.DescribeClusters: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance Amazonka.Pager.AWSPager Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.DescribeClusters.DescribeClustersResponse
+ Amazonka.CloudHSMV2.DescribeClusters: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance GHC.Classes.Eq Amazonka.CloudHSMV2.DescribeClusters.DescribeClustersResponse
+ Amazonka.CloudHSMV2.DescribeClusters: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance GHC.Generics.Generic Amazonka.CloudHSMV2.DescribeClusters.DescribeClustersResponse
+ Amazonka.CloudHSMV2.DescribeClusters: instance GHC.Read.Read Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance GHC.Read.Read Amazonka.CloudHSMV2.DescribeClusters.DescribeClustersResponse
+ Amazonka.CloudHSMV2.DescribeClusters: instance GHC.Show.Show Amazonka.CloudHSMV2.DescribeClusters.DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: instance GHC.Show.Show Amazonka.CloudHSMV2.DescribeClusters.DescribeClustersResponse
+ Amazonka.CloudHSMV2.DescribeClusters: newDescribeClusters :: DescribeClusters
+ Amazonka.CloudHSMV2.DescribeClusters: newDescribeClustersResponse :: Int -> DescribeClustersResponse
+ Amazonka.CloudHSMV2.InitializeCluster: InitializeCluster' :: Text -> Text -> Text -> InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: InitializeClusterResponse' :: Maybe ClusterState -> Maybe Text -> Int -> InitializeClusterResponse
+ Amazonka.CloudHSMV2.InitializeCluster: [$sel:clusterId:InitializeCluster'] :: InitializeCluster -> Text
+ Amazonka.CloudHSMV2.InitializeCluster: [$sel:httpStatus:InitializeClusterResponse'] :: InitializeClusterResponse -> Int
+ Amazonka.CloudHSMV2.InitializeCluster: [$sel:signedCert:InitializeCluster'] :: InitializeCluster -> Text
+ Amazonka.CloudHSMV2.InitializeCluster: [$sel:state:InitializeClusterResponse'] :: InitializeClusterResponse -> Maybe ClusterState
+ Amazonka.CloudHSMV2.InitializeCluster: [$sel:stateMessage:InitializeClusterResponse'] :: InitializeClusterResponse -> Maybe Text
+ Amazonka.CloudHSMV2.InitializeCluster: [$sel:trustAnchor:InitializeCluster'] :: InitializeCluster -> Text
+ Amazonka.CloudHSMV2.InitializeCluster: data InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: data InitializeClusterResponse
+ Amazonka.CloudHSMV2.InitializeCluster: initializeClusterResponse_httpStatus :: Lens' InitializeClusterResponse Int
+ Amazonka.CloudHSMV2.InitializeCluster: initializeClusterResponse_state :: Lens' InitializeClusterResponse (Maybe ClusterState)
+ Amazonka.CloudHSMV2.InitializeCluster: initializeClusterResponse_stateMessage :: Lens' InitializeClusterResponse (Maybe Text)
+ Amazonka.CloudHSMV2.InitializeCluster: initializeCluster_clusterId :: Lens' InitializeCluster Text
+ Amazonka.CloudHSMV2.InitializeCluster: initializeCluster_signedCert :: Lens' InitializeCluster Text
+ Amazonka.CloudHSMV2.InitializeCluster: initializeCluster_trustAnchor :: Lens' InitializeCluster Text
+ Amazonka.CloudHSMV2.InitializeCluster: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.InitializeCluster.InitializeClusterResponse
+ Amazonka.CloudHSMV2.InitializeCluster: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.InitializeCluster.InitializeClusterResponse
+ Amazonka.CloudHSMV2.InitializeCluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.InitializeCluster.InitializeClusterResponse
+ Amazonka.CloudHSMV2.InitializeCluster: instance GHC.Read.Read Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance GHC.Read.Read Amazonka.CloudHSMV2.InitializeCluster.InitializeClusterResponse
+ Amazonka.CloudHSMV2.InitializeCluster: instance GHC.Show.Show Amazonka.CloudHSMV2.InitializeCluster.InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: instance GHC.Show.Show Amazonka.CloudHSMV2.InitializeCluster.InitializeClusterResponse
+ Amazonka.CloudHSMV2.InitializeCluster: newInitializeCluster :: Text -> Text -> Text -> InitializeCluster
+ Amazonka.CloudHSMV2.InitializeCluster: newInitializeClusterResponse :: Int -> InitializeClusterResponse
+ Amazonka.CloudHSMV2.Lens: backupRetentionPolicy_type :: Lens' BackupRetentionPolicy (Maybe BackupRetentionType)
+ Amazonka.CloudHSMV2.Lens: backupRetentionPolicy_value :: Lens' BackupRetentionPolicy (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: backup_backupId :: Lens' Backup Text
+ Amazonka.CloudHSMV2.Lens: backup_backupState :: Lens' Backup (Maybe BackupState)
+ Amazonka.CloudHSMV2.Lens: backup_clusterId :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: backup_copyTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Lens: backup_createTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Lens: backup_deleteTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Lens: backup_neverExpires :: Lens' Backup (Maybe Bool)
+ Amazonka.CloudHSMV2.Lens: backup_sourceBackup :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: backup_sourceCluster :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: backup_sourceRegion :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: backup_tagList :: Lens' Backup (Maybe [Tag])
+ Amazonka.CloudHSMV2.Lens: certificates_awsHardwareCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: certificates_clusterCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: certificates_clusterCsr :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: certificates_hsmCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: certificates_manufacturerHardwareCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: cluster_backupPolicy :: Lens' Cluster (Maybe BackupPolicy)
+ Amazonka.CloudHSMV2.Lens: cluster_backupRetentionPolicy :: Lens' Cluster (Maybe BackupRetentionPolicy)
+ Amazonka.CloudHSMV2.Lens: cluster_certificates :: Lens' Cluster (Maybe Certificates)
+ Amazonka.CloudHSMV2.Lens: cluster_clusterId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: cluster_createTimestamp :: Lens' Cluster (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Lens: cluster_hsmType :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: cluster_hsms :: Lens' Cluster (Maybe [Hsm])
+ Amazonka.CloudHSMV2.Lens: cluster_preCoPassword :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: cluster_securityGroup :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: cluster_sourceBackupId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: cluster_state :: Lens' Cluster (Maybe ClusterState)
+ Amazonka.CloudHSMV2.Lens: cluster_stateMessage :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: cluster_subnetMapping :: Lens' Cluster (Maybe (HashMap Text Text))
+ Amazonka.CloudHSMV2.Lens: cluster_tagList :: Lens' Cluster (Maybe [Tag])
+ Amazonka.CloudHSMV2.Lens: cluster_vpcId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: copyBackupToRegionResponse_destinationBackup :: Lens' CopyBackupToRegionResponse (Maybe DestinationBackup)
+ Amazonka.CloudHSMV2.Lens: copyBackupToRegionResponse_httpStatus :: Lens' CopyBackupToRegionResponse Int
+ Amazonka.CloudHSMV2.Lens: copyBackupToRegion_backupId :: Lens' CopyBackupToRegion Text
+ Amazonka.CloudHSMV2.Lens: copyBackupToRegion_destinationRegion :: Lens' CopyBackupToRegion Text
+ Amazonka.CloudHSMV2.Lens: copyBackupToRegion_tagList :: Lens' CopyBackupToRegion (Maybe [Tag])
+ Amazonka.CloudHSMV2.Lens: createClusterResponse_cluster :: Lens' CreateClusterResponse (Maybe Cluster)
+ Amazonka.CloudHSMV2.Lens: createClusterResponse_httpStatus :: Lens' CreateClusterResponse Int
+ Amazonka.CloudHSMV2.Lens: createCluster_backupRetentionPolicy :: Lens' CreateCluster (Maybe BackupRetentionPolicy)
+ Amazonka.CloudHSMV2.Lens: createCluster_hsmType :: Lens' CreateCluster Text
+ Amazonka.CloudHSMV2.Lens: createCluster_sourceBackupId :: Lens' CreateCluster (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: createCluster_subnetIds :: Lens' CreateCluster (NonEmpty Text)
+ Amazonka.CloudHSMV2.Lens: createCluster_tagList :: Lens' CreateCluster (Maybe [Tag])
+ Amazonka.CloudHSMV2.Lens: createHsmResponse_hsm :: Lens' CreateHsmResponse (Maybe Hsm)
+ Amazonka.CloudHSMV2.Lens: createHsmResponse_httpStatus :: Lens' CreateHsmResponse Int
+ Amazonka.CloudHSMV2.Lens: createHsm_availabilityZone :: Lens' CreateHsm Text
+ Amazonka.CloudHSMV2.Lens: createHsm_clusterId :: Lens' CreateHsm Text
+ Amazonka.CloudHSMV2.Lens: createHsm_ipAddress :: Lens' CreateHsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: deleteBackupResponse_backup :: Lens' DeleteBackupResponse (Maybe Backup)
+ Amazonka.CloudHSMV2.Lens: deleteBackupResponse_httpStatus :: Lens' DeleteBackupResponse Int
+ Amazonka.CloudHSMV2.Lens: deleteBackup_backupId :: Lens' DeleteBackup Text
+ Amazonka.CloudHSMV2.Lens: deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster)
+ Amazonka.CloudHSMV2.Lens: deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
+ Amazonka.CloudHSMV2.Lens: deleteCluster_clusterId :: Lens' DeleteCluster Text
+ Amazonka.CloudHSMV2.Lens: deleteHsmResponse_hsmId :: Lens' DeleteHsmResponse (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: deleteHsmResponse_httpStatus :: Lens' DeleteHsmResponse Int
+ Amazonka.CloudHSMV2.Lens: deleteHsm_clusterId :: Lens' DeleteHsm Text
+ Amazonka.CloudHSMV2.Lens: deleteHsm_eniId :: Lens' DeleteHsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: deleteHsm_eniIp :: Lens' DeleteHsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: deleteHsm_hsmId :: Lens' DeleteHsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: describeBackupsResponse_backups :: Lens' DescribeBackupsResponse (Maybe [Backup])
+ Amazonka.CloudHSMV2.Lens: describeBackupsResponse_httpStatus :: Lens' DescribeBackupsResponse Int
+ Amazonka.CloudHSMV2.Lens: describeBackupsResponse_nextToken :: Lens' DescribeBackupsResponse (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: describeBackups_filters :: Lens' DescribeBackups (Maybe (HashMap Text [Text]))
+ Amazonka.CloudHSMV2.Lens: describeBackups_maxResults :: Lens' DescribeBackups (Maybe Natural)
+ Amazonka.CloudHSMV2.Lens: describeBackups_nextToken :: Lens' DescribeBackups (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: describeBackups_sortAscending :: Lens' DescribeBackups (Maybe Bool)
+ Amazonka.CloudHSMV2.Lens: describeClustersResponse_clusters :: Lens' DescribeClustersResponse (Maybe [Cluster])
+ Amazonka.CloudHSMV2.Lens: describeClustersResponse_httpStatus :: Lens' DescribeClustersResponse Int
+ Amazonka.CloudHSMV2.Lens: describeClustersResponse_nextToken :: Lens' DescribeClustersResponse (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: describeClusters_filters :: Lens' DescribeClusters (Maybe (HashMap Text [Text]))
+ Amazonka.CloudHSMV2.Lens: describeClusters_maxResults :: Lens' DescribeClusters (Maybe Natural)
+ Amazonka.CloudHSMV2.Lens: describeClusters_nextToken :: Lens' DescribeClusters (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: destinationBackup_createTimestamp :: Lens' DestinationBackup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Lens: destinationBackup_sourceBackup :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: destinationBackup_sourceCluster :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: destinationBackup_sourceRegion :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: hsm_availabilityZone :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: hsm_clusterId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: hsm_eniId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: hsm_eniIp :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: hsm_hsmId :: Lens' Hsm Text
+ Amazonka.CloudHSMV2.Lens: hsm_state :: Lens' Hsm (Maybe HsmState)
+ Amazonka.CloudHSMV2.Lens: hsm_stateMessage :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: hsm_subnetId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: initializeClusterResponse_httpStatus :: Lens' InitializeClusterResponse Int
+ Amazonka.CloudHSMV2.Lens: initializeClusterResponse_state :: Lens' InitializeClusterResponse (Maybe ClusterState)
+ Amazonka.CloudHSMV2.Lens: initializeClusterResponse_stateMessage :: Lens' InitializeClusterResponse (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: initializeCluster_clusterId :: Lens' InitializeCluster Text
+ Amazonka.CloudHSMV2.Lens: initializeCluster_signedCert :: Lens' InitializeCluster Text
+ Amazonka.CloudHSMV2.Lens: initializeCluster_trustAnchor :: Lens' InitializeCluster Text
+ Amazonka.CloudHSMV2.Lens: listTagsResponse_httpStatus :: Lens' ListTagsResponse Int
+ Amazonka.CloudHSMV2.Lens: listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: listTagsResponse_tagList :: Lens' ListTagsResponse [Tag]
+ Amazonka.CloudHSMV2.Lens: listTags_maxResults :: Lens' ListTags (Maybe Natural)
+ Amazonka.CloudHSMV2.Lens: listTags_nextToken :: Lens' ListTags (Maybe Text)
+ Amazonka.CloudHSMV2.Lens: listTags_resourceId :: Lens' ListTags Text
+ Amazonka.CloudHSMV2.Lens: modifyBackupAttributesResponse_backup :: Lens' ModifyBackupAttributesResponse (Maybe Backup)
+ Amazonka.CloudHSMV2.Lens: modifyBackupAttributesResponse_httpStatus :: Lens' ModifyBackupAttributesResponse Int
+ Amazonka.CloudHSMV2.Lens: modifyBackupAttributes_backupId :: Lens' ModifyBackupAttributes Text
+ Amazonka.CloudHSMV2.Lens: modifyBackupAttributes_neverExpires :: Lens' ModifyBackupAttributes Bool
+ Amazonka.CloudHSMV2.Lens: modifyClusterResponse_cluster :: Lens' ModifyClusterResponse (Maybe Cluster)
+ Amazonka.CloudHSMV2.Lens: modifyClusterResponse_httpStatus :: Lens' ModifyClusterResponse Int
+ Amazonka.CloudHSMV2.Lens: modifyCluster_backupRetentionPolicy :: Lens' ModifyCluster BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Lens: modifyCluster_clusterId :: Lens' ModifyCluster Text
+ Amazonka.CloudHSMV2.Lens: restoreBackupResponse_backup :: Lens' RestoreBackupResponse (Maybe Backup)
+ Amazonka.CloudHSMV2.Lens: restoreBackupResponse_httpStatus :: Lens' RestoreBackupResponse Int
+ Amazonka.CloudHSMV2.Lens: restoreBackup_backupId :: Lens' RestoreBackup Text
+ Amazonka.CloudHSMV2.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.CloudHSMV2.Lens: tagResource_resourceId :: Lens' TagResource Text
+ Amazonka.CloudHSMV2.Lens: tagResource_tagList :: Lens' TagResource [Tag]
+ Amazonka.CloudHSMV2.Lens: tag_key :: Lens' Tag Text
+ Amazonka.CloudHSMV2.Lens: tag_value :: Lens' Tag Text
+ Amazonka.CloudHSMV2.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.CloudHSMV2.Lens: untagResource_resourceId :: Lens' UntagResource Text
+ Amazonka.CloudHSMV2.Lens: untagResource_tagKeyList :: Lens' UntagResource (NonEmpty Text)
+ Amazonka.CloudHSMV2.ListTags: ListTags' :: Maybe Natural -> Maybe Text -> Text -> ListTags
+ Amazonka.CloudHSMV2.ListTags: ListTagsResponse' :: Maybe Text -> Int -> [Tag] -> ListTagsResponse
+ Amazonka.CloudHSMV2.ListTags: [$sel:httpStatus:ListTagsResponse'] :: ListTagsResponse -> Int
+ Amazonka.CloudHSMV2.ListTags: [$sel:maxResults:ListTags'] :: ListTags -> Maybe Natural
+ Amazonka.CloudHSMV2.ListTags: [$sel:nextToken:ListTags'] :: ListTags -> Maybe Text
+ Amazonka.CloudHSMV2.ListTags: [$sel:nextToken:ListTagsResponse'] :: ListTagsResponse -> Maybe Text
+ Amazonka.CloudHSMV2.ListTags: [$sel:resourceId:ListTags'] :: ListTags -> Text
+ Amazonka.CloudHSMV2.ListTags: [$sel:tagList:ListTagsResponse'] :: ListTagsResponse -> [Tag]
+ Amazonka.CloudHSMV2.ListTags: data ListTags
+ Amazonka.CloudHSMV2.ListTags: data ListTagsResponse
+ Amazonka.CloudHSMV2.ListTags: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance Amazonka.Pager.AWSPager Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.ListTags.ListTagsResponse
+ Amazonka.CloudHSMV2.ListTags: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance GHC.Classes.Eq Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance GHC.Classes.Eq Amazonka.CloudHSMV2.ListTags.ListTagsResponse
+ Amazonka.CloudHSMV2.ListTags: instance GHC.Generics.Generic Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance GHC.Generics.Generic Amazonka.CloudHSMV2.ListTags.ListTagsResponse
+ Amazonka.CloudHSMV2.ListTags: instance GHC.Read.Read Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance GHC.Read.Read Amazonka.CloudHSMV2.ListTags.ListTagsResponse
+ Amazonka.CloudHSMV2.ListTags: instance GHC.Show.Show Amazonka.CloudHSMV2.ListTags.ListTags
+ Amazonka.CloudHSMV2.ListTags: instance GHC.Show.Show Amazonka.CloudHSMV2.ListTags.ListTagsResponse
+ Amazonka.CloudHSMV2.ListTags: listTagsResponse_httpStatus :: Lens' ListTagsResponse Int
+ Amazonka.CloudHSMV2.ListTags: listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text)
+ Amazonka.CloudHSMV2.ListTags: listTagsResponse_tagList :: Lens' ListTagsResponse [Tag]
+ Amazonka.CloudHSMV2.ListTags: listTags_maxResults :: Lens' ListTags (Maybe Natural)
+ Amazonka.CloudHSMV2.ListTags: listTags_nextToken :: Lens' ListTags (Maybe Text)
+ Amazonka.CloudHSMV2.ListTags: listTags_resourceId :: Lens' ListTags Text
+ Amazonka.CloudHSMV2.ListTags: newListTags :: Text -> ListTags
+ Amazonka.CloudHSMV2.ListTags: newListTagsResponse :: Int -> ListTagsResponse
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: ModifyBackupAttributes' :: Text -> Bool -> ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: ModifyBackupAttributesResponse' :: Maybe Backup -> Int -> ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: [$sel:backup:ModifyBackupAttributesResponse'] :: ModifyBackupAttributesResponse -> Maybe Backup
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: [$sel:backupId:ModifyBackupAttributes'] :: ModifyBackupAttributes -> Text
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: [$sel:httpStatus:ModifyBackupAttributesResponse'] :: ModifyBackupAttributesResponse -> Int
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: [$sel:neverExpires:ModifyBackupAttributes'] :: ModifyBackupAttributes -> Bool
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: data ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: data ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance GHC.Classes.Eq Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance GHC.Classes.Eq Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance GHC.Generics.Generic Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance GHC.Generics.Generic Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance GHC.Read.Read Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance GHC.Read.Read Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance GHC.Show.Show Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: instance GHC.Show.Show Amazonka.CloudHSMV2.ModifyBackupAttributes.ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: modifyBackupAttributesResponse_backup :: Lens' ModifyBackupAttributesResponse (Maybe Backup)
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: modifyBackupAttributesResponse_httpStatus :: Lens' ModifyBackupAttributesResponse Int
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: modifyBackupAttributes_backupId :: Lens' ModifyBackupAttributes Text
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: modifyBackupAttributes_neverExpires :: Lens' ModifyBackupAttributes Bool
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: newModifyBackupAttributes :: Text -> Bool -> ModifyBackupAttributes
+ Amazonka.CloudHSMV2.ModifyBackupAttributes: newModifyBackupAttributesResponse :: Int -> ModifyBackupAttributesResponse
+ Amazonka.CloudHSMV2.ModifyCluster: ModifyCluster' :: BackupRetentionPolicy -> Text -> ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: ModifyClusterResponse' :: Maybe Cluster -> Int -> ModifyClusterResponse
+ Amazonka.CloudHSMV2.ModifyCluster: [$sel:backupRetentionPolicy:ModifyCluster'] :: ModifyCluster -> BackupRetentionPolicy
+ Amazonka.CloudHSMV2.ModifyCluster: [$sel:cluster:ModifyClusterResponse'] :: ModifyClusterResponse -> Maybe Cluster
+ Amazonka.CloudHSMV2.ModifyCluster: [$sel:clusterId:ModifyCluster'] :: ModifyCluster -> Text
+ Amazonka.CloudHSMV2.ModifyCluster: [$sel:httpStatus:ModifyClusterResponse'] :: ModifyClusterResponse -> Int
+ Amazonka.CloudHSMV2.ModifyCluster: data ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: data ModifyClusterResponse
+ Amazonka.CloudHSMV2.ModifyCluster: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.ModifyCluster.ModifyClusterResponse
+ Amazonka.CloudHSMV2.ModifyCluster: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.ModifyCluster.ModifyClusterResponse
+ Amazonka.CloudHSMV2.ModifyCluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.ModifyCluster.ModifyClusterResponse
+ Amazonka.CloudHSMV2.ModifyCluster: instance GHC.Read.Read Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance GHC.Read.Read Amazonka.CloudHSMV2.ModifyCluster.ModifyClusterResponse
+ Amazonka.CloudHSMV2.ModifyCluster: instance GHC.Show.Show Amazonka.CloudHSMV2.ModifyCluster.ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: instance GHC.Show.Show Amazonka.CloudHSMV2.ModifyCluster.ModifyClusterResponse
+ Amazonka.CloudHSMV2.ModifyCluster: modifyClusterResponse_cluster :: Lens' ModifyClusterResponse (Maybe Cluster)
+ Amazonka.CloudHSMV2.ModifyCluster: modifyClusterResponse_httpStatus :: Lens' ModifyClusterResponse Int
+ Amazonka.CloudHSMV2.ModifyCluster: modifyCluster_backupRetentionPolicy :: Lens' ModifyCluster BackupRetentionPolicy
+ Amazonka.CloudHSMV2.ModifyCluster: modifyCluster_clusterId :: Lens' ModifyCluster Text
+ Amazonka.CloudHSMV2.ModifyCluster: newModifyCluster :: BackupRetentionPolicy -> Text -> ModifyCluster
+ Amazonka.CloudHSMV2.ModifyCluster: newModifyClusterResponse :: Int -> ModifyClusterResponse
+ Amazonka.CloudHSMV2.RestoreBackup: RestoreBackup' :: Text -> RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: RestoreBackupResponse' :: Maybe Backup -> Int -> RestoreBackupResponse
+ Amazonka.CloudHSMV2.RestoreBackup: [$sel:backup:RestoreBackupResponse'] :: RestoreBackupResponse -> Maybe Backup
+ Amazonka.CloudHSMV2.RestoreBackup: [$sel:backupId:RestoreBackup'] :: RestoreBackup -> Text
+ Amazonka.CloudHSMV2.RestoreBackup: [$sel:httpStatus:RestoreBackupResponse'] :: RestoreBackupResponse -> Int
+ Amazonka.CloudHSMV2.RestoreBackup: data RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: data RestoreBackupResponse
+ Amazonka.CloudHSMV2.RestoreBackup: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.RestoreBackup.RestoreBackupResponse
+ Amazonka.CloudHSMV2.RestoreBackup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance GHC.Classes.Eq Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance GHC.Classes.Eq Amazonka.CloudHSMV2.RestoreBackup.RestoreBackupResponse
+ Amazonka.CloudHSMV2.RestoreBackup: instance GHC.Generics.Generic Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance GHC.Generics.Generic Amazonka.CloudHSMV2.RestoreBackup.RestoreBackupResponse
+ Amazonka.CloudHSMV2.RestoreBackup: instance GHC.Read.Read Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance GHC.Read.Read Amazonka.CloudHSMV2.RestoreBackup.RestoreBackupResponse
+ Amazonka.CloudHSMV2.RestoreBackup: instance GHC.Show.Show Amazonka.CloudHSMV2.RestoreBackup.RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: instance GHC.Show.Show Amazonka.CloudHSMV2.RestoreBackup.RestoreBackupResponse
+ Amazonka.CloudHSMV2.RestoreBackup: newRestoreBackup :: Text -> RestoreBackup
+ Amazonka.CloudHSMV2.RestoreBackup: newRestoreBackupResponse :: Int -> RestoreBackupResponse
+ Amazonka.CloudHSMV2.RestoreBackup: restoreBackupResponse_backup :: Lens' RestoreBackupResponse (Maybe Backup)
+ Amazonka.CloudHSMV2.RestoreBackup: restoreBackupResponse_httpStatus :: Lens' RestoreBackupResponse Int
+ Amazonka.CloudHSMV2.RestoreBackup: restoreBackup_backupId :: Lens' RestoreBackup Text
+ Amazonka.CloudHSMV2.TagResource: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.CloudHSMV2.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.CloudHSMV2.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.CloudHSMV2.TagResource: [$sel:resourceId:TagResource'] :: TagResource -> Text
+ Amazonka.CloudHSMV2.TagResource: [$sel:tagList:TagResource'] :: TagResource -> [Tag]
+ Amazonka.CloudHSMV2.TagResource: data TagResource
+ Amazonka.CloudHSMV2.TagResource: data TagResourceResponse
+ Amazonka.CloudHSMV2.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.TagResource.TagResourceResponse
+ Amazonka.CloudHSMV2.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance GHC.Classes.Eq Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance GHC.Classes.Eq Amazonka.CloudHSMV2.TagResource.TagResourceResponse
+ Amazonka.CloudHSMV2.TagResource: instance GHC.Generics.Generic Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance GHC.Generics.Generic Amazonka.CloudHSMV2.TagResource.TagResourceResponse
+ Amazonka.CloudHSMV2.TagResource: instance GHC.Read.Read Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance GHC.Read.Read Amazonka.CloudHSMV2.TagResource.TagResourceResponse
+ Amazonka.CloudHSMV2.TagResource: instance GHC.Show.Show Amazonka.CloudHSMV2.TagResource.TagResource
+ Amazonka.CloudHSMV2.TagResource: instance GHC.Show.Show Amazonka.CloudHSMV2.TagResource.TagResourceResponse
+ Amazonka.CloudHSMV2.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.CloudHSMV2.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.CloudHSMV2.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.CloudHSMV2.TagResource: tagResource_resourceId :: Lens' TagResource Text
+ Amazonka.CloudHSMV2.TagResource: tagResource_tagList :: Lens' TagResource [Tag]
+ Amazonka.CloudHSMV2.Types: Backup' :: Maybe BackupState -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Text -> Backup
+ Amazonka.CloudHSMV2.Types: BackupPolicy' :: Text -> BackupPolicy
+ Amazonka.CloudHSMV2.Types: BackupRetentionPolicy' :: Maybe BackupRetentionType -> Maybe Text -> BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types: BackupRetentionType' :: Text -> BackupRetentionType
+ Amazonka.CloudHSMV2.Types: BackupState' :: Text -> BackupState
+ Amazonka.CloudHSMV2.Types: Certificates' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Certificates
+ Amazonka.CloudHSMV2.Types: Cluster' :: Maybe BackupPolicy -> Maybe BackupRetentionPolicy -> Maybe Certificates -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe [Hsm] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ClusterState -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Tag] -> Maybe Text -> Cluster
+ Amazonka.CloudHSMV2.Types: ClusterState' :: Text -> ClusterState
+ Amazonka.CloudHSMV2.Types: DestinationBackup' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> DestinationBackup
+ Amazonka.CloudHSMV2.Types: Hsm' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe HsmState -> Maybe Text -> Maybe Text -> Text -> Hsm
+ Amazonka.CloudHSMV2.Types: HsmState' :: Text -> HsmState
+ Amazonka.CloudHSMV2.Types: Tag' :: Text -> Text -> Tag
+ Amazonka.CloudHSMV2.Types: [$sel:availabilityZone:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:awsHardwareCertificate:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:backupId:Backup'] :: Backup -> Text
+ Amazonka.CloudHSMV2.Types: [$sel:backupPolicy:Cluster'] :: Cluster -> Maybe BackupPolicy
+ Amazonka.CloudHSMV2.Types: [$sel:backupRetentionPolicy:Cluster'] :: Cluster -> Maybe BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types: [$sel:backupState:Backup'] :: Backup -> Maybe BackupState
+ Amazonka.CloudHSMV2.Types: [$sel:certificates:Cluster'] :: Cluster -> Maybe Certificates
+ Amazonka.CloudHSMV2.Types: [$sel:clusterCertificate:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:clusterCsr:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:clusterId:Backup'] :: Backup -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:clusterId:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:clusterId:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:copyTimestamp:Backup'] :: Backup -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types: [$sel:createTimestamp:Backup'] :: Backup -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types: [$sel:createTimestamp:Cluster'] :: Cluster -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types: [$sel:createTimestamp:DestinationBackup'] :: DestinationBackup -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types: [$sel:deleteTimestamp:Backup'] :: Backup -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types: [$sel:eniId:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:eniIp:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:hsmCertificate:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:hsmId:Hsm'] :: Hsm -> Text
+ Amazonka.CloudHSMV2.Types: [$sel:hsmType:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:hsms:Cluster'] :: Cluster -> Maybe [Hsm]
+ Amazonka.CloudHSMV2.Types: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.CloudHSMV2.Types: [$sel:manufacturerHardwareCertificate:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:neverExpires:Backup'] :: Backup -> Maybe Bool
+ Amazonka.CloudHSMV2.Types: [$sel:preCoPassword:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:securityGroup:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:sourceBackup:Backup'] :: Backup -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:sourceBackup:DestinationBackup'] :: DestinationBackup -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:sourceBackupId:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:sourceCluster:Backup'] :: Backup -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:sourceCluster:DestinationBackup'] :: DestinationBackup -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:sourceRegion:Backup'] :: Backup -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:sourceRegion:DestinationBackup'] :: DestinationBackup -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:state:Cluster'] :: Cluster -> Maybe ClusterState
+ Amazonka.CloudHSMV2.Types: [$sel:state:Hsm'] :: Hsm -> Maybe HsmState
+ Amazonka.CloudHSMV2.Types: [$sel:stateMessage:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:stateMessage:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:subnetId:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:subnetMapping:Cluster'] :: Cluster -> Maybe (HashMap Text Text)
+ Amazonka.CloudHSMV2.Types: [$sel:tagList:Backup'] :: Backup -> Maybe [Tag]
+ Amazonka.CloudHSMV2.Types: [$sel:tagList:Cluster'] :: Cluster -> Maybe [Tag]
+ Amazonka.CloudHSMV2.Types: [$sel:type':BackupRetentionPolicy'] :: BackupRetentionPolicy -> Maybe BackupRetentionType
+ Amazonka.CloudHSMV2.Types: [$sel:value:BackupRetentionPolicy'] :: BackupRetentionPolicy -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.CloudHSMV2.Types: [$sel:vpcId:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types: [fromBackupPolicy] :: BackupPolicy -> Text
+ Amazonka.CloudHSMV2.Types: [fromBackupRetentionType] :: BackupRetentionType -> Text
+ Amazonka.CloudHSMV2.Types: [fromBackupState] :: BackupState -> Text
+ Amazonka.CloudHSMV2.Types: [fromClusterState] :: ClusterState -> Text
+ Amazonka.CloudHSMV2.Types: [fromHsmState] :: HsmState -> Text
+ Amazonka.CloudHSMV2.Types: _CloudHsmAccessDeniedException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2.Types: _CloudHsmInternalFailureException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2.Types: _CloudHsmInvalidRequestException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2.Types: _CloudHsmResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2.Types: _CloudHsmServiceException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2.Types: _CloudHsmTagException :: AsError a => Fold a ServiceError
+ Amazonka.CloudHSMV2.Types: backupRetentionPolicy_type :: Lens' BackupRetentionPolicy (Maybe BackupRetentionType)
+ Amazonka.CloudHSMV2.Types: backupRetentionPolicy_value :: Lens' BackupRetentionPolicy (Maybe Text)
+ Amazonka.CloudHSMV2.Types: backup_backupId :: Lens' Backup Text
+ Amazonka.CloudHSMV2.Types: backup_backupState :: Lens' Backup (Maybe BackupState)
+ Amazonka.CloudHSMV2.Types: backup_clusterId :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Types: backup_copyTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types: backup_createTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types: backup_deleteTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types: backup_neverExpires :: Lens' Backup (Maybe Bool)
+ Amazonka.CloudHSMV2.Types: backup_sourceBackup :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Types: backup_sourceCluster :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Types: backup_sourceRegion :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Types: backup_tagList :: Lens' Backup (Maybe [Tag])
+ Amazonka.CloudHSMV2.Types: certificates_awsHardwareCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types: certificates_clusterCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types: certificates_clusterCsr :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types: certificates_hsmCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types: certificates_manufacturerHardwareCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types: cluster_backupPolicy :: Lens' Cluster (Maybe BackupPolicy)
+ Amazonka.CloudHSMV2.Types: cluster_backupRetentionPolicy :: Lens' Cluster (Maybe BackupRetentionPolicy)
+ Amazonka.CloudHSMV2.Types: cluster_certificates :: Lens' Cluster (Maybe Certificates)
+ Amazonka.CloudHSMV2.Types: cluster_clusterId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types: cluster_createTimestamp :: Lens' Cluster (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types: cluster_hsmType :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types: cluster_hsms :: Lens' Cluster (Maybe [Hsm])
+ Amazonka.CloudHSMV2.Types: cluster_preCoPassword :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types: cluster_securityGroup :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types: cluster_sourceBackupId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types: cluster_state :: Lens' Cluster (Maybe ClusterState)
+ Amazonka.CloudHSMV2.Types: cluster_stateMessage :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types: cluster_subnetMapping :: Lens' Cluster (Maybe (HashMap Text Text))
+ Amazonka.CloudHSMV2.Types: cluster_tagList :: Lens' Cluster (Maybe [Tag])
+ Amazonka.CloudHSMV2.Types: cluster_vpcId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types: data Backup
+ Amazonka.CloudHSMV2.Types: data BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types: data Certificates
+ Amazonka.CloudHSMV2.Types: data Cluster
+ Amazonka.CloudHSMV2.Types: data DestinationBackup
+ Amazonka.CloudHSMV2.Types: data Hsm
+ Amazonka.CloudHSMV2.Types: data Tag
+ Amazonka.CloudHSMV2.Types: defaultService :: Service
+ Amazonka.CloudHSMV2.Types: destinationBackup_createTimestamp :: Lens' DestinationBackup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types: destinationBackup_sourceBackup :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Types: destinationBackup_sourceCluster :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Types: destinationBackup_sourceRegion :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Types: hsm_availabilityZone :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types: hsm_clusterId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types: hsm_eniId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types: hsm_eniIp :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types: hsm_hsmId :: Lens' Hsm Text
+ Amazonka.CloudHSMV2.Types: hsm_state :: Lens' Hsm (Maybe HsmState)
+ Amazonka.CloudHSMV2.Types: hsm_stateMessage :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types: hsm_subnetId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types: newBackup :: Text -> Backup
+ Amazonka.CloudHSMV2.Types: newBackupRetentionPolicy :: BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types: newCertificates :: Certificates
+ Amazonka.CloudHSMV2.Types: newCluster :: Cluster
+ Amazonka.CloudHSMV2.Types: newDestinationBackup :: DestinationBackup
+ Amazonka.CloudHSMV2.Types: newHsm :: Text -> Hsm
+ Amazonka.CloudHSMV2.Types: newTag :: Text -> Text -> Tag
+ Amazonka.CloudHSMV2.Types: newtype BackupPolicy
+ Amazonka.CloudHSMV2.Types: newtype BackupRetentionType
+ Amazonka.CloudHSMV2.Types: newtype BackupState
+ Amazonka.CloudHSMV2.Types: newtype ClusterState
+ Amazonka.CloudHSMV2.Types: newtype HsmState
+ Amazonka.CloudHSMV2.Types: pattern BackupPolicy_DEFAULT :: BackupPolicy
+ Amazonka.CloudHSMV2.Types: pattern BackupRetentionType_DAYS :: BackupRetentionType
+ Amazonka.CloudHSMV2.Types: pattern BackupState_CREATE_IN_PROGRESS :: BackupState
+ Amazonka.CloudHSMV2.Types: pattern BackupState_DELETED :: BackupState
+ Amazonka.CloudHSMV2.Types: pattern BackupState_PENDING_DELETION :: BackupState
+ Amazonka.CloudHSMV2.Types: pattern BackupState_READY :: BackupState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_ACTIVE :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_CREATE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_DEGRADED :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_DELETED :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_DELETE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_INITIALIZED :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_INITIALIZE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_UNINITIALIZED :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern ClusterState_UPDATE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2.Types: pattern HsmState_ACTIVE :: HsmState
+ Amazonka.CloudHSMV2.Types: pattern HsmState_CREATE_IN_PROGRESS :: HsmState
+ Amazonka.CloudHSMV2.Types: pattern HsmState_DEGRADED :: HsmState
+ Amazonka.CloudHSMV2.Types: pattern HsmState_DELETED :: HsmState
+ Amazonka.CloudHSMV2.Types: pattern HsmState_DELETE_IN_PROGRESS :: HsmState
+ Amazonka.CloudHSMV2.Types: tag_key :: Lens' Tag Text
+ Amazonka.CloudHSMV2.Types: tag_value :: Lens' Tag Text
+ Amazonka.CloudHSMV2.Types.Backup: Backup' :: Maybe BackupState -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Tag] -> Text -> Backup
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:backupId:Backup'] :: Backup -> Text
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:backupState:Backup'] :: Backup -> Maybe BackupState
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:clusterId:Backup'] :: Backup -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:copyTimestamp:Backup'] :: Backup -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:createTimestamp:Backup'] :: Backup -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:deleteTimestamp:Backup'] :: Backup -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:neverExpires:Backup'] :: Backup -> Maybe Bool
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:sourceBackup:Backup'] :: Backup -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:sourceCluster:Backup'] :: Backup -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:sourceRegion:Backup'] :: Backup -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Backup: [$sel:tagList:Backup'] :: Backup -> Maybe [Tag]
+ Amazonka.CloudHSMV2.Types.Backup: backup_backupId :: Lens' Backup Text
+ Amazonka.CloudHSMV2.Types.Backup: backup_backupState :: Lens' Backup (Maybe BackupState)
+ Amazonka.CloudHSMV2.Types.Backup: backup_clusterId :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Backup: backup_copyTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types.Backup: backup_createTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types.Backup: backup_deleteTimestamp :: Lens' Backup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types.Backup: backup_neverExpires :: Lens' Backup (Maybe Bool)
+ Amazonka.CloudHSMV2.Types.Backup: backup_sourceBackup :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Backup: backup_sourceCluster :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Backup: backup_sourceRegion :: Lens' Backup (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Backup: backup_tagList :: Lens' Backup (Maybe [Tag])
+ Amazonka.CloudHSMV2.Types.Backup: data Backup
+ Amazonka.CloudHSMV2.Types.Backup: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.Backup.Backup
+ Amazonka.CloudHSMV2.Types.Backup: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.Backup.Backup
+ Amazonka.CloudHSMV2.Types.Backup: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.Backup.Backup
+ Amazonka.CloudHSMV2.Types.Backup: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.Backup.Backup
+ Amazonka.CloudHSMV2.Types.Backup: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.Backup.Backup
+ Amazonka.CloudHSMV2.Types.Backup: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.Backup.Backup
+ Amazonka.CloudHSMV2.Types.Backup: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.Backup.Backup
+ Amazonka.CloudHSMV2.Types.Backup: newBackup :: Text -> Backup
+ Amazonka.CloudHSMV2.Types.BackupPolicy: BackupPolicy' :: Text -> BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: [fromBackupPolicy] :: BackupPolicy -> Text
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Amazonka.Data.Log.ToLog Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Amazonka.Data.Text.FromText Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Amazonka.Data.Text.ToText Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Amazonka.Data.XML.FromXML Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Amazonka.Data.XML.ToXML Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance GHC.Classes.Ord Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.BackupPolicy.BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: newtype BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupPolicy: pattern BackupPolicy_DEFAULT :: BackupPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: BackupRetentionPolicy' :: Maybe BackupRetentionType -> Maybe Text -> BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: [$sel:type':BackupRetentionPolicy'] :: BackupRetentionPolicy -> Maybe BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: [$sel:value:BackupRetentionPolicy'] :: BackupRetentionPolicy -> Maybe Text
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: backupRetentionPolicy_type :: Lens' BackupRetentionPolicy (Maybe BackupRetentionType)
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: backupRetentionPolicy_value :: Lens' BackupRetentionPolicy (Maybe Text)
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: data BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.BackupRetentionPolicy.BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.BackupRetentionPolicy.BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.Types.BackupRetentionPolicy.BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.BackupRetentionPolicy.BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.BackupRetentionPolicy.BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.BackupRetentionPolicy.BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.BackupRetentionPolicy.BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.BackupRetentionPolicy.BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionPolicy: newBackupRetentionPolicy :: BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: BackupRetentionType' :: Text -> BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: [fromBackupRetentionType] :: BackupRetentionType -> Text
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Amazonka.Data.Log.ToLog Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Amazonka.Data.Text.FromText Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Amazonka.Data.Text.ToText Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Amazonka.Data.XML.FromXML Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Amazonka.Data.XML.ToXML Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance GHC.Classes.Ord Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.BackupRetentionType.BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: newtype BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupRetentionType: pattern BackupRetentionType_DAYS :: BackupRetentionType
+ Amazonka.CloudHSMV2.Types.BackupState: BackupState' :: Text -> BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: [fromBackupState] :: BackupState -> Text
+ Amazonka.CloudHSMV2.Types.BackupState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Amazonka.Data.Log.ToLog Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Amazonka.Data.Text.FromText Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Amazonka.Data.Text.ToText Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Amazonka.Data.XML.FromXML Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Amazonka.Data.XML.ToXML Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance GHC.Classes.Ord Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.BackupState.BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: newtype BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: pattern BackupState_CREATE_IN_PROGRESS :: BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: pattern BackupState_DELETED :: BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: pattern BackupState_PENDING_DELETION :: BackupState
+ Amazonka.CloudHSMV2.Types.BackupState: pattern BackupState_READY :: BackupState
+ Amazonka.CloudHSMV2.Types.Certificates: Certificates' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: [$sel:awsHardwareCertificate:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Certificates: [$sel:clusterCertificate:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Certificates: [$sel:clusterCsr:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Certificates: [$sel:hsmCertificate:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Certificates: [$sel:manufacturerHardwareCertificate:Certificates'] :: Certificates -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Certificates: certificates_awsHardwareCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Certificates: certificates_clusterCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Certificates: certificates_clusterCsr :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Certificates: certificates_hsmCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Certificates: certificates_manufacturerHardwareCertificate :: Lens' Certificates (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Certificates: data Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.Certificates.Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.Certificates.Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.Certificates.Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.Certificates.Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.Certificates.Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.Certificates.Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.Certificates.Certificates
+ Amazonka.CloudHSMV2.Types.Certificates: newCertificates :: Certificates
+ Amazonka.CloudHSMV2.Types.Cluster: Cluster' :: Maybe BackupPolicy -> Maybe BackupRetentionPolicy -> Maybe Certificates -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe [Hsm] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ClusterState -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Tag] -> Maybe Text -> Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:backupPolicy:Cluster'] :: Cluster -> Maybe BackupPolicy
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:backupRetentionPolicy:Cluster'] :: Cluster -> Maybe BackupRetentionPolicy
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:certificates:Cluster'] :: Cluster -> Maybe Certificates
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:clusterId:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:createTimestamp:Cluster'] :: Cluster -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:hsmType:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:hsms:Cluster'] :: Cluster -> Maybe [Hsm]
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:preCoPassword:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:securityGroup:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:sourceBackupId:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:state:Cluster'] :: Cluster -> Maybe ClusterState
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:stateMessage:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:subnetMapping:Cluster'] :: Cluster -> Maybe (HashMap Text Text)
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:tagList:Cluster'] :: Cluster -> Maybe [Tag]
+ Amazonka.CloudHSMV2.Types.Cluster: [$sel:vpcId:Cluster'] :: Cluster -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_backupPolicy :: Lens' Cluster (Maybe BackupPolicy)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_backupRetentionPolicy :: Lens' Cluster (Maybe BackupRetentionPolicy)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_certificates :: Lens' Cluster (Maybe Certificates)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_clusterId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_createTimestamp :: Lens' Cluster (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_hsmType :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_hsms :: Lens' Cluster (Maybe [Hsm])
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_preCoPassword :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_securityGroup :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_sourceBackupId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_state :: Lens' Cluster (Maybe ClusterState)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_stateMessage :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_subnetMapping :: Lens' Cluster (Maybe (HashMap Text Text))
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_tagList :: Lens' Cluster (Maybe [Tag])
+ Amazonka.CloudHSMV2.Types.Cluster: cluster_vpcId :: Lens' Cluster (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Cluster: data Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.Cluster.Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.Cluster.Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.Cluster.Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.Cluster.Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.Cluster.Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.Cluster.Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.Cluster.Cluster
+ Amazonka.CloudHSMV2.Types.Cluster: newCluster :: Cluster
+ Amazonka.CloudHSMV2.Types.ClusterState: ClusterState' :: Text -> ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: [fromClusterState] :: ClusterState -> Text
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Amazonka.Data.Log.ToLog Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Amazonka.Data.Text.FromText Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Amazonka.Data.Text.ToText Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Amazonka.Data.XML.FromXML Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Amazonka.Data.XML.ToXML Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance GHC.Classes.Ord Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.ClusterState.ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: newtype ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_ACTIVE :: ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_CREATE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_DEGRADED :: ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_DELETED :: ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_DELETE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_INITIALIZED :: ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_INITIALIZE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_UNINITIALIZED :: ClusterState
+ Amazonka.CloudHSMV2.Types.ClusterState: pattern ClusterState_UPDATE_IN_PROGRESS :: ClusterState
+ Amazonka.CloudHSMV2.Types.DestinationBackup: DestinationBackup' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: [$sel:createTimestamp:DestinationBackup'] :: DestinationBackup -> Maybe POSIX
+ Amazonka.CloudHSMV2.Types.DestinationBackup: [$sel:sourceBackup:DestinationBackup'] :: DestinationBackup -> Maybe Text
+ Amazonka.CloudHSMV2.Types.DestinationBackup: [$sel:sourceCluster:DestinationBackup'] :: DestinationBackup -> Maybe Text
+ Amazonka.CloudHSMV2.Types.DestinationBackup: [$sel:sourceRegion:DestinationBackup'] :: DestinationBackup -> Maybe Text
+ Amazonka.CloudHSMV2.Types.DestinationBackup: data DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: destinationBackup_createTimestamp :: Lens' DestinationBackup (Maybe UTCTime)
+ Amazonka.CloudHSMV2.Types.DestinationBackup: destinationBackup_sourceBackup :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Types.DestinationBackup: destinationBackup_sourceCluster :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Types.DestinationBackup: destinationBackup_sourceRegion :: Lens' DestinationBackup (Maybe Text)
+ Amazonka.CloudHSMV2.Types.DestinationBackup: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.DestinationBackup.DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.DestinationBackup.DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.DestinationBackup.DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.DestinationBackup.DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.DestinationBackup.DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.DestinationBackup.DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.DestinationBackup.DestinationBackup
+ Amazonka.CloudHSMV2.Types.DestinationBackup: newDestinationBackup :: DestinationBackup
+ Amazonka.CloudHSMV2.Types.Hsm: Hsm' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe HsmState -> Maybe Text -> Maybe Text -> Text -> Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: [$sel:availabilityZone:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Hsm: [$sel:clusterId:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Hsm: [$sel:eniId:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Hsm: [$sel:eniIp:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Hsm: [$sel:hsmId:Hsm'] :: Hsm -> Text
+ Amazonka.CloudHSMV2.Types.Hsm: [$sel:state:Hsm'] :: Hsm -> Maybe HsmState
+ Amazonka.CloudHSMV2.Types.Hsm: [$sel:stateMessage:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Hsm: [$sel:subnetId:Hsm'] :: Hsm -> Maybe Text
+ Amazonka.CloudHSMV2.Types.Hsm: data Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: hsm_availabilityZone :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Hsm: hsm_clusterId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Hsm: hsm_eniId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Hsm: hsm_eniIp :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Hsm: hsm_hsmId :: Lens' Hsm Text
+ Amazonka.CloudHSMV2.Types.Hsm: hsm_state :: Lens' Hsm (Maybe HsmState)
+ Amazonka.CloudHSMV2.Types.Hsm: hsm_stateMessage :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Hsm: hsm_subnetId :: Lens' Hsm (Maybe Text)
+ Amazonka.CloudHSMV2.Types.Hsm: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.Hsm.Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.Hsm.Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.Hsm.Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.Hsm.Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.Hsm.Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.Hsm.Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.Hsm.Hsm
+ Amazonka.CloudHSMV2.Types.Hsm: newHsm :: Text -> Hsm
+ Amazonka.CloudHSMV2.Types.HsmState: HsmState' :: Text -> HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: [fromHsmState] :: HsmState -> Text
+ Amazonka.CloudHSMV2.Types.HsmState: instance Amazonka.Data.ByteString.ToByteString Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Amazonka.Data.Headers.ToHeader Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Amazonka.Data.Log.ToLog Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Amazonka.Data.Text.FromText Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Amazonka.Data.Text.ToText Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Amazonka.Data.XML.FromXML Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Amazonka.Data.XML.ToXML Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance GHC.Classes.Ord Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.HsmState.HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: newtype HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: pattern HsmState_ACTIVE :: HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: pattern HsmState_CREATE_IN_PROGRESS :: HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: pattern HsmState_DEGRADED :: HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: pattern HsmState_DELETED :: HsmState
+ Amazonka.CloudHSMV2.Types.HsmState: pattern HsmState_DELETE_IN_PROGRESS :: HsmState
+ Amazonka.CloudHSMV2.Types.Tag: Tag' :: Text -> Text -> Tag
+ Amazonka.CloudHSMV2.Types.Tag: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.CloudHSMV2.Types.Tag: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.CloudHSMV2.Types.Tag: data Tag
+ Amazonka.CloudHSMV2.Types.Tag: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.Types.Tag.Tag
+ Amazonka.CloudHSMV2.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CloudHSMV2.Types.Tag.Tag
+ Amazonka.CloudHSMV2.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.Types.Tag.Tag
+ Amazonka.CloudHSMV2.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.Types.Tag.Tag
+ Amazonka.CloudHSMV2.Types.Tag: instance GHC.Classes.Eq Amazonka.CloudHSMV2.Types.Tag.Tag
+ Amazonka.CloudHSMV2.Types.Tag: instance GHC.Generics.Generic Amazonka.CloudHSMV2.Types.Tag.Tag
+ Amazonka.CloudHSMV2.Types.Tag: instance GHC.Read.Read Amazonka.CloudHSMV2.Types.Tag.Tag
+ Amazonka.CloudHSMV2.Types.Tag: instance GHC.Show.Show Amazonka.CloudHSMV2.Types.Tag.Tag
+ Amazonka.CloudHSMV2.Types.Tag: newTag :: Text -> Text -> Tag
+ Amazonka.CloudHSMV2.Types.Tag: tag_key :: Lens' Tag Text
+ Amazonka.CloudHSMV2.Types.Tag: tag_value :: Lens' Tag Text
+ Amazonka.CloudHSMV2.UntagResource: UntagResource' :: Text -> NonEmpty Text -> UntagResource
+ Amazonka.CloudHSMV2.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.CloudHSMV2.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.CloudHSMV2.UntagResource: [$sel:resourceId:UntagResource'] :: UntagResource -> Text
+ Amazonka.CloudHSMV2.UntagResource: [$sel:tagKeyList:UntagResource'] :: UntagResource -> NonEmpty Text
+ Amazonka.CloudHSMV2.UntagResource: data UntagResource
+ Amazonka.CloudHSMV2.UntagResource: data UntagResourceResponse
+ Amazonka.CloudHSMV2.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance Control.DeepSeq.NFData Amazonka.CloudHSMV2.UntagResource.UntagResourceResponse
+ Amazonka.CloudHSMV2.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance GHC.Classes.Eq Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance GHC.Classes.Eq Amazonka.CloudHSMV2.UntagResource.UntagResourceResponse
+ Amazonka.CloudHSMV2.UntagResource: instance GHC.Generics.Generic Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance GHC.Generics.Generic Amazonka.CloudHSMV2.UntagResource.UntagResourceResponse
+ Amazonka.CloudHSMV2.UntagResource: instance GHC.Read.Read Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance GHC.Read.Read Amazonka.CloudHSMV2.UntagResource.UntagResourceResponse
+ Amazonka.CloudHSMV2.UntagResource: instance GHC.Show.Show Amazonka.CloudHSMV2.UntagResource.UntagResource
+ Amazonka.CloudHSMV2.UntagResource: instance GHC.Show.Show Amazonka.CloudHSMV2.UntagResource.UntagResourceResponse
+ Amazonka.CloudHSMV2.UntagResource: newUntagResource :: Text -> NonEmpty Text -> UntagResource
+ Amazonka.CloudHSMV2.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.CloudHSMV2.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.CloudHSMV2.UntagResource: untagResource_resourceId :: Lens' UntagResource Text
+ Amazonka.CloudHSMV2.UntagResource: untagResource_tagKeyList :: Lens' UntagResource (NonEmpty Text)

Files

README.md view
@@ -7,9 +7,8 @@   ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2017-04-28@ of the AWS service descriptions, licensed under Apache 2.0.  ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.CloudHSMv2](http://hackage.haskell.org/package/amazonka-cloudhsmv2/docs/Network-AWS-CloudHSMv2.html)+See [Amazonka.CloudHSMV2](http://hackage.haskell.org/package/amazonka-cloudhsmv2/docs/Amazonka-CloudHSMV2.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.  
− Setup.hs
@@ -1,2 +0,0 @@-import           Distribution.Simple-main = defaultMain
amazonka-cloudhsmv2.cabal view
@@ -1,95 +1,110 @@-name:                  amazonka-cloudhsmv2-version:               1.6.1-synopsis:              Amazon CloudHSM V2 SDK.-homepage:              https://github.com/brendanhay/amazonka-bug-reports:           https://github.com/brendanhay/amazonka/issues-license:               MPL-2.0-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2018 Brendan Hay-category:              Network, AWS, Cloud, Distributed Computing-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version:      2.2+name:               amazonka-cloudhsmv2+version:            2.0+synopsis:           Amazon CloudHSM V2 SDK.+homepage:           https://github.com/brendanhay/amazonka+bug-reports:        https://github.com/brendanhay/amazonka/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright:          Copyright (c) 2013-2023 Brendan Hay+category:           AWS+build-type:         Simple+extra-source-files:+  fixture/*.proto+  fixture/*.yaml+  README.md+  src/.gitkeep+ description:-    The types from this library are intended to be used with-    <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information, sending requests,-    and receiving responses.-    .-    Lenses are used for constructing and manipulating types,-    due to the depth of nesting of AWS types and transparency regarding-    de/serialisation into more palatable Haskell values.-    The provided lenses should be compatible with any of the major lens libraries-    such as <http://hackage.haskell.org/package/lens lens> or-    <http://hackage.haskell.org/package/lens-family-core lens-family-core>.-    .-    See "Network.AWS.CloudHSMv2" or <https://aws.amazon.com/documentation/ the AWS documentation>-    to get started.+  Derived from API version @2017-04-28@ of the AWS service descriptions, licensed under Apache 2.0.+  .+  The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+  which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+  .+  It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+  .+  Generated lenses can be found in "Amazonka.CloudHSMV2.Lens" and are+  suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+  .+  See "Amazonka.CloudHSMV2" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started.  source-repository head-    type:              git-    location:          git://github.com/brendanhay/amazonka.git-    subdir:            amazonka-cloudhsmv2+  type:     git+  location: git://github.com/brendanhay/amazonka.git+  subdir:   amazonka-cloudhsmv2  library-    default-language:  Haskell2010-    hs-source-dirs:    src gen--    ghc-options:-        -Wall-        -fwarn-incomplete-uni-patterns-        -fwarn-incomplete-record-updates-        -funbox-strict-fields--    exposed-modules:-          Network.AWS.CloudHSMv2-        , Network.AWS.CloudHSMv2.CreateCluster-        , Network.AWS.CloudHSMv2.CreateHSM-        , Network.AWS.CloudHSMv2.DeleteCluster-        , Network.AWS.CloudHSMv2.DeleteHSM-        , Network.AWS.CloudHSMv2.DescribeBackups-        , Network.AWS.CloudHSMv2.DescribeClusters-        , Network.AWS.CloudHSMv2.InitializeCluster-        , Network.AWS.CloudHSMv2.ListTags-        , Network.AWS.CloudHSMv2.TagResource-        , Network.AWS.CloudHSMv2.Types-        , Network.AWS.CloudHSMv2.UntagResource-        , Network.AWS.CloudHSMv2.Waiters+  default-language: Haskell2010+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields -    other-modules:-          Network.AWS.CloudHSMv2.Types.Product-        , Network.AWS.CloudHSMv2.Types.Sum+  exposed-modules:+    Amazonka.CloudHSMV2+    Amazonka.CloudHSMV2.CopyBackupToRegion+    Amazonka.CloudHSMV2.CreateCluster+    Amazonka.CloudHSMV2.CreateHsm+    Amazonka.CloudHSMV2.DeleteBackup+    Amazonka.CloudHSMV2.DeleteCluster+    Amazonka.CloudHSMV2.DeleteHsm+    Amazonka.CloudHSMV2.DescribeBackups+    Amazonka.CloudHSMV2.DescribeClusters+    Amazonka.CloudHSMV2.InitializeCluster+    Amazonka.CloudHSMV2.Lens+    Amazonka.CloudHSMV2.ListTags+    Amazonka.CloudHSMV2.ModifyBackupAttributes+    Amazonka.CloudHSMV2.ModifyCluster+    Amazonka.CloudHSMV2.RestoreBackup+    Amazonka.CloudHSMV2.TagResource+    Amazonka.CloudHSMV2.Types+    Amazonka.CloudHSMV2.Types.Backup+    Amazonka.CloudHSMV2.Types.BackupPolicy+    Amazonka.CloudHSMV2.Types.BackupRetentionPolicy+    Amazonka.CloudHSMV2.Types.BackupRetentionType+    Amazonka.CloudHSMV2.Types.BackupState+    Amazonka.CloudHSMV2.Types.Certificates+    Amazonka.CloudHSMV2.Types.Cluster+    Amazonka.CloudHSMV2.Types.ClusterState+    Amazonka.CloudHSMV2.Types.DestinationBackup+    Amazonka.CloudHSMV2.Types.Hsm+    Amazonka.CloudHSMV2.Types.HsmState+    Amazonka.CloudHSMV2.Types.Tag+    Amazonka.CloudHSMV2.UntagResource+    Amazonka.CloudHSMV2.Waiters -    build-depends:-          amazonka-core == 1.6.1.*-        , base          >= 4.7     && < 5+  build-depends:+    , amazonka-core  >=2.0  && <2.1+    , base           >=4.12 && <5  test-suite amazonka-cloudhsmv2-test-    type:              exitcode-stdio-1.0-    default-language:  Haskell2010-    hs-source-dirs:    test-    main-is:           Main.hs--    ghc-options:       -Wall -threaded+  type:             exitcode-stdio-1.0+  default-language: Haskell2010+  hs-source-dirs:   test+  main-is:          Main.hs+  ghc-options:      -Wall -threaded -    -- This section is encoded by the template and any modules added by-    -- hand outside these namespaces will not correctly be added to the-    -- distribution package.-    other-modules:-          Test.AWS.CloudHSMv2-        , Test.AWS.Gen.CloudHSMv2-        , Test.AWS.CloudHSMv2.Internal+  -- This section is encoded by the template and any modules added by+  -- hand outside these namespaces will not correctly be added to the+  -- distribution package.+  other-modules:+    Test.Amazonka.CloudHSMV2+    Test.Amazonka.CloudHSMV2.Internal+    Test.Amazonka.Gen.CloudHSMV2 -    build-depends:-          amazonka-core == 1.6.1.*-        , amazonka-test == 1.6.1.*-        , amazonka-cloudhsmv2-        , base-        , bytestring-        , tasty-        , tasty-hunit-        , text-        , time-        , unordered-containers+  build-depends:+    , amazonka-cloudhsmv2+    , amazonka-core         >=2.0 && <2.1+    , amazonka-test         >=2.0 && <2.1+    , base+    , bytestring+    , case-insensitive+    , tasty+    , tasty-hunit+    , text+    , time+    , unordered-containers
+ fixture/CopyBackupToRegion.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cloudhsmv2.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/CopyBackupToRegionResponse.proto view
− fixture/CreateHSM.yaml
@@ -1,10 +0,0 @@-----method: POST-headers:-  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?-  Host:                  cloudhsmv2.us-east-1.amazonaws.com-  Content-Type:          application/x-www-form-urlencoded; charset=utf-8-  X-Amz-Content-SHA256:  abcdef-  X-Amz-Date:            20091028T223200Z-body:-  ''
− fixture/CreateHSMResponse.proto
+ fixture/CreateHsm.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cloudhsmv2.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/CreateHsmResponse.proto view
+ fixture/DeleteBackup.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cloudhsmv2.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DeleteBackupResponse.proto view
− fixture/DeleteHSM.yaml
@@ -1,10 +0,0 @@-----method: POST-headers:-  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?-  Host:                  cloudhsmv2.us-east-1.amazonaws.com-  Content-Type:          application/x-www-form-urlencoded; charset=utf-8-  X-Amz-Content-SHA256:  abcdef-  X-Amz-Date:            20091028T223200Z-body:-  ''
− fixture/DeleteHSMResponse.proto
+ fixture/DeleteHsm.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cloudhsmv2.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DeleteHsmResponse.proto view
+ fixture/ModifyBackupAttributes.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cloudhsmv2.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ModifyBackupAttributesResponse.proto view
+ fixture/ModifyCluster.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cloudhsmv2.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ModifyClusterResponse.proto view
+ fixture/RestoreBackup.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudhsmv2/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  cloudhsmv2.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/RestoreBackupResponse.proto view
+ gen/Amazonka/CloudHSMV2.hs view
@@ -0,0 +1,229 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module      : Amazonka.CloudHSMV2+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2017-04-28@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- For more information about AWS CloudHSM, see+-- <http://aws.amazon.com/cloudhsm/ AWS CloudHSM> and the+-- <https://docs.aws.amazon.com/cloudhsm/latest/userguide/ AWS CloudHSM User Guide>.+module Amazonka.CloudHSMV2+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    -- $errors++    -- ** CloudHsmAccessDeniedException+    _CloudHsmAccessDeniedException,++    -- ** CloudHsmInternalFailureException+    _CloudHsmInternalFailureException,++    -- ** CloudHsmInvalidRequestException+    _CloudHsmInvalidRequestException,++    -- ** CloudHsmResourceNotFoundException+    _CloudHsmResourceNotFoundException,++    -- ** CloudHsmServiceException+    _CloudHsmServiceException,++    -- ** CloudHsmTagException+    _CloudHsmTagException,++    -- * Waiters+    -- $waiters++    -- * Operations+    -- $operations++    -- ** CopyBackupToRegion+    CopyBackupToRegion (CopyBackupToRegion'),+    newCopyBackupToRegion,+    CopyBackupToRegionResponse (CopyBackupToRegionResponse'),+    newCopyBackupToRegionResponse,++    -- ** CreateCluster+    CreateCluster (CreateCluster'),+    newCreateCluster,+    CreateClusterResponse (CreateClusterResponse'),+    newCreateClusterResponse,++    -- ** CreateHsm+    CreateHsm (CreateHsm'),+    newCreateHsm,+    CreateHsmResponse (CreateHsmResponse'),+    newCreateHsmResponse,++    -- ** DeleteBackup+    DeleteBackup (DeleteBackup'),+    newDeleteBackup,+    DeleteBackupResponse (DeleteBackupResponse'),+    newDeleteBackupResponse,++    -- ** DeleteCluster+    DeleteCluster (DeleteCluster'),+    newDeleteCluster,+    DeleteClusterResponse (DeleteClusterResponse'),+    newDeleteClusterResponse,++    -- ** DeleteHsm+    DeleteHsm (DeleteHsm'),+    newDeleteHsm,+    DeleteHsmResponse (DeleteHsmResponse'),+    newDeleteHsmResponse,++    -- ** DescribeBackups (Paginated)+    DescribeBackups (DescribeBackups'),+    newDescribeBackups,+    DescribeBackupsResponse (DescribeBackupsResponse'),+    newDescribeBackupsResponse,++    -- ** DescribeClusters (Paginated)+    DescribeClusters (DescribeClusters'),+    newDescribeClusters,+    DescribeClustersResponse (DescribeClustersResponse'),+    newDescribeClustersResponse,++    -- ** InitializeCluster+    InitializeCluster (InitializeCluster'),+    newInitializeCluster,+    InitializeClusterResponse (InitializeClusterResponse'),+    newInitializeClusterResponse,++    -- ** ListTags (Paginated)+    ListTags (ListTags'),+    newListTags,+    ListTagsResponse (ListTagsResponse'),+    newListTagsResponse,++    -- ** ModifyBackupAttributes+    ModifyBackupAttributes (ModifyBackupAttributes'),+    newModifyBackupAttributes,+    ModifyBackupAttributesResponse (ModifyBackupAttributesResponse'),+    newModifyBackupAttributesResponse,++    -- ** ModifyCluster+    ModifyCluster (ModifyCluster'),+    newModifyCluster,+    ModifyClusterResponse (ModifyClusterResponse'),+    newModifyClusterResponse,++    -- ** RestoreBackup+    RestoreBackup (RestoreBackup'),+    newRestoreBackup,+    RestoreBackupResponse (RestoreBackupResponse'),+    newRestoreBackupResponse,++    -- ** TagResource+    TagResource (TagResource'),+    newTagResource,+    TagResourceResponse (TagResourceResponse'),+    newTagResourceResponse,++    -- ** UntagResource+    UntagResource (UntagResource'),+    newUntagResource,+    UntagResourceResponse (UntagResourceResponse'),+    newUntagResourceResponse,++    -- * Types++    -- ** BackupPolicy+    BackupPolicy (..),++    -- ** BackupRetentionType+    BackupRetentionType (..),++    -- ** BackupState+    BackupState (..),++    -- ** ClusterState+    ClusterState (..),++    -- ** HsmState+    HsmState (..),++    -- ** Backup+    Backup (Backup'),+    newBackup,++    -- ** BackupRetentionPolicy+    BackupRetentionPolicy (BackupRetentionPolicy'),+    newBackupRetentionPolicy,++    -- ** Certificates+    Certificates (Certificates'),+    newCertificates,++    -- ** Cluster+    Cluster (Cluster'),+    newCluster,++    -- ** DestinationBackup+    DestinationBackup (DestinationBackup'),+    newDestinationBackup,++    -- ** Hsm+    Hsm (Hsm'),+    newHsm,++    -- ** Tag+    Tag (Tag'),+    newTag,+  )+where++import Amazonka.CloudHSMV2.CopyBackupToRegion+import Amazonka.CloudHSMV2.CreateCluster+import Amazonka.CloudHSMV2.CreateHsm+import Amazonka.CloudHSMV2.DeleteBackup+import Amazonka.CloudHSMV2.DeleteCluster+import Amazonka.CloudHSMV2.DeleteHsm+import Amazonka.CloudHSMV2.DescribeBackups+import Amazonka.CloudHSMV2.DescribeClusters+import Amazonka.CloudHSMV2.InitializeCluster+import Amazonka.CloudHSMV2.Lens+import Amazonka.CloudHSMV2.ListTags+import Amazonka.CloudHSMV2.ModifyBackupAttributes+import Amazonka.CloudHSMV2.ModifyCluster+import Amazonka.CloudHSMV2.RestoreBackup+import Amazonka.CloudHSMV2.TagResource+import Amazonka.CloudHSMV2.Types+import Amazonka.CloudHSMV2.UntagResource+import Amazonka.CloudHSMV2.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'CloudHSMV2'.++-- $operations+-- Some AWS operations return results that are incomplete and require subsequent+-- requests in order to obtain the entire result set. The process of sending+-- subsequent requests to continue where a previous request left off is called+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to+-- 1000 objects at a time, and you must send subsequent requests with the+-- appropriate Marker in order to retrieve the next page of results.+--+-- Operations that have an 'AWSPager' instance can transparently perform subsequent+-- requests, correctly setting Markers and other request facets to iterate through+-- the entire result set of a truncated API operation. Operations which support+-- this have an additional note in the documentation.+--+-- Many operations have the ability to filter results on the server side. See the+-- individual operation parameters for details.++-- $waiters+-- Waiters poll by repeatedly sending a request until some remote success condition+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification+-- determines how many attempts should be made, in addition to delay and retry strategies.
+ gen/Amazonka/CloudHSMV2/CopyBackupToRegion.hs view
@@ -0,0 +1,232 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.CopyBackupToRegion+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Copy an AWS CloudHSM cluster backup to a different region.+module Amazonka.CloudHSMV2.CopyBackupToRegion+  ( -- * Creating a Request+    CopyBackupToRegion (..),+    newCopyBackupToRegion,++    -- * Request Lenses+    copyBackupToRegion_tagList,+    copyBackupToRegion_destinationRegion,+    copyBackupToRegion_backupId,++    -- * Destructuring the Response+    CopyBackupToRegionResponse (..),+    newCopyBackupToRegionResponse,++    -- * Response Lenses+    copyBackupToRegionResponse_destinationBackup,+    copyBackupToRegionResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCopyBackupToRegion' smart constructor.+data CopyBackupToRegion = CopyBackupToRegion'+  { -- | Tags to apply to the destination backup during creation. If you specify+    -- tags, only these tags will be applied to the destination backup. If you+    -- do not specify tags, the service copies tags from the source backup to+    -- the destination backup.+    tagList :: Prelude.Maybe [Tag],+    -- | The AWS region that will contain your copied CloudHSM cluster backup.+    destinationRegion :: Prelude.Text,+    -- | The ID of the backup that will be copied to the destination region.+    backupId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CopyBackupToRegion' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tagList', 'copyBackupToRegion_tagList' - Tags to apply to the destination backup during creation. If you specify+-- tags, only these tags will be applied to the destination backup. If you+-- do not specify tags, the service copies tags from the source backup to+-- the destination backup.+--+-- 'destinationRegion', 'copyBackupToRegion_destinationRegion' - The AWS region that will contain your copied CloudHSM cluster backup.+--+-- 'backupId', 'copyBackupToRegion_backupId' - The ID of the backup that will be copied to the destination region.+newCopyBackupToRegion ::+  -- | 'destinationRegion'+  Prelude.Text ->+  -- | 'backupId'+  Prelude.Text ->+  CopyBackupToRegion+newCopyBackupToRegion pDestinationRegion_ pBackupId_ =+  CopyBackupToRegion'+    { tagList = Prelude.Nothing,+      destinationRegion = pDestinationRegion_,+      backupId = pBackupId_+    }++-- | Tags to apply to the destination backup during creation. If you specify+-- tags, only these tags will be applied to the destination backup. If you+-- do not specify tags, the service copies tags from the source backup to+-- the destination backup.+copyBackupToRegion_tagList :: Lens.Lens' CopyBackupToRegion (Prelude.Maybe [Tag])+copyBackupToRegion_tagList = Lens.lens (\CopyBackupToRegion' {tagList} -> tagList) (\s@CopyBackupToRegion' {} a -> s {tagList = a} :: CopyBackupToRegion) Prelude.. Lens.mapping Lens.coerced++-- | The AWS region that will contain your copied CloudHSM cluster backup.+copyBackupToRegion_destinationRegion :: Lens.Lens' CopyBackupToRegion Prelude.Text+copyBackupToRegion_destinationRegion = Lens.lens (\CopyBackupToRegion' {destinationRegion} -> destinationRegion) (\s@CopyBackupToRegion' {} a -> s {destinationRegion = a} :: CopyBackupToRegion)++-- | The ID of the backup that will be copied to the destination region.+copyBackupToRegion_backupId :: Lens.Lens' CopyBackupToRegion Prelude.Text+copyBackupToRegion_backupId = Lens.lens (\CopyBackupToRegion' {backupId} -> backupId) (\s@CopyBackupToRegion' {} a -> s {backupId = a} :: CopyBackupToRegion)++instance Core.AWSRequest CopyBackupToRegion where+  type+    AWSResponse CopyBackupToRegion =+      CopyBackupToRegionResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CopyBackupToRegionResponse'+            Prelude.<$> (x Data..?> "DestinationBackup")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CopyBackupToRegion where+  hashWithSalt _salt CopyBackupToRegion' {..} =+    _salt+      `Prelude.hashWithSalt` tagList+      `Prelude.hashWithSalt` destinationRegion+      `Prelude.hashWithSalt` backupId++instance Prelude.NFData CopyBackupToRegion where+  rnf CopyBackupToRegion' {..} =+    Prelude.rnf tagList+      `Prelude.seq` Prelude.rnf destinationRegion+      `Prelude.seq` Prelude.rnf backupId++instance Data.ToHeaders CopyBackupToRegion where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.CopyBackupToRegion" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CopyBackupToRegion where+  toJSON CopyBackupToRegion' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("TagList" Data..=) Prelude.<$> tagList,+            Prelude.Just+              ("DestinationRegion" Data..= destinationRegion),+            Prelude.Just ("BackupId" Data..= backupId)+          ]+      )++instance Data.ToPath CopyBackupToRegion where+  toPath = Prelude.const "/"++instance Data.ToQuery CopyBackupToRegion where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCopyBackupToRegionResponse' smart constructor.+data CopyBackupToRegionResponse = CopyBackupToRegionResponse'+  { -- | Information on the backup that will be copied to the destination region,+    -- including CreateTimestamp, SourceBackup, SourceCluster, and Source+    -- Region. CreateTimestamp of the destination backup will be the same as+    -- that of the source backup.+    --+    -- You will need to use the @sourceBackupID@ returned in this operation to+    -- use the DescribeBackups operation on the backup that will be copied to+    -- the destination region.+    destinationBackup :: Prelude.Maybe DestinationBackup,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CopyBackupToRegionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'destinationBackup', 'copyBackupToRegionResponse_destinationBackup' - Information on the backup that will be copied to the destination region,+-- including CreateTimestamp, SourceBackup, SourceCluster, and Source+-- Region. CreateTimestamp of the destination backup will be the same as+-- that of the source backup.+--+-- You will need to use the @sourceBackupID@ returned in this operation to+-- use the DescribeBackups operation on the backup that will be copied to+-- the destination region.+--+-- 'httpStatus', 'copyBackupToRegionResponse_httpStatus' - The response's http status code.+newCopyBackupToRegionResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CopyBackupToRegionResponse+newCopyBackupToRegionResponse pHttpStatus_ =+  CopyBackupToRegionResponse'+    { destinationBackup =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Information on the backup that will be copied to the destination region,+-- including CreateTimestamp, SourceBackup, SourceCluster, and Source+-- Region. CreateTimestamp of the destination backup will be the same as+-- that of the source backup.+--+-- You will need to use the @sourceBackupID@ returned in this operation to+-- use the DescribeBackups operation on the backup that will be copied to+-- the destination region.+copyBackupToRegionResponse_destinationBackup :: Lens.Lens' CopyBackupToRegionResponse (Prelude.Maybe DestinationBackup)+copyBackupToRegionResponse_destinationBackup = Lens.lens (\CopyBackupToRegionResponse' {destinationBackup} -> destinationBackup) (\s@CopyBackupToRegionResponse' {} a -> s {destinationBackup = a} :: CopyBackupToRegionResponse)++-- | The response's http status code.+copyBackupToRegionResponse_httpStatus :: Lens.Lens' CopyBackupToRegionResponse Prelude.Int+copyBackupToRegionResponse_httpStatus = Lens.lens (\CopyBackupToRegionResponse' {httpStatus} -> httpStatus) (\s@CopyBackupToRegionResponse' {} a -> s {httpStatus = a} :: CopyBackupToRegionResponse)++instance Prelude.NFData CopyBackupToRegionResponse where+  rnf CopyBackupToRegionResponse' {..} =+    Prelude.rnf destinationBackup+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/CreateCluster.hs view
@@ -0,0 +1,256 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.CreateCluster+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new AWS CloudHSM cluster.+module Amazonka.CloudHSMV2.CreateCluster+  ( -- * Creating a Request+    CreateCluster (..),+    newCreateCluster,++    -- * Request Lenses+    createCluster_backupRetentionPolicy,+    createCluster_sourceBackupId,+    createCluster_tagList,+    createCluster_hsmType,+    createCluster_subnetIds,++    -- * Destructuring the Response+    CreateClusterResponse (..),+    newCreateClusterResponse,++    -- * Response Lenses+    createClusterResponse_cluster,+    createClusterResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateCluster' smart constructor.+data CreateCluster = CreateCluster'+  { -- | A policy that defines how the service retains backups.+    backupRetentionPolicy :: Prelude.Maybe BackupRetentionPolicy,+    -- | The identifier (ID) of the cluster backup to restore. Use this value to+    -- restore the cluster from a backup instead of creating a new cluster. To+    -- find the backup ID, use DescribeBackups.+    sourceBackupId :: Prelude.Maybe Prelude.Text,+    -- | Tags to apply to the CloudHSM cluster during creation.+    tagList :: Prelude.Maybe [Tag],+    -- | The type of HSM to use in the cluster. Currently the only allowed value+    -- is @hsm1.medium@.+    hsmType :: Prelude.Text,+    -- | The identifiers (IDs) of the subnets where you are creating the cluster.+    -- You must specify at least one subnet. If you specify multiple subnets,+    -- they must meet the following criteria:+    --+    -- -   All subnets must be in the same virtual private cloud (VPC).+    --+    -- -   You can specify only one subnet per Availability Zone.+    subnetIds :: Prelude.NonEmpty Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateCluster' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupRetentionPolicy', 'createCluster_backupRetentionPolicy' - A policy that defines how the service retains backups.+--+-- 'sourceBackupId', 'createCluster_sourceBackupId' - The identifier (ID) of the cluster backup to restore. Use this value to+-- restore the cluster from a backup instead of creating a new cluster. To+-- find the backup ID, use DescribeBackups.+--+-- 'tagList', 'createCluster_tagList' - Tags to apply to the CloudHSM cluster during creation.+--+-- 'hsmType', 'createCluster_hsmType' - The type of HSM to use in the cluster. Currently the only allowed value+-- is @hsm1.medium@.+--+-- 'subnetIds', 'createCluster_subnetIds' - The identifiers (IDs) of the subnets where you are creating the cluster.+-- You must specify at least one subnet. If you specify multiple subnets,+-- they must meet the following criteria:+--+-- -   All subnets must be in the same virtual private cloud (VPC).+--+-- -   You can specify only one subnet per Availability Zone.+newCreateCluster ::+  -- | 'hsmType'+  Prelude.Text ->+  -- | 'subnetIds'+  Prelude.NonEmpty Prelude.Text ->+  CreateCluster+newCreateCluster pHsmType_ pSubnetIds_ =+  CreateCluster'+    { backupRetentionPolicy =+        Prelude.Nothing,+      sourceBackupId = Prelude.Nothing,+      tagList = Prelude.Nothing,+      hsmType = pHsmType_,+      subnetIds = Lens.coerced Lens.# pSubnetIds_+    }++-- | A policy that defines how the service retains backups.+createCluster_backupRetentionPolicy :: Lens.Lens' CreateCluster (Prelude.Maybe BackupRetentionPolicy)+createCluster_backupRetentionPolicy = Lens.lens (\CreateCluster' {backupRetentionPolicy} -> backupRetentionPolicy) (\s@CreateCluster' {} a -> s {backupRetentionPolicy = a} :: CreateCluster)++-- | The identifier (ID) of the cluster backup to restore. Use this value to+-- restore the cluster from a backup instead of creating a new cluster. To+-- find the backup ID, use DescribeBackups.+createCluster_sourceBackupId :: Lens.Lens' CreateCluster (Prelude.Maybe Prelude.Text)+createCluster_sourceBackupId = Lens.lens (\CreateCluster' {sourceBackupId} -> sourceBackupId) (\s@CreateCluster' {} a -> s {sourceBackupId = a} :: CreateCluster)++-- | Tags to apply to the CloudHSM cluster during creation.+createCluster_tagList :: Lens.Lens' CreateCluster (Prelude.Maybe [Tag])+createCluster_tagList = Lens.lens (\CreateCluster' {tagList} -> tagList) (\s@CreateCluster' {} a -> s {tagList = a} :: CreateCluster) Prelude.. Lens.mapping Lens.coerced++-- | The type of HSM to use in the cluster. Currently the only allowed value+-- is @hsm1.medium@.+createCluster_hsmType :: Lens.Lens' CreateCluster Prelude.Text+createCluster_hsmType = Lens.lens (\CreateCluster' {hsmType} -> hsmType) (\s@CreateCluster' {} a -> s {hsmType = a} :: CreateCluster)++-- | The identifiers (IDs) of the subnets where you are creating the cluster.+-- You must specify at least one subnet. If you specify multiple subnets,+-- they must meet the following criteria:+--+-- -   All subnets must be in the same virtual private cloud (VPC).+--+-- -   You can specify only one subnet per Availability Zone.+createCluster_subnetIds :: Lens.Lens' CreateCluster (Prelude.NonEmpty Prelude.Text)+createCluster_subnetIds = Lens.lens (\CreateCluster' {subnetIds} -> subnetIds) (\s@CreateCluster' {} a -> s {subnetIds = a} :: CreateCluster) Prelude.. Lens.coerced++instance Core.AWSRequest CreateCluster where+  type+    AWSResponse CreateCluster =+      CreateClusterResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateClusterResponse'+            Prelude.<$> (x Data..?> "Cluster")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateCluster where+  hashWithSalt _salt CreateCluster' {..} =+    _salt+      `Prelude.hashWithSalt` backupRetentionPolicy+      `Prelude.hashWithSalt` sourceBackupId+      `Prelude.hashWithSalt` tagList+      `Prelude.hashWithSalt` hsmType+      `Prelude.hashWithSalt` subnetIds++instance Prelude.NFData CreateCluster where+  rnf CreateCluster' {..} =+    Prelude.rnf backupRetentionPolicy+      `Prelude.seq` Prelude.rnf sourceBackupId+      `Prelude.seq` Prelude.rnf tagList+      `Prelude.seq` Prelude.rnf hsmType+      `Prelude.seq` Prelude.rnf subnetIds++instance Data.ToHeaders CreateCluster where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.CreateCluster" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreateCluster where+  toJSON CreateCluster' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("BackupRetentionPolicy" Data..=)+              Prelude.<$> backupRetentionPolicy,+            ("SourceBackupId" Data..=)+              Prelude.<$> sourceBackupId,+            ("TagList" Data..=) Prelude.<$> tagList,+            Prelude.Just ("HsmType" Data..= hsmType),+            Prelude.Just ("SubnetIds" Data..= subnetIds)+          ]+      )++instance Data.ToPath CreateCluster where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateCluster where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateClusterResponse' smart constructor.+data CreateClusterResponse = CreateClusterResponse'+  { -- | Information about the cluster that was created.+    cluster :: Prelude.Maybe Cluster,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateClusterResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'cluster', 'createClusterResponse_cluster' - Information about the cluster that was created.+--+-- 'httpStatus', 'createClusterResponse_httpStatus' - The response's http status code.+newCreateClusterResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateClusterResponse+newCreateClusterResponse pHttpStatus_ =+  CreateClusterResponse'+    { cluster = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Information about the cluster that was created.+createClusterResponse_cluster :: Lens.Lens' CreateClusterResponse (Prelude.Maybe Cluster)+createClusterResponse_cluster = Lens.lens (\CreateClusterResponse' {cluster} -> cluster) (\s@CreateClusterResponse' {} a -> s {cluster = a} :: CreateClusterResponse)++-- | The response's http status code.+createClusterResponse_httpStatus :: Lens.Lens' CreateClusterResponse Prelude.Int+createClusterResponse_httpStatus = Lens.lens (\CreateClusterResponse' {httpStatus} -> httpStatus) (\s@CreateClusterResponse' {} a -> s {httpStatus = a} :: CreateClusterResponse)++instance Prelude.NFData CreateClusterResponse where+  rnf CreateClusterResponse' {..} =+    Prelude.rnf cluster+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/CreateHsm.hs view
@@ -0,0 +1,213 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.CreateHsm+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new hardware security module (HSM) in the specified AWS+-- CloudHSM cluster.+module Amazonka.CloudHSMV2.CreateHsm+  ( -- * Creating a Request+    CreateHsm (..),+    newCreateHsm,++    -- * Request Lenses+    createHsm_ipAddress,+    createHsm_clusterId,+    createHsm_availabilityZone,++    -- * Destructuring the Response+    CreateHsmResponse (..),+    newCreateHsmResponse,++    -- * Response Lenses+    createHsmResponse_hsm,+    createHsmResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateHsm' smart constructor.+data CreateHsm = CreateHsm'+  { -- | The HSM\'s IP address. If you specify an IP address, use an available+    -- address from the subnet that maps to the Availability Zone where you are+    -- creating the HSM. If you don\'t specify an IP address, one is chosen for+    -- you from that subnet.+    ipAddress :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the HSM\'s cluster. To find the cluster ID, use+    -- DescribeClusters.+    clusterId :: Prelude.Text,+    -- | The Availability Zone where you are creating the HSM. To find the+    -- cluster\'s Availability Zones, use DescribeClusters.+    availabilityZone :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateHsm' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'ipAddress', 'createHsm_ipAddress' - The HSM\'s IP address. If you specify an IP address, use an available+-- address from the subnet that maps to the Availability Zone where you are+-- creating the HSM. If you don\'t specify an IP address, one is chosen for+-- you from that subnet.+--+-- 'clusterId', 'createHsm_clusterId' - The identifier (ID) of the HSM\'s cluster. To find the cluster ID, use+-- DescribeClusters.+--+-- 'availabilityZone', 'createHsm_availabilityZone' - The Availability Zone where you are creating the HSM. To find the+-- cluster\'s Availability Zones, use DescribeClusters.+newCreateHsm ::+  -- | 'clusterId'+  Prelude.Text ->+  -- | 'availabilityZone'+  Prelude.Text ->+  CreateHsm+newCreateHsm pClusterId_ pAvailabilityZone_ =+  CreateHsm'+    { ipAddress = Prelude.Nothing,+      clusterId = pClusterId_,+      availabilityZone = pAvailabilityZone_+    }++-- | The HSM\'s IP address. If you specify an IP address, use an available+-- address from the subnet that maps to the Availability Zone where you are+-- creating the HSM. If you don\'t specify an IP address, one is chosen for+-- you from that subnet.+createHsm_ipAddress :: Lens.Lens' CreateHsm (Prelude.Maybe Prelude.Text)+createHsm_ipAddress = Lens.lens (\CreateHsm' {ipAddress} -> ipAddress) (\s@CreateHsm' {} a -> s {ipAddress = a} :: CreateHsm)++-- | The identifier (ID) of the HSM\'s cluster. To find the cluster ID, use+-- DescribeClusters.+createHsm_clusterId :: Lens.Lens' CreateHsm Prelude.Text+createHsm_clusterId = Lens.lens (\CreateHsm' {clusterId} -> clusterId) (\s@CreateHsm' {} a -> s {clusterId = a} :: CreateHsm)++-- | The Availability Zone where you are creating the HSM. To find the+-- cluster\'s Availability Zones, use DescribeClusters.+createHsm_availabilityZone :: Lens.Lens' CreateHsm Prelude.Text+createHsm_availabilityZone = Lens.lens (\CreateHsm' {availabilityZone} -> availabilityZone) (\s@CreateHsm' {} a -> s {availabilityZone = a} :: CreateHsm)++instance Core.AWSRequest CreateHsm where+  type AWSResponse CreateHsm = CreateHsmResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateHsmResponse'+            Prelude.<$> (x Data..?> "Hsm")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateHsm where+  hashWithSalt _salt CreateHsm' {..} =+    _salt+      `Prelude.hashWithSalt` ipAddress+      `Prelude.hashWithSalt` clusterId+      `Prelude.hashWithSalt` availabilityZone++instance Prelude.NFData CreateHsm where+  rnf CreateHsm' {..} =+    Prelude.rnf ipAddress+      `Prelude.seq` Prelude.rnf clusterId+      `Prelude.seq` Prelude.rnf availabilityZone++instance Data.ToHeaders CreateHsm where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ("BaldrApiService.CreateHsm" :: Prelude.ByteString),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreateHsm where+  toJSON CreateHsm' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("IpAddress" Data..=) Prelude.<$> ipAddress,+            Prelude.Just ("ClusterId" Data..= clusterId),+            Prelude.Just+              ("AvailabilityZone" Data..= availabilityZone)+          ]+      )++instance Data.ToPath CreateHsm where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateHsm where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateHsmResponse' smart constructor.+data CreateHsmResponse = CreateHsmResponse'+  { -- | Information about the HSM that was created.+    hsm :: Prelude.Maybe Hsm,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateHsmResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'hsm', 'createHsmResponse_hsm' - Information about the HSM that was created.+--+-- 'httpStatus', 'createHsmResponse_httpStatus' - The response's http status code.+newCreateHsmResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateHsmResponse+newCreateHsmResponse pHttpStatus_ =+  CreateHsmResponse'+    { hsm = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Information about the HSM that was created.+createHsmResponse_hsm :: Lens.Lens' CreateHsmResponse (Prelude.Maybe Hsm)+createHsmResponse_hsm = Lens.lens (\CreateHsmResponse' {hsm} -> hsm) (\s@CreateHsmResponse' {} a -> s {hsm = a} :: CreateHsmResponse)++-- | The response's http status code.+createHsmResponse_httpStatus :: Lens.Lens' CreateHsmResponse Prelude.Int+createHsmResponse_httpStatus = Lens.lens (\CreateHsmResponse' {httpStatus} -> httpStatus) (\s@CreateHsmResponse' {} a -> s {httpStatus = a} :: CreateHsmResponse)++instance Prelude.NFData CreateHsmResponse where+  rnf CreateHsmResponse' {..} =+    Prelude.rnf hsm+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/DeleteBackup.hs view
@@ -0,0 +1,170 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.DeleteBackup+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a specified AWS CloudHSM backup. A backup can be restored up to+-- 7 days after the DeleteBackup request is made. For more information on+-- restoring a backup, see RestoreBackup.+module Amazonka.CloudHSMV2.DeleteBackup+  ( -- * Creating a Request+    DeleteBackup (..),+    newDeleteBackup,++    -- * Request Lenses+    deleteBackup_backupId,++    -- * Destructuring the Response+    DeleteBackupResponse (..),+    newDeleteBackupResponse,++    -- * Response Lenses+    deleteBackupResponse_backup,+    deleteBackupResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteBackup' smart constructor.+data DeleteBackup = DeleteBackup'+  { -- | The ID of the backup to be deleted. To find the ID of a backup, use the+    -- DescribeBackups operation.+    backupId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteBackup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupId', 'deleteBackup_backupId' - The ID of the backup to be deleted. To find the ID of a backup, use the+-- DescribeBackups operation.+newDeleteBackup ::+  -- | 'backupId'+  Prelude.Text ->+  DeleteBackup+newDeleteBackup pBackupId_ =+  DeleteBackup' {backupId = pBackupId_}++-- | The ID of the backup to be deleted. To find the ID of a backup, use the+-- DescribeBackups operation.+deleteBackup_backupId :: Lens.Lens' DeleteBackup Prelude.Text+deleteBackup_backupId = Lens.lens (\DeleteBackup' {backupId} -> backupId) (\s@DeleteBackup' {} a -> s {backupId = a} :: DeleteBackup)++instance Core.AWSRequest DeleteBackup where+  type AWSResponse DeleteBackup = DeleteBackupResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DeleteBackupResponse'+            Prelude.<$> (x Data..?> "Backup")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeleteBackup where+  hashWithSalt _salt DeleteBackup' {..} =+    _salt `Prelude.hashWithSalt` backupId++instance Prelude.NFData DeleteBackup where+  rnf DeleteBackup' {..} = Prelude.rnf backupId++instance Data.ToHeaders DeleteBackup where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.DeleteBackup" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteBackup where+  toJSON DeleteBackup' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("BackupId" Data..= backupId)]+      )++instance Data.ToPath DeleteBackup where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteBackup where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteBackupResponse' smart constructor.+data DeleteBackupResponse = DeleteBackupResponse'+  { -- | Information on the @Backup@ object deleted.+    backup :: Prelude.Maybe Backup,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteBackupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backup', 'deleteBackupResponse_backup' - Information on the @Backup@ object deleted.+--+-- 'httpStatus', 'deleteBackupResponse_httpStatus' - The response's http status code.+newDeleteBackupResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteBackupResponse+newDeleteBackupResponse pHttpStatus_ =+  DeleteBackupResponse'+    { backup = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Information on the @Backup@ object deleted.+deleteBackupResponse_backup :: Lens.Lens' DeleteBackupResponse (Prelude.Maybe Backup)+deleteBackupResponse_backup = Lens.lens (\DeleteBackupResponse' {backup} -> backup) (\s@DeleteBackupResponse' {} a -> s {backup = a} :: DeleteBackupResponse)++-- | The response's http status code.+deleteBackupResponse_httpStatus :: Lens.Lens' DeleteBackupResponse Prelude.Int+deleteBackupResponse_httpStatus = Lens.lens (\DeleteBackupResponse' {httpStatus} -> httpStatus) (\s@DeleteBackupResponse' {} a -> s {httpStatus = a} :: DeleteBackupResponse)++instance Prelude.NFData DeleteBackupResponse where+  rnf DeleteBackupResponse' {..} =+    Prelude.rnf backup+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/DeleteCluster.hs view
@@ -0,0 +1,173 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.DeleteCluster+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified AWS CloudHSM cluster. Before you can delete a+-- cluster, you must delete all HSMs in the cluster. To see if the cluster+-- contains any HSMs, use DescribeClusters. To delete an HSM, use+-- DeleteHsm.+module Amazonka.CloudHSMV2.DeleteCluster+  ( -- * Creating a Request+    DeleteCluster (..),+    newDeleteCluster,++    -- * Request Lenses+    deleteCluster_clusterId,++    -- * Destructuring the Response+    DeleteClusterResponse (..),+    newDeleteClusterResponse,++    -- * Response Lenses+    deleteClusterResponse_cluster,+    deleteClusterResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteCluster' smart constructor.+data DeleteCluster = DeleteCluster'+  { -- | The identifier (ID) of the cluster that you are deleting. To find the+    -- cluster ID, use DescribeClusters.+    clusterId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteCluster' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clusterId', 'deleteCluster_clusterId' - The identifier (ID) of the cluster that you are deleting. To find the+-- cluster ID, use DescribeClusters.+newDeleteCluster ::+  -- | 'clusterId'+  Prelude.Text ->+  DeleteCluster+newDeleteCluster pClusterId_ =+  DeleteCluster' {clusterId = pClusterId_}++-- | The identifier (ID) of the cluster that you are deleting. To find the+-- cluster ID, use DescribeClusters.+deleteCluster_clusterId :: Lens.Lens' DeleteCluster Prelude.Text+deleteCluster_clusterId = Lens.lens (\DeleteCluster' {clusterId} -> clusterId) (\s@DeleteCluster' {} a -> s {clusterId = a} :: DeleteCluster)++instance Core.AWSRequest DeleteCluster where+  type+    AWSResponse DeleteCluster =+      DeleteClusterResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DeleteClusterResponse'+            Prelude.<$> (x Data..?> "Cluster")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeleteCluster where+  hashWithSalt _salt DeleteCluster' {..} =+    _salt `Prelude.hashWithSalt` clusterId++instance Prelude.NFData DeleteCluster where+  rnf DeleteCluster' {..} = Prelude.rnf clusterId++instance Data.ToHeaders DeleteCluster where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.DeleteCluster" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteCluster where+  toJSON DeleteCluster' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("ClusterId" Data..= clusterId)]+      )++instance Data.ToPath DeleteCluster where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteCluster where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteClusterResponse' smart constructor.+data DeleteClusterResponse = DeleteClusterResponse'+  { -- | Information about the cluster that was deleted.+    cluster :: Prelude.Maybe Cluster,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteClusterResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'cluster', 'deleteClusterResponse_cluster' - Information about the cluster that was deleted.+--+-- 'httpStatus', 'deleteClusterResponse_httpStatus' - The response's http status code.+newDeleteClusterResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteClusterResponse+newDeleteClusterResponse pHttpStatus_ =+  DeleteClusterResponse'+    { cluster = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Information about the cluster that was deleted.+deleteClusterResponse_cluster :: Lens.Lens' DeleteClusterResponse (Prelude.Maybe Cluster)+deleteClusterResponse_cluster = Lens.lens (\DeleteClusterResponse' {cluster} -> cluster) (\s@DeleteClusterResponse' {} a -> s {cluster = a} :: DeleteClusterResponse)++-- | The response's http status code.+deleteClusterResponse_httpStatus :: Lens.Lens' DeleteClusterResponse Prelude.Int+deleteClusterResponse_httpStatus = Lens.lens (\DeleteClusterResponse' {httpStatus} -> httpStatus) (\s@DeleteClusterResponse' {} a -> s {httpStatus = a} :: DeleteClusterResponse)++instance Prelude.NFData DeleteClusterResponse where+  rnf DeleteClusterResponse' {..} =+    Prelude.rnf cluster+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/DeleteHsm.hs view
@@ -0,0 +1,219 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.DeleteHsm+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified HSM. To specify an HSM, you can use its identifier+-- (ID), the IP address of the HSM\'s elastic network interface (ENI), or+-- the ID of the HSM\'s ENI. You need to specify only one of these values.+-- To find these values, use DescribeClusters.+module Amazonka.CloudHSMV2.DeleteHsm+  ( -- * Creating a Request+    DeleteHsm (..),+    newDeleteHsm,++    -- * Request Lenses+    deleteHsm_eniId,+    deleteHsm_eniIp,+    deleteHsm_hsmId,+    deleteHsm_clusterId,++    -- * Destructuring the Response+    DeleteHsmResponse (..),+    newDeleteHsmResponse,++    -- * Response Lenses+    deleteHsmResponse_hsmId,+    deleteHsmResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteHsm' smart constructor.+data DeleteHsm = DeleteHsm'+  { -- | The identifier (ID) of the elastic network interface (ENI) of the HSM+    -- that you are deleting.+    eniId :: Prelude.Maybe Prelude.Text,+    -- | The IP address of the elastic network interface (ENI) of the HSM that+    -- you are deleting.+    eniIp :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the HSM that you are deleting.+    hsmId :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the cluster that contains the HSM that you are+    -- deleting.+    clusterId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteHsm' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eniId', 'deleteHsm_eniId' - The identifier (ID) of the elastic network interface (ENI) of the HSM+-- that you are deleting.+--+-- 'eniIp', 'deleteHsm_eniIp' - The IP address of the elastic network interface (ENI) of the HSM that+-- you are deleting.+--+-- 'hsmId', 'deleteHsm_hsmId' - The identifier (ID) of the HSM that you are deleting.+--+-- 'clusterId', 'deleteHsm_clusterId' - The identifier (ID) of the cluster that contains the HSM that you are+-- deleting.+newDeleteHsm ::+  -- | 'clusterId'+  Prelude.Text ->+  DeleteHsm+newDeleteHsm pClusterId_ =+  DeleteHsm'+    { eniId = Prelude.Nothing,+      eniIp = Prelude.Nothing,+      hsmId = Prelude.Nothing,+      clusterId = pClusterId_+    }++-- | The identifier (ID) of the elastic network interface (ENI) of the HSM+-- that you are deleting.+deleteHsm_eniId :: Lens.Lens' DeleteHsm (Prelude.Maybe Prelude.Text)+deleteHsm_eniId = Lens.lens (\DeleteHsm' {eniId} -> eniId) (\s@DeleteHsm' {} a -> s {eniId = a} :: DeleteHsm)++-- | The IP address of the elastic network interface (ENI) of the HSM that+-- you are deleting.+deleteHsm_eniIp :: Lens.Lens' DeleteHsm (Prelude.Maybe Prelude.Text)+deleteHsm_eniIp = Lens.lens (\DeleteHsm' {eniIp} -> eniIp) (\s@DeleteHsm' {} a -> s {eniIp = a} :: DeleteHsm)++-- | The identifier (ID) of the HSM that you are deleting.+deleteHsm_hsmId :: Lens.Lens' DeleteHsm (Prelude.Maybe Prelude.Text)+deleteHsm_hsmId = Lens.lens (\DeleteHsm' {hsmId} -> hsmId) (\s@DeleteHsm' {} a -> s {hsmId = a} :: DeleteHsm)++-- | The identifier (ID) of the cluster that contains the HSM that you are+-- deleting.+deleteHsm_clusterId :: Lens.Lens' DeleteHsm Prelude.Text+deleteHsm_clusterId = Lens.lens (\DeleteHsm' {clusterId} -> clusterId) (\s@DeleteHsm' {} a -> s {clusterId = a} :: DeleteHsm)++instance Core.AWSRequest DeleteHsm where+  type AWSResponse DeleteHsm = DeleteHsmResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DeleteHsmResponse'+            Prelude.<$> (x Data..?> "HsmId")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeleteHsm where+  hashWithSalt _salt DeleteHsm' {..} =+    _salt+      `Prelude.hashWithSalt` eniId+      `Prelude.hashWithSalt` eniIp+      `Prelude.hashWithSalt` hsmId+      `Prelude.hashWithSalt` clusterId++instance Prelude.NFData DeleteHsm where+  rnf DeleteHsm' {..} =+    Prelude.rnf eniId+      `Prelude.seq` Prelude.rnf eniIp+      `Prelude.seq` Prelude.rnf hsmId+      `Prelude.seq` Prelude.rnf clusterId++instance Data.ToHeaders DeleteHsm where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ("BaldrApiService.DeleteHsm" :: Prelude.ByteString),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteHsm where+  toJSON DeleteHsm' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("EniId" Data..=) Prelude.<$> eniId,+            ("EniIp" Data..=) Prelude.<$> eniIp,+            ("HsmId" Data..=) Prelude.<$> hsmId,+            Prelude.Just ("ClusterId" Data..= clusterId)+          ]+      )++instance Data.ToPath DeleteHsm where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteHsm where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteHsmResponse' smart constructor.+data DeleteHsmResponse = DeleteHsmResponse'+  { -- | The identifier (ID) of the HSM that was deleted.+    hsmId :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteHsmResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'hsmId', 'deleteHsmResponse_hsmId' - The identifier (ID) of the HSM that was deleted.+--+-- 'httpStatus', 'deleteHsmResponse_httpStatus' - The response's http status code.+newDeleteHsmResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteHsmResponse+newDeleteHsmResponse pHttpStatus_ =+  DeleteHsmResponse'+    { hsmId = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The identifier (ID) of the HSM that was deleted.+deleteHsmResponse_hsmId :: Lens.Lens' DeleteHsmResponse (Prelude.Maybe Prelude.Text)+deleteHsmResponse_hsmId = Lens.lens (\DeleteHsmResponse' {hsmId} -> hsmId) (\s@DeleteHsmResponse' {} a -> s {hsmId = a} :: DeleteHsmResponse)++-- | The response's http status code.+deleteHsmResponse_httpStatus :: Lens.Lens' DeleteHsmResponse Prelude.Int+deleteHsmResponse_httpStatus = Lens.lens (\DeleteHsmResponse' {httpStatus} -> httpStatus) (\s@DeleteHsmResponse' {} a -> s {httpStatus = a} :: DeleteHsmResponse)++instance Prelude.NFData DeleteHsmResponse where+  rnf DeleteHsmResponse' {..} =+    Prelude.rnf hsmId+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/DescribeBackups.hs view
@@ -0,0 +1,324 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.DescribeBackups+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about backups of AWS CloudHSM clusters.+--+-- This is a paginated operation, which means that each response might+-- contain only a subset of all the backups. When the response contains+-- only a subset of backups, it includes a @NextToken@ value. Use this+-- value in a subsequent @DescribeBackups@ request to get more backups.+-- When you receive a response with no @NextToken@ (or an empty or null+-- value), that means there are no more backups to get.+--+-- This operation returns paginated results.+module Amazonka.CloudHSMV2.DescribeBackups+  ( -- * Creating a Request+    DescribeBackups (..),+    newDescribeBackups,++    -- * Request Lenses+    describeBackups_filters,+    describeBackups_maxResults,+    describeBackups_nextToken,+    describeBackups_sortAscending,++    -- * Destructuring the Response+    DescribeBackupsResponse (..),+    newDescribeBackupsResponse,++    -- * Response Lenses+    describeBackupsResponse_backups,+    describeBackupsResponse_nextToken,+    describeBackupsResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeBackups' smart constructor.+data DescribeBackups = DescribeBackups'+  { -- | One or more filters to limit the items returned in the response.+    --+    -- Use the @backupIds@ filter to return only the specified backups. Specify+    -- backups by their backup identifier (ID).+    --+    -- Use the @sourceBackupIds@ filter to return only the backups created from+    -- a source backup. The @sourceBackupID@ of a source backup is returned by+    -- the CopyBackupToRegion operation.+    --+    -- Use the @clusterIds@ filter to return only the backups for the specified+    -- clusters. Specify clusters by their cluster identifier (ID).+    --+    -- Use the @states@ filter to return only backups that match the specified+    -- state.+    --+    -- Use the @neverExpires@ filter to return backups filtered by the value in+    -- the @neverExpires@ parameter. @True@ returns all backups exempt from the+    -- backup retention policy. @False@ returns all backups with a backup+    -- retention policy defined at the cluster.+    filters :: Prelude.Maybe (Prelude.HashMap Prelude.Text [Prelude.Text]),+    -- | The maximum number of backups to return in the response. When there are+    -- more backups than the number you specify, the response contains a+    -- @NextToken@ value.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The @NextToken@ value that you received in the previous response. Use+    -- this value to get more backups.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | Designates whether or not to sort the return backups by ascending+    -- chronological order of generation.+    sortAscending :: Prelude.Maybe Prelude.Bool+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeBackups' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filters', 'describeBackups_filters' - One or more filters to limit the items returned in the response.+--+-- Use the @backupIds@ filter to return only the specified backups. Specify+-- backups by their backup identifier (ID).+--+-- Use the @sourceBackupIds@ filter to return only the backups created from+-- a source backup. The @sourceBackupID@ of a source backup is returned by+-- the CopyBackupToRegion operation.+--+-- Use the @clusterIds@ filter to return only the backups for the specified+-- clusters. Specify clusters by their cluster identifier (ID).+--+-- Use the @states@ filter to return only backups that match the specified+-- state.+--+-- Use the @neverExpires@ filter to return backups filtered by the value in+-- the @neverExpires@ parameter. @True@ returns all backups exempt from the+-- backup retention policy. @False@ returns all backups with a backup+-- retention policy defined at the cluster.+--+-- 'maxResults', 'describeBackups_maxResults' - The maximum number of backups to return in the response. When there are+-- more backups than the number you specify, the response contains a+-- @NextToken@ value.+--+-- 'nextToken', 'describeBackups_nextToken' - The @NextToken@ value that you received in the previous response. Use+-- this value to get more backups.+--+-- 'sortAscending', 'describeBackups_sortAscending' - Designates whether or not to sort the return backups by ascending+-- chronological order of generation.+newDescribeBackups ::+  DescribeBackups+newDescribeBackups =+  DescribeBackups'+    { filters = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      sortAscending = Prelude.Nothing+    }++-- | One or more filters to limit the items returned in the response.+--+-- Use the @backupIds@ filter to return only the specified backups. Specify+-- backups by their backup identifier (ID).+--+-- Use the @sourceBackupIds@ filter to return only the backups created from+-- a source backup. The @sourceBackupID@ of a source backup is returned by+-- the CopyBackupToRegion operation.+--+-- Use the @clusterIds@ filter to return only the backups for the specified+-- clusters. Specify clusters by their cluster identifier (ID).+--+-- Use the @states@ filter to return only backups that match the specified+-- state.+--+-- Use the @neverExpires@ filter to return backups filtered by the value in+-- the @neverExpires@ parameter. @True@ returns all backups exempt from the+-- backup retention policy. @False@ returns all backups with a backup+-- retention policy defined at the cluster.+describeBackups_filters :: Lens.Lens' DescribeBackups (Prelude.Maybe (Prelude.HashMap Prelude.Text [Prelude.Text]))+describeBackups_filters = Lens.lens (\DescribeBackups' {filters} -> filters) (\s@DescribeBackups' {} a -> s {filters = a} :: DescribeBackups) Prelude.. Lens.mapping Lens.coerced++-- | The maximum number of backups to return in the response. When there are+-- more backups than the number you specify, the response contains a+-- @NextToken@ value.+describeBackups_maxResults :: Lens.Lens' DescribeBackups (Prelude.Maybe Prelude.Natural)+describeBackups_maxResults = Lens.lens (\DescribeBackups' {maxResults} -> maxResults) (\s@DescribeBackups' {} a -> s {maxResults = a} :: DescribeBackups)++-- | The @NextToken@ value that you received in the previous response. Use+-- this value to get more backups.+describeBackups_nextToken :: Lens.Lens' DescribeBackups (Prelude.Maybe Prelude.Text)+describeBackups_nextToken = Lens.lens (\DescribeBackups' {nextToken} -> nextToken) (\s@DescribeBackups' {} a -> s {nextToken = a} :: DescribeBackups)++-- | Designates whether or not to sort the return backups by ascending+-- chronological order of generation.+describeBackups_sortAscending :: Lens.Lens' DescribeBackups (Prelude.Maybe Prelude.Bool)+describeBackups_sortAscending = Lens.lens (\DescribeBackups' {sortAscending} -> sortAscending) (\s@DescribeBackups' {} a -> s {sortAscending = a} :: DescribeBackups)++instance Core.AWSPager DescribeBackups where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeBackupsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeBackupsResponse_backups+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeBackups_nextToken+          Lens..~ rs+          Lens.^? describeBackupsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeBackups where+  type+    AWSResponse DescribeBackups =+      DescribeBackupsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeBackupsResponse'+            Prelude.<$> (x Data..?> "Backups" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeBackups where+  hashWithSalt _salt DescribeBackups' {..} =+    _salt+      `Prelude.hashWithSalt` filters+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` sortAscending++instance Prelude.NFData DescribeBackups where+  rnf DescribeBackups' {..} =+    Prelude.rnf filters+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf sortAscending++instance Data.ToHeaders DescribeBackups where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.DescribeBackups" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeBackups where+  toJSON DescribeBackups' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Filters" Data..=) Prelude.<$> filters,+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            ("SortAscending" Data..=) Prelude.<$> sortAscending+          ]+      )++instance Data.ToPath DescribeBackups where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeBackups where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeBackupsResponse' smart constructor.+data DescribeBackupsResponse = DescribeBackupsResponse'+  { -- | A list of backups.+    backups :: Prelude.Maybe [Backup],+    -- | An opaque string that indicates that the response contains only a subset+    -- of backups. Use this value in a subsequent @DescribeBackups@ request to+    -- get more backups.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeBackupsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backups', 'describeBackupsResponse_backups' - A list of backups.+--+-- 'nextToken', 'describeBackupsResponse_nextToken' - An opaque string that indicates that the response contains only a subset+-- of backups. Use this value in a subsequent @DescribeBackups@ request to+-- get more backups.+--+-- 'httpStatus', 'describeBackupsResponse_httpStatus' - The response's http status code.+newDescribeBackupsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeBackupsResponse+newDescribeBackupsResponse pHttpStatus_ =+  DescribeBackupsResponse'+    { backups = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of backups.+describeBackupsResponse_backups :: Lens.Lens' DescribeBackupsResponse (Prelude.Maybe [Backup])+describeBackupsResponse_backups = Lens.lens (\DescribeBackupsResponse' {backups} -> backups) (\s@DescribeBackupsResponse' {} a -> s {backups = a} :: DescribeBackupsResponse) Prelude.. Lens.mapping Lens.coerced++-- | An opaque string that indicates that the response contains only a subset+-- of backups. Use this value in a subsequent @DescribeBackups@ request to+-- get more backups.+describeBackupsResponse_nextToken :: Lens.Lens' DescribeBackupsResponse (Prelude.Maybe Prelude.Text)+describeBackupsResponse_nextToken = Lens.lens (\DescribeBackupsResponse' {nextToken} -> nextToken) (\s@DescribeBackupsResponse' {} a -> s {nextToken = a} :: DescribeBackupsResponse)++-- | The response's http status code.+describeBackupsResponse_httpStatus :: Lens.Lens' DescribeBackupsResponse Prelude.Int+describeBackupsResponse_httpStatus = Lens.lens (\DescribeBackupsResponse' {httpStatus} -> httpStatus) (\s@DescribeBackupsResponse' {} a -> s {httpStatus = a} :: DescribeBackupsResponse)++instance Prelude.NFData DescribeBackupsResponse where+  rnf DescribeBackupsResponse' {..} =+    Prelude.rnf backups+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/DescribeClusters.hs view
@@ -0,0 +1,285 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.DescribeClusters+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about AWS CloudHSM clusters.+--+-- This is a paginated operation, which means that each response might+-- contain only a subset of all the clusters. When the response contains+-- only a subset of clusters, it includes a @NextToken@ value. Use this+-- value in a subsequent @DescribeClusters@ request to get more clusters.+-- When you receive a response with no @NextToken@ (or an empty or null+-- value), that means there are no more clusters to get.+--+-- This operation returns paginated results.+module Amazonka.CloudHSMV2.DescribeClusters+  ( -- * Creating a Request+    DescribeClusters (..),+    newDescribeClusters,++    -- * Request Lenses+    describeClusters_filters,+    describeClusters_maxResults,+    describeClusters_nextToken,++    -- * Destructuring the Response+    DescribeClustersResponse (..),+    newDescribeClustersResponse,++    -- * Response Lenses+    describeClustersResponse_clusters,+    describeClustersResponse_nextToken,+    describeClustersResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeClusters' smart constructor.+data DescribeClusters = DescribeClusters'+  { -- | One or more filters to limit the items returned in the response.+    --+    -- Use the @clusterIds@ filter to return only the specified clusters.+    -- Specify clusters by their cluster identifier (ID).+    --+    -- Use the @vpcIds@ filter to return only the clusters in the specified+    -- virtual private clouds (VPCs). Specify VPCs by their VPC identifier+    -- (ID).+    --+    -- Use the @states@ filter to return only clusters that match the specified+    -- state.+    filters :: Prelude.Maybe (Prelude.HashMap Prelude.Text [Prelude.Text]),+    -- | The maximum number of clusters to return in the response. When there are+    -- more clusters than the number you specify, the response contains a+    -- @NextToken@ value.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The @NextToken@ value that you received in the previous response. Use+    -- this value to get more clusters.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeClusters' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filters', 'describeClusters_filters' - One or more filters to limit the items returned in the response.+--+-- Use the @clusterIds@ filter to return only the specified clusters.+-- Specify clusters by their cluster identifier (ID).+--+-- Use the @vpcIds@ filter to return only the clusters in the specified+-- virtual private clouds (VPCs). Specify VPCs by their VPC identifier+-- (ID).+--+-- Use the @states@ filter to return only clusters that match the specified+-- state.+--+-- 'maxResults', 'describeClusters_maxResults' - The maximum number of clusters to return in the response. When there are+-- more clusters than the number you specify, the response contains a+-- @NextToken@ value.+--+-- 'nextToken', 'describeClusters_nextToken' - The @NextToken@ value that you received in the previous response. Use+-- this value to get more clusters.+newDescribeClusters ::+  DescribeClusters+newDescribeClusters =+  DescribeClusters'+    { filters = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | One or more filters to limit the items returned in the response.+--+-- Use the @clusterIds@ filter to return only the specified clusters.+-- Specify clusters by their cluster identifier (ID).+--+-- Use the @vpcIds@ filter to return only the clusters in the specified+-- virtual private clouds (VPCs). Specify VPCs by their VPC identifier+-- (ID).+--+-- Use the @states@ filter to return only clusters that match the specified+-- state.+describeClusters_filters :: Lens.Lens' DescribeClusters (Prelude.Maybe (Prelude.HashMap Prelude.Text [Prelude.Text]))+describeClusters_filters = Lens.lens (\DescribeClusters' {filters} -> filters) (\s@DescribeClusters' {} a -> s {filters = a} :: DescribeClusters) Prelude.. Lens.mapping Lens.coerced++-- | The maximum number of clusters to return in the response. When there are+-- more clusters than the number you specify, the response contains a+-- @NextToken@ value.+describeClusters_maxResults :: Lens.Lens' DescribeClusters (Prelude.Maybe Prelude.Natural)+describeClusters_maxResults = Lens.lens (\DescribeClusters' {maxResults} -> maxResults) (\s@DescribeClusters' {} a -> s {maxResults = a} :: DescribeClusters)++-- | The @NextToken@ value that you received in the previous response. Use+-- this value to get more clusters.+describeClusters_nextToken :: Lens.Lens' DescribeClusters (Prelude.Maybe Prelude.Text)+describeClusters_nextToken = Lens.lens (\DescribeClusters' {nextToken} -> nextToken) (\s@DescribeClusters' {} a -> s {nextToken = a} :: DescribeClusters)++instance Core.AWSPager DescribeClusters where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? describeClustersResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? describeClustersResponse_clusters+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& describeClusters_nextToken+          Lens..~ rs+          Lens.^? describeClustersResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest DescribeClusters where+  type+    AWSResponse DescribeClusters =+      DescribeClustersResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeClustersResponse'+            Prelude.<$> (x Data..?> "Clusters" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeClusters where+  hashWithSalt _salt DescribeClusters' {..} =+    _salt+      `Prelude.hashWithSalt` filters+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData DescribeClusters where+  rnf DescribeClusters' {..} =+    Prelude.rnf filters+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders DescribeClusters where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.DescribeClusters" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeClusters where+  toJSON DescribeClusters' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Filters" Data..=) Prelude.<$> filters,+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath DescribeClusters where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeClusters where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeClustersResponse' smart constructor.+data DescribeClustersResponse = DescribeClustersResponse'+  { -- | A list of clusters.+    clusters :: Prelude.Maybe [Cluster],+    -- | An opaque string that indicates that the response contains only a subset+    -- of clusters. Use this value in a subsequent @DescribeClusters@ request+    -- to get more clusters.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeClustersResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clusters', 'describeClustersResponse_clusters' - A list of clusters.+--+-- 'nextToken', 'describeClustersResponse_nextToken' - An opaque string that indicates that the response contains only a subset+-- of clusters. Use this value in a subsequent @DescribeClusters@ request+-- to get more clusters.+--+-- 'httpStatus', 'describeClustersResponse_httpStatus' - The response's http status code.+newDescribeClustersResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeClustersResponse+newDescribeClustersResponse pHttpStatus_ =+  DescribeClustersResponse'+    { clusters =+        Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of clusters.+describeClustersResponse_clusters :: Lens.Lens' DescribeClustersResponse (Prelude.Maybe [Cluster])+describeClustersResponse_clusters = Lens.lens (\DescribeClustersResponse' {clusters} -> clusters) (\s@DescribeClustersResponse' {} a -> s {clusters = a} :: DescribeClustersResponse) Prelude.. Lens.mapping Lens.coerced++-- | An opaque string that indicates that the response contains only a subset+-- of clusters. Use this value in a subsequent @DescribeClusters@ request+-- to get more clusters.+describeClustersResponse_nextToken :: Lens.Lens' DescribeClustersResponse (Prelude.Maybe Prelude.Text)+describeClustersResponse_nextToken = Lens.lens (\DescribeClustersResponse' {nextToken} -> nextToken) (\s@DescribeClustersResponse' {} a -> s {nextToken = a} :: DescribeClustersResponse)++-- | The response's http status code.+describeClustersResponse_httpStatus :: Lens.Lens' DescribeClustersResponse Prelude.Int+describeClustersResponse_httpStatus = Lens.lens (\DescribeClustersResponse' {httpStatus} -> httpStatus) (\s@DescribeClustersResponse' {} a -> s {httpStatus = a} :: DescribeClustersResponse)++instance Prelude.NFData DescribeClustersResponse where+  rnf DescribeClustersResponse' {..} =+    Prelude.rnf clusters+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/InitializeCluster.hs view
@@ -0,0 +1,242 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.InitializeCluster+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Claims an AWS CloudHSM cluster by submitting the cluster certificate+-- issued by your issuing certificate authority (CA) and the CA\'s root+-- certificate. Before you can claim a cluster, you must sign the+-- cluster\'s certificate signing request (CSR) with your issuing CA. To+-- get the cluster\'s CSR, use DescribeClusters.+module Amazonka.CloudHSMV2.InitializeCluster+  ( -- * Creating a Request+    InitializeCluster (..),+    newInitializeCluster,++    -- * Request Lenses+    initializeCluster_clusterId,+    initializeCluster_signedCert,+    initializeCluster_trustAnchor,++    -- * Destructuring the Response+    InitializeClusterResponse (..),+    newInitializeClusterResponse,++    -- * Response Lenses+    initializeClusterResponse_state,+    initializeClusterResponse_stateMessage,+    initializeClusterResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newInitializeCluster' smart constructor.+data InitializeCluster = InitializeCluster'+  { -- | The identifier (ID) of the cluster that you are claiming. To find the+    -- cluster ID, use DescribeClusters.+    clusterId :: Prelude.Text,+    -- | The cluster certificate issued (signed) by your issuing certificate+    -- authority (CA). The certificate must be in PEM format and can contain a+    -- maximum of 5000 characters.+    signedCert :: Prelude.Text,+    -- | The issuing certificate of the issuing certificate authority (CA) that+    -- issued (signed) the cluster certificate. You must use a self-signed+    -- certificate. The certificate used to sign the HSM CSR must be directly+    -- available, and thus must be the root certificate. The certificate must+    -- be in PEM format and can contain a maximum of 5000 characters.+    trustAnchor :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InitializeCluster' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'clusterId', 'initializeCluster_clusterId' - The identifier (ID) of the cluster that you are claiming. To find the+-- cluster ID, use DescribeClusters.+--+-- 'signedCert', 'initializeCluster_signedCert' - The cluster certificate issued (signed) by your issuing certificate+-- authority (CA). The certificate must be in PEM format and can contain a+-- maximum of 5000 characters.+--+-- 'trustAnchor', 'initializeCluster_trustAnchor' - The issuing certificate of the issuing certificate authority (CA) that+-- issued (signed) the cluster certificate. You must use a self-signed+-- certificate. The certificate used to sign the HSM CSR must be directly+-- available, and thus must be the root certificate. The certificate must+-- be in PEM format and can contain a maximum of 5000 characters.+newInitializeCluster ::+  -- | 'clusterId'+  Prelude.Text ->+  -- | 'signedCert'+  Prelude.Text ->+  -- | 'trustAnchor'+  Prelude.Text ->+  InitializeCluster+newInitializeCluster+  pClusterId_+  pSignedCert_+  pTrustAnchor_ =+    InitializeCluster'+      { clusterId = pClusterId_,+        signedCert = pSignedCert_,+        trustAnchor = pTrustAnchor_+      }++-- | The identifier (ID) of the cluster that you are claiming. To find the+-- cluster ID, use DescribeClusters.+initializeCluster_clusterId :: Lens.Lens' InitializeCluster Prelude.Text+initializeCluster_clusterId = Lens.lens (\InitializeCluster' {clusterId} -> clusterId) (\s@InitializeCluster' {} a -> s {clusterId = a} :: InitializeCluster)++-- | The cluster certificate issued (signed) by your issuing certificate+-- authority (CA). The certificate must be in PEM format and can contain a+-- maximum of 5000 characters.+initializeCluster_signedCert :: Lens.Lens' InitializeCluster Prelude.Text+initializeCluster_signedCert = Lens.lens (\InitializeCluster' {signedCert} -> signedCert) (\s@InitializeCluster' {} a -> s {signedCert = a} :: InitializeCluster)++-- | The issuing certificate of the issuing certificate authority (CA) that+-- issued (signed) the cluster certificate. You must use a self-signed+-- certificate. The certificate used to sign the HSM CSR must be directly+-- available, and thus must be the root certificate. The certificate must+-- be in PEM format and can contain a maximum of 5000 characters.+initializeCluster_trustAnchor :: Lens.Lens' InitializeCluster Prelude.Text+initializeCluster_trustAnchor = Lens.lens (\InitializeCluster' {trustAnchor} -> trustAnchor) (\s@InitializeCluster' {} a -> s {trustAnchor = a} :: InitializeCluster)++instance Core.AWSRequest InitializeCluster where+  type+    AWSResponse InitializeCluster =+      InitializeClusterResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          InitializeClusterResponse'+            Prelude.<$> (x Data..?> "State")+            Prelude.<*> (x Data..?> "StateMessage")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable InitializeCluster where+  hashWithSalt _salt InitializeCluster' {..} =+    _salt+      `Prelude.hashWithSalt` clusterId+      `Prelude.hashWithSalt` signedCert+      `Prelude.hashWithSalt` trustAnchor++instance Prelude.NFData InitializeCluster where+  rnf InitializeCluster' {..} =+    Prelude.rnf clusterId+      `Prelude.seq` Prelude.rnf signedCert+      `Prelude.seq` Prelude.rnf trustAnchor++instance Data.ToHeaders InitializeCluster where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.InitializeCluster" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON InitializeCluster where+  toJSON InitializeCluster' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("ClusterId" Data..= clusterId),+            Prelude.Just ("SignedCert" Data..= signedCert),+            Prelude.Just ("TrustAnchor" Data..= trustAnchor)+          ]+      )++instance Data.ToPath InitializeCluster where+  toPath = Prelude.const "/"++instance Data.ToQuery InitializeCluster where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newInitializeClusterResponse' smart constructor.+data InitializeClusterResponse = InitializeClusterResponse'+  { -- | The cluster\'s state.+    state :: Prelude.Maybe ClusterState,+    -- | A description of the cluster\'s state.+    stateMessage :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InitializeClusterResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'state', 'initializeClusterResponse_state' - The cluster\'s state.+--+-- 'stateMessage', 'initializeClusterResponse_stateMessage' - A description of the cluster\'s state.+--+-- 'httpStatus', 'initializeClusterResponse_httpStatus' - The response's http status code.+newInitializeClusterResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  InitializeClusterResponse+newInitializeClusterResponse pHttpStatus_ =+  InitializeClusterResponse'+    { state = Prelude.Nothing,+      stateMessage = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The cluster\'s state.+initializeClusterResponse_state :: Lens.Lens' InitializeClusterResponse (Prelude.Maybe ClusterState)+initializeClusterResponse_state = Lens.lens (\InitializeClusterResponse' {state} -> state) (\s@InitializeClusterResponse' {} a -> s {state = a} :: InitializeClusterResponse)++-- | A description of the cluster\'s state.+initializeClusterResponse_stateMessage :: Lens.Lens' InitializeClusterResponse (Prelude.Maybe Prelude.Text)+initializeClusterResponse_stateMessage = Lens.lens (\InitializeClusterResponse' {stateMessage} -> stateMessage) (\s@InitializeClusterResponse' {} a -> s {stateMessage = a} :: InitializeClusterResponse)++-- | The response's http status code.+initializeClusterResponse_httpStatus :: Lens.Lens' InitializeClusterResponse Prelude.Int+initializeClusterResponse_httpStatus = Lens.lens (\InitializeClusterResponse' {httpStatus} -> httpStatus) (\s@InitializeClusterResponse' {} a -> s {httpStatus = a} :: InitializeClusterResponse)++instance Prelude.NFData InitializeClusterResponse where+  rnf InitializeClusterResponse' {..} =+    Prelude.rnf state+      `Prelude.seq` Prelude.rnf stateMessage+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/Lens.hs view
@@ -0,0 +1,204 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Lens+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Lens+  ( -- * Operations++    -- ** CopyBackupToRegion+    copyBackupToRegion_tagList,+    copyBackupToRegion_destinationRegion,+    copyBackupToRegion_backupId,+    copyBackupToRegionResponse_destinationBackup,+    copyBackupToRegionResponse_httpStatus,++    -- ** CreateCluster+    createCluster_backupRetentionPolicy,+    createCluster_sourceBackupId,+    createCluster_tagList,+    createCluster_hsmType,+    createCluster_subnetIds,+    createClusterResponse_cluster,+    createClusterResponse_httpStatus,++    -- ** CreateHsm+    createHsm_ipAddress,+    createHsm_clusterId,+    createHsm_availabilityZone,+    createHsmResponse_hsm,+    createHsmResponse_httpStatus,++    -- ** DeleteBackup+    deleteBackup_backupId,+    deleteBackupResponse_backup,+    deleteBackupResponse_httpStatus,++    -- ** DeleteCluster+    deleteCluster_clusterId,+    deleteClusterResponse_cluster,+    deleteClusterResponse_httpStatus,++    -- ** DeleteHsm+    deleteHsm_eniId,+    deleteHsm_eniIp,+    deleteHsm_hsmId,+    deleteHsm_clusterId,+    deleteHsmResponse_hsmId,+    deleteHsmResponse_httpStatus,++    -- ** DescribeBackups+    describeBackups_filters,+    describeBackups_maxResults,+    describeBackups_nextToken,+    describeBackups_sortAscending,+    describeBackupsResponse_backups,+    describeBackupsResponse_nextToken,+    describeBackupsResponse_httpStatus,++    -- ** DescribeClusters+    describeClusters_filters,+    describeClusters_maxResults,+    describeClusters_nextToken,+    describeClustersResponse_clusters,+    describeClustersResponse_nextToken,+    describeClustersResponse_httpStatus,++    -- ** InitializeCluster+    initializeCluster_clusterId,+    initializeCluster_signedCert,+    initializeCluster_trustAnchor,+    initializeClusterResponse_state,+    initializeClusterResponse_stateMessage,+    initializeClusterResponse_httpStatus,++    -- ** ListTags+    listTags_maxResults,+    listTags_nextToken,+    listTags_resourceId,+    listTagsResponse_nextToken,+    listTagsResponse_httpStatus,+    listTagsResponse_tagList,++    -- ** ModifyBackupAttributes+    modifyBackupAttributes_backupId,+    modifyBackupAttributes_neverExpires,+    modifyBackupAttributesResponse_backup,+    modifyBackupAttributesResponse_httpStatus,++    -- ** ModifyCluster+    modifyCluster_backupRetentionPolicy,+    modifyCluster_clusterId,+    modifyClusterResponse_cluster,+    modifyClusterResponse_httpStatus,++    -- ** RestoreBackup+    restoreBackup_backupId,+    restoreBackupResponse_backup,+    restoreBackupResponse_httpStatus,++    -- ** TagResource+    tagResource_resourceId,+    tagResource_tagList,+    tagResourceResponse_httpStatus,++    -- ** UntagResource+    untagResource_resourceId,+    untagResource_tagKeyList,+    untagResourceResponse_httpStatus,++    -- * Types++    -- ** Backup+    backup_backupState,+    backup_clusterId,+    backup_copyTimestamp,+    backup_createTimestamp,+    backup_deleteTimestamp,+    backup_neverExpires,+    backup_sourceBackup,+    backup_sourceCluster,+    backup_sourceRegion,+    backup_tagList,+    backup_backupId,++    -- ** BackupRetentionPolicy+    backupRetentionPolicy_type,+    backupRetentionPolicy_value,++    -- ** Certificates+    certificates_awsHardwareCertificate,+    certificates_clusterCertificate,+    certificates_clusterCsr,+    certificates_hsmCertificate,+    certificates_manufacturerHardwareCertificate,++    -- ** Cluster+    cluster_backupPolicy,+    cluster_backupRetentionPolicy,+    cluster_certificates,+    cluster_clusterId,+    cluster_createTimestamp,+    cluster_hsmType,+    cluster_hsms,+    cluster_preCoPassword,+    cluster_securityGroup,+    cluster_sourceBackupId,+    cluster_state,+    cluster_stateMessage,+    cluster_subnetMapping,+    cluster_tagList,+    cluster_vpcId,++    -- ** DestinationBackup+    destinationBackup_createTimestamp,+    destinationBackup_sourceBackup,+    destinationBackup_sourceCluster,+    destinationBackup_sourceRegion,++    -- ** Hsm+    hsm_availabilityZone,+    hsm_clusterId,+    hsm_eniId,+    hsm_eniIp,+    hsm_state,+    hsm_stateMessage,+    hsm_subnetId,+    hsm_hsmId,++    -- ** Tag+    tag_key,+    tag_value,+  )+where++import Amazonka.CloudHSMV2.CopyBackupToRegion+import Amazonka.CloudHSMV2.CreateCluster+import Amazonka.CloudHSMV2.CreateHsm+import Amazonka.CloudHSMV2.DeleteBackup+import Amazonka.CloudHSMV2.DeleteCluster+import Amazonka.CloudHSMV2.DeleteHsm+import Amazonka.CloudHSMV2.DescribeBackups+import Amazonka.CloudHSMV2.DescribeClusters+import Amazonka.CloudHSMV2.InitializeCluster+import Amazonka.CloudHSMV2.ListTags+import Amazonka.CloudHSMV2.ModifyBackupAttributes+import Amazonka.CloudHSMV2.ModifyCluster+import Amazonka.CloudHSMV2.RestoreBackup+import Amazonka.CloudHSMV2.TagResource+import Amazonka.CloudHSMV2.Types.Backup+import Amazonka.CloudHSMV2.Types.BackupRetentionPolicy+import Amazonka.CloudHSMV2.Types.Certificates+import Amazonka.CloudHSMV2.Types.Cluster+import Amazonka.CloudHSMV2.Types.DestinationBackup+import Amazonka.CloudHSMV2.Types.Hsm+import Amazonka.CloudHSMV2.Types.Tag+import Amazonka.CloudHSMV2.UntagResource
+ gen/Amazonka/CloudHSMV2/ListTags.hs view
@@ -0,0 +1,251 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.ListTags+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a list of tags for the specified AWS CloudHSM cluster.+--+-- This is a paginated operation, which means that each response might+-- contain only a subset of all the tags. When the response contains only a+-- subset of tags, it includes a @NextToken@ value. Use this value in a+-- subsequent @ListTags@ request to get more tags. When you receive a+-- response with no @NextToken@ (or an empty or null value), that means+-- there are no more tags to get.+--+-- This operation returns paginated results.+module Amazonka.CloudHSMV2.ListTags+  ( -- * Creating a Request+    ListTags (..),+    newListTags,++    -- * Request Lenses+    listTags_maxResults,+    listTags_nextToken,+    listTags_resourceId,++    -- * Destructuring the Response+    ListTagsResponse (..),+    newListTagsResponse,++    -- * Response Lenses+    listTagsResponse_nextToken,+    listTagsResponse_httpStatus,+    listTagsResponse_tagList,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newListTags' smart constructor.+data ListTags = ListTags'+  { -- | The maximum number of tags to return in the response. When there are+    -- more tags than the number you specify, the response contains a+    -- @NextToken@ value.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The @NextToken@ value that you received in the previous response. Use+    -- this value to get more tags.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The cluster identifier (ID) for the cluster whose tags you are getting.+    -- To find the cluster ID, use DescribeClusters.+    resourceId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTags' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listTags_maxResults' - The maximum number of tags to return in the response. When there are+-- more tags than the number you specify, the response contains a+-- @NextToken@ value.+--+-- 'nextToken', 'listTags_nextToken' - The @NextToken@ value that you received in the previous response. Use+-- this value to get more tags.+--+-- 'resourceId', 'listTags_resourceId' - The cluster identifier (ID) for the cluster whose tags you are getting.+-- To find the cluster ID, use DescribeClusters.+newListTags ::+  -- | 'resourceId'+  Prelude.Text ->+  ListTags+newListTags pResourceId_ =+  ListTags'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      resourceId = pResourceId_+    }++-- | The maximum number of tags to return in the response. When there are+-- more tags than the number you specify, the response contains a+-- @NextToken@ value.+listTags_maxResults :: Lens.Lens' ListTags (Prelude.Maybe Prelude.Natural)+listTags_maxResults = Lens.lens (\ListTags' {maxResults} -> maxResults) (\s@ListTags' {} a -> s {maxResults = a} :: ListTags)++-- | The @NextToken@ value that you received in the previous response. Use+-- this value to get more tags.+listTags_nextToken :: Lens.Lens' ListTags (Prelude.Maybe Prelude.Text)+listTags_nextToken = Lens.lens (\ListTags' {nextToken} -> nextToken) (\s@ListTags' {} a -> s {nextToken = a} :: ListTags)++-- | The cluster identifier (ID) for the cluster whose tags you are getting.+-- To find the cluster ID, use DescribeClusters.+listTags_resourceId :: Lens.Lens' ListTags Prelude.Text+listTags_resourceId = Lens.lens (\ListTags' {resourceId} -> resourceId) (\s@ListTags' {} a -> s {resourceId = a} :: ListTags)++instance Core.AWSPager ListTags where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listTagsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop (rs Lens.^. listTagsResponse_tagList) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listTags_nextToken+          Lens..~ rs+          Lens.^? listTagsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListTags where+  type AWSResponse ListTags = ListTagsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListTagsResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (x Data..?> "TagList" Core..!@ Prelude.mempty)+      )++instance Prelude.Hashable ListTags where+  hashWithSalt _salt ListTags' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` resourceId++instance Prelude.NFData ListTags where+  rnf ListTags' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf resourceId++instance Data.ToHeaders ListTags where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ("BaldrApiService.ListTags" :: Prelude.ByteString),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListTags where+  toJSON ListTags' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just ("ResourceId" Data..= resourceId)+          ]+      )++instance Data.ToPath ListTags where+  toPath = Prelude.const "/"++instance Data.ToQuery ListTags where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsResponse' smart constructor.+data ListTagsResponse = ListTagsResponse'+  { -- | An opaque string that indicates that the response contains only a subset+    -- of tags. Use this value in a subsequent @ListTags@ request to get more+    -- tags.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | A list of tags.+    tagList :: [Tag]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTagsResponse_nextToken' - An opaque string that indicates that the response contains only a subset+-- of tags. Use this value in a subsequent @ListTags@ request to get more+-- tags.+--+-- 'httpStatus', 'listTagsResponse_httpStatus' - The response's http status code.+--+-- 'tagList', 'listTagsResponse_tagList' - A list of tags.+newListTagsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListTagsResponse+newListTagsResponse pHttpStatus_ =+  ListTagsResponse'+    { nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_,+      tagList = Prelude.mempty+    }++-- | An opaque string that indicates that the response contains only a subset+-- of tags. Use this value in a subsequent @ListTags@ request to get more+-- tags.+listTagsResponse_nextToken :: Lens.Lens' ListTagsResponse (Prelude.Maybe Prelude.Text)+listTagsResponse_nextToken = Lens.lens (\ListTagsResponse' {nextToken} -> nextToken) (\s@ListTagsResponse' {} a -> s {nextToken = a} :: ListTagsResponse)++-- | The response's http status code.+listTagsResponse_httpStatus :: Lens.Lens' ListTagsResponse Prelude.Int+listTagsResponse_httpStatus = Lens.lens (\ListTagsResponse' {httpStatus} -> httpStatus) (\s@ListTagsResponse' {} a -> s {httpStatus = a} :: ListTagsResponse)++-- | A list of tags.+listTagsResponse_tagList :: Lens.Lens' ListTagsResponse [Tag]+listTagsResponse_tagList = Lens.lens (\ListTagsResponse' {tagList} -> tagList) (\s@ListTagsResponse' {} a -> s {tagList = a} :: ListTagsResponse) Prelude.. Lens.coerced++instance Prelude.NFData ListTagsResponse where+  rnf ListTagsResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf tagList
+ gen/Amazonka/CloudHSMV2/ModifyBackupAttributes.hs view
@@ -0,0 +1,202 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.ModifyBackupAttributes+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies attributes for AWS CloudHSM backup.+module Amazonka.CloudHSMV2.ModifyBackupAttributes+  ( -- * Creating a Request+    ModifyBackupAttributes (..),+    newModifyBackupAttributes,++    -- * Request Lenses+    modifyBackupAttributes_backupId,+    modifyBackupAttributes_neverExpires,++    -- * Destructuring the Response+    ModifyBackupAttributesResponse (..),+    newModifyBackupAttributesResponse,++    -- * Response Lenses+    modifyBackupAttributesResponse_backup,+    modifyBackupAttributesResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newModifyBackupAttributes' smart constructor.+data ModifyBackupAttributes = ModifyBackupAttributes'+  { -- | The identifier (ID) of the backup to modify. To find the ID of a backup,+    -- use the DescribeBackups operation.+    backupId :: Prelude.Text,+    -- | Specifies whether the service should exempt a backup from the retention+    -- policy for the cluster. @True@ exempts a backup from the retention+    -- policy. @False@ means the service applies the backup retention policy+    -- defined at the cluster.+    neverExpires :: Prelude.Bool+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ModifyBackupAttributes' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupId', 'modifyBackupAttributes_backupId' - The identifier (ID) of the backup to modify. To find the ID of a backup,+-- use the DescribeBackups operation.+--+-- 'neverExpires', 'modifyBackupAttributes_neverExpires' - Specifies whether the service should exempt a backup from the retention+-- policy for the cluster. @True@ exempts a backup from the retention+-- policy. @False@ means the service applies the backup retention policy+-- defined at the cluster.+newModifyBackupAttributes ::+  -- | 'backupId'+  Prelude.Text ->+  -- | 'neverExpires'+  Prelude.Bool ->+  ModifyBackupAttributes+newModifyBackupAttributes pBackupId_ pNeverExpires_ =+  ModifyBackupAttributes'+    { backupId = pBackupId_,+      neverExpires = pNeverExpires_+    }++-- | The identifier (ID) of the backup to modify. To find the ID of a backup,+-- use the DescribeBackups operation.+modifyBackupAttributes_backupId :: Lens.Lens' ModifyBackupAttributes Prelude.Text+modifyBackupAttributes_backupId = Lens.lens (\ModifyBackupAttributes' {backupId} -> backupId) (\s@ModifyBackupAttributes' {} a -> s {backupId = a} :: ModifyBackupAttributes)++-- | Specifies whether the service should exempt a backup from the retention+-- policy for the cluster. @True@ exempts a backup from the retention+-- policy. @False@ means the service applies the backup retention policy+-- defined at the cluster.+modifyBackupAttributes_neverExpires :: Lens.Lens' ModifyBackupAttributes Prelude.Bool+modifyBackupAttributes_neverExpires = Lens.lens (\ModifyBackupAttributes' {neverExpires} -> neverExpires) (\s@ModifyBackupAttributes' {} a -> s {neverExpires = a} :: ModifyBackupAttributes)++instance Core.AWSRequest ModifyBackupAttributes where+  type+    AWSResponse ModifyBackupAttributes =+      ModifyBackupAttributesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ModifyBackupAttributesResponse'+            Prelude.<$> (x Data..?> "Backup")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ModifyBackupAttributes where+  hashWithSalt _salt ModifyBackupAttributes' {..} =+    _salt+      `Prelude.hashWithSalt` backupId+      `Prelude.hashWithSalt` neverExpires++instance Prelude.NFData ModifyBackupAttributes where+  rnf ModifyBackupAttributes' {..} =+    Prelude.rnf backupId+      `Prelude.seq` Prelude.rnf neverExpires++instance Data.ToHeaders ModifyBackupAttributes where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.ModifyBackupAttributes" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ModifyBackupAttributes where+  toJSON ModifyBackupAttributes' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("BackupId" Data..= backupId),+            Prelude.Just ("NeverExpires" Data..= neverExpires)+          ]+      )++instance Data.ToPath ModifyBackupAttributes where+  toPath = Prelude.const "/"++instance Data.ToQuery ModifyBackupAttributes where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newModifyBackupAttributesResponse' smart constructor.+data ModifyBackupAttributesResponse = ModifyBackupAttributesResponse'+  { backup :: Prelude.Maybe Backup,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ModifyBackupAttributesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backup', 'modifyBackupAttributesResponse_backup' - Undocumented member.+--+-- 'httpStatus', 'modifyBackupAttributesResponse_httpStatus' - The response's http status code.+newModifyBackupAttributesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ModifyBackupAttributesResponse+newModifyBackupAttributesResponse pHttpStatus_ =+  ModifyBackupAttributesResponse'+    { backup =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Undocumented member.+modifyBackupAttributesResponse_backup :: Lens.Lens' ModifyBackupAttributesResponse (Prelude.Maybe Backup)+modifyBackupAttributesResponse_backup = Lens.lens (\ModifyBackupAttributesResponse' {backup} -> backup) (\s@ModifyBackupAttributesResponse' {} a -> s {backup = a} :: ModifyBackupAttributesResponse)++-- | The response's http status code.+modifyBackupAttributesResponse_httpStatus :: Lens.Lens' ModifyBackupAttributesResponse Prelude.Int+modifyBackupAttributesResponse_httpStatus = Lens.lens (\ModifyBackupAttributesResponse' {httpStatus} -> httpStatus) (\s@ModifyBackupAttributesResponse' {} a -> s {httpStatus = a} :: ModifyBackupAttributesResponse)++instance+  Prelude.NFData+    ModifyBackupAttributesResponse+  where+  rnf ModifyBackupAttributesResponse' {..} =+    Prelude.rnf backup+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/ModifyCluster.hs view
@@ -0,0 +1,193 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.ModifyCluster+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Modifies AWS CloudHSM cluster.+module Amazonka.CloudHSMV2.ModifyCluster+  ( -- * Creating a Request+    ModifyCluster (..),+    newModifyCluster,++    -- * Request Lenses+    modifyCluster_backupRetentionPolicy,+    modifyCluster_clusterId,++    -- * Destructuring the Response+    ModifyClusterResponse (..),+    newModifyClusterResponse,++    -- * Response Lenses+    modifyClusterResponse_cluster,+    modifyClusterResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newModifyCluster' smart constructor.+data ModifyCluster = ModifyCluster'+  { -- | A policy that defines how the service retains backups.+    backupRetentionPolicy :: BackupRetentionPolicy,+    -- | The identifier (ID) of the cluster that you want to modify. To find the+    -- cluster ID, use DescribeClusters.+    clusterId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ModifyCluster' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupRetentionPolicy', 'modifyCluster_backupRetentionPolicy' - A policy that defines how the service retains backups.+--+-- 'clusterId', 'modifyCluster_clusterId' - The identifier (ID) of the cluster that you want to modify. To find the+-- cluster ID, use DescribeClusters.+newModifyCluster ::+  -- | 'backupRetentionPolicy'+  BackupRetentionPolicy ->+  -- | 'clusterId'+  Prelude.Text ->+  ModifyCluster+newModifyCluster pBackupRetentionPolicy_ pClusterId_ =+  ModifyCluster'+    { backupRetentionPolicy =+        pBackupRetentionPolicy_,+      clusterId = pClusterId_+    }++-- | A policy that defines how the service retains backups.+modifyCluster_backupRetentionPolicy :: Lens.Lens' ModifyCluster BackupRetentionPolicy+modifyCluster_backupRetentionPolicy = Lens.lens (\ModifyCluster' {backupRetentionPolicy} -> backupRetentionPolicy) (\s@ModifyCluster' {} a -> s {backupRetentionPolicy = a} :: ModifyCluster)++-- | The identifier (ID) of the cluster that you want to modify. To find the+-- cluster ID, use DescribeClusters.+modifyCluster_clusterId :: Lens.Lens' ModifyCluster Prelude.Text+modifyCluster_clusterId = Lens.lens (\ModifyCluster' {clusterId} -> clusterId) (\s@ModifyCluster' {} a -> s {clusterId = a} :: ModifyCluster)++instance Core.AWSRequest ModifyCluster where+  type+    AWSResponse ModifyCluster =+      ModifyClusterResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ModifyClusterResponse'+            Prelude.<$> (x Data..?> "Cluster")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ModifyCluster where+  hashWithSalt _salt ModifyCluster' {..} =+    _salt+      `Prelude.hashWithSalt` backupRetentionPolicy+      `Prelude.hashWithSalt` clusterId++instance Prelude.NFData ModifyCluster where+  rnf ModifyCluster' {..} =+    Prelude.rnf backupRetentionPolicy+      `Prelude.seq` Prelude.rnf clusterId++instance Data.ToHeaders ModifyCluster where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.ModifyCluster" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ModifyCluster where+  toJSON ModifyCluster' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just+              ( "BackupRetentionPolicy"+                  Data..= backupRetentionPolicy+              ),+            Prelude.Just ("ClusterId" Data..= clusterId)+          ]+      )++instance Data.ToPath ModifyCluster where+  toPath = Prelude.const "/"++instance Data.ToQuery ModifyCluster where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newModifyClusterResponse' smart constructor.+data ModifyClusterResponse = ModifyClusterResponse'+  { cluster :: Prelude.Maybe Cluster,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ModifyClusterResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'cluster', 'modifyClusterResponse_cluster' - Undocumented member.+--+-- 'httpStatus', 'modifyClusterResponse_httpStatus' - The response's http status code.+newModifyClusterResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ModifyClusterResponse+newModifyClusterResponse pHttpStatus_ =+  ModifyClusterResponse'+    { cluster = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Undocumented member.+modifyClusterResponse_cluster :: Lens.Lens' ModifyClusterResponse (Prelude.Maybe Cluster)+modifyClusterResponse_cluster = Lens.lens (\ModifyClusterResponse' {cluster} -> cluster) (\s@ModifyClusterResponse' {} a -> s {cluster = a} :: ModifyClusterResponse)++-- | The response's http status code.+modifyClusterResponse_httpStatus :: Lens.Lens' ModifyClusterResponse Prelude.Int+modifyClusterResponse_httpStatus = Lens.lens (\ModifyClusterResponse' {httpStatus} -> httpStatus) (\s@ModifyClusterResponse' {} a -> s {httpStatus = a} :: ModifyClusterResponse)++instance Prelude.NFData ModifyClusterResponse where+  rnf ModifyClusterResponse' {..} =+    Prelude.rnf cluster+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/RestoreBackup.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.RestoreBackup+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Restores a specified AWS CloudHSM backup that is in the+-- @PENDING_DELETION@ state. For mor information on deleting a backup, see+-- DeleteBackup.+module Amazonka.CloudHSMV2.RestoreBackup+  ( -- * Creating a Request+    RestoreBackup (..),+    newRestoreBackup,++    -- * Request Lenses+    restoreBackup_backupId,++    -- * Destructuring the Response+    RestoreBackupResponse (..),+    newRestoreBackupResponse,++    -- * Response Lenses+    restoreBackupResponse_backup,+    restoreBackupResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newRestoreBackup' smart constructor.+data RestoreBackup = RestoreBackup'+  { -- | The ID of the backup to be restored. To find the ID of a backup, use the+    -- DescribeBackups operation.+    backupId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RestoreBackup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupId', 'restoreBackup_backupId' - The ID of the backup to be restored. To find the ID of a backup, use the+-- DescribeBackups operation.+newRestoreBackup ::+  -- | 'backupId'+  Prelude.Text ->+  RestoreBackup+newRestoreBackup pBackupId_ =+  RestoreBackup' {backupId = pBackupId_}++-- | The ID of the backup to be restored. To find the ID of a backup, use the+-- DescribeBackups operation.+restoreBackup_backupId :: Lens.Lens' RestoreBackup Prelude.Text+restoreBackup_backupId = Lens.lens (\RestoreBackup' {backupId} -> backupId) (\s@RestoreBackup' {} a -> s {backupId = a} :: RestoreBackup)++instance Core.AWSRequest RestoreBackup where+  type+    AWSResponse RestoreBackup =+      RestoreBackupResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          RestoreBackupResponse'+            Prelude.<$> (x Data..?> "Backup")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable RestoreBackup where+  hashWithSalt _salt RestoreBackup' {..} =+    _salt `Prelude.hashWithSalt` backupId++instance Prelude.NFData RestoreBackup where+  rnf RestoreBackup' {..} = Prelude.rnf backupId++instance Data.ToHeaders RestoreBackup where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.RestoreBackup" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON RestoreBackup where+  toJSON RestoreBackup' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("BackupId" Data..= backupId)]+      )++instance Data.ToPath RestoreBackup where+  toPath = Prelude.const "/"++instance Data.ToQuery RestoreBackup where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newRestoreBackupResponse' smart constructor.+data RestoreBackupResponse = RestoreBackupResponse'+  { -- | Information on the @Backup@ object created.+    backup :: Prelude.Maybe Backup,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RestoreBackupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backup', 'restoreBackupResponse_backup' - Information on the @Backup@ object created.+--+-- 'httpStatus', 'restoreBackupResponse_httpStatus' - The response's http status code.+newRestoreBackupResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  RestoreBackupResponse+newRestoreBackupResponse pHttpStatus_ =+  RestoreBackupResponse'+    { backup = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Information on the @Backup@ object created.+restoreBackupResponse_backup :: Lens.Lens' RestoreBackupResponse (Prelude.Maybe Backup)+restoreBackupResponse_backup = Lens.lens (\RestoreBackupResponse' {backup} -> backup) (\s@RestoreBackupResponse' {} a -> s {backup = a} :: RestoreBackupResponse)++-- | The response's http status code.+restoreBackupResponse_httpStatus :: Lens.Lens' RestoreBackupResponse Prelude.Int+restoreBackupResponse_httpStatus = Lens.lens (\RestoreBackupResponse' {httpStatus} -> httpStatus) (\s@RestoreBackupResponse' {} a -> s {httpStatus = a} :: RestoreBackupResponse)++instance Prelude.NFData RestoreBackupResponse where+  rnf RestoreBackupResponse' {..} =+    Prelude.rnf backup+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/TagResource.hs view
@@ -0,0 +1,172 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.TagResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds or overwrites one or more tags for the specified AWS CloudHSM+-- cluster.+module Amazonka.CloudHSMV2.TagResource+  ( -- * Creating a Request+    TagResource (..),+    newTagResource,++    -- * Request Lenses+    tagResource_resourceId,+    tagResource_tagList,++    -- * Destructuring the Response+    TagResourceResponse (..),+    newTagResourceResponse,++    -- * Response Lenses+    tagResourceResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+  { -- | The cluster identifier (ID) for the cluster that you are tagging. To+    -- find the cluster ID, use DescribeClusters.+    resourceId :: Prelude.Text,+    -- | A list of one or more tags.+    tagList :: [Tag]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'tagResource_resourceId' - The cluster identifier (ID) for the cluster that you are tagging. To+-- find the cluster ID, use DescribeClusters.+--+-- 'tagList', 'tagResource_tagList' - A list of one or more tags.+newTagResource ::+  -- | 'resourceId'+  Prelude.Text ->+  TagResource+newTagResource pResourceId_ =+  TagResource'+    { resourceId = pResourceId_,+      tagList = Prelude.mempty+    }++-- | The cluster identifier (ID) for the cluster that you are tagging. To+-- find the cluster ID, use DescribeClusters.+tagResource_resourceId :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceId = Lens.lens (\TagResource' {resourceId} -> resourceId) (\s@TagResource' {} a -> s {resourceId = a} :: TagResource)++-- | A list of one or more tags.+tagResource_tagList :: Lens.Lens' TagResource [Tag]+tagResource_tagList = Lens.lens (\TagResource' {tagList} -> tagList) (\s@TagResource' {} a -> s {tagList = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+  type AWSResponse TagResource = TagResourceResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          TagResourceResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable TagResource where+  hashWithSalt _salt TagResource' {..} =+    _salt+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` tagList++instance Prelude.NFData TagResource where+  rnf TagResource' {..} =+    Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf tagList++instance Data.ToHeaders TagResource where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.TagResource" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON TagResource where+  toJSON TagResource' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just ("TagList" Data..= tagList)+          ]+      )++instance Data.ToPath TagResource where+  toPath = Prelude.const "/"++instance Data.ToQuery TagResource where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'tagResourceResponse_httpStatus' - The response's http status code.+newTagResourceResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  TagResourceResponse+newTagResourceResponse pHttpStatus_ =+  TagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+tagResourceResponse_httpStatus :: Lens.Lens' TagResourceResponse Prelude.Int+tagResourceResponse_httpStatus = Lens.lens (\TagResourceResponse' {httpStatus} -> httpStatus) (\s@TagResourceResponse' {} a -> s {httpStatus = a} :: TagResourceResponse)++instance Prelude.NFData TagResourceResponse where+  rnf TagResourceResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/Types.hs view
@@ -0,0 +1,251 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    _CloudHsmAccessDeniedException,+    _CloudHsmInternalFailureException,+    _CloudHsmInvalidRequestException,+    _CloudHsmResourceNotFoundException,+    _CloudHsmServiceException,+    _CloudHsmTagException,++    -- * BackupPolicy+    BackupPolicy (..),++    -- * BackupRetentionType+    BackupRetentionType (..),++    -- * BackupState+    BackupState (..),++    -- * ClusterState+    ClusterState (..),++    -- * HsmState+    HsmState (..),++    -- * Backup+    Backup (..),+    newBackup,+    backup_backupState,+    backup_clusterId,+    backup_copyTimestamp,+    backup_createTimestamp,+    backup_deleteTimestamp,+    backup_neverExpires,+    backup_sourceBackup,+    backup_sourceCluster,+    backup_sourceRegion,+    backup_tagList,+    backup_backupId,++    -- * BackupRetentionPolicy+    BackupRetentionPolicy (..),+    newBackupRetentionPolicy,+    backupRetentionPolicy_type,+    backupRetentionPolicy_value,++    -- * Certificates+    Certificates (..),+    newCertificates,+    certificates_awsHardwareCertificate,+    certificates_clusterCertificate,+    certificates_clusterCsr,+    certificates_hsmCertificate,+    certificates_manufacturerHardwareCertificate,++    -- * Cluster+    Cluster (..),+    newCluster,+    cluster_backupPolicy,+    cluster_backupRetentionPolicy,+    cluster_certificates,+    cluster_clusterId,+    cluster_createTimestamp,+    cluster_hsmType,+    cluster_hsms,+    cluster_preCoPassword,+    cluster_securityGroup,+    cluster_sourceBackupId,+    cluster_state,+    cluster_stateMessage,+    cluster_subnetMapping,+    cluster_tagList,+    cluster_vpcId,++    -- * DestinationBackup+    DestinationBackup (..),+    newDestinationBackup,+    destinationBackup_createTimestamp,+    destinationBackup_sourceBackup,+    destinationBackup_sourceCluster,+    destinationBackup_sourceRegion,++    -- * Hsm+    Hsm (..),+    newHsm,+    hsm_availabilityZone,+    hsm_clusterId,+    hsm_eniId,+    hsm_eniIp,+    hsm_state,+    hsm_stateMessage,+    hsm_subnetId,+    hsm_hsmId,++    -- * Tag+    Tag (..),+    newTag,+    tag_key,+    tag_value,+  )+where++import Amazonka.CloudHSMV2.Types.Backup+import Amazonka.CloudHSMV2.Types.BackupPolicy+import Amazonka.CloudHSMV2.Types.BackupRetentionPolicy+import Amazonka.CloudHSMV2.Types.BackupRetentionType+import Amazonka.CloudHSMV2.Types.BackupState+import Amazonka.CloudHSMV2.Types.Certificates+import Amazonka.CloudHSMV2.Types.Cluster+import Amazonka.CloudHSMV2.Types.ClusterState+import Amazonka.CloudHSMV2.Types.DestinationBackup+import Amazonka.CloudHSMV2.Types.Hsm+import Amazonka.CloudHSMV2.Types.HsmState+import Amazonka.CloudHSMV2.Types.Tag+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2017-04-28@ of the Amazon CloudHSM V2 SDK configuration.+defaultService :: Core.Service+defaultService =+  Core.Service+    { Core.abbrev = "CloudHSMV2",+      Core.signer = Sign.v4,+      Core.endpointPrefix = "cloudhsmv2",+      Core.signingName = "cloudhsm",+      Core.version = "2017-04-28",+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+      Core.endpoint = Core.defaultEndpoint defaultService,+      Core.timeout = Prelude.Just 70,+      Core.check = Core.statusSuccess,+      Core.error = Core.parseJSONError "CloudHSMV2",+      Core.retry = retry+    }+  where+    retry =+      Core.Exponential+        { Core.base = 5.0e-2,+          Core.growth = 2,+          Core.attempts = 5,+          Core.check = check+        }+    check e+      | Lens.has (Core.hasStatus 502) e =+          Prelude.Just "bad_gateway"+      | Lens.has (Core.hasStatus 504) e =+          Prelude.Just "gateway_timeout"+      | Lens.has (Core.hasStatus 500) e =+          Prelude.Just "general_server_error"+      | Lens.has (Core.hasStatus 509) e =+          Prelude.Just "limit_exceeded"+      | Lens.has+          ( Core.hasCode "RequestThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "request_throttled_exception"+      | Lens.has (Core.hasStatus 503) e =+          Prelude.Just "service_unavailable"+      | Lens.has+          ( Core.hasCode "ThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttled_exception"+      | Lens.has+          ( Core.hasCode "Throttling"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling"+      | Lens.has+          ( Core.hasCode "ThrottlingException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling_exception"+      | Lens.has+          ( Core.hasCode+              "ProvisionedThroughputExceededException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throughput_exceeded"+      | Lens.has (Core.hasStatus 429) e =+          Prelude.Just "too_many_requests"+      | Prelude.otherwise = Prelude.Nothing++-- | The request was rejected because the requester does not have permission+-- to perform the requested operation.+_CloudHsmAccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_CloudHsmAccessDeniedException =+  Core._MatchServiceError+    defaultService+    "CloudHsmAccessDeniedException"++-- | The request was rejected because of an AWS CloudHSM internal failure.+-- The request can be retried.+_CloudHsmInternalFailureException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_CloudHsmInternalFailureException =+  Core._MatchServiceError+    defaultService+    "CloudHsmInternalFailureException"++-- | The request was rejected because it is not a valid request.+_CloudHsmInvalidRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_CloudHsmInvalidRequestException =+  Core._MatchServiceError+    defaultService+    "CloudHsmInvalidRequestException"++-- | The request was rejected because it refers to a resource that cannot be+-- found.+_CloudHsmResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_CloudHsmResourceNotFoundException =+  Core._MatchServiceError+    defaultService+    "CloudHsmResourceNotFoundException"++-- | The request was rejected because an error occurred.+_CloudHsmServiceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_CloudHsmServiceException =+  Core._MatchServiceError+    defaultService+    "CloudHsmServiceException"++-- | The request was rejected because of a tagging failure. Verify the tag+-- conditions in all applicable policies, and then retry the request.+_CloudHsmTagException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_CloudHsmTagException =+  Core._MatchServiceError+    defaultService+    "CloudHsmTagException"
+ gen/Amazonka/CloudHSMV2/Types/Backup.hs view
@@ -0,0 +1,219 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.Backup+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.Backup where++import Amazonka.CloudHSMV2.Types.BackupState+import Amazonka.CloudHSMV2.Types.Tag+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about a backup of an AWS CloudHSM cluster. All+-- backup objects contain the @BackupId@, @BackupState@, @ClusterId@, and+-- @CreateTimestamp@ parameters. Backups that were copied into a+-- destination region additionally contain the @CopyTimestamp@,+-- @SourceBackup@, @SourceCluster@, and @SourceRegion@ parameters. A backup+-- that is pending deletion will include the @DeleteTimestamp@ parameter.+--+-- /See:/ 'newBackup' smart constructor.+data Backup = Backup'+  { -- | The state of the backup.+    backupState :: Prelude.Maybe BackupState,+    -- | The identifier (ID) of the cluster that was backed up.+    clusterId :: Prelude.Maybe Prelude.Text,+    -- | The date and time when the backup was copied from a source backup.+    copyTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The date and time when the backup was created.+    createTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The date and time when the backup will be permanently deleted.+    deleteTimestamp :: Prelude.Maybe Data.POSIX,+    -- | Specifies whether the service should exempt a backup from the retention+    -- policy for the cluster. @True@ exempts a backup from the retention+    -- policy. @False@ means the service applies the backup retention policy+    -- defined at the cluster.+    neverExpires :: Prelude.Maybe Prelude.Bool,+    -- | The identifier (ID) of the source backup from which the new backup was+    -- copied.+    sourceBackup :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the cluster containing the source backup from+    -- which the new backup was copied.+    sourceCluster :: Prelude.Maybe Prelude.Text,+    -- | The AWS Region that contains the source backup from which the new backup+    -- was copied.+    sourceRegion :: Prelude.Maybe Prelude.Text,+    -- | The list of tags for the backup.+    tagList :: Prelude.Maybe [Tag],+    -- | The identifier (ID) of the backup.+    backupId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Backup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupState', 'backup_backupState' - The state of the backup.+--+-- 'clusterId', 'backup_clusterId' - The identifier (ID) of the cluster that was backed up.+--+-- 'copyTimestamp', 'backup_copyTimestamp' - The date and time when the backup was copied from a source backup.+--+-- 'createTimestamp', 'backup_createTimestamp' - The date and time when the backup was created.+--+-- 'deleteTimestamp', 'backup_deleteTimestamp' - The date and time when the backup will be permanently deleted.+--+-- 'neverExpires', 'backup_neverExpires' - Specifies whether the service should exempt a backup from the retention+-- policy for the cluster. @True@ exempts a backup from the retention+-- policy. @False@ means the service applies the backup retention policy+-- defined at the cluster.+--+-- 'sourceBackup', 'backup_sourceBackup' - The identifier (ID) of the source backup from which the new backup was+-- copied.+--+-- 'sourceCluster', 'backup_sourceCluster' - The identifier (ID) of the cluster containing the source backup from+-- which the new backup was copied.+--+-- 'sourceRegion', 'backup_sourceRegion' - The AWS Region that contains the source backup from which the new backup+-- was copied.+--+-- 'tagList', 'backup_tagList' - The list of tags for the backup.+--+-- 'backupId', 'backup_backupId' - The identifier (ID) of the backup.+newBackup ::+  -- | 'backupId'+  Prelude.Text ->+  Backup+newBackup pBackupId_ =+  Backup'+    { backupState = Prelude.Nothing,+      clusterId = Prelude.Nothing,+      copyTimestamp = Prelude.Nothing,+      createTimestamp = Prelude.Nothing,+      deleteTimestamp = Prelude.Nothing,+      neverExpires = Prelude.Nothing,+      sourceBackup = Prelude.Nothing,+      sourceCluster = Prelude.Nothing,+      sourceRegion = Prelude.Nothing,+      tagList = Prelude.Nothing,+      backupId = pBackupId_+    }++-- | The state of the backup.+backup_backupState :: Lens.Lens' Backup (Prelude.Maybe BackupState)+backup_backupState = Lens.lens (\Backup' {backupState} -> backupState) (\s@Backup' {} a -> s {backupState = a} :: Backup)++-- | The identifier (ID) of the cluster that was backed up.+backup_clusterId :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_clusterId = Lens.lens (\Backup' {clusterId} -> clusterId) (\s@Backup' {} a -> s {clusterId = a} :: Backup)++-- | The date and time when the backup was copied from a source backup.+backup_copyTimestamp :: Lens.Lens' Backup (Prelude.Maybe Prelude.UTCTime)+backup_copyTimestamp = Lens.lens (\Backup' {copyTimestamp} -> copyTimestamp) (\s@Backup' {} a -> s {copyTimestamp = a} :: Backup) Prelude.. Lens.mapping Data._Time++-- | The date and time when the backup was created.+backup_createTimestamp :: Lens.Lens' Backup (Prelude.Maybe Prelude.UTCTime)+backup_createTimestamp = Lens.lens (\Backup' {createTimestamp} -> createTimestamp) (\s@Backup' {} a -> s {createTimestamp = a} :: Backup) Prelude.. Lens.mapping Data._Time++-- | The date and time when the backup will be permanently deleted.+backup_deleteTimestamp :: Lens.Lens' Backup (Prelude.Maybe Prelude.UTCTime)+backup_deleteTimestamp = Lens.lens (\Backup' {deleteTimestamp} -> deleteTimestamp) (\s@Backup' {} a -> s {deleteTimestamp = a} :: Backup) Prelude.. Lens.mapping Data._Time++-- | Specifies whether the service should exempt a backup from the retention+-- policy for the cluster. @True@ exempts a backup from the retention+-- policy. @False@ means the service applies the backup retention policy+-- defined at the cluster.+backup_neverExpires :: Lens.Lens' Backup (Prelude.Maybe Prelude.Bool)+backup_neverExpires = Lens.lens (\Backup' {neverExpires} -> neverExpires) (\s@Backup' {} a -> s {neverExpires = a} :: Backup)++-- | The identifier (ID) of the source backup from which the new backup was+-- copied.+backup_sourceBackup :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_sourceBackup = Lens.lens (\Backup' {sourceBackup} -> sourceBackup) (\s@Backup' {} a -> s {sourceBackup = a} :: Backup)++-- | The identifier (ID) of the cluster containing the source backup from+-- which the new backup was copied.+backup_sourceCluster :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_sourceCluster = Lens.lens (\Backup' {sourceCluster} -> sourceCluster) (\s@Backup' {} a -> s {sourceCluster = a} :: Backup)++-- | The AWS Region that contains the source backup from which the new backup+-- was copied.+backup_sourceRegion :: Lens.Lens' Backup (Prelude.Maybe Prelude.Text)+backup_sourceRegion = Lens.lens (\Backup' {sourceRegion} -> sourceRegion) (\s@Backup' {} a -> s {sourceRegion = a} :: Backup)++-- | The list of tags for the backup.+backup_tagList :: Lens.Lens' Backup (Prelude.Maybe [Tag])+backup_tagList = Lens.lens (\Backup' {tagList} -> tagList) (\s@Backup' {} a -> s {tagList = a} :: Backup) Prelude.. Lens.mapping Lens.coerced++-- | The identifier (ID) of the backup.+backup_backupId :: Lens.Lens' Backup Prelude.Text+backup_backupId = Lens.lens (\Backup' {backupId} -> backupId) (\s@Backup' {} a -> s {backupId = a} :: Backup)++instance Data.FromJSON Backup where+  parseJSON =+    Data.withObject+      "Backup"+      ( \x ->+          Backup'+            Prelude.<$> (x Data..:? "BackupState")+            Prelude.<*> (x Data..:? "ClusterId")+            Prelude.<*> (x Data..:? "CopyTimestamp")+            Prelude.<*> (x Data..:? "CreateTimestamp")+            Prelude.<*> (x Data..:? "DeleteTimestamp")+            Prelude.<*> (x Data..:? "NeverExpires")+            Prelude.<*> (x Data..:? "SourceBackup")+            Prelude.<*> (x Data..:? "SourceCluster")+            Prelude.<*> (x Data..:? "SourceRegion")+            Prelude.<*> (x Data..:? "TagList" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..: "BackupId")+      )++instance Prelude.Hashable Backup where+  hashWithSalt _salt Backup' {..} =+    _salt+      `Prelude.hashWithSalt` backupState+      `Prelude.hashWithSalt` clusterId+      `Prelude.hashWithSalt` copyTimestamp+      `Prelude.hashWithSalt` createTimestamp+      `Prelude.hashWithSalt` deleteTimestamp+      `Prelude.hashWithSalt` neverExpires+      `Prelude.hashWithSalt` sourceBackup+      `Prelude.hashWithSalt` sourceCluster+      `Prelude.hashWithSalt` sourceRegion+      `Prelude.hashWithSalt` tagList+      `Prelude.hashWithSalt` backupId++instance Prelude.NFData Backup where+  rnf Backup' {..} =+    Prelude.rnf backupState+      `Prelude.seq` Prelude.rnf clusterId+      `Prelude.seq` Prelude.rnf copyTimestamp+      `Prelude.seq` Prelude.rnf createTimestamp+      `Prelude.seq` Prelude.rnf deleteTimestamp+      `Prelude.seq` Prelude.rnf neverExpires+      `Prelude.seq` Prelude.rnf sourceBackup+      `Prelude.seq` Prelude.rnf sourceCluster+      `Prelude.seq` Prelude.rnf sourceRegion+      `Prelude.seq` Prelude.rnf tagList+      `Prelude.seq` Prelude.rnf backupId
+ gen/Amazonka/CloudHSMV2/Types/BackupPolicy.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.BackupPolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.BackupPolicy+  ( BackupPolicy+      ( ..,+        BackupPolicy_DEFAULT+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype BackupPolicy = BackupPolicy'+  { fromBackupPolicy ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern BackupPolicy_DEFAULT :: BackupPolicy+pattern BackupPolicy_DEFAULT = BackupPolicy' "DEFAULT"++{-# COMPLETE+  BackupPolicy_DEFAULT,+  BackupPolicy'+  #-}
+ gen/Amazonka/CloudHSMV2/Types/BackupRetentionPolicy.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.BackupRetentionPolicy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.BackupRetentionPolicy where++import Amazonka.CloudHSMV2.Types.BackupRetentionType+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A policy that defines the number of days to retain backups.+--+-- /See:/ 'newBackupRetentionPolicy' smart constructor.+data BackupRetentionPolicy = BackupRetentionPolicy'+  { -- | The type of backup retention policy. For the @DAYS@ type, the value is+    -- the number of days to retain backups.+    type' :: Prelude.Maybe BackupRetentionType,+    -- | Use a value between 7 - 379.+    value :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BackupRetentionPolicy' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'type'', 'backupRetentionPolicy_type' - The type of backup retention policy. For the @DAYS@ type, the value is+-- the number of days to retain backups.+--+-- 'value', 'backupRetentionPolicy_value' - Use a value between 7 - 379.+newBackupRetentionPolicy ::+  BackupRetentionPolicy+newBackupRetentionPolicy =+  BackupRetentionPolicy'+    { type' = Prelude.Nothing,+      value = Prelude.Nothing+    }++-- | The type of backup retention policy. For the @DAYS@ type, the value is+-- the number of days to retain backups.+backupRetentionPolicy_type :: Lens.Lens' BackupRetentionPolicy (Prelude.Maybe BackupRetentionType)+backupRetentionPolicy_type = Lens.lens (\BackupRetentionPolicy' {type'} -> type') (\s@BackupRetentionPolicy' {} a -> s {type' = a} :: BackupRetentionPolicy)++-- | Use a value between 7 - 379.+backupRetentionPolicy_value :: Lens.Lens' BackupRetentionPolicy (Prelude.Maybe Prelude.Text)+backupRetentionPolicy_value = Lens.lens (\BackupRetentionPolicy' {value} -> value) (\s@BackupRetentionPolicy' {} a -> s {value = a} :: BackupRetentionPolicy)++instance Data.FromJSON BackupRetentionPolicy where+  parseJSON =+    Data.withObject+      "BackupRetentionPolicy"+      ( \x ->+          BackupRetentionPolicy'+            Prelude.<$> (x Data..:? "Type")+            Prelude.<*> (x Data..:? "Value")+      )++instance Prelude.Hashable BackupRetentionPolicy where+  hashWithSalt _salt BackupRetentionPolicy' {..} =+    _salt+      `Prelude.hashWithSalt` type'+      `Prelude.hashWithSalt` value++instance Prelude.NFData BackupRetentionPolicy where+  rnf BackupRetentionPolicy' {..} =+    Prelude.rnf type' `Prelude.seq` Prelude.rnf value++instance Data.ToJSON BackupRetentionPolicy where+  toJSON BackupRetentionPolicy' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Type" Data..=) Prelude.<$> type',+            ("Value" Data..=) Prelude.<$> value+          ]+      )
+ gen/Amazonka/CloudHSMV2/Types/BackupRetentionType.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.BackupRetentionType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.BackupRetentionType+  ( BackupRetentionType+      ( ..,+        BackupRetentionType_DAYS+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype BackupRetentionType = BackupRetentionType'+  { fromBackupRetentionType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern BackupRetentionType_DAYS :: BackupRetentionType+pattern BackupRetentionType_DAYS = BackupRetentionType' "DAYS"++{-# COMPLETE+  BackupRetentionType_DAYS,+  BackupRetentionType'+  #-}
+ gen/Amazonka/CloudHSMV2/Types/BackupState.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.BackupState+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.BackupState+  ( BackupState+      ( ..,+        BackupState_CREATE_IN_PROGRESS,+        BackupState_DELETED,+        BackupState_PENDING_DELETION,+        BackupState_READY+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype BackupState = BackupState'+  { fromBackupState ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern BackupState_CREATE_IN_PROGRESS :: BackupState+pattern BackupState_CREATE_IN_PROGRESS = BackupState' "CREATE_IN_PROGRESS"++pattern BackupState_DELETED :: BackupState+pattern BackupState_DELETED = BackupState' "DELETED"++pattern BackupState_PENDING_DELETION :: BackupState+pattern BackupState_PENDING_DELETION = BackupState' "PENDING_DELETION"++pattern BackupState_READY :: BackupState+pattern BackupState_READY = BackupState' "READY"++{-# COMPLETE+  BackupState_CREATE_IN_PROGRESS,+  BackupState_DELETED,+  BackupState_PENDING_DELETION,+  BackupState_READY,+  BackupState'+  #-}
+ gen/Amazonka/CloudHSMV2/Types/Certificates.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.Certificates+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.Certificates where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains one or more certificates or a certificate signing request+-- (CSR).+--+-- /See:/ 'newCertificates' smart constructor.+data Certificates = Certificates'+  { -- | The HSM hardware certificate issued (signed) by AWS CloudHSM.+    awsHardwareCertificate :: Prelude.Maybe Prelude.Text,+    -- | The cluster certificate issued (signed) by the issuing certificate+    -- authority (CA) of the cluster\'s owner.+    clusterCertificate :: Prelude.Maybe Prelude.Text,+    -- | The cluster\'s certificate signing request (CSR). The CSR exists only+    -- when the cluster\'s state is @UNINITIALIZED@.+    clusterCsr :: Prelude.Maybe Prelude.Text,+    -- | The HSM certificate issued (signed) by the HSM hardware.+    hsmCertificate :: Prelude.Maybe Prelude.Text,+    -- | The HSM hardware certificate issued (signed) by the hardware+    -- manufacturer.+    manufacturerHardwareCertificate :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Certificates' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'awsHardwareCertificate', 'certificates_awsHardwareCertificate' - The HSM hardware certificate issued (signed) by AWS CloudHSM.+--+-- 'clusterCertificate', 'certificates_clusterCertificate' - The cluster certificate issued (signed) by the issuing certificate+-- authority (CA) of the cluster\'s owner.+--+-- 'clusterCsr', 'certificates_clusterCsr' - The cluster\'s certificate signing request (CSR). The CSR exists only+-- when the cluster\'s state is @UNINITIALIZED@.+--+-- 'hsmCertificate', 'certificates_hsmCertificate' - The HSM certificate issued (signed) by the HSM hardware.+--+-- 'manufacturerHardwareCertificate', 'certificates_manufacturerHardwareCertificate' - The HSM hardware certificate issued (signed) by the hardware+-- manufacturer.+newCertificates ::+  Certificates+newCertificates =+  Certificates'+    { awsHardwareCertificate =+        Prelude.Nothing,+      clusterCertificate = Prelude.Nothing,+      clusterCsr = Prelude.Nothing,+      hsmCertificate = Prelude.Nothing,+      manufacturerHardwareCertificate = Prelude.Nothing+    }++-- | The HSM hardware certificate issued (signed) by AWS CloudHSM.+certificates_awsHardwareCertificate :: Lens.Lens' Certificates (Prelude.Maybe Prelude.Text)+certificates_awsHardwareCertificate = Lens.lens (\Certificates' {awsHardwareCertificate} -> awsHardwareCertificate) (\s@Certificates' {} a -> s {awsHardwareCertificate = a} :: Certificates)++-- | The cluster certificate issued (signed) by the issuing certificate+-- authority (CA) of the cluster\'s owner.+certificates_clusterCertificate :: Lens.Lens' Certificates (Prelude.Maybe Prelude.Text)+certificates_clusterCertificate = Lens.lens (\Certificates' {clusterCertificate} -> clusterCertificate) (\s@Certificates' {} a -> s {clusterCertificate = a} :: Certificates)++-- | The cluster\'s certificate signing request (CSR). The CSR exists only+-- when the cluster\'s state is @UNINITIALIZED@.+certificates_clusterCsr :: Lens.Lens' Certificates (Prelude.Maybe Prelude.Text)+certificates_clusterCsr = Lens.lens (\Certificates' {clusterCsr} -> clusterCsr) (\s@Certificates' {} a -> s {clusterCsr = a} :: Certificates)++-- | The HSM certificate issued (signed) by the HSM hardware.+certificates_hsmCertificate :: Lens.Lens' Certificates (Prelude.Maybe Prelude.Text)+certificates_hsmCertificate = Lens.lens (\Certificates' {hsmCertificate} -> hsmCertificate) (\s@Certificates' {} a -> s {hsmCertificate = a} :: Certificates)++-- | The HSM hardware certificate issued (signed) by the hardware+-- manufacturer.+certificates_manufacturerHardwareCertificate :: Lens.Lens' Certificates (Prelude.Maybe Prelude.Text)+certificates_manufacturerHardwareCertificate = Lens.lens (\Certificates' {manufacturerHardwareCertificate} -> manufacturerHardwareCertificate) (\s@Certificates' {} a -> s {manufacturerHardwareCertificate = a} :: Certificates)++instance Data.FromJSON Certificates where+  parseJSON =+    Data.withObject+      "Certificates"+      ( \x ->+          Certificates'+            Prelude.<$> (x Data..:? "AwsHardwareCertificate")+            Prelude.<*> (x Data..:? "ClusterCertificate")+            Prelude.<*> (x Data..:? "ClusterCsr")+            Prelude.<*> (x Data..:? "HsmCertificate")+            Prelude.<*> (x Data..:? "ManufacturerHardwareCertificate")+      )++instance Prelude.Hashable Certificates where+  hashWithSalt _salt Certificates' {..} =+    _salt+      `Prelude.hashWithSalt` awsHardwareCertificate+      `Prelude.hashWithSalt` clusterCertificate+      `Prelude.hashWithSalt` clusterCsr+      `Prelude.hashWithSalt` hsmCertificate+      `Prelude.hashWithSalt` manufacturerHardwareCertificate++instance Prelude.NFData Certificates where+  rnf Certificates' {..} =+    Prelude.rnf awsHardwareCertificate+      `Prelude.seq` Prelude.rnf clusterCertificate+      `Prelude.seq` Prelude.rnf clusterCsr+      `Prelude.seq` Prelude.rnf hsmCertificate+      `Prelude.seq` Prelude.rnf manufacturerHardwareCertificate
+ gen/Amazonka/CloudHSMV2/Types/Cluster.hs view
@@ -0,0 +1,258 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.Cluster+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.Cluster where++import Amazonka.CloudHSMV2.Types.BackupPolicy+import Amazonka.CloudHSMV2.Types.BackupRetentionPolicy+import Amazonka.CloudHSMV2.Types.Certificates+import Amazonka.CloudHSMV2.Types.ClusterState+import Amazonka.CloudHSMV2.Types.Hsm+import Amazonka.CloudHSMV2.Types.Tag+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about an AWS CloudHSM cluster.+--+-- /See:/ 'newCluster' smart constructor.+data Cluster = Cluster'+  { -- | The cluster\'s backup policy.+    backupPolicy :: Prelude.Maybe BackupPolicy,+    -- | A policy that defines how the service retains backups.+    backupRetentionPolicy :: Prelude.Maybe BackupRetentionPolicy,+    -- | Contains one or more certificates or a certificate signing request+    -- (CSR).+    certificates :: Prelude.Maybe Certificates,+    -- | The cluster\'s identifier (ID).+    clusterId :: Prelude.Maybe Prelude.Text,+    -- | The date and time when the cluster was created.+    createTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The type of HSM that the cluster contains.+    hsmType :: Prelude.Maybe Prelude.Text,+    -- | Contains information about the HSMs in the cluster.+    hsms :: Prelude.Maybe [Hsm],+    -- | The default password for the cluster\'s Pre-Crypto Officer (PRECO) user.+    preCoPassword :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the cluster\'s security group.+    securityGroup :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the backup used to create the cluster. This value+    -- exists only when the cluster was created from a backup.+    sourceBackupId :: Prelude.Maybe Prelude.Text,+    -- | The cluster\'s state.+    state :: Prelude.Maybe ClusterState,+    -- | A description of the cluster\'s state.+    stateMessage :: Prelude.Maybe Prelude.Text,+    -- | A map from availability zone to the cluster’s subnet in that+    -- availability zone.+    subnetMapping :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+    -- | The list of tags for the cluster.+    tagList :: Prelude.Maybe [Tag],+    -- | The identifier (ID) of the virtual private cloud (VPC) that contains the+    -- cluster.+    vpcId :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Cluster' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'backupPolicy', 'cluster_backupPolicy' - The cluster\'s backup policy.+--+-- 'backupRetentionPolicy', 'cluster_backupRetentionPolicy' - A policy that defines how the service retains backups.+--+-- 'certificates', 'cluster_certificates' - Contains one or more certificates or a certificate signing request+-- (CSR).+--+-- 'clusterId', 'cluster_clusterId' - The cluster\'s identifier (ID).+--+-- 'createTimestamp', 'cluster_createTimestamp' - The date and time when the cluster was created.+--+-- 'hsmType', 'cluster_hsmType' - The type of HSM that the cluster contains.+--+-- 'hsms', 'cluster_hsms' - Contains information about the HSMs in the cluster.+--+-- 'preCoPassword', 'cluster_preCoPassword' - The default password for the cluster\'s Pre-Crypto Officer (PRECO) user.+--+-- 'securityGroup', 'cluster_securityGroup' - The identifier (ID) of the cluster\'s security group.+--+-- 'sourceBackupId', 'cluster_sourceBackupId' - The identifier (ID) of the backup used to create the cluster. This value+-- exists only when the cluster was created from a backup.+--+-- 'state', 'cluster_state' - The cluster\'s state.+--+-- 'stateMessage', 'cluster_stateMessage' - A description of the cluster\'s state.+--+-- 'subnetMapping', 'cluster_subnetMapping' - A map from availability zone to the cluster’s subnet in that+-- availability zone.+--+-- 'tagList', 'cluster_tagList' - The list of tags for the cluster.+--+-- 'vpcId', 'cluster_vpcId' - The identifier (ID) of the virtual private cloud (VPC) that contains the+-- cluster.+newCluster ::+  Cluster+newCluster =+  Cluster'+    { backupPolicy = Prelude.Nothing,+      backupRetentionPolicy = Prelude.Nothing,+      certificates = Prelude.Nothing,+      clusterId = Prelude.Nothing,+      createTimestamp = Prelude.Nothing,+      hsmType = Prelude.Nothing,+      hsms = Prelude.Nothing,+      preCoPassword = Prelude.Nothing,+      securityGroup = Prelude.Nothing,+      sourceBackupId = Prelude.Nothing,+      state = Prelude.Nothing,+      stateMessage = Prelude.Nothing,+      subnetMapping = Prelude.Nothing,+      tagList = Prelude.Nothing,+      vpcId = Prelude.Nothing+    }++-- | The cluster\'s backup policy.+cluster_backupPolicy :: Lens.Lens' Cluster (Prelude.Maybe BackupPolicy)+cluster_backupPolicy = Lens.lens (\Cluster' {backupPolicy} -> backupPolicy) (\s@Cluster' {} a -> s {backupPolicy = a} :: Cluster)++-- | A policy that defines how the service retains backups.+cluster_backupRetentionPolicy :: Lens.Lens' Cluster (Prelude.Maybe BackupRetentionPolicy)+cluster_backupRetentionPolicy = Lens.lens (\Cluster' {backupRetentionPolicy} -> backupRetentionPolicy) (\s@Cluster' {} a -> s {backupRetentionPolicy = a} :: Cluster)++-- | Contains one or more certificates or a certificate signing request+-- (CSR).+cluster_certificates :: Lens.Lens' Cluster (Prelude.Maybe Certificates)+cluster_certificates = Lens.lens (\Cluster' {certificates} -> certificates) (\s@Cluster' {} a -> s {certificates = a} :: Cluster)++-- | The cluster\'s identifier (ID).+cluster_clusterId :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_clusterId = Lens.lens (\Cluster' {clusterId} -> clusterId) (\s@Cluster' {} a -> s {clusterId = a} :: Cluster)++-- | The date and time when the cluster was created.+cluster_createTimestamp :: Lens.Lens' Cluster (Prelude.Maybe Prelude.UTCTime)+cluster_createTimestamp = Lens.lens (\Cluster' {createTimestamp} -> createTimestamp) (\s@Cluster' {} a -> s {createTimestamp = a} :: Cluster) Prelude.. Lens.mapping Data._Time++-- | The type of HSM that the cluster contains.+cluster_hsmType :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_hsmType = Lens.lens (\Cluster' {hsmType} -> hsmType) (\s@Cluster' {} a -> s {hsmType = a} :: Cluster)++-- | Contains information about the HSMs in the cluster.+cluster_hsms :: Lens.Lens' Cluster (Prelude.Maybe [Hsm])+cluster_hsms = Lens.lens (\Cluster' {hsms} -> hsms) (\s@Cluster' {} a -> s {hsms = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++-- | The default password for the cluster\'s Pre-Crypto Officer (PRECO) user.+cluster_preCoPassword :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_preCoPassword = Lens.lens (\Cluster' {preCoPassword} -> preCoPassword) (\s@Cluster' {} a -> s {preCoPassword = a} :: Cluster)++-- | The identifier (ID) of the cluster\'s security group.+cluster_securityGroup :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_securityGroup = Lens.lens (\Cluster' {securityGroup} -> securityGroup) (\s@Cluster' {} a -> s {securityGroup = a} :: Cluster)++-- | The identifier (ID) of the backup used to create the cluster. This value+-- exists only when the cluster was created from a backup.+cluster_sourceBackupId :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_sourceBackupId = Lens.lens (\Cluster' {sourceBackupId} -> sourceBackupId) (\s@Cluster' {} a -> s {sourceBackupId = a} :: Cluster)++-- | The cluster\'s state.+cluster_state :: Lens.Lens' Cluster (Prelude.Maybe ClusterState)+cluster_state = Lens.lens (\Cluster' {state} -> state) (\s@Cluster' {} a -> s {state = a} :: Cluster)++-- | A description of the cluster\'s state.+cluster_stateMessage :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_stateMessage = Lens.lens (\Cluster' {stateMessage} -> stateMessage) (\s@Cluster' {} a -> s {stateMessage = a} :: Cluster)++-- | A map from availability zone to the cluster’s subnet in that+-- availability zone.+cluster_subnetMapping :: Lens.Lens' Cluster (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+cluster_subnetMapping = Lens.lens (\Cluster' {subnetMapping} -> subnetMapping) (\s@Cluster' {} a -> s {subnetMapping = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++-- | The list of tags for the cluster.+cluster_tagList :: Lens.Lens' Cluster (Prelude.Maybe [Tag])+cluster_tagList = Lens.lens (\Cluster' {tagList} -> tagList) (\s@Cluster' {} a -> s {tagList = a} :: Cluster) Prelude.. Lens.mapping Lens.coerced++-- | The identifier (ID) of the virtual private cloud (VPC) that contains the+-- cluster.+cluster_vpcId :: Lens.Lens' Cluster (Prelude.Maybe Prelude.Text)+cluster_vpcId = Lens.lens (\Cluster' {vpcId} -> vpcId) (\s@Cluster' {} a -> s {vpcId = a} :: Cluster)++instance Data.FromJSON Cluster where+  parseJSON =+    Data.withObject+      "Cluster"+      ( \x ->+          Cluster'+            Prelude.<$> (x Data..:? "BackupPolicy")+            Prelude.<*> (x Data..:? "BackupRetentionPolicy")+            Prelude.<*> (x Data..:? "Certificates")+            Prelude.<*> (x Data..:? "ClusterId")+            Prelude.<*> (x Data..:? "CreateTimestamp")+            Prelude.<*> (x Data..:? "HsmType")+            Prelude.<*> (x Data..:? "Hsms" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "PreCoPassword")+            Prelude.<*> (x Data..:? "SecurityGroup")+            Prelude.<*> (x Data..:? "SourceBackupId")+            Prelude.<*> (x Data..:? "State")+            Prelude.<*> (x Data..:? "StateMessage")+            Prelude.<*> (x Data..:? "SubnetMapping" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "TagList" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "VpcId")+      )++instance Prelude.Hashable Cluster where+  hashWithSalt _salt Cluster' {..} =+    _salt+      `Prelude.hashWithSalt` backupPolicy+      `Prelude.hashWithSalt` backupRetentionPolicy+      `Prelude.hashWithSalt` certificates+      `Prelude.hashWithSalt` clusterId+      `Prelude.hashWithSalt` createTimestamp+      `Prelude.hashWithSalt` hsmType+      `Prelude.hashWithSalt` hsms+      `Prelude.hashWithSalt` preCoPassword+      `Prelude.hashWithSalt` securityGroup+      `Prelude.hashWithSalt` sourceBackupId+      `Prelude.hashWithSalt` state+      `Prelude.hashWithSalt` stateMessage+      `Prelude.hashWithSalt` subnetMapping+      `Prelude.hashWithSalt` tagList+      `Prelude.hashWithSalt` vpcId++instance Prelude.NFData Cluster where+  rnf Cluster' {..} =+    Prelude.rnf backupPolicy+      `Prelude.seq` Prelude.rnf backupRetentionPolicy+      `Prelude.seq` Prelude.rnf certificates+      `Prelude.seq` Prelude.rnf clusterId+      `Prelude.seq` Prelude.rnf createTimestamp+      `Prelude.seq` Prelude.rnf hsmType+      `Prelude.seq` Prelude.rnf hsms+      `Prelude.seq` Prelude.rnf preCoPassword+      `Prelude.seq` Prelude.rnf securityGroup+      `Prelude.seq` Prelude.rnf sourceBackupId+      `Prelude.seq` Prelude.rnf state+      `Prelude.seq` Prelude.rnf stateMessage+      `Prelude.seq` Prelude.rnf subnetMapping+      `Prelude.seq` Prelude.rnf tagList+      `Prelude.seq` Prelude.rnf vpcId
+ gen/Amazonka/CloudHSMV2/Types/ClusterState.hs view
@@ -0,0 +1,106 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.ClusterState+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.ClusterState+  ( ClusterState+      ( ..,+        ClusterState_ACTIVE,+        ClusterState_CREATE_IN_PROGRESS,+        ClusterState_DEGRADED,+        ClusterState_DELETED,+        ClusterState_DELETE_IN_PROGRESS,+        ClusterState_INITIALIZED,+        ClusterState_INITIALIZE_IN_PROGRESS,+        ClusterState_UNINITIALIZED,+        ClusterState_UPDATE_IN_PROGRESS+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ClusterState = ClusterState'+  { fromClusterState ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ClusterState_ACTIVE :: ClusterState+pattern ClusterState_ACTIVE = ClusterState' "ACTIVE"++pattern ClusterState_CREATE_IN_PROGRESS :: ClusterState+pattern ClusterState_CREATE_IN_PROGRESS = ClusterState' "CREATE_IN_PROGRESS"++pattern ClusterState_DEGRADED :: ClusterState+pattern ClusterState_DEGRADED = ClusterState' "DEGRADED"++pattern ClusterState_DELETED :: ClusterState+pattern ClusterState_DELETED = ClusterState' "DELETED"++pattern ClusterState_DELETE_IN_PROGRESS :: ClusterState+pattern ClusterState_DELETE_IN_PROGRESS = ClusterState' "DELETE_IN_PROGRESS"++pattern ClusterState_INITIALIZED :: ClusterState+pattern ClusterState_INITIALIZED = ClusterState' "INITIALIZED"++pattern ClusterState_INITIALIZE_IN_PROGRESS :: ClusterState+pattern ClusterState_INITIALIZE_IN_PROGRESS = ClusterState' "INITIALIZE_IN_PROGRESS"++pattern ClusterState_UNINITIALIZED :: ClusterState+pattern ClusterState_UNINITIALIZED = ClusterState' "UNINITIALIZED"++pattern ClusterState_UPDATE_IN_PROGRESS :: ClusterState+pattern ClusterState_UPDATE_IN_PROGRESS = ClusterState' "UPDATE_IN_PROGRESS"++{-# COMPLETE+  ClusterState_ACTIVE,+  ClusterState_CREATE_IN_PROGRESS,+  ClusterState_DEGRADED,+  ClusterState_DELETED,+  ClusterState_DELETE_IN_PROGRESS,+  ClusterState_INITIALIZED,+  ClusterState_INITIALIZE_IN_PROGRESS,+  ClusterState_UNINITIALIZED,+  ClusterState_UPDATE_IN_PROGRESS,+  ClusterState'+  #-}
+ gen/Amazonka/CloudHSMV2/Types/DestinationBackup.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.DestinationBackup+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.DestinationBackup where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about the backup that will be copied and created by+-- the CopyBackupToRegion operation.+--+-- /See:/ 'newDestinationBackup' smart constructor.+data DestinationBackup = DestinationBackup'+  { -- | The date and time when both the source backup was created.+    createTimestamp :: Prelude.Maybe Data.POSIX,+    -- | The identifier (ID) of the source backup from which the new backup was+    -- copied.+    sourceBackup :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the cluster containing the source backup from+    -- which the new backup was copied.+    sourceCluster :: Prelude.Maybe Prelude.Text,+    -- | The AWS region that contains the source backup from which the new backup+    -- was copied.+    sourceRegion :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DestinationBackup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'createTimestamp', 'destinationBackup_createTimestamp' - The date and time when both the source backup was created.+--+-- 'sourceBackup', 'destinationBackup_sourceBackup' - The identifier (ID) of the source backup from which the new backup was+-- copied.+--+-- 'sourceCluster', 'destinationBackup_sourceCluster' - The identifier (ID) of the cluster containing the source backup from+-- which the new backup was copied.+--+-- 'sourceRegion', 'destinationBackup_sourceRegion' - The AWS region that contains the source backup from which the new backup+-- was copied.+newDestinationBackup ::+  DestinationBackup+newDestinationBackup =+  DestinationBackup'+    { createTimestamp =+        Prelude.Nothing,+      sourceBackup = Prelude.Nothing,+      sourceCluster = Prelude.Nothing,+      sourceRegion = Prelude.Nothing+    }++-- | The date and time when both the source backup was created.+destinationBackup_createTimestamp :: Lens.Lens' DestinationBackup (Prelude.Maybe Prelude.UTCTime)+destinationBackup_createTimestamp = Lens.lens (\DestinationBackup' {createTimestamp} -> createTimestamp) (\s@DestinationBackup' {} a -> s {createTimestamp = a} :: DestinationBackup) Prelude.. Lens.mapping Data._Time++-- | The identifier (ID) of the source backup from which the new backup was+-- copied.+destinationBackup_sourceBackup :: Lens.Lens' DestinationBackup (Prelude.Maybe Prelude.Text)+destinationBackup_sourceBackup = Lens.lens (\DestinationBackup' {sourceBackup} -> sourceBackup) (\s@DestinationBackup' {} a -> s {sourceBackup = a} :: DestinationBackup)++-- | The identifier (ID) of the cluster containing the source backup from+-- which the new backup was copied.+destinationBackup_sourceCluster :: Lens.Lens' DestinationBackup (Prelude.Maybe Prelude.Text)+destinationBackup_sourceCluster = Lens.lens (\DestinationBackup' {sourceCluster} -> sourceCluster) (\s@DestinationBackup' {} a -> s {sourceCluster = a} :: DestinationBackup)++-- | The AWS region that contains the source backup from which the new backup+-- was copied.+destinationBackup_sourceRegion :: Lens.Lens' DestinationBackup (Prelude.Maybe Prelude.Text)+destinationBackup_sourceRegion = Lens.lens (\DestinationBackup' {sourceRegion} -> sourceRegion) (\s@DestinationBackup' {} a -> s {sourceRegion = a} :: DestinationBackup)++instance Data.FromJSON DestinationBackup where+  parseJSON =+    Data.withObject+      "DestinationBackup"+      ( \x ->+          DestinationBackup'+            Prelude.<$> (x Data..:? "CreateTimestamp")+            Prelude.<*> (x Data..:? "SourceBackup")+            Prelude.<*> (x Data..:? "SourceCluster")+            Prelude.<*> (x Data..:? "SourceRegion")+      )++instance Prelude.Hashable DestinationBackup where+  hashWithSalt _salt DestinationBackup' {..} =+    _salt+      `Prelude.hashWithSalt` createTimestamp+      `Prelude.hashWithSalt` sourceBackup+      `Prelude.hashWithSalt` sourceCluster+      `Prelude.hashWithSalt` sourceRegion++instance Prelude.NFData DestinationBackup where+  rnf DestinationBackup' {..} =+    Prelude.rnf createTimestamp+      `Prelude.seq` Prelude.rnf sourceBackup+      `Prelude.seq` Prelude.rnf sourceCluster+      `Prelude.seq` Prelude.rnf sourceRegion
+ gen/Amazonka/CloudHSMV2/Types/Hsm.hs view
@@ -0,0 +1,160 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.Hsm+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.Hsm where++import Amazonka.CloudHSMV2.Types.HsmState+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains information about a hardware security module (HSM) in an AWS+-- CloudHSM cluster.+--+-- /See:/ 'newHsm' smart constructor.+data Hsm = Hsm'+  { -- | The Availability Zone that contains the HSM.+    availabilityZone :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the cluster that contains the HSM.+    clusterId :: Prelude.Maybe Prelude.Text,+    -- | The identifier (ID) of the HSM\'s elastic network interface (ENI).+    eniId :: Prelude.Maybe Prelude.Text,+    -- | The IP address of the HSM\'s elastic network interface (ENI).+    eniIp :: Prelude.Maybe Prelude.Text,+    -- | The HSM\'s state.+    state :: Prelude.Maybe HsmState,+    -- | A description of the HSM\'s state.+    stateMessage :: Prelude.Maybe Prelude.Text,+    -- | The subnet that contains the HSM\'s elastic network interface (ENI).+    subnetId :: Prelude.Maybe Prelude.Text,+    -- | The HSM\'s identifier (ID).+    hsmId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Hsm' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'availabilityZone', 'hsm_availabilityZone' - The Availability Zone that contains the HSM.+--+-- 'clusterId', 'hsm_clusterId' - The identifier (ID) of the cluster that contains the HSM.+--+-- 'eniId', 'hsm_eniId' - The identifier (ID) of the HSM\'s elastic network interface (ENI).+--+-- 'eniIp', 'hsm_eniIp' - The IP address of the HSM\'s elastic network interface (ENI).+--+-- 'state', 'hsm_state' - The HSM\'s state.+--+-- 'stateMessage', 'hsm_stateMessage' - A description of the HSM\'s state.+--+-- 'subnetId', 'hsm_subnetId' - The subnet that contains the HSM\'s elastic network interface (ENI).+--+-- 'hsmId', 'hsm_hsmId' - The HSM\'s identifier (ID).+newHsm ::+  -- | 'hsmId'+  Prelude.Text ->+  Hsm+newHsm pHsmId_ =+  Hsm'+    { availabilityZone = Prelude.Nothing,+      clusterId = Prelude.Nothing,+      eniId = Prelude.Nothing,+      eniIp = Prelude.Nothing,+      state = Prelude.Nothing,+      stateMessage = Prelude.Nothing,+      subnetId = Prelude.Nothing,+      hsmId = pHsmId_+    }++-- | The Availability Zone that contains the HSM.+hsm_availabilityZone :: Lens.Lens' Hsm (Prelude.Maybe Prelude.Text)+hsm_availabilityZone = Lens.lens (\Hsm' {availabilityZone} -> availabilityZone) (\s@Hsm' {} a -> s {availabilityZone = a} :: Hsm)++-- | The identifier (ID) of the cluster that contains the HSM.+hsm_clusterId :: Lens.Lens' Hsm (Prelude.Maybe Prelude.Text)+hsm_clusterId = Lens.lens (\Hsm' {clusterId} -> clusterId) (\s@Hsm' {} a -> s {clusterId = a} :: Hsm)++-- | The identifier (ID) of the HSM\'s elastic network interface (ENI).+hsm_eniId :: Lens.Lens' Hsm (Prelude.Maybe Prelude.Text)+hsm_eniId = Lens.lens (\Hsm' {eniId} -> eniId) (\s@Hsm' {} a -> s {eniId = a} :: Hsm)++-- | The IP address of the HSM\'s elastic network interface (ENI).+hsm_eniIp :: Lens.Lens' Hsm (Prelude.Maybe Prelude.Text)+hsm_eniIp = Lens.lens (\Hsm' {eniIp} -> eniIp) (\s@Hsm' {} a -> s {eniIp = a} :: Hsm)++-- | The HSM\'s state.+hsm_state :: Lens.Lens' Hsm (Prelude.Maybe HsmState)+hsm_state = Lens.lens (\Hsm' {state} -> state) (\s@Hsm' {} a -> s {state = a} :: Hsm)++-- | A description of the HSM\'s state.+hsm_stateMessage :: Lens.Lens' Hsm (Prelude.Maybe Prelude.Text)+hsm_stateMessage = Lens.lens (\Hsm' {stateMessage} -> stateMessage) (\s@Hsm' {} a -> s {stateMessage = a} :: Hsm)++-- | The subnet that contains the HSM\'s elastic network interface (ENI).+hsm_subnetId :: Lens.Lens' Hsm (Prelude.Maybe Prelude.Text)+hsm_subnetId = Lens.lens (\Hsm' {subnetId} -> subnetId) (\s@Hsm' {} a -> s {subnetId = a} :: Hsm)++-- | The HSM\'s identifier (ID).+hsm_hsmId :: Lens.Lens' Hsm Prelude.Text+hsm_hsmId = Lens.lens (\Hsm' {hsmId} -> hsmId) (\s@Hsm' {} a -> s {hsmId = a} :: Hsm)++instance Data.FromJSON Hsm where+  parseJSON =+    Data.withObject+      "Hsm"+      ( \x ->+          Hsm'+            Prelude.<$> (x Data..:? "AvailabilityZone")+            Prelude.<*> (x Data..:? "ClusterId")+            Prelude.<*> (x Data..:? "EniId")+            Prelude.<*> (x Data..:? "EniIp")+            Prelude.<*> (x Data..:? "State")+            Prelude.<*> (x Data..:? "StateMessage")+            Prelude.<*> (x Data..:? "SubnetId")+            Prelude.<*> (x Data..: "HsmId")+      )++instance Prelude.Hashable Hsm where+  hashWithSalt _salt Hsm' {..} =+    _salt+      `Prelude.hashWithSalt` availabilityZone+      `Prelude.hashWithSalt` clusterId+      `Prelude.hashWithSalt` eniId+      `Prelude.hashWithSalt` eniIp+      `Prelude.hashWithSalt` state+      `Prelude.hashWithSalt` stateMessage+      `Prelude.hashWithSalt` subnetId+      `Prelude.hashWithSalt` hsmId++instance Prelude.NFData Hsm where+  rnf Hsm' {..} =+    Prelude.rnf availabilityZone+      `Prelude.seq` Prelude.rnf clusterId+      `Prelude.seq` Prelude.rnf eniId+      `Prelude.seq` Prelude.rnf eniIp+      `Prelude.seq` Prelude.rnf state+      `Prelude.seq` Prelude.rnf stateMessage+      `Prelude.seq` Prelude.rnf subnetId+      `Prelude.seq` Prelude.rnf hsmId
+ gen/Amazonka/CloudHSMV2/Types/HsmState.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.HsmState+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.HsmState+  ( HsmState+      ( ..,+        HsmState_ACTIVE,+        HsmState_CREATE_IN_PROGRESS,+        HsmState_DEGRADED,+        HsmState_DELETED,+        HsmState_DELETE_IN_PROGRESS+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype HsmState = HsmState'+  { fromHsmState ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern HsmState_ACTIVE :: HsmState+pattern HsmState_ACTIVE = HsmState' "ACTIVE"++pattern HsmState_CREATE_IN_PROGRESS :: HsmState+pattern HsmState_CREATE_IN_PROGRESS = HsmState' "CREATE_IN_PROGRESS"++pattern HsmState_DEGRADED :: HsmState+pattern HsmState_DEGRADED = HsmState' "DEGRADED"++pattern HsmState_DELETED :: HsmState+pattern HsmState_DELETED = HsmState' "DELETED"++pattern HsmState_DELETE_IN_PROGRESS :: HsmState+pattern HsmState_DELETE_IN_PROGRESS = HsmState' "DELETE_IN_PROGRESS"++{-# COMPLETE+  HsmState_ACTIVE,+  HsmState_CREATE_IN_PROGRESS,+  HsmState_DEGRADED,+  HsmState_DELETED,+  HsmState_DELETE_IN_PROGRESS,+  HsmState'+  #-}
+ gen/Amazonka/CloudHSMV2/Types/Tag.hs view
@@ -0,0 +1,93 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Types.Tag+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains a tag. A tag is a key-value pair.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+  { -- | The key of the tag.+    key :: Prelude.Text,+    -- | The value of the tag.+    value :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'tag_key' - The key of the tag.+--+-- 'value', 'tag_value' - The value of the tag.+newTag ::+  -- | 'key'+  Prelude.Text ->+  -- | 'value'+  Prelude.Text ->+  Tag+newTag pKey_ pValue_ =+  Tag' {key = pKey_, value = pValue_}++-- | The key of the tag.+tag_key :: Lens.Lens' Tag Prelude.Text+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | The value of the tag.+tag_value :: Lens.Lens' Tag Prelude.Text+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++instance Data.FromJSON Tag where+  parseJSON =+    Data.withObject+      "Tag"+      ( \x ->+          Tag'+            Prelude.<$> (x Data..: "Key")+            Prelude.<*> (x Data..: "Value")+      )++instance Prelude.Hashable Tag where+  hashWithSalt _salt Tag' {..} =+    _salt+      `Prelude.hashWithSalt` key+      `Prelude.hashWithSalt` value++instance Prelude.NFData Tag where+  rnf Tag' {..} =+    Prelude.rnf key `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Tag where+  toJSON Tag' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Key" Data..= key),+            Prelude.Just ("Value" Data..= value)+          ]+      )
+ gen/Amazonka/CloudHSMV2/UntagResource.hs view
@@ -0,0 +1,180 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.UntagResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes the specified tag or tags from the specified AWS CloudHSM+-- cluster.+module Amazonka.CloudHSMV2.UntagResource+  ( -- * Creating a Request+    UntagResource (..),+    newUntagResource,++    -- * Request Lenses+    untagResource_resourceId,+    untagResource_tagKeyList,++    -- * Destructuring the Response+    UntagResourceResponse (..),+    newUntagResourceResponse,++    -- * Response Lenses+    untagResourceResponse_httpStatus,+  )+where++import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+  { -- | The cluster identifier (ID) for the cluster whose tags you are removing.+    -- To find the cluster ID, use DescribeClusters.+    resourceId :: Prelude.Text,+    -- | A list of one or more tag keys for the tags that you are removing.+    -- Specify only the tag keys, not the tag values.+    tagKeyList :: Prelude.NonEmpty Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'untagResource_resourceId' - The cluster identifier (ID) for the cluster whose tags you are removing.+-- To find the cluster ID, use DescribeClusters.+--+-- 'tagKeyList', 'untagResource_tagKeyList' - A list of one or more tag keys for the tags that you are removing.+-- Specify only the tag keys, not the tag values.+newUntagResource ::+  -- | 'resourceId'+  Prelude.Text ->+  -- | 'tagKeyList'+  Prelude.NonEmpty Prelude.Text ->+  UntagResource+newUntagResource pResourceId_ pTagKeyList_ =+  UntagResource'+    { resourceId = pResourceId_,+      tagKeyList = Lens.coerced Lens.# pTagKeyList_+    }++-- | The cluster identifier (ID) for the cluster whose tags you are removing.+-- To find the cluster ID, use DescribeClusters.+untagResource_resourceId :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceId = Lens.lens (\UntagResource' {resourceId} -> resourceId) (\s@UntagResource' {} a -> s {resourceId = a} :: UntagResource)++-- | A list of one or more tag keys for the tags that you are removing.+-- Specify only the tag keys, not the tag values.+untagResource_tagKeyList :: Lens.Lens' UntagResource (Prelude.NonEmpty Prelude.Text)+untagResource_tagKeyList = Lens.lens (\UntagResource' {tagKeyList} -> tagKeyList) (\s@UntagResource' {} a -> s {tagKeyList = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+  type+    AWSResponse UntagResource =+      UntagResourceResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          UntagResourceResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UntagResource where+  hashWithSalt _salt UntagResource' {..} =+    _salt+      `Prelude.hashWithSalt` resourceId+      `Prelude.hashWithSalt` tagKeyList++instance Prelude.NFData UntagResource where+  rnf UntagResource' {..} =+    Prelude.rnf resourceId+      `Prelude.seq` Prelude.rnf tagKeyList++instance Data.ToHeaders UntagResource where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "BaldrApiService.UntagResource" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON UntagResource where+  toJSON UntagResource' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("ResourceId" Data..= resourceId),+            Prelude.Just ("TagKeyList" Data..= tagKeyList)+          ]+      )++instance Data.ToPath UntagResource where+  toPath = Prelude.const "/"++instance Data.ToQuery UntagResource where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'untagResourceResponse_httpStatus' - The response's http status code.+newUntagResourceResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UntagResourceResponse+newUntagResourceResponse pHttpStatus_ =+  UntagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+untagResourceResponse_httpStatus :: Lens.Lens' UntagResourceResponse Prelude.Int+untagResourceResponse_httpStatus = Lens.lens (\UntagResourceResponse' {httpStatus} -> httpStatus) (\s@UntagResourceResponse' {} a -> s {httpStatus = a} :: UntagResourceResponse)++instance Prelude.NFData UntagResourceResponse where+  rnf UntagResourceResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/CloudHSMV2/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.CloudHSMV2.Waiters+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.CloudHSMV2.Waiters where++import Amazonka.CloudHSMV2.Lens+import Amazonka.CloudHSMV2.Types+import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude
− gen/Network/AWS/CloudHSMv2.hs
@@ -1,184 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ For more information about AWS CloudHSM, see <http://aws.amazon.com/cloudhsm/ AWS CloudHSM> and the <http://docs.aws.amazon.com/cloudhsm/latest/userguide/ AWS CloudHSM User Guide> .-------module Network.AWS.CloudHSMv2-    (-    -- * Service Configuration-      cloudHSMv2--    -- * Errors-    -- $errors--    -- ** CloudHSMInternalFailureException-    , _CloudHSMInternalFailureException--    -- ** CloudHSMServiceException-    , _CloudHSMServiceException--    -- ** CloudHSMInvalidRequestException-    , _CloudHSMInvalidRequestException--    -- ** CloudHSMAccessDeniedException-    , _CloudHSMAccessDeniedException--    -- ** CloudHSMResourceNotFoundException-    , _CloudHSMResourceNotFoundException--    -- * Waiters-    -- $waiters--    -- * Operations-    -- $operations--    -- ** DescribeClusters (Paginated)-    , module Network.AWS.CloudHSMv2.DescribeClusters--    -- ** InitializeCluster-    , module Network.AWS.CloudHSMv2.InitializeCluster--    -- ** CreateHSM-    , module Network.AWS.CloudHSMv2.CreateHSM--    -- ** DescribeBackups (Paginated)-    , module Network.AWS.CloudHSMv2.DescribeBackups--    -- ** DeleteCluster-    , module Network.AWS.CloudHSMv2.DeleteCluster--    -- ** CreateCluster-    , module Network.AWS.CloudHSMv2.CreateCluster--    -- ** DeleteHSM-    , module Network.AWS.CloudHSMv2.DeleteHSM--    -- ** TagResource-    , module Network.AWS.CloudHSMv2.TagResource--    -- ** ListTags (Paginated)-    , module Network.AWS.CloudHSMv2.ListTags--    -- ** UntagResource-    , module Network.AWS.CloudHSMv2.UntagResource--    -- * Types--    -- ** BackupPolicy-    , BackupPolicy (..)--    -- ** BackupState-    , BackupState (..)--    -- ** ClusterState-    , ClusterState (..)--    -- ** HSMState-    , HSMState (..)--    -- ** Backup-    , Backup-    , backup-    , bClusterId-    , bCreateTimestamp-    , bBackupState-    , bBackupId--    -- ** Certificates-    , Certificates-    , certificates-    , cManufacturerHardwareCertificate-    , cClusterCSR-    , cHSMCertificate-    , cClusterCertificate-    , cAWSHardwareCertificate--    -- ** Cluster-    , Cluster-    , cluster-    , cPreCoPassword-    , cStateMessage-    , cState-    , cSubnetMapping-    , cHSMs-    , cVPCId-    , cSourceBackupId-    , cCertificates-    , cSecurityGroup-    , cClusterId-    , cCreateTimestamp-    , cBackupPolicy-    , cHSMType--    -- ** HSM-    , HSM-    , hsm-    , hsmStateMessage-    , hsmState-    , hsmEniId-    , hsmSubnetId-    , hsmAvailabilityZone-    , hsmClusterId-    , hsmEniIP-    , hsmHSMId--    -- ** Tag-    , Tag-    , tag-    , tagKey-    , tagValue-    ) where--import Network.AWS.CloudHSMv2.CreateCluster-import Network.AWS.CloudHSMv2.CreateHSM-import Network.AWS.CloudHSMv2.DeleteCluster-import Network.AWS.CloudHSMv2.DeleteHSM-import Network.AWS.CloudHSMv2.DescribeBackups-import Network.AWS.CloudHSMv2.DescribeClusters-import Network.AWS.CloudHSMv2.InitializeCluster-import Network.AWS.CloudHSMv2.ListTags-import Network.AWS.CloudHSMv2.TagResource-import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.UntagResource-import Network.AWS.CloudHSMv2.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'CloudHSMv2'.--}--{- $operations-Some AWS operations return results that are incomplete and require subsequent-requests in order to obtain the entire result set. The process of sending-subsequent requests to continue where a previous request left off is called-pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to-1000 objects at a time, and you must send subsequent requests with the-appropriate Marker in order to retrieve the next page of results.--Operations that have an 'AWSPager' instance can transparently perform subsequent-requests, correctly setting Markers and other request facets to iterate through-the entire result set of a truncated API operation. Operations which support-this have an additional note in the documentation.--Many operations have the ability to filter results on the server side. See the-individual operation parameters for details.--}--{- $waiters-Waiters poll by repeatedly sending a request until some remote success condition-configured by the 'Wait' specification is fulfilled. The 'Wait' specification-determines how many attempts should be made, in addition to delay and retry strategies.--}
− gen/Network/AWS/CloudHSMv2/CreateCluster.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.CreateCluster--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new AWS CloudHSM cluster.-------module Network.AWS.CloudHSMv2.CreateCluster-    (-    -- * Creating a Request-      createCluster-    , CreateCluster-    -- * Request Lenses-    , ccSourceBackupId-    , ccSubnetIds-    , ccHSMType--    -- * Destructuring the Response-    , createClusterResponse-    , CreateClusterResponse-    -- * Response Lenses-    , ccrsCluster-    , ccrsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createCluster' smart constructor.-data CreateCluster = CreateCluster'-  { _ccSourceBackupId :: !(Maybe Text)-  , _ccSubnetIds      :: !(List1 Text)-  , _ccHSMType        :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateCluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccSourceBackupId' - The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use 'DescribeBackups' .------ * 'ccSubnetIds' - The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:     * All subnets must be in the same virtual private cloud (VPC).     * You can specify only one subnet per Availability Zone.------ * 'ccHSMType' - The type of HSM to use in the cluster. Currently the only allowed value is @hsm1.medium@ .-createCluster-    :: NonEmpty Text -- ^ 'ccSubnetIds'-    -> Text -- ^ 'ccHSMType'-    -> CreateCluster-createCluster pSubnetIds_ pHSMType_ =-  CreateCluster'-    { _ccSourceBackupId = Nothing-    , _ccSubnetIds = _List1 # pSubnetIds_-    , _ccHSMType = pHSMType_-    }----- | The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use 'DescribeBackups' .-ccSourceBackupId :: Lens' CreateCluster (Maybe Text)-ccSourceBackupId = lens _ccSourceBackupId (\ s a -> s{_ccSourceBackupId = a})---- | The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:     * All subnets must be in the same virtual private cloud (VPC).     * You can specify only one subnet per Availability Zone.-ccSubnetIds :: Lens' CreateCluster (NonEmpty Text)-ccSubnetIds = lens _ccSubnetIds (\ s a -> s{_ccSubnetIds = a}) . _List1---- | The type of HSM to use in the cluster. Currently the only allowed value is @hsm1.medium@ .-ccHSMType :: Lens' CreateCluster Text-ccHSMType = lens _ccHSMType (\ s a -> s{_ccHSMType = a})--instance AWSRequest CreateCluster where-        type Rs CreateCluster = CreateClusterResponse-        request = postJSON cloudHSMv2-        response-          = receiveJSON-              (\ s h x ->-                 CreateClusterResponse' <$>-                   (x .?> "Cluster") <*> (pure (fromEnum s)))--instance Hashable CreateCluster where--instance NFData CreateCluster where--instance ToHeaders CreateCluster where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.CreateCluster" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateCluster where-        toJSON CreateCluster'{..}-          = object-              (catMaybes-                 [("SourceBackupId" .=) <$> _ccSourceBackupId,-                  Just ("SubnetIds" .= _ccSubnetIds),-                  Just ("HsmType" .= _ccHSMType)])--instance ToPath CreateCluster where-        toPath = const "/"--instance ToQuery CreateCluster where-        toQuery = const mempty---- | /See:/ 'createClusterResponse' smart constructor.-data CreateClusterResponse = CreateClusterResponse'-  { _ccrsCluster        :: !(Maybe Cluster)-  , _ccrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateClusterResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccrsCluster' - Information about the cluster that was created.------ * 'ccrsResponseStatus' - -- | The response status code.-createClusterResponse-    :: Int -- ^ 'ccrsResponseStatus'-    -> CreateClusterResponse-createClusterResponse pResponseStatus_ =-  CreateClusterResponse'-    {_ccrsCluster = Nothing, _ccrsResponseStatus = pResponseStatus_}----- | Information about the cluster that was created.-ccrsCluster :: Lens' CreateClusterResponse (Maybe Cluster)-ccrsCluster = lens _ccrsCluster (\ s a -> s{_ccrsCluster = a})---- | -- | The response status code.-ccrsResponseStatus :: Lens' CreateClusterResponse Int-ccrsResponseStatus = lens _ccrsResponseStatus (\ s a -> s{_ccrsResponseStatus = a})--instance NFData CreateClusterResponse where
− gen/Network/AWS/CloudHSMv2/CreateHSM.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.CreateHSM--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.-------module Network.AWS.CloudHSMv2.CreateHSM-    (-    -- * Creating a Request-      createHSM-    , CreateHSM-    -- * Request Lenses-    , chIPAddress-    , chClusterId-    , chAvailabilityZone--    -- * Destructuring the Response-    , createHSMResponse-    , CreateHSMResponse-    -- * Response Lenses-    , chrsHSM-    , chrsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createHSM' smart constructor.-data CreateHSM = CreateHSM'-  { _chIPAddress        :: !(Maybe Text)-  , _chClusterId        :: !Text-  , _chAvailabilityZone :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateHSM' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'chIPAddress' - The HSM's IP address. If you specify an IP address, use an available address from the subnet that maps to the Availability Zone where you are creating the HSM. If you don't specify an IP address, one is chosen for you from that subnet.------ * 'chClusterId' - The identifier (ID) of the HSM's cluster. To find the cluster ID, use 'DescribeClusters' .------ * 'chAvailabilityZone' - The Availability Zone where you are creating the HSM. To find the cluster's Availability Zones, use 'DescribeClusters' .-createHSM-    :: Text -- ^ 'chClusterId'-    -> Text -- ^ 'chAvailabilityZone'-    -> CreateHSM-createHSM pClusterId_ pAvailabilityZone_ =-  CreateHSM'-    { _chIPAddress = Nothing-    , _chClusterId = pClusterId_-    , _chAvailabilityZone = pAvailabilityZone_-    }----- | The HSM's IP address. If you specify an IP address, use an available address from the subnet that maps to the Availability Zone where you are creating the HSM. If you don't specify an IP address, one is chosen for you from that subnet.-chIPAddress :: Lens' CreateHSM (Maybe Text)-chIPAddress = lens _chIPAddress (\ s a -> s{_chIPAddress = a})---- | The identifier (ID) of the HSM's cluster. To find the cluster ID, use 'DescribeClusters' .-chClusterId :: Lens' CreateHSM Text-chClusterId = lens _chClusterId (\ s a -> s{_chClusterId = a})---- | The Availability Zone where you are creating the HSM. To find the cluster's Availability Zones, use 'DescribeClusters' .-chAvailabilityZone :: Lens' CreateHSM Text-chAvailabilityZone = lens _chAvailabilityZone (\ s a -> s{_chAvailabilityZone = a})--instance AWSRequest CreateHSM where-        type Rs CreateHSM = CreateHSMResponse-        request = postJSON cloudHSMv2-        response-          = receiveJSON-              (\ s h x ->-                 CreateHSMResponse' <$>-                   (x .?> "Hsm") <*> (pure (fromEnum s)))--instance Hashable CreateHSM where--instance NFData CreateHSM where--instance ToHeaders CreateHSM where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.CreateHsm" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateHSM where-        toJSON CreateHSM'{..}-          = object-              (catMaybes-                 [("IpAddress" .=) <$> _chIPAddress,-                  Just ("ClusterId" .= _chClusterId),-                  Just ("AvailabilityZone" .= _chAvailabilityZone)])--instance ToPath CreateHSM where-        toPath = const "/"--instance ToQuery CreateHSM where-        toQuery = const mempty---- | /See:/ 'createHSMResponse' smart constructor.-data CreateHSMResponse = CreateHSMResponse'-  { _chrsHSM            :: !(Maybe HSM)-  , _chrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateHSMResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'chrsHSM' - Information about the HSM that was created.------ * 'chrsResponseStatus' - -- | The response status code.-createHSMResponse-    :: Int -- ^ 'chrsResponseStatus'-    -> CreateHSMResponse-createHSMResponse pResponseStatus_ =-  CreateHSMResponse'-    {_chrsHSM = Nothing, _chrsResponseStatus = pResponseStatus_}----- | Information about the HSM that was created.-chrsHSM :: Lens' CreateHSMResponse (Maybe HSM)-chrsHSM = lens _chrsHSM (\ s a -> s{_chrsHSM = a})---- | -- | The response status code.-chrsResponseStatus :: Lens' CreateHSMResponse Int-chrsResponseStatus = lens _chrsResponseStatus (\ s a -> s{_chrsResponseStatus = a})--instance NFData CreateHSMResponse where
− gen/Network/AWS/CloudHSMv2/DeleteCluster.hs
@@ -1,131 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.DeleteCluster--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use 'DescribeClusters' . To delete an HSM, use 'DeleteHsm' .-------module Network.AWS.CloudHSMv2.DeleteCluster-    (-    -- * Creating a Request-      deleteCluster-    , DeleteCluster-    -- * Request Lenses-    , dcClusterId--    -- * Destructuring the Response-    , deleteClusterResponse-    , DeleteClusterResponse-    -- * Response Lenses-    , drsCluster-    , drsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteCluster' smart constructor.-newtype DeleteCluster = DeleteCluster'-  { _dcClusterId :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteCluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcClusterId' - The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use 'DescribeClusters' .-deleteCluster-    :: Text -- ^ 'dcClusterId'-    -> DeleteCluster-deleteCluster pClusterId_ = DeleteCluster' {_dcClusterId = pClusterId_}----- | The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use 'DescribeClusters' .-dcClusterId :: Lens' DeleteCluster Text-dcClusterId = lens _dcClusterId (\ s a -> s{_dcClusterId = a})--instance AWSRequest DeleteCluster where-        type Rs DeleteCluster = DeleteClusterResponse-        request = postJSON cloudHSMv2-        response-          = receiveJSON-              (\ s h x ->-                 DeleteClusterResponse' <$>-                   (x .?> "Cluster") <*> (pure (fromEnum s)))--instance Hashable DeleteCluster where--instance NFData DeleteCluster where--instance ToHeaders DeleteCluster where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.DeleteCluster" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteCluster where-        toJSON DeleteCluster'{..}-          = object-              (catMaybes [Just ("ClusterId" .= _dcClusterId)])--instance ToPath DeleteCluster where-        toPath = const "/"--instance ToQuery DeleteCluster where-        toQuery = const mempty---- | /See:/ 'deleteClusterResponse' smart constructor.-data DeleteClusterResponse = DeleteClusterResponse'-  { _drsCluster        :: !(Maybe Cluster)-  , _drsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteClusterResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsCluster' - Information about the cluster that was deleted.------ * 'drsResponseStatus' - -- | The response status code.-deleteClusterResponse-    :: Int -- ^ 'drsResponseStatus'-    -> DeleteClusterResponse-deleteClusterResponse pResponseStatus_ =-  DeleteClusterResponse'-    {_drsCluster = Nothing, _drsResponseStatus = pResponseStatus_}----- | Information about the cluster that was deleted.-drsCluster :: Lens' DeleteClusterResponse (Maybe Cluster)-drsCluster = lens _drsCluster (\ s a -> s{_drsCluster = a})---- | -- | The response status code.-drsResponseStatus :: Lens' DeleteClusterResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DeleteClusterResponse where
− gen/Network/AWS/CloudHSMv2/DeleteHSM.hs
@@ -1,164 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.DeleteHSM--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use 'DescribeClusters' .-------module Network.AWS.CloudHSMv2.DeleteHSM-    (-    -- * Creating a Request-      deleteHSM-    , DeleteHSM-    -- * Request Lenses-    , dhEniId-    , dhHSMId-    , dhEniIP-    , dhClusterId--    -- * Destructuring the Response-    , deleteHSMResponse-    , DeleteHSMResponse-    -- * Response Lenses-    , dhrsHSMId-    , dhrsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteHSM' smart constructor.-data DeleteHSM = DeleteHSM'-  { _dhEniId     :: !(Maybe Text)-  , _dhHSMId     :: !(Maybe Text)-  , _dhEniIP     :: !(Maybe Text)-  , _dhClusterId :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteHSM' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dhEniId' - The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.------ * 'dhHSMId' - The identifier (ID) of the HSM that you are deleting.------ * 'dhEniIP' - The IP address of the elastic network interface (ENI) of the HSM that you are deleting.------ * 'dhClusterId' - The identifier (ID) of the cluster that contains the HSM that you are deleting.-deleteHSM-    :: Text -- ^ 'dhClusterId'-    -> DeleteHSM-deleteHSM pClusterId_ =-  DeleteHSM'-    { _dhEniId = Nothing-    , _dhHSMId = Nothing-    , _dhEniIP = Nothing-    , _dhClusterId = pClusterId_-    }----- | The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.-dhEniId :: Lens' DeleteHSM (Maybe Text)-dhEniId = lens _dhEniId (\ s a -> s{_dhEniId = a})---- | The identifier (ID) of the HSM that you are deleting.-dhHSMId :: Lens' DeleteHSM (Maybe Text)-dhHSMId = lens _dhHSMId (\ s a -> s{_dhHSMId = a})---- | The IP address of the elastic network interface (ENI) of the HSM that you are deleting.-dhEniIP :: Lens' DeleteHSM (Maybe Text)-dhEniIP = lens _dhEniIP (\ s a -> s{_dhEniIP = a})---- | The identifier (ID) of the cluster that contains the HSM that you are deleting.-dhClusterId :: Lens' DeleteHSM Text-dhClusterId = lens _dhClusterId (\ s a -> s{_dhClusterId = a})--instance AWSRequest DeleteHSM where-        type Rs DeleteHSM = DeleteHSMResponse-        request = postJSON cloudHSMv2-        response-          = receiveJSON-              (\ s h x ->-                 DeleteHSMResponse' <$>-                   (x .?> "HsmId") <*> (pure (fromEnum s)))--instance Hashable DeleteHSM where--instance NFData DeleteHSM where--instance ToHeaders DeleteHSM where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.DeleteHsm" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteHSM where-        toJSON DeleteHSM'{..}-          = object-              (catMaybes-                 [("EniId" .=) <$> _dhEniId,-                  ("HsmId" .=) <$> _dhHSMId, ("EniIp" .=) <$> _dhEniIP,-                  Just ("ClusterId" .= _dhClusterId)])--instance ToPath DeleteHSM where-        toPath = const "/"--instance ToQuery DeleteHSM where-        toQuery = const mempty---- | /See:/ 'deleteHSMResponse' smart constructor.-data DeleteHSMResponse = DeleteHSMResponse'-  { _dhrsHSMId          :: !(Maybe Text)-  , _dhrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteHSMResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dhrsHSMId' - The identifier (ID) of the HSM that was deleted.------ * 'dhrsResponseStatus' - -- | The response status code.-deleteHSMResponse-    :: Int -- ^ 'dhrsResponseStatus'-    -> DeleteHSMResponse-deleteHSMResponse pResponseStatus_ =-  DeleteHSMResponse'-    {_dhrsHSMId = Nothing, _dhrsResponseStatus = pResponseStatus_}----- | The identifier (ID) of the HSM that was deleted.-dhrsHSMId :: Lens' DeleteHSMResponse (Maybe Text)-dhrsHSMId = lens _dhrsHSMId (\ s a -> s{_dhrsHSMId = a})---- | -- | The response status code.-dhrsResponseStatus :: Lens' DeleteHSMResponse Int-dhrsResponseStatus = lens _dhrsResponseStatus (\ s a -> s{_dhrsResponseStatus = a})--instance NFData DeleteHSMResponse where
− gen/Network/AWS/CloudHSMv2/DescribeBackups.hs
@@ -1,175 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.DescribeBackups--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Gets information about backups of AWS CloudHSM clusters.--------- This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a @NextToken@ value. Use this value in a subsequent @DescribeBackups@ request to get more backups. When you receive a response with no @NextToken@ (or an empty or null value), that means there are no more backups to get.--------- This operation returns paginated results.-module Network.AWS.CloudHSMv2.DescribeBackups-    (-    -- * Creating a Request-      describeBackups-    , DescribeBackups-    -- * Request Lenses-    , dbFilters-    , dbNextToken-    , dbMaxResults--    -- * Destructuring the Response-    , describeBackupsResponse-    , DescribeBackupsResponse-    -- * Response Lenses-    , dbrsBackups-    , dbrsNextToken-    , dbrsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeBackups' smart constructor.-data DescribeBackups = DescribeBackups'-  { _dbFilters    :: !(Maybe (Map Text [Text]))-  , _dbNextToken  :: !(Maybe Text)-  , _dbMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeBackups' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dbFilters' - One or more filters to limit the items returned in the response. Use the @backupIds@ filter to return only the specified backups. Specify backups by their backup identifier (ID). Use the @clusterIds@ filter to return only the backups for the specified clusters. Specify clusters by their cluster identifier (ID). Use the @states@ filter to return only backups that match the specified state.------ * 'dbNextToken' - The @NextToken@ value that you received in the previous response. Use this value to get more backups.------ * 'dbMaxResults' - The maximum number of backups to return in the response. When there are more backups than the number you specify, the response contains a @NextToken@ value.-describeBackups-    :: DescribeBackups-describeBackups =-  DescribeBackups'-    {_dbFilters = Nothing, _dbNextToken = Nothing, _dbMaxResults = Nothing}----- | One or more filters to limit the items returned in the response. Use the @backupIds@ filter to return only the specified backups. Specify backups by their backup identifier (ID). Use the @clusterIds@ filter to return only the backups for the specified clusters. Specify clusters by their cluster identifier (ID). Use the @states@ filter to return only backups that match the specified state.-dbFilters :: Lens' DescribeBackups (HashMap Text [Text])-dbFilters = lens _dbFilters (\ s a -> s{_dbFilters = a}) . _Default . _Map---- | The @NextToken@ value that you received in the previous response. Use this value to get more backups.-dbNextToken :: Lens' DescribeBackups (Maybe Text)-dbNextToken = lens _dbNextToken (\ s a -> s{_dbNextToken = a})---- | The maximum number of backups to return in the response. When there are more backups than the number you specify, the response contains a @NextToken@ value.-dbMaxResults :: Lens' DescribeBackups (Maybe Natural)-dbMaxResults = lens _dbMaxResults (\ s a -> s{_dbMaxResults = a}) . mapping _Nat--instance AWSPager DescribeBackups where-        page rq rs-          | stop (rs ^. dbrsNextToken) = Nothing-          | stop (rs ^. dbrsBackups) = Nothing-          | otherwise =-            Just $ rq & dbNextToken .~ rs ^. dbrsNextToken--instance AWSRequest DescribeBackups where-        type Rs DescribeBackups = DescribeBackupsResponse-        request = postJSON cloudHSMv2-        response-          = receiveJSON-              (\ s h x ->-                 DescribeBackupsResponse' <$>-                   (x .?> "Backups" .!@ mempty) <*> (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable DescribeBackups where--instance NFData DescribeBackups where--instance ToHeaders DescribeBackups where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.DescribeBackups" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeBackups where-        toJSON DescribeBackups'{..}-          = object-              (catMaybes-                 [("Filters" .=) <$> _dbFilters,-                  ("NextToken" .=) <$> _dbNextToken,-                  ("MaxResults" .=) <$> _dbMaxResults])--instance ToPath DescribeBackups where-        toPath = const "/"--instance ToQuery DescribeBackups where-        toQuery = const mempty---- | /See:/ 'describeBackupsResponse' smart constructor.-data DescribeBackupsResponse = DescribeBackupsResponse'-  { _dbrsBackups        :: !(Maybe [Backup])-  , _dbrsNextToken      :: !(Maybe Text)-  , _dbrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeBackupsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dbrsBackups' - A list of backups.------ * 'dbrsNextToken' - An opaque string that indicates that the response contains only a subset of backups. Use this value in a subsequent @DescribeBackups@ request to get more backups.------ * 'dbrsResponseStatus' - -- | The response status code.-describeBackupsResponse-    :: Int -- ^ 'dbrsResponseStatus'-    -> DescribeBackupsResponse-describeBackupsResponse pResponseStatus_ =-  DescribeBackupsResponse'-    { _dbrsBackups = Nothing-    , _dbrsNextToken = Nothing-    , _dbrsResponseStatus = pResponseStatus_-    }----- | A list of backups.-dbrsBackups :: Lens' DescribeBackupsResponse [Backup]-dbrsBackups = lens _dbrsBackups (\ s a -> s{_dbrsBackups = a}) . _Default . _Coerce---- | An opaque string that indicates that the response contains only a subset of backups. Use this value in a subsequent @DescribeBackups@ request to get more backups.-dbrsNextToken :: Lens' DescribeBackupsResponse (Maybe Text)-dbrsNextToken = lens _dbrsNextToken (\ s a -> s{_dbrsNextToken = a})---- | -- | The response status code.-dbrsResponseStatus :: Lens' DescribeBackupsResponse Int-dbrsResponseStatus = lens _dbrsResponseStatus (\ s a -> s{_dbrsResponseStatus = a})--instance NFData DescribeBackupsResponse where
− gen/Network/AWS/CloudHSMv2/DescribeClusters.hs
@@ -1,175 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.DescribeClusters--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Gets information about AWS CloudHSM clusters.--------- This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a @NextToken@ value. Use this value in a subsequent @DescribeClusters@ request to get more clusters. When you receive a response with no @NextToken@ (or an empty or null value), that means there are no more clusters to get.--------- This operation returns paginated results.-module Network.AWS.CloudHSMv2.DescribeClusters-    (-    -- * Creating a Request-      describeClusters-    , DescribeClusters-    -- * Request Lenses-    , dcFilters-    , dcNextToken-    , dcMaxResults--    -- * Destructuring the Response-    , describeClustersResponse-    , DescribeClustersResponse-    -- * Response Lenses-    , dcrsNextToken-    , dcrsClusters-    , dcrsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeClusters' smart constructor.-data DescribeClusters = DescribeClusters'-  { _dcFilters    :: !(Maybe (Map Text [Text]))-  , _dcNextToken  :: !(Maybe Text)-  , _dcMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeClusters' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcFilters' - One or more filters to limit the items returned in the response. Use the @clusterIds@ filter to return only the specified clusters. Specify clusters by their cluster identifier (ID). Use the @vpcIds@ filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID). Use the @states@ filter to return only clusters that match the specified state.------ * 'dcNextToken' - The @NextToken@ value that you received in the previous response. Use this value to get more clusters.------ * 'dcMaxResults' - The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains a @NextToken@ value.-describeClusters-    :: DescribeClusters-describeClusters =-  DescribeClusters'-    {_dcFilters = Nothing, _dcNextToken = Nothing, _dcMaxResults = Nothing}----- | One or more filters to limit the items returned in the response. Use the @clusterIds@ filter to return only the specified clusters. Specify clusters by their cluster identifier (ID). Use the @vpcIds@ filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID). Use the @states@ filter to return only clusters that match the specified state.-dcFilters :: Lens' DescribeClusters (HashMap Text [Text])-dcFilters = lens _dcFilters (\ s a -> s{_dcFilters = a}) . _Default . _Map---- | The @NextToken@ value that you received in the previous response. Use this value to get more clusters.-dcNextToken :: Lens' DescribeClusters (Maybe Text)-dcNextToken = lens _dcNextToken (\ s a -> s{_dcNextToken = a})---- | The maximum number of clusters to return in the response. When there are more clusters than the number you specify, the response contains a @NextToken@ value.-dcMaxResults :: Lens' DescribeClusters (Maybe Natural)-dcMaxResults = lens _dcMaxResults (\ s a -> s{_dcMaxResults = a}) . mapping _Nat--instance AWSPager DescribeClusters where-        page rq rs-          | stop (rs ^. dcrsNextToken) = Nothing-          | stop (rs ^. dcrsClusters) = Nothing-          | otherwise =-            Just $ rq & dcNextToken .~ rs ^. dcrsNextToken--instance AWSRequest DescribeClusters where-        type Rs DescribeClusters = DescribeClustersResponse-        request = postJSON cloudHSMv2-        response-          = receiveJSON-              (\ s h x ->-                 DescribeClustersResponse' <$>-                   (x .?> "NextToken") <*> (x .?> "Clusters" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable DescribeClusters where--instance NFData DescribeClusters where--instance ToHeaders DescribeClusters where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.DescribeClusters" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeClusters where-        toJSON DescribeClusters'{..}-          = object-              (catMaybes-                 [("Filters" .=) <$> _dcFilters,-                  ("NextToken" .=) <$> _dcNextToken,-                  ("MaxResults" .=) <$> _dcMaxResults])--instance ToPath DescribeClusters where-        toPath = const "/"--instance ToQuery DescribeClusters where-        toQuery = const mempty---- | /See:/ 'describeClustersResponse' smart constructor.-data DescribeClustersResponse = DescribeClustersResponse'-  { _dcrsNextToken      :: !(Maybe Text)-  , _dcrsClusters       :: !(Maybe [Cluster])-  , _dcrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeClustersResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dcrsNextToken' - An opaque string that indicates that the response contains only a subset of clusters. Use this value in a subsequent @DescribeClusters@ request to get more clusters.------ * 'dcrsClusters' - A list of clusters.------ * 'dcrsResponseStatus' - -- | The response status code.-describeClustersResponse-    :: Int -- ^ 'dcrsResponseStatus'-    -> DescribeClustersResponse-describeClustersResponse pResponseStatus_ =-  DescribeClustersResponse'-    { _dcrsNextToken = Nothing-    , _dcrsClusters = Nothing-    , _dcrsResponseStatus = pResponseStatus_-    }----- | An opaque string that indicates that the response contains only a subset of clusters. Use this value in a subsequent @DescribeClusters@ request to get more clusters.-dcrsNextToken :: Lens' DescribeClustersResponse (Maybe Text)-dcrsNextToken = lens _dcrsNextToken (\ s a -> s{_dcrsNextToken = a})---- | A list of clusters.-dcrsClusters :: Lens' DescribeClustersResponse [Cluster]-dcrsClusters = lens _dcrsClusters (\ s a -> s{_dcrsClusters = a}) . _Default . _Coerce---- | -- | The response status code.-dcrsResponseStatus :: Lens' DescribeClustersResponse Int-dcrsResponseStatus = lens _dcrsResponseStatus (\ s a -> s{_dcrsResponseStatus = a})--instance NFData DescribeClustersResponse where
− gen/Network/AWS/CloudHSMv2/InitializeCluster.hs
@@ -1,169 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.InitializeCluster--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use 'DescribeClusters' .-------module Network.AWS.CloudHSMv2.InitializeCluster-    (-    -- * Creating a Request-      initializeCluster-    , InitializeCluster-    -- * Request Lenses-    , icClusterId-    , icSignedCert-    , icTrustAnchor--    -- * Destructuring the Response-    , initializeClusterResponse-    , InitializeClusterResponse-    -- * Response Lenses-    , icrsStateMessage-    , icrsState-    , icrsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'initializeCluster' smart constructor.-data InitializeCluster = InitializeCluster'-  { _icClusterId   :: !Text-  , _icSignedCert  :: !Text-  , _icTrustAnchor :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'InitializeCluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'icClusterId' - The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use 'DescribeClusters' .------ * 'icSignedCert' - The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.------ * 'icTrustAnchor' - The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. This can be a root (self-signed) certificate or a certificate chain that begins with the certificate that issued the cluster certificate and ends with a root certificate. The certificate or certificate chain must be in PEM format and can contain a maximum of 5000 characters.-initializeCluster-    :: Text -- ^ 'icClusterId'-    -> Text -- ^ 'icSignedCert'-    -> Text -- ^ 'icTrustAnchor'-    -> InitializeCluster-initializeCluster pClusterId_ pSignedCert_ pTrustAnchor_ =-  InitializeCluster'-    { _icClusterId = pClusterId_-    , _icSignedCert = pSignedCert_-    , _icTrustAnchor = pTrustAnchor_-    }----- | The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use 'DescribeClusters' .-icClusterId :: Lens' InitializeCluster Text-icClusterId = lens _icClusterId (\ s a -> s{_icClusterId = a})---- | The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.-icSignedCert :: Lens' InitializeCluster Text-icSignedCert = lens _icSignedCert (\ s a -> s{_icSignedCert = a})---- | The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster certificate. This can be a root (self-signed) certificate or a certificate chain that begins with the certificate that issued the cluster certificate and ends with a root certificate. The certificate or certificate chain must be in PEM format and can contain a maximum of 5000 characters.-icTrustAnchor :: Lens' InitializeCluster Text-icTrustAnchor = lens _icTrustAnchor (\ s a -> s{_icTrustAnchor = a})--instance AWSRequest InitializeCluster where-        type Rs InitializeCluster = InitializeClusterResponse-        request = postJSON cloudHSMv2-        response-          = receiveJSON-              (\ s h x ->-                 InitializeClusterResponse' <$>-                   (x .?> "StateMessage") <*> (x .?> "State") <*>-                     (pure (fromEnum s)))--instance Hashable InitializeCluster where--instance NFData InitializeCluster where--instance ToHeaders InitializeCluster where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.InitializeCluster" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON InitializeCluster where-        toJSON InitializeCluster'{..}-          = object-              (catMaybes-                 [Just ("ClusterId" .= _icClusterId),-                  Just ("SignedCert" .= _icSignedCert),-                  Just ("TrustAnchor" .= _icTrustAnchor)])--instance ToPath InitializeCluster where-        toPath = const "/"--instance ToQuery InitializeCluster where-        toQuery = const mempty---- | /See:/ 'initializeClusterResponse' smart constructor.-data InitializeClusterResponse = InitializeClusterResponse'-  { _icrsStateMessage   :: !(Maybe Text)-  , _icrsState          :: !(Maybe ClusterState)-  , _icrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'InitializeClusterResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'icrsStateMessage' - A description of the cluster's state.------ * 'icrsState' - The cluster's state.------ * 'icrsResponseStatus' - -- | The response status code.-initializeClusterResponse-    :: Int -- ^ 'icrsResponseStatus'-    -> InitializeClusterResponse-initializeClusterResponse pResponseStatus_ =-  InitializeClusterResponse'-    { _icrsStateMessage = Nothing-    , _icrsState = Nothing-    , _icrsResponseStatus = pResponseStatus_-    }----- | A description of the cluster's state.-icrsStateMessage :: Lens' InitializeClusterResponse (Maybe Text)-icrsStateMessage = lens _icrsStateMessage (\ s a -> s{_icrsStateMessage = a})---- | The cluster's state.-icrsState :: Lens' InitializeClusterResponse (Maybe ClusterState)-icrsState = lens _icrsState (\ s a -> s{_icrsState = a})---- | -- | The response status code.-icrsResponseStatus :: Lens' InitializeClusterResponse Int-icrsResponseStatus = lens _icrsResponseStatus (\ s a -> s{_icrsResponseStatus = a})--instance NFData InitializeClusterResponse where
− gen/Network/AWS/CloudHSMv2/ListTags.hs
@@ -1,179 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.ListTags--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Gets a list of tags for the specified AWS CloudHSM cluster.--------- This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a @NextToken@ value. Use this value in a subsequent @ListTags@ request to get more tags. When you receive a response with no @NextToken@ (or an empty or null value), that means there are no more tags to get.--------- This operation returns paginated results.-module Network.AWS.CloudHSMv2.ListTags-    (-    -- * Creating a Request-      listTags-    , ListTags-    -- * Request Lenses-    , ltNextToken-    , ltMaxResults-    , ltResourceId--    -- * Destructuring the Response-    , listTagsResponse-    , ListTagsResponse-    -- * Response Lenses-    , ltrsNextToken-    , ltrsResponseStatus-    , ltrsTagList-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'listTags' smart constructor.-data ListTags = ListTags'-  { _ltNextToken  :: !(Maybe Text)-  , _ltMaxResults :: !(Maybe Nat)-  , _ltResourceId :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTags' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltNextToken' - The @NextToken@ value that you received in the previous response. Use this value to get more tags.------ * 'ltMaxResults' - The maximum number of tags to return in the response. When there are more tags than the number you specify, the response contains a @NextToken@ value.------ * 'ltResourceId' - The cluster identifier (ID) for the cluster whose tags you are getting. To find the cluster ID, use 'DescribeClusters' .-listTags-    :: Text -- ^ 'ltResourceId'-    -> ListTags-listTags pResourceId_ =-  ListTags'-    { _ltNextToken = Nothing-    , _ltMaxResults = Nothing-    , _ltResourceId = pResourceId_-    }----- | The @NextToken@ value that you received in the previous response. Use this value to get more tags.-ltNextToken :: Lens' ListTags (Maybe Text)-ltNextToken = lens _ltNextToken (\ s a -> s{_ltNextToken = a})---- | The maximum number of tags to return in the response. When there are more tags than the number you specify, the response contains a @NextToken@ value.-ltMaxResults :: Lens' ListTags (Maybe Natural)-ltMaxResults = lens _ltMaxResults (\ s a -> s{_ltMaxResults = a}) . mapping _Nat---- | The cluster identifier (ID) for the cluster whose tags you are getting. To find the cluster ID, use 'DescribeClusters' .-ltResourceId :: Lens' ListTags Text-ltResourceId = lens _ltResourceId (\ s a -> s{_ltResourceId = a})--instance AWSPager ListTags where-        page rq rs-          | stop (rs ^. ltrsNextToken) = Nothing-          | stop (rs ^. ltrsTagList) = Nothing-          | otherwise =-            Just $ rq & ltNextToken .~ rs ^. ltrsNextToken--instance AWSRequest ListTags where-        type Rs ListTags = ListTagsResponse-        request = postJSON cloudHSMv2-        response-          = receiveJSON-              (\ s h x ->-                 ListTagsResponse' <$>-                   (x .?> "NextToken") <*> (pure (fromEnum s)) <*>-                     (x .?> "TagList" .!@ mempty))--instance Hashable ListTags where--instance NFData ListTags where--instance ToHeaders ListTags where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.ListTags" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON ListTags where-        toJSON ListTags'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _ltNextToken,-                  ("MaxResults" .=) <$> _ltMaxResults,-                  Just ("ResourceId" .= _ltResourceId)])--instance ToPath ListTags where-        toPath = const "/"--instance ToQuery ListTags where-        toQuery = const mempty---- | /See:/ 'listTagsResponse' smart constructor.-data ListTagsResponse = ListTagsResponse'-  { _ltrsNextToken      :: !(Maybe Text)-  , _ltrsResponseStatus :: !Int-  , _ltrsTagList        :: ![Tag]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListTagsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ltrsNextToken' - An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent @ListTags@ request to get more tags.------ * 'ltrsResponseStatus' - -- | The response status code.------ * 'ltrsTagList' - A list of tags.-listTagsResponse-    :: Int -- ^ 'ltrsResponseStatus'-    -> ListTagsResponse-listTagsResponse pResponseStatus_ =-  ListTagsResponse'-    { _ltrsNextToken = Nothing-    , _ltrsResponseStatus = pResponseStatus_-    , _ltrsTagList = mempty-    }----- | An opaque string that indicates that the response contains only a subset of tags. Use this value in a subsequent @ListTags@ request to get more tags.-ltrsNextToken :: Lens' ListTagsResponse (Maybe Text)-ltrsNextToken = lens _ltrsNextToken (\ s a -> s{_ltrsNextToken = a})---- | -- | The response status code.-ltrsResponseStatus :: Lens' ListTagsResponse Int-ltrsResponseStatus = lens _ltrsResponseStatus (\ s a -> s{_ltrsResponseStatus = a})---- | A list of tags.-ltrsTagList :: Lens' ListTagsResponse [Tag]-ltrsTagList = lens _ltrsTagList (\ s a -> s{_ltrsTagList = a}) . _Coerce--instance NFData ListTagsResponse where
− gen/Network/AWS/CloudHSMv2/TagResource.hs
@@ -1,132 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.TagResource--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.-------module Network.AWS.CloudHSMv2.TagResource-    (-    -- * Creating a Request-      tagResource-    , TagResource-    -- * Request Lenses-    , trResourceId-    , trTagList--    -- * Destructuring the Response-    , tagResourceResponse-    , TagResourceResponse-    -- * Response Lenses-    , trrsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'tagResource' smart constructor.-data TagResource = TagResource'-  { _trResourceId :: !Text-  , _trTagList    :: ![Tag]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TagResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'trResourceId' - The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use 'DescribeClusters' .------ * 'trTagList' - A list of one or more tags.-tagResource-    :: Text -- ^ 'trResourceId'-    -> TagResource-tagResource pResourceId_ =-  TagResource' {_trResourceId = pResourceId_, _trTagList = mempty}----- | The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use 'DescribeClusters' .-trResourceId :: Lens' TagResource Text-trResourceId = lens _trResourceId (\ s a -> s{_trResourceId = a})---- | A list of one or more tags.-trTagList :: Lens' TagResource [Tag]-trTagList = lens _trTagList (\ s a -> s{_trTagList = a}) . _Coerce--instance AWSRequest TagResource where-        type Rs TagResource = TagResourceResponse-        request = postJSON cloudHSMv2-        response-          = receiveEmpty-              (\ s h x ->-                 TagResourceResponse' <$> (pure (fromEnum s)))--instance Hashable TagResource where--instance NFData TagResource where--instance ToHeaders TagResource where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.TagResource" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON TagResource where-        toJSON TagResource'{..}-          = object-              (catMaybes-                 [Just ("ResourceId" .= _trResourceId),-                  Just ("TagList" .= _trTagList)])--instance ToPath TagResource where-        toPath = const "/"--instance ToQuery TagResource where-        toQuery = const mempty---- | /See:/ 'tagResourceResponse' smart constructor.-newtype TagResourceResponse = TagResourceResponse'-  { _trrsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TagResourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'trrsResponseStatus' - -- | The response status code.-tagResourceResponse-    :: Int -- ^ 'trrsResponseStatus'-    -> TagResourceResponse-tagResourceResponse pResponseStatus_ =-  TagResourceResponse' {_trrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-trrsResponseStatus :: Lens' TagResourceResponse Int-trrsResponseStatus = lens _trrsResponseStatus (\ s a -> s{_trrsResponseStatus = a})--instance NFData TagResourceResponse where
− gen/Network/AWS/CloudHSMv2/Types.hs
@@ -1,173 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.Types--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.CloudHSMv2.Types-    (-    -- * Service Configuration-      cloudHSMv2--    -- * Errors-    , _CloudHSMInternalFailureException-    , _CloudHSMServiceException-    , _CloudHSMInvalidRequestException-    , _CloudHSMAccessDeniedException-    , _CloudHSMResourceNotFoundException--    -- * BackupPolicy-    , BackupPolicy (..)--    -- * BackupState-    , BackupState (..)--    -- * ClusterState-    , ClusterState (..)--    -- * HSMState-    , HSMState (..)--    -- * Backup-    , Backup-    , backup-    , bClusterId-    , bCreateTimestamp-    , bBackupState-    , bBackupId--    -- * Certificates-    , Certificates-    , certificates-    , cManufacturerHardwareCertificate-    , cClusterCSR-    , cHSMCertificate-    , cClusterCertificate-    , cAWSHardwareCertificate--    -- * Cluster-    , Cluster-    , cluster-    , cPreCoPassword-    , cStateMessage-    , cState-    , cSubnetMapping-    , cHSMs-    , cVPCId-    , cSourceBackupId-    , cCertificates-    , cSecurityGroup-    , cClusterId-    , cCreateTimestamp-    , cBackupPolicy-    , cHSMType--    -- * HSM-    , HSM-    , hsm-    , hsmStateMessage-    , hsmState-    , hsmEniId-    , hsmSubnetId-    , hsmAvailabilityZone-    , hsmClusterId-    , hsmEniIP-    , hsmHSMId--    -- * Tag-    , Tag-    , tag-    , tagKey-    , tagValue-    ) where--import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.CloudHSMv2.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2017-04-28@ of the Amazon CloudHSM V2 SDK configuration.-cloudHSMv2 :: Service-cloudHSMv2 =-  Service-    { _svcAbbrev = "CloudHSMv2"-    , _svcSigner = v4-    , _svcPrefix = "cloudhsmv2"-    , _svcVersion = "2017-04-28"-    , _svcEndpoint = defaultEndpoint cloudHSMv2-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseJSONError "CloudHSMv2"-    , _svcRetry = retry-    }-  where-    retry =-      Exponential-        { _retryBase = 5.0e-2-        , _retryGrowth = 2-        , _retryAttempts = 5-        , _retryCheck = check-        }-    check e-      | has (hasCode "ThrottledException" . hasStatus 400) e =-        Just "throttled_exception"-      | has (hasStatus 429) e = Just "too_many_requests"-      | has (hasCode "ThrottlingException" . hasStatus 400) e =-        Just "throttling_exception"-      | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"-      | has (hasStatus 504) e = Just "gateway_timeout"-      | has (hasCode "RequestThrottledException" . hasStatus 400) e =-        Just "request_throttled_exception"-      | has (hasStatus 502) e = Just "bad_gateway"-      | has (hasStatus 503) e = Just "service_unavailable"-      | has (hasStatus 500) e = Just "general_server_error"-      | has (hasStatus 509) e = Just "limit_exceeded"-      | otherwise = Nothing----- | The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.-------_CloudHSMInternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError-_CloudHSMInternalFailureException =-  _MatchServiceError cloudHSMv2 "CloudHsmInternalFailureException"----- | The request was rejected because an error occurred.-------_CloudHSMServiceException :: AsError a => Getting (First ServiceError) a ServiceError-_CloudHSMServiceException =-  _MatchServiceError cloudHSMv2 "CloudHsmServiceException"----- | The request was rejected because it is not a valid request.-------_CloudHSMInvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError-_CloudHSMInvalidRequestException =-  _MatchServiceError cloudHSMv2 "CloudHsmInvalidRequestException"----- | The request was rejected because the requester does not have permission to perform the requested operation.-------_CloudHSMAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError-_CloudHSMAccessDeniedException =-  _MatchServiceError cloudHSMv2 "CloudHsmAccessDeniedException"----- | The request was rejected because it refers to a resource that cannot be found.-------_CloudHSMResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_CloudHSMResourceNotFoundException =-  _MatchServiceError cloudHSMv2 "CloudHsmResourceNotFoundException"-
− gen/Network/AWS/CloudHSMv2/Types/Product.hs
@@ -1,456 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.Types.Product--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.CloudHSMv2.Types.Product where--import Network.AWS.CloudHSMv2.Types.Sum-import Network.AWS.Lens-import Network.AWS.Prelude---- | Contains information about a backup of an AWS CloudHSM cluster.------------ /See:/ 'backup' smart constructor.-data Backup = Backup'-  { _bClusterId       :: !(Maybe Text)-  , _bCreateTimestamp :: !(Maybe POSIX)-  , _bBackupState     :: !(Maybe BackupState)-  , _bBackupId        :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Backup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bClusterId' - The identifier (ID) of the cluster that was backed up.------ * 'bCreateTimestamp' - The date and time when the backup was created.------ * 'bBackupState' - The state of the backup.------ * 'bBackupId' - The identifier (ID) of the backup.-backup-    :: Text -- ^ 'bBackupId'-    -> Backup-backup pBackupId_ =-  Backup'-    { _bClusterId = Nothing-    , _bCreateTimestamp = Nothing-    , _bBackupState = Nothing-    , _bBackupId = pBackupId_-    }----- | The identifier (ID) of the cluster that was backed up.-bClusterId :: Lens' Backup (Maybe Text)-bClusterId = lens _bClusterId (\ s a -> s{_bClusterId = a})---- | The date and time when the backup was created.-bCreateTimestamp :: Lens' Backup (Maybe UTCTime)-bCreateTimestamp = lens _bCreateTimestamp (\ s a -> s{_bCreateTimestamp = a}) . mapping _Time---- | The state of the backup.-bBackupState :: Lens' Backup (Maybe BackupState)-bBackupState = lens _bBackupState (\ s a -> s{_bBackupState = a})---- | The identifier (ID) of the backup.-bBackupId :: Lens' Backup Text-bBackupId = lens _bBackupId (\ s a -> s{_bBackupId = a})--instance FromJSON Backup where-        parseJSON-          = withObject "Backup"-              (\ x ->-                 Backup' <$>-                   (x .:? "ClusterId") <*> (x .:? "CreateTimestamp") <*>-                     (x .:? "BackupState")-                     <*> (x .: "BackupId"))--instance Hashable Backup where--instance NFData Backup where---- | Contains one or more certificates or a certificate signing request (CSR).------------ /See:/ 'certificates' smart constructor.-data Certificates = Certificates'-  { _cManufacturerHardwareCertificate :: !(Maybe Text)-  , _cClusterCSR                      :: !(Maybe Text)-  , _cHSMCertificate                  :: !(Maybe Text)-  , _cClusterCertificate              :: !(Maybe Text)-  , _cAWSHardwareCertificate          :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Certificates' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cManufacturerHardwareCertificate' - The HSM hardware certificate issued (signed) by the hardware manufacturer.------ * 'cClusterCSR' - The cluster's certificate signing request (CSR). The CSR exists only when the cluster's state is @UNINITIALIZED@ .------ * 'cHSMCertificate' - The HSM certificate issued (signed) by the HSM hardware.------ * 'cClusterCertificate' - The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner.------ * 'cAWSHardwareCertificate' - The HSM hardware certificate issued (signed) by AWS CloudHSM.-certificates-    :: Certificates-certificates =-  Certificates'-    { _cManufacturerHardwareCertificate = Nothing-    , _cClusterCSR = Nothing-    , _cHSMCertificate = Nothing-    , _cClusterCertificate = Nothing-    , _cAWSHardwareCertificate = Nothing-    }----- | The HSM hardware certificate issued (signed) by the hardware manufacturer.-cManufacturerHardwareCertificate :: Lens' Certificates (Maybe Text)-cManufacturerHardwareCertificate = lens _cManufacturerHardwareCertificate (\ s a -> s{_cManufacturerHardwareCertificate = a})---- | The cluster's certificate signing request (CSR). The CSR exists only when the cluster's state is @UNINITIALIZED@ .-cClusterCSR :: Lens' Certificates (Maybe Text)-cClusterCSR = lens _cClusterCSR (\ s a -> s{_cClusterCSR = a})---- | The HSM certificate issued (signed) by the HSM hardware.-cHSMCertificate :: Lens' Certificates (Maybe Text)-cHSMCertificate = lens _cHSMCertificate (\ s a -> s{_cHSMCertificate = a})---- | The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner.-cClusterCertificate :: Lens' Certificates (Maybe Text)-cClusterCertificate = lens _cClusterCertificate (\ s a -> s{_cClusterCertificate = a})---- | The HSM hardware certificate issued (signed) by AWS CloudHSM.-cAWSHardwareCertificate :: Lens' Certificates (Maybe Text)-cAWSHardwareCertificate = lens _cAWSHardwareCertificate (\ s a -> s{_cAWSHardwareCertificate = a})--instance FromJSON Certificates where-        parseJSON-          = withObject "Certificates"-              (\ x ->-                 Certificates' <$>-                   (x .:? "ManufacturerHardwareCertificate") <*>-                     (x .:? "ClusterCsr")-                     <*> (x .:? "HsmCertificate")-                     <*> (x .:? "ClusterCertificate")-                     <*> (x .:? "AwsHardwareCertificate"))--instance Hashable Certificates where--instance NFData Certificates where---- | Contains information about an AWS CloudHSM cluster.------------ /See:/ 'cluster' smart constructor.-data Cluster = Cluster'-  { _cPreCoPassword   :: !(Maybe Text)-  , _cStateMessage    :: !(Maybe Text)-  , _cState           :: !(Maybe ClusterState)-  , _cSubnetMapping   :: !(Maybe (Map Text Text))-  , _cHSMs            :: !(Maybe [HSM])-  , _cVPCId           :: !(Maybe Text)-  , _cSourceBackupId  :: !(Maybe Text)-  , _cCertificates    :: !(Maybe Certificates)-  , _cSecurityGroup   :: !(Maybe Text)-  , _cClusterId       :: !(Maybe Text)-  , _cCreateTimestamp :: !(Maybe POSIX)-  , _cBackupPolicy    :: !(Maybe BackupPolicy)-  , _cHSMType         :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Cluster' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cPreCoPassword' - The default password for the cluster's Pre-Crypto Officer (PRECO) user.------ * 'cStateMessage' - A description of the cluster's state.------ * 'cState' - The cluster's state.------ * 'cSubnetMapping' - A map of the cluster's subnets and their corresponding Availability Zones.------ * 'cHSMs' - Contains information about the HSMs in the cluster.------ * 'cVPCId' - The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.------ * 'cSourceBackupId' - The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.------ * 'cCertificates' - Contains one or more certificates or a certificate signing request (CSR).------ * 'cSecurityGroup' - The identifier (ID) of the cluster's security group.------ * 'cClusterId' - The cluster's identifier (ID).------ * 'cCreateTimestamp' - The date and time when the cluster was created.------ * 'cBackupPolicy' - The cluster's backup policy.------ * 'cHSMType' - The type of HSM that the cluster contains.-cluster-    :: Cluster-cluster =-  Cluster'-    { _cPreCoPassword = Nothing-    , _cStateMessage = Nothing-    , _cState = Nothing-    , _cSubnetMapping = Nothing-    , _cHSMs = Nothing-    , _cVPCId = Nothing-    , _cSourceBackupId = Nothing-    , _cCertificates = Nothing-    , _cSecurityGroup = Nothing-    , _cClusterId = Nothing-    , _cCreateTimestamp = Nothing-    , _cBackupPolicy = Nothing-    , _cHSMType = Nothing-    }----- | The default password for the cluster's Pre-Crypto Officer (PRECO) user.-cPreCoPassword :: Lens' Cluster (Maybe Text)-cPreCoPassword = lens _cPreCoPassword (\ s a -> s{_cPreCoPassword = a})---- | A description of the cluster's state.-cStateMessage :: Lens' Cluster (Maybe Text)-cStateMessage = lens _cStateMessage (\ s a -> s{_cStateMessage = a})---- | The cluster's state.-cState :: Lens' Cluster (Maybe ClusterState)-cState = lens _cState (\ s a -> s{_cState = a})---- | A map of the cluster's subnets and their corresponding Availability Zones.-cSubnetMapping :: Lens' Cluster (HashMap Text Text)-cSubnetMapping = lens _cSubnetMapping (\ s a -> s{_cSubnetMapping = a}) . _Default . _Map---- | Contains information about the HSMs in the cluster.-cHSMs :: Lens' Cluster [HSM]-cHSMs = lens _cHSMs (\ s a -> s{_cHSMs = a}) . _Default . _Coerce---- | The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.-cVPCId :: Lens' Cluster (Maybe Text)-cVPCId = lens _cVPCId (\ s a -> s{_cVPCId = a})---- | The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.-cSourceBackupId :: Lens' Cluster (Maybe Text)-cSourceBackupId = lens _cSourceBackupId (\ s a -> s{_cSourceBackupId = a})---- | Contains one or more certificates or a certificate signing request (CSR).-cCertificates :: Lens' Cluster (Maybe Certificates)-cCertificates = lens _cCertificates (\ s a -> s{_cCertificates = a})---- | The identifier (ID) of the cluster's security group.-cSecurityGroup :: Lens' Cluster (Maybe Text)-cSecurityGroup = lens _cSecurityGroup (\ s a -> s{_cSecurityGroup = a})---- | The cluster's identifier (ID).-cClusterId :: Lens' Cluster (Maybe Text)-cClusterId = lens _cClusterId (\ s a -> s{_cClusterId = a})---- | The date and time when the cluster was created.-cCreateTimestamp :: Lens' Cluster (Maybe UTCTime)-cCreateTimestamp = lens _cCreateTimestamp (\ s a -> s{_cCreateTimestamp = a}) . mapping _Time---- | The cluster's backup policy.-cBackupPolicy :: Lens' Cluster (Maybe BackupPolicy)-cBackupPolicy = lens _cBackupPolicy (\ s a -> s{_cBackupPolicy = a})---- | The type of HSM that the cluster contains.-cHSMType :: Lens' Cluster (Maybe Text)-cHSMType = lens _cHSMType (\ s a -> s{_cHSMType = a})--instance FromJSON Cluster where-        parseJSON-          = withObject "Cluster"-              (\ x ->-                 Cluster' <$>-                   (x .:? "PreCoPassword") <*> (x .:? "StateMessage")-                     <*> (x .:? "State")-                     <*> (x .:? "SubnetMapping" .!= mempty)-                     <*> (x .:? "Hsms" .!= mempty)-                     <*> (x .:? "VpcId")-                     <*> (x .:? "SourceBackupId")-                     <*> (x .:? "Certificates")-                     <*> (x .:? "SecurityGroup")-                     <*> (x .:? "ClusterId")-                     <*> (x .:? "CreateTimestamp")-                     <*> (x .:? "BackupPolicy")-                     <*> (x .:? "HsmType"))--instance Hashable Cluster where--instance NFData Cluster where---- | Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster.------------ /See:/ 'hsm' smart constructor.-data HSM = HSM'-  { _hsmStateMessage     :: !(Maybe Text)-  , _hsmState            :: !(Maybe HSMState)-  , _hsmEniId            :: !(Maybe Text)-  , _hsmSubnetId         :: !(Maybe Text)-  , _hsmAvailabilityZone :: !(Maybe Text)-  , _hsmClusterId        :: !(Maybe Text)-  , _hsmEniIP            :: !(Maybe Text)-  , _hsmHSMId            :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'HSM' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'hsmStateMessage' - A description of the HSM's state.------ * 'hsmState' - The HSM's state.------ * 'hsmEniId' - The identifier (ID) of the HSM's elastic network interface (ENI).------ * 'hsmSubnetId' - The subnet that contains the HSM's elastic network interface (ENI).------ * 'hsmAvailabilityZone' - The Availability Zone that contains the HSM.------ * 'hsmClusterId' - The identifier (ID) of the cluster that contains the HSM.------ * 'hsmEniIP' - The IP address of the HSM's elastic network interface (ENI).------ * 'hsmHSMId' - The HSM's identifier (ID).-hsm-    :: Text -- ^ 'hsmHSMId'-    -> HSM-hsm pHSMId_ =-  HSM'-    { _hsmStateMessage = Nothing-    , _hsmState = Nothing-    , _hsmEniId = Nothing-    , _hsmSubnetId = Nothing-    , _hsmAvailabilityZone = Nothing-    , _hsmClusterId = Nothing-    , _hsmEniIP = Nothing-    , _hsmHSMId = pHSMId_-    }----- | A description of the HSM's state.-hsmStateMessage :: Lens' HSM (Maybe Text)-hsmStateMessage = lens _hsmStateMessage (\ s a -> s{_hsmStateMessage = a})---- | The HSM's state.-hsmState :: Lens' HSM (Maybe HSMState)-hsmState = lens _hsmState (\ s a -> s{_hsmState = a})---- | The identifier (ID) of the HSM's elastic network interface (ENI).-hsmEniId :: Lens' HSM (Maybe Text)-hsmEniId = lens _hsmEniId (\ s a -> s{_hsmEniId = a})---- | The subnet that contains the HSM's elastic network interface (ENI).-hsmSubnetId :: Lens' HSM (Maybe Text)-hsmSubnetId = lens _hsmSubnetId (\ s a -> s{_hsmSubnetId = a})---- | The Availability Zone that contains the HSM.-hsmAvailabilityZone :: Lens' HSM (Maybe Text)-hsmAvailabilityZone = lens _hsmAvailabilityZone (\ s a -> s{_hsmAvailabilityZone = a})---- | The identifier (ID) of the cluster that contains the HSM.-hsmClusterId :: Lens' HSM (Maybe Text)-hsmClusterId = lens _hsmClusterId (\ s a -> s{_hsmClusterId = a})---- | The IP address of the HSM's elastic network interface (ENI).-hsmEniIP :: Lens' HSM (Maybe Text)-hsmEniIP = lens _hsmEniIP (\ s a -> s{_hsmEniIP = a})---- | The HSM's identifier (ID).-hsmHSMId :: Lens' HSM Text-hsmHSMId = lens _hsmHSMId (\ s a -> s{_hsmHSMId = a})--instance FromJSON HSM where-        parseJSON-          = withObject "HSM"-              (\ x ->-                 HSM' <$>-                   (x .:? "StateMessage") <*> (x .:? "State") <*>-                     (x .:? "EniId")-                     <*> (x .:? "SubnetId")-                     <*> (x .:? "AvailabilityZone")-                     <*> (x .:? "ClusterId")-                     <*> (x .:? "EniIp")-                     <*> (x .: "HsmId"))--instance Hashable HSM where--instance NFData HSM where---- | Contains a tag. A tag is a key-value pair.------------ /See:/ 'tag' smart constructor.-data Tag = Tag'-  { _tagKey   :: !Text-  , _tagValue :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Tag' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tagKey' - The key of the tag.------ * 'tagValue' - The value of the tag.-tag-    :: Text -- ^ 'tagKey'-    -> Text -- ^ 'tagValue'-    -> Tag-tag pKey_ pValue_ = Tag' {_tagKey = pKey_, _tagValue = pValue_}----- | The key of the tag.-tagKey :: Lens' Tag Text-tagKey = lens _tagKey (\ s a -> s{_tagKey = a})---- | The value of the tag.-tagValue :: Lens' Tag Text-tagValue = lens _tagValue (\ s a -> s{_tagValue = a})--instance FromJSON Tag where-        parseJSON-          = withObject "Tag"-              (\ x -> Tag' <$> (x .: "Key") <*> (x .: "Value"))--instance Hashable Tag where--instance NFData Tag where--instance ToJSON Tag where-        toJSON Tag'{..}-          = object-              (catMaybes-                 [Just ("Key" .= _tagKey),-                  Just ("Value" .= _tagValue)])
− gen/Network/AWS/CloudHSMv2/Types/Sum.hs
@@ -1,158 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.Types.Sum--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.CloudHSMv2.Types.Sum where--import Network.AWS.Prelude--data BackupPolicy =-  Default-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText BackupPolicy where-    parser = takeLowerText >>= \case-        "default" -> pure Default-        e -> fromTextError $ "Failure parsing BackupPolicy from value: '" <> e-           <> "'. Accepted values: default"--instance ToText BackupPolicy where-    toText = \case-        Default -> "DEFAULT"--instance Hashable     BackupPolicy-instance NFData       BackupPolicy-instance ToByteString BackupPolicy-instance ToQuery      BackupPolicy-instance ToHeader     BackupPolicy--instance FromJSON BackupPolicy where-    parseJSON = parseJSONText "BackupPolicy"--data BackupState-  = BSCreateInProgress-  | BSDeleted-  | BSReady-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText BackupState where-    parser = takeLowerText >>= \case-        "create_in_progress" -> pure BSCreateInProgress-        "deleted" -> pure BSDeleted-        "ready" -> pure BSReady-        e -> fromTextError $ "Failure parsing BackupState from value: '" <> e-           <> "'. Accepted values: create_in_progress, deleted, ready"--instance ToText BackupState where-    toText = \case-        BSCreateInProgress -> "CREATE_IN_PROGRESS"-        BSDeleted -> "DELETED"-        BSReady -> "READY"--instance Hashable     BackupState-instance NFData       BackupState-instance ToByteString BackupState-instance ToQuery      BackupState-instance ToHeader     BackupState--instance FromJSON BackupState where-    parseJSON = parseJSONText "BackupState"--data ClusterState-  = Active-  | CreateInProgress-  | Degraded-  | DeleteInProgress-  | Deleted-  | InitializeInProgress-  | Initialized-  | Uninitialized-  | UpdateInProgress-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText ClusterState where-    parser = takeLowerText >>= \case-        "active" -> pure Active-        "create_in_progress" -> pure CreateInProgress-        "degraded" -> pure Degraded-        "delete_in_progress" -> pure DeleteInProgress-        "deleted" -> pure Deleted-        "initialize_in_progress" -> pure InitializeInProgress-        "initialized" -> pure Initialized-        "uninitialized" -> pure Uninitialized-        "update_in_progress" -> pure UpdateInProgress-        e -> fromTextError $ "Failure parsing ClusterState from value: '" <> e-           <> "'. Accepted values: active, create_in_progress, degraded, delete_in_progress, deleted, initialize_in_progress, initialized, uninitialized, update_in_progress"--instance ToText ClusterState where-    toText = \case-        Active -> "ACTIVE"-        CreateInProgress -> "CREATE_IN_PROGRESS"-        Degraded -> "DEGRADED"-        DeleteInProgress -> "DELETE_IN_PROGRESS"-        Deleted -> "DELETED"-        InitializeInProgress -> "INITIALIZE_IN_PROGRESS"-        Initialized -> "INITIALIZED"-        Uninitialized -> "UNINITIALIZED"-        UpdateInProgress -> "UPDATE_IN_PROGRESS"--instance Hashable     ClusterState-instance NFData       ClusterState-instance ToByteString ClusterState-instance ToQuery      ClusterState-instance ToHeader     ClusterState--instance FromJSON ClusterState where-    parseJSON = parseJSONText "ClusterState"--data HSMState-  = HSActive-  | HSCreateInProgress-  | HSDegraded-  | HSDeleteInProgress-  | HSDeleted-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText HSMState where-    parser = takeLowerText >>= \case-        "active" -> pure HSActive-        "create_in_progress" -> pure HSCreateInProgress-        "degraded" -> pure HSDegraded-        "delete_in_progress" -> pure HSDeleteInProgress-        "deleted" -> pure HSDeleted-        e -> fromTextError $ "Failure parsing HSMState from value: '" <> e-           <> "'. Accepted values: active, create_in_progress, degraded, delete_in_progress, deleted"--instance ToText HSMState where-    toText = \case-        HSActive -> "ACTIVE"-        HSCreateInProgress -> "CREATE_IN_PROGRESS"-        HSDegraded -> "DEGRADED"-        HSDeleteInProgress -> "DELETE_IN_PROGRESS"-        HSDeleted -> "DELETED"--instance Hashable     HSMState-instance NFData       HSMState-instance ToByteString HSMState-instance ToQuery      HSMState-instance ToHeader     HSMState--instance FromJSON HSMState where-    parseJSON = parseJSONText "HSMState"
− gen/Network/AWS/CloudHSMv2/UntagResource.hs
@@ -1,134 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.UntagResource--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Removes the specified tag or tags from the specified AWS CloudHSM cluster.-------module Network.AWS.CloudHSMv2.UntagResource-    (-    -- * Creating a Request-      untagResource-    , UntagResource-    -- * Request Lenses-    , urResourceId-    , urTagKeyList--    -- * Destructuring the Response-    , untagResourceResponse-    , UntagResourceResponse-    -- * Response Lenses-    , urrsResponseStatus-    ) where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.CloudHSMv2.Types.Product-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'untagResource' smart constructor.-data UntagResource = UntagResource'-  { _urResourceId :: !Text-  , _urTagKeyList :: !(List1 Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UntagResource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'urResourceId' - The cluster identifier (ID) for the cluster whose tags you are removing. To find the cluster ID, use 'DescribeClusters' .------ * 'urTagKeyList' - A list of one or more tag keys for the tags that you are removing. Specify only the tag keys, not the tag values.-untagResource-    :: Text -- ^ 'urResourceId'-    -> NonEmpty Text -- ^ 'urTagKeyList'-    -> UntagResource-untagResource pResourceId_ pTagKeyList_ =-  UntagResource'-    {_urResourceId = pResourceId_, _urTagKeyList = _List1 # pTagKeyList_}----- | The cluster identifier (ID) for the cluster whose tags you are removing. To find the cluster ID, use 'DescribeClusters' .-urResourceId :: Lens' UntagResource Text-urResourceId = lens _urResourceId (\ s a -> s{_urResourceId = a})---- | A list of one or more tag keys for the tags that you are removing. Specify only the tag keys, not the tag values.-urTagKeyList :: Lens' UntagResource (NonEmpty Text)-urTagKeyList = lens _urTagKeyList (\ s a -> s{_urTagKeyList = a}) . _List1--instance AWSRequest UntagResource where-        type Rs UntagResource = UntagResourceResponse-        request = postJSON cloudHSMv2-        response-          = receiveEmpty-              (\ s h x ->-                 UntagResourceResponse' <$> (pure (fromEnum s)))--instance Hashable UntagResource where--instance NFData UntagResource where--instance ToHeaders UntagResource where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("BaldrApiService.UntagResource" :: ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UntagResource where-        toJSON UntagResource'{..}-          = object-              (catMaybes-                 [Just ("ResourceId" .= _urResourceId),-                  Just ("TagKeyList" .= _urTagKeyList)])--instance ToPath UntagResource where-        toPath = const "/"--instance ToQuery UntagResource where-        toQuery = const mempty---- | /See:/ 'untagResourceResponse' smart constructor.-newtype UntagResourceResponse = UntagResourceResponse'-  { _urrsResponseStatus :: Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UntagResourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'urrsResponseStatus' - -- | The response status code.-untagResourceResponse-    :: Int -- ^ 'urrsResponseStatus'-    -> UntagResourceResponse-untagResourceResponse pResponseStatus_ =-  UntagResourceResponse' {_urrsResponseStatus = pResponseStatus_}----- | -- | The response status code.-urrsResponseStatus :: Lens' UntagResourceResponse Int-urrsResponseStatus = lens _urrsResponseStatus (\ s a -> s{_urrsResponseStatus = a})--instance NFData UntagResourceResponse where
− gen/Network/AWS/CloudHSMv2/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies      #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.CloudHSMv2.Waiters--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.CloudHSMv2.Waiters where--import Network.AWS.CloudHSMv2.Types-import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2018 Brendan Hay+-- Copyright   : (c) 2013-2023 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer  : Brendan Hay -- Stability   : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.CloudHSMV2+import Test.Amazonka.CloudHSMV2.Internal import Test.Tasty-import Test.AWS.CloudHSMv2-import Test.AWS.CloudHSMv2.Internal  main :: IO ()-main = defaultMain $ testGroup "CloudHSMv2"-    [ testGroup "tests"    tests-    , testGroup "fixtures" fixtures-    ]+main =+  defaultMain $+    testGroup+      "CloudHSMV2"+      [ testGroup "tests" tests,+        testGroup "fixtures" fixtures+      ]
− test/Test/AWS/CloudHSMv2.hs
@@ -1,20 +0,0 @@--- |--- Module      : Test.AWS.CloudHSMv2--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.CloudHSMv2-    ( tests-    , fixtures-    ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/CloudHSMv2/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module      : Test.AWS.CloudHSMv2.Internal--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.CloudHSMv2.Internal where
− test/Test/AWS/Gen/CloudHSMv2.hs
@@ -1,219 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans        #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Test.AWS.Gen.CloudHSMv2--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.CloudHSMv2 where--import Data.Proxy-import Network.AWS.CloudHSMv2-import Test.AWS.CloudHSMv2.Internal-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =---     [ testGroup "request"---         [ requestDescribeClusters $---             describeClusters------         , requestInitializeCluster $---             initializeCluster------         , requestCreateHSM $---             createHSM------         , requestDescribeBackups $---             describeBackups------         , requestDeleteCluster $---             deleteCluster------         , requestCreateCluster $---             createCluster------         , requestDeleteHSM $---             deleteHSM------         , requestTagResource $---             tagResource------         , requestListTags $---             listTags------         , requestUntagResource $---             untagResource------           ]----     , testGroup "response"---         [ responseDescribeClusters $---             describeClustersResponse------         , responseInitializeCluster $---             initializeClusterResponse------         , responseCreateHSM $---             createHSMResponse------         , responseDescribeBackups $---             describeBackupsResponse------         , responseDeleteCluster $---             deleteClusterResponse------         , responseCreateCluster $---             createClusterResponse------         , responseDeleteHSM $---             deleteHSMResponse------         , responseTagResource $---             tagResourceResponse------         , responseListTags $---             listTagsResponse------         , responseUntagResource $---             untagResourceResponse------           ]---     ]---- Requests--requestDescribeClusters :: DescribeClusters -> TestTree-requestDescribeClusters = req-    "DescribeClusters"-    "fixture/DescribeClusters.yaml"--requestInitializeCluster :: InitializeCluster -> TestTree-requestInitializeCluster = req-    "InitializeCluster"-    "fixture/InitializeCluster.yaml"--requestCreateHSM :: CreateHSM -> TestTree-requestCreateHSM = req-    "CreateHSM"-    "fixture/CreateHSM.yaml"--requestDescribeBackups :: DescribeBackups -> TestTree-requestDescribeBackups = req-    "DescribeBackups"-    "fixture/DescribeBackups.yaml"--requestDeleteCluster :: DeleteCluster -> TestTree-requestDeleteCluster = req-    "DeleteCluster"-    "fixture/DeleteCluster.yaml"--requestCreateCluster :: CreateCluster -> TestTree-requestCreateCluster = req-    "CreateCluster"-    "fixture/CreateCluster.yaml"--requestDeleteHSM :: DeleteHSM -> TestTree-requestDeleteHSM = req-    "DeleteHSM"-    "fixture/DeleteHSM.yaml"--requestTagResource :: TagResource -> TestTree-requestTagResource = req-    "TagResource"-    "fixture/TagResource.yaml"--requestListTags :: ListTags -> TestTree-requestListTags = req-    "ListTags"-    "fixture/ListTags.yaml"--requestUntagResource :: UntagResource -> TestTree-requestUntagResource = req-    "UntagResource"-    "fixture/UntagResource.yaml"---- Responses--responseDescribeClusters :: DescribeClustersResponse -> TestTree-responseDescribeClusters = res-    "DescribeClustersResponse"-    "fixture/DescribeClustersResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy DescribeClusters)--responseInitializeCluster :: InitializeClusterResponse -> TestTree-responseInitializeCluster = res-    "InitializeClusterResponse"-    "fixture/InitializeClusterResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy InitializeCluster)--responseCreateHSM :: CreateHSMResponse -> TestTree-responseCreateHSM = res-    "CreateHSMResponse"-    "fixture/CreateHSMResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy CreateHSM)--responseDescribeBackups :: DescribeBackupsResponse -> TestTree-responseDescribeBackups = res-    "DescribeBackupsResponse"-    "fixture/DescribeBackupsResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy DescribeBackups)--responseDeleteCluster :: DeleteClusterResponse -> TestTree-responseDeleteCluster = res-    "DeleteClusterResponse"-    "fixture/DeleteClusterResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy DeleteCluster)--responseCreateCluster :: CreateClusterResponse -> TestTree-responseCreateCluster = res-    "CreateClusterResponse"-    "fixture/CreateClusterResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy CreateCluster)--responseDeleteHSM :: DeleteHSMResponse -> TestTree-responseDeleteHSM = res-    "DeleteHSMResponse"-    "fixture/DeleteHSMResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy DeleteHSM)--responseTagResource :: TagResourceResponse -> TestTree-responseTagResource = res-    "TagResourceResponse"-    "fixture/TagResourceResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy TagResource)--responseListTags :: ListTagsResponse -> TestTree-responseListTags = res-    "ListTagsResponse"-    "fixture/ListTagsResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy ListTags)--responseUntagResource :: UntagResourceResponse -> TestTree-responseUntagResource = res-    "UntagResourceResponse"-    "fixture/UntagResourceResponse.proto"-    cloudHSMv2-    (Proxy :: Proxy UntagResource)
+ test/Test/Amazonka/CloudHSMV2.hs view
@@ -0,0 +1,20 @@+-- |+-- Module      : Test.Amazonka.CloudHSMV2+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.CloudHSMV2+  ( tests,+    fixtures,+  )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/CloudHSMV2/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module      : Test.Amazonka.CloudHSMV2.Internal+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.CloudHSMV2.Internal where
+ test/Test/Amazonka/Gen/CloudHSMV2.hs view
@@ -0,0 +1,338 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Test.Amazonka.Gen.CloudHSMV2+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.CloudHSMV2 where++import Amazonka.CloudHSMV2+import qualified Data.Proxy as Proxy+import Test.Amazonka.CloudHSMV2.Internal+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+--     [ testGroup "request"+--         [ requestCopyBackupToRegion $+--             newCopyBackupToRegion+--+--         , requestCreateCluster $+--             newCreateCluster+--+--         , requestCreateHsm $+--             newCreateHsm+--+--         , requestDeleteBackup $+--             newDeleteBackup+--+--         , requestDeleteCluster $+--             newDeleteCluster+--+--         , requestDeleteHsm $+--             newDeleteHsm+--+--         , requestDescribeBackups $+--             newDescribeBackups+--+--         , requestDescribeClusters $+--             newDescribeClusters+--+--         , requestInitializeCluster $+--             newInitializeCluster+--+--         , requestListTags $+--             newListTags+--+--         , requestModifyBackupAttributes $+--             newModifyBackupAttributes+--+--         , requestModifyCluster $+--             newModifyCluster+--+--         , requestRestoreBackup $+--             newRestoreBackup+--+--         , requestTagResource $+--             newTagResource+--+--         , requestUntagResource $+--             newUntagResource+--+--           ]++--     , testGroup "response"+--         [ responseCopyBackupToRegion $+--             newCopyBackupToRegionResponse+--+--         , responseCreateCluster $+--             newCreateClusterResponse+--+--         , responseCreateHsm $+--             newCreateHsmResponse+--+--         , responseDeleteBackup $+--             newDeleteBackupResponse+--+--         , responseDeleteCluster $+--             newDeleteClusterResponse+--+--         , responseDeleteHsm $+--             newDeleteHsmResponse+--+--         , responseDescribeBackups $+--             newDescribeBackupsResponse+--+--         , responseDescribeClusters $+--             newDescribeClustersResponse+--+--         , responseInitializeCluster $+--             newInitializeClusterResponse+--+--         , responseListTags $+--             newListTagsResponse+--+--         , responseModifyBackupAttributes $+--             newModifyBackupAttributesResponse+--+--         , responseModifyCluster $+--             newModifyClusterResponse+--+--         , responseRestoreBackup $+--             newRestoreBackupResponse+--+--         , responseTagResource $+--             newTagResourceResponse+--+--         , responseUntagResource $+--             newUntagResourceResponse+--+--           ]+--     ]++-- Requests++requestCopyBackupToRegion :: CopyBackupToRegion -> TestTree+requestCopyBackupToRegion =+  req+    "CopyBackupToRegion"+    "fixture/CopyBackupToRegion.yaml"++requestCreateCluster :: CreateCluster -> TestTree+requestCreateCluster =+  req+    "CreateCluster"+    "fixture/CreateCluster.yaml"++requestCreateHsm :: CreateHsm -> TestTree+requestCreateHsm =+  req+    "CreateHsm"+    "fixture/CreateHsm.yaml"++requestDeleteBackup :: DeleteBackup -> TestTree+requestDeleteBackup =+  req+    "DeleteBackup"+    "fixture/DeleteBackup.yaml"++requestDeleteCluster :: DeleteCluster -> TestTree+requestDeleteCluster =+  req+    "DeleteCluster"+    "fixture/DeleteCluster.yaml"++requestDeleteHsm :: DeleteHsm -> TestTree+requestDeleteHsm =+  req+    "DeleteHsm"+    "fixture/DeleteHsm.yaml"++requestDescribeBackups :: DescribeBackups -> TestTree+requestDescribeBackups =+  req+    "DescribeBackups"+    "fixture/DescribeBackups.yaml"++requestDescribeClusters :: DescribeClusters -> TestTree+requestDescribeClusters =+  req+    "DescribeClusters"+    "fixture/DescribeClusters.yaml"++requestInitializeCluster :: InitializeCluster -> TestTree+requestInitializeCluster =+  req+    "InitializeCluster"+    "fixture/InitializeCluster.yaml"++requestListTags :: ListTags -> TestTree+requestListTags =+  req+    "ListTags"+    "fixture/ListTags.yaml"++requestModifyBackupAttributes :: ModifyBackupAttributes -> TestTree+requestModifyBackupAttributes =+  req+    "ModifyBackupAttributes"+    "fixture/ModifyBackupAttributes.yaml"++requestModifyCluster :: ModifyCluster -> TestTree+requestModifyCluster =+  req+    "ModifyCluster"+    "fixture/ModifyCluster.yaml"++requestRestoreBackup :: RestoreBackup -> TestTree+requestRestoreBackup =+  req+    "RestoreBackup"+    "fixture/RestoreBackup.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+  req+    "TagResource"+    "fixture/TagResource.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+  req+    "UntagResource"+    "fixture/UntagResource.yaml"++-- Responses++responseCopyBackupToRegion :: CopyBackupToRegionResponse -> TestTree+responseCopyBackupToRegion =+  res+    "CopyBackupToRegionResponse"+    "fixture/CopyBackupToRegionResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CopyBackupToRegion)++responseCreateCluster :: CreateClusterResponse -> TestTree+responseCreateCluster =+  res+    "CreateClusterResponse"+    "fixture/CreateClusterResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateCluster)++responseCreateHsm :: CreateHsmResponse -> TestTree+responseCreateHsm =+  res+    "CreateHsmResponse"+    "fixture/CreateHsmResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateHsm)++responseDeleteBackup :: DeleteBackupResponse -> TestTree+responseDeleteBackup =+  res+    "DeleteBackupResponse"+    "fixture/DeleteBackupResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteBackup)++responseDeleteCluster :: DeleteClusterResponse -> TestTree+responseDeleteCluster =+  res+    "DeleteClusterResponse"+    "fixture/DeleteClusterResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteCluster)++responseDeleteHsm :: DeleteHsmResponse -> TestTree+responseDeleteHsm =+  res+    "DeleteHsmResponse"+    "fixture/DeleteHsmResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteHsm)++responseDescribeBackups :: DescribeBackupsResponse -> TestTree+responseDescribeBackups =+  res+    "DescribeBackupsResponse"+    "fixture/DescribeBackupsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeBackups)++responseDescribeClusters :: DescribeClustersResponse -> TestTree+responseDescribeClusters =+  res+    "DescribeClustersResponse"+    "fixture/DescribeClustersResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeClusters)++responseInitializeCluster :: InitializeClusterResponse -> TestTree+responseInitializeCluster =+  res+    "InitializeClusterResponse"+    "fixture/InitializeClusterResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy InitializeCluster)++responseListTags :: ListTagsResponse -> TestTree+responseListTags =+  res+    "ListTagsResponse"+    "fixture/ListTagsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListTags)++responseModifyBackupAttributes :: ModifyBackupAttributesResponse -> TestTree+responseModifyBackupAttributes =+  res+    "ModifyBackupAttributesResponse"+    "fixture/ModifyBackupAttributesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ModifyBackupAttributes)++responseModifyCluster :: ModifyClusterResponse -> TestTree+responseModifyCluster =+  res+    "ModifyClusterResponse"+    "fixture/ModifyClusterResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ModifyCluster)++responseRestoreBackup :: RestoreBackupResponse -> TestTree+responseRestoreBackup =+  res+    "RestoreBackupResponse"+    "fixture/RestoreBackupResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy RestoreBackup)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+  res+    "TagResourceResponse"+    "fixture/TagResourceResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy TagResource)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+  res+    "UntagResourceResponse"+    "fixture/UntagResourceResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UntagResource)