@aws-sdk/client-omics 3.395.0 → 3.402.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/models/models_0.js +6 -2
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-cjs/runtimeExtensions.js +5 -5
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-es/runtimeExtensions.js +5 -5
- package/dist-types/commands/GetRunCommand.d.ts +1 -0
- package/dist-types/commands/StartRunCommand.d.ts +6 -1
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +24 -2
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -2
- package/package.json +31 -31
- package/dist-types/clientConfiguration.d.ts +0 -6
- package/dist-types/ts3.4/clientConfiguration.d.ts +0 -2
- /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
- /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UploadReadSetPartRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.GetReadSetResponseFilterSensitiveLog = exports.ResourceOwner = exports.WorkflowExport = exports.TaskStatus = exports.WorkflowType = exports.RunStatus = exports.RunRetentionMode = exports.RunLogLevel = exports.RunExport = exports.ReferenceStatus = exports.ReferenceImportJobStatus = exports.ReferenceImportJobItemStatus = exports.ReferenceFile = exports.ReadSetStatus = exports.ReadSetImportJobStatus = exports.ReadSetImportJobItemStatus = exports.RangeNotSatisfiableException = exports.ReadSetFile = exports.ReadSetExportJobStatus = exports.ReadSetExportJobItemStatus = exports.CreationType = exports.WorkflowStatus = exports.WorkflowEngine = exports.FileType = exports.ReadSetPartSource = exports.VersionStatus = exports.VersionOptions = exports.StoreStatus = exports.StoreOptions = exports.SchemaValueType = exports.FormatToHeaderKey = exports.AnnotationType = exports.StoreFormat = exports.EncryptionType = exports.ReferenceItem = exports.FormatOptions = exports.JobStatus = exports.ReadSetActivationJobItemStatus = exports.ReadSetActivationJobStatus = exports.ConflictException = exports.ShareStatus = exports.Accelerators = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.RequestTimeoutException = exports.NotSupportedOperationException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UploadReadSetPartRequestFilterSensitiveLog = exports.GetReferenceResponseFilterSensitiveLog = void 0;
|
|
5
5
|
const OmicsServiceException_1 = require("./OmicsServiceException");
|
|
6
6
|
class AccessDeniedException extends OmicsServiceException_1.OmicsServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -356,6 +356,10 @@ exports.RunLogLevel = {
|
|
|
356
356
|
FATAL: "FATAL",
|
|
357
357
|
OFF: "OFF",
|
|
358
358
|
};
|
|
359
|
+
exports.RunRetentionMode = {
|
|
360
|
+
REMOVE: "REMOVE",
|
|
361
|
+
RETAIN: "RETAIN",
|
|
362
|
+
};
|
|
359
363
|
exports.RunStatus = {
|
|
360
364
|
CANCELLED: "CANCELLED",
|
|
361
365
|
COMPLETED: "COMPLETED",
|
|
@@ -2139,6 +2139,7 @@ const se_StartRunCommand = async (input, context) => {
|
|
|
2139
2139
|
parameters: (_) => se_RunParameters(_, context),
|
|
2140
2140
|
priority: [],
|
|
2141
2141
|
requestId: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2142
|
+
retentionMode: [],
|
|
2142
2143
|
roleArn: [],
|
|
2143
2144
|
runGroupId: [],
|
|
2144
2145
|
runId: [],
|
|
@@ -4498,6 +4499,7 @@ const de_GetRunCommand = async (output, context) => {
|
|
|
4498
4499
|
parameters: (_) => de_RunParameters(_, context),
|
|
4499
4500
|
priority: smithy_client_1.expectInt32,
|
|
4500
4501
|
resourceDigests: smithy_client_1._json,
|
|
4502
|
+
retentionMode: smithy_client_1.expectString,
|
|
4501
4503
|
roleArn: smithy_client_1.expectString,
|
|
4502
4504
|
runGroupId: smithy_client_1.expectString,
|
|
4503
4505
|
runId: smithy_client_1.expectString,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const asPartial = (t) => t;
|
|
6
6
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const
|
|
8
|
-
...asPartial((0,
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
9
9
|
};
|
|
10
|
-
extensions.forEach((extension) => extension.
|
|
10
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
11
|
return {
|
|
12
12
|
...runtimeConfig,
|
|
13
|
-
...(0,
|
|
13
|
+
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -342,6 +342,10 @@ export const RunLogLevel = {
|
|
|
342
342
|
FATAL: "FATAL",
|
|
343
343
|
OFF: "OFF",
|
|
344
344
|
};
|
|
345
|
+
export const RunRetentionMode = {
|
|
346
|
+
REMOVE: "REMOVE",
|
|
347
|
+
RETAIN: "RETAIN",
|
|
348
|
+
};
|
|
345
349
|
export const RunStatus = {
|
|
346
350
|
CANCELLED: "CANCELLED",
|
|
347
351
|
COMPLETED: "COMPLETED",
|
|
@@ -2061,6 +2061,7 @@ export const se_StartRunCommand = async (input, context) => {
|
|
|
2061
2061
|
parameters: (_) => se_RunParameters(_, context),
|
|
2062
2062
|
priority: [],
|
|
2063
2063
|
requestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
2064
|
+
retentionMode: [],
|
|
2064
2065
|
roleArn: [],
|
|
2065
2066
|
runGroupId: [],
|
|
2066
2067
|
runId: [],
|
|
@@ -4372,6 +4373,7 @@ export const de_GetRunCommand = async (output, context) => {
|
|
|
4372
4373
|
parameters: (_) => de_RunParameters(_, context),
|
|
4373
4374
|
priority: __expectInt32,
|
|
4374
4375
|
resourceDigests: _json,
|
|
4376
|
+
retentionMode: __expectString,
|
|
4375
4377
|
roleArn: __expectString,
|
|
4376
4378
|
runGroupId: __expectString,
|
|
4377
4379
|
runId: __expectString,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
2
|
const asPartial = (t) => t;
|
|
3
3
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
-
const
|
|
5
|
-
...asPartial(
|
|
4
|
+
const extensionConfiguration = {
|
|
5
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
6
6
|
};
|
|
7
|
-
extensions.forEach((extension) => extension.
|
|
7
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
8
|
return {
|
|
9
9
|
...runtimeConfig,
|
|
10
|
-
...resolveDefaultRuntimeConfig(
|
|
10
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -23,7 +23,11 @@ export interface StartRunCommandOutput extends StartRunResponse, __MetadataBeare
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Starts a run
|
|
26
|
+
* <p>Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The
|
|
27
|
+
* remaining parameters are copied from the previous run.</p>
|
|
28
|
+
* <p>The total number of runs in your account is subject to a quota per Region. To avoid
|
|
29
|
+
* needing to delete runs manually, you can set the retention mode to <code>REMOVE</code>.
|
|
30
|
+
* Runs with this setting are deleted automatically when the run quoata is exceeded.</p>
|
|
27
31
|
* @example
|
|
28
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
33
|
* ```javascript
|
|
@@ -46,6 +50,7 @@ export interface StartRunCommandOutput extends StartRunResponse, __MetadataBeare
|
|
|
46
50
|
* "<keys>": "STRING_VALUE",
|
|
47
51
|
* },
|
|
48
52
|
* requestId: "STRING_VALUE", // required
|
|
53
|
+
* retentionMode: "STRING_VALUE",
|
|
49
54
|
* };
|
|
50
55
|
* const command = new StartRunCommand(input);
|
|
51
56
|
* const response = await client.send(command);
|
|
@@ -3950,6 +3950,18 @@ export declare const RunLogLevel: {
|
|
|
3950
3950
|
* @public
|
|
3951
3951
|
*/
|
|
3952
3952
|
export type RunLogLevel = (typeof RunLogLevel)[keyof typeof RunLogLevel];
|
|
3953
|
+
/**
|
|
3954
|
+
* @public
|
|
3955
|
+
* @enum
|
|
3956
|
+
*/
|
|
3957
|
+
export declare const RunRetentionMode: {
|
|
3958
|
+
readonly REMOVE: "REMOVE";
|
|
3959
|
+
readonly RETAIN: "RETAIN";
|
|
3960
|
+
};
|
|
3961
|
+
/**
|
|
3962
|
+
* @public
|
|
3963
|
+
*/
|
|
3964
|
+
export type RunRetentionMode = (typeof RunRetentionMode)[keyof typeof RunRetentionMode];
|
|
3953
3965
|
/**
|
|
3954
3966
|
* @public
|
|
3955
3967
|
* @enum
|
|
@@ -4106,6 +4118,11 @@ export interface GetRunResponse {
|
|
|
4106
4118
|
* </p>
|
|
4107
4119
|
*/
|
|
4108
4120
|
accelerators?: Accelerators | string;
|
|
4121
|
+
/**
|
|
4122
|
+
* @public
|
|
4123
|
+
* <p>The run's retention mode.</p>
|
|
4124
|
+
*/
|
|
4125
|
+
retentionMode?: RunRetentionMode | string;
|
|
4109
4126
|
}
|
|
4110
4127
|
/**
|
|
4111
4128
|
* @public
|
|
@@ -6552,12 +6569,12 @@ export interface StartRunRequest {
|
|
|
6552
6569
|
workflowId?: string;
|
|
6553
6570
|
/**
|
|
6554
6571
|
* @public
|
|
6555
|
-
* <p>The run's
|
|
6572
|
+
* <p>The run's workflow type.</p>
|
|
6556
6573
|
*/
|
|
6557
6574
|
workflowType?: WorkflowType | string;
|
|
6558
6575
|
/**
|
|
6559
6576
|
* @public
|
|
6560
|
-
* <p>The run
|
|
6577
|
+
* <p>The ID of a run to duplicate.</p>
|
|
6561
6578
|
*/
|
|
6562
6579
|
runId?: string;
|
|
6563
6580
|
/**
|
|
@@ -6610,6 +6627,11 @@ export interface StartRunRequest {
|
|
|
6610
6627
|
* <p>To ensure that requests don't run multiple times, specify a unique ID for each request.</p>
|
|
6611
6628
|
*/
|
|
6612
6629
|
requestId?: string;
|
|
6630
|
+
/**
|
|
6631
|
+
* @public
|
|
6632
|
+
* <p>The retention mode for the run.</p>
|
|
6633
|
+
*/
|
|
6634
|
+
retentionMode?: RunRetentionMode | string;
|
|
6613
6635
|
}
|
|
6614
6636
|
/**
|
|
6615
6637
|
* @public
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OmicsExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
|
|
6
|
+
configure(clientConfiguration: OmicsExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1072,6 +1072,12 @@ export declare const RunLogLevel: {
|
|
|
1072
1072
|
readonly OFF: "OFF";
|
|
1073
1073
|
};
|
|
1074
1074
|
export type RunLogLevel = (typeof RunLogLevel)[keyof typeof RunLogLevel];
|
|
1075
|
+
export declare const RunRetentionMode: {
|
|
1076
|
+
readonly REMOVE: "REMOVE";
|
|
1077
|
+
readonly RETAIN: "RETAIN";
|
|
1078
|
+
};
|
|
1079
|
+
export type RunRetentionMode =
|
|
1080
|
+
(typeof RunRetentionMode)[keyof typeof RunRetentionMode];
|
|
1075
1081
|
export declare const RunStatus: {
|
|
1076
1082
|
readonly CANCELLED: "CANCELLED";
|
|
1077
1083
|
readonly COMPLETED: "COMPLETED";
|
|
@@ -1113,6 +1119,7 @@ export interface GetRunResponse {
|
|
|
1113
1119
|
statusMessage?: string;
|
|
1114
1120
|
tags?: Record<string, string>;
|
|
1115
1121
|
accelerators?: Accelerators | string;
|
|
1122
|
+
retentionMode?: RunRetentionMode | string;
|
|
1116
1123
|
}
|
|
1117
1124
|
export interface GetRunGroupRequest {
|
|
1118
1125
|
id: string | undefined;
|
|
@@ -1670,6 +1677,7 @@ export interface StartRunRequest {
|
|
|
1670
1677
|
logLevel?: RunLogLevel | string;
|
|
1671
1678
|
tags?: Record<string, string>;
|
|
1672
1679
|
requestId?: string;
|
|
1680
|
+
retentionMode?: RunRetentionMode | string;
|
|
1673
1681
|
}
|
|
1674
1682
|
export interface StartRunResponse {
|
|
1675
1683
|
arn?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OmicsExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
|
|
3
|
+
configure(clientConfiguration: OmicsExtensionConfiguration): void;
|
|
4
4
|
}
|
|
5
5
|
export interface RuntimeExtensionsConfig {
|
|
6
6
|
extensions: RuntimeExtension[];
|
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.402.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,41 +21,41 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.398.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.398.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.398.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.398.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.398.0",
|
|
31
|
+
"@aws-sdk/types": "3.398.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.398.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.398.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.5",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
|
+
"@smithy/hash-node": "^2.0.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.5",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.5",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.5",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.0.
|
|
46
|
-
"@smithy/protocol-http": "^2.0.
|
|
47
|
-
"@smithy/smithy-client": "^2.0.
|
|
48
|
-
"@smithy/types": "^2.2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.5",
|
|
45
|
+
"@smithy/node-http-handler": "^2.0.5",
|
|
46
|
+
"@smithy/protocol-http": "^2.0.5",
|
|
47
|
+
"@smithy/smithy-client": "^2.0.5",
|
|
48
|
+
"@smithy/types": "^2.2.2",
|
|
49
|
+
"@smithy/url-parser": "^2.0.5",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
|
-
"@smithy/util-body-length-node": "^2.
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
52
|
+
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.5",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.5",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
|
-
"@smithy/util-stream": "^2.0.
|
|
56
|
+
"@smithy/util-stream": "^2.0.5",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
|
-
"@smithy/util-waiter": "^2.0.
|
|
58
|
+
"@smithy/util-waiter": "^2.0.5",
|
|
59
59
|
"tslib": "^2.5.0",
|
|
60
60
|
"uuid": "^8.3.2"
|
|
61
61
|
},
|
|
File without changes
|
|
File without changes
|