The core framework for Soto the Swift SDK for AWS. This is the underlying driver for executing requests to AWS, but you should be using one of the libraries provided by Soto instead of this!
Documentation for the core library can be found here. Documentation for Soto can be found here.
We welcome and encourage contributions from all developers. Please read CONTRIBUTING.md for our contributing guidelines.
soto-core
is released under the Apache 2.0 license. See LICENSE for details.
link |
Stars: 97 |
Last commit: 1 week ago |
Here are a list of all the changes from the latest 5.x.x version to 6.0.0
Sendable
Conformance to all relevant objects/protocols. This includes AWSClient
, AWSService
, CredentialProvider
, AWSShape
and others.AWSHTTPClient
, AWSHTTPRequest
, AWSHTTPResponse
are no longer public symbols._payloadOptions
to AWSShape
and rename to _options
.AWSResponse.headers
type is now HTTPHeaders
instead of [String: Any]
.AWSPayload.stream
has byteBufferAllocator
parameter removed as it is no longer used.ConfigFile
DictionaryDecoder
is no longer publicSotoSignerV4.signHeaders/signURL
that don't include omitSecurityToken
parameter.AWSClient.init
that doesn' include options
parameter.AWSService.with
that doesn't include region
parameter.AWSClient.paginate
functionsAWSClient.shutdown
AWSBase64Data
to store base64 encoded data. This is to replace all instances of Data
in AWS service API input/output shapes.xmlNamespace
to AWSServiceConfig
.AWSShape
option .checksumRequired
which calculates a checksum (md5, crc32, crc32c, sha1 and sha256) of the payload and places it in the headers.AWSShape
option .md5ChecksumHeader
which indicates the shape has a MD5-Content
header which will be calculated if the service config has option .calculateMD5
set to true.Location.hostname
which is used for placing content in the hostname.Location.headerPrefix
which is used for placing a dictionary into multiple headers with the keys prefixed by a string. This was part of the S3 middleware but has now been generalised.NIOConnectionError
as AsyncHTTPClient
does this for us.HTTPClient.remoteConnectionClosed
in debug builds as this could retry non-idempotent calls even when they have been successful.user-agent
header to "Soto/6.0".endpoints.json
file from aws-sdk-go-v2 when generating region fileSwiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics