aws-sdk-elasticsearchservice 1.45.0 → 1.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6cd4641724dded5ba138c4679d4962f1b54102755e7ad72872982f03e9666bce
4
- data.tar.gz: 81cce4f34512af12eb364b64a4fc89b64fd2c8359f45769423e02b86a595b2bb
3
+ metadata.gz: 0d6b8842b96cfdf6fa20dd341b4b37d69531eafe54a539ea6db09baec3887386
4
+ data.tar.gz: 4131d6958743b61de550a9383b1b58867bfe90259c6c639c8accb2ca4a8b3d0c
5
5
  SHA512:
6
- metadata.gz: 0c8a63826362df84e982cf2301b931a46e88881273ed3d9d9b7eea8a6c26c0bd7e78e7b30e8b616b855b6829c9e5ba66359da0ba63c589423cd557ff7ae7aab4
7
- data.tar.gz: b3bc53372b1b1135380c7c5a4d06c3a4b65a91d65744a2c63b82c252e10f06c781b974fe15e4d227532cf4350b50c8a93bbb2522d214ea5c3638fc8ae871742a
6
+ metadata.gz: 8f62c10696593dd26d4a43fc9ac83bc6e149054b0f8828e1d2992233ef0d1def8d42d98e0e12f64df77ae65b7600b4c501850f4117c11376a1f0d46aafbd7dfb
7
+ data.tar.gz: fa6dd933f520914a6a9ed75d050cd5feec44599db7fc0a132881816987d98c280f000d9056c0487b6ff0cbeafe4e5f29afda3fd2d53ed2906acafc4b58389c7a
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
48
48
  # @!group service
49
49
  module Aws::ElasticsearchService
50
50
 
51
- GEM_VERSION = '1.45.0'
51
+ GEM_VERSION = '1.50.0'
52
52
 
53
53
  end
@@ -426,6 +426,7 @@ module Aws::ElasticsearchService
426
426
  # resp.domain_package_details.last_updated #=> Time
427
427
  # resp.domain_package_details.domain_name #=> String
428
428
  # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
429
+ # resp.domain_package_details.package_version #=> String
429
430
  # resp.domain_package_details.reference_path #=> String
430
431
  # resp.domain_package_details.error_details.error_type #=> String
431
432
  # resp.domain_package_details.error_details.error_message #=> String
@@ -558,6 +559,12 @@ module Aws::ElasticsearchService
558
559
  # @option params [Types::AdvancedSecurityOptionsInput] :advanced_security_options
559
560
  # Specifies advanced security options.
560
561
  #
562
+ # @option params [Types::AutoTuneOptionsInput] :auto_tune_options
563
+ # Specifies Auto-Tune options.
564
+ #
565
+ # @option params [Array<Types::Tag>] :tag_list
566
+ # A list of `Tag` added during domain creation.
567
+ #
561
568
  # @return [Types::CreateElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
562
569
  #
563
570
  # * {Types::CreateElasticsearchDomainResponse#domain_status #domain_status} => Types::ElasticsearchDomainStatus
@@ -645,6 +652,25 @@ module Aws::ElasticsearchService
645
652
  # session_timeout_minutes: 1,
646
653
  # },
647
654
  # },
655
+ # auto_tune_options: {
656
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
657
+ # maintenance_schedules: [
658
+ # {
659
+ # start_at: Time.now,
660
+ # duration: {
661
+ # value: 1,
662
+ # unit: "HOURS", # accepts HOURS
663
+ # },
664
+ # cron_expression_for_recurrence: "String",
665
+ # },
666
+ # ],
667
+ # },
668
+ # tag_list: [
669
+ # {
670
+ # key: "TagKey", # required
671
+ # value: "TagValue", # required
672
+ # },
673
+ # ],
648
674
  # })
649
675
  #
650
676
  # @example Response structure
@@ -716,6 +742,8 @@ module Aws::ElasticsearchService
716
742
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
717
743
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
718
744
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
745
+ # resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
746
+ # resp.domain_status.auto_tune_options.error_message #=> String
719
747
  #
720
748
  # @overload create_elasticsearch_domain(params = {})
721
749
  # @param [Hash] params ({})
@@ -820,6 +848,8 @@ module Aws::ElasticsearchService
820
848
  # resp.package_details.package_description #=> String
821
849
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
822
850
  # resp.package_details.created_at #=> Time
851
+ # resp.package_details.last_updated_at #=> Time
852
+ # resp.package_details.available_package_version #=> String
823
853
  # resp.package_details.error_details.error_type #=> String
824
854
  # resp.package_details.error_details.error_message #=> String
825
855
  #
@@ -916,6 +946,8 @@ module Aws::ElasticsearchService
916
946
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
917
947
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
918
948
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
949
+ # resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
950
+ # resp.domain_status.auto_tune_options.error_message #=> String
919
951
  #
920
952
  # @overload delete_elasticsearch_domain(params = {})
921
953
  # @param [Hash] params ({})
@@ -1039,6 +1071,8 @@ module Aws::ElasticsearchService
1039
1071
  # resp.package_details.package_description #=> String
1040
1072
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1041
1073
  # resp.package_details.created_at #=> Time
1074
+ # resp.package_details.last_updated_at #=> Time
1075
+ # resp.package_details.available_package_version #=> String
1042
1076
  # resp.package_details.error_details.error_type #=> String
