:doc:`Inspector2 <../../inspector2>` / Client / send_cis_session_telemetry

**************************
send_cis_session_telemetry
**************************



.. py:method:: Inspector2.Client.send_cis_session_telemetry(**kwargs)

  

  Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SendCisSessionTelemetry>`_  


  **Request Syntax**
  ::

    response = client.send_cis_session_telemetry(
        scanJobId='string',
        sessionToken='string',
        messages=[
            {
                'ruleId': 'string',
                'status': 'FAILED'|'PASSED'|'NOT_EVALUATED'|'INFORMATIONAL'|'UNKNOWN'|'NOT_APPLICABLE'|'ERROR',
                'cisRuleDetails': b'bytes'
            },
        ]
    )
    
  :type scanJobId: string
  :param scanJobId: **[REQUIRED]** 

    A unique identifier for the scan job.

    

  
  :type sessionToken: string
  :param sessionToken: **[REQUIRED]** 

    The unique token that identifies the CIS session.

    

  
  :type messages: list
  :param messages: **[REQUIRED]** 

    The CIS session telemetry messages.

    

  
    - *(dict) --* 

      The CIS session message.

      

    
      - **ruleId** *(string) --* **[REQUIRED]** 

        The rule ID for the CIS session message.

        

      
      - **status** *(string) --* **[REQUIRED]** 

        The status of the CIS session message.

        

      
      - **cisRuleDetails** *(bytes) --* **[REQUIRED]** 

        The CIS rule details for the CIS session message.

        

      
    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Inspector2.Client.exceptions.ConflictException`

  
  *   :py:class:`Inspector2.Client.exceptions.ValidationException`

  
  *   :py:class:`Inspector2.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Inspector2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Inspector2.Client.exceptions.InternalServerException`

  