rebase: Bump github.com/aws/aws-sdk-go-v2/service/sts

Bumps [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) from 1.18.3 to 1.18.5.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.3...config/v1.18.5)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2023-03-06 20:13:31 +00:00
committed by mergify[bot]
parent 8fd0383cbe
commit 4685fc07cd
13 changed files with 53 additions and 33 deletions

View File

@ -1,3 +1,7 @@
# v1.9.23 (2023-02-20)
* **Dependency Update**: Updated to the latest SDK module versions
# v1.9.22 (2023-02-03)
* **Dependency Update**: Updated to the latest SDK module versions

View File

@ -3,4 +3,4 @@
package presignedurl
// goModuleVersion is the tagged release for this module
const goModuleVersion = "1.9.22"
const goModuleVersion = "1.9.23"

View File

@ -1,3 +1,11 @@
# v1.18.5 (2023-02-22)
* **Bug Fix**: Prevent nil pointer dereference when retrieving error codes.
# v1.18.4 (2023-02-20)
* **Dependency Update**: Updated to the latest SDK module versions
# v1.18.3 (2023-02-03)
* **Dependency Update**: Updated to the latest SDK module versions

View File

@ -3,4 +3,4 @@
package sts
// goModuleVersion is the tagged release for this module
const goModuleVersion = "1.18.3"
const goModuleVersion = "1.18.5"

View File

@ -27,7 +27,7 @@ func (e *ExpiredTokenException) ErrorMessage() string {
return *e.Message
}
func (e *ExpiredTokenException) ErrorCode() string {
if e.ErrorCodeOverride == nil {
if e == nil || e.ErrorCodeOverride == nil {
return "ExpiredTokenException"
}
return *e.ErrorCodeOverride
@ -57,7 +57,7 @@ func (e *IDPCommunicationErrorException) ErrorMessage() string {
return *e.Message
}
func (e *IDPCommunicationErrorException) ErrorCode() string {
if e.ErrorCodeOverride == nil {
if e == nil || e.ErrorCodeOverride == nil {
return "IDPCommunicationError"
}
return *e.ErrorCodeOverride
@ -86,7 +86,7 @@ func (e *IDPRejectedClaimException) ErrorMessage() string {
return *e.Message
}
func (e *IDPRejectedClaimException) ErrorCode() string {
if e.ErrorCodeOverride == nil {
if e == nil || e.ErrorCodeOverride == nil {
return "IDPRejectedClaim"
}
return *e.ErrorCodeOverride
@ -114,7 +114,7 @@ func (e *InvalidAuthorizationMessageException) ErrorMessage() string {
return *e.Message
}
func (e *InvalidAuthorizationMessageException) ErrorCode() string {
if e.ErrorCodeOverride == nil {
if e == nil || e.ErrorCodeOverride == nil {
return "InvalidAuthorizationMessageException"
}
return *e.ErrorCodeOverride
@ -144,7 +144,7 @@ func (e *InvalidIdentityTokenException) ErrorMessage() string {
return *e.Message
}
func (e *InvalidIdentityTokenException) ErrorCode() string {
if e.ErrorCodeOverride == nil {
if e == nil || e.ErrorCodeOverride == nil {
return "InvalidIdentityToken"
}
return *e.ErrorCodeOverride
@ -171,7 +171,7 @@ func (e *MalformedPolicyDocumentException) ErrorMessage() string {
return *e.Message
}
func (e *MalformedPolicyDocumentException) ErrorCode() string {
if e.ErrorCodeOverride == nil {
if e == nil || e.ErrorCodeOverride == nil {
return "MalformedPolicyDocument"
}
return *e.ErrorCodeOverride
@ -208,7 +208,7 @@ func (e *PackedPolicyTooLargeException) ErrorMessage() string {
return *e.Message
}
func (e *PackedPolicyTooLargeException) ErrorCode() string {
if e.ErrorCodeOverride == nil {
if e == nil || e.ErrorCodeOverride == nil {
return "PackedPolicyTooLarge"
}
return *e.ErrorCodeOverride
@ -239,7 +239,7 @@ func (e *RegionDisabledException) ErrorMessage() string {
return *e.Message
}
func (e *RegionDisabledException) ErrorCode() string {
if e.ErrorCodeOverride == nil {
if e == nil || e.ErrorCodeOverride == nil {
return "RegionDisabledException"
}
return *e.ErrorCodeOverride