1043
1077
  # resp.package_details.error_details.error_message #=> String
1044
1078
  #
@@ -1049,6 +1083,53 @@ module Aws::ElasticsearchService
1049
1083
  req.send_request(options)
1050
1084
  end
1051
1085
 
1086
+ # Provides scheduled Auto-Tune action details for the Elasticsearch
1087
+ # domain, such as Auto-Tune action type, description, severity, and
1088
+ # scheduled date.
1089
+ #
1090
+ # @option params [required, String] :domain_name
1091
+ # Specifies the domain name for which you want Auto-Tune action details.
1092
+ #
1093
+ # @option params [Integer] :max_results
1094
+ # Set this value to limit the number of results returned. If not
1095
+ # specified, defaults to 100.
1096
+ #
1097
+ # @option params [String] :next_token
1098
+ # NextToken is sent in case the earlier API call results contain the
1099
+ # NextToken. It is used for pagination.
1100
+ #
1101
+ # @return [Types::DescribeDomainAutoTunesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1102
+ #
1103
+ # * {Types::DescribeDomainAutoTunesResponse#auto_tunes #auto_tunes} => Array&lt;Types::AutoTune&gt;
1104
+ # * {Types::DescribeDomainAutoTunesResponse#next_token #next_token} => String
1105
+ #
1106
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1107
+ #
1108
+ # @example Request syntax with placeholder values
1109
+ #
1110
+ # resp = client.describe_domain_auto_tunes({
1111
+ # domain_name: "DomainName", # required
1112
+ # max_results: 1,
1113
+ # next_token: "NextToken",
1114
+ # })
1115
+ #
1116
+ # @example Response structure
1117
+ #
1118
+ # resp.auto_tunes #=> Array
1119
+ # resp.auto_tunes[0].auto_tune_type #=> String, one of "SCHEDULED_ACTION"
1120
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.date #=> Time
1121
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.action_type #=> String, one of "JVM_HEAP_SIZE_TUNING", "JVM_YOUNG_GEN_TUNING"
1122
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.action #=> String
1123
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1124
+ # resp.next_token #=> String
1125
+ #
1126
+ # @overload describe_domain_auto_tunes(params = {})
1127
+ # @param [Hash] params ({})
1128
+ def describe_domain_auto_tunes(params = {}, options = {})
1129
+ req = build_request(:describe_domain_auto_tunes, params)
1130
+ req.send_request(options)
1131
+ end
1132
+
1052
1133
  # Returns domain configuration information about the specified
1053
1134
  # Elasticsearch domain, including the domain ID, domain endpoint, and
1054
1135
  # domain ARN.
@@ -1135,6 +1216,8 @@ module Aws::ElasticsearchService
1135
1216
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
1136
1217
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
1137
1218
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1219
+ # resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
1220
+ # resp.domain_status.auto_tune_options.error_message #=> String
1138
1221
  #
1139
1222
  # @overload describe_elasticsearch_domain(params = {})
1140
1223
  # @param [Hash] params ({})
@@ -1276,6 +1359,19 @@ module Aws::ElasticsearchService
1276
1359
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
1277
1360
  # resp.domain_config.advanced_security_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
1278
1361
  # resp.domain_config.advanced_security_options.status.pending_deletion #=> Boolean
1362
+ # resp.domain_config.auto_tune_options.options.desired_state #=> String, one of "ENABLED", "DISABLED"
1363
+ # resp.domain_config.auto_tune_options.options.rollback_on_disable #=> String, one of "NO_ROLLBACK", "DEFAULT_ROLLBACK"
1364
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules #=> Array
1365
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].start_at #=> Time
1366
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.value #=> Integer
1367
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.unit #=> String, one of "HOURS"
1368
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].cron_expression_for_recurrence #=> String
1369
+ # resp.domain_config.auto_tune_options.status.creation_date #=> Time
1370
+ # resp.domain_config.auto_tune_options.status.update_date #=> Time
1371
+ # resp.domain_config.auto_tune_options.status.update_version #=> Integer
1372
+ # resp.domain_config.auto_tune_options.status.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
1373
+ # resp.domain_config.auto_tune_options.status.error_message #=> String
1374
+ # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
1279
1375
  #
1280
1376
  # @overload describe_elasticsearch_domain_config(params = {})
1281
1377
  # @param [Hash] params ({})
@@ -1371,6 +1467,8 @@ module Aws::ElasticsearchService
1371
1467
  # resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String
1372
1468
  # resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String
1373
1469
  # resp.domain_status_list[0].advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1470
+ # resp.domain_status_list[0].auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
1471
+ # resp.domain_status_list[0].auto_tune_options.error_message #=> String
1374
1472
  #
1375
1473
  # @overload describe_elasticsearch_domains(params = {})
1376
1474
  # @param [Hash] params ({})
@@ -1598,6 +1696,8 @@ module Aws::ElasticsearchService
1598
1696
  # resp.package_details_list[0].package_description #=> String
1599
1697
  # resp.package_details_list[0].package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1600
1698
  # resp.package_details_list[0].created_at #=> Time
1699
+ # resp.package_details_list[0].last_updated_at #=> Time
1700
+ # resp.package_details_list[0].available_package_version #=> String
1601
1701
  # resp.package_details_list[0].error_details.error_type #=> String
