@aws-sdk/client-omics 3.430.0 → 3.432.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "required", r = "fn", s = "argv", t = "ref";
5
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://omics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://omics-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://omics.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://omics.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://omics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://omics-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://omics.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://omics.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
7
  exports.ruleSet = _data;
@@ -4,6 +4,7 @@ exports.se_ListMultipartReadSetUploadsCommand = exports.se_ListAnnotationStoreVe
4
4
  exports.de_DeleteAnnotationStoreVersionsCommand = exports.de_DeleteAnnotationStoreCommand = exports.de_CreateWorkflowCommand = exports.de_CreateVariantStoreCommand = exports.de_CreateShareCommand = exports.de_CreateSequenceStoreCommand = exports.de_CreateRunGroupCommand = exports.de_CreateReferenceStoreCommand = exports.de_CreateMultipartReadSetUploadCommand = exports.de_CreateAnnotationStoreVersionCommand = exports.de_CreateAnnotationStoreCommand = exports.de_CompleteMultipartReadSetUploadCommand = exports.de_CancelVariantImportJobCommand = exports.de_CancelRunCommand = exports.de_CancelAnnotationImportJobCommand = exports.de_BatchDeleteReadSetCommand = exports.de_AcceptShareCommand = exports.de_AbortMultipartReadSetUploadCommand = exports.se_UploadReadSetPartCommand = exports.se_UpdateWorkflowCommand = exports.se_UpdateVariantStoreCommand = exports.se_UpdateRunGroupCommand = exports.se_UpdateAnnotationStoreVersionCommand = exports.se_UpdateAnnotationStoreCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartVariantImportJobCommand = exports.se_StartRunCommand = exports.se_StartReferenceImportJobCommand = exports.se_StartReadSetImportJobCommand = exports.se_StartReadSetExportJobCommand = exports.se_StartReadSetActivationJobCommand = exports.se_StartAnnotationImportJobCommand = exports.se_ListWorkflowsCommand = exports.se_ListVariantStoresCommand = exports.se_ListVariantImportJobsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSharesCommand = exports.se_ListSequenceStoresCommand = exports.se_ListRunTasksCommand = exports.se_ListRunsCommand = exports.se_ListRunGroupsCommand = exports.se_ListReferenceStoresCommand = exports.se_ListReferencesCommand = exports.se_ListReferenceImportJobsCommand = exports.se_ListReadSetUploadPartsCommand = exports.se_ListReadSetsCommand = exports.se_ListReadSetImportJobsCommand = exports.se_ListReadSetExportJobsCommand = exports.se_ListReadSetActivationJobsCommand = void 0;
5
5
  exports.de_StartAnnotationImportJobCommand = exports.de_ListWorkflowsCommand = exports.de_ListVariantStoresCommand = exports.de_ListVariantImportJobsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSharesCommand = exports.de_ListSequenceStoresCommand = exports.de_ListRunTasksCommand = exports.de_ListRunsCommand = exports.de_ListRunGroupsCommand = exports.de_ListReferenceStoresCommand = exports.de_ListReferencesCommand = exports.de_ListReferenceImportJobsCommand = exports.de_ListReadSetUploadPartsCommand = exports.de_ListReadSetsCommand = exports.de_ListReadSetImportJobsCommand = exports.de_ListReadSetExportJobsCommand = exports.de_ListReadSetActivationJobsCommand = exports.de_ListMultipartReadSetUploadsCommand = exports.de_ListAnnotationStoreVersionsCommand = exports.de_ListAnnotationStoresCommand = exports.de_ListAnnotationImportJobsCommand = exports.de_GetWorkflowCommand = exports.de_GetVariantStoreCommand = exports.de_GetVariantImportJobCommand = exports.de_GetShareCommand = exports.de_GetSequenceStoreCommand = exports.de_GetRunTaskCommand = exports.de_GetRunGroupCommand = exports.de_GetRunCommand = exports.de_GetReferenceStoreCommand = exports.de_GetReferenceMetadataCommand = exports.de_GetReferenceImportJobCommand = exports.de_GetReferenceCommand = exports.de_GetReadSetMetadataCommand = exports.de_GetReadSetImportJobCommand = exports.de_GetReadSetExportJobCommand = exports.de_GetReadSetActivationJobCommand = exports.de_GetReadSetCommand = exports.de_GetAnnotationStoreVersionCommand = exports.de_GetAnnotationStoreCommand = exports.de_GetAnnotationImportJobCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteVariantStoreCommand = exports.de_DeleteShareCommand = exports.de_DeleteSequenceStoreCommand = exports.de_DeleteRunGroupCommand = exports.de_DeleteRunCommand = exports.de_DeleteReferenceStoreCommand = exports.de_DeleteReferenceCommand = void 0;
