Skip to content

UpdateDashboardRequest

Source code in docs_src/capo_cloudtrail/types/update_dashboard_request.py
class UpdateDashboardRequest(TypedDict, closed=True):
    dashboard_id: "capo_cloudtrail.types.dashboard_arn.DashboardArn"
    """<p> The name or ARN of the dashboard. </p>"""
    widgets: NotRequired["capo_cloudtrail.types.request_widget_list.RequestWidgetList"]
    """<p> An array of widgets for the dashboard. A custom dashboard can have a maximum of 10 widgets. </p> <p>To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the <code>GetDashboard</code> operation to get the list of widgets for the dashboard.</p> <p>To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.</p>"""
    refresh_schedule: NotRequired[
        "capo_cloudtrail.types.refresh_schedule.RefreshSchedule"
    ]
    """<p> The refresh schedule configuration for the dashboard. </p>"""
    termination_protection_enabled: NotRequired[
        "capo_cloudtrail.types.termination_protection_enabled.TerminationProtectionEnabled"
    ]
    """<p> Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled. </p>"""

dashboard_id instance-attribute

dashboard_id: DashboardArn

The name or ARN of the dashboard.

refresh_schedule instance-attribute

refresh_schedule: NotRequired[RefreshSchedule]

The refresh schedule configuration for the dashboard.

termination_protection_enabled instance-attribute

termination_protection_enabled: NotRequired[TerminationProtectionEnabled]

Specifies whether termination protection is enabled for the dashboard. If termination protection is enabled, you cannot delete the dashboard until termination protection is disabled.

widgets instance-attribute

widgets: NotRequired[RequestWidgetList]

An array of widgets for the dashboard. A custom dashboard can have a maximum of 10 widgets.

To add new widgets, pass in an array that includes the existing widgets along with any new widgets. Run the GetDashboard operation to get the list of widgets for the dashboard.

To remove widgets, pass in an array that includes the existing widgets minus the widgets you want removed.