aws-sdk-omics 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -414,6 +414,34 @@ module Aws::Omics
414
414
  req.send_request(options)
415
415
  end
416
416
 
417
+ # Accepts a share for an analytics store.
418
+ #
419
+ # @option params [required, String] :share_id
420
+ # The ID for a share offer for analytics store data.
421
+ #
422
+ # @return [Types::AcceptShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
423
+ #
424
+ # * {Types::AcceptShareResponse#status #status} => String
425
+ #
426
+ # @example Request syntax with placeholder values
427
+ #
428
+ # resp = client.accept_share({
429
+ # share_id: "String", # required
430
+ # })
431
+ #
432
+ # @example Response structure
433
+ #
434
+ # resp.status #=> String, one of "PENDING", "ACTIVATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
435
+ #
436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/AcceptShare AWS API Documentation
437
+ #
438
+ # @overload accept_share(params = {})
439
+ # @param [Hash] params ({})
440
+ def accept_share(params = {}, options = {})
441
+ req = build_request(:accept_share, params)
442
+ req.send_request(options)
443
+ end
444
+
417
445
  # Deletes one or more read sets.
418
446
  #
419
447
  # @option params [required, Array<String>] :ids
@@ -572,6 +600,10 @@ module Aws::Omics
572
600
  # @option params [Hash<String,String>] :tags
573
601
  # Tags for the store.
574
602
  #
603
+ # @option params [String] :version_name
604
+ # The name given to an annotation store version to distinguish it from
605
+ # other versions.
606
+ #
575
607
  # @option params [Types::SseConfig] :sse_config
576
608
  # Server-side encryption (SSE) settings for the store.
577
609
  #
@@ -589,6 +621,7 @@ module Aws::Omics
589
621
  # * {Types::CreateAnnotationStoreResponse#store_options #store_options} => Types::StoreOptions
590
622
  # * {Types::CreateAnnotationStoreResponse#status #status} => String
591
623
  # * {Types::CreateAnnotationStoreResponse#name #name} => String
624
+ # * {Types::CreateAnnotationStoreResponse#version_name #version_name} => String
592
625
  # * {Types::CreateAnnotationStoreResponse#creation_time #creation_time} => Time
593
626
  #
594
627
  # @example Request syntax with placeholder values
@@ -597,11 +630,12 @@ module Aws::Omics
597
630
  # reference: {
598
631
  # reference_arn: "ReferenceArn",
599
632
  # },
600
- # name: "CreateAnnotationStoreRequestNameString",
601
- # description: "StoreDescription",
633
+ # name: "StoreName",
634
+ # description: "Description",
602
635
  # tags: {
603
636
  # "TagKey" => "TagValue",
604
637
  # },
638
+ # version_name: "VersionName",
605
639
  # sse_config: {
606
640
  # type: "KMS", # required, accepts KMS
607
641
  # key_arn: "SseConfigKeyArnString",
@@ -635,6 +669,7 @@ module Aws::Omics
635
669
  # resp.store_options.tsv_store_options.schema[0]["SchemaItemKeyString"] #=> String, one of "LONG", "INT", "STRING", "FLOAT", "DOUBLE", "BOOLEAN"
636
670
  # resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
637
671
  # resp.name #=> String
672
+ # resp.version_name #=> String
638
673
  # resp.creation_time #=> Time
639
674
  #
640
675
  # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateAnnotationStore AWS API Documentation
@@ -646,6 +681,83 @@ module Aws::Omics
646
681
  req.send_request(options)
647
682
  end
648
683
 
