選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

Discoverers - Amazon EventBridge Schemas
此頁面尚未翻譯為您的語言。 請求翻譯

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.

Query parameters
NameTypeRequiredDescription
sourceArnPrefixStringFalse

Specifying this limits the results to only those ARNs that start with the specified prefix.

limitStringFalse

The maximum number of results to return per page.

nextTokenStringFalse

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.

discovererIdPrefixStringFalse

Specifying this limits the results to only those discoverer IDs that start with the specified prefix.

Responses
Status codeResponse modelDescription
200ListDiscoverersOutput

200 response

400ErrorOutput

400 response

401ErrorOutput

401 response

403ErrorOutput

403 response

500ErrorOutput

500 response

503ErrorOutput

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.

Responses
Status codeResponse modelDescription
201DiscovererOutput

201 response

400ErrorOutput

400 response

401ErrorOutput

401 response

403ErrorOutput

403 response

409ErrorOutput

409 response

500ErrorOutput

500 response

503ErrorOutput

503 response

OPTIONS

Responses
Status codeResponse modelDescription
200None

200 response

Schemas

Request bodies

{ "CrossAccount": boolean, "Description": "string", "SourceArn": "string", "tags": { } }

POST schema

{ "CrossAccount": boolean, "Description": "string", "SourceArn": "string", "tags": { } }

Response bodies

{ "NextToken": "string", "Discoverers": [ { "DiscovererArn": "string", "DiscovererId": "string", "CrossAccount": boolean, "SourceArn": "string", "State": enum, "tags": { } } ] }

ListDiscoverersOutput schema

{ "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": { } }

DiscovererOutput schema

{ "DiscovererArn": "string", "DiscovererId": "string", "CrossAccount": boolean, "Description": "string", "SourceArn": "string", "State": enum, "tags": { } }
{ "Message": "string", "Code": "string" }

ErrorOutput schema

{ "Message": "string", "Code": "string" }

Properties

CreateDiscovererInput

PropertyTypeRequiredDescription
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

Tags

False

Tags associated with the resource.

DiscovererOutput

PropertyTypeRequiredDescription
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

DiscovererState

False

The state of the discoverer.

tags

Tags

False

Tags associated with the resource.

DiscovererState

  • STARTED

  • STOPPED

DiscovererSummary

A summary of the discoverer.

PropertyTypeRequiredDescription
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

DiscovererState

False

The state of the discoverer.

tags

Tags

False

Tags associated with the resource.

ErrorOutput

PropertyTypeRequiredDescription
Code

string

True

The error code.

Message

string

True

The message string of the error output.

ListDiscoverersOutput

PropertyTypeRequiredDescription
Discoverers

Array of type DiscovererSummary

False

An array of DiscovererSummary information.

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.

PropertyTypeRequiredDescription

*

string

False

下一個主題:

Export

上一個主題:

Discover
隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。