Schemas.Client.
create_discoverer
(**kwargs)¶Creates a discoverer.
See also: AWS API Documentation
Request Syntax
response = client.create_discoverer(
Description='string',
SourceArn='string',
CrossAccount=True|False,
Tags={
'string': 'string'
}
)
[REQUIRED]
The ARN of the event bus.
Tags associated with the resource.
dict
Response Syntax
{
'Description': 'string',
'DiscovererArn': 'string',
'DiscovererId': 'string',
'SourceArn': 'string',
'State': 'STARTED'|'STOPPED',
'CrossAccount': True|False,
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
201 response
Description (string) --
The description of the discoverer.
DiscovererArn (string) --
The ARN of the discoverer.
DiscovererId (string) --
The ID of the discoverer.
SourceArn (string) --
The ARN of the event bus.
State (string) --
The state of the discoverer.
CrossAccount (boolean) --
The Status if the discoverer will discover schemas from events sent from another account.
Tags (dict) --
Tags associated with the resource.
Exceptions
Schemas.Client.exceptions.BadRequestException
Schemas.Client.exceptions.InternalServerErrorException
Schemas.Client.exceptions.UnauthorizedException
Schemas.Client.exceptions.ForbiddenException
Schemas.Client.exceptions.ServiceUnavailableException
Schemas.Client.exceptions.ConflictException