You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudDirectory::Types::CreateTypedLinkFacetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudDirectory::Types::CreateTypedLinkFacetRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreateTypedLinkFacetRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
schema_arn: "Arn", # required
facet: { # required
name: "TypedLinkName", # required
attributes: [ # required
{
name: "AttributeName", # required
type: "STRING", # required, accepts STRING, BINARY, BOOLEAN, NUMBER, DATETIME, VARIANT
default_value: {
string_value: "StringAttributeValue",
binary_value: "data",
boolean_value: false,
number_value: "NumberAttributeValue",
datetime_value: Time.now,
},
is_immutable: false,
rules: {
"RuleKey" => {
type: "BINARY_LENGTH", # accepts BINARY_LENGTH, NUMBER_COMPARISON, STRING_FROM_SET, STRING_LENGTH
parameters: {
"RuleParameterKey" => "RuleParameterValue",
},
},
},
required_behavior: "REQUIRED_ALWAYS", # required, accepts REQUIRED_ALWAYS, NOT_REQUIRED
},
],
identity_attribute_order: ["AttributeName"], # required
},
}
Instance Attribute Summary collapse
-
#facet ⇒ Types::TypedLinkFacet
Facet structure that is associated with the typed link facet.
-
#schema_arn ⇒ String
The Amazon Resource Name (ARN) that is associated with the schema.
Instance Attribute Details
#facet ⇒ Types::TypedLinkFacet
Facet structure that is associated with the typed link facet.
#schema_arn ⇒ String
The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.