Documentation ¶
Index ¶
- func GetFunction(ctx context.Context, client GetFunctionApi, functionName string) (*lambda.GetFunctionOutput, error)
- func GetFunctionDescription(ctx context.Context, client GetFunctionConfigurationApi, functionName string) (*string, error)
- func ListFunctions(ctx context.Context, client ListFunctionsApi) (*lambda.ListFunctionsOutput, error)
- func NewClient(useTracing bool) *lambda.Client
- func TagLambdaFunction(ctx context.Context, client TagResourceApi, functionName string, ...) error
- func UpdateFunctionCode(ctx context.Context, client UpdateFunctionCodeApi, functionName string, ...) (*lambda.UpdateFunctionCodeOutput, error)
- func UpdateFunctionDescription(ctx context.Context, client UpdateFunctionConfigurationApi, ...) error
- type GetFunctionApi
- type GetFunctionConfigurationApi
- type ListFunctionsApi
- type TagResourceApi
- type UpdateFunctionCodeApi
- type UpdateFunctionConfigurationApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFunction ¶
func GetFunction(ctx context.Context, client GetFunctionApi, functionName string) (*lambda.GetFunctionOutput, error)
Gets lambda function details by function name
func GetFunctionDescription ¶
func ListFunctions ¶
func ListFunctions(ctx context.Context, client ListFunctionsApi) (*lambda.ListFunctionsOutput, error)
List all lambda ListFunctions
func TagLambdaFunction ¶
func UpdateFunctionCode ¶
func UpdateFunctionCode(ctx context.Context, client UpdateFunctionCodeApi, functionName string, s3Bucket string, s3Key string, architecture types.Architecture) (*lambda.UpdateFunctionCodeOutput, error)
Updates lambda function code referenced by function name to code uploaded to specified s3 bucket
Types ¶
type GetFunctionApi ¶
type GetFunctionApi interface { GetFunction(ctx context.Context, params *lambda.GetFunctionInput, optFns ...func(*lambda.Options)) (*lambda.GetFunctionOutput, error) }
type GetFunctionConfigurationApi ¶
type GetFunctionConfigurationApi interface { GetFunctionConfiguration(ctx context.Context, params *lambda.GetFunctionConfigurationInput, optFns ...func(*lambda.Options)) (*lambda.GetFunctionConfigurationOutput, error) }
type ListFunctionsApi ¶
type ListFunctionsApi interface { ListFunctions(ctx context.Context, params *lambda.ListFunctionsInput, optFns ...func(*lambda.Options)) (*lambda.ListFunctionsOutput, error) }
type TagResourceApi ¶
type TagResourceApi interface { TagResource(ctx context.Context, params *lambda.TagResourceInput, optFns ...func(*lambda.Options)) (*lambda.TagResourceOutput, error) }
type UpdateFunctionCodeApi ¶
type UpdateFunctionCodeApi interface { UpdateFunctionCode(ctx context.Context, params *lambda.UpdateFunctionCodeInput, optFns ...func(*lambda.Options)) (*lambda.UpdateFunctionCodeOutput, error) }
type UpdateFunctionConfigurationApi ¶
type UpdateFunctionConfigurationApi interface { UpdateFunctionConfiguration(ctx context.Context, params *lambda.UpdateFunctionConfigurationInput, optFns ...func(*lambda.Options)) (*lambda.UpdateFunctionConfigurationOutput, error) }
Click to show internal directories.
Click to hide internal directories.