PrometheusService / Client / delete_workspace

delete_workspace#

PrometheusService.Client.delete_workspace(**kwargs)#

Deletes an AMP workspace.

See also: AWS API Documentation

Request Syntax

response = client.delete_workspace(
    workspaceId='string',
    clientToken='string'
)
Parameters:
  • workspaceId (string) –

    [REQUIRED]

    The ID of the workspace to delete.

  • clientToken (string) –

    Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

    This field is autopopulated if not provided.

Returns:

None

Exceptions

  • PrometheusService.Client.exceptions.ThrottlingException

  • PrometheusService.Client.exceptions.ConflictException

  • PrometheusService.Client.exceptions.ValidationException

  • PrometheusService.Client.exceptions.ResourceNotFoundException

  • PrometheusService.Client.exceptions.AccessDeniedException

  • PrometheusService.Client.exceptions.InternalServerException