Skip to content

Attach Typed Link

clouddirectory_attach_typed_link R Documentation

Description

Attaches a typed link to a specified source and target object. For more information, see Typed Links.

Usage

clouddirectory_attach_typed_link(DirectoryArn, SourceObjectReference,
  TargetObjectReference, TypedLinkFacet, Attributes)

Arguments

DirectoryArn

[required] The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.

SourceObjectReference

[required] Identifies the source object that the typed link will attach to.

TargetObjectReference

[required] Identifies the target object that the typed link will attach to.

TypedLinkFacet

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

Attributes

[required] A set of attributes that are associated with the typed link.

Value

A list with the following syntax:

list(
  TypedLinkSpecifier = list(
    TypedLinkFacet = list(
      SchemaArn = "string",
      TypedLinkName = "string"
    ),
    SourceObjectReference = list(
      Selector = "string"
    ),
    TargetObjectReference = list(
      Selector = "string"
    ),
    IdentityAttributeValues = list(
      list(
        AttributeName = "string",
        Value = list(
          StringValue = "string",
          BinaryValue = raw,
          BooleanValue = TRUE|FALSE,
          NumberValue = "string",
          DatetimeValue = as.POSIXct(
            "2015-01-01"
          )
        )
      )
    )
  )
)

Request syntax

svc$attach_typed_link(
  DirectoryArn = "string",
  SourceObjectReference = list(
    Selector = "string"
  ),
  TargetObjectReference = list(
    Selector = "string"
  ),
  TypedLinkFacet = list(
    SchemaArn = "string",
    TypedLinkName = "string"
  ),
  Attributes = list(
    list(
      AttributeName = "string",
      Value = list(
        StringValue = "string",
        BinaryValue = raw,
        BooleanValue = TRUE|FALSE,
        NumberValue = "string",
        DatetimeValue = as.POSIXct(
          "2015-01-01"
        )
      )
    )
  )
)