aws-sdk-elasticsearchservice 1.47.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.52.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.47.0'
51
+ GEM_VERSION = '1.52.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -559,6 +559,12 @@ module Aws::ElasticsearchService
559
559
  # @option params [Types::AdvancedSecurityOptionsInput] :advanced_security_options
560
560
  # Specifies advanced security options.
561
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
+ #
562
568
  # @return [Types::CreateElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
563
569
  #
564
570
  # * {Types::CreateElasticsearchDomainResponse#domain_status #domain_status} => Types::ElasticsearchDomainStatus
@@ -581,6 +587,9 @@ module Aws::ElasticsearchService
581
587
  # warm_enabled: false,
582
588
  # warm_type: "ultrawarm1.medium.elasticsearch", # accepts ultrawarm1.medium.elasticsearch, ultrawarm1.large.elasticsearch
583
589
  # warm_count: 1,
590
+ # cold_storage_options: {
591
+ # enabled: false, # required
592
+ # },
584
593
  # },
585
594
  # ebs_options: {
586
595
  # ebs_enabled: false,
@@ -646,6 +655,25 @@ module Aws::ElasticsearchService
646
655
  # session_timeout_minutes: 1,
647
656
  # },
648
657
  # },
658
+ # auto_tune_options: {
659
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
660
+ # maintenance_schedules: [
661
+ # {
662
+ # start_at: Time.now,
663
+ # duration: {
664
+ # value: 1,
665
+ # unit: "HOURS", # accepts HOURS
666
+ # },
667
+ # cron_expression_for_recurrence: "String",
668
+ # },
669
+ # ],
670
+ # },
671
+ # tag_list: [
672
+ # {
673
+ # key: "TagKey", # required
674
+ # value: "TagValue", # required
675
+ # },
676
+ # ],
649
677
  # })
650
678
  #
651
679
  # @example Response structure
@@ -671,6 +699,7 @@ module Aws::ElasticsearchService
671
699
  # resp.domain_status.elasticsearch_cluster_config.warm_enabled #=> Boolean
672
700
  # resp.domain_status.elasticsearch_cluster_config.warm_type #=> String, one of "ultrawarm1.medium.elasticsearch", "ultrawarm1.large.elasticsearch"
673
701
  # resp.domain_status.elasticsearch_cluster_config.warm_count #=> Integer
702
+ # resp.domain_status.elasticsearch_cluster_config.cold_storage_options.enabled #=> Boolean
674
703
  # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
675
704
  # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
676
705
  # resp.domain_status.ebs_options.volume_size #=> Integer
@@ -717,6 +746,8 @@ module Aws::ElasticsearchService
717
746
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
718
747
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
719
748
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
749
+ # 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"
750
+ # resp.domain_status.auto_tune_options.error_message #=> String
720
751
  #
721
752
  # @overload create_elasticsearch_domain(params = {})
722
753
  # @param [Hash] params ({})
@@ -873,6 +904,7 @@ module Aws::ElasticsearchService
873
904
  # resp.domain_status.elasticsearch_cluster_config.warm_enabled #=> Boolean
874
905
  # resp.domain_status.elasticsearch_cluster_config.warm_type #=> String, one of "ultrawarm1.medium.elasticsearch", "ultrawarm1.large.elasticsearch"
875
906
  # resp.domain_status.elasticsearch_cluster_config.warm_count #=> Integer
907
+ # resp.domain_status.elasticsearch_cluster_config.cold_storage_options.enabled #=> Boolean
876
908
  # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
877
909
  # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
878
910
  # resp.domain_status.ebs_options.volume_size #=> Integer
@@ -919,6 +951,8 @@ module Aws::ElasticsearchService
919
951
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
920
952
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
921
953
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
954
+ # 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"
955
+ # resp.domain_status.auto_tune_options.error_message #=> String
922
956
  #
923
957
  # @overload delete_elasticsearch_domain(params = {})
924
958
  # @param [Hash] params ({})
@@ -1054,6 +1088,53 @@ module Aws::ElasticsearchService
1054
1088
  req.send_request(options)
1055
1089
  end
1056
1090
 
