From 0224db7c69ff135921fee16fedaeff72e701af0b Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 10 Aug 2023 18:22:43 +0000 Subject: [PATCH] feat(client-omics): This release adds instanceType to GetRunTask & ListRunTasks responses. --- .../src/commands/GetRunTaskCommand.ts | 1 + .../src/commands/ListRunTasksCommand.ts | 1 + clients/client-omics/src/models/models_0.ts | 20 +++++++++++++++-- .../src/protocols/Aws_restJson1.ts | 2 ++ codegen/sdk-codegen/aws-models/omics.json | 22 +++++++++++++++++-- 5 files changed, 42 insertions(+), 4 deletions(-) diff --git a/clients/client-omics/src/commands/GetRunTaskCommand.ts b/clients/client-omics/src/commands/GetRunTaskCommand.ts index 67806797be9f..f6cd8b44012b 100644 --- a/clients/client-omics/src/commands/GetRunTaskCommand.ts +++ b/clients/client-omics/src/commands/GetRunTaskCommand.ts @@ -61,6 +61,7 @@ export interface GetRunTaskCommandOutput extends GetRunTaskResponse, __MetadataB * // statusMessage: "STRING_VALUE", * // logStream: "STRING_VALUE", * // gpus: Number("int"), + * // instanceType: "STRING_VALUE", * // }; * * ``` diff --git a/clients/client-omics/src/commands/ListRunTasksCommand.ts b/clients/client-omics/src/commands/ListRunTasksCommand.ts index 4ddeb0490a86..49ec6bbe7312 100644 --- a/clients/client-omics/src/commands/ListRunTasksCommand.ts +++ b/clients/client-omics/src/commands/ListRunTasksCommand.ts @@ -63,6 +63,7 @@ export interface ListRunTasksCommandOutput extends ListRunTasksResponse, __Metad * // startTime: new Date("TIMESTAMP"), * // stopTime: new Date("TIMESTAMP"), * // gpus: Number("int"), + * // instanceType: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", diff --git a/clients/client-omics/src/models/models_0.ts b/clients/client-omics/src/models/models_0.ts index e8f544188306..842de8d9ed5f 100644 --- a/clients/client-omics/src/models/models_0.ts +++ b/clients/client-omics/src/models/models_0.ts @@ -682,7 +682,7 @@ export interface ListAnnotationImportJobsRequest { /** * @public - *

Specify the pagination token from a previous request to retrieve the next page of results.

+ *

Specifies the pagination token from a previous request to retrieve the next page of results.

*/ nextToken?: string; @@ -767,7 +767,7 @@ export interface ListAnnotationImportJobsResponse { /** * @public - *

A pagination token that's included if more results are available.

+ *

Specifies the pagination token from a previous request to retrieve the next page of results.

*/ nextToken?: string; } @@ -4056,6 +4056,14 @@ export interface GetRunTaskResponse { *

*/ gpus?: number; + + /** + * @public + *

+ * The instance type for a task. + *

+ */ + instanceType?: string; } /** @@ -5831,6 +5839,14 @@ export interface TaskListItem { *

*/ gpus?: number; + + /** + * @public + *

+ * The instance type for a task. + *

+ */ + instanceType?: string; } /** diff --git a/clients/client-omics/src/protocols/Aws_restJson1.ts b/clients/client-omics/src/protocols/Aws_restJson1.ts index 3da33921bdbb..5d1831ac2a54 100644 --- a/clients/client-omics/src/protocols/Aws_restJson1.ts +++ b/clients/client-omics/src/protocols/Aws_restJson1.ts @@ -5427,6 +5427,7 @@ export const de_GetRunTaskCommand = async ( cpus: __expectInt32, creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), gpus: __expectInt32, + instanceType: __expectString, logStream: __expectString, memory: __expectInt32, name: __expectString, @@ -8778,6 +8779,7 @@ const de_TaskListItem = (output: any, context: __SerdeContext): TaskListItem => cpus: __expectInt32, creationTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), gpus: __expectInt32, + instanceType: __expectString, memory: __expectInt32, name: __expectString, startTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), diff --git a/codegen/sdk-codegen/aws-models/omics.json b/codegen/sdk-codegen/aws-models/omics.json index 8b2911d6de47..872f4929dd57 100644 --- a/codegen/sdk-codegen/aws-models/omics.json +++ b/codegen/sdk-codegen/aws-models/omics.json @@ -5616,6 +5616,12 @@ "min": 0 } } + }, + "instanceType": { + "target": "com.amazonaws.omics#TaskInstanceType", + "traits": { + "smithy.api#documentation": "

\n The instance type for a task. \n

" + } } }, "traits": { @@ -6896,7 +6902,7 @@ "nextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

Specify the pagination token from a previous request to retrieve the next page of results.

", + "smithy.api#documentation": "

Specifies the pagination token from a previous request to retrieve the next page of results.

", "smithy.api#httpQuery": "nextToken", "smithy.api#length": { "min": 1, @@ -6927,7 +6933,7 @@ "nextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

A pagination token that's included if more results are available.

" + "smithy.api#documentation": "

Specifies the pagination token from a previous request to retrieve the next page of results.

" } } }, @@ -13283,6 +13289,12 @@ "smithy.api#pattern": "^[0-9]+$" } }, + "com.amazonaws.omics#TaskInstanceType": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" + } + }, "com.amazonaws.omics#TaskList": { "type": "list", "member": { @@ -13354,6 +13366,12 @@ "min": 0 } } + }, + "instanceType": { + "target": "com.amazonaws.omics#TaskInstanceType", + "traits": { + "smithy.api#documentation": "

\n The instance type for a task. \n

" + } } }, "traits": {