fn initialize_cluster(
        &self,
        input: InitializeClusterRequest,
    ) -> RusotoFuture<InitializeClusterResponse, InitializeClusterError> {
        let mut request = SignedRequest::new("POST", "cloudhsm", &self.region, "/");
        request.set_endpoint_prefix("cloudhsmv2".to_string());
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "BaldrApiService.InitializeCluster");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    proto::json::ResponsePayload::new(&response)
                        .deserialize::<InitializeClusterResponse, _>()
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(InitializeClusterError::from_response(response))),
                )
            }
        })
    }
/// <p>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 <a>DescribeClusters</a>.</p>
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.
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 .
fn initialize_cluster(
        &self,
        input: InitializeClusterRequest,
    ) -> RusotoFuture<InitializeClusterResponse, InitializeClusterError> {
        let mut request = SignedRequest::new("POST", "cloudhsm", &self.region, "/");
        request.set_endpoint_prefix("cloudhsmv2".to_string());
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "BaldrApiService.InitializeCluster");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    proto::json::ResponsePayload::new(&response)
                        .deserialize::<InitializeClusterResponse, _>()
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(InitializeClusterError::from_response(response))),
                )
            }
        })
    }
fn initialize_cluster ( & self , input : InitializeClusterRequest , ) -> RusotoFuture < InitializeClusterResponse , InitializeClusterError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_endpoint_prefix ( " " . to_string ( ) ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < InitializeClusterResponse , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( InitializeClusterError :: from_response ( response ) ) ) , ) } } ) }
<p>Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate.
<p > Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority ( CA ) and the CA ' s root certificate .
&self
input
InitializeClusterRequest