6
6
  exports.de_UploadReadSetPartCommand = exports.de_UpdateWorkflowCommand = exports.de_UpdateVariantStoreCommand = exports.de_UpdateRunGroupCommand = exports.de_UpdateAnnotationStoreVersionCommand = exports.de_UpdateAnnotationStoreCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartVariantImportJobCommand = exports.de_StartRunCommand = exports.de_StartReferenceImportJobCommand = exports.de_StartReadSetImportJobCommand = exports.de_StartReadSetExportJobCommand = exports.de_StartReadSetActivationJobCommand = void 0;
7
+ const core_1 = require("@aws-sdk/core");
7
8
  const protocol_http_1 = require("@smithy/protocol-http");
8
9
  const smithy_client_1 = require("@smithy/smithy-client");
9
10
  const uuid_1 = require("uuid");
@@ -2801,10 +2802,10 @@ const de_CreateAnnotationStoreCommand = async (output, context) => {
2801
2802
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
2802
2803
  id: smithy_client_1.expectString,
2803
2804
  name: smithy_client_1.expectString,
2804
- reference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
2805
+ reference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
2805
2806
  status: smithy_client_1.expectString,
2806
2807
  storeFormat: smithy_client_1.expectString,
2807
- storeOptions: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
2808
+ storeOptions: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
2808
2809
  versionName: smithy_client_1.expectString,
2809
2810
  });
2810
2811
  Object.assign(contents, doc);
@@ -2863,7 +2864,7 @@ const de_CreateAnnotationStoreVersionCommand = async (output, context) => {
2863
2864
  status: smithy_client_1.expectString,
2864
2865
  storeId: smithy_client_1.expectString,
2865
2866
  versionName: smithy_client_1.expectString,
2866
- versionOptions: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
2867
+ versionOptions: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
2867
2868
  });
2868
2869
  Object.assign(contents, doc);
2869
2870
  return contents;
@@ -3203,7 +3204,7 @@ const de_CreateVariantStoreCommand = async (output, context) => {
3203
3204
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3204
3205
  id: smithy_client_1.expectString,
3205
3206
  name: smithy_client_1.expectString,
3206
- reference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3207
+ reference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3207
3208
  status: smithy_client_1.expectString,
3208
3209
  });
3209
3210
  Object.assign(contents, doc);
