AttributeValue

public class AttributeValue : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • b

    An attribute of type Binary. For example: “B”: “dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk”

    Declaration

    Swift

    public let b: Data?
  • An attribute of type Boolean. For example: “BOOL”: true

    Declaration

    Swift

    public let bool: Bool?
  • bs

    An attribute of type Binary Set. For example: “BS”: [“U3Vubnk=”, “UmFpbnk=”, “U25vd3k=”]

    Declaration

    Swift

    public let bs: [Data]?
  • l

    An attribute of type List. For example: “L”: [ {“S”: “Cookies”} , {“S”: “Coffee”}, {“N”, “3.14159”}]

    Declaration

    Swift

    public let l: [AttributeValue]?
  • m

    An attribute of type Map. For example: “M”: {“Name”: {“S”: “Joe”}, “Age”: {“N”: “35”}}

    Declaration

    Swift

    public let m: [String : AttributeValue]?
  • 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.

    Declaration

    Swift

    public let n: String?
  • ns

    An attribute of type Number Set. For example: “NS”: [“42.2”, “-19”, “7.5”, “3.14”] 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.

    Declaration

    Swift

    public let ns: [String]?
  • An attribute of type Null. For example: “NULL”: true

    Declaration

    Swift

    public let null: Bool?
  • s

    An attribute of type String. For example: “S”: “Hello”

    Declaration

    Swift

    public let s: String?
  • ss

    An attribute of type String Set. For example: “SS”: [“Giraffe”, “Hippo” ,“Zebra”]

    Declaration

    Swift

    public let ss: [String]?
  • Undocumented

    Declaration

    Swift

    public init(b: Data? = nil, bool: Bool? = nil, bs: [Data]? = nil, l: [AttributeValue]? = nil, m: [String : AttributeValue]? = nil, n: String? = nil, ns: [String]? = nil, null: Bool? = nil, s: String? = nil, ss: [String]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws