CloudWatch / Client / delete_dashboards

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, the operation attempts to delete as many dashboards as possible.

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.InternalServiceFault

  • CloudWatch.Client.exceptions.ConflictException