Protocols
The following protocols are available globally.
-
Protocol for services objects. Contains a client to communicate with AWS and config for defining how to communicate
See moreDeclaration
Swift
public protocol AWSService
-
Async Protocol for providing credentials
See moreDeclaration
Swift
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *) public protocol AsyncCredentialProvider : CredentialProvider
-
Protocol providing future holding a credential
See moreDeclaration
Swift
public protocol CredentialProvider : CustomStringConvertible
-
Declaration
Swift
public protocol ExpiringCredential : Credential
-
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.
See moreDeclaration
Swift
public protocol AWSShape
-
AWSShape that can be decoded
Declaration
Swift
public protocol AWSDecodableShape : AWSShape, Decodable
-
Root AWSShape which include a payload
See moreDeclaration
Swift
public protocol AWSShapeWithPayload
-
base protocol for encoder/decoder objects
See moreDeclaration
Swift
public protocol CustomCoder
-
Protocol for object that will encode a value
See moreDeclaration
Swift
public protocol CustomEncoder : CustomCoder
-
Protocol for object that will decode a value
See moreDeclaration
Swift
public protocol CustomDecoder : CustomCoder
-
Protocol for a PropertyWrapper to properly handle CustomCoding when the wrappedValue is Optional
See moreDeclaration
Swift
public protocol OptionalCustomCodingWrapper
-
Protocol for array encoding properties. The only property required is the array element name
See moremember
Declaration
Swift
public protocol ArrayCoderProperties
-
Protocol for dictionary encoding properties. The property required are the dictionary element name
See moreentry
, the key namekey
and the value namevalue
Declaration
Swift
public protocol DictionaryCoderProperties
-
Standard Error type returned by Soto. Initialized with error code and message. Must provide an implementation of var description : String
See moreDeclaration
Swift
public protocol AWSErrorType : CustomStringConvertible, Error
-
HTTP Response
See moreDeclaration
Swift
public protocol AWSHTTPResponse
-
Protocol defining requirements for a HTTPClient
See moreDeclaration
Swift
public protocol AWSHTTPClient
-
Middleware protocol. Gives ability to process requests before they are sent to AWS and process responses before they are converted into output shapes
See moreDeclaration
Swift
public protocol AWSServiceMiddleware
-
Protocol for Retry strategy. Has function returning amount of time before the next retry after an HTTP error
See moreDeclaration
Swift
public protocol RetryPolicy
-
Protocol for matchers used in waiters.
A matcher returns whether the returned value from an AWS API call matches a certain state
See moreDeclaration
Swift
public protocol AWSWaiterMatcher