@aws-sdk/client-omics 3.696.0 → 3.699.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/README.md +72 -0
- package/dist-cjs/index.js +575 -5
- package/dist-es/Omics.js +18 -0
- package/dist-es/commands/CreateRunCacheCommand.js +22 -0
- package/dist-es/commands/DeleteRunCacheCommand.js +22 -0
- package/dist-es/commands/DeleteS3AccessPolicyCommand.js +22 -0
- package/dist-es/commands/GetRunCacheCommand.js +22 -0
- package/dist-es/commands/GetS3AccessPolicyCommand.js +22 -0
- package/dist-es/commands/ListRunCachesCommand.js +22 -0
- package/dist-es/commands/PutS3AccessPolicyCommand.js +22 -0
- package/dist-es/commands/UpdateRunCacheCommand.js +22 -0
- package/dist-es/commands/UpdateSequenceStoreCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/pagination/ListRunCachesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +379 -2
- package/dist-types/Omics.d.ts +64 -0
- package/dist-types/OmicsClient.d.ts +11 -2
- package/dist-types/commands/CreateRunCacheCommand.d.ts +112 -0
- package/dist-types/commands/CreateSequenceStoreCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRunCacheCommand.d.ts +98 -0
- package/dist-types/commands/DeleteS3AccessPolicyCommand.d.ts +92 -0
- package/dist-types/commands/GetRunCacheCommand.d.ts +107 -0
- package/dist-types/commands/GetRunCommand.d.ts +7 -0
- package/dist-types/commands/GetRunTaskCommand.d.ts +2 -0
- package/dist-types/commands/GetS3AccessPolicyCommand.d.ts +101 -0
- package/dist-types/commands/GetSequenceStoreCommand.d.ts +7 -0
- package/dist-types/commands/ListRunCachesCommand.d.ts +107 -0
- package/dist-types/commands/ListRunTasksCommand.d.ts +2 -0
- package/dist-types/commands/ListRunsCommand.d.ts +4 -0
- package/dist-types/commands/ListSequenceStoresCommand.d.ts +6 -0
- package/dist-types/commands/PutS3AccessPolicyCommand.d.ts +97 -0
- package/dist-types/commands/StartRunCommand.d.ts +6 -3
- package/dist-types/commands/UpdateRunCacheCommand.d.ts +96 -0
- package/dist-types/commands/UpdateSequenceStoreCommand.d.ts +123 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +666 -12
- package/dist-types/pagination/ListRunCachesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Omics.d.ts +154 -0
- package/dist-types/ts3.4/OmicsClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateRunCacheCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteRunCacheCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteS3AccessPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRunCacheCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetS3AccessPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRunCachesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutS3AccessPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateRunCacheCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateSequenceStoreCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +166 -5
- package/dist-types/ts3.4/pagination/ListRunCachesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +4 -4
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetRunCacheRequest, GetRunCacheResponse } from "../models/models_0";
|
|
4
|
+
import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetRunCacheCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetRunCacheCommandInput extends GetRunCacheRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetRunCacheCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRunCacheCommandOutput extends GetRunCacheResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetRunCacheCommand_base: {
|
|
25
|
+
new (input: GetRunCacheCommandInput): import("@smithy/smithy-client").CommandImpl<GetRunCacheCommandInput, GetRunCacheCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetRunCacheCommandInput): import("@smithy/smithy-client").CommandImpl<GetRunCacheCommandInput, GetRunCacheCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieve the details for the specified run cache.</p>
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/workflow-call-caching.html">Call caching for HealthOmics runs</a> in the AWS HealthOmics User Guide.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OmicsClient, GetRunCacheCommand } from "@aws-sdk/client-omics"; // ES Modules import
|
|
36
|
+
* // const { OmicsClient, GetRunCacheCommand } = require("@aws-sdk/client-omics"); // CommonJS import
|
|
37
|
+
* const client = new OmicsClient(config);
|
|
38
|
+
* const input = { // GetRunCacheRequest
|
|
39
|
+
* id: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetRunCacheCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetRunCacheResponse
|
|
44
|
+
* // arn: "STRING_VALUE",
|
|
45
|
+
* // cacheBehavior: "STRING_VALUE",
|
|
46
|
+
* // cacheBucketOwnerId: "STRING_VALUE",
|
|
47
|
+
* // cacheS3Uri: "STRING_VALUE",
|
|
48
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // id: "STRING_VALUE",
|
|
51
|
+
* // name: "STRING_VALUE",
|
|
52
|
+
* // status: "STRING_VALUE",
|
|
53
|
+
* // tags: { // TagMap
|
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetRunCacheCommandInput - {@link GetRunCacheCommandInput}
|
|
61
|
+
* @returns {@link GetRunCacheCommandOutput}
|
|
62
|
+
* @see {@link GetRunCacheCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetRunCacheCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>The request cannot be applied to the target resource in its current state.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>An unexpected error occurred. Try the request again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link RequestTimeoutException} (client fault)
|
|
76
|
+
* <p>The request timed out.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The target resource was not found in the current Region.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
+
* <p>The request exceeds a service quota.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The request was denied due to request throttling.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link OmicsServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Omics service.</p>
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class GetRunCacheCommand extends GetRunCacheCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: GetRunCacheRequest;
|
|
100
|
+
output: GetRunCacheResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: GetRunCacheCommandInput;
|
|
104
|
+
output: GetRunCacheCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -29,6 +29,10 @@ declare const GetRunCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Gets information about a workflow run.</p>
|
|
31
31
|
* <p>If a workflow is shared with you, you cannot export information about the run.</p>
|
|
32
|
+
* <p>HealthOmics stores a fixed number of runs that are available to the console and API. If
|
|
33
|
+
* GetRun doesn't return the requested run, you can find run logs
|
|
34
|
+
* for all runs in the CloudWatch logs. For more information about viewing the run logs, see <a href="https://docs.aws.amazon.com/omics/latest/dev/cloudwatch-logs.html">CloudWatch logs</a>
|
|
35
|
+
* in the <i>AWS HealthOmics User Guide</i>.</p>
|
|
32
36
|
* @example
|
|
33
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
38
|
* ```javascript
|
|
@@ -46,6 +50,9 @@ declare const GetRunCommand_base: {
|
|
|
46
50
|
* // { // GetRunResponse
|
|
47
51
|
* // arn: "STRING_VALUE",
|
|
48
52
|
* // id: "STRING_VALUE",
|
|
53
|
+
* // cacheId: "STRING_VALUE",
|
|
54
|
+
* // cacheBehavior: "STRING_VALUE",
|
|
55
|
+
* // engineVersion: "STRING_VALUE",
|
|
49
56
|
* // status: "STRING_VALUE",
|
|
50
57
|
* // workflowId: "STRING_VALUE",
|
|
51
58
|
* // workflowType: "STRING_VALUE",
|
|
@@ -45,6 +45,8 @@ declare const GetRunTaskCommand_base: {
|
|
|
45
45
|
* // status: "STRING_VALUE",
|
|
46
46
|
* // name: "STRING_VALUE",
|
|
47
47
|
* // cpus: Number("int"),
|
|
48
|
+
* // cacheHit: true || false,
|
|
49
|
+
* // cacheS3Uri: "STRING_VALUE",
|
|
48
50
|
* // memory: Number("int"),
|
|
49
51
|
* // creationTime: new Date("TIMESTAMP"),
|
|
50
52
|
* // startTime: new Date("TIMESTAMP"),
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetS3AccessPolicyRequest, GetS3AccessPolicyResponse } from "../models/models_0";
|
|
4
|
+
import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetS3AccessPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetS3AccessPolicyCommandInput extends GetS3AccessPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetS3AccessPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetS3AccessPolicyCommandOutput extends GetS3AccessPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetS3AccessPolicyCommand_base: {
|
|
25
|
+
new (input: GetS3AccessPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetS3AccessPolicyCommandInput, GetS3AccessPolicyCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetS3AccessPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetS3AccessPolicyCommandInput, GetS3AccessPolicyCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves details about an access policy on a given store.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OmicsClient, GetS3AccessPolicyCommand } from "@aws-sdk/client-omics"; // ES Modules import
|
|
35
|
+
* // const { OmicsClient, GetS3AccessPolicyCommand } = require("@aws-sdk/client-omics"); // CommonJS import
|
|
36
|
+
* const client = new OmicsClient(config);
|
|
37
|
+
* const input = { // GetS3AccessPolicyRequest
|
|
38
|
+
* s3AccessPointArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetS3AccessPolicyCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetS3AccessPolicyResponse
|
|
43
|
+
* // s3AccessPointArn: "STRING_VALUE",
|
|
44
|
+
* // storeId: "STRING_VALUE",
|
|
45
|
+
* // storeType: "SEQUENCE_STORE" || "REFERENCE_STORE",
|
|
46
|
+
* // updateTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // s3AccessPolicy: "STRING_VALUE", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param GetS3AccessPolicyCommandInput - {@link GetS3AccessPolicyCommandInput}
|
|
53
|
+
* @returns {@link GetS3AccessPolicyCommandOutput}
|
|
54
|
+
* @see {@link GetS3AccessPolicyCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link GetS3AccessPolicyCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An unexpected error occurred. Try the request again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link NotSupportedOperationException} (client fault)
|
|
65
|
+
* <p>
|
|
66
|
+
* The operation is not supported by Amazon Omics, or the API does not exist.
|
|
67
|
+
* </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link RequestTimeoutException} (client fault)
|
|
70
|
+
* <p>The request timed out.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The target resource was not found in the current Region.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
76
|
+
* <p>The request exceeds a service quota.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link OmicsServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Omics service.</p>
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class GetS3AccessPolicyCommand extends GetS3AccessPolicyCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: GetS3AccessPolicyRequest;
|
|
94
|
+
output: GetS3AccessPolicyResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: GetS3AccessPolicyCommandInput;
|
|
98
|
+
output: GetS3AccessPolicyCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -53,8 +53,15 @@ declare const GetSequenceStoreCommand_base: {
|
|
|
53
53
|
* // s3Access: { // SequenceStoreS3Access
|
|
54
54
|
* // s3Uri: "STRING_VALUE",
|
|
55
55
|
* // s3AccessPointArn: "STRING_VALUE",
|
|
56
|
+
* // accessLogLocation: "STRING_VALUE",
|
|
56
57
|
* // },
|
|
57
58
|
* // eTagAlgorithmFamily: "STRING_VALUE",
|
|
59
|
+
* // status: "STRING_VALUE",
|
|
60
|
+
* // statusMessage: "STRING_VALUE",
|
|
61
|
+
* // propagatedSetLevelTags: [ // PropagatedSetLevelTags
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // updateTime: new Date("TIMESTAMP"),
|
|
58
65
|
* // };
|
|
59
66
|
*
|
|
60
67
|
* ```
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListRunCachesRequest, ListRunCachesResponse } from "../models/models_0";
|
|
4
|
+
import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRunCachesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRunCachesCommandInput extends ListRunCachesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRunCachesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRunCachesCommandOutput extends ListRunCachesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListRunCachesCommand_base: {
|
|
25
|
+
new (input: ListRunCachesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRunCachesCommandInput, ListRunCachesCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListRunCachesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRunCachesCommandInput, ListRunCachesCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a list of your run caches.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OmicsClient, ListRunCachesCommand } from "@aws-sdk/client-omics"; // ES Modules import
|
|
35
|
+
* // const { OmicsClient, ListRunCachesCommand } = require("@aws-sdk/client-omics"); // CommonJS import
|
|
36
|
+
* const client = new OmicsClient(config);
|
|
37
|
+
* const input = { // ListRunCachesRequest
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* startingToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListRunCachesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListRunCachesResponse
|
|
44
|
+
* // items: [ // RunCacheList
|
|
45
|
+
* // { // RunCacheListItem
|
|
46
|
+
* // arn: "STRING_VALUE",
|
|
47
|
+
* // cacheBehavior: "STRING_VALUE",
|
|
48
|
+
* // cacheS3Uri: "STRING_VALUE",
|
|
49
|
+
* // creationTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // id: "STRING_VALUE",
|
|
51
|
+
* // name: "STRING_VALUE",
|
|
52
|
+
* // status: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListRunCachesCommandInput - {@link ListRunCachesCommandInput}
|
|
61
|
+
* @returns {@link ListRunCachesCommandOutput}
|
|
62
|
+
* @see {@link ListRunCachesCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListRunCachesCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>The request cannot be applied to the target resource in its current state.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>An unexpected error occurred. Try the request again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link RequestTimeoutException} (client fault)
|
|
76
|
+
* <p>The request timed out.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The target resource was not found in the current Region.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
+
* <p>The request exceeds a service quota.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The request was denied due to request throttling.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link OmicsServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from Omics service.</p>
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class ListRunCachesCommand extends ListRunCachesCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: ListRunCachesRequest;
|
|
100
|
+
output: ListRunCachesResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: ListRunCachesCommandInput;
|
|
104
|
+
output: ListRunCachesCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -49,6 +49,8 @@ declare const ListRunTasksCommand_base: {
|
|
|
49
49
|
* // status: "STRING_VALUE",
|
|
50
50
|
* // name: "STRING_VALUE",
|
|
51
51
|
* // cpus: Number("int"),
|
|
52
|
+
* // cacheHit: true || false,
|
|
53
|
+
* // cacheS3Uri: "STRING_VALUE",
|
|
52
54
|
* // memory: Number("int"),
|
|
53
55
|
* // creationTime: new Date("TIMESTAMP"),
|
|
54
56
|
* // startTime: new Date("TIMESTAMP"),
|
|
@@ -28,6 +28,10 @@ declare const ListRunsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Retrieves a list of runs.</p>
|
|
31
|
+
* <p>HealthOmics stores a fixed number of runs that are available to the console and API. If
|
|
32
|
+
* the ListRuns response doesn't include specific runs that you expected, you can find run logs
|
|
33
|
+
* for all runs in the CloudWatch logs. For more information about viewing the run logs, see <a href="https://docs.aws.amazon.com/omics/latest/dev/cloudwatch-logs.html">CloudWatch logs</a>
|
|
34
|
+
* in the <i>AWS HealthOmics User Guide</i>.</p>
|
|
31
35
|
* @example
|
|
32
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
37
|
* ```javascript
|
|
@@ -41,6 +41,9 @@ declare const ListSequenceStoresCommand_base: {
|
|
|
41
41
|
* name: "STRING_VALUE",
|
|
42
42
|
* createdAfter: new Date("TIMESTAMP"),
|
|
43
43
|
* createdBefore: new Date("TIMESTAMP"),
|
|
44
|
+
* status: "STRING_VALUE",
|
|
45
|
+
* updatedAfter: new Date("TIMESTAMP"),
|
|
46
|
+
* updatedBefore: new Date("TIMESTAMP"),
|
|
44
47
|
* },
|
|
45
48
|
* };
|
|
46
49
|
* const command = new ListSequenceStoresCommand(input);
|
|
@@ -60,6 +63,9 @@ declare const ListSequenceStoresCommand_base: {
|
|
|
60
63
|
* // creationTime: new Date("TIMESTAMP"), // required
|
|
61
64
|
* // fallbackLocation: "STRING_VALUE",
|
|
62
65
|
* // eTagAlgorithmFamily: "STRING_VALUE",
|
|
66
|
+
* // status: "STRING_VALUE",
|
|
67
|
+
* // statusMessage: "STRING_VALUE",
|
|
68
|
+
* // updateTime: new Date("TIMESTAMP"),
|
|
63
69
|
* // },
|
|
64
70
|
* // ],
|
|
65
71
|
* // };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PutS3AccessPolicyRequest, PutS3AccessPolicyResponse } from "../models/models_0";
|
|
4
|
+
import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutS3AccessPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutS3AccessPolicyCommandInput extends PutS3AccessPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutS3AccessPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutS3AccessPolicyCommandOutput extends PutS3AccessPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutS3AccessPolicyCommand_base: {
|
|
25
|
+
new (input: PutS3AccessPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutS3AccessPolicyCommandInput, PutS3AccessPolicyCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutS3AccessPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutS3AccessPolicyCommandInput, PutS3AccessPolicyCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds an access policy to the specified store.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OmicsClient, PutS3AccessPolicyCommand } from "@aws-sdk/client-omics"; // ES Modules import
|
|
35
|
+
* // const { OmicsClient, PutS3AccessPolicyCommand } = require("@aws-sdk/client-omics"); // CommonJS import
|
|
36
|
+
* const client = new OmicsClient(config);
|
|
37
|
+
* const input = { // PutS3AccessPolicyRequest
|
|
38
|
+
* s3AccessPointArn: "STRING_VALUE", // required
|
|
39
|
+
* s3AccessPolicy: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new PutS3AccessPolicyCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // PutS3AccessPolicyResponse
|
|
44
|
+
* // s3AccessPointArn: "STRING_VALUE",
|
|
45
|
+
* // storeId: "STRING_VALUE",
|
|
46
|
+
* // storeType: "SEQUENCE_STORE" || "REFERENCE_STORE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param PutS3AccessPolicyCommandInput - {@link PutS3AccessPolicyCommandInput}
|
|
52
|
+
* @returns {@link PutS3AccessPolicyCommandOutput}
|
|
53
|
+
* @see {@link PutS3AccessPolicyCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link PutS3AccessPolicyCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>An unexpected error occurred. Try the request again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link NotSupportedOperationException} (client fault)
|
|
64
|
+
* <p>
|
|
65
|
+
* The operation is not supported by Amazon Omics, or the API does not exist.
|
|
66
|
+
* </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link RequestTimeoutException} (client fault)
|
|
69
|
+
* <p>The request timed out.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The target resource was not found in the current Region.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The request was denied due to request throttling.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OmicsServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Omics service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class PutS3AccessPolicyCommand extends PutS3AccessPolicyCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: PutS3AccessPolicyRequest;
|
|
90
|
+
output: PutS3AccessPolicyResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: PutS3AccessPolicyCommandInput;
|
|
94
|
+
output: PutS3AccessPolicyCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -30,9 +30,10 @@ declare const StartRunCommand_base: {
|
|
|
30
30
|
* <p>Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The
|
|
31
31
|
* remaining parameters are copied from the previous run.</p>
|
|
32
32
|
* <p>StartRun will not support re-run for a workflow that is shared with you.</p>
|
|
33
|
-
* <p>
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* <p>HealthOmics stores a fixed number of runs that are available to the console and API.
|
|
34
|
+
* By default, HealthOmics doesn't any remove any runs. If HealthOmics reaches the maximum
|
|
35
|
+
* number of runs, you must manually remove runs. To have older runs removed automatically,
|
|
36
|
+
* set the retention mode to <code>REMOVE</code>.</p>
|
|
36
37
|
* <p>By default, the run uses STATIC storage. For STATIC storage, set the <code>storageCapacity</code> field.
|
|
37
38
|
* You can set the storage type to DYNAMIC. You do not set <code>storageCapacity</code>,
|
|
38
39
|
* because HealthOmics dynamically scales the storage up or down as required.
|
|
@@ -50,6 +51,8 @@ declare const StartRunCommand_base: {
|
|
|
50
51
|
* runId: "STRING_VALUE",
|
|
51
52
|
* roleArn: "STRING_VALUE", // required
|
|
52
53
|
* name: "STRING_VALUE",
|
|
54
|
+
* cacheId: "STRING_VALUE",
|
|
55
|
+
* cacheBehavior: "STRING_VALUE",
|
|
53
56
|
* runGroupId: "STRING_VALUE",
|
|
54
57
|
* priority: Number("int"),
|
|
55
58
|
* parameters: "DOCUMENT_VALUE",
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateRunCacheRequest } from "../models/models_0";
|
|
4
|
+
import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateRunCacheCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateRunCacheCommandInput extends UpdateRunCacheRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateRunCacheCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateRunCacheCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateRunCacheCommand_base: {
|
|
25
|
+
new (input: UpdateRunCacheCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRunCacheCommandInput, UpdateRunCacheCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateRunCacheCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateRunCacheCommandInput, UpdateRunCacheCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Update a run cache. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OmicsClient, UpdateRunCacheCommand } from "@aws-sdk/client-omics"; // ES Modules import
|
|
35
|
+
* // const { OmicsClient, UpdateRunCacheCommand } = require("@aws-sdk/client-omics"); // CommonJS import
|
|
36
|
+
* const client = new OmicsClient(config);
|
|
37
|
+
* const input = { // UpdateRunCacheRequest
|
|
38
|
+
* cacheBehavior: "STRING_VALUE",
|
|
39
|
+
* description: "STRING_VALUE",
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* name: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateRunCacheCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UpdateRunCacheCommandInput - {@link UpdateRunCacheCommandInput}
|
|
50
|
+
* @returns {@link UpdateRunCacheCommandOutput}
|
|
51
|
+
* @see {@link UpdateRunCacheCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UpdateRunCacheCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>The request cannot be applied to the target resource in its current state.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An unexpected error occurred. Try the request again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link RequestTimeoutException} (client fault)
|
|
65
|
+
* <p>The request timed out.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The target resource was not found in the current Region.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
71
|
+
* <p>The request exceeds a service quota.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The request was denied due to request throttling.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link OmicsServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Omics service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class UpdateRunCacheCommand extends UpdateRunCacheCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: UpdateRunCacheRequest;
|
|
89
|
+
output: {};
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: UpdateRunCacheCommandInput;
|
|
93
|
+
output: UpdateRunCacheCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|