@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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/GetRunCommand.d.ts +5 -0
- package/dist-types/commands/GetRunTaskCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +44 -1
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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
|
* ```
|
|
@@ -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
|
|
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.
|
|
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",
|