Schemas / Client / update_discoverer

update_discoverer#

Schemas.Client.update_discoverer(**kwargs)#

Updates the discoverer

See also: AWS API Documentation

Request Syntax

response = client.update_discoverer(
    Description='string',
    DiscovererId='string',
    CrossAccount=True|False
)
Parameters:
  • Description (string) – The description of the discoverer to update.

  • DiscovererId (string) –

    [REQUIRED]

    The ID of the discoverer.

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

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) –

    200 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

  • Schemas.Client.exceptions.BadRequestException

  • Schemas.Client.exceptions.UnauthorizedException

  • Schemas.Client.exceptions.InternalServerErrorException

  • Schemas.Client.exceptions.ForbiddenException

  • Schemas.Client.exceptions.NotFoundException

  • Schemas.Client.exceptions.ServiceUnavailableException