1602
1702
  # resp.package_details_list[0].error_details.error_message #=> String
1603
1703
  # resp.next_token #=> String
@@ -1747,6 +1847,7 @@ module Aws::ElasticsearchService
1747
1847
  # resp.domain_package_details.last_updated #=> Time
1748
1848
  # resp.domain_package_details.domain_name #=> String
1749
1849
  # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
1850
+ # resp.domain_package_details.package_version #=> String
1750
1851
  # resp.domain_package_details.reference_path #=> String
1751
1852
  # resp.domain_package_details.error_details.error_type #=> String
1752
1853
  # resp.domain_package_details.error_details.error_message #=> String
@@ -1792,6 +1893,52 @@ module Aws::ElasticsearchService
1792
1893
  req.send_request(options)
1793
1894
  end
1794
1895
 
1896
+ # Returns a list of versions of the package, along with their creation
1897
+ # time and commit message.
1898
+ #
1899
+ # @option params [required, String] :package_id
1900
+ # Returns an audit history of versions of the package.
1901
+ #
1902
+ # @option params [Integer] :max_results
1903
+ # Limits results to a maximum number of versions.
1904
+ #
1905
+ # @option params [String] :next_token
1906
+ # Used for pagination. Only necessary if a previous API call includes a
1907
+ # non-null NextToken value. If provided, returns results for the next
1908
+ # page.
1909
+ #
1910
+ # @return [Types::GetPackageVersionHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1911
+ #
1912
+ # * {Types::GetPackageVersionHistoryResponse#package_id #package_id} => String
1913
+ # * {Types::GetPackageVersionHistoryResponse#package_version_history_list #package_version_history_list} => Array&lt;Types::PackageVersionHistory&gt;
1914
+ # * {Types::GetPackageVersionHistoryResponse#next_token #next_token} => String
1915
+ #
1916
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1917
+ #
1918
+ # @example Request syntax with placeholder values
1919
+ #
1920
+ # resp = client.get_package_version_history({
1921
+ # package_id: "PackageID", # required
1922
+ # max_results: 1,
1923
+ # next_token: "NextToken",
1924
+ # })
1925
+ #
1926
+ # @example Response structure
1927
+ #
1928
+ # resp.package_id #=> String
1929
+ # resp.package_version_history_list #=> Array
1930
+ # resp.package_version_history_list[0].package_version #=> String
1931
+ # resp.package_version_history_list[0].commit_message #=> String
1932
+ # resp.package_version_history_list[0].created_at #=> Time
1933
+ # resp.next_token #=> String
1934
+ #
1935
+ # @overload get_package_version_history(params = {})
1936
+ # @param [Hash] params ({})
1937
+ def get_package_version_history(params = {}, options = {})
1938
+ req = build_request(:get_package_version_history, params)
1939
+ req.send_request(options)
1940
+ end
1941
+
1795
1942
  # Retrieves the complete history of the last 10 upgrades that were
1796
1943
  # performed on the domain.
1797
1944
  #
@@ -1935,6 +2082,7 @@ module Aws::ElasticsearchService
1935
2082
  # resp.domain_package_details_list[0].last_updated #=> Time
1936
2083
  # resp.domain_package_details_list[0].domain_name #=> String
1937
2084
  # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
2085
+ # resp.domain_package_details_list[0].package_version #=> String
1938
2086
  # resp.domain_package_details_list[0].reference_path #=> String
1939
2087
  # resp.domain_package_details_list[0].error_details.error_type #=> String
1940
2088
  # resp.domain_package_details_list[0].error_details.error_message #=> String
@@ -2071,6 +2219,7 @@ module Aws::ElasticsearchService
2071
2219
  # resp.domain_package_details_list[0].last_updated #=> Time
2072
2220
  # resp.domain_package_details_list[0].domain_name #=> String
2073
2221
  # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
2222
+ # resp.domain_package_details_list[0].package_version #=> String
2074
2223
  # resp.domain_package_details_list[0].reference_path #=> String
2075
2224
  # resp.domain_package_details_list[0].error_details.error_type #=> String
2076
2225
  # resp.domain_package_details_list[0].error_details.error_message #=> String
@@ -2304,6 +2453,15 @@ module Aws::ElasticsearchService
2304
2453
  # @option params [Types::AdvancedSecurityOptionsInput] :advanced_security_options
2305
2454
  # Specifies advanced security options.
2306
2455
  #
2456
+ # @option params [Types::NodeToNodeEncryptionOptions] :node_to_node_encryption_options
2457
+ # Specifies the NodeToNodeEncryptionOptions.
2458
+ #
2459
+ # @option params [Types::EncryptionAtRestOptions] :encryption_at_rest_options
2460
+ # Specifies the Encryption At Rest Options.
2461
+ #
2462
+ # @option params [Types::AutoTuneOptions] :auto_tune_options
2463
+ # Specifies Auto-Tune options.
2464
+ #
2307
2465
  # @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2308
2466
  #
2309
2467
  # * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
@@ -2383,6 +2541,27 @@ module Aws::ElasticsearchService
2383
2541
  # session_timeout_minutes: 1,
2384
2542
  # },
2385
2543
  # },