1091
+ # Provides scheduled Auto-Tune action details for the Elasticsearch
1092
+ # domain, such as Auto-Tune action type, description, severity, and
1093
+ # scheduled date.
1094
+ #
1095
+ # @option params [required, String] :domain_name
1096
+ # Specifies the domain name for which you want Auto-Tune action details.
1097
+ #
1098
+ # @option params [Integer] :max_results
1099
+ # Set this value to limit the number of results returned. If not
1100
+ # specified, defaults to 100.
1101
+ #
1102
+ # @option params [String] :next_token
1103
+ # NextToken is sent in case the earlier API call results contain the
1104
+ # NextToken. It is used for pagination.
1105
+ #
1106
+ # @return [Types::DescribeDomainAutoTunesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1107
+ #
1108
+ # * {Types::DescribeDomainAutoTunesResponse#auto_tunes #auto_tunes} => Array&lt;Types::AutoTune&gt;
1109
+ # * {Types::DescribeDomainAutoTunesResponse#next_token #next_token} => String
1110
+ #
1111
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1112
+ #
1113
+ # @example Request syntax with placeholder values
1114
+ #
1115
+ # resp = client.describe_domain_auto_tunes({
1116
+ # domain_name: "DomainName", # required
1117
+ # max_results: 1,
1118
+ # next_token: "NextToken",
1119
+ # })
1120
+ #
1121
+ # @example Response structure
1122
+ #
1123
+ # resp.auto_tunes #=> Array
1124
+ # resp.auto_tunes[0].auto_tune_type #=> String, one of "SCHEDULED_ACTION"
1125
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.date #=> Time
1126
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.action_type #=> String, one of "JVM_HEAP_SIZE_TUNING", "JVM_YOUNG_GEN_TUNING"
1127
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.action #=> String
1128
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1129
+ # resp.next_token #=> String
1130
+ #
1131
+ # @overload describe_domain_auto_tunes(params = {})
1132
+ # @param [Hash] params ({})
1133
+ def describe_domain_auto_tunes(params = {}, options = {})
1134
+ req = build_request(:describe_domain_auto_tunes, params)
1135
+ req.send_request(options)
1136
+ end
1137
+
1057
1138
  # Returns domain configuration information about the specified
1058
1139
  # Elasticsearch domain, including the domain ID, domain endpoint, and
1059
1140
  # domain ARN.
@@ -1094,6 +1175,7 @@ module Aws::ElasticsearchService
1094
1175
  # resp.domain_status.elasticsearch_cluster_config.warm_enabled #=> Boolean
1095
1176
  # resp.domain_status.elasticsearch_cluster_config.warm_type #=> String, one of "ultrawarm1.medium.elasticsearch", "ultrawarm1.large.elasticsearch"
1096
1177
  # resp.domain_status.elasticsearch_cluster_config.warm_count #=> Integer
1178
+ # resp.domain_status.elasticsearch_cluster_config.cold_storage_options.enabled #=> Boolean
1097
1179
  # resp.domain_status.ebs_options.ebs_enabled #=> Boolean
1098
1180
  # resp.domain_status.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
1099
1181
  # resp.domain_status.ebs_options.volume_size #=> Integer
@@ -1140,6 +1222,8 @@ module Aws::ElasticsearchService
1140
1222
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
1141
1223
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
1142
1224
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1225
+ # 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"
1226
+ # resp.domain_status.auto_tune_options.error_message #=> String
1143
1227
  #
1144
1228
  # @overload describe_elasticsearch_domain(params = {})
1145
1229
  # @param [Hash] params ({})
@@ -1183,6 +1267,7 @@ module Aws::ElasticsearchService
1183
1267
  # resp.domain_config.elasticsearch_cluster_config.options.warm_enabled #=> Boolean
1184
1268
  # resp.domain_config.elasticsearch_cluster_config.options.warm_type #=> String, one of "ultrawarm1.medium.elasticsearch", "ultrawarm1.large.elasticsearch"
1185
1269
  # resp.domain_config.elasticsearch_cluster_config.options.warm_count #=> Integer
1270
+ # resp.domain_config.elasticsearch_cluster_config.options.cold_storage_options.enabled #=> Boolean
1186
1271
  # resp.domain_config.elasticsearch_cluster_config.status.creation_date #=> Time
