aws-sdk-opensearchservice 1.28.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 486955bbfbdc75bf0ae51d79b6bd6e5eda39d38f0badcf57017b3b962913e0d1
4
- data.tar.gz: 4c62891723e567dc788c54940d60738e8ebf165de2bf37ccef2366d6a0034a7e
3
+ metadata.gz: 446fe024637fa0b8d45621d25a4d33a3c2f4aa7379397b350ae1ae5d79ac5699
4
+ data.tar.gz: 3843eb80798940499619824cc13f281ef61a1ebe6dab5aad7b059027ffa1f64b
5
5
  SHA512:
6
- metadata.gz: 41430658435c95cafe99e4e71512d357989d6a4ce7e151623edac23f5c76296c62291bc103052c1c02d8709f442a3760b7771ec36bee57aab9e2fbd964e15a34
7
- data.tar.gz: 3669e5c5d18f22f755b8c1b31e4622fc746f96cc906f9a15284c4402dbae6b1e33118b74e4f1b62e4b4bcc25e70fa2fd2df1c275e254a8ca830391b42c2dd0d2
6
+ metadata.gz: 29d11e674c56107ca53aa9dbb51b70f53372ed06d4028c25eadd54db327739cd6252a432801562330b1c563e9bf8bb95706288c472830f2d695ae262c9468cc9
7
+ data.tar.gz: b6d9240da7e0c7c377c9e95a5a514f853f2951cf861a567cb748d9b88086615dda16dd4b6500391bb7aa974143126a9d27ba36b1b42cbb6fd9dd06315531e446
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2023-10-26)
5
+ ------------------
6
+
7
+ * Feature - You can specify ipv4 or dualstack IPAddressType for cluster endpoints. If you specify IPAddressType as dualstack, the new endpoint will be visible under the 'EndpointV2' parameter and will support IPv4 and IPv6 requests. Whereas, the 'Endpoint' will continue to serve IPv4 requests.
8
+
9
+ 1.29.0 (2023-10-19)
10
+ ------------------
11
+
12
+ * Feature - Added Cluster Administrative options for node restart, opensearch process restart and opensearch dashboard restart for Multi-AZ without standby domains
13
+
4
14
  1.28.0 (2023-10-16)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
1
+ 1.30.0
@@ -630,6 +630,9 @@ module Aws::OpenSearchService
630
630
  # Identity and Access Management (IAM) policy document specifying the
631
631
  # access policies for the new domain.
632
632
  #
633
+ # @option params [String] :ip_address_type
634
+ # The type of IP addresses supported by the endpoint for the domain.
635
+ #
633
636
  # @option params [Types::SnapshotOptions] :snapshot_options
634
637
  # DEPRECATED. Container for the parameters required to configure
635
638
  # automated snapshots of domain indexes.
@@ -754,6 +757,7 @@ module Aws::OpenSearchService
754
757
  # throughput: 1,
755
758
  # },
756
759
  # access_policies: "PolicyDocument",
760
+ # ip_address_type: "ipv4", # accepts ipv4, dualstack
757
761
  # snapshot_options: {
758
762
  # automated_snapshot_start_hour: 1,
759
763
  # },
@@ -854,6 +858,7 @@ module Aws::OpenSearchService
854
858
  # resp.domain_status.created #=> Boolean
855
859
  # resp.domain_status.deleted #=> Boolean
856
860
  # resp.domain_status.endpoint #=> String
861
+ # resp.domain_status.endpoint_v2 #=> String
857
862
  # resp.domain_status.endpoints #=> Hash
858
863
  # resp.domain_status.endpoints["String"] #=> String
859
864
  # resp.domain_status.processing #=> Boolean
@@ -877,6 +882,7 @@ module Aws::OpenSearchService
877
882
  # resp.domain_status.ebs_options.iops #=> Integer
878
883
  # resp.domain_status.ebs_options.throughput #=> Integer
879
884
  # resp.domain_status.access_policies #=> String
885
+ # resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
880
886
  # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
881
887
  # resp.domain_status.vpc_options.vpc_id #=> String
882
888
  # resp.domain_status.vpc_options.subnet_ids #=> Array
@@ -1165,6 +1171,7 @@ module Aws::OpenSearchService
1165
1171
  # resp.domain_status.created #=> Boolean
1166
1172
  # resp.domain_status.deleted #=> Boolean
1167
1173
  # resp.domain_status.endpoint #=> String
1174
+ # resp.domain_status.endpoint_v2 #=> String
1168
1175
  # resp.domain_status.endpoints #=> Hash
1169
1176
  # resp.domain_status.endpoints["String"] #=> String
1170
1177
  # resp.domain_status.processing #=> Boolean
@@ -1188,6 +1195,7 @@ module Aws::OpenSearchService
1188
1195
  # resp.domain_status.ebs_options.iops #=> Integer
1189
1196
  # resp.domain_status.ebs_options.throughput #=> Integer
1190
1197
  # resp.domain_status.access_policies #=> String
1198
+ # resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
1191
1199
  # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
1192
1200
  # resp.domain_status.vpc_options.vpc_id #=> String
1193
1201
  # resp.domain_status.vpc_options.subnet_ids #=> Array
@@ -1446,6 +1454,7 @@ module Aws::OpenSearchService
1446
1454
  # resp.domain_status.created #=> Boolean
1447
1455
  # resp.domain_status.deleted #=> Boolean
1448
1456
  # resp.domain_status.endpoint #=> String
1457
+ # resp.domain_status.endpoint_v2 #=> String
1449
1458
  # resp.domain_status.endpoints #=> Hash
1450
1459
  # resp.domain_status.endpoints["String"] #=> String
1451
1460
  # resp.domain_status.processing #=> Boolean
@@ -1469,6 +1478,7 @@ module Aws::OpenSearchService
1469
1478
  # resp.domain_status.ebs_options.iops #=> Integer
1470
1479
  # resp.domain_status.ebs_options.throughput #=> Integer
1471
1480
  # resp.domain_status.access_policies #=> String
1481
+ # resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
1472
1482
  # resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
1473
1483
  # resp.domain_status.vpc_options.vpc_id #=> String
1474
1484
  # resp.domain_status.vpc_options.subnet_ids #=> Array
@@ -1695,6 +1705,12 @@ module Aws::OpenSearchService
1695
1705
  # resp.domain_config.access_policies.status.update_version #=> Integer
1696
1706
  # resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
1697
1707
  # resp.domain_config.access_policies.status.pending_deletion #=> Boolean
1708
+ # resp.domain_config.ip_address_type.options #=> String, one of "ipv4", "dualstack"
1709
+ # resp.domain_config.ip_address_type.status.creation_date #=> Time
1710
+ # resp.domain_config.ip_address_type.status.update_date #=> Time
1711
+ # resp.domain_config.ip_address_type.status.update_version #=> Integer
1712
+ # resp.domain_config.ip_address_type.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
1713
+ # resp.domain_config.ip_address_type.status.pending_deletion #=> Boolean
1698
1714
  # resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