@@ -3814,7 +3815,7 @@ const de_GetAnnotationImportJobCommand = async (output, context) => {
3814
3815
  completionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3815
3816
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3816
3817
  destinationName: smithy_client_1.expectString,
3817
- formatOptions: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3818
+ formatOptions: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3818
3819
  id: smithy_client_1.expectString,
3819
3820
  items: smithy_client_1._json,
3820
3821
  roleArn: smithy_client_1.expectString,
@@ -3873,13 +3874,13 @@ const de_GetAnnotationStoreCommand = async (output, context) => {
3873
3874
  id: smithy_client_1.expectString,
3874
3875
  name: smithy_client_1.expectString,
3875
3876
  numVersions: smithy_client_1.expectInt32,
3876
- reference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3877
+ reference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3877
3878
  sseConfig: smithy_client_1._json,
3878
3879
  status: smithy_client_1.expectString,
3879
3880
  statusMessage: smithy_client_1.expectString,
3880
3881
  storeArn: smithy_client_1.expectString,
3881
3882
  storeFormat: smithy_client_1.expectString,
3882
- storeOptions: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3883
+ storeOptions: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3883
3884
  storeSizeBytes: smithy_client_1.expectLong,
3884
3885
  tags: smithy_client_1._json,
3885
3886
  updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
@@ -3939,7 +3940,7 @@ const de_GetAnnotationStoreVersionCommand = async (output, context) => {
3939
3940
  updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
3940
3941
  versionArn: smithy_client_1.expectString,
3941
3942
  versionName: smithy_client_1.expectString,
3942
- versionOptions: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
3943
+ versionOptions: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
3943
3944
  versionSizeBytes: smithy_client_1.expectLong,
3944
3945
  });
3945
3946
  Object.assign(contents, doc);
@@ -4493,8 +4494,10 @@ const de_GetRunCommand = async (output, context) => {
4493
4494
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
4494
4495
  definition: smithy_client_1.expectString,
4495
4496
  digest: smithy_client_1.expectString,
4497
+ failureReason: smithy_client_1.expectString,
4496
4498
  id: smithy_client_1.expectString,
4497
4499
  logLevel: smithy_client_1.expectString,
4500
+ logLocation: smithy_client_1._json,
4498
4501
  name: smithy_client_1.expectString,
4499
4502
  outputUri: smithy_client_1.expectString,
4500
4503
  parameters: (_) => de_RunParameters(_, context),
@@ -4632,6 +4635,7 @@ const de_GetRunTaskCommand = async (output, context) => {
4632
4635
  const doc = (0, smithy_client_1.take)(data, {
4633
4636
  cpus: smithy_client_1.expectInt32,
4634
4637
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
4638
+ failureReason: smithy_client_1.expectString,
4635
4639
  gpus: smithy_client_1.expectInt32,
4636
4640
  instanceType: smithy_client_1.expectString,
4637
4641
  logStream: smithy_client_1.expectString,
@@ -4863,7 +4867,7 @@ const de_GetVariantStoreCommand = async (output, context) => {
4863
4867
  description: smithy_client_1.expectString,
4864
4868
  id: smithy_client_1.expectString,
4865
4869
  name: smithy_client_1.expectString,
4866
- reference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
4870
+ reference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
4867
4871
  sseConfig: smithy_client_1._json,
4868
4872
  status: smithy_client_1.expectString,
4869
4873
  statusMessage: smithy_client_1.expectString,
@@ -6545,10 +6549,10 @@ const de_UpdateAnnotationStoreCommand = async (output, context) => {
6545
6549
  description: smithy_client_1.expectString,
6546
6550
  id: smithy_client_1.expectString,
6547
6551
  name: smithy_client_1.expectString,
6548
- reference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
6552
+ reference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
6549
6553
  status: smithy_client_1.expectString,
6550
6554
  storeFormat: smithy_client_1.expectString,
6551
- storeOptions: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
6555
+ storeOptions: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
6552
6556
  updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
6553
6557
  });
6554
6558
  Object.assign(contents, doc);
@@ -6703,7 +6707,7 @@ const de_UpdateVariantStoreCommand = async (output, context) => {
6703
6707
  description: smithy_client_1.expectString,
6704
6708
  id: smithy_client_1.expectString,
6705
6709
  name: smithy_client_1.expectString,
6706
- reference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
6710
+ reference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
6707
6711
  status: smithy_client_1.expectString,
6708
6712
  updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
6709
6713
  });
@@ -7096,7 +7100,7 @@ const de_AnnotationStoreItem = (output, context) => {
7096
7100
  description: smithy_client_1.expectString,
7097
7101
  id: smithy_client_1.expectString,
7098
7102
  name: smithy_client_1.expectString,
7099
- reference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
7103
+ reference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
7100
7104
  sseConfig: smithy_client_1._json,
7101
7105
  status: smithy_client_1.expectString,
7102
7106
  statusMessage: smithy_client_1.expectString,
@@ -7432,7 +7436,7 @@ const de_VariantStoreItem = (output, context) => {
7432
7436
  description: smithy_client_1.expectString,
7433
7437
  id: smithy_client_1.expectString,
7434
7438
  name: smithy_client_1.expectString,
7435
- reference: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
7439
+ reference: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
7436
7440
  sseConfig: smithy_client_1._json,
7437
7441
  status: smithy_client_1.expectString,
7438
7442
  statusMessage: smithy_client_1.expectString,
@@ -1,4 +1,4 @@
1
- const q = "required", r = "fn", s = "argv", t = "ref";
2
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://omics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://omics-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://omics.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://omics.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://omics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://omics-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://omics.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://omics.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
4
  export const ruleSet = _data;
@@ -1,5 +1,6 @@
1
+ import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { v4 as generateIdempotencyToken } from "uuid";
4
5
  import { AccessDeniedException, ConflictException, InternalServerException, NotSupportedOperationException, RangeNotSatisfiableException, RequestTimeoutException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
6
  import { OmicsServiceException as __BaseException } from "../models/OmicsServiceException";
@@ -4367,8 +4368,10 @@ export const de_GetRunCommand = async (output, context) => {
4367
4368
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4368
4369
  definition: __expectString,
4369
4370
  digest: __expectString,
4371
+ failureReason: __expectString,
4370
4372
  id: __expectString,
4371
4373
  logLevel: __expectString,
4374
+ logLocation: _json,
4372
4375
  name: __expectString,
4373
4376
  outputUri: __expectString,
4374
4377
  parameters: (_) => de_RunParameters(_, context),
@@ -4504,6 +4507,7 @@ export const de_GetRunTaskCommand = async (output, context) => {
4504
4507
  const doc = take(data, {
4505
4508
  cpus: __expectInt32,
4506
4509
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4510
+ failureReason: __expectString,
4507
4511
  gpus: __expectInt32,
4508
4512
  instanceType: __expectString,
4509
4513
  logStream: __expectString,
@@ -68,6 +68,11 @@ export interface GetRunCommandOutput extends GetRunResponse, __MetadataBearer {
68
68
  * // },
69
69
  * // accelerators: "STRING_VALUE",
70
70
  * // retentionMode: "STRING_VALUE",
71
+ * // failureReason: "STRING_VALUE",
72
+ * // logLocation: { // RunLogLocation
73
+ * // engineLogStream: "STRING_VALUE",
74
+ * // runLogStream: "STRING_VALUE",
75
+ * // },
71
76
  * // };
72
77
  *
73
78
  * ```
@@ -49,6 +49,7 @@ export interface GetRunTaskCommandOutput extends GetRunTaskResponse, __MetadataB
49
49
  * // logStream: "STRING_VALUE",
50
50
  * // gpus: Number("int"),
51
51
  * // instanceType: "STRING_VALUE",
52
+ * // failureReason: "STRING_VALUE",
52
53
  * // };
53
54
  *
54
55
  * ```
@@ -3998,6 +3998,28 @@ export declare const RunLogLevel: {
3998
3998
  * @public
3999
3999
  */
4000
4000
  export type RunLogLevel = (typeof RunLogLevel)[keyof typeof RunLogLevel];
4001
+ /**
4002
+ * @public
4003
+ * <p>
4004
+ * The URI for the run log.
4005
+ * </p>
4006
+ */
4007
+ export interface RunLogLocation {
4008
+ /**
4009
+ * @public
4010
+ * <p>
4011
+ * The log stream ARN for the engine log.
4012
+ * </p>
4013
+ */
4014
+ engineLogStream?: string;
4015
+ /**
4016
+ * @public
4017
+ * <p>
4018
+ * The log stream ARN for the run log.
4019
+ * </p>
4020
+ */
4021
+ runLogStream?: string;
4022
+ }
4001
4023
  /**
4002
4024
  * @public
4003
4025
  * @enum
@@ -4171,6 +4193,20 @@ export interface GetRunResponse {
4171
4193
  * <p>The run's retention mode.</p>
4172
4194
  */
4173
4195
  retentionMode?: RunRetentionMode;
4196
+ /**
4197
+ * @public
4198
+ * <p>
4199
+ * The reason a run has failed.
4200
+ * </p>
4201
+ */
4202
+ failureReason?: string;
4203
+ /**
4204
+ * @public
4205
+ * <p>
4206
+ * The location of the run log.
4207
+ * </p>
4208
+ */
4209
+ logLocation?: RunLogLocation;
4174
4210
  }
4175
4211
  /**
4176
4212
  * @public
@@ -4240,7 +4276,7 @@ export interface GetRunGroupResponse {
4240
4276
  export interface GetRunTaskRequest {
4241
4277
  /**
4242
4278
  * @public
4243
- * <p>The task's ID.</p>
4279
+ * <p>The workflow run ID.</p>
4244
4280
  */
4245
4281
  id: string | undefined;
4246
4282
  /**
@@ -4334,6 +4370,13 @@ export interface GetRunTaskResponse {
4334
4370
  * </p>
4335
4371
  */
4336
4372
  instanceType?: string;
4373
+ /**
4374
+ * @public
4375
+ * <p>
4376
+ * The reason a task has failed.
4377
+ * </p>
4378
+ */
4379
+ failureReason?: string;
4337
4380
  }
4338
4381
  /**
4339
4382
  * @public
@@ -1084,6 +1084,10 @@ export declare const RunLogLevel: {
1084
1084
  readonly OFF: "OFF";
1085
1085
  };
1086
1086
  export type RunLogLevel = (typeof RunLogLevel)[keyof typeof RunLogLevel];
1087
+ export interface RunLogLocation {
1088
+ engineLogStream?: string;
1089
+ runLogStream?: string;
1090
+ }
1087
1091
  export declare const RunRetentionMode: {
1088
1092
  readonly REMOVE: "REMOVE";
1089
1093
  readonly RETAIN: "RETAIN";
@@ -1132,6 +1136,8 @@ export interface GetRunResponse {
1132
1136
  tags?: Record<string, string>;
1133
1137
  accelerators?: Accelerators;
1134
1138
  retentionMode?: RunRetentionMode;
1139
+ failureReason?: string;
1140
+ logLocation?: RunLogLocation;
1135
1141
  }
1136
1142
  export interface GetRunGroupRequest {
1137
1143
  id: string | undefined;
@@ -1174,6 +1180,7 @@ export interface GetRunTaskResponse {
1174
1180
  logStream?: string;
1175
1181
  gpus?: number;
1176
1182
  instanceType?: string;
1183
+ failureReason?: string;
1177
1184
  }
1178
1185
  export interface GetSequenceStoreRequest {
1179
1186
  id: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-omics",
3
3
  "description": "AWS SDK for JavaScript Omics Client for Node.js, Browser and React Native",
4
- "version": "3.430.0",
4
+ "version": "3.432.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,10 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.430.0",
25
- "@aws-sdk/credential-provider-node": "3.430.0",
26
- "@aws-sdk/middleware-host-header": "3.429.0",
24
+ "@aws-sdk/client-sts": "3.431.0",
25
+ "@aws-sdk/core": "3.431.0",
26
+ "@aws-sdk/credential-provider-node": "3.431.0",
27
+ "@aws-sdk/middleware-host-header": "3.431.0",
27
28
  "@aws-sdk/middleware-logger": "3.428.0",
28
29
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
30
  "@aws-sdk/middleware-signing": "3.428.0",