/// <p> Returns the current status of an existing association or disassociation request. </p> <p> A <code>ResourceNotFoundException</code> is thrown when no recent association or disassociation request with the specified token is found, or when the server does not exist. A <code>ValidationException</code> is raised when parameters of the request are not valid. </p>
 Returns the current status of an existing association or disassociation request.   A ResourceNotFoundException is thrown when no recent association or disassociation request with the specified token is found, or when the server does not exist. A ValidationException is raised when parameters of the request are not valid.
Returns the current status of an existing association or disassociation request . A ResourceNotFoundException is thrown when no recent association or disassociation request with the specified token is found or when the server does not exist . A ValidationException is raised when parameters of the request are not valid .
fn describe_node_association_status(
        &self,
        input: DescribeNodeAssociationStatusRequest,
    ) -> RusotoFuture<DescribeNodeAssociationStatusResponse, DescribeNodeAssociationStatusError>
    {
        let mut request = SignedRequest::new("POST", "opsworks-cm", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header(
            "x-amz-target",
            "OpsWorksCM_V2016_11_01.DescribeNodeAssociationStatus",
        );
        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::<DescribeNodeAssociationStatusResponse, _>()
                }))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DescribeNodeAssociationStatusError::from_response(response))
                }))
            }
        })
    }
fn describe_node_association_status ( & self , input : DescribeNodeAssociationStatusRequest , ) -> RusotoFuture < DescribeNodeAssociationStatusResponse , DescribeNodeAssociationStatusError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; 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 :: < DescribeNodeAssociationStatusResponse , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( DescribeNodeAssociationStatusError :: from_response ( response ) ) } ) ) } } ) }
<p> Returns the current status of an existing association or disassociation request.
<p > Returns the current status of an existing association or disassociation request .
&self
<not_specific>
input
DescribeNodeAssociationStatusRequest
<not_specific>