1699
1715
  # resp.domain_config.snapshot_options.status.creation_date #=> Time
1700
1716
  # resp.domain_config.snapshot_options.status.update_date #=> Time
@@ -1940,6 +1956,7 @@ module Aws::OpenSearchService
1940
1956
  # resp.domain_status_list[0].created #=> Boolean
1941
1957
  # resp.domain_status_list[0].deleted #=> Boolean
1942
1958
  # resp.domain_status_list[0].endpoint #=> String
1959
+ # resp.domain_status_list[0].endpoint_v2 #=> String
1943
1960
  # resp.domain_status_list[0].endpoints #=> Hash
1944
1961
  # resp.domain_status_list[0].endpoints["String"] #=> String
1945
1962
  # resp.domain_status_list[0].processing #=> Boolean
@@ -1963,6 +1980,7 @@ module Aws::OpenSearchService
1963
1980
  # resp.domain_status_list[0].ebs_options.iops #=> Integer
1964
1981
  # resp.domain_status_list[0].ebs_options.throughput #=> Integer
1965
1982
  # resp.domain_status_list[0].access_policies #=> String
1983
+ # resp.domain_status_list[0].ip_address_type #=> String, one of "ipv4", "dualstack"
1966
1984
  # resp.domain_status_list[0].snapshot_options.automated_snapshot_start_hour #=> Integer
1967
1985
  # resp.domain_status_list[0].vpc_options.vpc_id #=> String
1968
1986
  # resp.domain_status_list[0].vpc_options.subnet_ids #=> Array
@@ -2073,6 +2091,7 @@ module Aws::OpenSearchService
2073
2091
  # resp.dry_run_config.created #=> Boolean
2074
2092
  # resp.dry_run_config.deleted #=> Boolean
2075
2093
  # resp.dry_run_config.endpoint #=> String
2094
+ # resp.dry_run_config.endpoint_v2 #=> String
2076
2095
  # resp.dry_run_config.endpoints #=> Hash
2077
2096
  # resp.dry_run_config.endpoints["String"] #=> String
2078
2097
  # resp.dry_run_config.processing #=> Boolean
@@ -2096,6 +2115,7 @@ module Aws::OpenSearchService
2096
2115
  # resp.dry_run_config.ebs_options.iops #=> Integer
2097
2116
  # resp.dry_run_config.ebs_options.throughput #=> Integer
2098
2117
  # resp.dry_run_config.access_policies #=> String
2118
+ # resp.dry_run_config.ip_address_type #=> String, one of "ipv4", "dualstack"
2099
2119
  # resp.dry_run_config.snapshot_options.automated_snapshot_start_hour #=> Integer
2100
2120
  # resp.dry_run_config.vpc_options.vpc_id #=> String
2101
2121
  # resp.dry_run_config.vpc_options.subnet_ids #=> Array
@@ -2678,6 +2698,48 @@ module Aws::OpenSearchService
2678
2698
  req.send_request(options)
2679
2699
  end
2680
2700
 
2701
+ # The status of the maintenance action.
2702
+ #
2703
+ # @option params [required, String] :domain_name
2704
+ # The name of the domain.
2705
+ #
2706
+ # @option params [required, String] :maintenance_id
2707
+ # The request ID of the maintenance action.
2708
+ #
2709
+ # @return [Types::GetDomainMaintenanceStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2710
+ #
2711
+ # * {Types::GetDomainMaintenanceStatusResponse#status #status} => String
2712
+ # * {Types::GetDomainMaintenanceStatusResponse#status_message #status_message} => String
2713
+ # * {Types::GetDomainMaintenanceStatusResponse#node_id #node_id} => String
2714
+ # * {Types::GetDomainMaintenanceStatusResponse#action #action} => String
2715
+ # * {Types::GetDomainMaintenanceStatusResponse#created_at #created_at} => Time
2716
+ # * {Types::GetDomainMaintenanceStatusResponse#updated_at #updated_at} => Time
2717
+ #
2718
+ # @example Request syntax with placeholder values
2719
+ #
2720
+ # resp = client.get_domain_maintenance_status({
2721
+ # domain_name: "DomainName", # required
2722
+ # maintenance_id: "RequestId", # required
2723
+ # })
2724
+ #
2725
+ # @example Response structure
2726
+ #
2727
+ # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "TIMED_OUT"
2728
+ # resp.status_message #=> String
2729
+ # resp.node_id #=> String
2730
+ # resp.action #=> String, one of "REBOOT_NODE", "RESTART_SEARCH_PROCESS", "RESTART_DASHBOARD"
2731
+ # resp.created_at #=> Time
2732
+ # resp.updated_at #=> Time
2733
+ #
2734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatus AWS API Documentation
2735
+ #
2736
+ # @overload get_domain_maintenance_status(params = {})
2737
+ # @param [Hash] params ({})
2738
+ def get_domain_maintenance_status(params = {}, options = {})
2739
+ req = build_request(:get_domain_maintenance_status, params)
2740
+ req.send_request(options)
2741
+ end
2742
+
2681
2743
  # Returns a list of Amazon OpenSearch Service package versions, along
2682
2744
  # with their creation time, commit message, and plugin properties (if
2683
2745
  # the package is a zip plugin package). For more information, see
@@ -2826,6 +2888,66 @@ module Aws::OpenSearchService
2826
2888
  req.send_request(options)
2827
2889
  end
2828
2890
 
2891
+ # A list of maintenance actions for the domain.
2892
+ #
2893
+ # @option params [required, String] :domain_name
2894
+ # The name of the domain.
2895
+ #
2896
+ # @option params [String] :action
2897
+ # The name of the action.
2898
+ #
2899
+ # @option params [String] :status
2900
+ # The status of the action.
2901
+ #
2902
+ # @option params [Integer] :max_results
2903
+ # An optional parameter that specifies the maximum number of results to
2904
+ # return. You can use `nextToken` to get the next page of results.
2905
+ #
2906
+ # @option params [String] :next_token
2907
+ # If your initial `ListDomainMaintenances` operation returns a
2908
+ # `nextToken`, include the returned `nextToken` in subsequent
2909
+ # `ListDomainMaintenances` operations, which returns results in the next
2910
+ # page.
2911
+ #
2912
+ # @return [Types::ListDomainMaintenancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2913
+ #
2914
+ # * {Types::ListDomainMaintenancesResponse#domain_maintenances #domain_maintenances} => Array<Types::DomainMaintenanceDetails>
2915
+ # * {Types::ListDomainMaintenancesResponse#next_token #next_token} => String
2916
+ #
2917
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2918
+ #
2919
+ # @example Request syntax with placeholder values
2920
+ #
2921
+ # resp = client.list_domain_maintenances({
2922
+ # domain_name: "DomainName", # required
2923
+ # action: "REBOOT_NODE", # accepts REBOOT_NODE, RESTART_SEARCH_PROCESS, RESTART_DASHBOARD
2924
+ # status: "PENDING", # accepts PENDING, IN_PROGRESS, COMPLETED, FAILED, TIMED_OUT
2925
+ # max_results: 1,
2926
+ # next_token: "NextToken",
2927
+ # })
2928
+ #
2929
+ # @example Response structure
2930
+ #
2931
+ # resp.domain_maintenances #=> Array
2932
+ # resp.domain_maintenances[0].maintenance_id #=> String
2933
+ # resp.domain_maintenances[0].domain_name #=> String
2934
+ # resp.domain_maintenances[0].action #=> String, one of "REBOOT_NODE", "RESTART_SEARCH_PROCESS", "RESTART_DASHBOARD"
2935
+ # resp.domain_maintenances[0].node_id #=> String
2936
+ # resp.domain_maintenances[0].status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "TIMED_OUT"
2937
+ # resp.domain_maintenances[0].status_message #=> String
2938
+ # resp.domain_maintenances[0].created_at #=> Time
2939
+ # resp.domain_maintenances[0].updated_at #=> Time
2940
+ # resp.next_token #=> String
2941
+ #
2942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenances AWS API Documentation
2943
+ #
2944
+ # @overload list_domain_maintenances(params = {})
2945
+ # @param [Hash] params ({})
2946
+ def list_domain_maintenances(params = {}, options = {})
2947
+ req = build_request(:list_domain_maintenances, params)
2948
+ req.send_request(options)
2949
+ end
2950
+
2829
2951
  # Returns the names of all Amazon OpenSearch Service domains owned by