1187
1272
  # resp.domain_config.elasticsearch_cluster_config.status.update_date #=> Time
1188
1273
  # resp.domain_config.elasticsearch_cluster_config.status.update_version #=> Integer
@@ -1281,6 +1366,19 @@ module Aws::ElasticsearchService
1281
1366
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
1282
1367
  # resp.domain_config.advanced_security_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
1283
1368
  # resp.domain_config.advanced_security_options.status.pending_deletion #=> Boolean
1369
+ # resp.domain_config.auto_tune_options.options.desired_state #=> String, one of "ENABLED", "DISABLED"
1370
+ # resp.domain_config.auto_tune_options.options.rollback_on_disable #=> String, one of "NO_ROLLBACK", "DEFAULT_ROLLBACK"
1371
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules #=> Array
1372
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].start_at #=> Time
1373
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.value #=> Integer
1374
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.unit #=> String, one of "HOURS"
1375
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].cron_expression_for_recurrence #=> String
1376
+ # resp.domain_config.auto_tune_options.status.creation_date #=> Time
1377
+ # resp.domain_config.auto_tune_options.status.update_date #=> Time
1378
+ # resp.domain_config.auto_tune_options.status.update_version #=> Integer
1379
+ # 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"
1380
+ # resp.domain_config.auto_tune_options.status.error_message #=> String
1381
+ # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
1284
1382
  #
1285
1383
  # @overload describe_elasticsearch_domain_config(params = {})
1286
1384
  # @param [Hash] params ({})
@@ -1330,6 +1428,7 @@ module Aws::ElasticsearchService
1330
1428
  # resp.domain_status_list[0].elasticsearch_cluster_config.warm_enabled #=> Boolean
1331
1429
  # resp.domain_status_list[0].elasticsearch_cluster_config.warm_type #=> String, one of "ultrawarm1.medium.elasticsearch", "ultrawarm1.large.elasticsearch"
1332
1430
  # resp.domain_status_list[0].elasticsearch_cluster_config.warm_count #=> Integer
1431
+ # resp.domain_status_list[0].elasticsearch_cluster_config.cold_storage_options.enabled #=> Boolean
1333
1432
  # resp.domain_status_list[0].ebs_options.ebs_enabled #=> Boolean
1334
1433
  # resp.domain_status_list[0].ebs_options.volume_type #=> String, one of "standard", "gp2", "io1"
1335
1434
  # resp.domain_status_list[0].ebs_options.volume_size #=> Integer
@@ -1376,6 +1475,8 @@ module Aws::ElasticsearchService
1376
1475
  # resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String
1377
1476
  # resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String
1378
1477
  # resp.domain_status_list[0].advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1478
+ # 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"
1479
+ # resp.domain_status_list[0].auto_tune_options.error_message #=> String
1379
1480
  #
1380
1481
  # @overload describe_elasticsearch_domains(params = {})
1381
1482
  # @param [Hash] params ({})
@@ -2366,6 +2467,9 @@ module Aws::ElasticsearchService
2366
2467
  # @option params [Types::EncryptionAtRestOptions] :encryption_at_rest_options
2367
2468
  # Specifies the Encryption At Rest Options.
2368
2469
  #
2470
+ # @option params [Types::AutoTuneOptions] :auto_tune_options
2471
+ # Specifies Auto-Tune options.
2472
+ #
2369
2473
  # @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2370
2474
  #
2371
2475
  # * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
@@ -2387,6 +2491,9 @@ module Aws::ElasticsearchService
2387
2491
  # warm_enabled: false,
2388
2492
  # warm_type: "ultrawarm1.medium.elasticsearch", # accepts ultrawarm1.medium.elasticsearch, ultrawarm1.large.elasticsearch
2389
2493
  # warm_count: 1,
2494
+ # cold_storage_options: {
2495
+ # enabled: false, # required
2496
+ # },
2390
2497
  # },
2391
2498
  # ebs_options: {
2392
2499
  # ebs_enabled: false,
@@ -2452,6 +2559,20 @@ module Aws::ElasticsearchService
2452
2559
  # enabled: false,
2453
2560
  # kms_key_id: "KmsKeyId",
2454
2561
  # },
