aws-sdk-opensearchservice 1.27.0 → 1.29.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: 160b00d079512fa11740c742ce415f3ab463293323b6655fcfef8ca097f366af
4
- data.tar.gz: c44d42f580d0569e2293b79d004893056681d520855c9dc90b2c6938c10b6e81
3
+ metadata.gz: 7cf4521f2c788a4fc85116ba82d29aede3b089da0f80bf675ab2dfe39b8a4853
4
+ data.tar.gz: 767c1bf5a4e17ec34b1374a848cf5b4875de7126f95976b39951bd16b47712b9
5
5
  SHA512:
6
- metadata.gz: 710838969f2b3a2fd665432c141fa3df65575a7f63fc6e782cd8dba8b9d1524b749309a137a3b3b7ccee3d59c884ca6fa67338b0204f9e837e51493cb73755a7
7
- data.tar.gz: e139bf1ab38c3611b2d7edea70f9b0bb566d2a06147fee1f3e3b2ce5214a4b812475216c67832e071969314d6672184e01ea5cd49d17aa53de79a787cc684ade
6
+ metadata.gz: 4a8b246ce95e9a8e91af4d6f7ab64d6b6afdeb743e648c1601f274aeabafbdeb664545f2f76d05173bc41c6d17ff9a3b0ad9807fbb9aab3372ecc41896d00644
7
+ data.tar.gz: 628b8fbdbba494e5df804bc129671421a37568b8b2c965b4c7efc011de55a260f6af74d8075e03b41e3c757fa603c131a183448454ccbf44eba91620d2567197
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.28.0 (2023-10-16)
10
+ ------------------
11
+
12
+ * Feature - This release allows customers to list and associate optional plugin packages with compatible Amazon OpenSearch Service clusters for enhanced functionality.
13
+
4
14
  1.27.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.29.0
@@ -501,7 +501,7 @@ module Aws::OpenSearchService
501
501
  #
502
502
  # resp.domain_package_details.package_id #=> String
503
503
  # resp.domain_package_details.package_name #=> String
504
- # resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY"
504
+ # resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
505
505
  # resp.domain_package_details.last_updated #=> Time
506
506
  # resp.domain_package_details.domain_name #=> String
507
507
  # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
@@ -1053,7 +1053,7 @@ module Aws::OpenSearchService
1053
1053
  #
1054
1054
  # resp = client.create_package({
1055
1055
  # package_name: "PackageName", # required
1056
- # package_type: "TXT-DICTIONARY", # required, accepts TXT-DICTIONARY
1056
+ # package_type: "TXT-DICTIONARY", # required, accepts TXT-DICTIONARY, ZIP-PLUGIN
1057
1057
  # package_description: "PackageDescription",
1058
1058
  # package_source: { # required
1059
1059
  # s3_bucket_name: "S3BucketName",
@@ -1065,7 +1065,7 @@ module Aws::OpenSearchService
1065
1065
  #
1066
1066
  # resp.package_details.package_id #=> String
1067
1067
  # resp.package_details.package_name #=> String
1068
- # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
1068
+ # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
1069
1069
  # resp.package_details.package_description #=> String
1070
1070
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1071
1071
  # resp.package_details.created_at #=> Time
@@ -1073,6 +1073,12 @@ module Aws::OpenSearchService
1073
1073
  # resp.package_details.available_package_version #=> String
1074
1074
  # resp.package_details.error_details.error_type #=> String
1075
1075
  # resp.package_details.error_details.error_message #=> String
1076
+ # resp.package_details.engine_version #=> String
1077
+ # resp.package_details.available_plugin_properties.name #=> String
1078
+ # resp.package_details.available_plugin_properties.description #=> String
1079
+ # resp.package_details.available_plugin_properties.version #=> String
1080
+ # resp.package_details.available_plugin_properties.class_name #=> String
1081
+ # resp.package_details.available_plugin_properties.uncompressed_size_in_bytes #=> Integer
1076
1082
  #
1077
1083
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreatePackage AWS API Documentation
1078
1084
  #
@@ -1360,7 +1366,7 @@ module Aws::OpenSearchService
1360
1366
  #
1361
1367
  # resp.package_details.package_id #=> String
1362
1368
  # resp.package_details.package_name #=> String
