Update vendored deps, including AWS SDK, openpgp, ftp, ...

This commit is contained in:
Andrey Smirnov
2018-04-05 17:46:45 +03:00
parent cef4fefc40
commit 0e6ee35942
1497 changed files with 450721 additions and 68034 deletions
+2
View File
@@ -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: