Instance Methodsoto-core 7.4.0SotoCore
validate(_:name:parent:min:)
AWSShape.swift:137func validate<T>(_ value: T?, name: String, parent: String, min: T) throws where T : BinaryInteger
func validate<T>(_ value: T?, name: String, parent: String, min: T) throws where T : BinaryInteger
s8SotoCore17AWSEncodableShapePAAE8validate_4name6parent3minyqd__Sg_S2Sqd__tKSzRd__lF
What are these?47NBX
import SotoCore
protocol AWSEncodableShape : AWSShape, Encodable
AWSShape that can be encoded into API input
@frozen struct String
A Unicode string value that is a collection of characters.
protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude
An integer type with a binary representation.
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() throws
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(_ 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