facet_names
Creates, updates, deletes, gets or lists a facet_names resource.
Overview
| Name | facet_names |
| Type | Resource |
| Id | aws.clouddirectory.facet_names |
Fields
The following fields are returned by SELECT queries:
- list_facet_names
| Name | Datatype | Description |
|---|---|---|
facet_name | string | The names of facets that exist within the schema. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_facet_names | select | x-amz-data-partition, region | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
x-amz-data-partition | string | The Amazon Resource Name (ARN) to retrieve facet names from. |
SELECT examples
- list_facet_names
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
;