684
+ # Creates a new version of an annotation store.
685
+ #
686
+ # @option params [required, String] :name
687
+ # The name of an annotation store version from which versions are being
688
+ # created.
689
+ #
690
+ # @option params [required, String] :version_name
691
+ # The name given to an annotation store version to distinguish it from
692
+ # other versions.
693
+ #
694
+ # @option params [String] :description
695
+ # The description of an annotation store version.
696
+ #
697
+ # @option params [Types::VersionOptions] :version_options
698
+ # The options for an annotation store version.
699
+ #
700
+ # @option params [Hash<String,String>] :tags
701
+ # Any tags added to annotation store version.
702
+ #
703
+ # @return [Types::CreateAnnotationStoreVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
704
+ #
705
+ # * {Types::CreateAnnotationStoreVersionResponse#id #id} => String
706
+ # * {Types::CreateAnnotationStoreVersionResponse#version_name #version_name} => String
707
+ # * {Types::CreateAnnotationStoreVersionResponse#store_id #store_id} => String
708
+ # * {Types::CreateAnnotationStoreVersionResponse#version_options #version_options} => Types::VersionOptions
709
+ # * {Types::CreateAnnotationStoreVersionResponse#name #name} => String
710
+ # * {Types::CreateAnnotationStoreVersionResponse#status #status} => String
711
+ # * {Types::CreateAnnotationStoreVersionResponse#creation_time #creation_time} => Time
712
+ #
713
+ # @example Request syntax with placeholder values
714
+ #
715
+ # resp = client.create_annotation_store_version({
716
+ # name: "StoreName", # required
717
+ # version_name: "VersionName", # required
718
+ # description: "Description",
719
+ # version_options: {
720
+ # tsv_version_options: {
721
+ # annotation_type: "GENERIC", # accepts GENERIC, CHR_POS, CHR_POS_REF_ALT, CHR_START_END_ONE_BASE, CHR_START_END_REF_ALT_ONE_BASE, CHR_START_END_ZERO_BASE, CHR_START_END_REF_ALT_ZERO_BASE
722
+ # format_to_header: {
723
+ # "CHR" => "FormatToHeaderValueString",
724
+ # },
725
+ # schema: [
726
+ # {
727
+ # "SchemaItemKeyString" => "LONG", # accepts LONG, INT, STRING, FLOAT, DOUBLE, BOOLEAN
728
+ # },
729
+ # ],
730
+ # },
731
+ # },
732
+ # tags: {
733
+ # "TagKey" => "TagValue",
734
+ # },
735
+ # })
736
+ #
737
+ # @example Response structure
738
+ #
739
+ # resp.id #=> String
740
+ # resp.version_name #=> String
741
+ # resp.store_id #=> String
742
+ # resp.version_options.tsv_version_options.annotation_type #=> String, one of "GENERIC", "CHR_POS", "CHR_POS_REF_ALT", "CHR_START_END_ONE_BASE", "CHR_START_END_REF_ALT_ONE_BASE", "CHR_START_END_ZERO_BASE", "CHR_START_END_REF_ALT_ZERO_BASE"
743
+ # resp.version_options.tsv_version_options.format_to_header #=> Hash
744
+ # resp.version_options.tsv_version_options.format_to_header["FormatToHeaderKey"] #=> String
745
+ # resp.version_options.tsv_version_options.schema #=> Array
746
+ # resp.version_options.tsv_version_options.schema[0] #=> Hash
747
+ # resp.version_options.tsv_version_options.schema[0]["SchemaItemKeyString"] #=> String, one of "LONG", "INT", "STRING", "FLOAT", "DOUBLE", "BOOLEAN"
748
+ # resp.name #=> String
749
+ # resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
750
+ # resp.creation_time #=> Time
751
+ #
752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateAnnotationStoreVersion AWS API Documentation
753
+ #
754
+ # @overload create_annotation_store_version(params = {})
755
+ # @param [Hash] params ({})
756
+ def create_annotation_store_version(params = {}, options = {})
757
+ req = build_request(:create_annotation_store_version, params)
758
+ req.send_request(options)
759
+ end
760
+
649
761
  # Begins a multipart read set upload.
650
762
  #
651
763
  # @option params [required, String] :sequence_store_id
@@ -927,6 +1039,49 @@ module Aws::Omics
927
1039
  req.send_request(options)
928
1040
  end
929
1041
 
1042
+ # Creates a share offer that can be accepted outside the account by a
1043
+ # subscriber. The share is created by the owner and accepted by the
1044
+ # principal subscriber.
1045
+ #
1046
+ # @option params [required, String] :resource_arn
1047
+ # The resource ARN for the analytics store to be shared.
1048
+ #
1049
+ # @option params [required, String] :principal_subscriber
1050
+ # The principal subscriber is the account being given access to the
1051
+ # analytics store data through the share offer.
1052
+ #
1053
+ # @option params [String] :share_name
1054
+ # A name given to the share.
1055
+ #
1056
+ # @return [Types::CreateShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1057
+ #
1058
+ # * {Types::CreateShareResponse#share_id #share_id} => String
1059
+ # * {Types::CreateShareResponse#status #status} => String
1060
+ # * {Types::CreateShareResponse#share_name #share_name} => String
1061
+ #
1062
+ # @example Request syntax with placeholder values
1063
+ #
1064
+ # resp = client.create_share({
1065
+ # resource_arn: "String", # required
1066
+ # principal_subscriber: "String", # required
1067
+ # share_name: "ShareName",
1068
+ # })
1069
+ #
1070
+ # @example Response structure
1071
+ #
1072
+ # resp.share_id #=> String
1073
+ # resp.status #=> String, one of "PENDING", "ACTIVATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
1074
+ # resp.share_name #=> String
1075
+ #
1076
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateShare AWS API Documentation
1077
+ #
1078
+ # @overload create_share(params = {})
1079
+ # @param [Hash] params ({})
1080
+ def create_share(params = {}, options = {})
1081
+ req = build_request(:create_share, params)
1082
+ req.send_request(options)
1083
+ end
1084
+
930
1085
  # Creates a variant store.
