AWSEncodableShape

public protocol AWSEncodableShape : AWSShape, Encodable

AWSShape that can be encoded

  • _xmlNamespace Default implementation

    The XML namespace for the object

    Default Implementation

    Declaration

    Swift

    static var _xmlNamespace: String? { get }
  • validate(name:) Default implementation

    returns if a shape is valid. The checks for validity are defined by the AWS model files we get from http://github.com/aws/aws-sdk-go

    Default Implementation

    stub validate function for all shapes

    Declaration

    Swift

    func validate(name: String) throws
  • validate() Extension method

    Declaration

    Swift

    func validate() throws
  • validationError(_:) Extension method

    Return validation error

    Declaration

    Swift

    static func validationError(_ message: String) -> Error
  • validate(_:name:parent:min:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T, name: String, parent: String, min: T) throws where T : BinaryInteger
  • validate(_:name:parent:max:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T, name: String, parent: String, max: T) throws where T : BinaryInteger
  • validate(_:name:parent:min:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T, name: String, parent: String, min: T) throws where T : FloatingPoint
  • validate(_:name:parent:max:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T, name: String, parent: String, max: T) throws where T : FloatingPoint
  • validate(_:name:parent:min:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T, name: String, parent: String, min: Int) throws where T : Collection
  • validate(_:name:parent:max:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T, name: String, parent: String, max: Int) throws where T : Collection
  • validate(_:name:parent:min:) Extension method

    Declaration

    Swift

    func validate(_ value: AWSPayload, name: String, parent: String, min: Int) throws
  • validate(_:name:parent:max:) Extension method

    Declaration

    Swift

    func validate(_ value: AWSPayload, name: String, parent: String, max: Int) throws
  • Declaration

    Swift

    func validate(_ value: String, name: String, parent: String, pattern: String) throws
  • validate(_:name:parent:min:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T?, name: String, parent: String, min: T) throws where T : BinaryInteger
  • validate(_:name:parent:max:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T?, name: String, parent: String, max: T) throws where T : BinaryInteger
  • validate(_:name:parent:min:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T?, name: String, parent: String, min: T) throws where T : FloatingPoint
  • validate(_:name:parent:max:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T?, name: String, parent: String, max: T) throws where T : FloatingPoint
  • validate(_:name:parent:min:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T?, name: String, parent: String, min: Int) throws where T : Collection
  • validate(_:name:parent:max:) Extension method

    Declaration

    Swift

    func validate<T>(_ value: T?, name: String, parent: String, max: Int) throws where T : Collection
  • validate(_:name:parent:min:) Extension method

    Declaration

    Swift

    func validate(_ value: AWSPayload?, name: String, parent: String, min: Int) throws
  • validate(_:name:parent:max:) Extension method

    Declaration

    Swift

    func validate(_ value: AWSPayload?, name: String, parent: String, max: Int) throws
  • Declaration

    Swift

    func validate(_ value: String?, name: String, parent: String, pattern: String) throws