2562
+ # auto_tune_options: {
2563
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
2564
+ # rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
2565
+ # maintenance_schedules: [
2566
+ # {
2567
+ # start_at: Time.now,
2568
+ # duration: {
2569
+ # value: 1,
2570
+ # unit: "HOURS", # accepts HOURS
2571
+ # },
2572
+ # cron_expression_for_recurrence: "String",
2573
+ # },
2574
+ # ],
2575
+ # },
2455
2576
  # })
2456
2577
  #
2457
2578
  # @example Response structure
@@ -2472,6 +2593,7 @@ module Aws::ElasticsearchService
2472
2593
  # resp.domain_config.elasticsearch_cluster_config.options.warm_enabled #=> Boolean
2473
2594
  # resp.domain_config.elasticsearch_cluster_config.options.warm_type #=> String, one of "ultrawarm1.medium.elasticsearch", "ultrawarm1.large.elasticsearch"
2474
2595
  # resp.domain_config.elasticsearch_cluster_config.options.warm_count #=> Integer
2596
+ # resp.domain_config.elasticsearch_cluster_config.options.cold_storage_options.enabled #=> Boolean
2475
2597
  # resp.domain_config.elasticsearch_cluster_config.status.creation_date #=> Time
2476
2598
  # resp.domain_config.elasticsearch_cluster_config.status.update_date #=> Time
2477
2599
  # resp.domain_config.elasticsearch_cluster_config.status.update_version #=> Integer
@@ -2570,6 +2692,19 @@ module Aws::ElasticsearchService
2570
2692
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
2571
2693
  # resp.domain_config.advanced_security_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2572
2694
  # resp.domain_config.advanced_security_options.status.pending_deletion #=> Boolean
2695
+ # resp.domain_config.auto_tune_options.options.desired_state #=> String, one of "ENABLED", "DISABLED"
2696
+ # resp.domain_config.auto_tune_options.options.rollback_on_disable #=> String, one of "NO_ROLLBACK", "DEFAULT_ROLLBACK"
2697
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules #=> Array
2698
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].start_at #=> Time
2699
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.value #=> Integer
2700
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.unit #=> String, one of "HOURS"
2701
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].cron_expression_for_recurrence #=> String
2702
+ # resp.domain_config.auto_tune_options.status.creation_date #=> Time
2703
+ # resp.domain_config.auto_tune_options.status.update_date #=> Time
2704
+ # resp.domain_config.auto_tune_options.status.update_version #=> Integer
2705
+ # 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"
2706
+ # resp.domain_config.auto_tune_options.status.error_message #=> String
2707
+ # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
2573
2708
  #
2574
2709
  # @overload update_elasticsearch_domain_config(params = {})
2575
2710
  # @param [Hash] params ({})
@@ -2687,7 +2822,7 @@ module Aws::ElasticsearchService
2687
2822
  params: params,
2688
2823
  config: config)
2689
2824
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2690
- context[:gem_version] = '1.47.0'
2825
+ context[:gem_version] = '1.52.0'
2691
2826
  Seahorse::Client::Request.new(handlers, context)
2692
2827
  end
2693
2828
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
+ ColdStorageOptions = Shapes::StructureShape.new(name: 'ColdStorageOptions')
39
54
  CommitMessage = Shapes::StringShape.new(name: 'CommitMessage')
40
55
  CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
41
56
  CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
@@ -60,6 +75,8 @@ module Aws::ElasticsearchService
60
75
  DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
61
76
  DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
62
77
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
78
+ DescribeDomainAutoTunesRequest = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesRequest')
79
+ DescribeDomainAutoTunesResponse = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesResponse')
63
80
  DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
64
81
  DescribeElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigResponse')
65
82
  DescribeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainRequest')
@@ -99,6 +116,8 @@ module Aws::ElasticsearchService
99
116
  DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
100
117
  DomainPackageStatus = Shapes::StringShape.new(name: 'DomainPackageStatus')
101
118
  Double = Shapes::FloatShape.new(name: 'Double')
119
+ Duration = Shapes::StructureShape.new(name: 'Duration')
120
+ DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
102
121
  EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
103
122
  EBSOptionsStatus = Shapes::StructureShape.new(name: 'EBSOptionsStatus')
104
123
  ESPartitionInstanceType = Shapes::StringShape.new(name: 'ESPartitionInstanceType')