2830
2952
  # the current user in the active Region.
2831
2953
  #
@@ -3442,6 +3564,44 @@ module Aws::OpenSearchService
3442
3564
  req.send_request(options)
3443
3565
  end
3444
3566
 
3567
+ # Starts the node maintenance process on the data node. These processes
3568
+ # can include a node reboot, an Opensearch or Elasticsearch process
3569
+ # restart, or a Dashboard or Kibana restart.
3570
+ #
3571
+ # @option params [required, String] :domain_name
3572
+ # The name of the domain.
3573
+ #
3574
+ # @option params [required, String] :action
3575
+ # The name of the action.
3576
+ #
3577
+ # @option params [String] :node_id
3578
+ # The ID of the data node.
3579
+ #
3580
+ # @return [Types::StartDomainMaintenanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3581
+ #
3582
+ # * {Types::StartDomainMaintenanceResponse#maintenance_id #maintenance_id} => String
3583
+ #
3584
+ # @example Request syntax with placeholder values
3585
+ #
3586
+ # resp = client.start_domain_maintenance({
3587
+ # domain_name: "DomainName", # required
3588
+ # action: "REBOOT_NODE", # required, accepts REBOOT_NODE, RESTART_SEARCH_PROCESS, RESTART_DASHBOARD
3589
+ # node_id: "NodeId",
3590
+ # })
3591
+ #
3592
+ # @example Response structure
3593
+ #
3594
+ # resp.maintenance_id #=> String
3595
+ #
3596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenance AWS API Documentation
3597
+ #
3598
+ # @overload start_domain_maintenance(params = {})
3599
+ # @param [Hash] params ({})
3600
+ def start_domain_maintenance(params = {}, options = {})
3601
+ req = build_request(:start_domain_maintenance, params)
3602
+ req.send_request(options)
3603
+ end
3604
+
3445
3605
  # Schedules a service software update for an Amazon OpenSearch Service
3446
3606
  # domain. For more information, see [Service software updates in Amazon
3447
3607
  # OpenSearch Service][1].
@@ -3571,6 +3731,9 @@ module Aws::OpenSearchService
3571
3731
  # Identity and Access Management (IAM) access policy as a JSON-formatted
3572
3732
  # string.
3573
3733
  #
3734
+ # @option params [String] :ip_address_type
3735
+ # The type of IP addresses supported by the endpoint for the domain.
3736
+ #
3574
3737
  # @option params [Hash<String,Types::LogPublishingOption>] :log_publishing_options
3575
3738
  # Options to publish OpenSearch logs to Amazon CloudWatch Logs.
3576
3739
  #
@@ -3667,6 +3830,7 @@ module Aws::OpenSearchService
3667
3830
  # "String" => "String",
3668
3831
  # },
3669
3832
  # access_policies: "PolicyDocument",
3833
+ # ip_address_type: "ipv4", # accepts ipv4, dualstack
3670
3834
  # log_publishing_options: {
3671
3835
  # "INDEX_SLOW_LOGS" => {
3672
3836
  # cloud_watch_logs_log_group_arn: "CloudWatchLogsLogGroupArn",
@@ -3781,6 +3945,12 @@ module Aws::OpenSearchService
3781
3945
  # resp.domain_config.access_policies.status.update_version #=> Integer
3782
3946
  # resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
3783
3947
  # resp.domain_config.access_policies.status.pending_deletion #=> Boolean
3948
+ # resp.domain_config.ip_address_type.options #=> String, one of "ipv4", "dualstack"
3949
+ # resp.domain_config.ip_address_type.status.creation_date #=> Time
3950
+ # resp.domain_config.ip_address_type.status.update_date #=> Time
3951
+ # resp.domain_config.ip_address_type.status.update_version #=> Integer
3952
+ # resp.domain_config.ip_address_type.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
3953
+ # resp.domain_config.ip_address_type.status.pending_deletion #=> Boolean
3784
3954
  # resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
3785
3955
  # resp.domain_config.snapshot_options.status.creation_date #=> Time
3786
3956
  # resp.domain_config.snapshot_options.status.update_date #=> Time
@@ -4180,7 +4350,7 @@ module Aws::OpenSearchService
4180
4350
  params: params,
4181
4351
  config: config)
4182
4352
  context[:gem_name] = 'aws-sdk-opensearchservice'
4183
- context[:gem_version] = '1.28.0'
4353
+ context[:gem_version] = '1.30.0'
4184
4354
  Seahorse::Client::Request.new(handlers, context)
4185
4355
  end
4186
4356
 
@@ -155,6 +155,8 @@ module Aws::OpenSearchService
155
155
  DomainInfo = Shapes::StructureShape.new(name: 'DomainInfo')
156
156
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
157
157
  DomainInformationContainer = Shapes::StructureShape.new(name: 'DomainInformationContainer')
158
+ DomainMaintenanceDetails = Shapes::StructureShape.new(name: 'DomainMaintenanceDetails')
159
+ DomainMaintenanceList = Shapes::ListShape.new(name: 'DomainMaintenanceList')
158
160
  DomainName = Shapes::StringShape.new(name: 'DomainName')
159
161
  DomainNameFqdn = Shapes::StringShape.new(name: 'DomainNameFqdn')
160
162
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
@@ -191,12 +193,16 @@ module Aws::OpenSearchService
191
193
  GUID = Shapes::StringShape.new(name: 'GUID')
192
194
  GetCompatibleVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleVersionsRequest')