2544
+ # node_to_node_encryption_options: {
2545
+ # enabled: false,
2546
+ # },
2547
+ # encryption_at_rest_options: {
2548
+ # enabled: false,
2549
+ # kms_key_id: "KmsKeyId",
2550
+ # },
2551
+ # auto_tune_options: {
2552
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
2553
+ # rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
2554
+ # maintenance_schedules: [
2555
+ # {
2556
+ # start_at: Time.now,
2557
+ # duration: {
2558
+ # value: 1,
2559
+ # unit: "HOURS", # accepts HOURS
2560
+ # },
2561
+ # cron_expression_for_recurrence: "String",
2562
+ # },
2563
+ # ],
2564
+ # },
2386
2565
  # })
2387
2566
  #
2388
2567
  # @example Response structure
@@ -2501,6 +2680,19 @@ module Aws::ElasticsearchService
2501
2680
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
2502
2681
  # resp.domain_config.advanced_security_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2503
2682
  # resp.domain_config.advanced_security_options.status.pending_deletion #=> Boolean
2683
+ # resp.domain_config.auto_tune_options.options.desired_state #=> String, one of "ENABLED", "DISABLED"
2684
+ # resp.domain_config.auto_tune_options.options.rollback_on_disable #=> String, one of "NO_ROLLBACK", "DEFAULT_ROLLBACK"
2685
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules #=> Array
2686
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].start_at #=> Time
2687
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.value #=> Integer
2688
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.unit #=> String, one of "HOURS"
2689
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].cron_expression_for_recurrence #=> String
2690
+ # resp.domain_config.auto_tune_options.status.creation_date #=> Time
2691
+ # resp.domain_config.auto_tune_options.status.update_date #=> Time
2692
+ # resp.domain_config.auto_tune_options.status.update_version #=> Integer
2693
+ # resp.domain_config.auto_tune_options.status.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
2694
+ # resp.domain_config.auto_tune_options.status.error_message #=> String
2695
+ # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
2504
2696
  #
2505
2697
  # @overload update_elasticsearch_domain_config(params = {})
2506
2698
  # @param [Hash] params ({})
@@ -2509,6 +2701,58 @@ module Aws::ElasticsearchService
2509
2701
  req.send_request(options)
2510
2702
  end
2511
2703
 
2704
+ # Updates a package for use with Amazon ES domains.
2705
+ #
2706
+ # @option params [required, String] :package_id
2707
+ # Unique identifier for the package.
2708
+ #
2709
+ # @option params [required, Types::PackageSource] :package_source
2710
+ # The S3 location for importing the package specified as `S3BucketName`
2711
+ # and `S3Key`
2712
+ #
2713
+ # @option params [String] :package_description
2714
+ # New description of the package.
2715
+ #
2716
+ # @option params [String] :commit_message
2717
+ # An info message for the new version which will be shown as part of
2718
+ # `GetPackageVersionHistoryResponse`.
2719
+ #
2720
+ # @return [Types::UpdatePackageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2721
+ #
2722
+ # * {Types::UpdatePackageResponse#package_details #package_details} => Types::PackageDetails
2723
+ #
2724
+ # @example Request syntax with placeholder values
2725
+ #
2726
+ # resp = client.update_package({
2727
+ # package_id: "PackageID", # required
2728
+ # package_source: { # required
2729
+ # s3_bucket_name: "S3BucketName",
2730
+ # s3_key: "S3Key",
2731
+ # },
2732
+ # package_description: "PackageDescription",
2733
+ # commit_message: "CommitMessage",
2734
+ # })
2735
+ #
2736
+ # @example Response structure
2737
+ #
2738
+ # resp.package_details.package_id #=> String
2739
+ # resp.package_details.package_name #=> String
2740
+ # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
2741
+ # resp.package_details.package_description #=> String
2742
+ # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
2743
+ # resp.package_details.created_at #=> Time
2744
+ # resp.package_details.last_updated_at #=> Time
2745
+ # resp.package_details.available_package_version #=> String
2746
+ # resp.package_details.error_details.error_type #=> String
2747
+ # resp.package_details.error_details.error_message #=> String
2748
+ #
2749
+ # @overload update_package(params = {})
2750
+ # @param [Hash] params ({})
2751
+ def update_package(params = {}, options = {})
2752
+ req = build_request(:update_package, params)
2753
+ req.send_request(options)
2754
+ end
2755
+
2512
2756
  # Allows you to either upgrade your domain or perform an Upgrade
2513
2757
  # eligibility check to a compatible Elasticsearch version.
2514
2758
  #
@@ -2566,7 +2810,7 @@ module Aws::ElasticsearchService
2566
2810
  params: params,
2567
2811
  config: config)
2568
2812
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2569
- context[:gem_version] = '1.45.0'
2813
+ context[:gem_version] = '1.50.0'
2570
2814
  Seahorse::Client::Request.new(handlers, context)
2571
2815
  end
2572
2816
 
@@ -28,6 +28,20 @@ module Aws::ElasticsearchService
28
28
  AdvancedSecurityOptionsStatus = Shapes::StructureShape.new(name: 'AdvancedSecurityOptionsStatus')
29
29
  AssociatePackageRequest = Shapes::StructureShape.new(name: 'AssociatePackageRequest')
30
30
  AssociatePackageResponse = Shapes::StructureShape.new(name: 'AssociatePackageResponse')
