@aws-sdk/client-omics 3.431.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;
@@ -4494,8 +4494,10 @@ const de_GetRunCommand = async (output, context) => {
4494
4494
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
4495
4495
  definition: smithy_client_1.expectString,
4496
4496
  digest: smithy_client_1.expectString,
4497
+ failureReason: smithy_client_1.expectString,
4497
4498
  id: smithy_client_1.expectString,
4498
4499
  logLevel: smithy_client_1.expectString,
4500
+ logLocation: smithy_client_1._json,
4499
4501
  name: smithy_client_1.expectString,
4500
4502
  outputUri: smithy_client_1.expectString,
4501
4503
  parameters: (_) => de_RunParameters(_, context),
@@ -4633,6 +4635,7 @@ const de_GetRunTaskCommand = async (output, context) => {
4633
4635
  const doc = (0, smithy_client_1.take)(data, {
4634
4636
  cpus: smithy_client_1.expectInt32,
4635
4637
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
4638
+ failureReason: smithy_client_1.expectString,
4636
4639
  gpus: smithy_client_1.expectInt32,
4637
4640
  instanceType: smithy_client_1.expectString,
4638
4641
  logStream: 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;
@@ -4368,8 +4368,10 @@ export const de_GetRunCommand = async (output, context) => {
4368
4368
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4369
4369
  definition: __expectString,
4370
4370
  digest: __expectString,
4371
+ failureReason: __expectString,
4371
4372
  id: __expectString,
4372
4373
  logLevel: __expectString,
4374
+ logLocation: _json,
4373
4375
  name: __expectString,
4374
4376
  outputUri: __expectString,
4375
4377
  parameters: (_) => de_RunParameters(_, context),
@@ -4505,6 +4507,7 @@ export const de_GetRunTaskCommand = async (output, context) => {
4505
4507
  const doc = take(data, {
4506
4508
  cpus: __expectInt32,
4507
4509
  creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
4510
+ failureReason: __expectString,
4508
4511
  gpus: __expectInt32,
4509
4512
  instanceType: __expectString,
4510
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.431.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",