class Aws::IoTTwinMaker::Types::PropertyRequest

An object that sets information about a property.

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

data as a hash:

    {
      definition: {
        configuration: {
          "Name" => "Value",
        },
        data_type: {
          allowed_values: [
            {
              boolean_value: false,
              double_value: 1.0,
              expression: "Expression",
              integer_value: 1,
              list_value: {
                # recursive DataValueList
              },
              long_value: 1,
              map_value: {
                "String" => {
                  # recursive DataValue
                },
              },
              relationship_value: {
                target_component_name: "Name",
                target_entity_id: "EntityId",
              },
              string_value: "String",
            },
          ],
          nested_type: {
            # recursive DataType
          },
          relationship: {
            relationship_type: "String",
            target_component_type_id: "ComponentTypeId",
          },
          type: "RELATIONSHIP", # required, accepts RELATIONSHIP, STRING, LONG, BOOLEAN, INTEGER, DOUBLE, LIST, MAP
          unit_of_measure: "String",
        },
        default_value: {
          boolean_value: false,
          double_value: 1.0,
          expression: "Expression",
          integer_value: 1,
          list_value: [
            {
              # recursive DataValue
            },
          ],
          long_value: 1,
          map_value: {
            "String" => {
              # recursive DataValue
            },
          },
          relationship_value: {
            target_component_name: "Name",
            target_entity_id: "EntityId",
          },
          string_value: "String",
        },
        is_external_id: false,
        is_required_in_entity: false,
        is_stored_externally: false,
        is_time_series: false,
      },
      update_type: "UPDATE", # accepts UPDATE, DELETE, CREATE
      value: {
        boolean_value: false,
        double_value: 1.0,
        expression: "Expression",
        integer_value: 1,
        list_value: [
          {
            # recursive DataValue
          },
        ],
        long_value: 1,
        map_value: {
          "String" => {
            # recursive DataValue
          },
        },
        relationship_value: {
          target_component_name: "Name",
          target_entity_id: "EntityId",
        },
        string_value: "String",
      },
    }

@!attribute [rw] definition

An object that specifies information about a property.
@return [Types::PropertyDefinitionRequest]

@!attribute [rw] update_type

The update type of the update property request.
@return [String]

@!attribute [rw] value

The value of the property.
@return [Types::DataValue]

Constants

SENSITIVE