Integration API
SaaSus Eventbridge API Schema (1.0.0)
SaaSus Eventbridge API Schema
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
- Payload
Content type
application/json
{- "aws_account_id": 267185063265,
- "aws_region": "us-east-1"
}
Response samples
- 500
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
|
Responses
Request samples
- Payload
Content type
application/json
{- "event_messages": [
- {
- "event_type": "api_call",
- "event_detail_type": "create_user",
- "message": "{id:8b79528a-ec3b-4f68-b7c4-d793e3894561,name:test222}"
}
]
}
Response samples
- 500
Content type
application/json
{- "type": "string",
- "message": "string"
}