tiki-deprecated / core-account-subscription-estimate

MIT License
0 stars 0 forks source link

core-account-subscription-estimate

Creates a new mytiki data estimate

API

Request (JSON)

{
  "requestId": "string",
  "query": "string"
}

Response (JSON) - /api/latest/ocean/subscription/estimate

{
  "requestId": "string",
  "count": "number",
  "sample": [
    [
      { "VarCharValue":  "string" }
    ]
  ]
}
{
  "requestId": "string",
  "error": {
    "message": "string",
    "cause": "string"
  }
}

Error Response (JSON) - /api/latest/ocean/error

{
  "requestId": "string",
  "error": {
    "message": "string",
    "cause": "string"
  }
}

Configuration

Standard SAM CLI flags for build, package, and deploy phases can be provided via command line flags using "flags="<config>".

example: make build flags="--profile aws_profile"

Standard configuration parameters are provided the same way using the --parameter-overrides flag.

Required

Optional

Build and Deploy

Dependencies

Compile

The project uses a composite JSON assembled at compile time.

make compile

Build

Requires compile step. At build time the cloudformation template is assembled and validate

make build flags="--parameter-overrides ApiAuthorization=<xyz/123>"

Package

Requires compile and build steps.

make package

Deploy

Requires compile, build, and package steps.

make deploy flags="--parameter-overrides ApiAuthorization=<xyz/123>"