Skip to content

Commit

Permalink
feat(client-omics): Add CreationType filter for ListReadSets
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jul 31, 2023
1 parent 322a599 commit 88877de
Show file tree
Hide file tree
Showing 5 changed files with 177 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export interface GetReadSetMetadataCommandOutput extends GetReadSetMetadataRespo
* // },
* // },
* // statusMessage: "STRING_VALUE",
* // creationType: "STRING_VALUE",
* // };
*
* ```
Expand Down
2 changes: 2 additions & 0 deletions clients/client-omics/src/commands/ListReadSetsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export interface ListReadSetsCommandOutput extends ListReadSetsResponse, __Metad
* sampleId: "STRING_VALUE",
* subjectId: "STRING_VALUE",
* generatedFrom: "STRING_VALUE",
* creationType: "STRING_VALUE",
* },
* };
* const command = new ListReadSetsCommand(input);
Expand All @@ -82,6 +83,7 @@ export interface ListReadSetsCommandOutput extends ListReadSetsResponse, __Metad
* // },
* // creationTime: new Date("TIMESTAMP"), // required
* // statusMessage: "STRING_VALUE",
* // creationType: "STRING_VALUE",
* // },
* // ],
* // };
Expand Down
35 changes: 35 additions & 0 deletions clients/client-omics/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2144,6 +2144,20 @@ export interface CreateWorkflowResponse {
tags?: Record<string, string>;
}

/**
* @public
* @enum
*/
export const CreationType = {
IMPORT: "IMPORT",
UPLOAD: "UPLOAD",
} as const;

/**
* @public
*/
export type CreationType = (typeof CreationType)[keyof typeof CreationType];

/**
* @public
*/
Expand Down Expand Up @@ -2908,6 +2922,13 @@ export interface GetReadSetMetadataResponse {
* </p>
*/
statusMessage?: string;

/**
* <p>
* The creation type of the read set.
* </p>
*/
creationType?: CreationType | string;
}

/**
Expand Down Expand Up @@ -4365,6 +4386,13 @@ export interface ReadSetFilter {
* </p>
*/
generatedFrom?: string;

/**
* <p>
* The creation type of the read set.
* </p>
*/
creationType?: CreationType | string;
}

/**
Expand Down Expand Up @@ -4463,6 +4491,13 @@ export interface ReadSetListItem {
* </p>
*/
statusMessage?: string;

/**
* <p>
* The creation type of the read set.
* </p>
*/
creationType?: CreationType | string;
}

/**
Expand Down
3 changes: 3 additions & 0 deletions clients/client-omics/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4916,6 +4916,7 @@ export const de_GetReadSetMetadataCommand = async (
const doc = take(data, {
arn: __expectString,
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
creationType: __expectString,
description: __expectString,
fileType: __expectString,
files: _json,
Expand Down Expand Up @@ -8196,6 +8197,7 @@ const se_ReadSetFilter = (input: ReadSetFilter, context: __SerdeContext): any =>
return take(input, {
createdAfter: (_) => _.toISOString().split(".")[0] + "Z",
createdBefore: (_) => _.toISOString().split(".")[0] + "Z",
creationType: [],
generatedFrom: [],
name: [],
referenceArn: [],
Expand Down Expand Up @@ -8548,6 +8550,7 @@ const de_ReadSetListItem = (output: any, context: __SerdeContext): ReadSetListIt
return take(output, {
arn: __expectString,
creationTime: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
creationType: __expectString,
description: __expectString,
fileType: __expectString,
id: __expectString,
Expand Down
Loading

0 comments on commit 88877de

Please sign in to comment.