Skip to content

/AWS1/CL_DIR=>CREATEOBJECT00()

About CreateObject

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.

Method Signature

IMPORTING

Required arguments:

IV_DIRECTORYARN TYPE /AWS1/DIRARN /AWS1/DIRARN

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

IT_SCHEMAFACETS TYPE /AWS1/CL_DIRSCHEMAFACET=>TT_SCHEMAFACETLIST TT_SCHEMAFACETLIST

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

Optional arguments:

IT_OBJECTATTRIBUTELIST TYPE /AWS1/CL_DIRATTRKEYANDVALUE=>TT_ATTRIBUTEKEYANDVALUELIST TT_ATTRIBUTEKEYANDVALUELIST

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

IO_PARENTREFERENCE TYPE REF TO /AWS1/CL_DIROBJECTREFERENCE /AWS1/CL_DIROBJECTREFERENCE

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

IV_LINKNAME TYPE /AWS1/DIRLINKNAME /AWS1/DIRLINKNAME

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DIRCREATEOBJECTRSP /AWS1/CL_DIRCREATEOBJECTRSP