delete_template

QuickSight.Client.delete_template(**kwargs)

Deletes a template.

See also: AWS API Documentation

Request Syntax

response = client.delete_template(
    AwsAccountId='string',
    TemplateId='string',
    VersionNumber=123
)
Parameters
  • AwsAccountId (string) --

    [REQUIRED]

    The ID of the Amazon Web Services account that contains the template that you're deleting.

  • TemplateId (string) --

    [REQUIRED]

    An ID for the template you want to delete.

  • VersionNumber (integer) -- Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.
Return type

dict

Returns

Response Syntax

{
    'RequestId': 'string',
    'Arn': 'string',
    'TemplateId': 'string',
    'Status': 123
}

Response Structure

  • (dict) --

    • RequestId (string) --

      The Amazon Web Services request ID for this operation.

    • Arn (string) --

      The Amazon Resource Name (ARN) of the resource.

    • TemplateId (string) --

      An ID for the template.

    • Status (integer) --

      The HTTP status of the request.

Exceptions

  • QuickSight.Client.exceptions.InvalidParameterValueException
  • QuickSight.Client.exceptions.ResourceNotFoundException
  • QuickSight.Client.exceptions.ThrottlingException
  • QuickSight.Client.exceptions.ConflictException
  • QuickSight.Client.exceptions.LimitExceededException
  • QuickSight.Client.exceptions.UnsupportedUserEditionException
  • QuickSight.Client.exceptions.InternalFailureException