ResilienceHub / Client / delete_recommendation_template

delete_recommendation_template#

ResilienceHub.Client.delete_recommendation_template(**kwargs)#

Deletes a recommendation template. This is a destructive action that can’t be undone.

See also: AWS API Documentation

Request Syntax

response = client.delete_recommendation_template(
    clientToken='string',
    recommendationTemplateArn='string'
)
Parameters:
  • clientToken (string) –

    Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

    This field is autopopulated if not provided.

  • recommendationTemplateArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) for a recommendation template.

Return type:

dict

Returns:

Response Syntax

{
    'recommendationTemplateArn': 'string',
    'status': 'Pending'|'InProgress'|'Failed'|'Success'
}

Response Structure

  • (dict) –

    • recommendationTemplateArn (string) –

      The Amazon Resource Name (ARN) for a recommendation template.

    • status (string) –

      The status of the action.

Exceptions

  • ResilienceHub.Client.exceptions.InternalServerException

  • ResilienceHub.Client.exceptions.ResourceNotFoundException

  • ResilienceHub.Client.exceptions.ThrottlingException

  • ResilienceHub.Client.exceptions.ValidationException

  • ResilienceHub.Client.exceptions.AccessDeniedException