Update Go AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2019-07-13 00:03:55 +03:00
committed by Andrey Smirnov
parent d08be990ef
commit 94a72b23ff
2183 changed files with 885887 additions and 228114 deletions
+14
View File
@@ -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())
}