N
An attribute of type Number. For example:
"N": "123.45"
Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.
Inherited functions
Casts this AttributeValue as a B and retrieves its kotlin.ByteArray value. Throws an exception if the AttributeValue is not a B.
Casts this AttributeValue as a Bool and retrieves its kotlin.Boolean value. Throws an exception if the AttributeValue is not a Bool.
Casts this AttributeValue as a Bool and retrieves its kotlin.Boolean value. Returns null if the AttributeValue is not a Bool.
Casts this AttributeValue as a B and retrieves its kotlin.ByteArray value. Returns null if the AttributeValue is not a B.
Casts this AttributeValue as a Bs and retrieves its kotlin.collections.List
Casts this AttributeValue as a Bs and retrieves its kotlin.collections.List
Casts this AttributeValue as a L and retrieves its kotlin.collections.List
Casts this AttributeValue as a L and retrieves its kotlin.collections.List
Casts this AttributeValue as a M and retrieves its kotlin.collections.Map
Casts this AttributeValue as a M and retrieves its kotlin.collections.Map
Casts this AttributeValue as a N and retrieves its kotlin.String value. Throws an exception if the AttributeValue is not a N.
Casts this AttributeValue as a N and retrieves its kotlin.String value. Returns null if the AttributeValue is not a N.
Casts this AttributeValue as a Ns and retrieves its kotlin.collections.List
Casts this AttributeValue as a Ns and retrieves its kotlin.collections.List
Casts this AttributeValue as a Null and retrieves its kotlin.Boolean value. Throws an exception if the AttributeValue is not a Null.
Casts this AttributeValue as a Null and retrieves its kotlin.Boolean value. Returns null if the AttributeValue is not a Null.
Casts this AttributeValue as a S and retrieves its kotlin.String value. Throws an exception if the AttributeValue is not a S.
Casts this AttributeValue as a S and retrieves its kotlin.String value. Returns null if the AttributeValue is not a S.
Casts this AttributeValue as a Ss and retrieves its kotlin.collections.List
Casts this AttributeValue as a Ss and retrieves its kotlin.collections.List