Learn R Programming

paws.security.identity (version 0.1.0)

clouddirectory_add_facet_to_object: 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.

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"
  )
)