Skip to main content

resource_metadatas

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

Overview

Nameresource_metadatas
TypeResource
Idaws.pi.resource_metadatas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
featuresobjectThe metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.
identifierstringAn immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X. (pattern: <code>.\S.</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_resource_metadataselectregionRetrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.

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

Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.

SELECT
features,
identifier
FROM aws.pi.resource_metadatas
WHERE region = '{{ region }}' -- required
;