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_dashboards

delete_dashboards(**kwargs)

Deletes all dashboards that you specify. You can specify up to 100 dashboards to delete. If there is an error during this call, no dashboards are deleted.

See also: AWS API Documentation

Request Syntax

response = client.delete_dashboards(
    DashboardNames=[
        'string',
    ]
)
Parameters
DashboardNames (list) --

[REQUIRED]

The dashboards to be deleted. This parameter is required.

  • (string) --
Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • CloudWatch.Client.exceptions.InvalidParameterValueException
  • CloudWatch.Client.exceptions.DashboardNotFoundError
  • CloudWatch.Client.exceptions.InternalServiceFault