@aws-sdk/client-omics 3.697.0 → 3.709.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.
Files changed (32) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +261 -5
  3. package/dist-es/Omics.js +8 -0
  4. package/dist-es/commands/DeleteS3AccessPolicyCommand.js +22 -0
  5. package/dist-es/commands/GetS3AccessPolicyCommand.js +22 -0
  6. package/dist-es/commands/PutS3AccessPolicyCommand.js +22 -0
  7. package/dist-es/commands/UpdateSequenceStoreCommand.js +22 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +11 -0
  10. package/dist-es/protocols/Aws_restJson1.js +171 -2
  11. package/dist-types/Omics.d.ts +28 -0
  12. package/dist-types/OmicsClient.d.ts +6 -2
  13. package/dist-types/commands/CreateSequenceStoreCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteS3AccessPolicyCommand.d.ts +92 -0
  15. package/dist-types/commands/GetS3AccessPolicyCommand.d.ts +101 -0
  16. package/dist-types/commands/GetSequenceStoreCommand.d.ts +7 -0
  17. package/dist-types/commands/ListSequenceStoresCommand.d.ts +6 -0
  18. package/dist-types/commands/PutS3AccessPolicyCommand.d.ts +97 -0
  19. package/dist-types/commands/UpdateSequenceStoreCommand.d.ts +123 -0
  20. package/dist-types/commands/index.d.ts +4 -0
  21. package/dist-types/models/models_0.d.ts +333 -10
  22. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  23. package/dist-types/ts3.4/Omics.d.ts +68 -0
  24. package/dist-types/ts3.4/OmicsClient.d.ts +24 -0
  25. package/dist-types/ts3.4/commands/DeleteS3AccessPolicyCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/GetS3AccessPolicyCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/PutS3AccessPolicyCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/UpdateSequenceStoreCommand.d.ts +51 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +89 -5
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  32. package/package.json +37 -37
@@ -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
  * ```
@@ -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
+ }
@@ -0,0 +1,123 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateSequenceStoreRequest, UpdateSequenceStoreResponse } 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 UpdateSequenceStoreCommand}.
14
+ */
15
+ export interface UpdateSequenceStoreCommandInput extends UpdateSequenceStoreRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateSequenceStoreCommand}.
21
+ */
22
+ export interface UpdateSequenceStoreCommandOutput extends UpdateSequenceStoreResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateSequenceStoreCommand_base: {
25
+ new (input: UpdateSequenceStoreCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSequenceStoreCommandInput, UpdateSequenceStoreCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateSequenceStoreCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSequenceStoreCommandInput, UpdateSequenceStoreCommandOutput, OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update one or more parameters for the sequence 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, UpdateSequenceStoreCommand } from "@aws-sdk/client-omics"; // ES Modules import
35
+ * // const { OmicsClient, UpdateSequenceStoreCommand } = require("@aws-sdk/client-omics"); // CommonJS import
36
+ * const client = new OmicsClient(config);
37
+ * const input = { // UpdateSequenceStoreRequest
38
+ * id: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE",
40
+ * description: "STRING_VALUE",
41
+ * clientToken: "STRING_VALUE",
42
+ * fallbackLocation: "STRING_VALUE",
43
+ * propagatedSetLevelTags: [ // PropagatedSetLevelTags
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * s3AccessConfig: { // S3AccessConfig
47
+ * accessLogLocation: "STRING_VALUE",
48
+ * },
49
+ * };
50
+ * const command = new UpdateSequenceStoreCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // UpdateSequenceStoreResponse
53
+ * // id: "STRING_VALUE", // required
54
+ * // arn: "STRING_VALUE", // required
55
+ * // name: "STRING_VALUE",
56
+ * // description: "STRING_VALUE",
57
+ * // sseConfig: { // SseConfig
58
+ * // type: "STRING_VALUE", // required
59
+ * // keyArn: "STRING_VALUE",
60
+ * // },
61
+ * // creationTime: new Date("TIMESTAMP"), // required
62
+ * // updateTime: new Date("TIMESTAMP"),
63
+ * // propagatedSetLevelTags: [ // PropagatedSetLevelTags
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // status: "STRING_VALUE",
67
+ * // statusMessage: "STRING_VALUE",
68
+ * // fallbackLocation: "STRING_VALUE",
69
+ * // s3Access: { // SequenceStoreS3Access
70
+ * // s3Uri: "STRING_VALUE",
71
+ * // s3AccessPointArn: "STRING_VALUE",
72
+ * // accessLogLocation: "STRING_VALUE",
73
+ * // },
74
+ * // eTagAlgorithmFamily: "STRING_VALUE",
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param UpdateSequenceStoreCommandInput - {@link UpdateSequenceStoreCommandInput}
80
+ * @returns {@link UpdateSequenceStoreCommandOutput}
81
+ * @see {@link UpdateSequenceStoreCommandInput} for command's `input` shape.
82
+ * @see {@link UpdateSequenceStoreCommandOutput} for command's `response` shape.
83
+ * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
84
+ *
85
+ * @throws {@link AccessDeniedException} (client fault)
86
+ * <p>You do not have sufficient access to perform this action.</p>
87
+ *
88
+ * @throws {@link ConflictException} (client fault)
89
+ * <p>The request cannot be applied to the target resource in its current state.</p>
90
+ *
91
+ * @throws {@link InternalServerException} (server fault)
92
+ * <p>An unexpected error occurred. Try the request again.</p>
93
+ *
94
+ * @throws {@link RequestTimeoutException} (client fault)
95
+ * <p>The request timed out.</p>
96
+ *
97
+ * @throws {@link ResourceNotFoundException} (client fault)
98
+ * <p>The target resource was not found in the current Region.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>The request was denied due to request throttling.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
105
+ *
106
+ * @throws {@link OmicsServiceException}
107
+ * <p>Base exception class for all service exceptions from Omics service.</p>
108
+ *
109
+ * @public
110
+ */
111
+ export declare class UpdateSequenceStoreCommand extends UpdateSequenceStoreCommand_base {
112
+ /** @internal type navigation helper, not in runtime. */
113
+ protected static __types: {
114
+ api: {
115
+ input: UpdateSequenceStoreRequest;
116
+ output: UpdateSequenceStoreResponse;
117
+ };
118
+ sdk: {
119
+ input: UpdateSequenceStoreCommandInput;
120
+ output: UpdateSequenceStoreCommandOutput;
121
+ };
122
+ };
123
+ }
@@ -22,6 +22,7 @@ export * from "./DeleteReferenceStoreCommand";
22
22
  export * from "./DeleteRunCacheCommand";
23
23
  export * from "./DeleteRunCommand";
24
24
  export * from "./DeleteRunGroupCommand";
25
+ export * from "./DeleteS3AccessPolicyCommand";
25
26
  export * from "./DeleteSequenceStoreCommand";
26
27
  export * from "./DeleteShareCommand";
27
28
  export * from "./DeleteVariantStoreCommand";
@@ -42,6 +43,7 @@ export * from "./GetRunCacheCommand";
42
43
  export * from "./GetRunCommand";
43
44
  export * from "./GetRunGroupCommand";
44
45
  export * from "./GetRunTaskCommand";
46
+ export * from "./GetS3AccessPolicyCommand";
45
47
  export * from "./GetSequenceStoreCommand";
46
48
  export * from "./GetShareCommand";
47
49
  export * from "./GetVariantImportJobCommand";
@@ -69,6 +71,7 @@ export * from "./ListTagsForResourceCommand";
69
71
  export * from "./ListVariantImportJobsCommand";
70
72
  export * from "./ListVariantStoresCommand";
71
73
  export * from "./ListWorkflowsCommand";
74
+ export * from "./PutS3AccessPolicyCommand";
72
75
  export * from "./StartAnnotationImportJobCommand";
73
76
  export * from "./StartReadSetActivationJobCommand";
74
77
  export * from "./StartReadSetExportJobCommand";
@@ -82,6 +85,7 @@ export * from "./UpdateAnnotationStoreCommand";
82
85
  export * from "./UpdateAnnotationStoreVersionCommand";
83
86
  export * from "./UpdateRunCacheCommand";
84
87
  export * from "./UpdateRunGroupCommand";
88
+ export * from "./UpdateSequenceStoreCommand";
85
89
  export * from "./UpdateVariantStoreCommand";
86
90
  export * from "./UpdateWorkflowCommand";
87
91
  export * from "./UploadReadSetPartCommand";