Skip to main content

Integration API

SaaSus Eventbridge API Schema (1.0.0)

SaaSus Eventbridge API Schema

eventBridge

Eventbridge Resource Operations

Get EventBridge Settings

Gets the settings for providing real-time status of all monitored hosts via Amazon EventBridge.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "aws_account_id": 267185063265,
  • "aws_region": "us-east-1"
}

Update EventBridge Settings

Update configuration used to provide the host state via Amazon EventBridge.

Authorizations:
Bearer
Request Body schema: application/json
aws_account_id
required
string

AWS Account ID

aws_region
required
string (AWS Regions)
Enum: "us-east-1" "us-east-2" "us-west-1" "us-west-2" "af-south-1" "ap-east-1" "ap-south-1" "ap-northeast-1" "ap-northeast-2" "ap-northeast-3" "ap-southeast-1" "ap-southeast-2" "ap-southeast-3" "ca-central-1" "eu-central-1" "eu-north-1" "eu-south-1" "eu-west-1" "eu-west-2" "eu-west-3" "me-south-1" "sa-east-1"

All AWS regions except Ningxia and Beijing in China can be selected.

Responses

Request samples

Content type
application/json
{
  • "aws_account_id": 267185063265,
  • "aws_region": "us-east-1"
}

Response samples

Content type
application/json
{
  • "type": "string",
  • "message": "string"
}

Delete EventBridge Settings

Delete settings used to provide host state via Amazon EventBridge.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "type": "string",
  • "message": "string"
}

Send Events

Send events to Amazon EventBridge.

Authorizations:
Bearer
Request Body schema: application/json
required
Array of objects (EventMessage)

event message

Array
event_type
required
string

event type

event_detail_type
required
string

detailed event type

message
required
string

event message

Responses

Request samples

Content type
application/json
{
  • "event_messages": [
    ]
}

Response samples

Content type
application/json
{
  • "type": "string",
  • "message": "string"
}

Test EventBridge Connection

Send events to test the connection with Amazon EventBridge.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "type": "string",
  • "message": "string"
}

error

Errors for testing purposes

Return Internal Server Error

This endpoint is used for testing purposes. Returns a server error with status code 500.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "type": "string",
  • "message": "string"
}