class Aws::IoTTwinMaker::Types::UpdateEntityRequest

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

data as a hash:

    {
      component_updates: {
        "Name" => {
          component_type_id: "ComponentTypeId",
          description: "Description",
          property_updates: {
            "Name" => {
              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",
              },
            },
          },
          update_type: "CREATE", # accepts CREATE, UPDATE, DELETE
        },
      },
      description: "Description",
      entity_id: "EntityId", # required
      entity_name: "EntityName",
      parent_entity_update: {
        parent_entity_id: "ParentEntityId",
        update_type: "UPDATE", # required, accepts UPDATE, DELETE
      },
      workspace_id: "Id", # required
    }

@!attribute [rw] component_updates

An object that maps strings to the component updates in the request.
Each string in the mapping must be unique to this object.
@return [Hash<String,Types::ComponentUpdateRequest>]

@!attribute [rw] description

The description of the entity.
@return [String]

@!attribute [rw] entity_id

The ID of the entity.
@return [String]

@!attribute [rw] entity_name

The name of the entity.
@return [String]

@!attribute [rw] parent_entity_update

An object that describes the update request for a parent entity.
@return [Types::ParentEntityUpdateRequest]

@!attribute [rw] workspace_id

The ID of the workspace that contains the entity.
@return [String]

Constants

SENSITIVE