class Aws::CloudDirectory::Types::BatchUpdateLinkAttributes

Updates a given typed link’s attributes inside a BatchRead operation. Attributes to be updated must not contribute to the typed link’s identity, as defined by its `IdentityAttributeOrder`. For more information, see UpdateLinkAttributes and BatchReadRequest$Operations.

@note When making an API call, you may pass BatchUpdateLinkAttributes

data as a hash:

    {
      typed_link_specifier: { # required
        typed_link_facet: { # required
          schema_arn: "Arn", # required
          typed_link_name: "TypedLinkName", # required
        },
        source_object_reference: { # required
          selector: "SelectorObjectReference",
        },
        target_object_reference: { # required
          selector: "SelectorObjectReference",
        },
        identity_attribute_values: [ # required
          {
            attribute_name: "AttributeName", # required
            value: { # required
              string_value: "StringAttributeValue",
              binary_value: "data",
              boolean_value: false,
              number_value: "NumberAttributeValue",
              datetime_value: Time.now,
            },
          },
        ],
      },
      attribute_updates: [ # required
        {
          attribute_key: {
            schema_arn: "Arn", # required
            facet_name: "FacetName", # required
            name: "AttributeName", # required
          },
          attribute_action: {
            attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
            attribute_update_value: {
              string_value: "StringAttributeValue",
              binary_value: "data",
              boolean_value: false,
              number_value: "NumberAttributeValue",
              datetime_value: Time.now,
            },
          },
        },
      ],
    }

@!attribute [rw] typed_link_specifier

Allows a typed link specifier to be accepted as input.
@return [Types::TypedLinkSpecifier]

@!attribute [rw] attribute_updates

The attributes update structure.
@return [Array<Types::LinkAttributeUpdate>]

@see docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchUpdateLinkAttributes AWS API Documentation

Constants

SENSITIVE