31
+ AutoTune = Shapes::StructureShape.new(name: 'AutoTune')
32
+ AutoTuneDate = Shapes::TimestampShape.new(name: 'AutoTuneDate')
33
+ AutoTuneDesiredState = Shapes::StringShape.new(name: 'AutoTuneDesiredState')
34
+ AutoTuneDetails = Shapes::StructureShape.new(name: 'AutoTuneDetails')
35
+ AutoTuneList = Shapes::ListShape.new(name: 'AutoTuneList')
36
+ AutoTuneMaintenanceSchedule = Shapes::StructureShape.new(name: 'AutoTuneMaintenanceSchedule')
37
+ AutoTuneMaintenanceScheduleList = Shapes::ListShape.new(name: 'AutoTuneMaintenanceScheduleList')
38
+ AutoTuneOptions = Shapes::StructureShape.new(name: 'AutoTuneOptions')
39
+ AutoTuneOptionsInput = Shapes::StructureShape.new(name: 'AutoTuneOptionsInput')
40
+ AutoTuneOptionsOutput = Shapes::StructureShape.new(name: 'AutoTuneOptionsOutput')
41
+ AutoTuneOptionsStatus = Shapes::StructureShape.new(name: 'AutoTuneOptionsStatus')
42
+ AutoTuneState = Shapes::StringShape.new(name: 'AutoTuneState')
43
+ AutoTuneStatus = Shapes::StructureShape.new(name: 'AutoTuneStatus')
44
+ AutoTuneType = Shapes::StringShape.new(name: 'AutoTuneType')
31
45
  BackendRole = Shapes::StringShape.new(name: 'BackendRole')
32
46
  BaseException = Shapes::StructureShape.new(name: 'BaseException')
33
47
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -36,6 +50,7 @@ module Aws::ElasticsearchService
36
50
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
37
51
  CognitoOptions = Shapes::StructureShape.new(name: 'CognitoOptions')
38
52
  CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
53
+ CommitMessage = Shapes::StringShape.new(name: 'CommitMessage')
39
54
  CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
40
55
  CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
41
56
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -59,6 +74,8 @@ module Aws::ElasticsearchService
59
74
  DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
60
75
  DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
61
76
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
77
+ DescribeDomainAutoTunesRequest = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesRequest')
78
+ DescribeDomainAutoTunesResponse = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesResponse')
62
79
  DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
63
80
  DescribeElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigResponse')
64
81
  DescribeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainRequest')
@@ -98,6 +115,8 @@ module Aws::ElasticsearchService
98
115
  DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
99
116
  DomainPackageStatus = Shapes::StringShape.new(name: 'DomainPackageStatus')
100
117
  Double = Shapes::FloatShape.new(name: 'Double')
118
+ Duration = Shapes::StructureShape.new(name: 'Duration')
119
+ DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
101
120
  EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
102
121
  EBSOptionsStatus = Shapes::StructureShape.new(name: 'EBSOptionsStatus')
103
122
  ESPartitionInstanceType = Shapes::StringShape.new(name: 'ESPartitionInstanceType')
@@ -122,6 +141,8 @@ module Aws::ElasticsearchService
122
141
  GUID = Shapes::StringShape.new(name: 'GUID')
123
142
  GetCompatibleElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsRequest')
124
143
  GetCompatibleElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsResponse')
144
+ GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
145
+ GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
125
146
  GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
126
147
  GetUpgradeHistoryResponse = Shapes::StructureShape.new(name: 'GetUpgradeHistoryResponse')
127
148
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
@@ -188,6 +209,9 @@ module Aws::ElasticsearchService
188
209
  PackageSource = Shapes::StructureShape.new(name: 'PackageSource')
189
210
  PackageStatus = Shapes::StringShape.new(name: 'PackageStatus')
190
211
  PackageType = Shapes::StringShape.new(name: 'PackageType')
212
+ PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
213
+ PackageVersionHistory = Shapes::StructureShape.new(name: 'PackageVersionHistory')
214
+ PackageVersionHistoryList = Shapes::ListShape.new(name: 'PackageVersionHistoryList')
191
215
  Password = Shapes::StringShape.new(name: 'Password')
192
216
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
193
217
  PurchaseReservedElasticsearchInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingRequest')
@@ -208,6 +232,7 @@ module Aws::ElasticsearchService
208
232
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
209
233
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
210
234
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
235
+ RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable')
211
236
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
212
237
  S3Key = Shapes::StringShape.new(name: 'S3Key')
213
238
  SAMLEntityId = Shapes::StringShape.new(name: 'SAMLEntityId')
@@ -215,10 +240,15 @@ module Aws::ElasticsearchService
215
240
  SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
216
241
  SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
217
242
  SAMLOptionsOutput = Shapes::StructureShape.new(name: 'SAMLOptionsOutput')
243
+ ScheduledAutoTuneActionType = Shapes::StringShape.new(name: 'ScheduledAutoTuneActionType')
244
+ ScheduledAutoTuneDescription = Shapes::StringShape.new(name: 'ScheduledAutoTuneDescription')
245
+ ScheduledAutoTuneDetails = Shapes::StructureShape.new(name: 'ScheduledAutoTuneDetails')
246
+ ScheduledAutoTuneSeverityType = Shapes::StringShape.new(name: 'ScheduledAutoTuneSeverityType')
218
247
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
219
248
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
220
249
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
221
250
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
251
+ StartAt = Shapes::TimestampShape.new(name: 'StartAt')
222
252
  StartElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateRequest')