931
1086
  #
932
1087
  # @option params [required, Types::ReferenceItem] :reference
@@ -958,8 +1113,8 @@ module Aws::Omics
958
1113
  # reference: { # required
959
1114
  # reference_arn: "ReferenceArn",
960
1115
  # },
961
- # name: "CreateVariantStoreRequestNameString",
962
- # description: "StoreDescription",
1116
+ # name: "StoreName",
1117
+ # description: "Description",
963
1118
  # tags: {
964
1119
  # "TagKey" => "TagValue",
965
1120
  # },
@@ -1104,6 +1259,46 @@ module Aws::Omics
1104
1259
  req.send_request(options)
1105
1260
  end
1106
1261
 
1262
+ # Deletes one or multiple versions of an annotation store.
1263
+ #
1264
+ # @option params [required, String] :name
1265
+ # The name of the annotation store from which versions are being
1266
+ # deleted.
1267
+ #
1268
+ # @option params [required, Array<String>] :versions
1269
+ # The versions of an annotation store to be deleted.
1270
+ #
1271
+ # @option params [Boolean] :force
1272
+ # Forces the deletion of an annotation store version when imports are
1273
+ # in-progress..
1274
+ #
1275
+ # @return [Types::DeleteAnnotationStoreVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1276
+ #
1277
+ # * {Types::DeleteAnnotationStoreVersionsResponse#errors #errors} => Array&lt;Types::VersionDeleteError&gt;
1278
+ #
1279
+ # @example Request syntax with placeholder values
1280
+ #
1281
+ # resp = client.delete_annotation_store_versions({
1282
+ # name: "String", # required
1283
+ # versions: ["VersionName"], # required
1284
+ # force: false,
1285
+ # })
1286
+ #
1287
+ # @example Response structure
1288
+ #
1289
+ # resp.errors #=> Array
1290
+ # resp.errors[0].version_name #=> String
1291
+ # resp.errors[0].message #=> String
1292
+ #
1293
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteAnnotationStoreVersions AWS API Documentation
1294
+ #
1295
+ # @overload delete_annotation_store_versions(params = {})
1296
+ # @param [Hash] params ({})
1297
+ def delete_annotation_store_versions(params = {}, options = {})
1298
+ req = build_request(:delete_annotation_store_versions, params)
1299
+ req.send_request(options)
1300
+ end
1301
+
1107
1302
  # Deletes a genome reference.
1108
1303
  #
1109
1304
  # @option params [required, String] :id
@@ -1218,6 +1413,34 @@ module Aws::Omics
1218
1413
  req.send_request(options)
1219
1414
  end
1220
1415
 
1416
+ # Deletes a share of an analytics store.
1417
+ #
1418
+ # @option params [required, String] :share_id
1419
+ # The ID for the share request to be deleted.
1420
+ #
1421
+ # @return [Types::DeleteShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1422
+ #
1423
+ # * {Types::DeleteShareResponse#status #status} => String
1424
+ #
1425
+ # @example Request syntax with placeholder values
1426
+ #
1427
+ # resp = client.delete_share({
1428
+ # share_id: "String", # required
1429
+ # })
1430
+ #
1431
+ # @example Response structure
1432
+ #
1433
+ # resp.status #=> String, one of "PENDING", "ACTIVATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
1434
+ #
1435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteShare AWS API Documentation
1436
+ #
1437
+ # @overload delete_share(params = {})
1438
+ # @param [Hash] params ({})
1439
+ def delete_share(params = {}, options = {})
1440
+ req = build_request(:delete_share, params)
1441
+ req.send_request(options)
1442
+ end
1443
+
1221
1444
  # Deletes a variant store.
1222
1445
  #
1223
1446
  # @option params [required, String] :name
@@ -1281,6 +1504,7 @@ module Aws::Omics
1281
1504
  #
1282
1505
  # * {Types::GetAnnotationImportResponse#id #id} => String
1283
1506
  # * {Types::GetAnnotationImportResponse#destination_name #destination_name} => String
1507
+ # * {Types::GetAnnotationImportResponse#version_name #version_name} => String
1284
1508
  # * {Types::GetAnnotationImportResponse#role_arn #role_arn} => String
1285
1509
  # * {Types::GetAnnotationImportResponse#status #status} => String