@@ -214,6 +233,7 @@ module Aws::ElasticsearchService
214
233
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
215
234
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
216
235
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
236
+ RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable')
217
237
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
218
238
  S3Key = Shapes::StringShape.new(name: 'S3Key')
219
239
  SAMLEntityId = Shapes::StringShape.new(name: 'SAMLEntityId')
@@ -221,10 +241,15 @@ module Aws::ElasticsearchService
221
241
  SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
222
242
  SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
223
243
  SAMLOptionsOutput = Shapes::StructureShape.new(name: 'SAMLOptionsOutput')
244
+ ScheduledAutoTuneActionType = Shapes::StringShape.new(name: 'ScheduledAutoTuneActionType')
245
+ ScheduledAutoTuneDescription = Shapes::StringShape.new(name: 'ScheduledAutoTuneDescription')
246
+ ScheduledAutoTuneDetails = Shapes::StructureShape.new(name: 'ScheduledAutoTuneDetails')
247
+ ScheduledAutoTuneSeverityType = Shapes::StringShape.new(name: 'ScheduledAutoTuneSeverityType')
224
248
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
225
249
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
226
250
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
227
251
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
252
+ StartAt = Shapes::TimestampShape.new(name: 'StartAt')
228
253
  StartElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateRequest')
229
254
  StartElasticsearchServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateResponse')
230
255
  StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
@@ -241,6 +266,7 @@ module Aws::ElasticsearchService
241
266
  TagKey = Shapes::StringShape.new(name: 'TagKey')
242
267
  TagList = Shapes::ListShape.new(name: 'TagList')
243
268
  TagValue = Shapes::StringShape.new(name: 'TagValue')
269
+ TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
244
270
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
245
271
  UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
246
272
  UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
@@ -317,6 +343,47 @@ module Aws::ElasticsearchService
317
343
  AssociatePackageResponse.add_member(:domain_package_details, Shapes::ShapeRef.new(shape: DomainPackageDetails, location_name: "DomainPackageDetails"))
318
344
  AssociatePackageResponse.struct_class = Types::AssociatePackageResponse
319
345
 
346
+ AutoTune.add_member(:auto_tune_type, Shapes::ShapeRef.new(shape: AutoTuneType, location_name: "AutoTuneType"))
347
+ AutoTune.add_member(:auto_tune_details, Shapes::ShapeRef.new(shape: AutoTuneDetails, location_name: "AutoTuneDetails"))
348
+ AutoTune.struct_class = Types::AutoTune
349
+
350
+ AutoTuneDetails.add_member(:scheduled_auto_tune_details, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDetails, location_name: "ScheduledAutoTuneDetails"))
351
+ AutoTuneDetails.struct_class = Types::AutoTuneDetails
352
+
353
+ AutoTuneList.member = Shapes::ShapeRef.new(shape: AutoTune)
354
+
355
+ AutoTuneMaintenanceSchedule.add_member(:start_at, Shapes::ShapeRef.new(shape: StartAt, location_name: "StartAt"))
356
+ AutoTuneMaintenanceSchedule.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration"))
357
+ AutoTuneMaintenanceSchedule.add_member(:cron_expression_for_recurrence, Shapes::ShapeRef.new(shape: String, location_name: "CronExpressionForRecurrence"))
358
+ AutoTuneMaintenanceSchedule.struct_class = Types::AutoTuneMaintenanceSchedule
359
+
360
+ AutoTuneMaintenanceScheduleList.member = Shapes::ShapeRef.new(shape: AutoTuneMaintenanceSchedule)
361
+
362
+ AutoTuneOptions.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
363
+ AutoTuneOptions.add_member(:rollback_on_disable, Shapes::ShapeRef.new(shape: RollbackOnDisable, location_name: "RollbackOnDisable"))
364
+ AutoTuneOptions.add_member(:maintenance_schedules, Shapes::ShapeRef.new(shape: AutoTuneMaintenanceScheduleList, location_name: "MaintenanceSchedules"))
365
+ AutoTuneOptions.struct_class = Types::AutoTuneOptions
366
+
367
+ AutoTuneOptionsInput.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
368
+ AutoTuneOptionsInput.add_member(:maintenance_schedules, Shapes::ShapeRef.new(shape: AutoTuneMaintenanceScheduleList, location_name: "MaintenanceSchedules"))
369
+ AutoTuneOptionsInput.struct_class = Types::AutoTuneOptionsInput
370
+
371
+ AutoTuneOptionsOutput.add_member(:state, Shapes::ShapeRef.new(shape: AutoTuneState, location_name: "State"))
372
+ AutoTuneOptionsOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
373
+ AutoTuneOptionsOutput.struct_class = Types::AutoTuneOptionsOutput
374
+
375
+ AutoTuneOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "Options"))
376
+ AutoTuneOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: AutoTuneStatus, location_name: "Status"))
377
+ AutoTuneOptionsStatus.struct_class = Types::AutoTuneOptionsStatus
378
+
379
+ AutoTuneStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "CreationDate"))
380
+ AutoTuneStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "UpdateDate"))
381
+ AutoTuneStatus.add_member(:update_version, Shapes::ShapeRef.new(shape: UIntValue, location_name: "UpdateVersion"))
382
+ AutoTuneStatus.add_member(:state, Shapes::ShapeRef.new(shape: AutoTuneState, required: true, location_name: "State"))
383
+ AutoTuneStatus.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
384
+ AutoTuneStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
385
+ AutoTuneStatus.struct_class = Types::AutoTuneStatus
386
+
320
387
  BaseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
