Skip to content

Update Object Attributes

clouddirectory_update_object_attributes R Documentation

Updates a given object's attributes

Description

Updates a given object's attributes.

Usage

clouddirectory_update_object_attributes(DirectoryArn, ObjectReference,
  AttributeUpdates)

Arguments

DirectoryArn

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

ObjectReference

[required] The reference that identifies the object.

AttributeUpdates

[required] The attributes update structure.

Value

A list with the following syntax:

list(
  ObjectIdentifier = "string"
)

Request syntax

svc$update_object_attributes(
  DirectoryArn = "string",
  ObjectReference = list(
    Selector = "string"
  ),
  AttributeUpdates = list(
    list(
      ObjectAttributeKey = list(
        SchemaArn = "string",
        FacetName = "string",
        Name = "string"
      ),
      ObjectAttributeAction = list(
        ObjectAttributeActionType = "CREATE_OR_UPDATE"|"DELETE",
        ObjectAttributeUpdateValue = list(
          StringValue = "string",
          BinaryValue = raw,
          BooleanValue = TRUE|FALSE,
          NumberValue = "string",
          DatetimeValue = as.POSIXct(
            "2015-01-01"
          )
        )
      )
    )
  )
)