1286
1510
  # * {Types::GetAnnotationImportResponse#status_message #status_message} => String
@@ -1302,6 +1526,7 @@ module Aws::Omics
1302
1526
  #
1303
1527
  # resp.id #=> String
1304
1528
  # resp.destination_name #=> String
1529
+ # resp.version_name #=> String
1305
1530
  # resp.role_arn #=> String
1306
1531
  # resp.status #=> String, one of "SUBMITTED", "IN_PROGRESS", "CANCELLED", "COMPLETED", "FAILED", "COMPLETED_WITH_FAILURES"
1307
1532
  # resp.status_message #=> String
@@ -1361,6 +1586,7 @@ module Aws::Omics
1361
1586
  # * {Types::GetAnnotationStoreResponse#store_format #store_format} => String
1362
1587
  # * {Types::GetAnnotationStoreResponse#status_message #status_message} => String
1363
1588
  # * {Types::GetAnnotationStoreResponse#store_size_bytes #store_size_bytes} => Integer
1589
+ # * {Types::GetAnnotationStoreResponse#num_versions #num_versions} => Integer
1364
1590
  #
1365
1591
  # @example Request syntax with placeholder values
1366
1592
  #
@@ -1391,6 +1617,7 @@ module Aws::Omics
1391
1617
  # resp.store_format #=> String, one of "GFF", "TSV", "VCF"
1392
1618
  # resp.status_message #=> String
1393
1619
  # resp.store_size_bytes #=> Integer
1620
+ # resp.num_versions #=> Integer
1394
1621
  #
1395
1622
  #
1396
1623
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1407,6 +1634,76 @@ module Aws::Omics
1407
1634
  req.send_request(options)
1408
1635
  end
1409
1636
 
1637
+ # Retrieves the metadata for an annotation store version.
1638
+ #
1639
+ # @option params [required, String] :name
1640
+ # The name given to an annotation store version to distinguish it from
1641
+ # others.
1642
+ #
1643
+ # @option params [required, String] :version_name
1644
+ # The name given to an annotation store version to distinguish it from
1645
+ # others.
1646
+ #
1647
+ # @return [Types::GetAnnotationStoreVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1648
+ #
1649
+ # * {Types::GetAnnotationStoreVersionResponse#store_id #store_id} => String
1650
+ # * {Types::GetAnnotationStoreVersionResponse#id #id} => String
1651
+ # * {Types::GetAnnotationStoreVersionResponse#status #status} => String
1652
+ # * {Types::GetAnnotationStoreVersionResponse#version_arn #version_arn} => String
1653
+ # * {Types::GetAnnotationStoreVersionResponse#name #name} => String
1654
+ # * {Types::GetAnnotationStoreVersionResponse#version_name #version_name} => String
1655
+ # * {Types::GetAnnotationStoreVersionResponse#description #description} => String
1656
+ # * {Types::GetAnnotationStoreVersionResponse#creation_time #creation_time} => Time
1657
+ # * {Types::GetAnnotationStoreVersionResponse#update_time #update_time} => Time
1658
+ # * {Types::GetAnnotationStoreVersionResponse#tags #tags} => Hash&lt;String,String&gt;
1659
+ # * {Types::GetAnnotationStoreVersionResponse#version_options #version_options} => Types::VersionOptions
1660
+ # * {Types::GetAnnotationStoreVersionResponse#status_message #status_message} => String
1661
+ # * {Types::GetAnnotationStoreVersionResponse#version_size_bytes #version_size_bytes} => Integer
1662
+ #
1663
+ # @example Request syntax with placeholder values
1664
+ #
1665
+ # resp = client.get_annotation_store_version({
1666
+ # name: "String", # required
1667
+ # version_name: "String", # required
1668
+ # })
1669
+ #
1670
+ # @example Response structure
1671
+ #
1672
+ # resp.store_id #=> String
1673
+ # resp.id #=> String
1674
+ # resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
1675
+ # resp.version_arn #=> String
1676
+ # resp.name #=> String
1677
+ # resp.version_name #=> String
1678
+ # resp.description #=> String
1679
+ # resp.creation_time #=> Time
1680
+ # resp.update_time #=> Time
1681
+ # resp.tags #=> Hash
1682
+ # resp.tags["TagKey"] #=> String
1683
+ # resp.version_options.tsv_version_options.annotation_type #=> String, one of "GENERIC", "CHR_POS", "CHR_POS_REF_ALT", "CHR_START_END_ONE_BASE", "CHR_START_END_REF_ALT_ONE_BASE", "CHR_START_END_ZERO_BASE", "CHR_START_END_REF_ALT_ZERO_BASE"
1684
+ # resp.version_options.tsv_version_options.format_to_header #=> Hash
1685
+ # resp.version_options.tsv_version_options.format_to_header["FormatToHeaderKey"] #=> String
1686
+ # resp.version_options.tsv_version_options.schema #=> Array
1687
+ # resp.version_options.tsv_version_options.schema[0] #=> Hash
1688
+ # resp.version_options.tsv_version_options.schema[0]["SchemaItemKeyString"] #=> String, one of "LONG", "INT", "STRING", "FLOAT", "DOUBLE", "BOOLEAN"
1689
+ # resp.status_message #=> String
1690
+ # resp.version_size_bytes #=> Integer
1691
+ #
1692
+ #
1693
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
1694
+ #
1695
+ # * annotation_store_version_created
1696
+ # * annotation_store_version_deleted
1697
+ #
1698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetAnnotationStoreVersion AWS API Documentation
1699
+ #
1700
+ # @overload get_annotation_store_version(params = {})
1701
+ # @param [Hash] params ({})
1702
+ def get_annotation_store_version(params = {}, options = {})
1703
+ req = build_request(:get_annotation_store_version, params)
1704
+ req.send_request(options)
1705
+ end
1706
+
1410
1707
  # Gets a file from a read set.