223
253
  StartElasticsearchServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateResponse')
224
254
  StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
@@ -235,9 +265,12 @@ module Aws::ElasticsearchService
235
265
  TagKey = Shapes::StringShape.new(name: 'TagKey')
236
266
  TagList = Shapes::ListShape.new(name: 'TagList')
237
267
  TagValue = Shapes::StringShape.new(name: 'TagValue')
268
+ TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
238
269
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
239
270
  UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
240
271
  UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
272
+ UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
273
+ UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
241
274
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
242
275
  UpgradeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainRequest')
243
276
  UpgradeElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainResponse')
@@ -309,6 +342,47 @@ module Aws::ElasticsearchService
309
342
  AssociatePackageResponse.add_member(:domain_package_details, Shapes::ShapeRef.new(shape: DomainPackageDetails, location_name: "DomainPackageDetails"))
310
343
  AssociatePackageResponse.struct_class = Types::AssociatePackageResponse
311
344
 
345
+ AutoTune.add_member(:auto_tune_type, Shapes::ShapeRef.new(shape: AutoTuneType, location_name: "AutoTuneType"))
346
+ AutoTune.add_member(:auto_tune_details, Shapes::ShapeRef.new(shape: AutoTuneDetails, location_name: "AutoTuneDetails"))
347
+ AutoTune.struct_class = Types::AutoTune
348
+
349
+ AutoTuneDetails.add_member(:scheduled_auto_tune_details, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDetails, location_name: "ScheduledAutoTuneDetails"))
350
+ AutoTuneDetails.struct_class = Types::AutoTuneDetails
351
+
352
+ AutoTuneList.member = Shapes::ShapeRef.new(shape: AutoTune)
353
+
354
+ AutoTuneMaintenanceSchedule.add_member(:start_at, Shapes::ShapeRef.new(shape: StartAt, location_name: "StartAt"))
355
+ AutoTuneMaintenanceSchedule.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration"))
356
+ AutoTuneMaintenanceSchedule.add_member(:cron_expression_for_recurrence, Shapes::ShapeRef.new(shape: String, location_name: "CronExpressionForRecurrence"))
357
+ AutoTuneMaintenanceSchedule.struct_class = Types::AutoTuneMaintenanceSchedule
358
+
359
+ AutoTuneMaintenanceScheduleList.member = Shapes::ShapeRef.new(shape: AutoTuneMaintenanceSchedule)
360
+
361
+ AutoTuneOptions.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
362
+ AutoTuneOptions.add_member(:rollback_on_disable, Shapes::ShapeRef.new(shape: RollbackOnDisable, location_name: "RollbackOnDisable"))
363
+ AutoTuneOptions.add_member(:maintenance_schedules, Shapes::ShapeRef.new(shape: AutoTuneMaintenanceScheduleList, location_name: "MaintenanceSchedules"))
364
+ AutoTuneOptions.struct_class = Types::AutoTuneOptions
365
+
366
+ AutoTuneOptionsInput.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
367
+ AutoTuneOptionsInput.add_member(:maintenance_schedules, Shapes::ShapeRef.new(shape: AutoTuneMaintenanceScheduleList, location_name: "MaintenanceSchedules"))
368
+ AutoTuneOptionsInput.struct_class = Types::AutoTuneOptionsInput
369
+
370
+ AutoTuneOptionsOutput.add_member(:state, Shapes::ShapeRef.new(shape: AutoTuneState, location_name: "State"))
371
+ AutoTuneOptionsOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
372
+ AutoTuneOptionsOutput.struct_class = Types::AutoTuneOptionsOutput
373
+
374
+ AutoTuneOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "Options"))
375
+ AutoTuneOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: AutoTuneStatus, location_name: "Status"))
376
+ AutoTuneOptionsStatus.struct_class = Types::AutoTuneOptionsStatus
377
+
378
+ AutoTuneStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "CreationDate"))
379
+ AutoTuneStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "UpdateDate"))
380
+ AutoTuneStatus.add_member(:update_version, Shapes::ShapeRef.new(shape: UIntValue, location_name: "UpdateVersion"))
381
+ AutoTuneStatus.add_member(:state, Shapes::ShapeRef.new(shape: AutoTuneState, required: true, location_name: "State"))
382
+ AutoTuneStatus.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
383
+ AutoTuneStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
384
+ AutoTuneStatus.struct_class = Types::AutoTuneStatus
385
+
312
386
  BaseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
313
387
  BaseException.struct_class = Types::BaseException
314
388
 
@@ -350,6 +424,8 @@ module Aws::ElasticsearchService
350
424
  CreateElasticsearchDomainRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
351
425
  CreateElasticsearchDomainRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
352
426
  CreateElasticsearchDomainRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
427
+ CreateElasticsearchDomainRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsInput, location_name: "AutoTuneOptions"))
428
+ CreateElasticsearchDomainRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
353
429
  CreateElasticsearchDomainRequest.struct_class = Types::CreateElasticsearchDomainRequest
354
430
 
355
431
  CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
