Discoverers
Discoverers allow you to infer EventBridge Schemas based on the events on an event bus.
URI
/v1/discoverers
HTTP methods
GET
Operation ID: ListDiscoverers
List the discoverers.
Name | Type | Required | Description |
---|---|---|---|
sourceArnPrefix | String | False | Specifying this limits the results to only those ARNs that start with the specified prefix. |
limit | String | False | The maximum number of results to return per page. |
nextToken | String | False | The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts. |
discovererIdPrefix | String | False | Specifying this limits the results to only those discoverer IDs that start with the specified prefix. |
Status code | Response model | Description |
---|---|---|
200 | ListDiscoverersOutput | 200 response |
400 | ErrorOutput | 400 response |
401 | ErrorOutput | 401 response |
403 | ErrorOutput | 403 response |
500 | ErrorOutput | 500 response |
503 | ErrorOutput | 503 response |
POST
Operation ID: CreateDiscoverer
Creates a discoverer.
Due to no name being passed in the CreateDiscoverer API call there is no resource to DENY against when the customer adds a resource ARN of an existing discoverer in their IAM policies.
Status code | Response model | Description |
---|---|---|
201 | DiscovererOutput | 201 response |
400 | ErrorOutput | 400 response |
401 | ErrorOutput | 401 response |
403 | ErrorOutput | 403 response |
409 | ErrorOutput | 409 response |
500 | ErrorOutput | 500 response |
503 | ErrorOutput | 503 response |
OPTIONS
Status code | Response model | Description |
---|---|---|
200 | None | 200 response |
Schemas
Request bodies
{ "CrossAccount": boolean, "Description": "string", "SourceArn": "string", "tags": { } }
Response bodies
{ "NextToken": "string", "Discoverers": [ { "DiscovererArn": "string", "DiscovererId": "string", "CrossAccount": boolean, "SourceArn": "string", "State": enum, "tags": { } } ] }
{ "DiscovererArn": "string", "DiscovererId": "string", "CrossAccount": boolean, "Description": "string", "SourceArn": "string", "State": enum, "tags": { } }
Properties
CreateDiscovererInput
Property | Type | Required | Description |
---|---|---|---|
CrossAccount | boolean | False | Allows for the discovery of the event schemas that are sent to the event bus from another account. (default: true) |
Description | string MinLength: 0 MaxLength: 256 | False | A description for the discoverer. |
SourceArn | string MinLength: 20 MaxLength: 1600 | True | The ARN of the event bus. |
tags | False | Tags associated with the resource. |
DiscovererOutput
Property | Type | Required | Description |
---|---|---|---|
CrossAccount | boolean | False | Whether cross-account events are discovered. |
Description | string | False | The description of the discoverer. |
DiscovererArn | string | False | The ARN of the discoverer. |
DiscovererId | string | False | The ID of the discoverer. |
SourceArn | string | False | The ARN of the event bus. |
State | False | The state of the discoverer. | |
tags | False | Tags associated with the resource. |
DiscovererState
STARTED
STOPPED
DiscovererSummary
A summary of the discoverer.
Property | Type | Required | Description |
---|---|---|---|
CrossAccount | boolean | False | Whether cross-account events are discovered. |
DiscovererArn | string | False | The ARN of the discoverer. |
DiscovererId | string | False | The ID of the discoverer. |
SourceArn | string | False | The ARN of the event bus. |
State | False | The state of the discoverer. | |
tags | False | Tags associated with the resource. |
ErrorOutput
Property | Type | Required | Description |
---|---|---|---|
Code | string | True | The error code. |
Message | string | True | The message string of the error output. |
ListDiscoverersOutput
Property | Type | Required | Description |
---|---|---|---|
Discoverers | Array of type DiscovererSummary | False | An array of |
NextToken | string | False | The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts. |
Tags
Key-value pairs associated with a resource.
Property | Type | Required | Description |
---|---|---|---|
| string | False |