SecurityIncidentResponse / Client / list_case_edits

list_case_edits

SecurityIncidentResponse.Client.list_case_edits(**kwargs)

Views the case history for edits made to a designated case.

See also: AWS API Documentation

Request Syntax

response = client.list_case_edits(
    nextToken='string',
    maxResults=123,
    caseId='string'
)
Parameters:
  • nextToken (string) – An optional string that, if supplied, must be copied from the output of a previous call to ListCaseEdits. When provided in this manner, the API fetches the next page of results.

  • maxResults (integer) – Optional element to identify how many results to obtain. There is a maximum value of 25.

  • caseId (string) –

    [REQUIRED]

    Required element used with ListCaseEdits to identify the case to query.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'items': [
        {
            'eventTimestamp': datetime(2015, 1, 1),
            'principal': 'string',
            'action': 'string',
            'message': 'string'
        },
    ],
    'total': 123
}

Response Structure

  • (dict) –

    • nextToken (string) –

      An optional string that, if supplied on subsequent calls to ListCaseEdits, allows the API to fetch the next page of results.

    • items (list) –

      Response element for ListCaseEdits that includes the action, event timestamp, message, and principal for the response.

      • (dict) –

        • eventTimestamp (datetime) –

        • principal (string) –

        • action (string) –

        • message (string) –

    • total (integer) –

      Response element for ListCaseEdits that identifies the total number of edits.

Exceptions