Instance Methodsoto-core 7.4.0SotoCore
validate
AWSShape.swift:59func validate() throws
func validate() throws
import SotoCore
protocol AWSEncodableShape : AWSShape, Encodable
AWSShape that can be encoded into API input
static var _xmlNamespace: String? { get }
The XML namespace for the object
static var _xmlRootNodeName: String? { get }
Return XML root name
static func validationError(_ message: String) -> Error
Return validation error
func validate(_ value: AWSHTTPBody?, name: String, parent: String, max: Int) throws
func validate(_ value: AWSHTTPBody, name: String, parent: String, max: Int) throws
func validate(_ value: AWSBase64Data?, name: String, parent: String, max: Int) throws
func validate(_ value: AWSBase64Data, name: String, parent: String, max: Int) throws
func validate(_ value: (some Collection)?, name: String, parent: String, max: Int) throws
func validate<T>(_ value: T?, name: String, parent: String, max: T) throws where T : FloatingPoint
func validate<T>(_ value: T?, name: String, parent: String, max: T) throws where T : BinaryInteger
func validate(_ value: some Collection, name: String, parent: String, max: Int) throws
func validate<T>(_ value: T, name: String, parent: String, max: T) throws where T : FloatingPoint
func validate<T>(_ value: T, name: String, parent: String, max: T) throws where T : BinaryInteger
func validate(_ value: AWSHTTPBody?, name: String, parent: String, min: Int) throws
func validate(_ value: AWSHTTPBody, name: String, parent: String, min: Int) throws
func validate(_ value: AWSBase64Data?, name: String, parent: String, min: Int) throws
func validate(_ value: AWSBase64Data, name: String, parent: String, min: Int) throws
func validate(_ value: (some Collection)?, name: String, parent: String, min: Int) throws
func validate<T>(_ value: T?, name: String, parent: String, min: T) throws where T : FloatingPoint
func validate<T>(_ value: T?, name: String, parent: String, min: T) throws where T : BinaryInteger
func validate(_ value: some Collection, name: String, parent: String, min: Int) throws
func validate<T>(_ value: T, name: String, parent: String, min: T) throws where T : FloatingPoint
func validate<T>(_ value: T, name: String, parent: String, min: T) throws where T : BinaryInteger
func validate(_ value: String?, name: String, parent: String, pattern: String) throws
func validate(_ value: String, name: String, parent: String, pattern: String) throws
func validate(name: String) throws
stub validate function for all shapes