Skip to content

Commit

Permalink
feat(client-omics): Support UBAM filetype for Omics Storage and make …
Browse files Browse the repository at this point in the history
…referenceArn optional
  • Loading branch information
awstools committed Nov 9, 2023
1 parent 8630876 commit b7ab1da
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface CreateMultipartReadSetUploadCommandOutput
* subjectId: "STRING_VALUE", // required
* sampleId: "STRING_VALUE", // required
* generatedFrom: "STRING_VALUE",
* referenceArn: "STRING_VALUE", // required
* referenceArn: "STRING_VALUE",
* name: "STRING_VALUE", // required
* description: "STRING_VALUE",
* tags: { // TagMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface StartReadSetImportJobCommandOutput extends StartReadSetImportJo
* subjectId: "STRING_VALUE", // required
* sampleId: "STRING_VALUE", // required
* generatedFrom: "STRING_VALUE",
* referenceArn: "STRING_VALUE", // required
* referenceArn: "STRING_VALUE",
* name: "STRING_VALUE",
* description: "STRING_VALUE",
* tags: { // TagMap
Expand Down
5 changes: 3 additions & 2 deletions clients/client-omics/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,7 @@ export const FileType = {
BAM: "BAM",
CRAM: "CRAM",
FASTQ: "FASTQ",
UBAM: "UBAM",
} as const;

/**
Expand Down Expand Up @@ -2589,7 +2590,7 @@ export interface CreateMultipartReadSetUploadRequest {
* The ARN of the reference.
* </p>
*/
referenceArn: string | undefined;
referenceArn?: string;

/**
* @public
Expand Down Expand Up @@ -8027,7 +8028,7 @@ export interface StartReadSetImportJobSourceItem {
* @public
* <p>The source's reference ARN.</p>
*/
referenceArn: string | undefined;
referenceArn?: string;

/**
* @public
Expand Down
22 changes: 17 additions & 5 deletions codegen/sdk-codegen/aws-models/omics.json
Original file line number Diff line number Diff line change
Expand Up @@ -1620,8 +1620,7 @@
"referenceArn": {
"target": "com.amazonaws.omics#ReferenceArn",
"traits": {
"smithy.api#documentation": "<p>\n The ARN of the reference.\n </p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>\n The ARN of the reference.\n </p>"
}
},
"name": {
Expand Down Expand Up @@ -3559,6 +3558,10 @@
{
"value": "CRAM",
"name": "CRAM"
},
{
"value": "UBAM",
"name": "UBAM"
}
]
}
Expand Down Expand Up @@ -11443,7 +11446,7 @@
}
},
"referenceArn": {
"target": "com.amazonaws.omics#ReferenceArn",
"target": "com.amazonaws.omics#ReferenceArnFilter",
"traits": {
"smithy.api#documentation": "<p>A genome reference ARN to filter on.</p>"
}
Expand Down Expand Up @@ -11899,6 +11902,16 @@
"smithy.api#pattern": "^arn:.+$"
}
},
"com.amazonaws.omics#ReferenceArnFilter": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 127
},
"smithy.api#pattern": "^$|^arn:.+$"
}
},
"com.amazonaws.omics#ReferenceDescription": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -14122,8 +14135,7 @@
"referenceArn": {
"target": "com.amazonaws.omics#ReferenceArn",
"traits": {
"smithy.api#documentation": "<p>The source's reference ARN.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>The source's reference ARN.</p>"
}
},
"name": {
Expand Down

0 comments on commit b7ab1da

Please sign in to comment.