1411
1708
  #
1412
1709
  # @option params [required, String] :id
@@ -2115,6 +2412,42 @@ module Aws::Omics
2115
2412
  req.send_request(options)
2116
2413
  end
2117
2414
 
2415
+ # Retrieves the metadata for a share.
2416
+ #
2417
+ # @option params [required, String] :share_id
2418
+ # The generated ID for a share.
2419
+ #
2420
+ # @return [Types::GetShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2421
+ #
2422
+ # * {Types::GetShareResponse#share #share} => Types::ShareDetails
2423
+ #
2424
+ # @example Request syntax with placeholder values
2425
+ #
2426
+ # resp = client.get_share({
2427
+ # share_id: "String", # required
2428
+ # })
2429
+ #
2430
+ # @example Response structure
2431
+ #
2432
+ # resp.share.share_id #=> String
2433
+ # resp.share.resource_arn #=> String
2434
+ # resp.share.principal_subscriber #=> String
2435
+ # resp.share.owner_id #=> String
2436
+ # resp.share.status #=> String, one of "PENDING", "ACTIVATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
2437
+ # resp.share.status_message #=> String
2438
+ # resp.share.share_name #=> String
2439
+ # resp.share.creation_time #=> Time
2440
+ # resp.share.update_time #=> Time
2441
+ #
2442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetShare AWS API Documentation
2443
+ #
2444
+ # @overload get_share(params = {})
2445
+ # @param [Hash] params ({})
2446
+ def get_share(params = {}, options = {})
2447
+ req = build_request(:get_share, params)
2448
+ req.send_request(options)
2449
+ end
2450
+
2118
2451
  # Gets information about a variant import job.
2119
2452
  #
2120
2453
  # @option params [required, String] :job_id
@@ -2346,6 +2679,7 @@ module Aws::Omics
2346
2679
  # resp.annotation_import_jobs #=> Array
2347
2680
  # resp.annotation_import_jobs[0].id #=> String
2348
2681
  # resp.annotation_import_jobs[0].destination_name #=> String
2682
+ # resp.annotation_import_jobs[0].version_name #=> String
2349
2683
  # resp.annotation_import_jobs[0].role_arn #=> String
2350
2684
  # resp.annotation_import_jobs[0].status #=> String, one of "SUBMITTED", "IN_PROGRESS", "CANCELLED", "COMPLETED", "FAILED", "COMPLETED_WITH_FAILURES"
2351
2685
  # resp.annotation_import_jobs[0].creation_time #=> Time
@@ -2365,6 +2699,65 @@ module Aws::Omics
2365
2699
  req.send_request(options)
2366
2700
  end
2367
2701
 
2702
+ # Lists the versions of an annotation store.
2703
+ #
2704
+ # @option params [required, String] :name
2705
+ # The name of an annotation store.
2706
+ #
2707
+ # @option params [Integer] :max_results
2708
+ # The maximum number of annotation store versions to return in one page
2709
+ # of results.
2710
+ #
2711
+ # @option params [String] :next_token
2712
+ # Specifies the pagination token from a previous request to retrieve the
2713
+ # next page of results.
2714
+ #
2715
+ # @option params [Types::ListAnnotationStoreVersionsFilter] :filter
2716
+ # A filter to apply to the list of annotation store versions.
2717
+ #
2718
+ # @return [Types::ListAnnotationStoreVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2719
+ #
2720
+ # * {Types::ListAnnotationStoreVersionsResponse#annotation_store_versions #annotation_store_versions} => Array&lt;Types::AnnotationStoreVersionItem&gt;
2721
+ # * {Types::ListAnnotationStoreVersionsResponse#next_token #next_token} => String
2722
+ #
2723
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2724
+ #
2725
+ # @example Request syntax with placeholder values
2726
+ #
2727
+ # resp = client.list_annotation_store_versions({
2728
+ # name: "String", # required
2729
+ # max_results: 1,
2730
+ # next_token: "ListAnnotationStoreVersionsRequestNextTokenString",
2731
+ # filter: {
2732
+ # status: "CREATING", # accepts CREATING, UPDATING, DELETING, ACTIVE, FAILED
2733
+ # },
2734
+ # })
2735
+ #
2736
+ # @example Response structure
2737
+ #
2738
+ # resp.annotation_store_versions #=> Array
2739
+ # resp.annotation_store_versions[0].store_id #=> String
2740
+ # resp.annotation_store_versions[0].id #=> String
2741
+ # resp.annotation_store_versions[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
2742
+ # resp.annotation_store_versions[0].version_arn #=> String
2743
+ # resp.annotation_store_versions[0].name #=> String
2744
+ # resp.annotation_store_versions[0].version_name #=> String
2745
+ # resp.annotation_store_versions[0].description #=> String
2746
+ # resp.annotation_store_versions[0].creation_time #=> Time
2747
+ # resp.annotation_store_versions[0].update_time #=> Time
2748
+ # resp.annotation_store_versions[0].status_message #=> String
2749
+ # resp.annotation_store_versions[0].version_size_bytes #=> Integer
2750
+ # resp.next_token #=> String
2751
+ #
2752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListAnnotationStoreVersions AWS API Documentation
2753
+ #
2754
+ # @overload list_annotation_store_versions(params = {})
2755
+ # @param [Hash] params ({})
2756
+ def list_annotation_store_versions(params = {}, options = {})
2757
+ req = build_request(:list_annotation_store_versions, params)
2758
+ req.send_request(options)
2759
+ end
2760
+
2368
2761
  # Retrieves a list of annotation stores.
2369
2762
  #
2370
2763
  # @option params [Array<String>] :ids
@@ -3163,6 +3556,64 @@ module Aws::Omics
3163
3556
  req.send_request(options)
3164
3557
  end
3165
3558
 
3559
+ # Lists all shares associated with an account.
3560
+ #
3561
+ # @option params [required, String] :resource_owner
3562
+ # The account that owns the analytics store shared.
3563
+ #
3564
+ # @option params [Types::Filter] :filter
3565
+ # Attributes used to filter for a specific subset of shares.
3566
+ #
3567
+ # @option params [String] :next_token
3568
+ # Next token returned in the response of a previous
3569
+ # ListReadSetUploadPartsRequest call. Used to get the next page of
3570
+ # results.
3571
+ #
3572
+ # @option params [Integer] :max_results
3573
+ # The maximum number of shares to return in one page of results.
3574
+ #
3575
+ # @return [Types::ListSharesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3576
+ #
3577
+ # * {Types::ListSharesResponse#shares #shares} => Array&lt;Types::ShareDetails&gt;
3578
+ # * {Types::ListSharesResponse#next_token #next_token} => String
3579
+ #
3580
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3581
+ #
3582
+ # @example Request syntax with placeholder values
3583
+ #
3584
+ # resp = client.list_shares({
3585
+ # resource_owner: "SELF", # required, accepts SELF, OTHER
3586
+ # filter: {
3587
+ # resource_arns: ["String"],
3588
+ # status: ["PENDING"], # accepts PENDING, ACTIVATING, ACTIVE, DELETING, DELETED, FAILED
3589
+ # },
3590
+ # next_token: "String",
3591
+ # max_results: 1,
3592
+ # })
3593
+ #
3594
+ # @example Response structure
3595
+ #
3596
+ # resp.shares #=> Array
3597
+ # resp.shares[0].share_id #=> String
3598
+ # resp.shares[0].resource_arn #=> String
3599
+ # resp.shares[0].principal_subscriber #=> String
3600
+ # resp.shares[0].owner_id #=> String
3601
+ # resp.shares[0].status #=> String, one of "PENDING", "ACTIVATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
3602
+ # resp.shares[0].status_message #=> String
3603
+ # resp.shares[0].share_name #=> String
3604
+ # resp.shares[0].creation_time #=> Time
3605
+ # resp.shares[0].update_time #=> Time
3606
+ # resp.next_token #=> String
3607
+ #
3608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListShares AWS API Documentation
3609
+ #
3610
+ # @overload list_shares(params = {})
3611
+ # @param [Hash] params ({})
3612
+ def list_shares(params = {}, options = {})
3613
+ req = build_request(:list_shares, params)
3614
+ req.send_request(options)
3615
+ end
3616
+
3166
3617
  # Retrieves a list of tags for a resource.
3167
3618
  #
3168
3619
  # @option params [required, String] :resource_arn
@@ -3374,6 +3825,9 @@ module Aws::Omics
3374
3825
  # @option params [required, Array<Types::AnnotationImportItemSource>] :items
3375
3826
  # Items to import.
3376
3827
  #
3828
+ # @option params [String] :version_name
3829
+ # The name of the annotation store version.
3830
+ #
3377
3831
  # @option params [Types::FormatOptions] :format_options
3378
3832
  # Formatting options for the annotation file.
3379
3833
  #
@@ -3397,6 +3851,7 @@ module Aws::Omics
3397
3851
  # source: "S3Uri", # required
3398
3852
  # },
3399
3853
  # ],
3854
+ # version_name: "VersionName",
3400
3855
  # format_options: {
3401
3856
  # tsv_options: {
3402
3857
  # read_options: {
@@ -3887,7 +4342,7 @@ module Aws::Omics
3887
4342
  #
3888
4343
  # resp = client.update_annotation_store({
3889
4344
  # name: "String", # required
3890
- # description: "StoreDescription",
4345
+ # description: "Description",
3891
4346
  # })
3892
4347
  #
3893
4348
  # @example Response structure
@@ -3916,6 +4371,56 @@ module Aws::Omics
3916
4371
  req.send_request(options)
3917
4372
  end
3918
4373
 
4374
+ # Updates the description of an annotation store version.
4375
+ #
4376
+ # @option params [required, String] :name
4377
+ # The name of an annotation store.
4378
+ #
4379
+ # @option params [required, String] :version_name
4380
+ # The name of an annotation store version.
4381
+ #
4382
+ # @option params [String] :description
4383
+ # The description of an annotation store.
4384
+ #
4385
+ # @return [Types::UpdateAnnotationStoreVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4386
+ #
4387
+ # * {Types::UpdateAnnotationStoreVersionResponse#store_id #store_id} => String
4388
+ # * {Types::UpdateAnnotationStoreVersionResponse#id #id} => String
4389
+ # * {Types::UpdateAnnotationStoreVersionResponse#status #status} => String
4390
+ # * {Types::UpdateAnnotationStoreVersionResponse#name #name} => String
4391
+ # * {Types::UpdateAnnotationStoreVersionResponse#version_name #version_name} => String
4392
+ # * {Types::UpdateAnnotationStoreVersionResponse#description #description} => String
4393
+ # * {Types::UpdateAnnotationStoreVersionResponse#creation_time #creation_time} => Time
4394
+ # * {Types::UpdateAnnotationStoreVersionResponse#update_time #update_time} => Time
4395
+ #
4396
+ # @example Request syntax with placeholder values
4397
+ #
4398
+ # resp = client.update_annotation_store_version({
4399
+ # name: "String", # required
4400
+ # version_name: "String", # required
4401
+ # description: "Description",
4402
+ # })
4403
+ #
4404
+ # @example Response structure
4405
+ #
4406
+ # resp.store_id #=> String
4407
+ # resp.id #=> String
4408
+ # resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "FAILED"
4409
+ # resp.name #=> String
4410
+ # resp.version_name #=> String
4411
+ # resp.description #=> String
4412
+ # resp.creation_time #=> Time
4413
+ # resp.update_time #=> Time
4414
+ #
4415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateAnnotationStoreVersion AWS API Documentation
4416
+ #
4417
+ # @overload update_annotation_store_version(params = {})
4418
+ # @param [Hash] params ({})
4419
+ def update_annotation_store_version(params = {}, options = {})
4420
+ req = build_request(:update_annotation_store_version, params)
4421
+ req.send_request(options)
4422
+ end
4423
+
3919
4424
  # Updates a run group.
3920
4425
  #
3921
4426
  # @option params [required, String] :id
@@ -3980,7 +4485,7 @@ module Aws::Omics
3980
4485
  #
3981
4486
  # resp = client.update_variant_store({
3982
4487
  # name: "String", # required
3983
- # description: "StoreDescription",
4488
+ # description: "Description",
3984
4489
  # })
3985
4490
  #
3986
4491
  # @example Response structure
@@ -4091,7 +4596,7 @@ module Aws::Omics
4091
4596
  params: params,
4092
4597
  config: config)
4093
4598
  context[:gem_name] = 'aws-sdk-omics'