1363
- # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
1369
+ # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
1364
1370
  # resp.package_details.package_description #=> String
1365
1371
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1366
1372
  # resp.package_details.created_at #=> Time
@@ -1368,6 +1374,12 @@ module Aws::OpenSearchService
1368
1374
  # resp.package_details.available_package_version #=> String
1369
1375
  # resp.package_details.error_details.error_type #=> String
1370
1376
  # resp.package_details.error_details.error_message #=> String
1377
+ # resp.package_details.engine_version #=> String
1378
+ # resp.package_details.available_plugin_properties.name #=> String
1379
+ # resp.package_details.available_plugin_properties.description #=> String
1380
+ # resp.package_details.available_plugin_properties.version #=> String
1381
+ # resp.package_details.available_plugin_properties.class_name #=> String
1382
+ # resp.package_details.available_plugin_properties.uncompressed_size_in_bytes #=> Integer
1371
1383
  #
1372
1384
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeletePackage AWS API Documentation
1373
1385
  #
@@ -1907,8 +1919,7 @@ module Aws::OpenSearchService
1907
1919
  #
1908
1920
  # @option params [required, Array<String>] :domain_names
1909
1921
  # Array of OpenSearch Service domain names that you want information
1910
- # about. If you don't specify any domains, OpenSearch Service returns
1911
- # information about all domains owned by the account.
1922
+ # about. You must specify at least one domain name.
1912
1923
  #
1913
1924
  # @return [Types::DescribeDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1914
1925
  #
@@ -2371,7 +2382,7 @@ module Aws::OpenSearchService
2371
2382
  # resp = client.describe_packages({
2372
2383
  # filters: [
2373
2384
  # {
2374
- # name: "PackageID", # accepts PackageID, PackageName, PackageStatus
2385
+ # name: "PackageID", # accepts PackageID, PackageName, PackageStatus, PackageType, EngineVersion
2375
2386
  # value: ["DescribePackagesFilterValue"],
2376
2387
  # },
2377
2388
  # ],
@@ -2384,7 +2395,7 @@ module Aws::OpenSearchService
2384
2395
  # resp.package_details_list #=> Array
2385
2396
  # resp.package_details_list[0].package_id #=> String
2386
2397
  # resp.package_details_list[0].package_name #=> String
2387
- # resp.package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
2398
+ # resp.package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
2388
2399
  # resp.package_details_list[0].package_description #=> String
2389
2400
  # resp.package_details_list[0].package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
2390
2401
  # resp.package_details_list[0].created_at #=> Time
@@ -2392,6 +2403,12 @@ module Aws::OpenSearchService
2392
2403
  # resp.package_details_list[0].available_package_version #=> String
2393
2404
  # resp.package_details_list[0].error_details.error_type #=> String
2394
2405
  # resp.package_details_list[0].error_details.error_message #=> String
2406
+ # resp.package_details_list[0].engine_version #=> String
2407
+ # resp.package_details_list[0].available_plugin_properties.name #=> String
2408
+ # resp.package_details_list[0].available_plugin_properties.description #=> String
2409
+ # resp.package_details_list[0].available_plugin_properties.version #=> String
2410
+ # resp.package_details_list[0].available_plugin_properties.class_name #=> String
2411
+ # resp.package_details_list[0].available_plugin_properties.uncompressed_size_in_bytes #=> Integer
2395
2412
  # resp.next_token #=> String
2396
2413
  #
2397
2414
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribePackages AWS API Documentation
@@ -2610,7 +2627,7 @@ module Aws::OpenSearchService
2610
2627
  #
2611
2628
  # resp.domain_package_details.package_id #=> String
2612
2629
  # resp.domain_package_details.package_name #=> String
2613
- # resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY"
2630
+ # resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
2614
2631
  # resp.domain_package_details.last_updated #=> Time
2615
2632
  # resp.domain_package_details.domain_name #=> String
2616
2633
  # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
@@ -2661,6 +2678,48 @@ module Aws::OpenSearchService
2661
2678
  req.send_request(options)
2662
2679
  end
2663
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
+
2664
2723
  # Returns a list of Amazon OpenSearch Service package versions, along
2665
2724
  # with their creation time, commit message, and plugin properties (if
