Instance Methodsoto-core 7.4.0SotoCore
validate(_:name:parent:max:)
AWSShape.swift:182func validate(_ value: AWSHTTPBody?, name: String, parent: String, max: Int) throws
func validate(_ value: AWSHTTPBody?, name: String, parent: String, max: Int) throws
s8SotoCore17AWSEncodableShapePAAE8validate_4name6parent3maxyAA11AWSHTTPBodyVSg_S2SSitKF
What are these?5KM7H
import SotoCore
protocol AWSEncodableShape : AWSShape, Encodable
AWSShape that can be encoded into API input
struct AWSHTTPBody
Storage for HTTP body which can be either a ByteBuffer or an AsyncSequence of ByteBuffers
@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: 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