You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudDirectory::Types::CreateTypedLinkFacetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb

Overview

Note:

When making an API call, you may pass CreateTypedLinkFacetRequest data as a hash:

{
  schema_arn: "Arn", # required
  facet: { # required
    name: "TypedLinkName", # required
    attributes: [ # required
      {
        name: "AttributeName", # required
        type: "STRING", # required, accepts STRING, BINARY, BOOLEAN, NUMBER, DATETIME
        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

Instance Attribute Details

#facetTypes::TypedLinkFacet

Facet structure that is associated with the typed link facet.



3497
3498
3499
3500
3501
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 3497

class CreateTypedLinkFacetRequest < Struct.new(
  :schema_arn,
  :facet)
  include Aws::Structure
end

#schema_arnString

The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.

Returns:

  • (String)


3497
3498
3499
3500
3501
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 3497

class CreateTypedLinkFacetRequest < Struct.new(
  :schema_arn,
  :facet)
  include Aws::Structure
end