Get Credits

billing.get_credits
ActionAmazon Web Servicesconnection required

Calls the AWS billing API (SigV4).

Returns the list of Amazon Web Services account credits for the specified account.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
AWS Billing
Secret shape
{"access_key_id", "secret_access_key"}
Config it needs
region
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
account_id
The Amazon Web Services account ID. Must be a 12-digit numeric string.
stringYes———
start_date
The start date for the credit period as Unix epoch seconds. Must be a past date that is no
stringYes———

Output

One shape.

result

FieldTypeExample
credits
array—
{
  "credits": []
}

See Get Credits run in a workflow.

In a technical demo we add the AWS Billing connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.