321
388
  BaseException.struct_class = Types::BaseException
322
389
 
@@ -336,6 +403,9 @@ module Aws::ElasticsearchService
336
403
  CognitoOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
337
404
  CognitoOptionsStatus.struct_class = Types::CognitoOptionsStatus
338
405
 
406
+ ColdStorageOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
407
+ ColdStorageOptions.struct_class = Types::ColdStorageOptions
408
+
339
409
  CompatibleElasticsearchVersionsList.member = Shapes::ShapeRef.new(shape: CompatibleVersionsMap)
340
410
 
341
411
  CompatibleVersionsMap.add_member(:source_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "SourceVersion"))
@@ -358,6 +428,8 @@ module Aws::ElasticsearchService
358
428
  CreateElasticsearchDomainRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
359
429
  CreateElasticsearchDomainRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
360
430
  CreateElasticsearchDomainRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
431
+ CreateElasticsearchDomainRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsInput, location_name: "AutoTuneOptions"))
432
+ CreateElasticsearchDomainRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
361
433
  CreateElasticsearchDomainRequest.struct_class = Types::CreateElasticsearchDomainRequest
362
434
 
363
435
  CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
@@ -408,6 +480,15 @@ module Aws::ElasticsearchService
408
480
  DeletePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
409
481
  DeletePackageResponse.struct_class = Types::DeletePackageResponse
410
482
 
483
+ DescribeDomainAutoTunesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
484
+ DescribeDomainAutoTunesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
485
+ DescribeDomainAutoTunesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
486
+ DescribeDomainAutoTunesRequest.struct_class = Types::DescribeDomainAutoTunesRequest
487
+
488
+ DescribeDomainAutoTunesResponse.add_member(:auto_tunes, Shapes::ShapeRef.new(shape: AutoTuneList, location_name: "AutoTunes"))
489
+ DescribeDomainAutoTunesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
490
+ DescribeDomainAutoTunesResponse.struct_class = Types::DescribeDomainAutoTunesResponse
491
+
411
492
  DescribeElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
412
493
  DescribeElasticsearchDomainConfigRequest.struct_class = Types::DescribeElasticsearchDomainConfigRequest
413
494
 
@@ -532,6 +613,10 @@ module Aws::ElasticsearchService
532
613
 
533
614
  DomainPackageDetailsList.member = Shapes::ShapeRef.new(shape: DomainPackageDetails)
534
615
 
616
+ Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValue, location_name: "Value"))
617
+ Duration.add_member(:unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "Unit"))
618
+ Duration.struct_class = Types::Duration
619
+
535
620
  EBSOptions.add_member(:ebs_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EBSEnabled"))
536
621
  EBSOptions.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
537
622
  EBSOptions.add_member(:volume_size, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "VolumeSize"))
