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.
clouddirectory_create_object(DirectoryArn, SchemaFacets,
ObjectAttributeList, ParentReference, LinkName)
[required] The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created. For more information, see arns.
[required] A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
The attribute map whose attribute ARN contains the key and attribute value as the map value.
If specified, the parent reference to which this object will be attached.
The name of link that is used to attach this object to a parent.
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" )