diff --git a/aws-cli/bash-linux/medical-imaging/medical_imaging_operations.sh b/aws-cli/bash-linux/medical-imaging/medical_imaging_operations.sh index 7db18a889ce..54aa780e379 100644 --- a/aws-cli/bash-linux/medical-imaging/medical_imaging_operations.sh +++ b/aws-cli/bash-linux/medical-imaging/medical_imaging_operations.sh @@ -64,7 +64,7 @@ function imaging_create_datastore() { export OPTIND=1 if [[ -z "$datastore_name" ]]; then - errecho "ERROR: You must provide a datastore name with the -n parameter." + errecho "ERROR: You must provide a data store name with the -n parameter." usage return 1 fi @@ -148,7 +148,7 @@ function imaging_list_datastores() { ############################################################################### # function imaging_get_datastore # -# Get a datastore properties. +# Get a data store's properties. # # Parameters: # -i data_store_id - The ID of the data store. @@ -165,7 +165,7 @@ function imaging_get_datastore() { # bashsupport disable=BP5008 function usage() { echo "function imaging_get_datastore" - echo "Gets a datastore properties." + echo "Gets a data store's properties." echo " -i datastore_id - The ID of the data store." echo "" } @@ -188,7 +188,7 @@ function imaging_get_datastore() { export OPTIND=1 if [[ -z "$datastore_id" ]]; then - errecho "ERROR: You must provide a datastore ID with the -i parameter." + errecho "ERROR: You must provide a data store ID with the -i parameter." usage return 1 fi @@ -258,7 +258,7 @@ function imaging_delete_datastore() { export OPTIND=1 if [[ -z "$datastore_id" ]]; then - errecho "ERROR: You must provide a datastore ID with the -i parameter." + errecho "ERROR: You must provide a data store ID with the -i parameter." usage return 1 fi diff --git a/aws-cli/bash-linux/medical-imaging/tests/test_medical_imaging_examples.sh b/aws-cli/bash-linux/medical-imaging/tests/test_medical_imaging_examples.sh index 7974143d4cd..dbf9a003444 100755 --- a/aws-cli/bash-linux/medical-imaging/tests/test_medical_imaging_examples.sh +++ b/aws-cli/bash-linux/medical-imaging/tests/test_medical_imaging_examples.sh @@ -91,7 +91,7 @@ export VERBOSE=false local test_count=0 - run_test "$test_count Create a datastore" \ + run_test "$test_count Create a data store" \ "imaging_create_datastore -n $datastore_name " \ 0 test_count=$((test_count + 1)) @@ -116,30 +116,30 @@ export VERBOSE=false done <<<"$datastore_list" if [ "$data_store_found" == "false" ]; then - test_failed "Datastore id $datastore_id not found in list datastores response. $datastore_list" + test_failed "Datastore id $datastore_id not found in list-datastores response. $datastore_list" fi test_count=$((test_count + 1)) - run_test "$test_count. Get a datastore" \ + run_test "$test_count. Get a data store" \ "imaging_get_datastore -i $datastore_id " \ 0 IFS=$'\t' read -ra datastore_get_result <<<"$test_command_response" if [ "${#datastore_get_result[@]}" -ne 6 ]; then - test_failed "Incorrect number of entries in get datastore response. ${#datastore_get_result[@]}}" + test_failed "Incorrect number of entries in get-datastore response. ${#datastore_get_result[@]}}" fi local retrieved_datastore_id="${datastore_get_result[1]}" if [ "$retrieved_datastore_id" != "$datastore_id" ]; then - test_failed "Incorrect datastore id in get datastore response. ${#datastore_get_result[@]}" + test_failed "Incorrect data store id in get-datastore response. ${#datastore_get_result[@]}" fi test_count=$((test_count + 1)) sleep 10 - run_test "$test_count. Delete a datastore" \ + run_test "$test_count. Delete a data store" \ "imaging_delete_datastore -i $datastore_id " \ 0 test_count=$((test_count + 1)) diff --git a/javascriptv3/example_code/medical-imaging/actions/create-datastore.js b/javascriptv3/example_code/medical-imaging/actions/create-datastore.js index dff0d9cd481..0521120dfad 100644 --- a/javascriptv3/example_code/medical-imaging/actions/create-datastore.js +++ b/javascriptv3/example_code/medical-imaging/actions/create-datastore.js @@ -10,7 +10,7 @@ import {CreateDatastoreCommand} from "@aws-sdk/client-medical-imaging"; import {medicalImagingClient} from "../libs/medicalImagingClient.js"; /** - * @param {string} datastoreName - The name of the datastore to create. + * @param {string} datastoreName - The name of the data store to create. */ export const createDatastore = async (datastoreName = "DATASTORE_NAME") => { const response = await medicalImagingClient.send( diff --git a/javascriptv3/example_code/medical-imaging/actions/delete-datastore.js b/javascriptv3/example_code/medical-imaging/actions/delete-datastore.js index 8983de9a001..5974edbd132 100644 --- a/javascriptv3/example_code/medical-imaging/actions/delete-datastore.js +++ b/javascriptv3/example_code/medical-imaging/actions/delete-datastore.js @@ -10,7 +10,7 @@ import {DeleteDatastoreCommand} from "@aws-sdk/client-medical-imaging"; import {medicalImagingClient} from "../libs/medicalImagingClient.js"; /** - * @param {string} datastoreID - The ID of the datastore to create. + * @param {string} datastoreID - The ID of the data store to delete. */ export const deleteDatastore = async (datastoreID = "DATASTORE_ID") => { const response = await medicalImagingClient.send( diff --git a/javascriptv3/example_code/medical-imaging/actions/get-datastore.js b/javascriptv3/example_code/medical-imaging/actions/get-datastore.js index 2ade0b6aedb..8ac9f8641ce 100644 --- a/javascriptv3/example_code/medical-imaging/actions/get-datastore.js +++ b/javascriptv3/example_code/medical-imaging/actions/get-datastore.js @@ -10,7 +10,7 @@ import {GetDatastoreCommand} from "@aws-sdk/client-medical-imaging"; import {medicalImagingClient} from "../libs/medicalImagingClient.js"; /** - * @param {string} datastoreID - The ID of the datastore to retrieve properties for. + * @param {string} datastoreID - The ID of the data store to retrieve properties for. */ export const getDatastore = async (datastoreID = "DATASTORE_ID") => { const response = await medicalImagingClient.send( diff --git a/javascriptv3/example_code/medical-imaging/tests/create-delete-datastore.integration.test.js b/javascriptv3/example_code/medical-imaging/tests/create-delete-datastore.integration.test.js index 00bf6309a9c..7cf755dadcf 100644 --- a/javascriptv3/example_code/medical-imaging/tests/create-delete-datastore.integration.test.js +++ b/javascriptv3/example_code/medical-imaging/tests/create-delete-datastore.integration.test.js @@ -11,7 +11,7 @@ describe("createDatastore/deleteDatastore", () => { let datastoreID = ""; const datastoreName = "createDeleteDatastoreJSTest"; - it("should create and delete a datastore", async () => { + it("should create and delete a data store", async () => { // Create topic. const createDatastoreCommandOutput = await createDatastore(datastoreName); datastoreID = createDatastoreCommandOutput.datastoreId; diff --git a/javascriptv3/example_code/medical-imaging/tests/get-datastore.integration.test.js b/javascriptv3/example_code/medical-imaging/tests/get-datastore.integration.test.js index 48d5b52c227..9168d53a4e5 100644 --- a/javascriptv3/example_code/medical-imaging/tests/get-datastore.integration.test.js +++ b/javascriptv3/example_code/medical-imaging/tests/get-datastore.integration.test.js @@ -2,7 +2,7 @@ import {describe, it, expect} from "vitest"; import {getDatastore} from "../actions/get-datastore.js"; describe("getDatastore", () => { - it("should throw an error with the default fake datastore ID", async () => { + it("should throw an error with the default fake data store ID", async () => { try { await getDatastore(); } catch (err) { diff --git a/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/CreateDatastore.java b/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/CreateDatastore.java index e00000702f2..6ab7ff5381b 100644 --- a/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/CreateDatastore.java +++ b/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/CreateDatastore.java @@ -1,4 +1,4 @@ -//snippet-sourcedescription:[CreateDataStore.java demonstrates how to create a datastore in AWS HealthImaging.] +//snippet-sourcedescription:[CreateDataStore.java demonstrates how to create a data store in AWS HealthImaging.] //snippet-keyword:[AWS SDK for Java v2] //snippet-keyword:[AWS HealthImaging] @@ -34,7 +34,7 @@ public static void main(String[] args) { "Usage:\n" + " \n\n" + "Where:\n" + - " dataStoreName - The name for the AWS HealthImaging datastore.\n\n"; + " dataStoreName - The name for the AWS HealthImaging data store.\n\n"; if (args.length != 1) { System.out.println(usage); @@ -50,7 +50,7 @@ public static void main(String[] args) { .build(); String dataStoreId = createMedicalImageDatastore(medicalImagingClient, dataStoreName); - System.out.println("The medical imaging datastore id is " + dataStoreId); + System.out.println("The medical imaging data store id is " + dataStoreId); medicalImagingClient.close(); } diff --git a/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/DeleteDatastore.java b/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/DeleteDatastore.java index c34673d48c3..9e62909f4bf 100644 --- a/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/DeleteDatastore.java +++ b/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/DeleteDatastore.java @@ -1,4 +1,4 @@ -//snippet-sourcedescription:[DeleteDatastore.java demonstrates how to delete a datastore in AWS HealthImaging.] +//snippet-sourcedescription:[DeleteDatastore.java demonstrates how to delete a data store in AWS HealthImaging.] //snippet-keyword:[AWS SDK for Java v2] //snippet-keyword:[AWS HealthImaging] @@ -33,7 +33,7 @@ public static void main(String[] args) { "Usage:\n" + " \n\n" + "Where:\n" + - " dataStoreID - The ID for the AWS HealthImaging datastore to delete.\n\n"; + " dataStoreID - The ID for the AWS HealthImaging data store to delete.\n\n"; if (args.length != 1) { System.out.println(usage); diff --git a/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/GetDatastore.java b/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/GetDatastore.java index f0479088b6d..a3dc0466806 100644 --- a/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/GetDatastore.java +++ b/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/GetDatastore.java @@ -1,4 +1,4 @@ -//snippet-sourcedescription:[GetDataStore.java demonstrates how to get a datastore's pproperties in AWS HealthImaging.] +//snippet-sourcedescription:[GetDataStore.java demonstrates how to get a data store's pproperties in AWS HealthImaging.] //snippet-keyword:[AWS SDK for Java v2] //snippet-keyword:[AWS HealthImaging] @@ -35,7 +35,7 @@ public static void main(String[] args) { "Usage:\n" + " \n\n" + "Where:\n" + - " datastoreID - The ID for the AWS HealthImaging datastore.\n\n"; + " datastoreID - The ID for the AWS HealthImaging data store.\n\n"; if (args.length != 1) { System.out.println(usage); @@ -52,7 +52,7 @@ public static void main(String[] args) { DatastoreProperties properties = getMedicalImageDatastore(medicalImagingClient, datastoreID); if (properties != null) { - System.out.println("The medical imaging datastore properties are " + properties); + System.out.println("The medical imaging data store properties are " + properties); } medicalImagingClient.close(); } diff --git a/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/ListDatastores.java b/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/ListDatastores.java index b829f899823..9a8640b2eeb 100644 --- a/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/ListDatastores.java +++ b/javav2/example_code/medicalimaging/src/main/java/com/example/medicalimaging/ListDatastores.java @@ -42,7 +42,7 @@ public static void main(String[] args) { List datastoreSummaries = listMedicalImagingDatastores(medicalImagingClient); if (datastoreSummaries != null) { - System.out.println("The medical imaging datastore properties are " + datastoreSummaries); + System.out.println("The medical imaging data store properties are " + datastoreSummaries); } medicalImagingClient.close(); } diff --git a/javav2/example_code/medicalimaging/src/test/java/AWSMedicalImagingTest.java b/javav2/example_code/medicalimaging/src/test/java/AWSMedicalImagingTest.java index fdc6a57a7ab..6dfa3e1d07a 100644 --- a/javav2/example_code/medicalimaging/src/test/java/AWSMedicalImagingTest.java +++ b/javav2/example_code/medicalimaging/src/test/java/AWSMedicalImagingTest.java @@ -51,7 +51,7 @@ public void createDatastoreTest() { assertDoesNotThrow(() -> datastoreID = CreateDatastore.createMedicalImageDatastore(medicalImagingClient, datastoreName)); assertFalse(datastoreID.isEmpty()); - // Sleep for 10 seconds to give time for the datastore to be created + // Sleep for 10 seconds to give time for the data store to be created try { Thread.sleep(10000); } catch (java.lang.InterruptedException e) {