Schemas / Client / create_discoverer

create_discoverer#

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'
    }
)
Parameters:
  • Description (string) – A description for the discoverer.

  • SourceArn (string) –

    [REQUIRED]

    The ARN of the event bus.

  • CrossAccount (boolean) – Support discovery of schemas in events sent to the bus from another account. (default: true).

  • Tags (dict) –

    Tags associated with the resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

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.

      • (string) –

        • (string) –

Exceptions