ResilienceHub / Client / accept_resource_grouping_recommendations

accept_resource_grouping_recommendations#

ResilienceHub.Client.accept_resource_grouping_recommendations(**kwargs)#

Accepts the resource grouping recommendations suggested by Resilience Hub for your application.

See also: AWS API Documentation

Request Syntax

response = client.accept_resource_grouping_recommendations(
    appArn='string',
    entries=[
        {
            'groupingRecommendationId': 'string'
        },
    ]
)
Parameters:
  • appArn (string) –

    [REQUIRED]

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

  • entries (list) –

    [REQUIRED]

    Indicates the list of resource grouping recommendations you want to include in your application.

    • (dict) –

      Indicates the grouping recommendation you have accepted to include in your application.

      • groupingRecommendationId (string) – [REQUIRED]

        Indicates the identifier of the grouping recommendation.

Return type:

dict

Returns:

Response Syntax

{
    'appArn': 'string',
    'failedEntries': [
        {
            'errorMessage': 'string',
            'groupingRecommendationId': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • appArn (string) –

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

    • failedEntries (list) –

      Indicates the list of resource grouping recommendations that could not be included in your application.

      • (dict) –

        Indicates the accepted grouping recommendation whose implementation failed.

        • errorMessage (string) –

          Indicates the error that occurred while implementing a grouping recommendation.

        • groupingRecommendationId (string) –

          Indicates the identifier of the grouping recommendation.

Exceptions