mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Update vendored deps, including AWS SDK, openpgp, ftp, ...
This commit is contained in:
+636
-465
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -82,7 +82,7 @@
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To AWS Key Management Service with the SDK use the New function to create
|
||||
// To contact AWS Key Management Service with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
|
||||
+5
-5
@@ -28,9 +28,8 @@ const (
|
||||
// "ExpiredImportTokenException".
|
||||
//
|
||||
// The request was rejected because the provided import token is expired. Use
|
||||
// GetParametersForImport to retrieve a new import token and public key, use
|
||||
// the new public key to encrypt the key material, and then try the request
|
||||
// again.
|
||||
// GetParametersForImport to get a new import token and public key, use the
|
||||
// new public key to encrypt the key material, and then try the request again.
|
||||
ErrCodeExpiredImportTokenException = "ExpiredImportTokenException"
|
||||
|
||||
// ErrCodeIncorrectKeyMaterialException for service response error code
|
||||
@@ -63,8 +62,9 @@ const (
|
||||
// ErrCodeInvalidCiphertextException for service response error code
|
||||
// "InvalidCiphertextException".
|
||||
//
|
||||
// The request was rejected because the specified ciphertext has been corrupted
|
||||
// or is otherwise invalid.
|
||||
// The request was rejected because the specified ciphertext, or additional
|
||||
// authenticated data incorporated into the ciphertext, such as the encryption
|
||||
// context, is corrupted, missing, or otherwise invalid.
|
||||
ErrCodeInvalidCiphertextException = "InvalidCiphertextException"
|
||||
|
||||
// ErrCodeInvalidGrantIdException for service response error code
|
||||
|
||||
+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