Skip to main content

facet_names

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

Overview

Namefacet_names
TypeResource
Idaws.clouddirectory.facet_names

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
facet_namestringThe names of facets that exist within the schema.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_facet_namesselectx-amz-data-partition, regionRetrieves the names of facets that exist in a schema.

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)
x-amz-data-partitionstringThe Amazon Resource Name (ARN) to retrieve facet names from.

SELECT examples

Retrieves the names of facets that exist in a schema.

SELECT
facet_name
FROM aws.clouddirectory.facet_names
WHERE `x-amz-data-partition` = '{{ x-amz-data-partition }}' -- required
AND region = '{{ region }}' -- required
;