ResilienceHubV2 / Client / update_failure_mode_finding

update_failure_mode_finding

ResilienceHubV2.Client.update_failure_mode_finding(**kwargs)

Updates an existing finding.

See also: AWS API Documentation

Request Syntax

response = client.update_failure_mode_finding(
    findingId='string',
    status='OPEN'|'RESOLVED'|'IRRELEVANT',
    serviceArn='string',
    comment='string'
)
Parameters:
  • findingId (string) –

    [REQUIRED]

    The identifier of the finding to update.

  • status (string) –

    [REQUIRED]

    The new status for the finding.

  • serviceArn (string) –

    [REQUIRED]

    ARN identifier.

  • comment (string) – A comment about the finding update.

Return type:

dict

Returns:

Response Syntax

{
    'finding': {
        'findingId': 'string',
        'name': 'string',
        'description': 'string',
        'failureCategory': 'SHARED_FATE'|'EXCESSIVE_LOAD'|'EXCESSIVE_LATENCY'|'MISCONFIGURATION_AND_BUGS'|'SINGLE_POINT_OF_FAILURE',
        'status': 'OPEN'|'RESOLVED'|'IRRELEVANT',
        'reasoning': 'string',
        'comment': 'string',
        'severity': 'LOW'|'MEDIUM'|'HIGH',
        'serviceFunctions': [
            'string',
        ],
        'policyComponent': 'AVAILABILITY_SLO'|'MULTI_AZ_DISASTER_RECOVERY'|'MULTI_REGION_DISASTER_RECOVERY'|'DATA_RECOVERY',
        'infrastructureAndCodeRecommendations': [
            {
                'suggestedChanges': [
                    'string',
                ]
            },
        ],
        'observabilityRecommendations': [
            {
                'suggestedChanges': [
                    'string',
                ]
            },
        ],
        'testingRecommendations': [
            {
                'suggestedChanges': [
                    'string',
                ]
            },
        ],
        'updatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) –

    • finding (dict) –

      The updated finding.

      • findingId (string) –

        The unique identifier of the finding.

      • name (string) –

        The name of the finding.

      • description (string) –

        Resource description.

      • failureCategory (string) –

        The failure category of the finding.

      • status (string) –

        The current status of the finding.

      • reasoning (string) –

        The reasoning behind the finding.

      • comment (string) –

        A user-provided comment about the finding.

      • severity (string) –

        The severity of the finding.

      • serviceFunctions (list) –

        The service functions associated with the finding.

        • (string) –

      • policyComponent (string) –

        The policy component associated with the finding.

      • infrastructureAndCodeRecommendations (list) –

        Infrastructure and code recommendations to address the finding.

        • (dict) –

          An infrastructure and code recommendation to address a finding.

          • suggestedChanges (list) –

            The list of suggested changes.

            • (string) –

              Resource description.

      • observabilityRecommendations (list) –

        Observability recommendations to address the finding.

        • (dict) –

          An observability recommendation to address a finding.

          • suggestedChanges (list) –

            The list of suggested observability changes.

            • (string) –

              Resource description.

      • testingRecommendations (list) –

        Testing recommendations to address the finding.

        • (dict) –

          A testing recommendation to address a finding.

          • suggestedChanges (list) –

            The list of suggested testing changes.

            • (string) –

              Resource description.

      • updatedAt (datetime) –

        The timestamp when the finding was last updated.

Exceptions

  • ResilienceHubV2.Client.exceptions.InternalServerException

  • ResilienceHubV2.Client.exceptions.ResourceNotFoundException

  • ResilienceHubV2.Client.exceptions.ValidationException

  • ResilienceHubV2.Client.exceptions.ConflictException

  • ResilienceHubV2.Client.exceptions.AccessDeniedException