mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-07 22:20:24 +00:00
Upgrade AWS SDK to the latest version
This commit is contained in:
+1191
-340
File diff suppressed because it is too large
Load Diff
+34
@@ -0,0 +1,34 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package lambda provides the client and types for making API
|
||||
// requests to AWS Lambda.
|
||||
//
|
||||
// Overview
|
||||
//
|
||||
// This is the AWS Lambda API Reference. The AWS Lambda Developer Guide provides
|
||||
// additional information. For the service overview, see What is AWS Lambda
|
||||
// (http://docs.aws.amazon.com/lambda/latest/dg/welcome.html), and for information
|
||||
// about how the service works, see AWS Lambda: How it Works (http://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html)
|
||||
// in the AWS Lambda Developer Guide.
|
||||
//
|
||||
// See https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31 for more information on this service.
|
||||
//
|
||||
// See lambda package documentation for more information.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/lambda/
|
||||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To 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.
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the AWS Lambda client Lambda for more
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/lambda/#New
|
||||
package lambda
|
||||
+10
-2
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package lambda
|
||||
|
||||
@@ -41,7 +41,9 @@ 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.
|
||||
// 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.
|
||||
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
|
||||
|
||||
// ErrCodeInvalidRequestContentException for service response error code
|
||||
@@ -50,6 +52,12 @@ const (
|
||||
// The request body could not be parsed as JSON.
|
||||
ErrCodeInvalidRequestContentException = "InvalidRequestContentException"
|
||||
|
||||
// ErrCodeInvalidRuntimeException for service response error code
|
||||
// "InvalidRuntimeException".
|
||||
//
|
||||
// The runtime or runtime version specified is not supported.
|
||||
ErrCodeInvalidRuntimeException = "InvalidRuntimeException"
|
||||
|
||||
// ErrCodeInvalidSecurityGroupIDException for service response error code
|
||||
// "InvalidSecurityGroupIDException".
|
||||
//
|
||||
|
||||
+703
-462
File diff suppressed because it is too large
Load Diff
+14
-2
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package lambdaiface provides an interface to enable mocking the AWS Lambda service client
|
||||
// for testing your code.
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // AWS Lambda.
|
||||
@@ -138,6 +138,10 @@ type LambdaAPI interface {
|
||||
ListFunctionsPages(*lambda.ListFunctionsInput, func(*lambda.ListFunctionsOutput, bool) bool) error
|
||||
ListFunctionsPagesWithContext(aws.Context, *lambda.ListFunctionsInput, func(*lambda.ListFunctionsOutput, bool) bool, ...request.Option) error
|
||||
|
||||
ListTags(*lambda.ListTagsInput) (*lambda.ListTagsOutput, error)
|
||||
ListTagsWithContext(aws.Context, *lambda.ListTagsInput, ...request.Option) (*lambda.ListTagsOutput, error)
|
||||
ListTagsRequest(*lambda.ListTagsInput) (*request.Request, *lambda.ListTagsOutput)
|
||||
|
||||
ListVersionsByFunction(*lambda.ListVersionsByFunctionInput) (*lambda.ListVersionsByFunctionOutput, error)
|
||||
ListVersionsByFunctionWithContext(aws.Context, *lambda.ListVersionsByFunctionInput, ...request.Option) (*lambda.ListVersionsByFunctionOutput, error)
|
||||
ListVersionsByFunctionRequest(*lambda.ListVersionsByFunctionInput) (*request.Request, *lambda.ListVersionsByFunctionOutput)
|
||||
@@ -150,6 +154,14 @@ type LambdaAPI interface {
|
||||
RemovePermissionWithContext(aws.Context, *lambda.RemovePermissionInput, ...request.Option) (*lambda.RemovePermissionOutput, error)
|
||||
RemovePermissionRequest(*lambda.RemovePermissionInput) (*request.Request, *lambda.RemovePermissionOutput)
|
||||
|
||||
TagResource(*lambda.TagResourceInput) (*lambda.TagResourceOutput, error)
|
||||
TagResourceWithContext(aws.Context, *lambda.TagResourceInput, ...request.Option) (*lambda.TagResourceOutput, error)
|
||||
TagResourceRequest(*lambda.TagResourceInput) (*request.Request, *lambda.TagResourceOutput)
|
||||
|
||||
UntagResource(*lambda.UntagResourceInput) (*lambda.UntagResourceOutput, error)
|
||||
UntagResourceWithContext(aws.Context, *lambda.UntagResourceInput, ...request.Option) (*lambda.UntagResourceOutput, error)
|
||||
UntagResourceRequest(*lambda.UntagResourceInput) (*request.Request, *lambda.UntagResourceOutput)
|
||||
|
||||
UpdateAlias(*lambda.UpdateAliasInput) (*lambda.AliasConfiguration, error)
|
||||
UpdateAliasWithContext(aws.Context, *lambda.UpdateAliasInput, ...request.Option) (*lambda.AliasConfiguration, error)
|
||||
UpdateAliasRequest(*lambda.UpdateAliasInput) (*request.Request, *lambda.AliasConfiguration)
|
||||
|
||||
+6
-9
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package lambda
|
||||
|
||||
@@ -11,15 +11,12 @@ import (
|
||||
"github.com/aws/aws-sdk-go/private/protocol/restjson"
|
||||
)
|
||||
|
||||
// Overview
|
||||
// Lambda provides the API operation methods for making requests to
|
||||
// AWS Lambda. See this package's package overview docs
|
||||
// for details on the service.
|
||||
//
|
||||
// This is the AWS Lambda API Reference. The AWS Lambda Developer Guide provides
|
||||
// additional information. For the service overview, see What is AWS Lambda
|
||||
// (http://docs.aws.amazon.com/lambda/latest/dg/welcome.html), and for information
|
||||
// about how the service works, see AWS Lambda: How it Works (http://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html)
|
||||
// in the AWS Lambda Developer Guide.
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Lambda methods are safe to use concurrently. It is not safe to
|
||||
// modify mutate any of the struct's properties though.
|
||||
type Lambda struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user