DataZone / Client / get_metadata_generation_run

get_metadata_generation_run#

DataZone.Client.get_metadata_generation_run(**kwargs)#

Gets a metadata generation run in Amazon DataZone.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the Amazon DataZone domain the metadata generation run of which you want to get.

  • identifier (string) –

    [REQUIRED]

    The identifier of the metadata generation run.

Return type:

dict

Returns:

Response Syntax

{
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'domainId': 'string',
    'id': 'string',
    'owningProjectId': 'string',
    'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELED'|'SUCCEEDED'|'FAILED',
    'target': {
        'identifier': 'string',
        'revision': 'string',
        'type': 'ASSET'
    },
    'type': 'BUSINESS_DESCRIPTIONS'
}

Response Structure

  • (dict) –

    • createdAt (datetime) –

      The timestamp of when the metadata generation run was start.

    • createdBy (string) –

      The Amazon DataZone user who started the metadata generation run.

    • domainId (string) –

      The ID of the Amazon DataZone domain the metadata generation run of which you want to get.

    • id (string) –

      The ID of the metadata generation run.

    • owningProjectId (string) –

      The ID of the project that owns the assets for which you’re running metadata generation.

    • status (string) –

      The status of the metadata generation run.

    • target (dict) –

      The asset for which you’re generating metadata.

      • identifier (string) –

        The ID of the metadata generation run’s target.

      • revision (string) –

        The revision of the asset for which metadata was generated.

      • type (string) –

        The type of the asset for which metadata was generated.

    • type (string) –

      The type of metadata generation run.

Exceptions