diff --git a/clients/client-omics/src/commands/GetReadSetMetadataCommand.ts b/clients/client-omics/src/commands/GetReadSetMetadataCommand.ts index 00784f5f020a..373c933152de 100644 --- a/clients/client-omics/src/commands/GetReadSetMetadataCommand.ts +++ b/clients/client-omics/src/commands/GetReadSetMetadataCommand.ts @@ -85,6 +85,7 @@ export interface GetReadSetMetadataCommandOutput extends GetReadSetMetadataRespo * // }, * // }, * // statusMessage: "STRING_VALUE", + * // creationType: "STRING_VALUE", * // }; * * ``` diff --git a/clients/client-omics/src/commands/ListReadSetsCommand.ts b/clients/client-omics/src/commands/ListReadSetsCommand.ts index d9bd21e2b1d7..d3f09b0175d3 100644 --- a/clients/client-omics/src/commands/ListReadSetsCommand.ts +++ b/clients/client-omics/src/commands/ListReadSetsCommand.ts @@ -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); @@ -82,6 +83,7 @@ export interface ListReadSetsCommandOutput extends ListReadSetsResponse, __Metad * // }, * // creationTime: new Date("TIMESTAMP"), // required * // statusMessage: "STRING_VALUE", + * // creationType: "STRING_VALUE", * // }, * // ], * // }; diff --git a/clients/client-omics/src/models/models_0.ts b/clients/client-omics/src/models/models_0.ts index 4327f42fbea7..00062da150fa 100644 --- a/clients/client-omics/src/models/models_0.ts +++ b/clients/client-omics/src/models/models_0.ts @@ -2144,6 +2144,20 @@ export interface CreateWorkflowResponse { tags?: Record; } +/** + * @public + * @enum + */ +export const CreationType = { + IMPORT: "IMPORT", + UPLOAD: "UPLOAD", +} as const; + +/** + * @public + */ +export type CreationType = (typeof CreationType)[keyof typeof CreationType]; + /** * @public */ @@ -2908,6 +2922,13 @@ export interface GetReadSetMetadataResponse { *

*/ statusMessage?: string; + + /** + *

+ * The creation type of the read set. + *

+ */ + creationType?: CreationType | string; } /** @@ -4365,6 +4386,13 @@ export interface ReadSetFilter { *

*/ generatedFrom?: string; + + /** + *

+ * The creation type of the read set. + *

+ */ + creationType?: CreationType | string; } /** @@ -4463,6 +4491,13 @@ export interface ReadSetListItem { *

*/ statusMessage?: string; + + /** + *

+ * The creation type of the read set. + *

+ */ + creationType?: CreationType | string; } /** diff --git a/clients/client-omics/src/protocols/Aws_restJson1.ts b/clients/client-omics/src/protocols/Aws_restJson1.ts index 7dc724464795..3da33921bdbb 100644 --- a/clients/client-omics/src/protocols/Aws_restJson1.ts +++ b/clients/client-omics/src/protocols/Aws_restJson1.ts @@ -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, @@ -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: [], @@ -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, diff --git a/codegen/sdk-codegen/aws-models/omics.json b/codegen/sdk-codegen/aws-models/omics.json index 6b1f23ed37de..8b2911d6de47 100644 --- a/codegen/sdk-codegen/aws-models/omics.json +++ b/codegen/sdk-codegen/aws-models/omics.json @@ -2058,6 +2058,21 @@ "smithy.api#timestampFormat": "date-time" } }, + "com.amazonaws.omics#CreationType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "IMPORT", + "name": "IMPORT" + }, + { + "value": "UPLOAD", + "name": "UPLOAD" + } + ] + } + }, "com.amazonaws.omics#DeleteAnnotationStore": { "type": "operation", "input": { @@ -4195,6 +4210,12 @@ "traits": { "smithy.api#documentation": "

\n The status message for a read set. It provides more detail as to why the read set has a status. \n

" } + }, + "creationType": { + "target": "com.amazonaws.omics#CreationType", + "traits": { + "smithy.api#documentation": "

\n The creation type of the read set.\n

" + } } }, "traits": { @@ -9429,55 +9450,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://omics-fips.us-gov-east-1.api.aws" + "url": "https://omics-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://omics-fips.us-gov-east-1.amazonaws.com" + "url": "https://omics-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://omics.us-gov-east-1.api.aws" + "url": "https://omics.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://omics.us-gov-east-1.amazonaws.com" + "url": "https://omics.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9488,9 +9509,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -9501,9 +9522,9 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -9514,9 +9535,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -9527,109 +9548,109 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://omics-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://omics-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://omics-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://omics.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://omics.us-iso-east-1.c2s.ic.gov" + "url": "https://omics.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://omics-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://omics-fips.us-east-1.amazonaws.com" + "url": "https://omics-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://omics.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://omics.us-east-1.amazonaws.com" + "url": "https://omics.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -9638,9 +9659,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -9651,9 +9672,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -9662,9 +9683,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -9675,22 +9696,35 @@ } }, "params": { - "UseDualStack": false, "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseDualStack": false, "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -9700,9 +9734,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "Region": "us-east-1", "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -9712,11 +9746,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -10098,6 +10138,12 @@ "traits": { "smithy.api#documentation": "

\n Where the source originated.\n

" } + }, + "creationType": { + "target": "com.amazonaws.omics#CreationType", + "traits": { + "smithy.api#documentation": "

\n The creation type of the read set.\n

" + } } }, "traits": { @@ -10274,6 +10320,12 @@ "traits": { "smithy.api#documentation": "

\n The status for a read set. It provides more detail as to why the read set has a status. \n

" } + }, + "creationType": { + "target": "com.amazonaws.omics#CreationType", + "traits": { + "smithy.api#documentation": "

\n The creation type of the read set.\n

" + } } }, "traits": {