You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release consists mostly of bug fixes and internal, structural changes.
Incorporates recent modernization of aws-crt-swift
Fixes error parsing for S3, EC2, and other XML protocol-based services
Improvements to internal SDK structure
Fixes bug where waiters may not behave as expected on an operation error
Fixes inline docs for paginators
Breaking changes in this release:
All of these breaking API changes are related to interface improvements in aws-crt-swift, which was updated from 0.4.0 to 0.5.4 for this release.
The type for the expiration param on URL presign methods has changed from Int64 to TimeInterval. To update, convert your expiration value to a TimeInterval before passing it into the presign function.
The AWSCredentials type's expirationTimeout field has changed from a UInt64 to a Date?.
The AWSCredentialsProvider type's underlying crtCredentialsProvider has been re-typed from CRTAWSCredentialsProvider to AwsCommonRuntimeKit.CredentialsProvider.
The AWSCredentialsProviderCachedConfig's refreshTime field was changed from Int to TimeInterval.
The AWSCredentialsProviderContainerConfig's authToken, host, and pathAndQuery fields are no longer optionals.
The AWSCredentialsProviderSTSConfig's durationSeconds field was changed from UInt16 to TimeInterval.
The initializer for AWSCredentialsProviderWebIdentityConfig is now marked as throws.
Several public CRT types have been renamed, and references have been changed in various SDK APIs:
CredentialsProviding renamed from CRTCredentialsProvider
Credentials renamed from CRTCredentials
AwsCommonRuntimeKit.Profile renamed from CRTAWSProfile
AwsCommonRuntimeKit.ProfileCollection renamed from CRTAWSProfileCollection
AwsCommonRuntimeKit.EndpointsRequestContext renamed from CRTAWSEndpointsRequestContext
AwsCommonRuntimeKit.ResolvedEndpoint renamed from CRTAWSEndpointResolvedEndpoint
AwsCommonRuntimeKit.EndpointsRuleEngine renamed from CRTAWSEndpointsRuleEngine
AwsCommonRuntimeKit.IMDSClient renamed from CRTIMDSClient
Several getter functions on AWSEndpointsResolvedEndpoint no longer throw.
The initializer for IMDSClient now throws.
The initializer for DefaultRegionResolver now throws.
The initializer for IMDSRegionProvider now throws.
The AWSSigningConfig's expiration field is changed from type Int64 to TimeInterval.
The SigV4Config's expiration field is changed from type Int64 to TimeInterval.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
This release consists mostly of bug fixes and internal, structural changes.
aws-crt-swiftBreaking changes in this release:
All of these breaking API changes are related to interface improvements in
aws-crt-swift, which was updated from0.4.0to0.5.4for this release.expirationparam on URL presign methods has changed fromInt64toTimeInterval. To update, convert your expiration value to aTimeIntervalbefore passing it into thepresignfunction.AWSCredentialstype'sexpirationTimeoutfield has changed from aUInt64to aDate?.AWSCredentialsProvidertype's underlyingcrtCredentialsProviderhas been re-typed fromCRTAWSCredentialsProvidertoAwsCommonRuntimeKit.CredentialsProvider.AWSCredentialsProviderCachedConfig'srefreshTimefield was changed fromInttoTimeInterval.AWSCredentialsProviderContainerConfig'sauthToken,host, andpathAndQueryfields are no longer optionals.AWSCredentialsProviderSTSConfig'sdurationSecondsfield was changed fromUInt16toTimeInterval.AWSCredentialsProviderWebIdentityConfigis now marked asthrows.CredentialsProvidingrenamed fromCRTCredentialsProviderCredentialsrenamed fromCRTCredentialsAwsCommonRuntimeKit.Profilerenamed fromCRTAWSProfileAwsCommonRuntimeKit.ProfileCollectionrenamed fromCRTAWSProfileCollectionAwsCommonRuntimeKit.EndpointsRequestContextrenamed fromCRTAWSEndpointsRequestContextAwsCommonRuntimeKit.ResolvedEndpointrenamed fromCRTAWSEndpointResolvedEndpointAwsCommonRuntimeKit.EndpointsRuleEnginerenamed fromCRTAWSEndpointsRuleEngineAwsCommonRuntimeKit.IMDSClientrenamed fromCRTIMDSClientAWSEndpointsResolvedEndpointno longer throw.IMDSClientnow throws.DefaultRegionResolvernow throws.IMDSRegionProvidernow throws.AWSSigningConfig'sexpirationfield is changed from typeInt64toTimeInterval.SigV4Config'sexpirationfield is changed from typeInt64toTimeInterval.What's Changed
expirationparamater inpresignfunctions toTimeIntervaltype. by @epau in fix!: Updatesexpirationparamater inpresignfunctions toTimeIntervaltype. #805New Contributors
Full Changelog: https://github.com/awslabs/aws-sdk-swift/commits/0.9.0
This discussion was created from the release 0.9.0.
Beta Was this translation helpful? Give feedback.
All reactions