HealthImaging / Client / copy_image_set

copy_image_set#

HealthImaging.Client.copy_image_set(**kwargs)#

Copy an image set.

See also: AWS API Documentation

Request Syntax

response = client.copy_image_set(
    datastoreId='string',
    sourceImageSetId='string',
    copyImageSetInformation={
        'sourceImageSet': {
            'latestVersionId': 'string'
        },
        'destinationImageSet': {
            'imageSetId': 'string',
            'latestVersionId': 'string'
        }
    }
)
Parameters:
  • datastoreId (string) –

    [REQUIRED]

    The data store identifier.

  • sourceImageSetId (string) –

    [REQUIRED]

    The source image set identifier.

  • copyImageSetInformation (dict) –

    [REQUIRED]

    Copy image set information.

    • sourceImageSet (dict) – [REQUIRED]

      The source image set.

      • latestVersionId (string) – [REQUIRED]

        The latest version identifier for the source image set.

    • destinationImageSet (dict) –

      The destination image set.

      • imageSetId (string) – [REQUIRED]

        The image set identifier for the destination image set.

      • latestVersionId (string) – [REQUIRED]

        The latest version identifier for the destination image set.

Return type:

dict

Returns:

Response Syntax

{
    'datastoreId': 'string',
    'sourceImageSetProperties': {
        'imageSetId': 'string',
        'latestVersionId': '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),
        'imageSetArn': 'string'
    },
    'destinationImageSetProperties': {
        'imageSetId': 'string',
        'latestVersionId': '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),
        'imageSetArn': 'string'
    }
}

Response Structure

  • (dict) –

    • datastoreId (string) –

      The data store identifier.

    • sourceImageSetProperties (dict) –

      The properties of the source image set.

      • imageSetId (string) –

        The image set identifier for the copied source image set.

      • latestVersionId (string) –

        The latest version identifier for the copied source image set.

      • imageSetState (string) –

        The image set state of the copied source image set.

      • imageSetWorkflowStatus (string) –

        The workflow status of the copied source image set.

      • createdAt (datetime) –

        The timestamp when the source image set properties were created.

      • updatedAt (datetime) –

        The timestamp when the source image set properties were updated.

      • imageSetArn (string) –

        The Amazon Resource Name (ARN) assigned to the source image set.

    • destinationImageSetProperties (dict) –

      The properties of the destination image set.

      • imageSetId (string) –

        The image set identifier of the copied image set properties.

      • latestVersionId (string) –

        The latest version identifier for the destination image set properties.

      • imageSetState (string) –

        The image set state of the destination image set properties.

      • imageSetWorkflowStatus (string) –

        The image set workflow status of the destination image set properties.

      • createdAt (datetime) –

        The timestamp when the destination image set properties were created.

      • updatedAt (datetime) –

        The timestamp when the destination image set properties were last updated.

      • imageSetArn (string) –

        The Amazon Resource Name (ARN) assigned to the destination image set.

Exceptions