| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration
Description
Synopsis
- data ComponentDataConfiguration = ComponentDataConfiguration' {}
- newComponentDataConfiguration :: Text -> ComponentDataConfiguration
- componentDataConfiguration_identifiers :: Lens' ComponentDataConfiguration (Maybe [Text])
- componentDataConfiguration_predicate :: Lens' ComponentDataConfiguration (Maybe Predicate)
- componentDataConfiguration_sort :: Lens' ComponentDataConfiguration (Maybe [SortProperty])
- componentDataConfiguration_model :: Lens' ComponentDataConfiguration Text
Documentation
data ComponentDataConfiguration Source #
Describes the configuration for binding a component's properties to data.
See: newComponentDataConfiguration smart constructor.
Constructors
| ComponentDataConfiguration' | |
Fields
| |
Instances
newComponentDataConfiguration Source #
Create a value of ComponentDataConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:identifiers:ComponentDataConfiguration', componentDataConfiguration_identifiers - A list of IDs to use to bind data to a component. Use this property to
bind specifically chosen data, rather than data retrieved from a query.
$sel:predicate:ComponentDataConfiguration', componentDataConfiguration_predicate - Represents the conditional logic to use when binding data to a
component. Use this property to retrieve only a subset of the data in a
collection.
$sel:sort:ComponentDataConfiguration', componentDataConfiguration_sort - Describes how to sort the component's properties.
$sel:model:ComponentDataConfiguration', componentDataConfiguration_model - The name of the data model to use to bind data to a component.
componentDataConfiguration_identifiers :: Lens' ComponentDataConfiguration (Maybe [Text]) Source #
A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
componentDataConfiguration_predicate :: Lens' ComponentDataConfiguration (Maybe Predicate) Source #
Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
componentDataConfiguration_sort :: Lens' ComponentDataConfiguration (Maybe [SortProperty]) Source #
Describes how to sort the component's properties.
componentDataConfiguration_model :: Lens' ComponentDataConfiguration Text Source #
The name of the data model to use to bind data to a component.