@@ -400,6 +476,15 @@ module Aws::ElasticsearchService
400
476
  DeletePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
401
477
  DeletePackageResponse.struct_class = Types::DeletePackageResponse
402
478
 
479
+ DescribeDomainAutoTunesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
480
+ DescribeDomainAutoTunesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
481
+ DescribeDomainAutoTunesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
482
+ DescribeDomainAutoTunesRequest.struct_class = Types::DescribeDomainAutoTunesRequest
483
+
484
+ DescribeDomainAutoTunesResponse.add_member(:auto_tunes, Shapes::ShapeRef.new(shape: AutoTuneList, location_name: "AutoTunes"))
485
+ DescribeDomainAutoTunesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
486
+ DescribeDomainAutoTunesResponse.struct_class = Types::DescribeDomainAutoTunesResponse
487
+
403
488
  DescribeElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
404
489
  DescribeElasticsearchDomainConfigRequest.struct_class = Types::DescribeElasticsearchDomainConfigRequest
405
490
 
@@ -517,12 +602,17 @@ module Aws::ElasticsearchService
517
602
  DomainPackageDetails.add_member(:last_updated, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdated"))
518
603
  DomainPackageDetails.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
519
604
  DomainPackageDetails.add_member(:domain_package_status, Shapes::ShapeRef.new(shape: DomainPackageStatus, location_name: "DomainPackageStatus"))
605
+ DomainPackageDetails.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
520
606
  DomainPackageDetails.add_member(:reference_path, Shapes::ShapeRef.new(shape: ReferencePath, location_name: "ReferencePath"))
521
607
  DomainPackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
522
608
  DomainPackageDetails.struct_class = Types::DomainPackageDetails
523
609
 
524
610
  DomainPackageDetailsList.member = Shapes::ShapeRef.new(shape: DomainPackageDetails)
525
611
 
612
+ Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValue, location_name: "Value"))
613
+ Duration.add_member(:unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "Unit"))
614
+ Duration.struct_class = Types::Duration
615
+
526
616
  EBSOptions.add_member(:ebs_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EBSEnabled"))
527
617
  EBSOptions.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
528
618
  EBSOptions.add_member(:volume_size, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "VolumeSize"))
@@ -562,6 +652,7 @@ module Aws::ElasticsearchService
562
652
  ElasticsearchDomainConfig.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptionsStatus, location_name: "LogPublishingOptions"))
563
653
  ElasticsearchDomainConfig.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
564
654
  ElasticsearchDomainConfig.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsStatus, location_name: "AdvancedSecurityOptions"))
655
+ ElasticsearchDomainConfig.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsStatus, location_name: "AutoTuneOptions"))
565
656
  ElasticsearchDomainConfig.struct_class = Types::ElasticsearchDomainConfig
566
657
 
567
658
  ElasticsearchDomainStatus.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
@@ -587,6 +678,7 @@ module Aws::ElasticsearchService
587
678
  ElasticsearchDomainStatus.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
588
679
  ElasticsearchDomainStatus.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
589
680
  ElasticsearchDomainStatus.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, location_name: "AdvancedSecurityOptions"))
681
+ ElasticsearchDomainStatus.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsOutput, location_name: "AutoTuneOptions"))
590
682
  ElasticsearchDomainStatus.struct_class = Types::ElasticsearchDomainStatus
591
683
 
592
684
  ElasticsearchDomainStatusList.member = Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus)
@@ -626,6 +718,16 @@ module Aws::ElasticsearchService
626
718
  GetCompatibleElasticsearchVersionsResponse.add_member(:compatible_elasticsearch_versions, Shapes::ShapeRef.new(shape: CompatibleElasticsearchVersionsList, location_name: "CompatibleElasticsearchVersions"))
627
719
  GetCompatibleElasticsearchVersionsResponse.struct_class = Types::GetCompatibleElasticsearchVersionsResponse
628
720
 
721
+ GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
722
+ GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
723
+ GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
724
+ GetPackageVersionHistoryRequest.struct_class = Types::GetPackageVersionHistoryRequest
725
+
726
+ GetPackageVersionHistoryResponse.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
727
+ GetPackageVersionHistoryResponse.add_member(:package_version_history_list, Shapes::ShapeRef.new(shape: PackageVersionHistoryList, location_name: "PackageVersionHistoryList"))
728
+ GetPackageVersionHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
729
+ GetPackageVersionHistoryResponse.struct_class = Types::GetPackageVersionHistoryResponse
730
+
629
731
  GetUpgradeHistoryRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
630
732
  GetUpgradeHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
631
733
  GetUpgradeHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -776,6 +878,8 @@ module Aws::ElasticsearchService
776
878
  PackageDetails.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
777
879
  PackageDetails.add_member(:package_status, Shapes::ShapeRef.new(shape: PackageStatus, location_name: "PackageStatus"))
778
880
  PackageDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
881
+ PackageDetails.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdatedAt"))
882
+ PackageDetails.add_member(:available_package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "AvailablePackageVersion"))
779
883
  PackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
780
884
  PackageDetails.struct_class = Types::PackageDetails
781
885
 
@@ -785,6 +889,13 @@ module Aws::ElasticsearchService
785
889
  PackageSource.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
786
890
  PackageSource.struct_class = Types::PackageSource
787
891
 
