SecurityIncidentResponse / Client / list_cases
list_cases#
- SecurityIncidentResponse.Client.list_cases(**kwargs)#
Grants permission to list all cases the requester has access to.
See also: AWS API Documentation
Request Syntax
response = client.list_cases( nextToken='string', maxResults=123 )
- Parameters:
nextToken (string) – Optional element.
maxResults (integer) – Optional element for ListCases to limit the number of responses.
- Return type:
dict
- Returns:
Response Syntax
{ 'nextToken': 'string', 'items': [ { 'caseId': 'string', 'lastUpdatedDate': datetime(2015, 1, 1), 'title': 'string', 'caseArn': 'string', 'engagementType': 'Security Incident'|'Investigation', 'caseStatus': 'Submitted'|'Acknowledged'|'Detection and Analysis'|'Containment, Eradication and Recovery'|'Post-incident Activities'|'Ready to Close'|'Closed', 'createdDate': datetime(2015, 1, 1), 'closedDate': datetime(2015, 1, 1), 'resolverType': 'AWS'|'Self', 'pendingAction': 'Customer'|'None' }, ], 'total': 123 }
Response Structure
(dict) –
nextToken (string) –
Optional element.
items (list) –
Response element for ListCases that includes caseARN, caseID, caseStatus, closedDate, createdDate, engagementType, lastUpdatedDate, pendingAction, resolverType, and title for each response.
(dict) –
caseId (string) –
lastUpdatedDate (datetime) –
title (string) –
caseArn (string) –
engagementType (string) –
caseStatus (string) –
createdDate (datetime) –
closedDate (datetime) –
resolverType (string) –
pendingAction (string) –
total (integer) –
Response element for ListCases providing the total number of responses.
Exceptions
SecurityIncidentResponse.Client.exceptions.ServiceQuotaExceededException
SecurityIncidentResponse.Client.exceptions.AccessDeniedException
SecurityIncidentResponse.Client.exceptions.ValidationException
SecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveException
SecurityIncidentResponse.Client.exceptions.InternalServerException
SecurityIncidentResponse.Client.exceptions.ConflictException
SecurityIncidentResponse.Client.exceptions.ResourceNotFoundException
SecurityIncidentResponse.Client.exceptions.ThrottlingException
SecurityIncidentResponse.Client.exceptions.InvalidTokenException