Inspector2 / Client / start_cis_session
start_cis_session#
- 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
Request Syntax
response = client.start_cis_session( message={ 'sessionToken': 'string' }, scanJobId='string' )
- Parameters:
message (dict) –
[REQUIRED]
The start CIS session message.
sessionToken (string) – [REQUIRED]
The unique token that identifies the CIS session.
scanJobId (string) –
[REQUIRED]
A unique identifier for the scan job.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Inspector2.Client.exceptions.ConflictException
Inspector2.Client.exceptions.ValidationException
Inspector2.Client.exceptions.AccessDeniedException
Inspector2.Client.exceptions.ThrottlingException
Inspector2.Client.exceptions.InternalServerException