DataZone / Client / create_form_type

create_form_type#

DataZone.Client.create_form_type(**kwargs)#

Creates a metadata form type.

See also: AWS API Documentation

Request Syntax

response = client.create_form_type(
    description='string',
    domainIdentifier='string',
    model={
        'smithy': 'string'
    },
    name='string',
    owningProjectIdentifier='string',
    status='ENABLED'|'DISABLED'
)
Parameters:
  • description (string) – The description of this Amazon DataZone metadata form type.

  • domainIdentifier (string) –

    [REQUIRED]

    The ID of the Amazon DataZone domain in which this metadata form type is created.

  • model (dict) –

    [REQUIRED]

    The model of this Amazon DataZone metadata form type.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: smithy.

    • smithy (string) –

      Indicates the smithy model of the API.

  • name (string) –

    [REQUIRED]

    The name of this Amazon DataZone metadata form type.

  • owningProjectIdentifier (string) –

    [REQUIRED]

    The ID of the Amazon DataZone project that owns this metadata form type.

  • status (string) – The status of this Amazon DataZone metadata form type.

Return type:

dict

Returns:

Response Syntax

{
    'description': 'string',
    'domainId': 'string',
    'name': 'string',
    'originDomainId': 'string',
    'originProjectId': 'string',
    'owningProjectId': 'string',
    'revision': 'string'
}

Response Structure

  • (dict) –

    • description (string) –

      The description of this Amazon DataZone metadata form type.

    • domainId (string) –

      The ID of the Amazon DataZone domain in which this metadata form type is created.

    • name (string) –

      The name of this Amazon DataZone metadata form type.

    • originDomainId (string) –

      The ID of the Amazon DataZone domain in which this metadata form type was originally created.

    • originProjectId (string) –

      The ID of the project in which this Amazon DataZone metadata form type was originally created.

    • owningProjectId (string) –

      The ID of the project that owns this Amazon DataZone metadata form type.

    • revision (string) –

      The revision of this Amazon DataZone metadata form type.

Exceptions