Skip to content

Commit

Permalink
OCM-6620 | feat: add SignatureDoesNotMatch const
Browse files Browse the repository at this point in the history
Add the const to handle errors returned from the AWS client in CS.
  • Loading branch information
oriAdler committed Mar 11, 2024
1 parent ff8c6c1 commit 5f074ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/aws/errors/errors.go
Original file line number Diff line number Diff line change
@@ -8,8 +8,9 @@ import (
)

const (
InvalidClientTokenID = "InvalidClientTokenId"
AccessDenied = "AccessDenied"
SignatureDoesNotMatch = "SignatureDoesNotMatch"
InvalidClientTokenID = "InvalidClientTokenId"
AccessDenied = "AccessDenied"
Forbidden = "Forbidden"
DryRunOperation = "DryRunOperation"
UnauthorizedOperation = "UnauthorizedOperation"
@@ -28,7 +29,7 @@ const (
NoSuchHostedZone = "NoSuchHostedZone"
DependencyViolation = "DependencyViolation"
NoSuchEntity = "NoSuchEntity"
InvalidRouteTableID = "InvalidRouteTableID.NotFound"
InvalidRouteTableID = "InvalidRouteTableID.NotFound"
InvalidInternetGatewayID = "InvalidInternetGatewayID.NotFound"
InvalidVpcID = "InvalidVpcID.NotFound"
InvalidAllocationID = "InvalidAllocationID.NotFound"
@@ -79,4 +80,3 @@ func IsDeleteConfictException(err error) bool {
var deleteConflict *iamtypes.DeleteConflictException
return errors.As(err, &deleteConflict)
}

0 comments on commit 5f074ea

Please sign in to comment.