class Aws::AmplifyUIBuilder::Types::UpdateComponentRequest

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

data as a hash:

    {
      app_id: "String", # required
      client_token: "String",
      environment_name: "String", # required
      id: "Uuid", # required
      updated_component: { # required
        binding_properties: {
          "String" => {
            binding_properties: {
              bucket: "String",
              default_value: "String",
              field: "String",
              key: "String",
              model: "String",
              predicates: [
                {
                  and: {
                    # recursive PredicateList
                  },
                  field: "String",
                  operand: "String",
                  operator: "String",
                  or: {
                    # recursive PredicateList
                  },
                },
              ],
              user_attribute: "String",
            },
            default_value: "String",
            type: "String",
          },
        },
        children: [
          {
            children: {
              # recursive ComponentChildList
            },
            component_type: "String", # required
            events: {
              "String" => {
                action: "String",
                binding_event: "String",
                parameters: {
                  anchor: {
                    binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    bindings: {
                      "String" => {
                        element: "String", # required
                        property: "String", # required
                      },
                    },
                    collection_binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    component_name: "String",
                    concat: [
                      {
                        # recursive ComponentProperty
                      },
                    ],
                    condition: {
                      else: {
                        # recursive ComponentProperty
                      },
                      field: "String",
                      operand: "String",
                      operand_type: "String",
                      operator: "String",
                      property: "String",
                      then: {
                        # recursive ComponentProperty
                      },
                    },
                    configured: false,
                    default_value: "String",
                    event: "String",
                    imported_value: "String",
                    model: "String",
                    property: "String",
                    type: "String",
                    user_attribute: "String",
                    value: "String",
                  },
                  fields: {
                    "String" => {
                      binding_properties: {
                        field: "String",
                        property: "String", # required
                      },
                      bindings: {
                        "String" => {
                          element: "String", # required
                          property: "String", # required
                        },
                      },
                      collection_binding_properties: {
                        field: "String",
                        property: "String", # required
                      },
                      component_name: "String",
                      concat: [
                        {
                          # recursive ComponentProperty
                        },
                      ],
                      condition: {
                        else: {
                          # recursive ComponentProperty
                        },
                        field: "String",
                        operand: "String",
                        operand_type: "String",
                        operator: "String",
                        property: "String",
                        then: {
                          # recursive ComponentProperty
                        },
                      },
                      configured: false,
                      default_value: "String",
                      event: "String",
                      imported_value: "String",
                      model: "String",
                      property: "String",
                      type: "String",
                      user_attribute: "String",
                      value: "String",
                    },
                  },
                  global: {
                    binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    bindings: {
                      "String" => {
                        element: "String", # required
                        property: "String", # required
                      },
                    },
                    collection_binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    component_name: "String",
                    concat: [
                      {
                        # recursive ComponentProperty
                      },
                    ],
                    condition: {
                      else: {
                        # recursive ComponentProperty
                      },
                      field: "String",
                      operand: "String",
                      operand_type: "String",
                      operator: "String",
                      property: "String",
                      then: {
                        # recursive ComponentProperty
                      },
                    },
                    configured: false,
                    default_value: "String",
                    event: "String",
                    imported_value: "String",
                    model: "String",
                    property: "String",
                    type: "String",
                    user_attribute: "String",
                    value: "String",
                  },
                  id: {
                    binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    bindings: {
                      "String" => {
                        element: "String", # required
                        property: "String", # required
                      },
                    },
                    collection_binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    component_name: "String",
                    concat: [
                      {
                        # recursive ComponentProperty
                      },
                    ],
                    condition: {
                      else: {
                        # recursive ComponentProperty
                      },
                      field: "String",
                      operand: "String",
                      operand_type: "String",
                      operator: "String",
                      property: "String",
                      then: {
                        # recursive ComponentProperty
                      },
                    },
                    configured: false,
                    default_value: "String",
                    event: "String",
                    imported_value: "String",
                    model: "String",
                    property: "String",
                    type: "String",
                    user_attribute: "String",
                    value: "String",
                  },
                  model: "String",
                  state: {
                    component_name: "String", # required
                    property: "String", # required
                    set: { # required
                      binding_properties: {
                        field: "String",
                        property: "String", # required
                      },
                      bindings: {
                        "String" => {
                          element: "String", # required
                          property: "String", # required
                        },
                      },
                      collection_binding_properties: {
                        field: "String",
                        property: "String", # required
                      },
                      component_name: "String",
                      concat: [
                        {
                          # recursive ComponentProperty
                        },
                      ],
                      condition: {
                        else: {
                          # recursive ComponentProperty
                        },
                        field: "String",
                        operand: "String",
                        operand_type: "String",
                        operator: "String",
                        property: "String",
                        then: {
                          # recursive ComponentProperty
                        },
                      },
                      configured: false,
                      default_value: "String",
                      event: "String",
                      imported_value: "String",
                      model: "String",
                      property: "String",
                      type: "String",
                      user_attribute: "String",
                      value: "String",
                    },
                  },
                  target: {
                    binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    bindings: {
                      "String" => {
                        element: "String", # required
                        property: "String", # required
                      },
                    },
                    collection_binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    component_name: "String",
                    concat: [
                      {
                        # recursive ComponentProperty
                      },
                    ],
                    condition: {
                      else: {
                        # recursive ComponentProperty
                      },
                      field: "String",
                      operand: "String",
                      operand_type: "String",
                      operator: "String",
                      property: "String",
                      then: {
                        # recursive ComponentProperty
                      },
                    },
                    configured: false,
                    default_value: "String",
                    event: "String",
                    imported_value: "String",
                    model: "String",
                    property: "String",
                    type: "String",
                    user_attribute: "String",
                    value: "String",
                  },
                  type: {
                    binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    bindings: {
                      "String" => {
                        element: "String", # required
                        property: "String", # required
                      },
                    },
                    collection_binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    component_name: "String",
                    concat: [
                      {
                        # recursive ComponentProperty
                      },
                    ],
                    condition: {
                      else: {
                        # recursive ComponentProperty
                      },
                      field: "String",
                      operand: "String",
                      operand_type: "String",
                      operator: "String",
                      property: "String",
                      then: {
                        # recursive ComponentProperty
                      },
                    },
                    configured: false,
                    default_value: "String",
                    event: "String",
                    imported_value: "String",
                    model: "String",
                    property: "String",
                    type: "String",
                    user_attribute: "String",
                    value: "String",
                  },
                  url: {
                    binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    bindings: {
                      "String" => {
                        element: "String", # required
                        property: "String", # required
                      },
                    },
                    collection_binding_properties: {
                      field: "String",
                      property: "String", # required
                    },
                    component_name: "String",
                    concat: [
                      {
                        # recursive ComponentProperty
                      },
                    ],
                    condition: {
                      else: {
                        # recursive ComponentProperty
                      },
                      field: "String",
                      operand: "String",
                      operand_type: "String",
                      operator: "String",
                      property: "String",
                      then: {
                        # recursive ComponentProperty
                      },
                    },
                    configured: false,
                    default_value: "String",
                    event: "String",
                    imported_value: "String",
                    model: "String",
                    property: "String",
                    type: "String",
                    user_attribute: "String",
                    value: "String",
                  },
                },
              },
            },
            name: "String", # required
            properties: { # required
              "String" => {
                binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                bindings: {
                  "String" => {
                    element: "String", # required
                    property: "String", # required
                  },
                },
                collection_binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                component_name: "String",
                concat: [
                  {
                    # recursive ComponentProperty
                  },
                ],
                condition: {
                  else: {
                    # recursive ComponentProperty
                  },
                  field: "String",
                  operand: "String",
                  operand_type: "String",
                  operator: "String",
                  property: "String",
                  then: {
                    # recursive ComponentProperty
                  },
                },
                configured: false,
                default_value: "String",
                event: "String",
                imported_value: "String",
                model: "String",
                property: "String",
                type: "String",
                user_attribute: "String",
                value: "String",
              },
            },
            source_id: "String",
          },
        ],
        collection_properties: {
          "String" => {
            identifiers: ["String"],
            model: "String", # required
            predicate: {
              and: [
                {
                  # recursive Predicate
                },
              ],
              field: "String",
              operand: "String",
              operator: "String",
              or: [
                {
                  # recursive Predicate
                },
              ],
            },
            sort: [
              {
                direction: "ASC", # required, accepts ASC, DESC
                field: "String", # required
              },
            ],
          },
        },
        component_type: "ComponentType",
        events: {
          "String" => {
            action: "String",
            binding_event: "String",
            parameters: {
              anchor: {
                binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                bindings: {
                  "String" => {
                    element: "String", # required
                    property: "String", # required
                  },
                },
                collection_binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                component_name: "String",
                concat: [
                  {
                    # recursive ComponentProperty
                  },
                ],
                condition: {
                  else: {
                    # recursive ComponentProperty
                  },
                  field: "String",
                  operand: "String",
                  operand_type: "String",
                  operator: "String",
                  property: "String",
                  then: {
                    # recursive ComponentProperty
                  },
                },
                configured: false,
                default_value: "String",
                event: "String",
                imported_value: "String",
                model: "String",
                property: "String",
                type: "String",
                user_attribute: "String",
                value: "String",
              },
              fields: {
                "String" => {
                  binding_properties: {
                    field: "String",
                    property: "String", # required
                  },
                  bindings: {
                    "String" => {
                      element: "String", # required
                      property: "String", # required
                    },
                  },
                  collection_binding_properties: {
                    field: "String",
                    property: "String", # required
                  },
                  component_name: "String",
                  concat: [
                    {
                      # recursive ComponentProperty
                    },
                  ],
                  condition: {
                    else: {
                      # recursive ComponentProperty
                    },
                    field: "String",
                    operand: "String",
                    operand_type: "String",
                    operator: "String",
                    property: "String",
                    then: {
                      # recursive ComponentProperty
                    },
                  },
                  configured: false,
                  default_value: "String",
                  event: "String",
                  imported_value: "String",
                  model: "String",
                  property: "String",
                  type: "String",
                  user_attribute: "String",
                  value: "String",
                },
              },
              global: {
                binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                bindings: {
                  "String" => {
                    element: "String", # required
                    property: "String", # required
                  },
                },
                collection_binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                component_name: "String",
                concat: [
                  {
                    # recursive ComponentProperty
                  },
                ],
                condition: {
                  else: {
                    # recursive ComponentProperty
                  },
                  field: "String",
                  operand: "String",
                  operand_type: "String",
                  operator: "String",
                  property: "String",
                  then: {
                    # recursive ComponentProperty
                  },
                },
                configured: false,
                default_value: "String",
                event: "String",
                imported_value: "String",
                model: "String",
                property: "String",
                type: "String",
                user_attribute: "String",
                value: "String",
              },
              id: {
                binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                bindings: {
                  "String" => {
                    element: "String", # required
                    property: "String", # required
                  },
                },
                collection_binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                component_name: "String",
                concat: [
                  {
                    # recursive ComponentProperty
                  },
                ],
                condition: {
                  else: {
                    # recursive ComponentProperty
                  },
                  field: "String",
                  operand: "String",
                  operand_type: "String",
                  operator: "String",
                  property: "String",
                  then: {
                    # recursive ComponentProperty
                  },
                },
                configured: false,
                default_value: "String",
                event: "String",
                imported_value: "String",
                model: "String",
                property: "String",
                type: "String",
                user_attribute: "String",
                value: "String",
              },
              model: "String",
              state: {
                component_name: "String", # required
                property: "String", # required
                set: { # required
                  binding_properties: {
                    field: "String",
                    property: "String", # required
                  },
                  bindings: {
                    "String" => {
                      element: "String", # required
                      property: "String", # required
                    },
                  },
                  collection_binding_properties: {
                    field: "String",
                    property: "String", # required
                  },
                  component_name: "String",
                  concat: [
                    {
                      # recursive ComponentProperty
                    },
                  ],
                  condition: {
                    else: {
                      # recursive ComponentProperty
                    },
                    field: "String",
                    operand: "String",
                    operand_type: "String",
                    operator: "String",
                    property: "String",
                    then: {
                      # recursive ComponentProperty
                    },
                  },
                  configured: false,
                  default_value: "String",
                  event: "String",
                  imported_value: "String",
                  model: "String",
                  property: "String",
                  type: "String",
                  user_attribute: "String",
                  value: "String",
                },
              },
              target: {
                binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                bindings: {
                  "String" => {
                    element: "String", # required
                    property: "String", # required
                  },
                },
                collection_binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                component_name: "String",
                concat: [
                  {
                    # recursive ComponentProperty
                  },
                ],
                condition: {
                  else: {
                    # recursive ComponentProperty
                  },
                  field: "String",
                  operand: "String",
                  operand_type: "String",
                  operator: "String",
                  property: "String",
                  then: {
                    # recursive ComponentProperty
                  },
                },
                configured: false,
                default_value: "String",
                event: "String",
                imported_value: "String",
                model: "String",
                property: "String",
                type: "String",
                user_attribute: "String",
                value: "String",
              },
              type: {
                binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                bindings: {
                  "String" => {
                    element: "String", # required
                    property: "String", # required
                  },
                },
                collection_binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                component_name: "String",
                concat: [
                  {
                    # recursive ComponentProperty
                  },
                ],
                condition: {
                  else: {
                    # recursive ComponentProperty
                  },
                  field: "String",
                  operand: "String",
                  operand_type: "String",
                  operator: "String",
                  property: "String",
                  then: {
                    # recursive ComponentProperty
                  },
                },
                configured: false,
                default_value: "String",
                event: "String",
                imported_value: "String",
                model: "String",
                property: "String",
                type: "String",
                user_attribute: "String",
                value: "String",
              },
              url: {
                binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                bindings: {
                  "String" => {
                    element: "String", # required
                    property: "String", # required
                  },
                },
                collection_binding_properties: {
                  field: "String",
                  property: "String", # required
                },
                component_name: "String",
                concat: [
                  {
                    # recursive ComponentProperty
                  },
                ],
                condition: {
                  else: {
                    # recursive ComponentProperty
                  },
                  field: "String",
                  operand: "String",
                  operand_type: "String",
                  operator: "String",
                  property: "String",
                  then: {
                    # recursive ComponentProperty
                  },
                },
                configured: false,
                default_value: "String",
                event: "String",
                imported_value: "String",
                model: "String",
                property: "String",
                type: "String",
                user_attribute: "String",
                value: "String",
              },
            },
          },
        },
        id: "Uuid",
        name: "ComponentName",
        overrides: {
          "String" => {
            "String" => "String",
          },
        },
        properties: {
          "String" => {
            binding_properties: {
              field: "String",
              property: "String", # required
            },
            bindings: {
              "String" => {
                element: "String", # required
                property: "String", # required
              },
            },
            collection_binding_properties: {
              field: "String",
              property: "String", # required
            },
            component_name: "String",
            concat: [
              {
                # recursive ComponentProperty
              },
            ],
            condition: {
              else: {
                # recursive ComponentProperty
              },
              field: "String",
              operand: "String",
              operand_type: "String",
              operator: "String",
              property: "String",
              then: {
                # recursive ComponentProperty
              },
            },
            configured: false,
            default_value: "String",
            event: "String",
            imported_value: "String",
            model: "String",
            property: "String",
            type: "String",
            user_attribute: "String",
            value: "String",
          },
        },
        schema_version: "String",
        source_id: "String",
        variants: [
          {
            overrides: {
              "String" => {
                "String" => "String",
              },
            },
            variant_values: {
              "String" => "String",
            },
          },
        ],
      },
    }

@!attribute [rw] app_id

The unique ID for the Amplify app.
@return [String]

@!attribute [rw] client_token

The unique client token.

**A suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

@!attribute [rw] environment_name

The name of the backend environment that is part of the Amplify app.
@return [String]

@!attribute [rw] id

The unique ID for the component.
@return [String]

@!attribute [rw] updated_component

The configuration of the updated component.
@return [Types::UpdateComponentData]

@see docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UpdateComponentRequest AWS API Documentation

Constants

SENSITIVE