2666
2725
  # the package is a zip plugin package). For more information, see
@@ -2706,6 +2765,11 @@ module Aws::OpenSearchService
2706
2765
  # resp.package_version_history_list[0].package_version #=> String
2707
2766
  # resp.package_version_history_list[0].commit_message #=> String
2708
2767
  # resp.package_version_history_list[0].created_at #=> Time
2768
+ # resp.package_version_history_list[0].plugin_properties.name #=> String
2769
+ # resp.package_version_history_list[0].plugin_properties.description #=> String
2770
+ # resp.package_version_history_list[0].plugin_properties.version #=> String
2771
+ # resp.package_version_history_list[0].plugin_properties.class_name #=> String
2772
+ # resp.package_version_history_list[0].plugin_properties.uncompressed_size_in_bytes #=> Integer
2709
2773
  # resp.next_token #=> String
2710
2774
  #
2711
2775
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetPackageVersionHistory AWS API Documentation
@@ -2804,6 +2868,66 @@ module Aws::OpenSearchService
2804
2868
  req.send_request(options)
2805
2869
  end
2806
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&lt;Types::DomainMaintenanceDetails&gt;
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
+
2807
2931
  # Returns the names of all Amazon OpenSearch Service domains owned by
2808
2932
  # the current user in the active Region.
2809
2933
  #
@@ -2877,7 +3001,7 @@ module Aws::OpenSearchService
2877
3001
  # resp.domain_package_details_list #=> Array
2878
3002
  # resp.domain_package_details_list[0].package_id #=> String
2879
3003
  # resp.domain_package_details_list[0].package_name #=> String
2880
- # resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
3004
+ # resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
2881
3005
  # resp.domain_package_details_list[0].last_updated #=> Time
2882
3006
  # resp.domain_package_details_list[0].domain_name #=> String
2883
3007
  # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
@@ -3008,7 +3132,7 @@ module Aws::OpenSearchService
3008
3132
  # resp.domain_package_details_list #=> Array
3009
3133
  # resp.domain_package_details_list[0].package_id #=> String
3010
3134
  # resp.domain_package_details_list[0].package_name #=> String
3011
- # resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
3135
+ # resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
3012
3136
  # resp.domain_package_details_list[0].last_updated #=> Time
3013
3137
  # resp.domain_package_details_list[0].domain_name #=> String
3014
3138
  # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
@@ -3420,6 +3544,44 @@ module Aws::OpenSearchService
3420
3544
  req.send_request(options)
3421
3545
  end
3422
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
+
3423
3585
  # Schedules a service software update for an Amazon OpenSearch Service
3424
3586
  # domain. For more information, see [Service software updates in Amazon
3425
3587
  # OpenSearch Service][1].
@@ -3488,7 +3650,7 @@ module Aws::OpenSearchService
3488
3650
  end
3489
3651
 
3490
3652
  # Modifies the cluster configuration of the specified Amazon OpenSearch
3491
- # Service domain.sl
3653
+ # Service domain.
3492
3654
  #
3493
3655
  # @option params [required, String] :domain_name
3494
3656
  # The name of the domain that you're updating.
@@ -3929,7 +4091,7 @@ module Aws::OpenSearchService
3929
4091
  #
3930
4092
  # resp.package_details.package_id #=> String
3931
4093
  # resp.package_details.package_name #=> String
3932
- # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
4094
+ # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
3933
4095
  # resp.package_details.package_description #=> String
3934
4096
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
3935
4097
  # resp.package_details.created_at #=> Time
@@ -3937,6 +4099,12 @@ module Aws::OpenSearchService
3937
4099
  # resp.package_details.available_package_version #=> String
3938
4100
  # resp.package_details.error_details.error_type #=> String
3939
4101
  # resp.package_details.error_details.error_message #=> String
4102
+ # resp.package_details.engine_version #=> String
4103
+ # resp.package_details.available_plugin_properties.name #=> String
4104
+ # resp.package_details.available_plugin_properties.description #=> String
4105
+ # resp.package_details.available_plugin_properties.version #=> String
4106
+ # resp.package_details.available_plugin_properties.class_name #=> String
4107
+ # resp.package_details.available_plugin_properties.uncompressed_size_in_bytes #=> Integer
3940
4108
  #
