Glue / Client / put_form_type

put_form_type

Glue.Client.put_form_type(**kwargs)

Creates or updates a form type in Glue Data Catalog. A form type defines the schema for structured metadata that can be attached to assets.

See also: AWS API Documentation

Request Syntax

response = client.put_form_type(
    Name='string',
    Schema='string',
    ClientToken='string'
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the form type. Must start with an uppercase letter.

  • Schema (string) –

    [REQUIRED]

    The Smithy IDL schema definition for the form type.

  • ClientToken (string) –

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'Id': 'string',
    'Name': 'string',
    'Schema': 'string'
}

Response Structure

  • (dict) –

    • Id (string) –

      The identifier of the form type.

    • Name (string) –

      The name of the form type.

    • Schema (string) –

      The Smithy IDL schema of the form type.

Exceptions