Skip to main content

image_sets

Creates, updates, deletes, gets or lists an image_sets resource.

Overview

Nameimage_sets
TypeResource
Idaws.medical_imaging.image_sets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_atstring (date-time)The timestamp when image set properties were created.
datastore_idstringThe data store identifier. (pattern: <code>[0-9a-z]{32}</code>)
deleted_atstring (date-time)The timestamp when the image set properties were deleted.
image_set_arnstringThe Amazon Resource Name (ARN) assigned to the image set. (pattern: <code>arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:medical-imaging:[a-z0-9-]+:[0-9]{12}:datastore/[0-9a-z]{32}(/imageset/[0-9a-z]{32})?</code>)
image_set_idstringThe image set identifier. (pattern: <code>[0-9a-z]{32}</code>)
image_set_statestringThe image set state. (ACTIVE, LOCKED, DELETED)
image_set_workflow_statusstringThe image set workflow status. (CREATED, COPIED, COPYING, COPYING_WITH_READ_ONLY_ACCESS, COPY_FAILED, UPDATING, UPDATING_FOR_STUDY_CONSISTENCY, UPDATED, UPDATE_FAILED, DELETING, DELETED, IMPORTING, IMPORTED, IMPORT_FAILED)
is_primarybooleanThe flag to determine whether the image set is primary or not.
last_accessed_atstring (date-time)When the image set was last accessed.
messagestringThe error message thrown if an image set action fails. (pattern: <code>[\w -:`]+</code>)
overridesobjectThis object contains the details of any overrides used while creating a specific image set version. If an image set was copied or updated using the force flag, this object will contain the forced flag.
storage_tierstringThe storage tier of the image set. (FREQUENT_ACCESS, ARCHIVE_INSTANT_ACCESS)
updated_atstring (date-time)The timestamp when image set properties were updated.
version_idstringThe image set version identifier. (pattern: <code>\d+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_image_setselectdatastore_id, image_set_id, regionversionGet image set properties.
search_image_setsselectdatastore_id, regionmaxResults, nextTokenSearch image sets based on defined input attributes. SearchImageSets accepts a single search query parameter and returns a paginated response of all image sets that have the matching criteria. All date range queries must be input as (lowerBound, upperBound). By default, SearchImageSets uses the updatedAt field for sorting in descending order from newest to oldest.
delete_image_setdeletedatastore_id, image_set_id, regionDelete an image set.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
datastore_idstringThe data store identifier.
image_set_idstringThe image set identifier.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results that can be returned in a search.
nextTokenstringThe token used for pagination of results returned in the response. Use the token returned from the previous request to continue results where the previous request ended.
versionstringThe image set version identifier.

SELECT examples

Get image set properties.

SELECT
created_at,
datastore_id,
deleted_at,
image_set_arn,
image_set_id,
image_set_state,
image_set_workflow_status,
is_primary,
last_accessed_at,
message,
overrides,
storage_tier,
updated_at,
version_id
FROM aws.medical_imaging.image_sets
WHERE datastore_id = '{{ datastore_id }}' -- required
AND image_set_id = '{{ image_set_id }}' -- required
AND region = '{{ region }}' -- required
AND version = '{{ version }}'
;

DELETE examples

Delete an image set.

DELETE FROM aws.medical_imaging.image_sets
WHERE datastore_id = '{{ datastore_id }}' --required
AND image_set_id = '{{ image_set_id }}' --required
AND region = '{{ region }}' --required
;