HealthImaging / Client / list_image_set_versions

list_image_set_versions#

HealthImaging.Client.list_image_set_versions(**kwargs)#

List image set versions.

See also: AWS API Documentation

Request Syntax

response = client.list_image_set_versions(
    datastoreId='string',
    imageSetId='string',
    nextToken='string',
    maxResults=123
)
Parameters:
  • datastoreId (string) –

    [REQUIRED]

    The data store identifier.

  • imageSetId (string) –

    [REQUIRED]

    The image set identifier.

  • nextToken (string) – The pagination token used to request the list of image set versions on the next page.

  • maxResults (integer) – The max results count.

Return type:

dict

Returns:

Response Syntax

{
    'imageSetPropertiesList': [
        {
            'imageSetId': 'string',
            'versionId': 'string',
            'imageSetState': 'ACTIVE'|'LOCKED'|'DELETED',
            'ImageSetWorkflowStatus': 'CREATED'|'COPIED'|'COPYING'|'COPYING_WITH_READ_ONLY_ACCESS'|'COPY_FAILED'|'UPDATING'|'UPDATED'|'UPDATE_FAILED'|'DELETING'|'DELETED',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'deletedAt': datetime(2015, 1, 1),
            'message': 'string',
            'overrides': {
                'forced': True|False
            }
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • imageSetPropertiesList (list) –

      Lists all properties associated with an image set.

      • (dict) –

        The image set properties.

        • imageSetId (string) –

          The image set identifier.

        • versionId (string) –

          The image set version identifier.

        • imageSetState (string) –

          The image set state.

        • ImageSetWorkflowStatus (string) –

          The image set workflow status.

        • createdAt (datetime) –

          The timestamp when the image set properties were created.

        • updatedAt (datetime) –

          The timestamp when the image set properties were updated.

        • deletedAt (datetime) –

          The timestamp when the image set properties were deleted.

        • message (string) –

          The error message thrown if an image set action fails.

        • overrides (dict) –

          Contains details on overrides used when creating the returned version of an image set. For example, if forced exists, the forced flag was used when creating the image set.

          • forced (boolean) –

            Setting this flag will force the CopyImageSet and UpdateImageSetMetadata operations, even if Patient, Study, or Series level metadata are mismatched.

    • nextToken (string) –

      The pagination token used to retrieve the list of image set versions on the next page.

Exceptions

  • HealthImaging.Client.exceptions.ThrottlingException

  • HealthImaging.Client.exceptions.ConflictException

  • HealthImaging.Client.exceptions.AccessDeniedException

  • HealthImaging.Client.exceptions.ValidationException

  • HealthImaging.Client.exceptions.InternalServerException

  • HealthImaging.Client.exceptions.ResourceNotFoundException