amazonka-amplifyuibuilder-2.0: Amazon Amplify UI Builder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

Description

 
Synopsis

Documentation

data ComponentDataConfiguration Source #

Describes the configuration for binding a component's properties to data.

See: newComponentDataConfiguration smart constructor.

Constructors

ComponentDataConfiguration' 

Fields

  • identifiers :: Maybe [Text]

    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.

  • predicate :: Maybe 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.

  • sort :: Maybe [SortProperty]

    Describes how to sort the component's properties.

  • model :: Text

    The name of the data model to use to bind data to a component.

Instances

Instances details
FromJSON ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

ToJSON ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

Generic ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

Associated Types

type Rep ComponentDataConfiguration :: Type -> Type #

Read ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

Show ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

NFData ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

Eq ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

Hashable ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

type Rep ComponentDataConfiguration Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration

type Rep ComponentDataConfiguration = D1 ('MetaData "ComponentDataConfiguration" "Amazonka.AmplifyUiBuilder.Types.ComponentDataConfiguration" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "ComponentDataConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "identifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "predicate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Predicate))) :*: (S1 ('MetaSel ('Just "sort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SortProperty])) :*: S1 ('MetaSel ('Just "model") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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.