clouddirectory_create_object: Creates an object in a Directory

Description Usage Arguments Request syntax

View source: R/clouddirectory_operations.R

Description

Creates an object in a Directory. Additionally attaches the object to a parent, if a parent reference and LinkName is specified. An object is simply a collection of Facet attributes. You can also use this API call to create a policy object, if the facet from which you create the object is a policy facet.

Usage

1
2
clouddirectory_create_object(DirectoryArn, SchemaFacets,
  ObjectAttributeList, ParentReference, LinkName)

Arguments

DirectoryArn

[required] The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created. For more information, see arns.

SchemaFacets

[required] A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.

ObjectAttributeList

The attribute map whose attribute ARN contains the key and attribute value as the map value.

ParentReference

If specified, the parent reference to which this object will be attached.

LinkName

The name of link that is used to attach this object to a parent.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
svc$create_object(
  DirectoryArn = "string",
  SchemaFacets = list(
    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"
        )
      )
    )
  ),
  ParentReference = list(
    Selector = "string"
  ),
  LinkName = "string"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.