FunctionsApi class

Constructors

FunctionsApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteFunctionsByName(String name) → Future<Object?>
Removes one of the caller org's functions and answers 204.
deleteFunctionsByNameWithHttpInfo(String name) → Future<Response>
Removes one of the caller org's functions and answers 204.
getFunctions() → Future<FnList?>
Is every serverless function the caller's org has published, each with its real 7-day rollup.
getFunctionsByName(String name) → Future<FunctionDetail?>
Is one function with everything a detail page needs in one round-trip: its definition, its 7-day rollup, its trigger, its twenty most recent invocations and the NAMES of the secrets it mounts.
getFunctionsByNameInvocations(String name, {int? limit}) → Future<InvocationList?>
Is one function's past runs, newest first — each with its status, HTTP code, method, time and duration.
getFunctionsByNameInvocationsWithHttpInfo(String name, {int? limit}) → Future<Response>
Is one function's past runs, newest first — each with its status, HTTP code, method, time and duration.
getFunctionsByNameLogs(String name) → Future<LogLines?>
Is the output of a function's most recent run — its error text when that run failed, else what it printed.
getFunctionsByNameLogsWithHttpInfo(String name) → Future<Response>
Is the output of a function's most recent run — its error text when that run failed, else what it printed.
getFunctionsByNameWithHttpInfo(String name) → Future<Response>
Is one function with everything a detail page needs in one round-trip: its definition, its 7-day rollup, its trigger, its twenty most recent invocations and the NAMES of the secrets it mounts.
getFunctionsDeployments() → Future<FnList?>
Is what is live right now — each function's current record IS its live deployment, so this is the deployment inventory.
getFunctionsDeploymentsWithHttpInfo() → Future<Response>
Is what is live right now — each function's current record IS its live deployment, so this is the deployment inventory.
getFunctionsMetrics({String? range}) → Future<Usage?>
Is the org's serverless dashboard over a window: a per-function invocation costLine and how those invocations ended.
getFunctionsMetricsWithHttpInfo({String? range}) → Future<Response>
Is the org's serverless dashboard over a window: a per-function invocation costLine and how those invocations ended.
getFunctionsSecrets() → Future<SecretList?>
Is the NAMES of the secrets the caller org's functions mount.
getFunctionsSecretsWithHttpInfo() → Future<Response>
Is the NAMES of the secrets the caller org's functions mount.
getFunctionsTriggers() → Future<TriggerList?>
Is what calls the caller org's functions — one row per function.
getFunctionsTriggersWithHttpInfo() → Future<Response>
Is what calls the caller org's functions — one row per function.
getFunctionsWithHttpInfo() → Future<Response>
Is every serverless function the caller's org has published, each with its real 7-day rollup.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postFunctions(Definition definition) → Future<FunctionView?>
Publishes a serverless function under the caller's org and answers 201 with it.
postFunctionsByNameInvoke(String name, InvokeReq invokeReq) → Future<InvocationView?>
Runs a function and records a REAL invocation.
postFunctionsByNameInvokeWithHttpInfo(String name, InvokeReq invokeReq) → Future<Response>
Runs a function and records a REAL invocation.
postFunctionsWithHttpInfo(Definition definition) → Future<Response>
Publishes a serverless function under the caller's org and answers 201 with it.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited