@aws-sdk/client-omics 3.388.0 → 3.391.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 (91) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/Omics.js +20 -0
  3. package/dist-cjs/commands/AcceptShareCommand.js +46 -0
  4. package/dist-cjs/commands/CreateAnnotationStoreVersionCommand.js +46 -0
  5. package/dist-cjs/commands/CreateShareCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteAnnotationStoreVersionsCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteShareCommand.js +46 -0
  8. package/dist-cjs/commands/GetAnnotationStoreVersionCommand.js +46 -0
  9. package/dist-cjs/commands/GetShareCommand.js +46 -0
  10. package/dist-cjs/commands/ListAnnotationStoreVersionsCommand.js +46 -0
  11. package/dist-cjs/commands/ListSharesCommand.js +46 -0
  12. package/dist-cjs/commands/UpdateAnnotationStoreVersionCommand.js +46 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +42 -14
  15. package/dist-cjs/pagination/ListAnnotationStoreVersionsPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListSharesPaginator.js +29 -0
  17. package/dist-cjs/pagination/index.js +2 -0
  18. package/dist-cjs/protocols/Aws_restJson1.js +911 -38
  19. package/dist-cjs/waiters/index.js +2 -0
  20. package/dist-cjs/waiters/waitForAnnotationStoreVersionCreated.js +63 -0
  21. package/dist-cjs/waiters/waitForAnnotationStoreVersionDeleted.js +48 -0
  22. package/dist-es/Omics.js +20 -0
  23. package/dist-es/commands/AcceptShareCommand.js +42 -0
  24. package/dist-es/commands/CreateAnnotationStoreVersionCommand.js +42 -0
  25. package/dist-es/commands/CreateShareCommand.js +42 -0
  26. package/dist-es/commands/DeleteAnnotationStoreVersionsCommand.js +42 -0
  27. package/dist-es/commands/DeleteShareCommand.js +42 -0
  28. package/dist-es/commands/GetAnnotationStoreVersionCommand.js +42 -0
  29. package/dist-es/commands/GetShareCommand.js +42 -0
  30. package/dist-es/commands/ListAnnotationStoreVersionsCommand.js +42 -0
  31. package/dist-es/commands/ListSharesCommand.js +42 -0
  32. package/dist-es/commands/UpdateAnnotationStoreVersionCommand.js +42 -0
  33. package/dist-es/commands/index.js +10 -0
  34. package/dist-es/models/models_0.js +39 -12
  35. package/dist-es/pagination/ListAnnotationStoreVersionsPaginator.js +25 -0
  36. package/dist-es/pagination/ListSharesPaginator.js +25 -0
  37. package/dist-es/pagination/index.js +2 -0
  38. package/dist-es/protocols/Aws_restJson1.js +886 -34
  39. package/dist-es/waiters/index.js +2 -0
  40. package/dist-es/waiters/waitForAnnotationStoreVersionCreated.js +58 -0
  41. package/dist-es/waiters/waitForAnnotationStoreVersionDeleted.js +43 -0
  42. package/dist-types/Omics.d.ts +70 -0
  43. package/dist-types/OmicsClient.d.ts +12 -2
  44. package/dist-types/commands/AcceptShareCommand.d.ts +96 -0
  45. package/dist-types/commands/CreateAnnotationStoreCommand.d.ts +2 -0
  46. package/dist-types/commands/CreateAnnotationStoreVersionCommand.d.ts +132 -0
  47. package/dist-types/commands/CreateShareCommand.d.ts +100 -0
  48. package/dist-types/commands/DeleteAnnotationStoreVersionsCommand.d.ts +102 -0
  49. package/dist-types/commands/DeleteShareCommand.d.ts +96 -0
  50. package/dist-types/commands/GetAnnotationImportJobCommand.d.ts +1 -0
  51. package/dist-types/commands/GetAnnotationStoreCommand.d.ts +1 -0
  52. package/dist-types/commands/GetAnnotationStoreVersionCommand.d.ts +117 -0
  53. package/dist-types/commands/GetRunTaskCommand.d.ts +1 -0
  54. package/dist-types/commands/GetShareCommand.d.ts +106 -0
  55. package/dist-types/commands/ListAnnotationImportJobsCommand.d.ts +1 -0
  56. package/dist-types/commands/ListAnnotationStoreVersionsCommand.d.ts +110 -0
  57. package/dist-types/commands/ListRunTasksCommand.d.ts +1 -0
  58. package/dist-types/commands/ListSharesCommand.d.ts +119 -0
  59. package/dist-types/commands/StartAnnotationImportJobCommand.d.ts +1 -0
  60. package/dist-types/commands/UpdateAnnotationStoreVersionCommand.d.ts +99 -0
  61. package/dist-types/commands/index.d.ts +10 -0
  62. package/dist-types/models/models_0.d.ts +1021 -44
  63. package/dist-types/pagination/ListAnnotationStoreVersionsPaginator.d.ts +7 -0
  64. package/dist-types/pagination/ListSharesPaginator.d.ts +7 -0
  65. package/dist-types/pagination/index.d.ts +2 -0
  66. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  67. package/dist-types/ts3.4/Omics.d.ts +170 -0
  68. package/dist-types/ts3.4/OmicsClient.d.ts +60 -0
  69. package/dist-types/ts3.4/commands/AcceptShareCommand.d.ts +35 -0
  70. package/dist-types/ts3.4/commands/CreateAnnotationStoreVersionCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/CreateShareCommand.d.ts +35 -0
  72. package/dist-types/ts3.4/commands/DeleteAnnotationStoreVersionsCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/DeleteShareCommand.d.ts +35 -0
  74. package/dist-types/ts3.4/commands/GetAnnotationStoreVersionCommand.d.ts +42 -0
  75. package/dist-types/ts3.4/commands/GetShareCommand.d.ts +35 -0
  76. package/dist-types/ts3.4/commands/ListAnnotationStoreVersionsCommand.d.ts +42 -0
  77. package/dist-types/ts3.4/commands/ListSharesCommand.d.ts +35 -0
  78. package/dist-types/ts3.4/commands/UpdateAnnotationStoreVersionCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +199 -5
  81. package/dist-types/ts3.4/pagination/ListAnnotationStoreVersionsPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/ListSharesPaginator.d.ts +11 -0
  83. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  84. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  85. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  86. package/dist-types/ts3.4/waiters/waitForAnnotationStoreVersionCreated.d.ts +11 -0
  87. package/dist-types/ts3.4/waiters/waitForAnnotationStoreVersionDeleted.d.ts +11 -0
  88. package/dist-types/waiters/index.d.ts +2 -0
  89. package/dist-types/waiters/waitForAnnotationStoreVersionCreated.d.ts +14 -0
  90. package/dist-types/waiters/waitForAnnotationStoreVersionDeleted.d.ts +14 -0
  91. package/package.json +30 -30
