Skip to content

Add Facet To Object

clouddirectory_add_facet_to_object R Documentation

Adds a new Facet to an object

Description

Adds a new Facet to an object. An object can have more than one facet applied on it.

Usage

clouddirectory_add_facet_to_object(DirectoryArn, SchemaFacet,
  ObjectAttributeList, ObjectReference)

Arguments

DirectoryArn

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

SchemaFacet

[required] Identifiers for the facet that you are adding to the object. See SchemaFacet for details.

ObjectAttributeList

Attributes on the facet that you are adding to the object.

ObjectReference

[required] A reference to the object you are adding the specified facet to.

Value

An empty list.

Request syntax

svc$add_facet_to_object(
  DirectoryArn = "string",
  SchemaFacet = list(
    SchemaArn = "string",
    FacetName = "string"
  ),
  ObjectAttributeList = list(
    list(
      Key = list(
        SchemaArn = "string",
        FacetName = "string",
        Name = "string"
      ),
      Value = list(
        StringValue = "string",
        BinaryValue = raw,
        BooleanValue = TRUE|FALSE,
        NumberValue = "string",
        DatetimeValue = as.POSIXct(
          "2015-01-01"
        )
      )
    )
  ),
  ObjectReference = list(
    Selector = "string"
  )
)