diff --git a/clients/client-omics/src/commands/GetRunTaskCommand.ts b/clients/client-omics/src/commands/GetRunTaskCommand.ts index 67806797be9fb..f6cd8b44012b8 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 4ddeb0490a863..49ec6bbe73124 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 e8f5441883066..842de8d9ed5f7 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 3da33921bdbb7..5d1831ac2a548 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 8b2911d6de47c..872f4929dd578 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": {