Skip to content

Update Link Attributes

clouddirectory_update_link_attributes R Documentation

Description

Updates a given typed link’s attributes. Attributes to be updated must not contribute to the typed link’s identity, as defined by its IdentityAttributeOrder.

Usage

clouddirectory_update_link_attributes(DirectoryArn, TypedLinkSpecifier,
  AttributeUpdates)

Arguments

DirectoryArn

[required] The Amazon Resource Name (ARN) that is associated with the Directory where the updated typed link resides. For more information, see arns or Typed Links.

TypedLinkSpecifier

[required] Allows a typed link specifier to be accepted as input.

AttributeUpdates

[required] The attributes update structure.

Value

An empty list.

Request syntax

svc$update_link_attributes(
  DirectoryArn = "string",
  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"
          )
        )
      )
    )
  ),
  AttributeUpdates = list(
    list(
      AttributeKey = list(
        SchemaArn = "string",
        FacetName = "string",
        Name = "string"
      ),
      AttributeAction = list(
        AttributeActionType = "CREATE_OR_UPDATE"|"DELETE",
        AttributeUpdateValue = list(
          StringValue = "string",
          BinaryValue = raw,
          BooleanValue = TRUE|FALSE,
          NumberValue = "string",
          DatetimeValue = as.POSIXct(
            "2015-01-01"
          )
        )
      )
    )
  )
)