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

*****************
start_cis_session
*****************



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

  

  Starts a CIS session. 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/StartCisSession>`_  


  **Request Syntax**
  ::

    response = client.start_cis_session(
        scanJobId='string',
        message={
            'sessionToken': 'string'
        }
    )
    
  :type scanJobId: string
  :param scanJobId: **[REQUIRED]** 

    A unique identifier for the scan job.

    

  
  :type message: dict
  :param message: **[REQUIRED]** 

    The start CIS session message.

    

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

      The unique token that identifies the CIS session.

      

    
  
  
  :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`

  