892
+ PackageVersionHistory.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
893
+ PackageVersionHistory.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
894
+ PackageVersionHistory.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
895
+ PackageVersionHistory.struct_class = Types::PackageVersionHistory
896
+
897
+ PackageVersionHistoryList.member = Shapes::ShapeRef.new(shape: PackageVersionHistory)
898
+
788
899
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ReservedElasticsearchInstanceOfferingId"))
789
900
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, required: true, location_name: "ReservationName"))
790
901
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "InstanceCount"))
@@ -863,6 +974,12 @@ module Aws::ElasticsearchService
863
974
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
864
975
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
865
976
 
977
+ ScheduledAutoTuneDetails.add_member(:date, Shapes::ShapeRef.new(shape: AutoTuneDate, location_name: "Date"))
978
+ ScheduledAutoTuneDetails.add_member(:action_type, Shapes::ShapeRef.new(shape: ScheduledAutoTuneActionType, location_name: "ActionType"))
979
+ ScheduledAutoTuneDetails.add_member(:action, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDescription, location_name: "Action"))
980
+ ScheduledAutoTuneDetails.add_member(:severity, Shapes::ShapeRef.new(shape: ScheduledAutoTuneSeverityType, location_name: "Severity"))
981
+ ScheduledAutoTuneDetails.struct_class = Types::ScheduledAutoTuneDetails
982
+
866
983
  ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
867
984
  ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
868
985
  ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
@@ -918,11 +1035,23 @@ module Aws::ElasticsearchService
918
1035
  UpdateElasticsearchDomainConfigRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
919
1036
  UpdateElasticsearchDomainConfigRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
920
1037
  UpdateElasticsearchDomainConfigRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
1038
+ UpdateElasticsearchDomainConfigRequest.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
1039
+ UpdateElasticsearchDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
1040
+ UpdateElasticsearchDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
921
1041
  UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
922
1042
 
923
1043
  UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
924
1044
  UpdateElasticsearchDomainConfigResponse.struct_class = Types::UpdateElasticsearchDomainConfigResponse
925
1045
 
1046
+ UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
1047
+ UpdatePackageRequest.add_member(:package_source, Shapes::ShapeRef.new(shape: PackageSource, required: true, location_name: "PackageSource"))
1048
+ UpdatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
1049
+ UpdatePackageRequest.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
1050
+ UpdatePackageRequest.struct_class = Types::UpdatePackageRequest
1051
+
1052
+ UpdatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
1053
+ UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
1054
+
926
1055
  UpgradeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
927
1056
  UpgradeElasticsearchDomainRequest.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "TargetVersion"))
928
1057
  UpgradeElasticsearchDomainRequest.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
@@ -1134,6 +1263,24 @@ module Aws::ElasticsearchService
1134
1263
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1135
1264
  end)
1136
1265
 
1266
+ api.add_operation(:describe_domain_auto_tunes, Seahorse::Model::Operation.new.tap do |o|
1267
+ o.name = "DescribeDomainAutoTunes"
1268
+ o.http_method = "GET"
1269
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/autoTunes"
1270
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainAutoTunesRequest)
1271
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainAutoTunesResponse)
1272
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1273
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1274
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1275
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1276
+ o[:pager] = Aws::Pager.new(
1277
+ limit_key: "max_results",
1278
+ tokens: {
1279
+ "next_token" => "next_token"
1280
+ }
1281
+ )
1282
+ end)
1283
+
1137
1284
  api.add_operation(:describe_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1138
1285
  o.name = "DescribeElasticsearchDomain"
1139
1286
  o.http_method = "GET"
@@ -1297,6 +1444,25 @@ module Aws::ElasticsearchService
1297
1444
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1298
1445
  end)
1299
1446
 
1447
+ api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
1448
+ o.name = "GetPackageVersionHistory"
1449
+ o.http_method = "GET"
1450
+ o.http_request_uri = "/2015-01-01/packages/{PackageID}/history"
1451
+ o.input = Shapes::ShapeRef.new(shape: GetPackageVersionHistoryRequest)
1452
+ o.output = Shapes::ShapeRef.new(shape: GetPackageVersionHistoryResponse)
1453
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1454
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1456
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1457
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1458
+ o[:pager] = Aws::Pager.new(
1459
+ limit_key: "max_results",
1460
+ tokens: {
1461
+ "next_token" => "next_token"
1462
+ }
1463
+ )
1464
+ end)
1465
+
1300
1466
  api.add_operation(:get_upgrade_history, Seahorse::Model::Operation.new.tap do |o|
1301
1467
  o.name = "GetUpgradeHistory"
1302
1468
  o.http_method = "GET"
@@ -1486,6 +1652,20 @@ module Aws::ElasticsearchService
1486
1652
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1487
1653
  end)
1488
1654
 
1655
+ api.add_operation(:update_package, Seahorse::Model::Operation.new.tap do |o|
1656
+ o.name = "UpdatePackage"
1657
+ o.http_method = "POST"
1658
+ o.http_request_uri = "/2015-01-01/packages/update"
1659
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageRequest)
1660
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageResponse)
1661
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1662
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1663
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1667
+ end)
1668
+
1489
1669
  api.add_operation(:upgrade_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1490
1670
  o.name = "UpgradeElasticsearchDomain"
1491
1671
  o.http_method = "POST"