4094
- context[:gem_version] = '1.12.0'
4599
+ context[:gem_version] = '1.13.0'
4095
4600
  Seahorse::Client::Request.new(handlers, context)
4096
4601
  end
4097
4602
 
@@ -4157,23 +4662,25 @@ module Aws::Omics
4157
4662
  # The following table lists the valid waiter names, the operations they call,
4158
4663
  # and the default `:delay` and `:max_attempts` values.
4159
4664
  #
4160
- # | waiter_name | params | :delay | :max_attempts |
4161
- # | --------------------------------- | ------------------------------------ | -------- | ------------- |
4162
- # | annotation_import_job_created | {Client#get_annotation_import_job} | 30 | 20 |
4163
- # | annotation_store_created | {Client#get_annotation_store} | 30 | 20 |
4164
- # | annotation_store_deleted | {Client#get_annotation_store} | 30 | 20 |
4165
- # | read_set_activation_job_completed | {Client#get_read_set_activation_job} | 30 | 20 |
4166
- # | read_set_export_job_completed | {Client#get_read_set_export_job} | 30 | 20 |
4167
- # | read_set_import_job_completed | {Client#get_read_set_import_job} | 30 | 20 |
4168
- # | reference_import_job_completed | {Client#get_reference_import_job} | 30 | 20 |
4169
- # | run_completed | {Client#get_run} | 30 | 20 |
4170
- # | run_running | {Client#get_run} | 30 | 20 |
4171
- # | task_completed | {Client#get_run_task} | 30 | 20 |
4172
- # | task_running | {Client#get_run_task} | 30 | 20 |
4173
- # | variant_import_job_created | {Client#get_variant_import_job} | 30 | 20 |
4174
- # | variant_store_created | {Client#get_variant_store} | 30 | 20 |
4175
- # | variant_store_deleted | {Client#get_variant_store} | 30 | 20 |
4176
- # | workflow_active | {Client#get_workflow} | 3 | 10 |
4665
+ # | waiter_name | params | :delay | :max_attempts |
4666
+ # | --------------------------------- | ------------------------------------- | -------- | ------------- |
4667
+ # | annotation_import_job_created | {Client#get_annotation_import_job} | 30 | 20 |
4668
+ # | annotation_store_created | {Client#get_annotation_store} | 30 | 20 |
4669
+ # | annotation_store_deleted | {Client#get_annotation_store} | 30 | 20 |
4670
+ # | annotation_store_version_created | {Client#get_annotation_store_version} | 30 | 20 |
4671
+ # | annotation_store_version_deleted | {Client#get_annotation_store_version} | 30 | 20 |
4672
+ # | read_set_activation_job_completed | {Client#get_read_set_activation_job} | 30 | 20 |
4673
+ # | read_set_export_job_completed | {Client#get_read_set_export_job} | 30 | 20 |
4674
+ # | read_set_import_job_completed | {Client#get_read_set_import_job} | 30 | 20 |
4675
+ # | reference_import_job_completed | {Client#get_reference_import_job} | 30 | 20 |
4676
+ # | run_completed | {Client#get_run} | 30 | 20 |
4677
+ # | run_running | {Client#get_run} | 30 | 20 |
4678
+ # | task_completed | {Client#get_run_task} | 30 | 20 |
4679
+ # | task_running | {Client#get_run_task} | 30 | 20 |
4680
+ # | variant_import_job_created | {Client#get_variant_import_job} | 30 | 20 |
4681
+ # | variant_store_created | {Client#get_variant_store} | 30 | 20 |
4682
+ # | variant_store_deleted | {Client#get_variant_store} | 30 | 20 |
4683
+ # | workflow_active | {Client#get_workflow} | 3 | 10 |
4177
4684
  #
4178
4685
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
4179
4686
  # because the waiter has entered a state that it will not transition
@@ -4227,6 +4734,8 @@ module Aws::Omics
4227
4734
  annotation_import_job_created: Waiters::AnnotationImportJobCreated,
4228
4735
  annotation_store_created: Waiters::AnnotationStoreCreated,
4229
4736
  annotation_store_deleted: Waiters::AnnotationStoreDeleted,
4737
+ annotation_store_version_created: Waiters::AnnotationStoreVersionCreated,
4738
+ annotation_store_version_deleted: Waiters::AnnotationStoreVersionDeleted,
4230
4739
  read_set_activation_job_completed: Waiters::ReadSetActivationJobCompleted,
4231
4740
  read_set_export_job_completed: Waiters::ReadSetExportJobCompleted,
4232
4741
  read_set_import_job_completed: Waiters::ReadSetImportJobCompleted,