Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_recommendation_template

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