maton function version get

maton function version get <version> --function <function-id> [flags]

Show one of a function’s code versions, including the SHA-256 of its bundle, which version list does not have room for.

Download the code itself with maton function code download --version <n>.

Options

-f, --function <string>
Function ID this resource belongs to (required)
-q, --jq <expression>
Filter JSON output using a jq expression
--json <fields>
Output JSON with the specified fields
-t, --template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

ALIASES

maton function versions view, maton functions version view, maton functions versions view, maton function version view

JSON Fields

code_sha256, code_size, created_at, handler, runtime, version

Examples

$ maton function version get 2 --function 9f3c1e2a-0b7d-4c11-9d2e-5f6a7b8c9d01
$ maton function version get 2 -f 9f3c1e2a-0b7d-4c11-9d2e-5f6a7b8c9d01 --json handler,code_sha256

See also