Skip to main content

Basic usage

The judge method:
  1. Sends the claim and sources to Gateway
  2. Waits for completion (polls automatically)
  3. Returns a Ruling object with the verdict and evidence

Authentication

The AwsClient uses your AWS credentials to invoke the Step Function. Credentials are loaded automatically from:
  • Environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
  • IAM role (when running on AWS)
  • AWS credentials file (~/.aws/credentials)
To use a specific profile or region:

Sources

Currently, only text sources are supported:

Types

All types are importable from gateway:

Errors

Errors are raised from gateway.errors: