mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-07 22:20:24 +00:00
Update vendored deps, including AWS SDK, openpgp, ftp, ...
This commit is contained in:
+750
-272
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -18,7 +18,7 @@
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To AWS Lambda with the SDK use the New function to create
|
||||
// To contact AWS Lambda 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.
|
||||
//
|
||||
|
||||
+9
-3
@@ -41,9 +41,7 @@ const (
|
||||
//
|
||||
// One of the parameters in the request is invalid. For example, if you provided
|
||||
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
|
||||
// API, that AWS Lambda is unable to assume you will get this exception. You
|
||||
// will also get this exception if you have selected a deprecated runtime, such
|
||||
// as Node v0.10.42.
|
||||
// API, that AWS Lambda is unable to assume you will get this exception.
|
||||
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
|
||||
|
||||
// ErrCodeInvalidRequestContentException for service response error code
|
||||
@@ -111,6 +109,14 @@ const (
|
||||
// Lambda function access policy is limited to 20 KB.
|
||||
ErrCodePolicyLengthExceededException = "PolicyLengthExceededException"
|
||||
|
||||
// ErrCodePreconditionFailedException for service response error code
|
||||
// "PreconditionFailedException".
|
||||
//
|
||||
// The RevisionId provided does not match the latest RevisionId for the Lambda
|
||||
// function or alias. Call the GetFunction or the GetAlias API to retrieve the
|
||||
// latest RevisionId for your resource.
|
||||
ErrCodePreconditionFailedException = "PreconditionFailedException"
|
||||
|
||||
// ErrCodeRequestTooLargeException for service response error code
|
||||
// "RequestTooLargeException".
|
||||
//
|
||||
|
||||
+12
@@ -55,6 +55,8 @@ func ExampleLambda_AddPermission_shared00() {
|
||||
fmt.Println(lambda.ErrCodePolicyLengthExceededException, aerr.Error())
|
||||
case lambda.ErrCodeTooManyRequestsException:
|
||||
fmt.Println(lambda.ErrCodeTooManyRequestsException, aerr.Error())
|
||||
case lambda.ErrCodePreconditionFailedException:
|
||||
fmt.Println(lambda.ErrCodePreconditionFailedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -674,6 +676,8 @@ func ExampleLambda_PublishVersion_shared00() {
|
||||
fmt.Println(lambda.ErrCodeTooManyRequestsException, aerr.Error())
|
||||
case lambda.ErrCodeCodeStorageExceededException:
|
||||
fmt.Println(lambda.ErrCodeCodeStorageExceededException, aerr.Error())
|
||||
case lambda.ErrCodePreconditionFailedException:
|
||||
fmt.Println(lambda.ErrCodePreconditionFailedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -711,6 +715,8 @@ func ExampleLambda_RemovePermission_shared00() {
|
||||
fmt.Println(lambda.ErrCodeInvalidParameterValueException, aerr.Error())
|
||||
case lambda.ErrCodeTooManyRequestsException:
|
||||
fmt.Println(lambda.ErrCodeTooManyRequestsException, aerr.Error())
|
||||
case lambda.ErrCodePreconditionFailedException:
|
||||
fmt.Println(lambda.ErrCodePreconditionFailedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -749,6 +755,8 @@ func ExampleLambda_UpdateAlias_shared00() {
|
||||
fmt.Println(lambda.ErrCodeInvalidParameterValueException, aerr.Error())
|
||||
case lambda.ErrCodeTooManyRequestsException:
|
||||
fmt.Println(lambda.ErrCodeTooManyRequestsException, aerr.Error())
|
||||
case lambda.ErrCodePreconditionFailedException:
|
||||
fmt.Println(lambda.ErrCodePreconditionFailedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -831,6 +839,8 @@ func ExampleLambda_UpdateFunctionCode_shared00() {
|
||||
fmt.Println(lambda.ErrCodeTooManyRequestsException, aerr.Error())
|
||||
case lambda.ErrCodeCodeStorageExceededException:
|
||||
fmt.Println(lambda.ErrCodeCodeStorageExceededException, aerr.Error())
|
||||
case lambda.ErrCodePreconditionFailedException:
|
||||
fmt.Println(lambda.ErrCodePreconditionFailedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -875,6 +885,8 @@ func ExampleLambda_UpdateFunctionConfiguration_shared00() {
|
||||
fmt.Println(lambda.ErrCodeTooManyRequestsException, aerr.Error())
|
||||
case lambda.ErrCodeResourceConflictException:
|
||||
fmt.Println(lambda.ErrCodeResourceConflictException, aerr.Error())
|
||||
case lambda.ErrCodePreconditionFailedException:
|
||||
fmt.Println(lambda.ErrCodePreconditionFailedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
|
||||
+8
@@ -88,6 +88,10 @@ type LambdaAPI interface {
|
||||
DeleteFunctionWithContext(aws.Context, *lambda.DeleteFunctionInput, ...request.Option) (*lambda.DeleteFunctionOutput, error)
|
||||
DeleteFunctionRequest(*lambda.DeleteFunctionInput) (*request.Request, *lambda.DeleteFunctionOutput)
|
||||
|
||||
DeleteFunctionConcurrency(*lambda.DeleteFunctionConcurrencyInput) (*lambda.DeleteFunctionConcurrencyOutput, error)
|
||||
DeleteFunctionConcurrencyWithContext(aws.Context, *lambda.DeleteFunctionConcurrencyInput, ...request.Option) (*lambda.DeleteFunctionConcurrencyOutput, error)
|
||||
DeleteFunctionConcurrencyRequest(*lambda.DeleteFunctionConcurrencyInput) (*request.Request, *lambda.DeleteFunctionConcurrencyOutput)
|
||||
|
||||
GetAccountSettings(*lambda.GetAccountSettingsInput) (*lambda.GetAccountSettingsOutput, error)
|
||||
GetAccountSettingsWithContext(aws.Context, *lambda.GetAccountSettingsInput, ...request.Option) (*lambda.GetAccountSettingsOutput, error)
|
||||
GetAccountSettingsRequest(*lambda.GetAccountSettingsInput) (*request.Request, *lambda.GetAccountSettingsOutput)
|
||||
@@ -150,6 +154,10 @@ type LambdaAPI interface {
|
||||
PublishVersionWithContext(aws.Context, *lambda.PublishVersionInput, ...request.Option) (*lambda.FunctionConfiguration, error)
|
||||
PublishVersionRequest(*lambda.PublishVersionInput) (*request.Request, *lambda.FunctionConfiguration)
|
||||
|
||||
PutFunctionConcurrency(*lambda.PutFunctionConcurrencyInput) (*lambda.PutFunctionConcurrencyOutput, error)
|
||||
PutFunctionConcurrencyWithContext(aws.Context, *lambda.PutFunctionConcurrencyInput, ...request.Option) (*lambda.PutFunctionConcurrencyOutput, error)
|
||||
PutFunctionConcurrencyRequest(*lambda.PutFunctionConcurrencyInput) (*request.Request, *lambda.PutFunctionConcurrencyOutput)
|
||||
|
||||
RemovePermission(*lambda.RemovePermissionInput) (*lambda.RemovePermissionOutput, error)
|
||||
RemovePermissionWithContext(aws.Context, *lambda.RemovePermissionInput, ...request.Option) (*lambda.RemovePermissionOutput, error)
|
||||
RemovePermissionRequest(*lambda.RemovePermissionInput) (*request.Request, *lambda.RemovePermissionOutput)
|
||||
|
||||
Reference in New Issue
Block a user