HealthLake / Client / list_data_transformation_profile_versions

list_data_transformation_profile_versions

HealthLake.Client.list_data_transformation_profile_versions(**kwargs)

Lists all versions of a specific data transformation profile (DRAFT and published), in reverse chronological order (newest first). Use GetDataTransformationProfile to retrieve profile content. Results are paginated. Use the NextToken parameter to retrieve additional results.

See also: AWS API Documentation

Request Syntax

response = client.list_data_transformation_profile_versions(
    ProfileId='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • ProfileId (string) –

    [REQUIRED]

    The unique identifier of the profile whose versions to list.

  • MaxResults (integer) – The maximum number of profile versions to return per page. If you don’t specify a value, the service returns up to 100 results.

  • NextToken (string) – The pagination token from a previous response. Pass this value to retrieve the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'Items': [
        {
            'ProfileId': 'string',
            'Version': 123,
            'SourceFormat': 'CCDA'|'CSV',
            'TargetFormat': 'FHIR_R4',
            'ProfileName': 'string',
            'ChangeDescription': 'string',
            'LastUpdatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    The response from the ListDataTransformationProfileVersions operation.

    • Items (list) –

      The list of data transformation profile version summaries.

      • (dict) –

        Contains summary information about a specific version of a data transformation profile. To retrieve profile content, call GetDataTransformationProfile.

        • ProfileId (string) –

          The unique identifier of the profile.

        • Version (integer) –

          The version number.

        • SourceFormat (string) –

          The source data format that this profile converts from.

        • TargetFormat (string) –

          The target output format of the profile.

        • ProfileName (string) –

          The name of the profile.

        • ChangeDescription (string) –

          A description of what changed in this version.

        • LastUpdatedAt (datetime) –

          The timestamp when this version was last updated.

    • NextToken (string) –

      The pagination token to use in the next request. If this value is null, there are no more results.

Exceptions

  • HealthLake.Client.exceptions.ThrottlingException

  • HealthLake.Client.exceptions.AccessDeniedException

  • HealthLake.Client.exceptions.ResourceNotFoundException

  • HealthLake.Client.exceptions.ValidationException

  • HealthLake.Client.exceptions.InternalServerException