3941
4109
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackage AWS API Documentation
3942
4110
  #
@@ -4152,7 +4320,7 @@ module Aws::OpenSearchService
4152
4320
  params: params,
4153
4321
  config: config)
4154
4322
  context[:gem_name] = 'aws-sdk-opensearchservice'
4155
- context[:gem_version] = '1.27.0'
4323
+ context[:gem_version] = '1.29.0'
4156
4324
  Seahorse::Client::Request.new(handlers, context)
4157
4325
  end
4158
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')
@@ -180,6 +182,7 @@ module Aws::OpenSearchService
180
182
  Endpoint = Shapes::StringShape.new(name: 'Endpoint')
181
183
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
182
184
  EngineType = Shapes::StringShape.new(name: 'EngineType')
185
+ EngineVersion = Shapes::StringShape.new(name: 'EngineVersion')
183
186
  EnvironmentInfo = Shapes::StructureShape.new(name: 'EnvironmentInfo')
184
187
  EnvironmentInfoList = Shapes::ListShape.new(name: 'EnvironmentInfoList')
185
188
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
@@ -190,6 +193,8 @@ module Aws::OpenSearchService
190
193
  GUID = Shapes::StringShape.new(name: 'GUID')
191
194
  GetCompatibleVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleVersionsRequest')
192
195
  GetCompatibleVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleVersionsResponse')
196
+ GetDomainMaintenanceStatusRequest = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusRequest')
197
+ GetDomainMaintenanceStatusResponse = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusResponse')
193
198
  GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
194
199
  GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
195
200
  GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
@@ -224,6 +229,8 @@ module Aws::OpenSearchService
224
229
  LimitValueList = Shapes::ListShape.new(name: 'LimitValueList')
225
230
  Limits = Shapes::StructureShape.new(name: 'Limits')
226
231
  LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
232
+ ListDomainMaintenancesRequest = Shapes::StructureShape.new(name: 'ListDomainMaintenancesRequest')
233
+ ListDomainMaintenancesResponse = Shapes::StructureShape.new(name: 'ListDomainMaintenancesResponse')
227
234
  ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
228
235
  ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
229
236
  ListDomainsForPackageRequest = Shapes::StructureShape.new(name: 'ListDomainsForPackageRequest')
@@ -249,6 +256,9 @@ module Aws::OpenSearchService
249
256
  LogPublishingOptionsStatus = Shapes::StructureShape.new(name: 'LogPublishingOptionsStatus')
250
257
  LogType = Shapes::StringShape.new(name: 'LogType')
251
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')
252
262
  MasterNodeStatus = Shapes::StringShape.new(name: 'MasterNodeStatus')
253
263
  MasterUserOptions = Shapes::StructureShape.new(name: 'MasterUserOptions')
254
264
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -290,6 +300,11 @@ module Aws::OpenSearchService
290
300
  PackageVersionHistory = Shapes::StructureShape.new(name: 'PackageVersionHistory')
291
301
  PackageVersionHistoryList = Shapes::ListShape.new(name: 'PackageVersionHistoryList')
292
302
  Password = Shapes::StringShape.new(name: 'Password')
303
+ PluginClassName = Shapes::StringShape.new(name: 'PluginClassName')
304
+ PluginDescription = Shapes::StringShape.new(name: 'PluginDescription')
305
+ PluginName = Shapes::StringShape.new(name: 'PluginName')
306
+ PluginProperties = Shapes::StructureShape.new(name: 'PluginProperties')
307
+ PluginVersion = Shapes::StringShape.new(name: 'PluginVersion')
293
308
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
294
309
  PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
295
310
  PurchaseReservedInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedInstanceOfferingRequest')
@@ -301,6 +316,7 @@ module Aws::OpenSearchService
301
316
  RejectInboundConnectionRequest = Shapes::StructureShape.new(name: 'RejectInboundConnectionRequest')
302
317
  RejectInboundConnectionResponse = Shapes::StructureShape.new(name: 'RejectInboundConnectionResponse')
303
318
  RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
319
+ RequestId = Shapes::StringShape.new(name: 'RequestId')
304
320
  ReservationToken = Shapes::StringShape.new(name: 'ReservationToken')
