Skip to main content

metrics_exports

Creates, updates, deletes, gets or lists a metrics_exports resource.

Overview

Namemetrics_exports
TypeResource
Idaws.resiliencehub.metrics_exports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
error_messagestringExplains the error that occurred while exporting the metrics.
export_locationobjectSpecifies the name of the Amazon S3 bucket where the exported metrics is stored.
metrics_export_idstringIdentifier for the metrics export task.
statusstringIndicates the status of the metrics export task. (Pending, InProgress, Failed, Success)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_metrics_exportselectregionDescribes the metrics of the application configuration being exported.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes the metrics of the application configuration being exported.

SELECT
error_message,
export_location,
metrics_export_id,
status
FROM aws.resiliencehub.metrics_exports
WHERE region = '{{ region }}' -- required
;