Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AttributeValue = AttributeValue' {}
- newAttributeValue :: AttributeValue
- attributeValue_sl :: Lens' AttributeValue (Maybe [Text])
- attributeValue_sdm :: Lens' AttributeValue (Maybe (HashMap Text Double))
- attributeValue_n :: Lens' AttributeValue (Maybe Double)
- attributeValue_s :: Lens' AttributeValue (Maybe Text)
Documentation
data AttributeValue Source #
Values for use in Player attribute key-value pairs. This object lets you
specify an attribute value using any of the valid data types: string,
number, string array, or data map. Each AttributeValue
object can use
only one of the available properties.
See: newAttributeValue
smart constructor.
AttributeValue' | |
|
Instances
newAttributeValue :: AttributeValue Source #
Create a value of AttributeValue
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:sl:AttributeValue'
, attributeValue_sl
- For a list of up to 10 strings. Maximum length for each string is 100
characters. Duplicate values are not recognized; all occurrences of the
repeated value after the first of a repeated value are ignored.
$sel:sdm:AttributeValue'
, attributeValue_sdm
- For a map of up to 10 data type:value pairs. Maximum length for each
string value is 100 characters.
$sel:n:AttributeValue'
, attributeValue_n
- For number values, expressed as double.
$sel:s:AttributeValue'
, attributeValue_s
- For single string values. Maximum string length is 100 characters.
attributeValue_sl :: Lens' AttributeValue (Maybe [Text]) Source #
For a list of up to 10 strings. Maximum length for each string is 100 characters. Duplicate values are not recognized; all occurrences of the repeated value after the first of a repeated value are ignored.
attributeValue_sdm :: Lens' AttributeValue (Maybe (HashMap Text Double)) Source #
For a map of up to 10 data type:value pairs. Maximum length for each string value is 100 characters.
attributeValue_n :: Lens' AttributeValue (Maybe Double) Source #
For number values, expressed as double.
attributeValue_s :: Lens' AttributeValue (Maybe Text) Source #
For single string values. Maximum string length is 100 characters.