305
321
  ReservedInstance = Shapes::StructureShape.new(name: 'ReservedInstance')
306
322
  ReservedInstanceList = Shapes::ListShape.new(name: 'ReservedInstanceList')
@@ -338,6 +354,8 @@ module Aws::OpenSearchService
338
354
  SoftwareUpdateOptions = Shapes::StructureShape.new(name: 'SoftwareUpdateOptions')
339
355
  SoftwareUpdateOptionsStatus = Shapes::StructureShape.new(name: 'SoftwareUpdateOptionsStatus')
340
356
  StartAt = Shapes::TimestampShape.new(name: 'StartAt')
357
+ StartDomainMaintenanceRequest = Shapes::StructureShape.new(name: 'StartDomainMaintenanceRequest')
358
+ StartDomainMaintenanceResponse = Shapes::StructureShape.new(name: 'StartDomainMaintenanceResponse')
341
359
  StartServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateRequest')
342
360
  StartServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateResponse')
343
361
  StartTimeHours = Shapes::IntegerShape.new(name: 'StartTimeHours')
@@ -359,6 +377,7 @@ module Aws::OpenSearchService
359
377
  TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
360
378
  TotalNumberOfStages = Shapes::IntegerShape.new(name: 'TotalNumberOfStages')
361
379
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
380
+ UncompressedPluginSizeInBytes = Shapes::IntegerShape.new(name: 'UncompressedPluginSizeInBytes')
362
381
  UpdateDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateDomainConfigRequest')
363
382
  UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
364
383
  UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
@@ -881,6 +900,18 @@ module Aws::OpenSearchService
881
900
  DomainInformationContainer.add_member(:aws_domain_information, Shapes::ShapeRef.new(shape: AWSDomainInformation, location_name: "AWSDomainInformation"))
882
901
  DomainInformationContainer.struct_class = Types::DomainInformationContainer
883
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
+
884
915
  DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
885
916
 
886
917
  DomainNodesStatus.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
@@ -997,6 +1028,18 @@ module Aws::OpenSearchService
997
1028
  GetCompatibleVersionsResponse.add_member(:compatible_versions, Shapes::ShapeRef.new(shape: CompatibleVersionsList, location_name: "CompatibleVersions"))
998
1029
  GetCompatibleVersionsResponse.struct_class = Types::GetCompatibleVersionsResponse
999
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
+
1000
1043
  GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
1001
1044
  GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1002
1045
  GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1078,6 +1121,17 @@ module Aws::OpenSearchService
1078
1121
  LimitsByRole.key = Shapes::ShapeRef.new(shape: InstanceRole)
1079
1122
  LimitsByRole.value = Shapes::ShapeRef.new(shape: Limits)
1080
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
+
1081
1135
  ListDomainNamesRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location: "querystring", location_name: "engineType"))
1082
1136
  ListDomainNamesRequest.struct_class = Types::ListDomainNamesRequest
1083
1137
 
@@ -1225,6 +1279,8 @@ module Aws::OpenSearchService
1225
1279
  PackageDetails.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdatedAt"))
1226
1280
  PackageDetails.add_member(:available_package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "AvailablePackageVersion"))
1227
1281
  PackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
1282
+ PackageDetails.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
1283
+ PackageDetails.add_member(:available_plugin_properties, Shapes::ShapeRef.new(shape: PluginProperties, location_name: "AvailablePluginProperties"))
1228
1284
  PackageDetails.struct_class = Types::PackageDetails
1229
1285
 
1230
1286
  PackageDetailsList.member = Shapes::ShapeRef.new(shape: PackageDetails)
@@ -1236,10 +1292,18 @@ module Aws::OpenSearchService
1236
1292
  PackageVersionHistory.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
1237
1293
  PackageVersionHistory.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
1238
1294
  PackageVersionHistory.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
1295
+ PackageVersionHistory.add_member(:plugin_properties, Shapes::ShapeRef.new(shape: PluginProperties, location_name: "PluginProperties"))
1239
1296
  PackageVersionHistory.struct_class = Types::PackageVersionHistory
1240
1297
 
1241
1298
  PackageVersionHistoryList.member = Shapes::ShapeRef.new(shape: PackageVersionHistory)
1242
1299
 
