/AWS1/CL_AMUCOMPONENTBINDING01¶
Represents the data binding configuration for a specific property using data stored in Amazon Web Services. For Amazon Web Services connected properties, you can bind a property to data stored in an Amazon S3 bucket, an Amplify DataStore model or an authenticated user attribute.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_model TYPE /AWS1/AMUSTRING /AWS1/AMUSTRING¶
An Amplify DataStore model.
iv_field TYPE /AWS1/AMUSTRING /AWS1/AMUSTRING¶
The field to bind the data to.
it_predicates TYPE /AWS1/CL_AMUPREDICATE=>TT_PREDICATELIST TT_PREDICATELIST¶
A list of predicates for binding a component's properties to data.
iv_userattribute TYPE /AWS1/AMUSTRING /AWS1/AMUSTRING¶
An authenticated user attribute.
iv_bucket TYPE /AWS1/AMUSTRING /AWS1/AMUSTRING¶
An Amazon S3 bucket.
iv_key TYPE /AWS1/AMUSTRING /AWS1/AMUSTRING¶
The storage key for an Amazon S3 bucket.
iv_defaultvalue TYPE /AWS1/AMUSTRING /AWS1/AMUSTRING¶
The default value to assign to the property.
iv_slotname TYPE /AWS1/AMUSTRING /AWS1/AMUSTRING¶
The name of a component slot.
Queryable Attributes¶
model¶
An Amplify DataStore model.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MODEL() |
Getter for MODEL, with configurable default |
ASK_MODEL() |
Getter for MODEL w/ exceptions if field has no value |
HAS_MODEL() |
Determine if MODEL has a value |
field¶
The field to bind the data to.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FIELD() |
Getter for FIELD, with configurable default |
ASK_FIELD() |
Getter for FIELD w/ exceptions if field has no value |
HAS_FIELD() |
Determine if FIELD has a value |
predicates¶
A list of predicates for binding a component's properties to data.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PREDICATES() |
Getter for PREDICATES, with configurable default |
ASK_PREDICATES() |
Getter for PREDICATES w/ exceptions if field has no value |
HAS_PREDICATES() |
Determine if PREDICATES has a value |
userAttribute¶
An authenticated user attribute.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_USERATTRIBUTE() |
Getter for USERATTRIBUTE, with configurable default |
ASK_USERATTRIBUTE() |
Getter for USERATTRIBUTE w/ exceptions if field has no value |
HAS_USERATTRIBUTE() |
Determine if USERATTRIBUTE has a value |
bucket¶
An Amazon S3 bucket.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BUCKET() |
Getter for BUCKET, with configurable default |
ASK_BUCKET() |
Getter for BUCKET w/ exceptions if field has no value |
HAS_BUCKET() |
Determine if BUCKET has a value |
key¶
The storage key for an Amazon S3 bucket.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_KEY() |
Getter for KEY, with configurable default |
ASK_KEY() |
Getter for KEY w/ exceptions if field has no value |
HAS_KEY() |
Determine if KEY has a value |
defaultValue¶
The default value to assign to the property.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DEFAULTVALUE() |
Getter for DEFAULTVALUE, with configurable default |
ASK_DEFAULTVALUE() |
Getter for DEFAULTVALUE w/ exceptions if field has no value |
HAS_DEFAULTVALUE() |
Determine if DEFAULTVALUE has a value |
slotName¶
The name of a component slot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SLOTNAME() |
Getter for SLOTNAME, with configurable default |
ASK_SLOTNAME() |
Getter for SLOTNAME w/ exceptions if field has no value |
HAS_SLOTNAME() |
Determine if SLOTNAME has a value |