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

Class: Aws::CloudDirectory::Types::TypedLinkFacetAttributeUpdate

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 TypedLinkFacetAttributeUpdate data as a hash:

{
  attribute: { # 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
  },
  action: "CREATE_OR_UPDATE", # required, accepts CREATE_OR_UPDATE, DELETE
}

A typed link facet attribute update.

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The action to perform when updating the attribute.

Returns:

  • (String)


6381
6382
6383
6384
6385
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6381

class TypedLinkFacetAttributeUpdate < Struct.new(
  :attribute,
  :action)
  include Aws::Structure
end

#attributeTypes::TypedLinkAttributeDefinition

The attribute to update.



6381
6382
6383
6384
6385
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6381

class TypedLinkFacetAttributeUpdate < Struct.new(
  :attribute,
  :action)
  include Aws::Structure
end