Skip to main content

typed_link_facet_attributes

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

Overview

Nametyped_link_facet_attributes
TypeResource
Idaws.clouddirectory.typed_link_facet_attributes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
default_valueobjectThe default value of the attribute (if configured).
is_immutablebooleanWhether the attribute is mutable or not.
namestringThe unique name of the typed link attribute. (pattern: <code>^[a-zA-Z0-9._:-]*$</code>)
required_behaviorstringThe required behavior of the TypedLinkAttributeDefinition. (REQUIRED_ALWAYS, NOT_REQUIRED)
rulesobjectValidation rules that are attached to the attribute definition.
typestringThe type of the attribute. (STRING, BINARY, BOOLEAN, NUMBER, DATETIME, VARIANT)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_typed_link_facet_attributesselectx-amz-data-partition, regionReturns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed Links.

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) that is associated with the schema. For more information, see arns.

SELECT examples

Returns a paginated list of all attribute definitions for a particular TypedLinkFacet. For more information, see Typed Links.

SELECT
default_value,
is_immutable,
name,
required_behavior,
rules,
type
FROM aws.clouddirectory.typed_link_facet_attributes
WHERE `x-amz-data-partition` = '{{ x-amz-data-partition }}' -- required
AND region = '{{ region }}' -- required
;