AWSShape
public protocol AWSShape : XMLCodable
Protocol for the input and output objects for all AWS service commands. They need to be Codable so they can be serialized. They also need to provide details on how their container classes are coded when serializing XML.
-
payloadPath
Default implementationThe path to the object that is included in the request/response body
Default Implementation
Declaration
Swift
static var payloadPath: String? { get }
-
_xmlNamespace
Default implementationThe XML namespace for the object
Default Implementation
Declaration
Swift
static var _xmlNamespace: String? { get }
-
_members
Default implementationThe array of members serialization helpers
Default Implementation
Declaration
Swift
static var _members: [AWSShapeMember] { get }
-
validate(name:)
Default implementationreturns 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
Default Implementation
stub validate function for all shapes
Declaration
Swift
func validate(name: String) throws
-
getMember(named:)
Extension methodreturn member with provided name
Declaration
Swift
public static func getMember(named: String) -> AWSShapeMember?
-
getMember(locationNamed:)
Extension methodreturn member with provided location name
Declaration
Swift
public static func getMember(locationNamed: String) -> AWSShapeMember?
-
pathParams
Extension methodreturn list of member variables serialized in the URL path
Declaration
Swift
public static var pathParams: [String : String] { get }
-
headerParams
Extension methodreturn list of member variables serialized in the headers
Declaration
Swift
public static var headerParams: [String : String] { get }
-
queryParams
Extension methodreturn list of member variables serialized as query parameters
Declaration
Swift
public static var queryParams: [String : String] { get }
-
hasEncodableBody
Extension methodreturns whether the shape has any members being serialized into the request/response body
Declaration
Swift
public static var hasEncodableBody: Bool { get }
-
validate()
Extension methodUndocumented
Declaration
Swift
public func validate() throws
-
validate(_:name:parent:min:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T, name: String, parent: String, min: T) throws where T : BinaryInteger
-
validate(_:name:parent:max:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T, name: String, parent: String, max: T) throws where T : BinaryInteger
-
validate(_:name:parent:min:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T, name: String, parent: String, min: T) throws where T : FloatingPoint
-
validate(_:name:parent:max:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T, name: String, parent: String, max: T) throws where T : FloatingPoint
-
validate(_:name:parent:min:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T, name: String, parent: String, min: Int) throws where T : Collection
-
validate(_:name:parent:max:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T, name: String, parent: String, max: Int) throws where T : Collection
-
validate(_:name:parent:pattern:)
Extension methodUndocumented
Declaration
Swift
public func validate(_ value: String, name: String, parent: String, pattern: String) throws
-
validate(_:name:parent:min:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T?, name: String, parent: String, min: T) throws where T : BinaryInteger
-
validate(_:name:parent:max:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T?, name: String, parent: String, max: T) throws where T : BinaryInteger
-
validate(_:name:parent:min:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T?, name: String, parent: String, min: T) throws where T : FloatingPoint
-
validate(_:name:parent:max:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T?, name: String, parent: String, max: T) throws where T : FloatingPoint
-
validate(_:name:parent:min:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T?, name: String, parent: String, min: Int) throws where T : Collection
-
validate(_:name:parent:max:)
Extension methodUndocumented
Declaration
Swift
public func validate<T>(_ value: T?, name: String, parent: String, max: Int) throws where T : Collection
-
validate(_:name:parent:pattern:)
Extension methodUndocumented
Declaration
Swift
public func validate(_ value: String?, name: String, parent: String, pattern: String) throws
-
idempotencyToken()
Extension methodReturn an idempotencyToken
Declaration
Swift
public static func idempotencyToken() -> String
-
getXMLContainerCoding(for:)
Extension methodUndocumented
Declaration
Swift
public static func getXMLContainerCoding(for key: CodingKey) -> XMLContainerCoding?