Instance Method (Default implementation)soto-core 7.4.0SotoCore
validate(name:)
stub validate function for all shapes
func validate(name: String) throws
stub validate function for all shapes
func validate(name: String) throws
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.
func validate(name: String) throws
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
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<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