Skip to content

Commit

Permalink
feat(client-omics): This release adds instanceType to GetRunTask & Li…
Browse files Browse the repository at this point in the history
…stRunTasks responses.
  • Loading branch information
awstools committed Aug 10, 2023
1 parent 314bf5b commit 0224db7
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 4 deletions.
1 change: 1 addition & 0 deletions clients/client-omics/src/commands/GetRunTaskCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export interface GetRunTaskCommandOutput extends GetRunTaskResponse, __MetadataB
* // statusMessage: "STRING_VALUE",
* // logStream: "STRING_VALUE",
* // gpus: Number("int"),
* // instanceType: "STRING_VALUE",
* // };
*
* ```
Expand Down
1 change: 1 addition & 0 deletions clients/client-omics/src/commands/ListRunTasksCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
20 changes: 18 additions & 2 deletions clients/client-omics/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ export interface ListAnnotationImportJobsRequest {

/**
* @public
* <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
* <p>Specifies the pagination token from a previous request to retrieve the next page of results.</p>
*/
nextToken?: string;

Expand Down Expand Up @@ -767,7 +767,7 @@ export interface ListAnnotationImportJobsResponse {

/**
* @public
* <p>A pagination token that's included if more results are available.</p>
* <p>Specifies the pagination token from a previous request to retrieve the next page of results.</p>
*/
nextToken?: string;
}
Expand Down Expand Up @@ -4056,6 +4056,14 @@ export interface GetRunTaskResponse {
* </p>
*/
gpus?: number;

/**
* @public
* <p>
* The instance type for a task.
* </p>
*/
instanceType?: string;
}

/**
Expand Down Expand Up @@ -5831,6 +5839,14 @@ export interface TaskListItem {
* </p>
*/
gpus?: number;

/**
* @public
* <p>
* The instance type for a task.
* </p>
*/
instanceType?: string;
}

/**
Expand Down
2 changes: 2 additions & 0 deletions clients/client-omics/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5427,6 +5427,7 @@ export const de_GetRunTaskCommand = async (
cpus: __expectInt32,
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
gpus: __expectInt32,
instanceType: __expectString,
logStream: __expectString,
memory: __expectInt32,
name: __expectString,
Expand Down Expand Up @@ -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(_)),
Expand Down
22 changes: 20 additions & 2 deletions codegen/sdk-codegen/aws-models/omics.json
Original file line number Diff line number Diff line change
Expand Up @@ -5616,6 +5616,12 @@
"min": 0
}
}
},
"instanceType": {
"target": "com.amazonaws.omics#TaskInstanceType",
"traits": {
"smithy.api#documentation": "<p>\n The instance type for a task. \n </p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -6896,7 +6902,7 @@
"nextToken": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>Specify the pagination token from a previous request to retrieve the next page of results.</p>",
"smithy.api#documentation": "<p>Specifies the pagination token from a previous request to retrieve the next page of results.</p>",
"smithy.api#httpQuery": "nextToken",
"smithy.api#length": {
"min": 1,
Expand Down Expand Up @@ -6927,7 +6933,7 @@
"nextToken": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>A pagination token that's included if more results are available.</p>"
"smithy.api#documentation": "<p>Specifies the pagination token from a previous request to retrieve the next page of results.</p>"
}
}
},
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -13354,6 +13366,12 @@
"min": 0
}
}
},
"instanceType": {
"target": "com.amazonaws.omics#TaskInstanceType",
"traits": {
"smithy.api#documentation": "<p>\n The instance type for a task. \n </p>"
}
}
},
"traits": {
Expand Down

0 comments on commit 0224db7

Please sign in to comment.