// Returns information about the function or function version, with a link to
// download the deployment package that's valid for 10 minutes. If you specify a
// function version, only details that are specific to that version are returned.
Returns information about the function or function version, with a link to
download the deployment package that's valid for 10 minutes. If you specify a
function version, only details that are specific to that version are returned.
// Returns information about the function or function version with a link to // download the deployment package that ' s valid for 10 minutes . If you specify a // function version only details that are specific to that version are returned .
func (c *Client) GetFunction(ctx context.Context, params *GetFunctionInput, optFns ...func(*Options)) (*GetFunctionOutput, error) {
	if params == nil {
		params = &GetFunctionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetFunction", params, optFns, addOperationGetFunctionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetFunctionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetFunction ( ctx context . Context , params * GetFunctionInput , optFns ... func ( * Options ) ) ( * GetFunctionOutput , error ) { if params == nil { params = & GetFunctionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetFunctionMiddlewares ) if err != nil { return nil , err } out := result . ( * GetFunctionOutput ) out . ResultMetadata = metadata return out , nil }
Returns information about the function or function version, with a link to
download the deployment package that's valid for 10 minutes.
Returns information about the function or function version with a link to download the deployment package that ' s valid for 10 minutes .