193
195
  GetCompatibleVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleVersionsResponse')
196
+ GetDomainMaintenanceStatusRequest = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusRequest')
197
+ GetDomainMaintenanceStatusResponse = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusResponse')
194
198
  GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
195
199
  GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
196
200
  GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
197
201
  GetUpgradeHistoryResponse = Shapes::StructureShape.new(name: 'GetUpgradeHistoryResponse')
198
202
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
199
203
  GetUpgradeStatusResponse = Shapes::StructureShape.new(name: 'GetUpgradeStatusResponse')
204
+ IPAddressType = Shapes::StringShape.new(name: 'IPAddressType')
205
+ IPAddressTypeStatus = Shapes::StructureShape.new(name: 'IPAddressTypeStatus')
200
206
  IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
201
207
  InboundConnection = Shapes::StructureShape.new(name: 'InboundConnection')
202
208
  InboundConnectionStatus = Shapes::StructureShape.new(name: 'InboundConnectionStatus')
@@ -225,6 +231,8 @@ module Aws::OpenSearchService
225
231
  LimitValueList = Shapes::ListShape.new(name: 'LimitValueList')
226
232
  Limits = Shapes::StructureShape.new(name: 'Limits')
227
233
  LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
234
+ ListDomainMaintenancesRequest = Shapes::StructureShape.new(name: 'ListDomainMaintenancesRequest')
235
+ ListDomainMaintenancesResponse = Shapes::StructureShape.new(name: 'ListDomainMaintenancesResponse')
228
236
  ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
229
237
  ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
230
238
  ListDomainsForPackageRequest = Shapes::StructureShape.new(name: 'ListDomainsForPackageRequest')
@@ -250,6 +258,9 @@ module Aws::OpenSearchService
250
258
  LogPublishingOptionsStatus = Shapes::StructureShape.new(name: 'LogPublishingOptionsStatus')
251
259
  LogType = Shapes::StringShape.new(name: 'LogType')
252
260
  Long = Shapes::IntegerShape.new(name: 'Long')
261
+ MaintenanceStatus = Shapes::StringShape.new(name: 'MaintenanceStatus')
262
+ MaintenanceStatusMessage = Shapes::StringShape.new(name: 'MaintenanceStatusMessage')
263
+ MaintenanceType = Shapes::StringShape.new(name: 'MaintenanceType')
253
264
  MasterNodeStatus = Shapes::StringShape.new(name: 'MasterNodeStatus')
254
265
  MasterUserOptions = Shapes::StructureShape.new(name: 'MasterUserOptions')
255
266
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -307,6 +318,7 @@ module Aws::OpenSearchService
307
318
  RejectInboundConnectionRequest = Shapes::StructureShape.new(name: 'RejectInboundConnectionRequest')
308
319
  RejectInboundConnectionResponse = Shapes::StructureShape.new(name: 'RejectInboundConnectionResponse')
309
320
  RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
321
+ RequestId = Shapes::StringShape.new(name: 'RequestId')
310
322
  ReservationToken = Shapes::StringShape.new(name: 'ReservationToken')
311
323
  ReservedInstance = Shapes::StructureShape.new(name: 'ReservedInstance')
312
324
  ReservedInstanceList = Shapes::ListShape.new(name: 'ReservedInstanceList')
@@ -344,6 +356,8 @@ module Aws::OpenSearchService
344
356
  SoftwareUpdateOptions = Shapes::StructureShape.new(name: 'SoftwareUpdateOptions')
345
357
  SoftwareUpdateOptionsStatus = Shapes::StructureShape.new(name: 'SoftwareUpdateOptionsStatus')
346
358
  StartAt = Shapes::TimestampShape.new(name: 'StartAt')
359
+ StartDomainMaintenanceRequest = Shapes::StructureShape.new(name: 'StartDomainMaintenanceRequest')
360
+ StartDomainMaintenanceResponse = Shapes::StructureShape.new(name: 'StartDomainMaintenanceResponse')
347
361
  StartServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateRequest')
348
362
  StartServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateResponse')
349
363
  StartTimeHours = Shapes::IntegerShape.new(name: 'StartTimeHours')
@@ -618,6 +632,7 @@ module Aws::OpenSearchService
618
632
  CreateDomainRequest.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, location_name: "ClusterConfig"))
619
633
  CreateDomainRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
620
634
  CreateDomainRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
635
+ CreateDomainRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
621
636
  CreateDomainRequest.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
622
637
  CreateDomainRequest.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCOptions, location_name: "VPCOptions"))
623
638
  CreateDomainRequest.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
@@ -853,6 +868,7 @@ module Aws::OpenSearchService
853
868
  DomainConfig.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfigStatus, location_name: "ClusterConfig"))
854
869
  DomainConfig.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptionsStatus, location_name: "EBSOptions"))
855
870
  DomainConfig.add_member(:access_policies, Shapes::ShapeRef.new(shape: AccessPoliciesStatus, location_name: "AccessPolicies"))
871
+ DomainConfig.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressTypeStatus, location_name: "IPAddressType"))
856
872
  DomainConfig.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptionsStatus, location_name: "SnapshotOptions"))
857
873
  DomainConfig.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCDerivedInfoStatus, location_name: "VPCOptions"))
858
874
  DomainConfig.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptionsStatus, location_name: "CognitoOptions"))
@@ -888,6 +904,18 @@ module Aws::OpenSearchService
888
904
  DomainInformationContainer.add_member(:aws_domain_information, Shapes::ShapeRef.new(shape: AWSDomainInformation, location_name: "AWSDomainInformation"))
889
905
  DomainInformationContainer.struct_class = Types::DomainInformationContainer
890
906
 
907
+ DomainMaintenanceDetails.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "MaintenanceId"))
908
+ DomainMaintenanceDetails.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
909
+ DomainMaintenanceDetails.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location_name: "Action"))
910
+ DomainMaintenanceDetails.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
911
+ DomainMaintenanceDetails.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "Status"))
912
+ DomainMaintenanceDetails.add_member(:status_message, Shapes::ShapeRef.new(shape: MaintenanceStatusMessage, location_name: "StatusMessage"))
913
+ DomainMaintenanceDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "CreatedAt"))
914
+ DomainMaintenanceDetails.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "UpdatedAt"))
915
+ DomainMaintenanceDetails.struct_class = Types::DomainMaintenanceDetails
916
+
917
+ DomainMaintenanceList.member = Shapes::ShapeRef.new(shape: DomainMaintenanceDetails)
918
+
891
919
  DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
892
920
 
893
921
  DomainNodesStatus.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
@@ -921,6 +949,7 @@ module Aws::OpenSearchService
921
949
  DomainStatus.add_member(:created, Shapes::ShapeRef.new(shape: Boolean, location_name: "Created"))
922
950
  DomainStatus.add_member(:deleted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Deleted"))
923
951
  DomainStatus.add_member(:endpoint, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "Endpoint"))
