http://clouddirectory.{region}.amazonaws.com/amazonclouddirectory/2017-01-11/object#x-amz-data-partitionCreates an object in a <a>Directory</a>. Additionally attaches the object to a parent, if a parent reference and <code>LinkName</code> is specified. An object is simply a collection of <a>Facet</a> 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.
The name of link that is used to attach this object to a parent.
A list of schema facets to be associated with the object. Do not provide minor version components. See <a>SchemaFacet</a> for details.
The reference that identifies an object.
The attribute map whose attribute ARN contains the key and attribute value as the map value.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PUT \2 --url 'http://clouddirectory.{region}.amazonaws.com/amazonclouddirectory/2017-01-11/object#x-amz-data-partition' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://clouddirectory.{region}.amazonaws.com/amazonclouddirectory/2017-01-11/object#x-amz-data-partitionCreates an object in a <a>Directory</a>. Additionally attaches the object to a parent, if a parent reference and <code>LinkName</code> is specified. An object is simply a collection of <a>Facet</a> 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.
The name of link that is used to attach this object to a parent.
A list of schema facets to be associated with the object. Do not provide minor version components. See <a>SchemaFacet</a> for details.
The reference that identifies an object.
The attribute map whose attribute ARN contains the key and attribute value as the map value.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PUT \2 --url 'http://clouddirectory.{region}.amazonaws.com/amazonclouddirectory/2017-01-11/object#x-amz-data-partition' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}