fn describe_instance_information(
        &self,
        input: DescribeInstanceInformationRequest,
    ) -> RusotoFuture<DescribeInstanceInformationResult, DescribeInstanceInformationError> {
        let mut request = SignedRequest::new("POST", "ssm", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "AmazonSSM.DescribeInstanceInformation");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().map(|response| {
                    let mut body = response.body;

                    if body.is_empty() || body == b"null" {
                        body = b"{}".to_vec();
                    }

                    serde_json::from_str::<DescribeInstanceInformationResult>(
                        String::from_utf8_lossy(body.as_ref()).as_ref(),
                    )
                    .unwrap()
                }))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DescribeInstanceInformationError::from_response(response))
                }))
            }
        })
    }
/// <p><p>Describes one or more of your instances. You can use this to get information about instances like the operating system platform, the SSM Agent version (Linux), status etc. If you specify one or more instance IDs, it returns information for those instances. If you do not specify instance IDs, it returns information for all your instances. If you specify an instance ID that is not valid or an instance that you do not own, you receive an error. </p> <note> <p>The IamRole field for this API action is the Amazon Identity and Access Management (IAM) role assigned to on-premises instances. This call does not return the IAM role for Amazon EC2 instances.</p> </note></p>
Describes one or more of your instances. You can use this to get information about instances like the operating system platform, the SSM Agent version (Linux), status etc. If you specify one or more instance IDs, it returns information for those instances. If you do not specify instance IDs, it returns information for all your instances. If you specify an instance ID that is not valid or an instance that you do not own, you receive an error.   The IamRole field for this API action is the Amazon Identity and Access Management (IAM) role assigned to on-premises instances. This call does not return the IAM role for Amazon EC2 instances. 
Describes one or more of your instances . You can use this to get information about instances like the operating system platform the SSM Agent version ( Linux ) status etc . If you specify one or more instance IDs it returns information for those instances . If you do not specify instance IDs it returns information for all your instances . If you specify an instance ID that is not valid or an instance that you do not own you receive an error . The IamRole field for this API action is the Amazon Identity and Access Management ( IAM ) role assigned to on - premises instances . This call does not return the IAM role for Amazon EC2 instances .
fn describe_instance_information(
        &self,
        input: DescribeInstanceInformationRequest,
    ) -> RusotoFuture<DescribeInstanceInformationResult, DescribeInstanceInformationError> {
        let mut request = SignedRequest::new("POST", "ssm", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "AmazonSSM.DescribeInstanceInformation");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().map(|response| {
                    let mut body = response.body;
                    if body.is_empty() || body == b"null" {
                        body = b"{}".to_vec();
                    }
                    serde_json::from_str::<DescribeInstanceInformationResult>(
                        String::from_utf8_lossy(body.as_ref()).as_ref(),
                    )
                    .unwrap()
                }))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DescribeInstanceInformationError::from_response(response))
                }))
            }
        })
    }
fn describe_instance_information ( & self , input : DescribeInstanceInformationRequest , ) -> RusotoFuture < DescribeInstanceInformationResult , DescribeInstanceInformationError > { 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 . into_bytes ( ) ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . map ( | response | { let mut body = response . body ; if body . is_empty ( ) || body == b" " { body = b" " . to_vec ( ) ; } serde_json :: from_str :: < DescribeInstanceInformationResult > ( String :: from_utf8_lossy ( body . as_ref ( ) ) . as_ref ( ) , ) . unwrap ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( DescribeInstanceInformationError :: from_response ( response ) ) } ) ) } } ) }
<p><p>Describes one or more of your instances.
<p > <p > Describes one or more of your instances .
&self
input
DescribeInstanceInformationRequest
&self
input
DescribeInstanceInformationRequest