DataZone / Client / get_asset_type

get_asset_type#

DataZone.Client.get_asset_type(**kwargs)#

Gets an Amazon DataZone asset type.

See also: AWS API Documentation

Request Syntax

response = client.get_asset_type(
    domainIdentifier='string',
    identifier='string',
    revision='string'
)
Parameters:
  • domainIdentifier (string) –

    [REQUIRED]

    The ID of the Amazon DataZone domain in which the asset type exists.

  • identifier (string) –

    [REQUIRED]

    The ID of the asset type.

  • revision (string) – The revision of the asset type.

Return type:

dict

Returns:

Response Syntax

{
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'description': 'string',
    'domainId': 'string',
    'formsOutput': {
        'string': {
            'required': True|False,
            'typeName': 'string',
            'typeRevision': 'string'
        }
    },
    'name': 'string',
    'originDomainId': 'string',
    'originProjectId': 'string',
    'owningProjectId': 'string',
    'revision': 'string',
    'updatedAt': datetime(2015, 1, 1),
    'updatedBy': 'string'
}

Response Structure

  • (dict) –

    • createdAt (datetime) –

      The timestamp of when the asset type was created.

    • createdBy (string) –

      The Amazon DataZone user who created the asset type.

    • description (string) –

      The description of the asset type.

    • domainId (string) –

      The ID of the Amazon DataZone domain in which the asset type exists.

    • formsOutput (dict) –

      The metadata forms attached to the asset type.

      • (string) –

        • (dict) –

          The details of the form entry.

          • required (boolean) –

            Specifies whether a form entry is required.

          • typeName (string) –

            The name of the type of the form entry.

          • typeRevision (string) –

            The type revision of the form entry.

    • name (string) –

      The name of the asset type.

    • originDomainId (string) –

      The ID of the Amazon DataZone domain in which the asset type was originally created.

    • originProjectId (string) –

      The ID of the Amazon DataZone project in which the asset type was originally created.

    • owningProjectId (string) –

      The ID of the Amazon DataZone project that owns the asset type.

    • revision (string) –

      The revision of the asset type.

    • updatedAt (datetime) –

      The timestamp of when the asset type was updated.

    • updatedBy (string) –

      The Amazon DataZone user that updated the asset type.

Exceptions