1300
+ PluginProperties.add_member(:name, Shapes::ShapeRef.new(shape: PluginName, location_name: "Name"))
1301
+ PluginProperties.add_member(:description, Shapes::ShapeRef.new(shape: PluginDescription, location_name: "Description"))
1302
+ PluginProperties.add_member(:version, Shapes::ShapeRef.new(shape: PluginVersion, location_name: "Version"))
1303
+ PluginProperties.add_member(:class_name, Shapes::ShapeRef.new(shape: PluginClassName, location_name: "ClassName"))
1304
+ PluginProperties.add_member(:uncompressed_size_in_bytes, Shapes::ShapeRef.new(shape: UncompressedPluginSizeInBytes, location_name: "UncompressedSizeInBytes"))
1305
+ PluginProperties.struct_class = Types::PluginProperties
1306
+
1243
1307
  PurchaseReservedInstanceOfferingRequest.add_member(:reserved_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ReservedInstanceOfferingId"))
1244
1308
  PurchaseReservedInstanceOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, required: true, location_name: "ReservationName"))
1245
1309
  PurchaseReservedInstanceOfferingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "InstanceCount"))
@@ -1373,6 +1437,14 @@ module Aws::OpenSearchService
1373
1437
  SoftwareUpdateOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
1374
1438
  SoftwareUpdateOptionsStatus.struct_class = Types::SoftwareUpdateOptionsStatus
1375
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
+
1376
1448
  StartServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
1377
1449
  StartServiceSoftwareUpdateRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, location_name: "ScheduleAt"))
1378
1450
  StartServiceSoftwareUpdateRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
@@ -1985,6 +2057,19 @@ module Aws::OpenSearchService
1985
2057
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1986
2058
  end)
1987
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
+
1988
2073
  api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
1989
2074
  o.name = "GetPackageVersionHistory"
1990
2075
  o.http_method = "GET"
@@ -2036,6 +2121,25 @@ module Aws::OpenSearchService
2036
2121
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
2037
2122
  end)
2038
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
+
2039
2143
  api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
2040
2144
  o.name = "ListDomainNames"
2041
2145
  o.http_method = "GET"
@@ -2234,6 +2338,19 @@ module Aws::OpenSearchService
2234
2338
  o.errors << Shapes::ShapeRef.new(shape: BaseException)
2235
2339
  end)