952
+ DomainStatus.add_member(:endpoint_v2, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "EndpointV2"))
924
953
  DomainStatus.add_member(:endpoints, Shapes::ShapeRef.new(shape: EndpointsMap, location_name: "Endpoints"))
925
954
  DomainStatus.add_member(:processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "Processing"))
926
955
  DomainStatus.add_member(:upgrade_processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpgradeProcessing"))
@@ -928,6 +957,7 @@ module Aws::OpenSearchService
928
957
  DomainStatus.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, required: true, location_name: "ClusterConfig"))
929
958
  DomainStatus.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
930
959
  DomainStatus.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
960
+ DomainStatus.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
931
961
  DomainStatus.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
932
962
  DomainStatus.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCDerivedInfo, location_name: "VPCOptions"))
933
963
  DomainStatus.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
@@ -1004,6 +1034,18 @@ module Aws::OpenSearchService
1004
1034
  GetCompatibleVersionsResponse.add_member(:compatible_versions, Shapes::ShapeRef.new(shape: CompatibleVersionsList, location_name: "CompatibleVersions"))
1005
1035
  GetCompatibleVersionsResponse.struct_class = Types::GetCompatibleVersionsResponse
1006
1036
 
1037
+ GetDomainMaintenanceStatusRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1038
+ GetDomainMaintenanceStatusRequest.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location: "querystring", location_name: "maintenanceId"))
1039
+ GetDomainMaintenanceStatusRequest.struct_class = Types::GetDomainMaintenanceStatusRequest
1040
+
1041
+ GetDomainMaintenanceStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "Status"))
1042
+ GetDomainMaintenanceStatusResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: MaintenanceStatusMessage, location_name: "StatusMessage"))
1043
+ GetDomainMaintenanceStatusResponse.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
1044
+ GetDomainMaintenanceStatusResponse.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location_name: "Action"))
1045
+ GetDomainMaintenanceStatusResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "CreatedAt"))
1046
+ GetDomainMaintenanceStatusResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "UpdatedAt"))
1047
+ GetDomainMaintenanceStatusResponse.struct_class = Types::GetDomainMaintenanceStatusResponse
1048
+
1007
1049
  GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
1008
1050
  GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1009
1051
  GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1031,6 +1073,10 @@ module Aws::OpenSearchService
1031
1073
  GetUpgradeStatusResponse.add_member(:upgrade_name, Shapes::ShapeRef.new(shape: UpgradeName, location_name: "UpgradeName"))
1032
1074
  GetUpgradeStatusResponse.struct_class = Types::GetUpgradeStatusResponse
1033
1075
 
1076
+ IPAddressTypeStatus.add_member(:options, Shapes::ShapeRef.new(shape: IPAddressType, required: true, location_name: "Options"))
1077
+ IPAddressTypeStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1078
+ IPAddressTypeStatus.struct_class = Types::IPAddressTypeStatus
1079
+
1034
1080
  InboundConnection.add_member(:local_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, location_name: "LocalDomainInfo"))
1035
1081
  InboundConnection.add_member(:remote_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, location_name: "RemoteDomainInfo"))
1036
1082
  InboundConnection.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "ConnectionId"))
@@ -1085,6 +1131,17 @@ module Aws::OpenSearchService
1085
1131
  LimitsByRole.key = Shapes::ShapeRef.new(shape: InstanceRole)
1086
1132
  LimitsByRole.value = Shapes::ShapeRef.new(shape: Limits)
1087
1133
 
1134
+ ListDomainMaintenancesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1135
+ ListDomainMaintenancesRequest.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location: "querystring", location_name: "action"))
1136
+ ListDomainMaintenancesRequest.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location: "querystring", location_name: "status"))
1137
+ ListDomainMaintenancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1138
+ ListDomainMaintenancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1139
+ ListDomainMaintenancesRequest.struct_class = Types::ListDomainMaintenancesRequest
1140
+
1141
+ ListDomainMaintenancesResponse.add_member(:domain_maintenances, Shapes::ShapeRef.new(shape: DomainMaintenanceList, location_name: "DomainMaintenances"))
1142
+ ListDomainMaintenancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1143
+ ListDomainMaintenancesResponse.struct_class = Types::ListDomainMaintenancesResponse
1144
+
1088
1145
  ListDomainNamesRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location: "querystring", location_name: "engineType"))
1089
1146
  ListDomainNamesRequest.struct_class = Types::ListDomainNamesRequest
1090
1147
 
@@ -1390,6 +1447,14 @@ module Aws::OpenSearchService
1390
1447
  SoftwareUpdateOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
1391
1448
  SoftwareUpdateOptionsStatus.struct_class = Types::SoftwareUpdateOptionsStatus
1392
1449
 
1450
+ StartDomainMaintenanceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1451
+ StartDomainMaintenanceRequest.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, required: true, location_name: "Action"))
1452
+ StartDomainMaintenanceRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
1453
+ StartDomainMaintenanceRequest.struct_class = Types::StartDomainMaintenanceRequest
1454
+
1455
+ StartDomainMaintenanceResponse.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "MaintenanceId"))
1456
+ StartDomainMaintenanceResponse.struct_class = Types::StartDomainMaintenanceResponse
1457
+
1393
1458
  StartServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
1394
1459
  StartServiceSoftwareUpdateRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, location_name: "ScheduleAt"))
1395
1460
  StartServiceSoftwareUpdateRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
@@ -1427,6 +1492,7 @@ module Aws::OpenSearchService
1427
1492
  UpdateDomainConfigRequest.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
1428
1493
  UpdateDomainConfigRequest.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
1429
1494
  UpdateDomainConfigRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
1495
+ UpdateDomainConfigRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
1430
1496
  UpdateDomainConfigRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
1431
1497
  UpdateDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
1432
1498
  UpdateDomainConfigRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
@@ -2002,6 +2068,19 @@ module Aws::OpenSearchService
2002
2068
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
2003
2069
  end)
2004
2070
 
2071
+ api.add_operation(:get_domain_maintenance_status, Seahorse::Model::Operation.new.tap do |o|
2072
+ o.name = "GetDomainMaintenanceStatus"
2073
+ o.http_method = "GET"
2074
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance"
2075
+ o.input = Shapes::ShapeRef.new(shape: GetDomainMaintenanceStatusRequest)
2076
+ o.output = Shapes::ShapeRef.new(shape: GetDomainMaintenanceStatusResponse)
2077
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2078
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2079
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2080
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2081
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2082
+ end)
2083
+
2005
2084
  api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
2006
2085
  o.name = "GetPackageVersionHistory"
2007
2086
  o.http_method = "GET"
@@ -2053,6 +2132,25 @@ module Aws::OpenSearchService
2053
2132
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
2054
2133
  end)
2055
2134
 