@@ -552,6 +637,7 @@ module Aws::ElasticsearchService
552
637
  ElasticsearchClusterConfig.add_member(:warm_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "WarmEnabled"))
553
638
  ElasticsearchClusterConfig.add_member(:warm_type, Shapes::ShapeRef.new(shape: ESWarmPartitionInstanceType, location_name: "WarmType"))
554
639
  ElasticsearchClusterConfig.add_member(:warm_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "WarmCount"))
640
+ ElasticsearchClusterConfig.add_member(:cold_storage_options, Shapes::ShapeRef.new(shape: ColdStorageOptions, location_name: "ColdStorageOptions"))
555
641
  ElasticsearchClusterConfig.struct_class = Types::ElasticsearchClusterConfig
556
642
 
557
643
  ElasticsearchClusterConfigStatus.add_member(:options, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, required: true, location_name: "Options"))
@@ -571,6 +657,7 @@ module Aws::ElasticsearchService
571
657
  ElasticsearchDomainConfig.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptionsStatus, location_name: "LogPublishingOptions"))
572
658
  ElasticsearchDomainConfig.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
573
659
  ElasticsearchDomainConfig.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsStatus, location_name: "AdvancedSecurityOptions"))
660
+ ElasticsearchDomainConfig.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsStatus, location_name: "AutoTuneOptions"))
574
661
  ElasticsearchDomainConfig.struct_class = Types::ElasticsearchDomainConfig
575
662
 
576
663
  ElasticsearchDomainStatus.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
@@ -596,6 +683,7 @@ module Aws::ElasticsearchService
596
683
  ElasticsearchDomainStatus.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
597
684
  ElasticsearchDomainStatus.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
598
685
  ElasticsearchDomainStatus.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, location_name: "AdvancedSecurityOptions"))
686
+ ElasticsearchDomainStatus.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsOutput, location_name: "AutoTuneOptions"))
599
687
  ElasticsearchDomainStatus.struct_class = Types::ElasticsearchDomainStatus
600
688
 
601
689
  ElasticsearchDomainStatusList.member = Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus)
@@ -891,6 +979,12 @@ module Aws::ElasticsearchService
891
979
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
892
980
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
893
981
 
982
+ ScheduledAutoTuneDetails.add_member(:date, Shapes::ShapeRef.new(shape: AutoTuneDate, location_name: "Date"))
983
+ ScheduledAutoTuneDetails.add_member(:action_type, Shapes::ShapeRef.new(shape: ScheduledAutoTuneActionType, location_name: "ActionType"))
984
+ ScheduledAutoTuneDetails.add_member(:action, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDescription, location_name: "Action"))
985
+ ScheduledAutoTuneDetails.add_member(:severity, Shapes::ShapeRef.new(shape: ScheduledAutoTuneSeverityType, location_name: "Severity"))
986
+ ScheduledAutoTuneDetails.struct_class = Types::ScheduledAutoTuneDetails
987
+
894
988
  ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
895
989
  ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
896
990
  ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
@@ -948,6 +1042,7 @@ module Aws::ElasticsearchService
948
1042
  UpdateElasticsearchDomainConfigRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
949
1043
  UpdateElasticsearchDomainConfigRequest.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
950
1044
  UpdateElasticsearchDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
1045
+ UpdateElasticsearchDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
951
1046
  UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
952
1047
 
953
1048
  UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
@@ -1173,6 +1268,24 @@ module Aws::ElasticsearchService
1173
1268
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1174
1269
  end)
1175
1270
 
1271
+ api.add_operation(:describe_domain_auto_tunes, Seahorse::Model::Operation.new.tap do |o|
1272
+ o.name = "DescribeDomainAutoTunes"
1273
+ o.http_method = "GET"
1274
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/autoTunes"
1275
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainAutoTunesRequest)
1276
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainAutoTunesResponse)
1277
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1278
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1279
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1280
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1281
+ o[:pager] = Aws::Pager.new(
1282
+ limit_key: "max_results",
1283
+ tokens: {
1284
+ "next_token" => "next_token"
1285
+ }
1286
+ )
1287
+ end)
1288
+
1176
1289
  api.add_operation(:describe_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1177
1290
  o.name = "DescribeElasticsearchDomain"
1178
1291
  o.http_method = "GET"