aws-sdk-opensearchservice 1.28.0 → 1.29.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchservice/client.rb +141 -1
- data/lib/aws-sdk-opensearchservice/client_api.rb +100 -0
- data/lib/aws-sdk-opensearchservice/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-opensearchservice/endpoints.rb +42 -0
- data/lib/aws-sdk-opensearchservice/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-opensearchservice/types.rb +213 -2
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7cf4521f2c788a4fc85116ba82d29aede3b089da0f80bf675ab2dfe39b8a4853
|
|
4
|
+
data.tar.gz: 767c1bf5a4e17ec34b1374a848cf5b4875de7126f95976b39951bd16b47712b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a8b246ce95e9a8e91af4d6f7ab64d6b6afdeb743e648c1601f274aeabafbdeb664545f2f76d05173bc41c6d17ff9a3b0ad9807fbb9aab3372ecc41896d00644
|
|
7
|
+
data.tar.gz: 628b8fbdbba494e5df804bc129671421a37568b8b2c965b4c7efc011de55a260f6af74d8075e03b41e3c757fa603c131a183448454ccbf44eba91620d2567197
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.29.0 (2023-10-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added Cluster Administrative options for node restart, opensearch process restart and opensearch dashboard restart for Multi-AZ without standby domains
|
|
8
|
+
|
|
4
9
|
1.28.0 (2023-10-16)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.29.0
|
|
@@ -2678,6 +2678,48 @@ module Aws::OpenSearchService
|
|
|
2678
2678
|
req.send_request(options)
|
|
2679
2679
|
end
|
|
2680
2680
|
|
|
2681
|
+
# Get the status of the maintenance action.
|
|
2682
|
+
#
|
|
2683
|
+
# @option params [required, String] :domain_name
|
|
2684
|
+
# The name of the domain.
|
|
2685
|
+
#
|
|
2686
|
+
# @option params [required, String] :maintenance_id
|
|
2687
|
+
# The request id of the maintenance action.
|
|
2688
|
+
#
|
|
2689
|
+
# @return [Types::GetDomainMaintenanceStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2690
|
+
#
|
|
2691
|
+
# * {Types::GetDomainMaintenanceStatusResponse#status #status} => String
|
|
2692
|
+
# * {Types::GetDomainMaintenanceStatusResponse#status_message #status_message} => String
|
|
2693
|
+
# * {Types::GetDomainMaintenanceStatusResponse#node_id #node_id} => String
|
|
2694
|
+
# * {Types::GetDomainMaintenanceStatusResponse#action #action} => String
|
|
2695
|
+
# * {Types::GetDomainMaintenanceStatusResponse#created_at #created_at} => Time
|
|
2696
|
+
# * {Types::GetDomainMaintenanceStatusResponse#updated_at #updated_at} => Time
|
|
2697
|
+
#
|
|
2698
|
+
# @example Request syntax with placeholder values
|
|
2699
|
+
#
|
|
2700
|
+
# resp = client.get_domain_maintenance_status({
|
|
2701
|
+
# domain_name: "DomainName", # required
|
|
2702
|
+
# maintenance_id: "RequestId", # required
|
|
2703
|
+
# })
|
|
2704
|
+
#
|
|
2705
|
+
# @example Response structure
|
|
2706
|
+
#
|
|
2707
|
+
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "TIMED_OUT"
|
|
2708
|
+
# resp.status_message #=> String
|
|
2709
|
+
# resp.node_id #=> String
|
|
2710
|
+
# resp.action #=> String, one of "REBOOT_NODE", "RESTART_SEARCH_PROCESS", "RESTART_DASHBOARD"
|
|
2711
|
+
# resp.created_at #=> Time
|
|
2712
|
+
# resp.updated_at #=> Time
|
|
2713
|
+
#
|
|
2714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatus AWS API Documentation
|
|
2715
|
+
#
|
|
2716
|
+
# @overload get_domain_maintenance_status(params = {})
|
|
2717
|
+
# @param [Hash] params ({})
|
|
2718
|
+
def get_domain_maintenance_status(params = {}, options = {})
|
|
2719
|
+
req = build_request(:get_domain_maintenance_status, params)
|
|
2720
|
+
req.send_request(options)
|
|
2721
|
+
end
|
|
2722
|
+
|
|
2681
2723
|
# Returns a list of Amazon OpenSearch Service package versions, along
|
|
2682
2724
|
# with their creation time, commit message, and plugin properties (if
|
|
2683
2725
|
# the package is a zip plugin package). For more information, see
|
|
@@ -2826,6 +2868,66 @@ module Aws::OpenSearchService
|
|
|
2826
2868
|
req.send_request(options)
|
|
2827
2869
|
end
|
|
2828
2870
|
|
|
2871
|
+
# Get the list of the maintenance action.
|
|
2872
|
+
#
|
|
2873
|
+
# @option params [required, String] :domain_name
|
|
2874
|
+
# The name of the domain.
|
|
2875
|
+
#
|
|
2876
|
+
# @option params [String] :action
|
|
2877
|
+
# The name of the action.
|
|
2878
|
+
#
|
|
2879
|
+
# @option params [String] :status
|
|
2880
|
+
# The status of the action.
|
|
2881
|
+
#
|
|
2882
|
+
# @option params [Integer] :max_results
|
|
2883
|
+
# An optional parameter that specifies the maximum number of results to
|
|
2884
|
+
# return. You can use `nextToken` to get the next page of results.
|
|
2885
|
+
#
|
|
2886
|
+
# @option params [String] :next_token
|
|
2887
|
+
# If your initial `ListDomainMaintenances` operation returns a
|
|
2888
|
+
# `nextToken`, you can include the returned `nextToken` in subsequent
|
|
2889
|
+
# `ListDomainMaintenances` operations, which returns results in the next
|
|
2890
|
+
# page.
|
|
2891
|
+
#
|
|
2892
|
+
# @return [Types::ListDomainMaintenancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2893
|
+
#
|
|
2894
|
+
# * {Types::ListDomainMaintenancesResponse#domain_maintenances #domain_maintenances} => Array<Types::DomainMaintenanceDetails>
|
|
2895
|
+
# * {Types::ListDomainMaintenancesResponse#next_token #next_token} => String
|
|
2896
|
+
#
|
|
2897
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
2898
|
+
#
|
|
2899
|
+
# @example Request syntax with placeholder values
|
|
2900
|
+
#
|
|
2901
|
+
# resp = client.list_domain_maintenances({
|
|
2902
|
+
# domain_name: "DomainName", # required
|
|
2903
|
+
# action: "REBOOT_NODE", # accepts REBOOT_NODE, RESTART_SEARCH_PROCESS, RESTART_DASHBOARD
|
|
2904
|
+
# status: "PENDING", # accepts PENDING, IN_PROGRESS, COMPLETED, FAILED, TIMED_OUT
|
|
2905
|
+
# max_results: 1,
|
|
2906
|
+
# next_token: "NextToken",
|
|
2907
|
+
# })
|
|
2908
|
+
#
|
|
2909
|
+
# @example Response structure
|
|
2910
|
+
#
|
|
2911
|
+
# resp.domain_maintenances #=> Array
|
|
2912
|
+
# resp.domain_maintenances[0].maintenance_id #=> String
|
|
2913
|
+
# resp.domain_maintenances[0].domain_name #=> String
|
|
2914
|
+
# resp.domain_maintenances[0].action #=> String, one of "REBOOT_NODE", "RESTART_SEARCH_PROCESS", "RESTART_DASHBOARD"
|
|
2915
|
+
# resp.domain_maintenances[0].node_id #=> String
|
|
2916
|
+
# resp.domain_maintenances[0].status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "TIMED_OUT"
|
|
2917
|
+
# resp.domain_maintenances[0].status_message #=> String
|
|
2918
|
+
# resp.domain_maintenances[0].created_at #=> Time
|
|
2919
|
+
# resp.domain_maintenances[0].updated_at #=> Time
|
|
2920
|
+
# resp.next_token #=> String
|
|
2921
|
+
#
|
|
2922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenances AWS API Documentation
|
|
2923
|
+
#
|
|
2924
|
+
# @overload list_domain_maintenances(params = {})
|
|
2925
|
+
# @param [Hash] params ({})
|
|
2926
|
+
def list_domain_maintenances(params = {}, options = {})
|
|
2927
|
+
req = build_request(:list_domain_maintenances, params)
|
|
2928
|
+
req.send_request(options)
|
|
2929
|
+
end
|
|
2930
|
+
|
|
2829
2931
|
# Returns the names of all Amazon OpenSearch Service domains owned by
|
|
2830
2932
|
# the current user in the active Region.
|
|
2831
2933
|
#
|
|
@@ -3442,6 +3544,44 @@ module Aws::OpenSearchService
|
|
|
3442
3544
|
req.send_request(options)
|
|
3443
3545
|
end
|
|
3444
3546
|
|
|
3547
|
+
# Starts the node maintenance (Node restart, Node reboot,
|
|
3548
|
+
# Opensearch/Elasticsearch process restart, Dashboard/kibana restart) on
|
|
3549
|
+
# the data node.
|
|
3550
|
+
#
|
|
3551
|
+
# @option params [required, String] :domain_name
|
|
3552
|
+
# The name of the domain.
|
|
3553
|
+
#
|
|
3554
|
+
# @option params [required, String] :action
|
|
3555
|
+
# The name of the action.
|
|
3556
|
+
#
|
|
3557
|
+
# @option params [String] :node_id
|
|
3558
|
+
# Id of the data node.
|
|
3559
|
+
#
|
|
3560
|
+
# @return [Types::StartDomainMaintenanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3561
|
+
#
|
|
3562
|
+
# * {Types::StartDomainMaintenanceResponse#maintenance_id #maintenance_id} => String
|
|
3563
|
+
#
|
|
3564
|
+
# @example Request syntax with placeholder values
|
|
3565
|
+
#
|
|
3566
|
+
# resp = client.start_domain_maintenance({
|
|
3567
|
+
# domain_name: "DomainName", # required
|
|
3568
|
+
# action: "REBOOT_NODE", # required, accepts REBOOT_NODE, RESTART_SEARCH_PROCESS, RESTART_DASHBOARD
|
|
3569
|
+
# node_id: "NodeId",
|
|
3570
|
+
# })
|
|
3571
|
+
#
|
|
3572
|
+
# @example Response structure
|
|
3573
|
+
#
|
|
3574
|
+
# resp.maintenance_id #=> String
|
|
3575
|
+
#
|
|
3576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenance AWS API Documentation
|
|
3577
|
+
#
|
|
3578
|
+
# @overload start_domain_maintenance(params = {})
|
|
3579
|
+
# @param [Hash] params ({})
|
|
3580
|
+
def start_domain_maintenance(params = {}, options = {})
|
|
3581
|
+
req = build_request(:start_domain_maintenance, params)
|
|
3582
|
+
req.send_request(options)
|
|
3583
|
+
end
|
|
3584
|
+
|
|
3445
3585
|
# Schedules a service software update for an Amazon OpenSearch Service
|
|
3446
3586
|
# domain. For more information, see [Service software updates in Amazon
|
|
3447
3587
|
# OpenSearch Service][1].
|
|
@@ -4180,7 +4320,7 @@ module Aws::OpenSearchService
|
|
|
4180
4320
|
params: params,
|
|
4181
4321
|
config: config)
|
|
4182
4322
|
context[:gem_name] = 'aws-sdk-opensearchservice'
|
|
4183
|
-
context[:gem_version] = '1.
|
|
4323
|
+
context[:gem_version] = '1.29.0'
|
|
4184
4324
|
Seahorse::Client::Request.new(handlers, context)
|
|
4185
4325
|
end
|
|
4186
4326
|
|
|
@@ -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,6 +193,8 @@ 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')
|
|
@@ -225,6 +229,8 @@ module Aws::OpenSearchService
|
|
|
225
229
|
LimitValueList = Shapes::ListShape.new(name: 'LimitValueList')
|
|
226
230
|
Limits = Shapes::StructureShape.new(name: 'Limits')
|
|
227
231
|
LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
|
|
232
|
+
ListDomainMaintenancesRequest = Shapes::StructureShape.new(name: 'ListDomainMaintenancesRequest')
|
|
233
|
+
ListDomainMaintenancesResponse = Shapes::StructureShape.new(name: 'ListDomainMaintenancesResponse')
|
|
228
234
|
ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
|
|
229
235
|
ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
|
|
230
236
|
ListDomainsForPackageRequest = Shapes::StructureShape.new(name: 'ListDomainsForPackageRequest')
|
|
@@ -250,6 +256,9 @@ module Aws::OpenSearchService
|
|
|
250
256
|
LogPublishingOptionsStatus = Shapes::StructureShape.new(name: 'LogPublishingOptionsStatus')
|
|
251
257
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
|
252
258
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
259
|
+
MaintenanceStatus = Shapes::StringShape.new(name: 'MaintenanceStatus')
|
|
260
|
+
MaintenanceStatusMessage = Shapes::StringShape.new(name: 'MaintenanceStatusMessage')
|
|
261
|
+
MaintenanceType = Shapes::StringShape.new(name: 'MaintenanceType')
|
|
253
262
|
MasterNodeStatus = Shapes::StringShape.new(name: 'MasterNodeStatus')
|
|
254
263
|
MasterUserOptions = Shapes::StructureShape.new(name: 'MasterUserOptions')
|
|
255
264
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
@@ -307,6 +316,7 @@ module Aws::OpenSearchService
|
|
|
307
316
|
RejectInboundConnectionRequest = Shapes::StructureShape.new(name: 'RejectInboundConnectionRequest')
|
|
308
317
|
RejectInboundConnectionResponse = Shapes::StructureShape.new(name: 'RejectInboundConnectionResponse')
|
|
309
318
|
RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
|
|
319
|
+
RequestId = Shapes::StringShape.new(name: 'RequestId')
|
|
310
320
|
ReservationToken = Shapes::StringShape.new(name: 'ReservationToken')
|
|
311
321
|
ReservedInstance = Shapes::StructureShape.new(name: 'ReservedInstance')
|
|
312
322
|
ReservedInstanceList = Shapes::ListShape.new(name: 'ReservedInstanceList')
|
|
@@ -344,6 +354,8 @@ module Aws::OpenSearchService
|
|
|
344
354
|
SoftwareUpdateOptions = Shapes::StructureShape.new(name: 'SoftwareUpdateOptions')
|
|
345
355
|
SoftwareUpdateOptionsStatus = Shapes::StructureShape.new(name: 'SoftwareUpdateOptionsStatus')
|
|
346
356
|
StartAt = Shapes::TimestampShape.new(name: 'StartAt')
|
|
357
|
+
StartDomainMaintenanceRequest = Shapes::StructureShape.new(name: 'StartDomainMaintenanceRequest')
|
|
358
|
+
StartDomainMaintenanceResponse = Shapes::StructureShape.new(name: 'StartDomainMaintenanceResponse')
|
|
347
359
|
StartServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateRequest')
|
|
348
360
|
StartServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateResponse')
|
|
349
361
|
StartTimeHours = Shapes::IntegerShape.new(name: 'StartTimeHours')
|
|
@@ -888,6 +900,18 @@ module Aws::OpenSearchService
|
|
|
888
900
|
DomainInformationContainer.add_member(:aws_domain_information, Shapes::ShapeRef.new(shape: AWSDomainInformation, location_name: "AWSDomainInformation"))
|
|
889
901
|
DomainInformationContainer.struct_class = Types::DomainInformationContainer
|
|
890
902
|
|
|
903
|
+
DomainMaintenanceDetails.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "MaintenanceId"))
|
|
904
|
+
DomainMaintenanceDetails.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
|
|
905
|
+
DomainMaintenanceDetails.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location_name: "Action"))
|
|
906
|
+
DomainMaintenanceDetails.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
|
|
907
|
+
DomainMaintenanceDetails.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "Status"))
|
|
908
|
+
DomainMaintenanceDetails.add_member(:status_message, Shapes::ShapeRef.new(shape: MaintenanceStatusMessage, location_name: "StatusMessage"))
|
|
909
|
+
DomainMaintenanceDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "CreatedAt"))
|
|
910
|
+
DomainMaintenanceDetails.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "UpdatedAt"))
|
|
911
|
+
DomainMaintenanceDetails.struct_class = Types::DomainMaintenanceDetails
|
|
912
|
+
|
|
913
|
+
DomainMaintenanceList.member = Shapes::ShapeRef.new(shape: DomainMaintenanceDetails)
|
|
914
|
+
|
|
891
915
|
DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
|
|
892
916
|
|
|
893
917
|
DomainNodesStatus.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
|
|
@@ -1004,6 +1028,18 @@ module Aws::OpenSearchService
|
|
|
1004
1028
|
GetCompatibleVersionsResponse.add_member(:compatible_versions, Shapes::ShapeRef.new(shape: CompatibleVersionsList, location_name: "CompatibleVersions"))
|
|
1005
1029
|
GetCompatibleVersionsResponse.struct_class = Types::GetCompatibleVersionsResponse
|
|
1006
1030
|
|
|
1031
|
+
GetDomainMaintenanceStatusRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
|
1032
|
+
GetDomainMaintenanceStatusRequest.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location: "querystring", location_name: "maintenanceId"))
|
|
1033
|
+
GetDomainMaintenanceStatusRequest.struct_class = Types::GetDomainMaintenanceStatusRequest
|
|
1034
|
+
|
|
1035
|
+
GetDomainMaintenanceStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "Status"))
|
|
1036
|
+
GetDomainMaintenanceStatusResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: MaintenanceStatusMessage, location_name: "StatusMessage"))
|
|
1037
|
+
GetDomainMaintenanceStatusResponse.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
|
|
1038
|
+
GetDomainMaintenanceStatusResponse.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location_name: "Action"))
|
|
1039
|
+
GetDomainMaintenanceStatusResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "CreatedAt"))
|
|
1040
|
+
GetDomainMaintenanceStatusResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "UpdatedAt"))
|
|
1041
|
+
GetDomainMaintenanceStatusResponse.struct_class = Types::GetDomainMaintenanceStatusResponse
|
|
1042
|
+
|
|
1007
1043
|
GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
|
|
1008
1044
|
GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
1009
1045
|
GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
@@ -1085,6 +1121,17 @@ module Aws::OpenSearchService
|
|
|
1085
1121
|
LimitsByRole.key = Shapes::ShapeRef.new(shape: InstanceRole)
|
|
1086
1122
|
LimitsByRole.value = Shapes::ShapeRef.new(shape: Limits)
|
|
1087
1123
|
|
|
1124
|
+
ListDomainMaintenancesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
|
1125
|
+
ListDomainMaintenancesRequest.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location: "querystring", location_name: "action"))
|
|
1126
|
+
ListDomainMaintenancesRequest.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location: "querystring", location_name: "status"))
|
|
1127
|
+
ListDomainMaintenancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
1128
|
+
ListDomainMaintenancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
1129
|
+
ListDomainMaintenancesRequest.struct_class = Types::ListDomainMaintenancesRequest
|
|
1130
|
+
|
|
1131
|
+
ListDomainMaintenancesResponse.add_member(:domain_maintenances, Shapes::ShapeRef.new(shape: DomainMaintenanceList, location_name: "DomainMaintenances"))
|
|
1132
|
+
ListDomainMaintenancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
1133
|
+
ListDomainMaintenancesResponse.struct_class = Types::ListDomainMaintenancesResponse
|
|
1134
|
+
|
|
1088
1135
|
ListDomainNamesRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location: "querystring", location_name: "engineType"))
|
|
1089
1136
|
ListDomainNamesRequest.struct_class = Types::ListDomainNamesRequest
|
|
1090
1137
|
|
|
@@ -1390,6 +1437,14 @@ module Aws::OpenSearchService
|
|
|
1390
1437
|
SoftwareUpdateOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
|
|
1391
1438
|
SoftwareUpdateOptionsStatus.struct_class = Types::SoftwareUpdateOptionsStatus
|
|
1392
1439
|
|
|
1440
|
+
StartDomainMaintenanceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
|
1441
|
+
StartDomainMaintenanceRequest.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, required: true, location_name: "Action"))
|
|
1442
|
+
StartDomainMaintenanceRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
|
|
1443
|
+
StartDomainMaintenanceRequest.struct_class = Types::StartDomainMaintenanceRequest
|
|
1444
|
+
|
|
1445
|
+
StartDomainMaintenanceResponse.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "MaintenanceId"))
|
|
1446
|
+
StartDomainMaintenanceResponse.struct_class = Types::StartDomainMaintenanceResponse
|
|
1447
|
+
|
|
1393
1448
|
StartServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
|
1394
1449
|
StartServiceSoftwareUpdateRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, location_name: "ScheduleAt"))
|
|
1395
1450
|
StartServiceSoftwareUpdateRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
|
|
@@ -2002,6 +2057,19 @@ module Aws::OpenSearchService
|
|
|
2002
2057
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2003
2058
|
end)
|
|
2004
2059
|
|
|
2060
|
+
api.add_operation(:get_domain_maintenance_status, Seahorse::Model::Operation.new.tap do |o|
|
|
2061
|
+
o.name = "GetDomainMaintenanceStatus"
|
|
2062
|
+
o.http_method = "GET"
|
|
2063
|
+
o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance"
|
|
2064
|
+
o.input = Shapes::ShapeRef.new(shape: GetDomainMaintenanceStatusRequest)
|
|
2065
|
+
o.output = Shapes::ShapeRef.new(shape: GetDomainMaintenanceStatusResponse)
|
|
2066
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
|
2067
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2068
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2069
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2070
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2071
|
+
end)
|
|
2072
|
+
|
|
2005
2073
|
api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
|
|
2006
2074
|
o.name = "GetPackageVersionHistory"
|
|
2007
2075
|
o.http_method = "GET"
|
|
@@ -2053,6 +2121,25 @@ module Aws::OpenSearchService
|
|
|
2053
2121
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2054
2122
|
end)
|
|
2055
2123
|
|
|
2124
|
+
api.add_operation(:list_domain_maintenances, Seahorse::Model::Operation.new.tap do |o|
|
|
2125
|
+
o.name = "ListDomainMaintenances"
|
|
2126
|
+
o.http_method = "GET"
|
|
2127
|
+
o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenances"
|
|
2128
|
+
o.input = Shapes::ShapeRef.new(shape: ListDomainMaintenancesRequest)
|
|
2129
|
+
o.output = Shapes::ShapeRef.new(shape: ListDomainMaintenancesResponse)
|
|
2130
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
|
2131
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2132
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2133
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2134
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2135
|
+
o[:pager] = Aws::Pager.new(
|
|
2136
|
+
limit_key: "max_results",
|
|
2137
|
+
tokens: {
|
|
2138
|
+
"next_token" => "next_token"
|
|
2139
|
+
}
|
|
2140
|
+
)
|
|
2141
|
+
end)
|
|
2142
|
+
|
|
2056
2143
|
api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
|
|
2057
2144
|
o.name = "ListDomainNames"
|
|
2058
2145
|
o.http_method = "GET"
|
|
@@ -2251,6 +2338,19 @@ module Aws::OpenSearchService
|
|
|
2251
2338
|
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
|
2252
2339
|
end)
|
|
2253
2340
|
|
|
2341
|
+
api.add_operation(:start_domain_maintenance, Seahorse::Model::Operation.new.tap do |o|
|
|
2342
|
+
o.name = "StartDomainMaintenance"
|
|
2343
|
+
o.http_method = "POST"
|
|
2344
|
+
o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance"
|
|
2345
|
+
o.input = Shapes::ShapeRef.new(shape: StartDomainMaintenanceRequest)
|
|
2346
|
+
o.output = Shapes::ShapeRef.new(shape: StartDomainMaintenanceResponse)
|
|
2347
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
|
2348
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2349
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2350
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2351
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2352
|
+
end)
|
|
2353
|
+
|
|
2254
2354
|
api.add_operation(:start_service_software_update, Seahorse::Model::Operation.new.tap do |o|
|
|
2255
2355
|
o.name = "StartServiceSoftwareUpdate"
|
|
2256
2356
|
o.http_method = "POST"
|
|
@@ -32,7 +32,7 @@ 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?(
|
|
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"
|
|
@@ -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
|
|
865
|
-
#
|
|
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
|
|
@@ -2569,6 +2569,55 @@ module Aws::OpenSearchService
|
|
|
2569
2569
|
include Aws::Structure
|
|
2570
2570
|
end
|
|
2571
2571
|
|
|
2572
|
+
# Container for the domain maintenance details.
|
|
2573
|
+
#
|
|
2574
|
+
# @!attribute [rw] maintenance_id
|
|
2575
|
+
# Id of the requested action.
|
|
2576
|
+
# @return [String]
|
|
2577
|
+
#
|
|
2578
|
+
# @!attribute [rw] domain_name
|
|
2579
|
+
# The name of the domain.
|
|
2580
|
+
# @return [String]
|
|
2581
|
+
#
|
|
2582
|
+
# @!attribute [rw] action
|
|
2583
|
+
# The name of the action.
|
|
2584
|
+
# @return [String]
|
|
2585
|
+
#
|
|
2586
|
+
# @!attribute [rw] node_id
|
|
2587
|
+
# Id of the data node.
|
|
2588
|
+
# @return [String]
|
|
2589
|
+
#
|
|
2590
|
+
# @!attribute [rw] status
|
|
2591
|
+
# The status of the action.
|
|
2592
|
+
# @return [String]
|
|
2593
|
+
#
|
|
2594
|
+
# @!attribute [rw] status_message
|
|
2595
|
+
# The status message of the action.
|
|
2596
|
+
# @return [String]
|
|
2597
|
+
#
|
|
2598
|
+
# @!attribute [rw] created_at
|
|
2599
|
+
# Contains time at which action created.
|
|
2600
|
+
# @return [Time]
|
|
2601
|
+
#
|
|
2602
|
+
# @!attribute [rw] updated_at
|
|
2603
|
+
# Contains time at which action updated.
|
|
2604
|
+
# @return [Time]
|
|
2605
|
+
#
|
|
2606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainMaintenanceDetails AWS API Documentation
|
|
2607
|
+
#
|
|
2608
|
+
class DomainMaintenanceDetails < Struct.new(
|
|
2609
|
+
:maintenance_id,
|
|
2610
|
+
:domain_name,
|
|
2611
|
+
:action,
|
|
2612
|
+
:node_id,
|
|
2613
|
+
:status,
|
|
2614
|
+
:status_message,
|
|
2615
|
+
:created_at,
|
|
2616
|
+
:updated_at)
|
|
2617
|
+
SENSITIVE = []
|
|
2618
|
+
include Aws::Structure
|
|
2619
|
+
end
|
|
2620
|
+
|
|
2572
2621
|
# Container for information about nodes on the domain.
|
|
2573
2622
|
#
|
|
2574
2623
|
# @!attribute [rw] node_id
|
|
@@ -3127,6 +3176,66 @@ module Aws::OpenSearchService
|
|
|
3127
3176
|
include Aws::Structure
|
|
3128
3177
|
end
|
|
3129
3178
|
|
|
3179
|
+
# Container for the parameters to the `GetDomainMaintenanceStatus`
|
|
3180
|
+
# operation.
|
|
3181
|
+
#
|
|
3182
|
+
# @!attribute [rw] domain_name
|
|
3183
|
+
# The name of the domain.
|
|
3184
|
+
# @return [String]
|
|
3185
|
+
#
|
|
3186
|
+
# @!attribute [rw] maintenance_id
|
|
3187
|
+
# The request id of the maintenance action.
|
|
3188
|
+
# @return [String]
|
|
3189
|
+
#
|
|
3190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatusRequest AWS API Documentation
|
|
3191
|
+
#
|
|
3192
|
+
class GetDomainMaintenanceStatusRequest < Struct.new(
|
|
3193
|
+
:domain_name,
|
|
3194
|
+
:maintenance_id)
|
|
3195
|
+
SENSITIVE = []
|
|
3196
|
+
include Aws::Structure
|
|
3197
|
+
end
|
|
3198
|
+
|
|
3199
|
+
# The result of a `GetDomainMaintenanceStatus` request. Contains
|
|
3200
|
+
# information about the requested action.
|
|
3201
|
+
#
|
|
3202
|
+
# @!attribute [rw] status
|
|
3203
|
+
# Contains status of the maintenance action.
|
|
3204
|
+
# @return [String]
|
|
3205
|
+
#
|
|
3206
|
+
# @!attribute [rw] status_message
|
|
3207
|
+
# Contains status message of the maintenance action.
|
|
3208
|
+
# @return [String]
|
|
3209
|
+
#
|
|
3210
|
+
# @!attribute [rw] node_id
|
|
3211
|
+
# Contains node id of maintenance action.
|
|
3212
|
+
# @return [String]
|
|
3213
|
+
#
|
|
3214
|
+
# @!attribute [rw] action
|
|
3215
|
+
# Contains action name.
|
|
3216
|
+
# @return [String]
|
|
3217
|
+
#
|
|
3218
|
+
# @!attribute [rw] created_at
|
|
3219
|
+
# Contains time at which action created.
|
|
3220
|
+
# @return [Time]
|
|
3221
|
+
#
|
|
3222
|
+
# @!attribute [rw] updated_at
|
|
3223
|
+
# Contains time at which action updated.
|
|
3224
|
+
# @return [Time]
|
|
3225
|
+
#
|
|
3226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatusResponse AWS API Documentation
|
|
3227
|
+
#
|
|
3228
|
+
class GetDomainMaintenanceStatusResponse < Struct.new(
|
|
3229
|
+
:status,
|
|
3230
|
+
:status_message,
|
|
3231
|
+
:node_id,
|
|
3232
|
+
:action,
|
|
3233
|
+
:created_at,
|
|
3234
|
+
:updated_at)
|
|
3235
|
+
SENSITIVE = []
|
|
3236
|
+
include Aws::Structure
|
|
3237
|
+
end
|
|
3238
|
+
|
|
3130
3239
|
# Container for the request parameters to the `GetPackageVersionHistory`
|
|
3131
3240
|
# operation.
|
|
3132
3241
|
#
|
|
@@ -3501,6 +3610,68 @@ module Aws::OpenSearchService
|
|
|
3501
3610
|
include Aws::Structure
|
|
3502
3611
|
end
|
|
3503
3612
|
|
|
3613
|
+
# Container for the parameters to the `ListDomainMaintenances`
|
|
3614
|
+
# operation.
|
|
3615
|
+
#
|
|
3616
|
+
# @!attribute [rw] domain_name
|
|
3617
|
+
# The name of the domain.
|
|
3618
|
+
# @return [String]
|
|
3619
|
+
#
|
|
3620
|
+
# @!attribute [rw] action
|
|
3621
|
+
# The name of the action.
|
|
3622
|
+
# @return [String]
|
|
3623
|
+
#
|
|
3624
|
+
# @!attribute [rw] status
|
|
3625
|
+
# The status of the action.
|
|
3626
|
+
# @return [String]
|
|
3627
|
+
#
|
|
3628
|
+
# @!attribute [rw] max_results
|
|
3629
|
+
# An optional parameter that specifies the maximum number of results
|
|
3630
|
+
# to return. You can use `nextToken` to get the next page of results.
|
|
3631
|
+
# @return [Integer]
|
|
3632
|
+
#
|
|
3633
|
+
# @!attribute [rw] next_token
|
|
3634
|
+
# If your initial `ListDomainMaintenances` operation returns a
|
|
3635
|
+
# `nextToken`, you can include the returned `nextToken` in subsequent
|
|
3636
|
+
# `ListDomainMaintenances` operations, which returns results in the
|
|
3637
|
+
# next page.
|
|
3638
|
+
# @return [String]
|
|
3639
|
+
#
|
|
3640
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenancesRequest AWS API Documentation
|
|
3641
|
+
#
|
|
3642
|
+
class ListDomainMaintenancesRequest < Struct.new(
|
|
3643
|
+
:domain_name,
|
|
3644
|
+
:action,
|
|
3645
|
+
:status,
|
|
3646
|
+
:max_results,
|
|
3647
|
+
:next_token)
|
|
3648
|
+
SENSITIVE = []
|
|
3649
|
+
include Aws::Structure
|
|
3650
|
+
end
|
|
3651
|
+
|
|
3652
|
+
# The result of a `ListDomainMaintenances` request. Contains information
|
|
3653
|
+
# about the requested actions.
|
|
3654
|
+
#
|
|
3655
|
+
# @!attribute [rw] domain_maintenances
|
|
3656
|
+
# List of the submitted maintenance actions.
|
|
3657
|
+
# @return [Array<Types::DomainMaintenanceDetails>]
|
|
3658
|
+
#
|
|
3659
|
+
# @!attribute [rw] next_token
|
|
3660
|
+
# When `nextToken` is returned, there are more results available. The
|
|
3661
|
+
# value of `nextToken` is a unique pagination token for each page.
|
|
3662
|
+
# Make the call again using the returned token to retrieve the next
|
|
3663
|
+
# page.
|
|
3664
|
+
# @return [String]
|
|
3665
|
+
#
|
|
3666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenancesResponse AWS API Documentation
|
|
3667
|
+
#
|
|
3668
|
+
class ListDomainMaintenancesResponse < Struct.new(
|
|
3669
|
+
:domain_maintenances,
|
|
3670
|
+
:next_token)
|
|
3671
|
+
SENSITIVE = []
|
|
3672
|
+
include Aws::Structure
|
|
3673
|
+
end
|
|
3674
|
+
|
|
3504
3675
|
# Container for the parameters to the `ListDomainNames` operation.
|
|
3505
3676
|
#
|
|
3506
3677
|
# @!attribute [rw] engine_type
|
|
@@ -5061,6 +5232,46 @@ module Aws::OpenSearchService
|
|
|
5061
5232
|
include Aws::Structure
|
|
5062
5233
|
end
|
|
5063
5234
|
|
|
5235
|
+
# Container for the parameters to the `StartDomainMaintenance`
|
|
5236
|
+
# operation.
|
|
5237
|
+
#
|
|
5238
|
+
# @!attribute [rw] domain_name
|
|
5239
|
+
# The name of the domain.
|
|
5240
|
+
# @return [String]
|
|
5241
|
+
#
|
|
5242
|
+
# @!attribute [rw] action
|
|
5243
|
+
# The name of the action.
|
|
5244
|
+
# @return [String]
|
|
5245
|
+
#
|
|
5246
|
+
# @!attribute [rw] node_id
|
|
5247
|
+
# Id of the data node.
|
|
5248
|
+
# @return [String]
|
|
5249
|
+
#
|
|
5250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenanceRequest AWS API Documentation
|
|
5251
|
+
#
|
|
5252
|
+
class StartDomainMaintenanceRequest < Struct.new(
|
|
5253
|
+
:domain_name,
|
|
5254
|
+
:action,
|
|
5255
|
+
:node_id)
|
|
5256
|
+
SENSITIVE = []
|
|
5257
|
+
include Aws::Structure
|
|
5258
|
+
end
|
|
5259
|
+
|
|
5260
|
+
# The result of a `StartDomainMaintenance` request. Contains information
|
|
5261
|
+
# about the requested action.
|
|
5262
|
+
#
|
|
5263
|
+
# @!attribute [rw] maintenance_id
|
|
5264
|
+
# Contains request id of requested action.
|
|
5265
|
+
# @return [String]
|
|
5266
|
+
#
|
|
5267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenanceResponse AWS API Documentation
|
|
5268
|
+
#
|
|
5269
|
+
class StartDomainMaintenanceResponse < Struct.new(
|
|
5270
|
+
:maintenance_id)
|
|
5271
|
+
SENSITIVE = []
|
|
5272
|
+
include Aws::Structure
|
|
5273
|
+
end
|
|
5274
|
+
|
|
5064
5275
|
# Container for the request parameters to the
|
|
5065
5276
|
# `StartServiceSoftwareUpdate` operation.
|
|
5066
5277
|
#
|
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.
|
|
4
|
+
version: 1.29.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-
|
|
11
|
+
date: 2023-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|