delete_dashboards

CloudWatch.Client.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