ResilienceHub / Client / list_sop_recommendations

list_sop_recommendations#

ResilienceHub.Client.list_sop_recommendations(**kwargs)#

Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn: partition:resiliencehub: region: account:app-assessment/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

  • maxResults (integer) – Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

  • nextToken (string) – Null, or the token from a previous call to get the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'sopRecommendations': [
        {
            'appComponentName': 'string',
            'description': 'string',
            'items': [
                {
                    'alreadyImplemented': True|False,
                    'discoveredAlarm': {
                        'alarmArn': 'string',
                        'source': 'string'
                    },
                    'excludeReason': 'AlreadyImplemented'|'NotRelevant'|'ComplexityOfImplementation',
                    'excluded': True|False,
                    'latestDiscoveredExperiment': {
                        'experimentArn': 'string',
                        'experimentTemplateId': 'string'
                    },
                    'resourceId': 'string',
                    'targetAccountId': 'string',
                    'targetRegion': 'string'
                },
            ],
            'name': 'string',
            'prerequisite': 'string',
            'recommendationId': 'string',
            'recommendationStatus': 'Implemented'|'Inactive'|'NotImplemented'|'Excluded',
            'referenceId': 'string',
            'serviceType': 'SSM'
        },
    ]
}

Response Structure

  • (dict) –

    • nextToken (string) –

      Token for the next set of results, or null if there are no more results.

    • sopRecommendations (list) –

      The standard operating procedure (SOP) recommendations for the Resilience Hub applications.

      • (dict) –

        Defines a standard operating procedure (SOP) recommendation.

        • appComponentName (string) –

          Name of the Application Component.

        • description (string) –

          Description of the SOP recommendation.

        • items (list) –

          The recommendation items.

          • (dict) –

            Defines a recommendation.

            • alreadyImplemented (boolean) –

              Specifies if the recommendation has already been implemented.

            • discoveredAlarm (dict) –

              Indicates the previously implemented Amazon CloudWatch alarm discovered by Resilience Hub.

              • alarmArn (string) –

                Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.

              • source (string) –

                Indicates the source of the Amazon CloudWatch alarm. That is, it indicates if the alarm was created using Resilience Hub recommendation ( AwsResilienceHub), or if you had created the alarm in Amazon CloudWatch ( Customer).

            • excludeReason (string) –

              Indicates the reason for excluding an operational recommendation.

            • excluded (boolean) –

              Indicates if an operational recommendation item is excluded.

            • latestDiscoveredExperiment (dict) –

              Indicates the experiment created in FIS that was discovered by Resilience Hub, which matches the recommendation.

              • experimentArn (string) –

                Amazon Resource Name (ARN) of the FIS experiment.

              • experimentTemplateId (string) –

                Identifier of the FIS experiment template.

            • resourceId (string) –

              Identifier of the resource.

            • targetAccountId (string) –

              Identifier of the target account.

            • targetRegion (string) –

              The target region.

        • name (string) –

          Name of the SOP recommendation.

        • prerequisite (string) –

          Prerequisite for the SOP recommendation.

        • recommendationId (string) –

          Identifier for the SOP recommendation.

        • recommendationStatus (string) –

          Status of the recommended standard operating procedure.

        • referenceId (string) –

          Reference identifier for the SOP recommendation.

        • serviceType (string) –

          The service type.

Exceptions