You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudDirectory::Types::CreateObjectRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudDirectory::Types::CreateObjectRequest
- Defined in:
- (unknown)
Overview
When passing CreateObjectRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
directory_arn: "Arn", # required
schema_facets: [ # required
{
schema_arn: "Arn",
facet_name: "FacetName",
},
],
object_attribute_list: [
{
key: { # required
schema_arn: "Arn", # required
facet_name: "FacetName", # required
name: "AttributeName", # required
},
value: { # required
string_value: "StringAttributeValue",
binary_value: "data",
boolean_value: false,
number_value: "NumberAttributeValue",
datetime_value: Time.now,
},
},
],
parent_reference: {
selector: "SelectorObjectReference",
},
link_name: "LinkName",
}
Instance Attribute Summary collapse
-
#directory_arn ⇒ String
The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created.
-
#link_name ⇒ String
The name of link that is used to attach this object to a parent.
-
#object_attribute_list ⇒ Array<Types::AttributeKeyAndValue>
The attribute map whose attribute ARN contains the key and attribute value as the map value.
-
#parent_reference ⇒ Types::ObjectReference
If specified, the parent reference to which this object will be attached.
-
#schema_facets ⇒ Array<Types::SchemaFacet>
A list of schema facets to be associated with the object.
Instance Attribute Details
#directory_arn ⇒ String
#link_name ⇒ String
The name of link that is used to attach this object to a parent.
#object_attribute_list ⇒ Array<Types::AttributeKeyAndValue>
The attribute map whose attribute ARN contains the key and attribute value as the map value.
#parent_reference ⇒ Types::ObjectReference
If specified, the parent reference to which this object will be attached.
#schema_facets ⇒ Array<Types::SchemaFacet>
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.