aws-sdk-opensearchserverless 1.52.0 → 1.53.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a9b6a6fb62dc2b91ff9127bee8edef371c20e1b2bd55cafeea1432da5c8052f
4
- data.tar.gz: 00f620ec85452399a6aef41bd9e0c94949b2c302e9039bf26144daa4a6a5ab10
3
+ metadata.gz: 7bdee76156e1e359e5ac45bfe1d8255f7cef310a7cb19be8150be4879be3215c
4
+ data.tar.gz: 67b0ac671653814ffc6e98a526db24df74d9e907c0c7a500e2a6bae37d02a25c
5
5
  SHA512:
6
- metadata.gz: 49cfb16abbdeefcc8ca4a95161eb6521c7df759b5a8e29ff28c0a345fee1df1f7184bec5c27e2c228be09bf34c7387a464435da662f245a1369f7e79127fc215
7
- data.tar.gz: 28dcd88f681a08a8b0e4eb6f86dcf4d0d48b31a8a3d9791f5a90a83a495975158b867a346b75465e414fbc6c81268522df474fd30d373dda128ad6eb91da0372
6
+ metadata.gz: 70d4b5e1ad72d15cbcbfb6623167d133f4fbc1d3b1fc8ff0331f9d4608816c3d686153318e0816739deda0d89db5d6b9036452ab41d9f29771c350825dd8fd38
7
+ data.tar.gz: d0837e1ba0f6fe85979f5ba49650d20452ded26cd36f7f46f1ab40c00715b286fc4c4ac1e18ba413983170c53fa25db4f5738437b6287d2bce8372ef0623f5c8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2026-01-15)
5
+ ------------------
6
+
7
+ * Feature - Collection groups in Amazon OpenSearch Serverless enables to organize multiple collections and enable compute resource sharing across collections with different KMS keys. This shared compute model reduces costs by eliminating the need for separate OpenSearch Compute Units (OCUs) for each KMS key.
8
+
4
9
  1.52.0 (2026-01-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.53.0
@@ -537,6 +537,7 @@ module Aws::OpenSearchServerless
537
537
  # resp.collection_details[0].fips_endpoints.dashboard_endpoint #=> String
538
538
  # resp.collection_details[0].failure_code #=> String
539
539
  # resp.collection_details[0].failure_message #=> String
540
+ # resp.collection_details[0].collection_group_name #=> String
540
541
  # resp.collection_error_details #=> Array
541
542
  # resp.collection_error_details[0].id #=> String
542
543
  # resp.collection_error_details[0].name #=> String
@@ -552,6 +553,67 @@ module Aws::OpenSearchServerless
552
553
  req.send_request(options)
553
554
  end
554
555
 
556
+ # Returns attributes for one or more collection groups, including
557
+ # capacity limits and the number of collections in each group. For more
558
+ # information, see [Creating and managing Amazon OpenSearch Serverless
559
+ # collections][1].
560
+ #
561
+ #
562
+ #
563
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html
564
+ #
565
+ # @option params [Array<String>] :ids
566
+ # A list of collection group IDs. You can't provide names and IDs in
567
+ # the same request.
568
+ #
569
+ # @option params [Array<String>] :names
570
+ # A list of collection group names. You can't provide names and IDs in
571
+ # the same request.
572
+ #
573
+ # @return [Types::BatchGetCollectionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
574
+ #
575
+ # * {Types::BatchGetCollectionGroupResponse#collection_group_details #collection_group_details} => Array&lt;Types::CollectionGroupDetail&gt;
576
+ # * {Types::BatchGetCollectionGroupResponse#collection_group_error_details #collection_group_error_details} => Array&lt;Types::CollectionGroupErrorDetail&gt;
577
+ #
578
+ # @example Request syntax with placeholder values
579
+ #
580
+ # resp = client.batch_get_collection_group({
581
+ # ids: ["CollectionGroupId"],
582
+ # names: ["CollectionGroupName"],
583
+ # })
584
+ #
585
+ # @example Response structure
586
+ #
587
+ # resp.collection_group_details #=> Array
588
+ # resp.collection_group_details[0].id #=> String
589
+ # resp.collection_group_details[0].arn #=> String
590
+ # resp.collection_group_details[0].name #=> String
591
+ # resp.collection_group_details[0].standby_replicas #=> String, one of "ENABLED", "DISABLED"
592
+ # resp.collection_group_details[0].description #=> String
593
+ # resp.collection_group_details[0].tags #=> Array
594
+ # resp.collection_group_details[0].tags[0].key #=> String
595
+ # resp.collection_group_details[0].tags[0].value #=> String
596
+ # resp.collection_group_details[0].created_date #=> Integer
597
+ # resp.collection_group_details[0].capacity_limits.max_indexing_capacity_in_ocu #=> Float
598
+ # resp.collection_group_details[0].capacity_limits.max_search_capacity_in_ocu #=> Float
599
+ # resp.collection_group_details[0].capacity_limits.min_indexing_capacity_in_ocu #=> Float
600
+ # resp.collection_group_details[0].capacity_limits.min_search_capacity_in_ocu #=> Float
601
+ # resp.collection_group_details[0].number_of_collections #=> Integer
602
+ # resp.collection_group_error_details #=> Array
603
+ # resp.collection_group_error_details[0].id #=> String
604
+ # resp.collection_group_error_details[0].name #=> String
605
+ # resp.collection_group_error_details[0].error_message #=> String
606
+ # resp.collection_group_error_details[0].error_code #=> String
607
+ #
608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/BatchGetCollectionGroup AWS API Documentation
609
+ #
610
+ # @overload batch_get_collection_group(params = {})
611
+ # @param [Hash] params ({})
612
+ def batch_get_collection_group(params = {}, options = {})
613
+ req = build_request(:batch_get_collection_group, params)
614
+ req.send_request(options)
615
+ end
616
+
555
617
  # Returns a list of successful and failed retrievals for the OpenSearch
556
618
  # Serverless indexes. For more information, see [Viewing data lifecycle
557
619
  # policies][1].
@@ -794,6 +856,12 @@ module Aws::OpenSearchServerless
794
856
  # Configuration options for vector search capabilities in the
795
857
  # collection.
796
858
  #
859
+ # @option params [String] :collection_group_name
860
+ # The name of the collection group to associate with the collection.
861
+ #
862
+ # @option params [Types::EncryptionConfig] :encryption_config
863
+ # Encryption settings for the collection.
864
+ #
797
865
  # @option params [String] :client_token
798
866
  # Unique, case-sensitive identifier to ensure idempotency of the
799
867
  # request.
@@ -821,6 +889,11 @@ module Aws::OpenSearchServerless
821
889
  # vector_options: {
822
890
  # serverless_vector_acceleration: "ENABLED", # required, accepts ENABLED, DISABLED, ALLOWED
823
891
  # },
892
+ # collection_group_name: "CollectionGroupName",
893
+ # encryption_config: {
894
+ # a_ws_owned_key: false,
895
+ # kms_key_arn: "EncryptionConfigKmsKeyArnString",
896
+ # },
824
897
  # client_token: "ClientToken",
825
898
  # })
826
899
  #
@@ -837,6 +910,7 @@ module Aws::OpenSearchServerless
837
910
  # resp.create_collection_detail.vector_options.serverless_vector_acceleration #=> String, one of "ENABLED", "DISABLED", "ALLOWED"
838
911
  # resp.create_collection_detail.created_date #=> Integer
839
912
  # resp.create_collection_detail.last_modified_date #=> Integer
913
+ # resp.create_collection_detail.collection_group_name #=> String
840
914
  #
841
915
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CreateCollection AWS API Documentation
842
916
  #
@@ -847,6 +921,92 @@ module Aws::OpenSearchServerless
847
921
  req.send_request(options)
848
922
  end
849
923
 
924
+ # Creates a collection group within OpenSearch Serverless. Collection
925
+ # groups let you manage OpenSearch Compute Units (OCUs) at a group
926
+ # level, with multiple collections sharing the group's capacity limits.
927
+ #
928
+ # For more information, see [Managing collection groups][1].
929
+ #
930
+ #
931
+ #
932
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-collection-groups.html
933
+ #
934
+ # @option params [required, String] :name
935
+ # The name of the collection group.
936
+ #
937
+ # @option params [required, String] :standby_replicas
938
+ # Indicates whether standby replicas should be used for a collection
939
+ # group.
940
+ #
941
+ # @option params [String] :description
942
+ # A description of the collection group.
943
+ #
944
+ # @option params [Array<Types::Tag>] :tags
945
+ # An arbitrary set of tags (key–value pairs) to associate with the
946
+ # OpenSearch Serverless collection group.
947
+ #
948
+ # @option params [Types::CollectionGroupCapacityLimits] :capacity_limits
949
+ # The capacity limits for the collection group, in OpenSearch Compute
950
+ # Units (OCUs). These limits control the maximum and minimum capacity
951
+ # for collections within the group.
952
+ #
953
+ # @option params [String] :client_token
954
+ # Unique, case-sensitive identifier to ensure idempotency of the
955
+ # request.
956
+ #
957
+ # **A suitable default value is auto-generated.** You should normally
958
+ # not need to pass this option.**
959
+ #
960
+ # @return [Types::CreateCollectionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
961
+ #
962
+ # * {Types::CreateCollectionGroupResponse#create_collection_group_detail #create_collection_group_detail} => Types::CreateCollectionGroupDetail
963
+ #
964
+ # @example Request syntax with placeholder values
965
+ #
966
+ # resp = client.create_collection_group({
967
+ # name: "CollectionGroupName", # required
968
+ # standby_replicas: "ENABLED", # required, accepts ENABLED, DISABLED
969
+ # description: "CreateCollectionGroupRequestDescriptionString",
970
+ # tags: [
971
+ # {
972
+ # key: "TagKey", # required
973
+ # value: "TagValue", # required
974
+ # },
975
+ # ],
976
+ # capacity_limits: {
977
+ # max_indexing_capacity_in_ocu: 1.0,
978
+ # max_search_capacity_in_ocu: 1.0,
979
+ # min_indexing_capacity_in_ocu: 1.0,
980
+ # min_search_capacity_in_ocu: 1.0,
981
+ # },
982
+ # client_token: "ClientToken",
983
+ # })
984
+ #
985
+ # @example Response structure
986
+ #
987
+ # resp.create_collection_group_detail.id #=> String
988
+ # resp.create_collection_group_detail.arn #=> String
989
+ # resp.create_collection_group_detail.name #=> String
990
+ # resp.create_collection_group_detail.standby_replicas #=> String, one of "ENABLED", "DISABLED"
991
+ # resp.create_collection_group_detail.description #=> String
992
+ # resp.create_collection_group_detail.tags #=> Array
993
+ # resp.create_collection_group_detail.tags[0].key #=> String
994
+ # resp.create_collection_group_detail.tags[0].value #=> String
995
+ # resp.create_collection_group_detail.created_date #=> Integer
996
+ # resp.create_collection_group_detail.capacity_limits.max_indexing_capacity_in_ocu #=> Float
997
+ # resp.create_collection_group_detail.capacity_limits.max_search_capacity_in_ocu #=> Float
998
+ # resp.create_collection_group_detail.capacity_limits.min_indexing_capacity_in_ocu #=> Float
999
+ # resp.create_collection_group_detail.capacity_limits.min_search_capacity_in_ocu #=> Float
1000
+ #
1001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CreateCollectionGroup AWS API Documentation
1002
+ #
1003
+ # @overload create_collection_group(params = {})
1004
+ # @param [Hash] params ({})
1005
+ def create_collection_group(params = {}, options = {})
1006
+ req = build_request(:create_collection_group, params)
1007
+ req.send_request(options)
1008
+ end
1009
+
850
1010
  # Creates an index within an OpenSearch Serverless collection. Unlike
851
1011
  # other OpenSearch indexes, indexes created by this API are
852
1012
  # automatically configured to conduct automatic semantic enrichment
@@ -972,13 +1132,13 @@ module Aws::OpenSearchServerless
972
1132
  # A description of the security configuration.
973
1133
  #
974
1134
  # @option params [Types::SamlConfigOptions] :saml_options
975
- # Describes SAML options in in the form of a key-value map. This field
976
- # is required if you specify `SAML` for the `type` parameter.
1135
+ # Describes SAML options in the form of a key-value map. This field is
1136
+ # required if you specify `SAML` for the `type` parameter.
977
1137
  #
978
1138
  # @option params [Types::CreateIamIdentityCenterConfigOptions] :iam_identity_center_options
979
1139
  # Describes IAM Identity Center options in the form of a key-value map.
980
- # This field is required if you specify iamidentitycenter for the type
981
- # parameter.
1140
+ # This field is required if you specify `iamidentitycenter` for the
1141
+ # `type` parameter.
982
1142
  #
983
1143
  # @option params [Types::IamFederationConfigOptions] :iam_federation_options
984
1144
  # Describes IAM federation options in the form of a key-value map. This
@@ -1264,6 +1424,42 @@ module Aws::OpenSearchServerless
1264
1424
  req.send_request(options)
1265
1425
  end
1266
1426
 
1427
+ # Deletes a collection group. You can only delete empty collection
1428
+ # groups that contain no collections. For more information, see
1429
+ # [Creating and managing Amazon OpenSearch Serverless collections][1].
1430
+ #
1431
+ #
1432
+ #
1433
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html
1434
+ #
1435
+ # @option params [required, String] :id
1436
+ # The unique identifier of the collection group to delete.
1437
+ #
1438
+ # @option params [String] :client_token
1439
+ # Unique, case-sensitive identifier to ensure idempotency of the
1440
+ # request.
1441
+ #
1442
+ # **A suitable default value is auto-generated.** You should normally
1443
+ # not need to pass this option.**
1444
+ #
1445
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1446
+ #
1447
+ # @example Request syntax with placeholder values
1448
+ #
1449
+ # resp = client.delete_collection_group({
1450
+ # id: "CollectionGroupId", # required
1451
+ # client_token: "ClientToken",
1452
+ # })
1453
+ #
1454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteCollectionGroup AWS API Documentation
1455
+ #
1456
+ # @overload delete_collection_group(params = {})
1457
+ # @param [Hash] params ({})
1458
+ def delete_collection_group(params = {}, options = {})
1459
+ req = build_request(:delete_collection_group, params)
1460
+ req.send_request(options)
1461
+ end
1462
+
1267
1463
  # Deletes an index from an OpenSearch Serverless collection. Be aware
1268
1464
  # that the index might be configured to conduct automatic semantic
1269
1465
  # enrichment ingestion and search. For more information, see [About
@@ -1738,6 +1934,60 @@ module Aws::OpenSearchServerless
1738
1934
  req.send_request(options)
1739
1935
  end
1740
1936
 
1937
+ # Returns a list of collection groups. For more information, see
1938
+ # [Creating and managing Amazon OpenSearch Serverless collections][1].
1939
+ #
1940
+ #
1941
+ #
1942
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html
1943
+ #
1944
+ # @option params [String] :next_token
1945
+ # If your initial `ListCollectionGroups` operation returns a
1946
+ # `nextToken`, you can include the returned `nextToken` in subsequent
1947
+ # `ListCollectionGroups` operations, which returns results in the next
1948
+ # page.
1949
+ #
1950
+ # @option params [Integer] :max_results
1951
+ # The maximum number of results to return. Default is 20. You can use
1952
+ # `nextToken` to get the next page of results.
1953
+ #
1954
+ # @return [Types::ListCollectionGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1955
+ #
1956
+ # * {Types::ListCollectionGroupsResponse#collection_group_summaries #collection_group_summaries} => Array&lt;Types::CollectionGroupSummary&gt;
1957
+ # * {Types::ListCollectionGroupsResponse#next_token #next_token} => String
1958
+ #
1959
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1960
+ #
1961
+ # @example Request syntax with placeholder values
1962
+ #
1963
+ # resp = client.list_collection_groups({
1964
+ # next_token: "String",
1965
+ # max_results: 1,
1966
+ # })
1967
+ #
1968
+ # @example Response structure
1969
+ #
1970
+ # resp.collection_group_summaries #=> Array
1971
+ # resp.collection_group_summaries[0].id #=> String
1972
+ # resp.collection_group_summaries[0].arn #=> String
1973
+ # resp.collection_group_summaries[0].name #=> String
1974
+ # resp.collection_group_summaries[0].number_of_collections #=> Integer
1975
+ # resp.collection_group_summaries[0].created_date #=> Integer
1976
+ # resp.collection_group_summaries[0].capacity_limits.max_indexing_capacity_in_ocu #=> Float
1977
+ # resp.collection_group_summaries[0].capacity_limits.max_search_capacity_in_ocu #=> Float
1978
+ # resp.collection_group_summaries[0].capacity_limits.min_indexing_capacity_in_ocu #=> Float
1979
+ # resp.collection_group_summaries[0].capacity_limits.min_search_capacity_in_ocu #=> Float
1980
+ # resp.next_token #=> String
1981
+ #
1982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/ListCollectionGroups AWS API Documentation
1983
+ #
1984
+ # @overload list_collection_groups(params = {})
1985
+ # @param [Hash] params ({})
1986
+ def list_collection_groups(params = {}, options = {})
1987
+ req = build_request(:list_collection_groups, params)
1988
+ req.send_request(options)
1989
+ end
1990
+
1741
1991
  # Lists all OpenSearch Serverless collections. For more information, see
1742
1992
  # [Creating and managing Amazon OpenSearch Serverless collections][1].
1743
1993
  #
@@ -1775,6 +2025,7 @@ module Aws::OpenSearchServerless
1775
2025
  # collection_filters: {
1776
2026
  # name: "CollectionName",
1777
2027
  # status: "CREATING", # accepts CREATING, DELETING, ACTIVE, FAILED
2028
+ # collection_group_name: "CollectionGroupName",
1778
2029
  # },
1779
2030
  # next_token: "String",
1780
2031
  # max_results: 1,
@@ -1787,6 +2038,8 @@ module Aws::OpenSearchServerless
1787
2038
  # resp.collection_summaries[0].name #=> String
1788
2039
  # resp.collection_summaries[0].status #=> String, one of "CREATING", "DELETING", "ACTIVE", "FAILED"
1789
2040
  # resp.collection_summaries[0].arn #=> String
2041
+ # resp.collection_summaries[0].kms_key_arn #=> String
2042
+ # resp.collection_summaries[0].collection_group_name #=> String
1790
2043
  # resp.next_token #=> String
1791
2044
  #
1792
2045
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/ListCollections AWS API Documentation
@@ -2298,6 +2551,65 @@ module Aws::OpenSearchServerless
2298
2551
  req.send_request(options)
2299
2552
  end
2300
2553
 
2554
+ # Updates the description and capacity limits of a collection group.
2555
+ #
2556
+ # @option params [required, String] :id
2557
+ # The unique identifier of the collection group to update.
2558
+ #
2559
+ # @option params [String] :description
2560
+ # A new description for the collection group.
2561
+ #
2562
+ # @option params [Types::CollectionGroupCapacityLimits] :capacity_limits
2563
+ # Updated capacity limits for the collection group, in OpenSearch
2564
+ # Compute Units (OCUs).
2565
+ #
2566
+ # @option params [String] :client_token
2567
+ # Unique, case-sensitive identifier to ensure idempotency of the
2568
+ # request.
2569
+ #
2570
+ # **A suitable default value is auto-generated.** You should normally
2571
+ # not need to pass this option.**
2572
+ #
2573
+ # @return [Types::UpdateCollectionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2574
+ #
2575
+ # * {Types::UpdateCollectionGroupResponse#update_collection_group_detail #update_collection_group_detail} => Types::UpdateCollectionGroupDetail
2576
+ #
2577
+ # @example Request syntax with placeholder values
2578
+ #
2579
+ # resp = client.update_collection_group({
2580
+ # id: "CollectionGroupId", # required
2581
+ # description: "UpdateCollectionGroupRequestDescriptionString",
2582
+ # capacity_limits: {
2583
+ # max_indexing_capacity_in_ocu: 1.0,
2584
+ # max_search_capacity_in_ocu: 1.0,
2585
+ # min_indexing_capacity_in_ocu: 1.0,
2586
+ # min_search_capacity_in_ocu: 1.0,
2587
+ # },
2588
+ # client_token: "ClientToken",
2589
+ # })
2590
+ #
2591
+ # @example Response structure
2592
+ #
2593
+ # resp.update_collection_group_detail.id #=> String
2594
+ # resp.update_collection_group_detail.arn #=> String
2595
+ # resp.update_collection_group_detail.name #=> String
2596
+ # resp.update_collection_group_detail.description #=> String
2597
+ # resp.update_collection_group_detail.capacity_limits.max_indexing_capacity_in_ocu #=> Float
2598
+ # resp.update_collection_group_detail.capacity_limits.max_search_capacity_in_ocu #=> Float
2599
+ # resp.update_collection_group_detail.capacity_limits.min_indexing_capacity_in_ocu #=> Float
2600
+ # resp.update_collection_group_detail.capacity_limits.min_search_capacity_in_ocu #=> Float
2601
+ # resp.update_collection_group_detail.created_date #=> Integer
2602
+ # resp.update_collection_group_detail.last_modified_date #=> Integer
2603
+ #
2604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateCollectionGroup AWS API Documentation
2605
+ #
2606
+ # @overload update_collection_group(params = {})
2607
+ # @param [Hash] params ({})
2608
+ def update_collection_group(params = {}, options = {})
2609
+ req = build_request(:update_collection_group, params)
2610
+ req.send_request(options)
2611
+ end
2612
+
2301
2613
  # Updates an existing index in an OpenSearch Serverless collection. This
2302
2614
  # operation allows you to modify the index schema, including adding new
2303
2615
  # fields or changing field mappings. You can also enable automatic
@@ -2656,7 +2968,7 @@ module Aws::OpenSearchServerless
2656
2968
  tracer: tracer
2657
2969
  )
2658
2970
  context[:gem_name] = 'aws-sdk-opensearchserverless'
2659
- context[:gem_version] = '1.52.0'
2971
+ context[:gem_version] = '1.53.0'
2660
2972
  Seahorse::Client::Request.new(handlers, context)
2661
2973
  end
2662
2974