SSMIncidents / Client / list_incident_findings

list_incident_findings#

SSMIncidents.Client.list_incident_findings(**kwargs)#

Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident. A finding represents a recent application environment change made by an CloudFormation stack creation or update or an CodeDeploy deployment that can be investigated as a potential cause of the incident.

See also: AWS API Documentation

Request Syntax

response = client.list_incident_findings(
    incidentRecordArn='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • incidentRecordArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the incident for which you want to view associated findings.

  • maxResults (integer) – The maximum number of findings to retrieve per call.

  • nextToken (string) – The pagination token for the next set of items to return. (You received this token from a previous call.)

Return type:

dict

Returns:

Response Syntax

{
    'findings': [
        {
            'id': 'string',
            'lastModifiedTime': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • findings (list) –

      A list of findings that represent deployments that might be the potential cause of the incident.

      • (dict) –

        Identifying information about the finding.

        • id (string) –

          The ID of the finding.

        • lastModifiedTime (datetime) –

          The timestamp for when the finding was last updated.

    • nextToken (string) –

      The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null.

Exceptions

  • SSMIncidents.Client.exceptions.ThrottlingException

  • SSMIncidents.Client.exceptions.ResourceNotFoundException

  • SSMIncidents.Client.exceptions.AccessDeniedException

  • SSMIncidents.Client.exceptions.ValidationException

  • SSMIncidents.Client.exceptions.InternalServerException