ShapeEncoding

public enum ShapeEncoding

How the AWSShapeMember is serialized in XML and Query formats. Used for collection elements.

  • default case, flat arrays and serializing dictionaries like all other codable structures

    Declaration

    Swift

    case `default`
  • encode array as multiple entries all with same name

    Declaration

    Swift

    case flatList
  • encode array as multiple entries all with same name, enclosed by element member

    Declaration

    Swift

    case list(member: String)
  • encode dictionary with multiple pairs of key and value entries

    Declaration

    Swift

    case flatMap(key: String, value: String)
  • encode dictionary with multiple pairs of key and value entries, enclosed by element entry

    Declaration

    Swift

    case map(entry: String, key: String, value: String)
  • Undocumented

    Declaration

    Swift

    public var xmlEncoding: XMLContainerCoding? { get }