metrics_exports
Creates, updates, deletes, gets or lists a metrics_exports resource.
Overview
| Name | metrics_exports |
| Type | Resource |
| Id | aws.resiliencehub.metrics_exports |
Fields
The following fields are returned by SELECT queries:
- describe_metrics_export
| Name | Datatype | Description |
|---|---|---|
error_message | string | Explains the error that occurred while exporting the metrics. |
export_location | object | Specifies the name of the Amazon S3 bucket where the exported metrics is stored. |
metrics_export_id | string | Identifier for the metrics export task. |
status | string | Indicates the status of the metrics export task. (Pending, InProgress, Failed, Success) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_metrics_export | select | region | Describes 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_metrics_export
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
;