mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+14
@@ -185,6 +185,12 @@ func ExampleKMS_CreateKey_shared00() {
|
||||
fmt.Println(kms.ErrCodeLimitExceededException, aerr.Error())
|
||||
case kms.ErrCodeTagException:
|
||||
fmt.Println(kms.ErrCodeTagException, aerr.Error())
|
||||
case kms.ErrCodeCustomKeyStoreNotFoundException:
|
||||
fmt.Println(kms.ErrCodeCustomKeyStoreNotFoundException, aerr.Error())
|
||||
case kms.ErrCodeCustomKeyStoreInvalidStateException:
|
||||
fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error())
|
||||
case kms.ErrCodeCloudHsmClusterInvalidConfigurationException:
|
||||
fmt.Println(kms.ErrCodeCloudHsmClusterInvalidConfigurationException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -666,6 +672,10 @@ func ExampleKMS_GenerateRandom_shared00() {
|
||||
fmt.Println(kms.ErrCodeDependencyTimeoutException, aerr.Error())
|
||||
case kms.ErrCodeInternalException:
|
||||
fmt.Println(kms.ErrCodeInternalException, aerr.Error())
|
||||
case kms.ErrCodeCustomKeyStoreNotFoundException:
|
||||
fmt.Println(kms.ErrCodeCustomKeyStoreNotFoundException, aerr.Error())
|
||||
case kms.ErrCodeCustomKeyStoreInvalidStateException:
|
||||
fmt.Println(kms.ErrCodeCustomKeyStoreInvalidStateException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -868,6 +878,10 @@ func ExampleKMS_ListAliases_shared00() {
|
||||
fmt.Println(kms.ErrCodeInvalidMarkerException, aerr.Error())
|
||||
case kms.ErrCodeInternalException:
|
||||
fmt.Println(kms.ErrCodeInternalException, aerr.Error())
|
||||
case kms.ErrCodeInvalidArnException:
|
||||
fmt.Println(kms.ErrCodeInvalidArnException, aerr.Error())
|
||||
case kms.ErrCodeNotFoundException:
|
||||
fmt.Println(kms.ErrCodeNotFoundException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user