Instance Methodsoto-core 7.4.0SotoCore
validate(_:name:parent:max:)
AWSShape.swift:162func validate(_ value: (some Collection)?, name: String, parent: String, max: Int) throws
func validate(_ value: (some Collection)?, name: String, parent: String, max: Int) throws
s8SotoCore17AWSEncodableShapePAAE8validate_4name6parent3maxyqd__Sg_S2SSitKSlRd__lF
What are these?3667W
import SotoCore
protocol AWSEncodableShape : AWSShape, Encodable
AWSShape that can be encoded into API input
protocol Collection<Element> : Sequence
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
@frozen struct String
A Unicode string value that is a collection of characters.
@frozen struct Int
A signed integer value type.
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<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