Copyright | (c) 2013-2017 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) |
Safe Haskell | None |
Language | Haskell2010 |
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
.
- initializeCluster :: Text -> Text -> Text -> InitializeCluster
- data InitializeCluster
- icClusterId :: Lens' InitializeCluster Text
- icSignedCert :: Lens' InitializeCluster Text
- icTrustAnchor :: Lens' InitializeCluster Text
- initializeClusterResponse :: Int -> InitializeClusterResponse
- data InitializeClusterResponse
- icrsStateMessage :: Lens' InitializeClusterResponse (Maybe Text)
- icrsState :: Lens' InitializeClusterResponse (Maybe ClusterState)
- icrsResponseStatus :: Lens' InitializeClusterResponse Int
Creating a Request
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, useDescribeClusters
.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.
data InitializeCluster Source #
See: initializeCluster
smart constructor.
Request Lenses
icClusterId :: Lens' InitializeCluster Text Source #
The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters
.
icSignedCert :: Lens' InitializeCluster Text Source #
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 :: Lens' InitializeCluster Text Source #
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.
Destructuring the Response
initializeClusterResponse Source #
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.
data InitializeClusterResponse Source #
See: initializeClusterResponse
smart constructor.
Response Lenses
icrsStateMessage :: Lens' InitializeClusterResponse (Maybe Text) Source #
A description of the cluster's state.
icrsState :: Lens' InitializeClusterResponse (Maybe ClusterState) Source #
The cluster's state.
icrsResponseStatus :: Lens' InitializeClusterResponse Int Source #
- - | The response status code.