2135
+ api.add_operation(:list_domain_maintenances, Seahorse::Model::Operation.new.tap do |o|
2136
+ o.name = "ListDomainMaintenances"
2137
+ o.http_method = "GET"
2138
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenances"
2139
+ o.input = Shapes::ShapeRef.new(shape: ListDomainMaintenancesRequest)
2140
+ o.output = Shapes::ShapeRef.new(shape: ListDomainMaintenancesResponse)
2141
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2142
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2143
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2144
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2145
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2146
+ o[:pager] = Aws::Pager.new(
2147
+ limit_key: "max_results",
2148
+ tokens: {
2149
+ "next_token" => "next_token"
2150
+ }
2151
+ )
2152
+ end)
2153
+
2056
2154
  api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
2057
2155
  o.name = "ListDomainNames"
2058
2156
  o.http_method = "GET"
@@ -2251,6 +2349,19 @@ module Aws::OpenSearchService
2251
2349
  o.errors << Shapes::ShapeRef.new(shape: BaseException)
2252
2350
  end)
2253
2351
 
2352
+ api.add_operation(:start_domain_maintenance, Seahorse::Model::Operation.new.tap do |o|
2353
+ o.name = "StartDomainMaintenance"
2354
+ o.http_method = "POST"
2355
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance"
2356
+ o.input = Shapes::ShapeRef.new(shape: StartDomainMaintenanceRequest)
2357
+ o.output = Shapes::ShapeRef.new(shape: StartDomainMaintenanceResponse)
2358
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2359
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2360
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2361
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2362
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2363
+ end)
2364
+
2254
2365
  api.add_operation(:start_service_software_update, Seahorse::Model::Operation.new.tap do |o|
2255
2366
  o.name = "StartServiceSoftwareUpdate"
2256
2367
  o.http_method = "POST"
@@ -32,13 +32,22 @@ module Aws::OpenSearchService
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
39
  end
40
40
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
41
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
43
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.aws", headers: {}, properties: {})
44
+ end
45
+ if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
46
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
47
+ end
48
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
49
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.aws", headers: {}, properties: {})
50
+ end
42
51
  return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
52
  end
44
53
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
@@ -446,6 +446,20 @@ module Aws::OpenSearchService
446
446
  end
447
447
  end
448
448
 
449
+ class GetDomainMaintenanceStatus
450
+ def self.build(context)
451
+ unless context.config.regional_endpoint
452
+ endpoint = context.config.endpoint.to_s
453
+ end
454
+ Aws::OpenSearchService::EndpointParameters.new(
455
+ region: context.config.region,
456
+ use_dual_stack: context.config.use_dualstack_endpoint,
457
+ use_fips: context.config.use_fips_endpoint,
458
+ endpoint: endpoint,
459
+ )
460
+ end
461
+ end
462
+
449
463
  class GetPackageVersionHistory
450
464
  def self.build(context)
451
465
  unless context.config.regional_endpoint
@@ -488,6 +502,20 @@ module Aws::OpenSearchService
488
502
  end
489
503
  end
490
504
 
505
+ class ListDomainMaintenances
506
+ def self.build(context)
507
+ unless context.config.regional_endpoint
508
+ endpoint = context.config.endpoint.to_s
509
+ end
510
+ Aws::OpenSearchService::EndpointParameters.new(
511
+ region: context.config.region,
512
+ use_dual_stack: context.config.use_dualstack_endpoint,
513
+ use_fips: context.config.use_fips_endpoint,
514
+ endpoint: endpoint,
515
+ )
516
+ end
517
+ end
518
+
491
519
  class ListDomainNames
492
520
  def self.build(context)
493
521
  unless context.config.regional_endpoint
@@ -684,6 +712,20 @@ module Aws::OpenSearchService
684
712
  end
685
713
  end
686
714
 
715
+ class StartDomainMaintenance
716
+ def self.build(context)
717
+ unless context.config.regional_endpoint
718
+ endpoint = context.config.endpoint.to_s
719
+ end
720
+ Aws::OpenSearchService::EndpointParameters.new(
721
+ region: context.config.region,
722
+ use_dual_stack: context.config.use_dualstack_endpoint,
723
+ use_fips: context.config.use_fips_endpoint,
724
+ endpoint: endpoint,
725
+ )
726
+ end
727
+ end
728
+
687
729
  class StartServiceSoftwareUpdate
688
730
  def self.build(context)
689
731
  unless context.config.regional_endpoint
@@ -118,12 +118,16 @@ module Aws::OpenSearchService
118
118
  Aws::OpenSearchService::Endpoints::DissociatePackage.build(context)
119
119
  when :get_compatible_versions
120
120
  Aws::OpenSearchService::Endpoints::GetCompatibleVersions.build(context)
121
+ when :get_domain_maintenance_status
122
+ Aws::OpenSearchService::Endpoints::GetDomainMaintenanceStatus.build(context)
121
123
  when :get_package_version_history
122
124
  Aws::OpenSearchService::Endpoints::GetPackageVersionHistory.build(context)
123
125
  when :get_upgrade_history
124
126
  Aws::OpenSearchService::Endpoints::GetUpgradeHistory.build(context)
125
127
  when :get_upgrade_status
126
128
  Aws::OpenSearchService::Endpoints::GetUpgradeStatus.build(context)
129
+ when :list_domain_maintenances
130
+ Aws::OpenSearchService::Endpoints::ListDomainMaintenances.build(context)
127
131
  when :list_domain_names
128
132
  Aws::OpenSearchService::Endpoints::ListDomainNames.build(context)
129
133
  when :list_domains_for_package
@@ -152,6 +156,8 @@ module Aws::OpenSearchService
152
156
  Aws::OpenSearchService::Endpoints::RemoveTags.build(context)
153
157
  when :revoke_vpc_endpoint_access
154
158
  Aws::OpenSearchService::Endpoints::RevokeVpcEndpointAccess.build(context)
159
+ when :start_domain_maintenance
160
+ Aws::OpenSearchService::Endpoints::StartDomainMaintenance.build(context)
155
161
  when :start_service_software_update
156
162
  Aws::OpenSearchService::Endpoints::StartServiceSoftwareUpdate.build(context)
157
163
  when :update_domain_config
@@ -861,8 +861,8 @@ module Aws::OpenSearchService
861
861
  # @return [String]
862
862
  #
863
863
  # @!attribute [rw] instance_count
864
- # Number of dedicated master nodes in the cluster. This number must be
865
- # greater than 1, otherwise you receive a validation exception.
864
+ # Number of data nodes in the cluster. This number must be greater
865
+ # than 1, otherwise you receive a validation exception.
866
866
  # @return [Integer]
867
867
  #
868
868
  # @!attribute [rw] dedicated_master_enabled
@@ -1121,6 +1121,10 @@ module Aws::OpenSearchService
1121
1121
  # access policies for the new domain.
1122
1122
  # @return [String]
1123
1123
  #
1124
+ # @!attribute [rw] ip_address_type
1125
+ # The type of IP addresses supported by the endpoint for the domain.
1126
+ # @return [String]
1127
+ #
1124
1128
  # @!attribute [rw] snapshot_options
1125
1129
  # DEPRECATED. Container for the parameters required to configure
1126
1130
  # automated snapshots of domain indexes.
@@ -1231,6 +1235,7 @@ module Aws::OpenSearchService
1231
1235
  :cluster_config,
1232
1236
  :ebs_options,
1233
1237
  :access_policies,
1238
+ :ip_address_type,
1234
1239
  :snapshot_options,
1235
1240
  :vpc_options,
1236
1241
  :cognito_options,
@@ -2385,6 +2390,10 @@ module Aws::OpenSearchService
2385
2390
  # Specifies the access policies for the domain.
2386
2391
  # @return [Types::AccessPoliciesStatus]
2387
2392
  #
2393
+ # @!attribute [rw] ip_address_type
2394
+ # The type of IP addresses supported by the endpoint for the domain.
2395
+ # @return [Types::IPAddressTypeStatus]
2396
+ #
2388
2397
  # @!attribute [rw] snapshot_options
2389
2398
  # DEPRECATED. Container for parameters required to configure automated
2390
2399
  # snapshots of domain indexes.
@@ -2453,6 +2462,7 @@ module Aws::OpenSearchService
2453
2462
  :cluster_config,
2454
2463
  :ebs_options,
2455
2464
  :access_policies,
2465
+ :ip_address_type,
2456
2466
  :snapshot_options,
2457
2467
  :vpc_options,
2458
2468
  :cognito_options,
@@ -2569,6 +2579,55 @@ module Aws::OpenSearchService
2569
2579
  include Aws::Structure
2570
2580
  end
2571
2581
 
2582
+ # Container for the domain maintenance details.
2583
+ #
2584
+ # @!attribute [rw] maintenance_id
2585
+ # The ID of the requested action.
2586
+ # @return [String]
2587
+ #
2588
+ # @!attribute [rw] domain_name
2589
+ # The name of the domain.
2590
+ # @return [String]
2591
+ #
2592
+ # @!attribute [rw] action
2593
+ # The name of the action.
2594
+ # @return [String]
2595
+ #
2596
+ # @!attribute [rw] node_id
2597
+ # The ID of the data node.
2598
+ # @return [String]
2599
+ #
2600
+ # @!attribute [rw] status
2601
+ # The status of the action.
2602
+ # @return [String]
2603
+ #
2604
+ # @!attribute [rw] status_message
2605
+ # The status message for the action.
2606
+ # @return [String]
2607
+ #
2608
+ # @!attribute [rw] created_at
2609
+ # The time at which the action was created.
2610
+ # @return [Time]
2611
+ #
2612
+ # @!attribute [rw] updated_at
2613
+ # The time at which the action was updated.
2614
+ # @return [Time]
2615
+ #
2616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainMaintenanceDetails AWS API Documentation
2617
+ #
2618
+ class DomainMaintenanceDetails < Struct.new(
2619
+ :maintenance_id,
2620
+ :domain_name,
2621
+ :action,
2622
+ :node_id,
2623
+ :status,
2624
+ :status_message,
2625
+ :created_at,
2626
+ :updated_at)
2627
+ SENSITIVE = []
2628
+ include Aws::Structure
2629
+ end
2630
+
2572
2631
  # Container for information about nodes on the domain.
2573
2632
  #
2574
2633
  # @!attribute [rw] node_id
@@ -2719,6 +2778,13 @@ module Aws::OpenSearchService
2719
2778
  # upload requests to the domain.
2720
2779
  # @return [String]
2721
2780
  #
2781
+ # @!attribute [rw] endpoint_v2
2782
+ # The domain endpoint to which index and search requests are
2783
+ # submitted. For example,
2784
+ # `search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com` or
2785
+ # `doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com`.
2786
+ # @return [String]
2787
+ #
2722
2788
  # @!attribute [rw] endpoints
2723
2789
  # The key-value pair that exists if the OpenSearch Service domain uses
2724
2790
  # VPC endpoints.. Example `key, value`:
@@ -2755,6 +2821,10 @@ module Aws::OpenSearchService
2755
2821
  # access policies for the domain.
2756
2822
  # @return [String]
2757
2823
  #
2824
+ # @!attribute [rw] ip_address_type
2825
+ # The type of IP addresses supported by the endpoint for the domain.
2826
+ # @return [String]
2827
+ #
2758
2828
  # @!attribute [rw] snapshot_options
2759
2829
  # DEPRECATED. Container for parameters required to configure automated
2760
2830
  # snapshots of domain indexes.
@@ -2824,6 +2894,7 @@ module Aws::OpenSearchService
2824
2894
  :created,
2825
2895
  :deleted,
2826
2896
  :endpoint,
2897
+ :endpoint_v2,
2827
2898
  :endpoints,
2828
2899
  :processing,
2829
2900
  :upgrade_processing,
@@ -2831,6 +2902,7 @@ module Aws::OpenSearchService
2831
2902
  :cluster_config,
2832
2903
  :ebs_options,
2833
2904
  :access_policies,
2905
+ :ip_address_type,
2834
2906
  :snapshot_options,
2835
2907
  :vpc_options,
2836
2908
  :cognito_options,
@@ -3127,6 +3199,66 @@ module Aws::OpenSearchService
3127
3199
  include Aws::Structure
3128
3200
  end
3129
3201
 
3202
+ # Container for the parameters to the `GetDomainMaintenanceStatus`
3203
+ # operation.
3204
+ #
3205
+ # @!attribute [rw] domain_name
3206
+ # The name of the domain.
3207
+ # @return [String]
3208
+ #
3209
+ # @!attribute [rw] maintenance_id
3210
+ # The request ID of the maintenance action.
3211
+ # @return [String]
3212
+ #
3213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatusRequest AWS API Documentation
3214
+ #
3215
+ class GetDomainMaintenanceStatusRequest < Struct.new(
3216
+ :domain_name,
3217
+ :maintenance_id)
3218
+ SENSITIVE = []
3219
+ include Aws::Structure
3220
+ end
3221
+
3222
+ # The result of a `GetDomainMaintenanceStatus` request that information
3223
+ # about the requested action.
3224
+ #
3225
+ # @!attribute [rw] status
3226
+ # The status of the maintenance action.
3227
+ # @return [String]
3228
+ #
3229
+ # @!attribute [rw] status_message
3230
+ # The status message of the maintenance action.
3231
+ # @return [String]
3232
+ #
3233
+ # @!attribute [rw] node_id
3234
+ # The node ID of the maintenance action.
3235
+ # @return [String]
3236
+ #
3237
+ # @!attribute [rw] action
3238
+ # The action name.
3239
+ # @return [String]
3240
+ #
3241
+ # @!attribute [rw] created_at
3242
+ # The time at which the action was created.
3243
+ # @return [Time]
3244
+ #
3245
+ # @!attribute [rw] updated_at
3246
+ # The time at which the action was updated.
3247
+ # @return [Time]
3248
+ #
3249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatusResponse AWS API Documentation
3250
+ #
3251
+ class GetDomainMaintenanceStatusResponse < Struct.new(
3252
+ :status,
3253
+ :status_message,
3254
+ :node_id,
3255
+ :action,
3256
+ :created_at,
3257
+ :updated_at)
3258
+ SENSITIVE = []
3259
+ include Aws::Structure
3260
+ end
3261
+
3130
3262
  # Container for the request parameters to the `GetPackageVersionHistory`
3131
3263
  # operation.
3132
3264
  #
@@ -3279,6 +3411,25 @@ module Aws::OpenSearchService
3279
3411
  include Aws::Structure
3280
3412
  end
3281
3413
 
3414
+ # The IP address type status for the domain.
3415
+ #
3416
+ # @!attribute [rw] options
3417
+ # The IP address options for the domain.
3418
+ # @return [String]
3419
+ #
3420
+ # @!attribute [rw] status
3421
+ # Provides the current status of an entity.
3422
+ # @return [Types::OptionStatus]
3423
+ #
3424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/IPAddressTypeStatus AWS API Documentation
3425
+ #
3426
+ class IPAddressTypeStatus < Struct.new(
3427
+ :options,
3428
+ :status)
3429
+ SENSITIVE = []
3430
+ include Aws::Structure
3431
+ end
3432
+
3282
3433
  # Describes an inbound cross-cluster connection for Amazon OpenSearch
3283
3434
  # Service. For more information, see [Cross-cluster search for Amazon
3284
3435
  # OpenSearch Service][1].
@@ -3501,6 +3652,68 @@ module Aws::OpenSearchService
3501
3652
  include Aws::Structure
3502
3653
  end
3503
3654
 
3655
+ # Container for the parameters to the `ListDomainMaintenances`
3656
+ # operation.
3657
+ #
3658
+ # @!attribute [rw] domain_name
3659
+ # The name of the domain.
3660
+ # @return [String]
3661
+ #
3662
+ # @!attribute [rw] action
3663
+ # The name of the action.
3664
+ # @return [String]
3665
+ #
3666
+ # @!attribute [rw] status
3667
+ # The status of the action.
3668
+ # @return [String]
3669
+ #
3670
+ # @!attribute [rw] max_results
3671
+ # An optional parameter that specifies the maximum number of results
3672
+ # to return. You can use `nextToken` to get the next page of results.
3673
+ # @return [Integer]
3674
+ #
3675
+ # @!attribute [rw] next_token
3676
+ # If your initial `ListDomainMaintenances` operation returns a
3677
+ # `nextToken`, include the returned `nextToken` in subsequent
3678
+ # `ListDomainMaintenances` operations, which returns results in the
3679
+ # next page.
3680
+ # @return [String]
3681
+ #
3682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenancesRequest AWS API Documentation
3683
+ #
3684
+ class ListDomainMaintenancesRequest < Struct.new(
3685
+ :domain_name,
3686
+ :action,
3687
+ :status,
3688
+ :max_results,
3689
+ :next_token)
3690
+ SENSITIVE = []
3691
+ include Aws::Structure
3692
+ end
3693
+
3694
+ # The result of a `ListDomainMaintenances` request that contains
3695
+ # information about the requested actions.
3696
+ #
3697
+ # @!attribute [rw] domain_maintenances
3698
+ # A list of the submitted maintenance actions.
3699
+ # @return [Array<Types::DomainMaintenanceDetails>]
3700
+ #
3701
+ # @!attribute [rw] next_token
3702
+ # When `nextToken` is returned, there are more results available. The
3703
+ # value of `nextToken` is a unique pagination token for each page.
3704
+ # Make the call again using the returned token to retrieve the next
3705
+ # page.
3706
+ # @return [String]
3707
+ #
3708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenancesResponse AWS API Documentation
3709
+ #
3710
+ class ListDomainMaintenancesResponse < Struct.new(
3711
+ :domain_maintenances,
3712
+ :next_token)
3713
+ SENSITIVE = []
3714
+ include Aws::Structure
3715
+ end
3716
+
3504
3717
  # Container for the parameters to the `ListDomainNames` operation.
3505
3718
  #
3506
3719
  # @!attribute [rw] engine_type
@@ -5061,6 +5274,46 @@ module Aws::OpenSearchService
5061
5274
  include Aws::Structure
5062
5275
  end
5063
5276
 
5277
+ # Container for the parameters to the `StartDomainMaintenance`
5278
+ # operation.
5279
+ #
5280
+ # @!attribute [rw] domain_name
5281
+ # The name of the domain.
5282
+ # @return [String]
5283
+ #
5284
+ # @!attribute [rw] action
5285
+ # The name of the action.
5286
+ # @return [String]
5287
+ #
5288
+ # @!attribute [rw] node_id
5289
+ # The ID of the data node.
5290
+ # @return [String]
5291
+ #
5292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenanceRequest AWS API Documentation
5293
+ #
5294
+ class StartDomainMaintenanceRequest < Struct.new(
5295
+ :domain_name,
5296
+ :action,
5297
+ :node_id)
5298
+ SENSITIVE = []
5299
+ include Aws::Structure
5300
+ end
5301
+
5302
+ # The result of a `StartDomainMaintenance` request that information
5303
+ # about the requested action.
5304
+ #
5305
+ # @!attribute [rw] maintenance_id
5306
+ # The request ID of requested action.
5307
+ # @return [String]
5308
+ #
5309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenanceResponse AWS API Documentation
5310
+ #
5311
+ class StartDomainMaintenanceResponse < Struct.new(
5312
+ :maintenance_id)
5313
+ SENSITIVE = []
5314
+ include Aws::Structure
5315
+ end
5316
+
5064
5317
  # Container for the request parameters to the
5065
5318
  # `StartServiceSoftwareUpdate` operation.
5066
5319
  #
@@ -5278,6 +5531,10 @@ module Aws::OpenSearchService
5278
5531
  # JSON-formatted string.
5279
5532
  # @return [String]
5280
5533
  #
5534
+ # @!attribute [rw] ip_address_type
5535
+ # The type of IP addresses supported by the endpoint for the domain.
5536
+ # @return [String]
5537
+ #
5281
5538
  # @!attribute [rw] log_publishing_options
5282
5539
  # Options to publish OpenSearch logs to Amazon CloudWatch Logs.
5283
5540
  # @return [Hash<String,Types::LogPublishingOption>]
@@ -5343,6 +5600,7 @@ module Aws::OpenSearchService
5343
5600
  :cognito_options,
5344
5601
  :advanced_options,
5345
5602
  :access_policies,
5603
+ :ip_address_type,
5346
5604
  :log_publishing_options,
5347
5605
  :encryption_at_rest_options,
5348
5606
  :domain_endpoint_options,
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-opensearchservice/customizations'
52
52
  # @!group service
53
53
  module Aws::OpenSearchService
54
54
 
55
- GEM_VERSION = '1.28.0'
55
+ GEM_VERSION = '1.30.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-16 00:00:00.000000000 Z
11
+ date: 2023-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core