Skip to content

Create Typed Link Facet

clouddirectory_create_typed_link_facet R Documentation

Creates a TypedLinkFacet

Description

Creates a TypedLinkFacet. For more information, see Typed Links.

Usage

clouddirectory_create_typed_link_facet(SchemaArn, Facet)

Arguments

SchemaArn

[required] The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.

Facet

[required] Facet structure that is associated with the typed link facet.

Value

An empty list.

Request syntax

svc$create_typed_link_facet(
  SchemaArn = "string",
  Facet = list(
    Name = "string",
    Attributes = list(
      list(
        Name = "string",
        Type = "STRING"|"BINARY"|"BOOLEAN"|"NUMBER"|"DATETIME"|"VARIANT",
        DefaultValue = list(
          StringValue = "string",
          BinaryValue = raw,
          BooleanValue = TRUE|FALSE,
          NumberValue = "string",
          DatetimeValue = as.POSIXct(
            "2015-01-01"
          )
        ),
        IsImmutable = TRUE|FALSE,
        Rules = list(
          list(
            Type = "BINARY_LENGTH"|"NUMBER_COMPARISON"|"STRING_FROM_SET"|"STRING_LENGTH",
            Parameters = list(
              "string"
            )
          )
        ),
        RequiredBehavior = "REQUIRED_ALWAYS"|"NOT_REQUIRED"
      )
    ),
    IdentityAttributeOrder = list(
      "string"
    )
  )
)