mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-15 11:57:59 +00:00
New upstream version 1.3.0
This commit is contained in:
+2
@@ -1167,6 +1167,8 @@ func ExampleKMS_RetireGrant_shared00() {
|
||||
if err != nil {
|
||||
if aerr, ok := err.(awserr.Error); ok {
|
||||
switch aerr.Code() {
|
||||
case kms.ErrCodeInvalidArnException:
|
||||
fmt.Println(kms.ErrCodeInvalidArnException, aerr.Error())
|
||||
case kms.ErrCodeInvalidGrantTokenException:
|
||||
fmt.Println(kms.ErrCodeInvalidGrantTokenException, aerr.Error())
|
||||
case kms.ErrCodeInvalidGrantIdException:
|
||||
|
||||
Reference in New Issue
Block a user