DataZone / Client / get_listing

get_listing#

DataZone.Client.get_listing(**kwargs)#

See also: AWS API Documentation

Request Syntax

response = client.get_listing(
    domainIdentifier='string',
    identifier='string',
    listingRevision='string'
)
Parameters:
  • domainIdentifier (string) – [REQUIRED]

  • identifier (string) – [REQUIRED]

  • listingRevision (string) –

Return type:

dict

Returns:

Response Syntax

{
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'description': 'string',
    'domainId': 'string',
    'id': 'string',
    'item': {
        'assetListing': {
            'assetId': 'string',
            'assetRevision': 'string',
            'assetType': 'string',
            'createdAt': datetime(2015, 1, 1),
            'forms': 'string',
            'glossaryTerms': [
                {
                    'name': 'string',
                    'shortDescription': 'string'
                },
            ],
            'owningProjectId': 'string'
        }
    },
    'listingRevision': 'string',
    'name': 'string',
    'status': 'CREATING'|'ACTIVE'|'INACTIVE',
    'updatedAt': datetime(2015, 1, 1),
    'updatedBy': 'string'
}

Response Structure

  • (dict) –

    • createdAt (datetime) –

    • createdBy (string) –

      The Amazon DataZone user who created the listing.

    • description (string) –

    • domainId (string) –

    • id (string) –

    • item (dict) – .. note:: This is a Tagged Union structure. Only one of the following top level keys will be set: assetListing. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

      'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
      
      • assetListing (dict) –

        An asset published in an Amazon DataZone catalog.

        • assetId (string) –

          The identifier of an asset published in an Amazon DataZone catalog.

        • assetRevision (string) –

          The revision of an asset published in an Amazon DataZone catalog.

        • assetType (string) –

          The type of an asset published in an Amazon DataZone catalog.

        • createdAt (datetime) –

          The timestamp of when an asset published in an Amazon DataZone catalog was created.

        • forms (string) –

          The metadata forms attached to an asset published in an Amazon DataZone catalog.

        • glossaryTerms (list) –

          The glossary terms attached to an asset published in an Amazon DataZone catalog.

          • (dict) –

            Details of a glossary term attached to the inventory asset.

            • name (string) –

              The name of a glossary term attached to the inventory asset.

            • shortDescription (string) –

              The shoft description of a glossary term attached to the inventory asset.

        • owningProjectId (string) –

          The identifier of the project where an asset published in an Amazon DataZone catalog exists.

    • listingRevision (string) –

    • name (string) –

    • status (string) –

    • updatedAt (datetime) –

      The timestamp of when the listing was updated.

    • updatedBy (string) –

      The Amazon DataZone user who updated the listing.

Exceptions

  • DataZone.Client.exceptions.InternalServerException

  • DataZone.Client.exceptions.ResourceNotFoundException

  • DataZone.Client.exceptions.AccessDeniedException

  • DataZone.Client.exceptions.ThrottlingException

  • DataZone.Client.exceptions.ValidationException

  • DataZone.Client.exceptions.UnauthorizedException