2236
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
+
2237
2354
  api.add_operation(:start_service_software_update, Seahorse::Model::Operation.new.tap do |o|
2238
2355
  o.name = "StartServiceSoftwareUpdate"
2239
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?(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"
@@ -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
@@ -1423,10 +1423,13 @@ module Aws::OpenSearchService
1423
1423
  include Aws::Structure
1424
1424
  end
1425
1425
 
1426
- # Cross cluster search specific connection properties.
1426
+ # Cross-cluster search specific connection properties.
1427
1427
  #
1428
1428
  # @!attribute [rw] skip_unavailable
1429
- # Status of SkipUnavailable param for outbound connection.
1429
+ # The status of the `SkipUnavailable` setting for the outbound
1430
+ # connection. This feature allows you to specify some clusters as
1431
+ # optional and ensure that your cross-cluster queries return partial
1432
+ # results despite failures on one or more remote clusters.
1430
1433
  # @return [String]
1431
1434
  #
1432
1435
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CrossClusterSearchConnectionProperties AWS API Documentation
@@ -1892,8 +1895,7 @@ module Aws::OpenSearchService
1892
1895
  #
1893
1896
  # @!attribute [rw] domain_names
1894
1897
  # Array of OpenSearch Service domain names that you want information
1895
- # about. If you don't specify any domains, OpenSearch Service returns
1896
- # information about all domains owned by the account.
1898
+ # about. You must specify at least one domain name.
1897
1899
  # @return [Array<String>]
1898
1900
  #
1899
1901
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainsRequest AWS API Documentation
@@ -2567,6 +2569,55 @@ module Aws::OpenSearchService
2567
2569
  include Aws::Structure
2568
2570
  end
2569
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
+
2570
2621
  # Container for information about nodes on the domain.
2571
2622
  #
2572
2623
  # @!attribute [rw] node_id
@@ -3125,6 +3176,66 @@ module Aws::OpenSearchService
3125
3176
  include Aws::Structure
3126
3177
  end
3127
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
+
3128
3239
  # Container for the request parameters to the `GetPackageVersionHistory`
3129
3240
  # operation.
3130
3241
  #
@@ -3499,6 +3610,68 @@ module Aws::OpenSearchService
3499
3610
  include Aws::Structure
3500
3611
  end
3501
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
+
3502
3675
  # Container for the parameters to the `ListDomainNames` operation.
3503
3676
  #
3504
3677
  # @!attribute [rw] engine_type
@@ -4311,6 +4484,17 @@ module Aws::OpenSearchService
4311
4484
  # otherwise.
4312
4485
  # @return [Types::ErrorDetails]
4313
4486
  #
4487
+ # @!attribute [rw] engine_version
4488
+ # Version of OpenSearch or Elasticsearch, in the format
4489
+ # Elasticsearch\_X.Y or OpenSearch\_X.Y. Defaults to the latest
4490
+ # version of OpenSearch.
4491
+ # @return [String]
4492
+ #
4493
+ # @!attribute [rw] available_plugin_properties
4494
+ # If the package is a `ZIP-PLUGIN` package, additional information
4495
+ # about plugin properties.
4496
+ # @return [Types::PluginProperties]
4497
+ #
4314
4498
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageDetails AWS API Documentation
4315
4499
  #
4316
4500
  class PackageDetails < Struct.new(
@@ -4322,7 +4506,9 @@ module Aws::OpenSearchService
4322
4506
  :created_at,
4323
4507
  :last_updated_at,
4324
4508
  :available_package_version,
4325
- :error_details)
4509
+ :error_details,
4510
+ :engine_version,
4511
+ :available_plugin_properties)
4326
4512
  SENSITIVE = []
4327
4513
  include Aws::Structure
4328
4514
  end
@@ -4360,12 +4546,52 @@ module Aws::OpenSearchService
4360
4546
  # The date and time when the package was created.
4361
4547
  # @return [Time]
4362
4548
  #
4549
+ # @!attribute [rw] plugin_properties
4550
+ # Additional information about plugin properties if the package is a
4551
+ # `ZIP-PLUGIN` package.
4552
+ # @return [Types::PluginProperties]
4553
+ #
4363
4554
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageVersionHistory AWS API Documentation
4364
4555
  #
4365
4556
  class PackageVersionHistory < Struct.new(
4366
4557
  :package_version,
4367
4558
  :commit_message,
4368
- :created_at)
4559
+ :created_at,
4560
+ :plugin_properties)
4561
+ SENSITIVE = []
4562
+ include Aws::Structure
4563
+ end
4564
+
4565
+ # Basic information about the plugin.
4566
+ #
4567
+ # @!attribute [rw] name
4568
+ # The name of the plugin.
4569
+ # @return [String]
4570
+ #
4571
+ # @!attribute [rw] description
4572
+ # The description of the plugin.
4573
+ # @return [String]
4574
+ #
4575
+ # @!attribute [rw] version
4576
+ # The version of the plugin.
4577
+ # @return [String]
4578
+ #
4579
+ # @!attribute [rw] class_name
4580
+ # The name of the class to load.
4581
+ # @return [String]
4582
+ #
4583
+ # @!attribute [rw] uncompressed_size_in_bytes
4584
+ # The uncompressed size of the plugin.
4585
+ # @return [Integer]
4586
+ #
4587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PluginProperties AWS API Documentation
4588
+ #
4589
+ class PluginProperties < Struct.new(
4590
+ :name,
4591
+ :description,
4592
+ :version,
4593
+ :class_name,
4594
+ :uncompressed_size_in_bytes)
4369
4595
  SENSITIVE = []
4370
4596
  include Aws::Structure
4371
4597
  end
@@ -5006,6 +5232,46 @@ module Aws::OpenSearchService
5006
5232
  include Aws::Structure
5007
5233
  end
5008
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
+
5009
5275
  # Container for the request parameters to the
5010
5276
  # `StartServiceSoftwareUpdate` operation.
5011
5277
  #
@@ -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.27.0'
55
+ GEM_VERSION = '1.29.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.27.0
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-09-27 00:00:00.000000000 Z
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