@@ -0,0 +1,132 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CreateAnnotationStoreVersionRequest, CreateAnnotationStoreVersionResponse } from "../models/models_0";
5
+ import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAnnotationStoreVersionCommand}.
14
+ */
15
+ export interface CreateAnnotationStoreVersionCommandInput extends CreateAnnotationStoreVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAnnotationStoreVersionCommand}.
21
+ */
22
+ export interface CreateAnnotationStoreVersionCommandOutput extends CreateAnnotationStoreVersionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Creates a new version of an annotation store.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { OmicsClient, CreateAnnotationStoreVersionCommand } from "@aws-sdk/client-omics"; // ES Modules import
33
+ * // const { OmicsClient, CreateAnnotationStoreVersionCommand } = require("@aws-sdk/client-omics"); // CommonJS import
34
+ * const client = new OmicsClient(config);
35
+ * const input = { // CreateAnnotationStoreVersionRequest
36
+ * name: "STRING_VALUE", // required
37
+ * versionName: "STRING_VALUE", // required
38
+ * description: "STRING_VALUE",
39
+ * versionOptions: { // VersionOptions Union: only one key present
40
+ * tsvVersionOptions: { // TsvVersionOptions
41
+ * annotationType: "STRING_VALUE",
42
+ * formatToHeader: { // FormatToHeader
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * schema: [ // Schema
46
+ * { // SchemaItem
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * ],
50
+ * },
51
+ * },
52
+ * tags: { // TagMap
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
55
+ * };
56
+ * const command = new CreateAnnotationStoreVersionCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // CreateAnnotationStoreVersionResponse
59
+ * // id: "STRING_VALUE", // required
60
+ * // versionName: "STRING_VALUE", // required
61
+ * // storeId: "STRING_VALUE", // required
62
+ * // versionOptions: { // VersionOptions Union: only one key present
63
+ * // tsvVersionOptions: { // TsvVersionOptions
64
+ * // annotationType: "STRING_VALUE",
65
+ * // formatToHeader: { // FormatToHeader
66
+ * // "<keys>": "STRING_VALUE",
67
+ * // },
68
+ * // schema: [ // Schema
69
+ * // { // SchemaItem
70
+ * // "<keys>": "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // },
75
+ * // name: "STRING_VALUE", // required
76
+ * // status: "STRING_VALUE", // required
77
+ * // creationTime: new Date("TIMESTAMP"), // required
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param CreateAnnotationStoreVersionCommandInput - {@link CreateAnnotationStoreVersionCommandInput}
83
+ * @returns {@link CreateAnnotationStoreVersionCommandOutput}
84
+ * @see {@link CreateAnnotationStoreVersionCommandInput} for command's `input` shape.
85
+ * @see {@link CreateAnnotationStoreVersionCommandOutput} for command's `response` shape.
86
+ * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>You do not have sufficient access to perform this action.</p>
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>The request cannot be applied to the target resource in its current state.</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>An unexpected error occurred. Try the request again.</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 ServiceQuotaExceededException} (client fault)
101
+ * <p>The request exceeds a service quota.</p>
102
+ *
103
+ * @throws {@link ThrottlingException} (client fault)
104
+ * <p>The request was denied due to request throttling.</p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
108
+ *
109
+ * @throws {@link OmicsServiceException}
110
+ * <p>Base exception class for all service exceptions from Omics service.</p>
111
+ *
112
+ */
113
+ export declare class CreateAnnotationStoreVersionCommand extends $Command<CreateAnnotationStoreVersionCommandInput, CreateAnnotationStoreVersionCommandOutput, OmicsClientResolvedConfig> {
114
+ readonly input: CreateAnnotationStoreVersionCommandInput;
115
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
+ /**
117
+ * @public
118
+ */
119
+ constructor(input: CreateAnnotationStoreVersionCommandInput);
120
+ /**
121
+ * @internal
122
+ */
123
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OmicsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAnnotationStoreVersionCommandInput, CreateAnnotationStoreVersionCommandOutput>;
124
+ /**
125
+ * @internal
126
+ */
127
+ private serialize;
128
+ /**
129
+ * @internal
130
+ */
131
+ private deserialize;
132
+ }
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CreateShareRequest, CreateShareResponse } from "../models/models_0";
5
+ import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateShareCommand}.
14
+ */
15
+ export interface CreateShareCommandInput extends CreateShareRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateShareCommand}.
21
+ */
22
+ export interface CreateShareCommandOutput extends CreateShareResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Creates a share offer that can be accepted outside the account by a subscriber. The share is created by the owner and accepted by the principal subscriber.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { OmicsClient, CreateShareCommand } from "@aws-sdk/client-omics"; // ES Modules import
33
+ * // const { OmicsClient, CreateShareCommand } = require("@aws-sdk/client-omics"); // CommonJS import
34
+ * const client = new OmicsClient(config);
35
+ * const input = { // CreateShareRequest
36
+ * resourceArn: "STRING_VALUE", // required
37
+ * principalSubscriber: "STRING_VALUE", // required
38
+ * shareName: "STRING_VALUE",
39
+ * };
40
+ * const command = new CreateShareCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // CreateShareResponse
43
+ * // shareId: "STRING_VALUE",
44
+ * // status: "STRING_VALUE",
45
+ * // shareName: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param CreateShareCommandInput - {@link CreateShareCommandInput}
51
+ * @returns {@link CreateShareCommandOutput}
52
+ * @see {@link CreateShareCommandInput} for command's `input` shape.
53
+ * @see {@link CreateShareCommandOutput} for command's `response` shape.
54
+ * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You do not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request cannot be applied to the target resource in its current state.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>An unexpected error occurred. Try the request again.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The target resource was not found in the current Region.</p>
67
+ *
68
+ * @throws {@link ServiceQuotaExceededException} (client fault)
69
+ * <p>The request exceeds a service quota.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
76
+ *
77
+ * @throws {@link OmicsServiceException}
78
+ * <p>Base exception class for all service exceptions from Omics service.</p>
79
+ *
80
+ */
81
+ export declare class CreateShareCommand extends $Command<CreateShareCommandInput, CreateShareCommandOutput, OmicsClientResolvedConfig> {
82
+ readonly input: CreateShareCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: CreateShareCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OmicsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateShareCommandInput, CreateShareCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -0,0 +1,102 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeleteAnnotationStoreVersionsRequest, DeleteAnnotationStoreVersionsResponse } from "../models/models_0";
5
+ import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteAnnotationStoreVersionsCommand}.
14
+ */
15
+ export interface DeleteAnnotationStoreVersionsCommandInput extends DeleteAnnotationStoreVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAnnotationStoreVersionsCommand}.
21
+ */
22
+ export interface DeleteAnnotationStoreVersionsCommandOutput extends DeleteAnnotationStoreVersionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Deletes one or multiple versions of an annotation store.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { OmicsClient, DeleteAnnotationStoreVersionsCommand } from "@aws-sdk/client-omics"; // ES Modules import
33
+ * // const { OmicsClient, DeleteAnnotationStoreVersionsCommand } = require("@aws-sdk/client-omics"); // CommonJS import
34
+ * const client = new OmicsClient(config);
35
+ * const input = { // DeleteAnnotationStoreVersionsRequest
36
+ * name: "STRING_VALUE", // required
37
+ * versions: [ // VersionList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * force: true || false,
41
+ * };
42
+ * const command = new DeleteAnnotationStoreVersionsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteAnnotationStoreVersionsResponse
45
+ * // errors: [ // VersionDeleteErrorList
46
+ * // { // VersionDeleteError
47
+ * // versionName: "STRING_VALUE", // required
48
+ * // message: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param DeleteAnnotationStoreVersionsCommandInput - {@link DeleteAnnotationStoreVersionsCommandInput}
56
+ * @returns {@link DeleteAnnotationStoreVersionsCommandOutput}
57
+ * @see {@link DeleteAnnotationStoreVersionsCommandInput} for command's `input` shape.
58
+ * @see {@link DeleteAnnotationStoreVersionsCommandOutput} for command's `response` shape.
59
+ * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link ConflictException} (client fault)
65
+ * <p>The request cannot be applied to the target resource in its current state.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>An unexpected error occurred. Try the request again.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The target resource was not found in the current Region.</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
+ */
83
+ export declare class DeleteAnnotationStoreVersionsCommand extends $Command<DeleteAnnotationStoreVersionsCommandInput, DeleteAnnotationStoreVersionsCommandOutput, OmicsClientResolvedConfig> {
84
+ readonly input: DeleteAnnotationStoreVersionsCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: DeleteAnnotationStoreVersionsCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OmicsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAnnotationStoreVersionsCommandInput, DeleteAnnotationStoreVersionsCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -0,0 +1,96 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { DeleteShareRequest, DeleteShareResponse } from "../models/models_0";
5
+ import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteShareCommand}.
14
+ */
15
+ export interface DeleteShareCommandInput extends DeleteShareRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteShareCommand}.
21
+ */
22
+ export interface DeleteShareCommandOutput extends DeleteShareResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Deletes a share of an analytics store.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { OmicsClient, DeleteShareCommand } from "@aws-sdk/client-omics"; // ES Modules import
33
+ * // const { OmicsClient, DeleteShareCommand } = require("@aws-sdk/client-omics"); // CommonJS import
34
+ * const client = new OmicsClient(config);
35
+ * const input = { // DeleteShareRequest
36
+ * shareId: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new DeleteShareCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // DeleteShareResponse
41
+ * // status: "STRING_VALUE",
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteShareCommandInput - {@link DeleteShareCommandInput}
47
+ * @returns {@link DeleteShareCommandOutput}
48
+ * @see {@link DeleteShareCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteShareCommandOutput} for command's `response` shape.
50
+ * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You do not have sufficient access to perform this action.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>The request cannot be applied to the target resource in its current state.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>An unexpected error occurred. Try the request again.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The target resource was not found in the current Region.</p>
63
+ *
64
+ * @throws {@link ServiceQuotaExceededException} (client fault)
65
+ * <p>The request exceeds a service quota.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to request throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
72
+ *
73
+ * @throws {@link OmicsServiceException}
74
+ * <p>Base exception class for all service exceptions from Omics service.</p>
75
+ *
76
+ */
77
+ export declare class DeleteShareCommand extends $Command<DeleteShareCommandInput, DeleteShareCommandOutput, OmicsClientResolvedConfig> {
78
+ readonly input: DeleteShareCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: DeleteShareCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OmicsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteShareCommandInput, DeleteShareCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -38,6 +38,7 @@ export interface GetAnnotationImportJobCommandOutput extends GetAnnotationImport
38
38
  * // { // GetAnnotationImportResponse
39
39
  * // id: "STRING_VALUE", // required
40
40
  * // destinationName: "STRING_VALUE", // required
41
+ * // versionName: "STRING_VALUE", // required
41
42
  * // roleArn: "STRING_VALUE", // required
42
43
  * // status: "STRING_VALUE", // required
43
44
  * // statusMessage: "STRING_VALUE", // required
@@ -69,6 +69,7 @@ export interface GetAnnotationStoreCommandOutput extends GetAnnotationStoreRespo
69
69
  * // storeFormat: "STRING_VALUE",
70
70
  * // statusMessage: "STRING_VALUE", // required
71
71
  * // storeSizeBytes: Number("long"), // required
72
+ * // numVersions: Number("int"), // required
72
73
  * // };
73
74
  *
74
75
  * ```
@@ -0,0 +1,117 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GetAnnotationStoreVersionRequest, GetAnnotationStoreVersionResponse } from "../models/models_0";
5
+ import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetAnnotationStoreVersionCommand}.
14
+ */
15
+ export interface GetAnnotationStoreVersionCommandInput extends GetAnnotationStoreVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAnnotationStoreVersionCommand}.
21
+ */
22
+ export interface GetAnnotationStoreVersionCommandOutput extends GetAnnotationStoreVersionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Retrieves the metadata for an annotation store version.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { OmicsClient, GetAnnotationStoreVersionCommand } from "@aws-sdk/client-omics"; // ES Modules import
33
+ * // const { OmicsClient, GetAnnotationStoreVersionCommand } = require("@aws-sdk/client-omics"); // CommonJS import
34
+ * const client = new OmicsClient(config);
35
+ * const input = { // GetAnnotationStoreVersionRequest
36
+ * name: "STRING_VALUE", // required
37
+ * versionName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetAnnotationStoreVersionCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetAnnotationStoreVersionResponse
42
+ * // storeId: "STRING_VALUE", // required
43
+ * // id: "STRING_VALUE", // required
44
+ * // status: "STRING_VALUE", // required
45
+ * // versionArn: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // versionName: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE", // required
49
+ * // creationTime: new Date("TIMESTAMP"), // required
50
+ * // updateTime: new Date("TIMESTAMP"), // required
51
+ * // tags: { // TagMap // required
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // versionOptions: { // VersionOptions Union: only one key present
55
+ * // tsvVersionOptions: { // TsvVersionOptions
56
+ * // annotationType: "STRING_VALUE",
57
+ * // formatToHeader: { // FormatToHeader
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // schema: [ // Schema
61
+ * // { // SchemaItem
62
+ * // "<keys>": "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // },
67
+ * // statusMessage: "STRING_VALUE", // required
68
+ * // versionSizeBytes: Number("long"), // required
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param GetAnnotationStoreVersionCommandInput - {@link GetAnnotationStoreVersionCommandInput}
74
+ * @returns {@link GetAnnotationStoreVersionCommandOutput}
75
+ * @see {@link GetAnnotationStoreVersionCommandInput} for command's `input` shape.
76
+ * @see {@link GetAnnotationStoreVersionCommandOutput} for command's `response` shape.
77
+ * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
78
+ *
79
+ * @throws {@link AccessDeniedException} (client fault)
80
+ * <p>You do not have sufficient access to perform this action.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>An unexpected error occurred. Try the request again.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>The target resource was not found in the current Region.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>The request was denied due to request throttling.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
93
+ *
94
+ * @throws {@link OmicsServiceException}
95
+ * <p>Base exception class for all service exceptions from Omics service.</p>
96
+ *
97
+ */
98
+ export declare class GetAnnotationStoreVersionCommand extends $Command<GetAnnotationStoreVersionCommandInput, GetAnnotationStoreVersionCommandOutput, OmicsClientResolvedConfig> {
99
+ readonly input: GetAnnotationStoreVersionCommandInput;
100
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
+ /**
102
+ * @public
103
+ */
104
+ constructor(input: GetAnnotationStoreVersionCommandInput);
105
+ /**
106
+ * @internal
107
+ */
108
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OmicsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAnnotationStoreVersionCommandInput, GetAnnotationStoreVersionCommandOutput>;
109
+ /**
110
+ * @internal
111
+ */
112
+ private serialize;
113
+ /**
114
+ * @internal
115
+ */
116
+ private deserialize;
117
+ }
@@ -48,6 +48,7 @@ export interface GetRunTaskCommandOutput extends GetRunTaskResponse, __MetadataB
48
48
  * // statusMessage: "STRING_VALUE",
49
49
  * // logStream: "STRING_VALUE",
50
50
  * // gpus: Number("int"),
51
+ * // instanceType: "STRING_VALUE",
51
52
  * // };
52
53
  *
53
54
  * ```
@@ -0,0 +1,106 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GetShareRequest, GetShareResponse } from "../models/models_0";
5
+ import { OmicsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OmicsClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetShareCommand}.
14
+ */
15
+ export interface GetShareCommandInput extends GetShareRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetShareCommand}.
21
+ */
22
+ export interface GetShareCommandOutput extends GetShareResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>
27
+ * Retrieves the metadata for a share.
28
+ * </p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { OmicsClient, GetShareCommand } from "@aws-sdk/client-omics"; // ES Modules import
33
+ * // const { OmicsClient, GetShareCommand } = require("@aws-sdk/client-omics"); // CommonJS import
34
+ * const client = new OmicsClient(config);
35
+ * const input = { // GetShareRequest
36
+ * shareId: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetShareCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetShareResponse
41
+ * // share: { // ShareDetails
42
+ * // shareId: "STRING_VALUE",
43
+ * // resourceArn: "STRING_VALUE",
44
+ * // principalSubscriber: "STRING_VALUE",
45
+ * // ownerId: "STRING_VALUE",
46
+ * // status: "STRING_VALUE",
47
+ * // statusMessage: "STRING_VALUE",
48
+ * // shareName: "STRING_VALUE",
49
+ * // creationTime: new Date("TIMESTAMP"),
50
+ * // updateTime: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param GetShareCommandInput - {@link GetShareCommandInput}
57
+ * @returns {@link GetShareCommandOutput}
58
+ * @see {@link GetShareCommandInput} for command's `input` shape.
59
+ * @see {@link GetShareCommandOutput} for command's `response` shape.
60
+ * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>You do not have sufficient access to perform this action.</p>
64
+ *
65
+ * @throws {@link ConflictException} (client fault)
66
+ * <p>The request cannot be applied to the target resource in its current state.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>An unexpected error occurred. Try the request again.</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 ServiceQuotaExceededException} (client fault)
75
+ * <p>The request exceeds a service quota.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
82
+ *
83
+ * @throws {@link OmicsServiceException}
84
+ * <p>Base exception class for all service exceptions from Omics service.</p>
85
+ *
86
+ */
87
+ export declare class GetShareCommand extends $Command<GetShareCommandInput, GetShareCommandOutput, OmicsClientResolvedConfig> {
88
+ readonly input: GetShareCommandInput;
89
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
+ /**
91
+ * @public
92
+ */
93
+ constructor(input: GetShareCommandInput);
94
+ /**
95
+ * @internal
96
+ */
97
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OmicsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetShareCommandInput, GetShareCommandOutput>;
98
+ /**
99
+ * @internal
100
+ */
101
+ private serialize;
102
+ /**
103
+ * @internal
104
+ */
105
+ private deserialize;
106
+ }