aws-sdk-elasticsearchservice 1.48.0 → 1.49.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: 65fe0c50fc144d3c28e26470b3d16b97d5e41761de40835f6314b00c7408cb22
4
- data.tar.gz: 2258fd68c1a890ada89ebdce42a64b5c0e6cc1864ceda9e31bf54ed365a07922
3
+ metadata.gz: c07949d69e12469c1494059fcaa53b5def5e16836a613586ecf0db4fc25524b7
4
+ data.tar.gz: 65f51a02a672993e064716e5daf97b9090bab9ca06a32b4b80ef24f866cf2eca
5
5
  SHA512:
6
- metadata.gz: b72d822c2937c044d89a06d8c0796cd16de75942c4c7dd805bbcf60cd9814fb8f4fcdbfe55e92cc3f1ed67e1b231a996de6a236fea18098bb158ebcc7be3a3f0
7
- data.tar.gz: 3f7c4d4359541f3755e1bbb26bae87b746625f0cc518156e6bd2df34af90497e76d812b435bde28e2f42bd2bd6642d31ab305892cdee4a5b1e54736857212f6a
6
+ metadata.gz: 0a044fce55d5dceb1c7e094bc4a7be79c9607b6388f261b20681ceaaac507d25c1eb17c0ace58a24f4d263ef2001061c462161bc6d82a8195f70892aa136d3f0
7
+ data.tar.gz: 03b9b6d0e044410adece5e43e8a12db00129f842fa66ea1ca91e89b3d02f62b3478f7e0bfcd383831ced57749cfc5f172a1f3d28d5fa828680c1dbd4057b3503
@@ -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.48.0'
51
+ GEM_VERSION = '1.49.0'
52
52
 
53
53
  end
@@ -559,6 +559,9 @@ 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
+ #
562
565
  # @return [Types::CreateElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
563
566
  #
564
567
  # * {Types::CreateElasticsearchDomainResponse#domain_status #domain_status} => Types::ElasticsearchDomainStatus
@@ -646,6 +649,19 @@ module Aws::ElasticsearchService
646
649
  # session_timeout_minutes: 1,
647
650
  # },
648
651
  # },
652
+ # auto_tune_options: {
653
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
654
+ # maintenance_schedules: [
655
+ # {
656
+ # start_at: Time.now,
657
+ # duration: {
658
+ # value: 1,
659
+ # unit: "HOURS", # accepts HOURS
660
+ # },
661
+ # cron_expression_for_recurrence: "String",
662
+ # },
663
+ # ],
664
+ # },
649
665
  # })
650
666
  #
651
667
  # @example Response structure
@@ -717,6 +733,8 @@ module Aws::ElasticsearchService
717
733
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
718
734
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
719
735
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
736
+ # 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"
737
+ # resp.domain_status.auto_tune_options.error_message #=> String
720
738
  #
721
739
  # @overload create_elasticsearch_domain(params = {})
722
740
  # @param [Hash] params ({})
@@ -919,6 +937,8 @@ module Aws::ElasticsearchService
919
937
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
920
938
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
921
939
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
940
+ # 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"
941
+ # resp.domain_status.auto_tune_options.error_message #=> String
922
942
  #
923
943
  # @overload delete_elasticsearch_domain(params = {})
924
944
  # @param [Hash] params ({})
@@ -1054,6 +1074,53 @@ module Aws::ElasticsearchService
1054
1074
  req.send_request(options)
1055
1075
  end
1056
1076
 
1077
+ # Provides scheduled Auto-Tune action details for the Elasticsearch
1078
+ # domain, such as Auto-Tune action type, description, severity, and
1079
+ # scheduled date.
1080
+ #
1081
+ # @option params [required, String] :domain_name
1082
+ # Specifies the domain name for which you want Auto-Tune action details.
1083
+ #
1084
+ # @option params [Integer] :max_results
1085
+ # Set this value to limit the number of results returned. If not
1086
+ # specified, defaults to 100.
1087
+ #
1088
+ # @option params [String] :next_token
1089
+ # NextToken is sent in case the earlier API call results contain the
1090
+ # NextToken. It is used for pagination.
1091
+ #
1092
+ # @return [Types::DescribeDomainAutoTunesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1093
+ #
1094
+ # * {Types::DescribeDomainAutoTunesResponse#auto_tunes #auto_tunes} => Array<Types::AutoTune>
1095
+ # * {Types::DescribeDomainAutoTunesResponse#next_token #next_token} => String
1096
+ #
1097
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1098
+ #
1099
+ # @example Request syntax with placeholder values
1100
+ #
1101
+ # resp = client.describe_domain_auto_tunes({
1102
+ # domain_name: "DomainName", # required
1103
+ # max_results: 1,
1104
+ # next_token: "NextToken",
1105
+ # })
1106
+ #
1107
+ # @example Response structure
1108
+ #
1109
+ # resp.auto_tunes #=> Array
1110
+ # resp.auto_tunes[0].auto_tune_type #=> String, one of "SCHEDULED_ACTION"
1111
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.date #=> Time
1112
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.action_type #=> String, one of "JVM_HEAP_SIZE_TUNING", "JVM_YOUNG_GEN_TUNING"
1113
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.action #=> String
1114
+ # resp.auto_tunes[0].auto_tune_details.scheduled_auto_tune_details.severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1115
+ # resp.next_token #=> String
1116
+ #
1117
+ # @overload describe_domain_auto_tunes(params = {})
1118
+ # @param [Hash] params ({})
1119
+ def describe_domain_auto_tunes(params = {}, options = {})
1120
+ req = build_request(:describe_domain_auto_tunes, params)
1121
+ req.send_request(options)
1122
+ end
1123
+
1057
1124
  # Returns domain configuration information about the specified
1058
1125
  # Elasticsearch domain, including the domain ID, domain endpoint, and
1059
1126
  # domain ARN.
@@ -1140,6 +1207,8 @@ module Aws::ElasticsearchService
1140
1207
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
1141
1208
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
1142
1209
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1210
+ # 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"
1211
+ # resp.domain_status.auto_tune_options.error_message #=> String
1143
1212
  #
1144
1213
  # @overload describe_elasticsearch_domain(params = {})
1145
1214
  # @param [Hash] params ({})
@@ -1281,6 +1350,19 @@ module Aws::ElasticsearchService
1281
1350
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
1282
1351
  # resp.domain_config.advanced_security_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
1283
1352
  # resp.domain_config.advanced_security_options.status.pending_deletion #=> Boolean
1353
+ # resp.domain_config.auto_tune_options.options.desired_state #=> String, one of "ENABLED", "DISABLED"
1354
+ # resp.domain_config.auto_tune_options.options.rollback_on_disable #=> String, one of "NO_ROLLBACK", "DEFAULT_ROLLBACK"
1355
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules #=> Array
1356
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].start_at #=> Time
1357
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.value #=> Integer
1358
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.unit #=> String, one of "HOURS"
1359
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].cron_expression_for_recurrence #=> String
1360
+ # resp.domain_config.auto_tune_options.status.creation_date #=> Time
1361
+ # resp.domain_config.auto_tune_options.status.update_date #=> Time
1362
+ # resp.domain_config.auto_tune_options.status.update_version #=> Integer
1363
+ # 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"
1364
+ # resp.domain_config.auto_tune_options.status.error_message #=> String
1365
+ # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
1284
1366
  #
1285
1367
  # @overload describe_elasticsearch_domain_config(params = {})
1286
1368
  # @param [Hash] params ({})
@@ -1376,6 +1458,8 @@ module Aws::ElasticsearchService
1376
1458
  # resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String
1377
1459
  # resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String
1378
1460
  # resp.domain_status_list[0].advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1461
+ # 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"
1462
+ # resp.domain_status_list[0].auto_tune_options.error_message #=> String
1379
1463
  #
1380
1464
  # @overload describe_elasticsearch_domains(params = {})
1381
1465
  # @param [Hash] params ({})
@@ -2366,6 +2450,9 @@ module Aws::ElasticsearchService
2366
2450
  # @option params [Types::EncryptionAtRestOptions] :encryption_at_rest_options
2367
2451
  # Specifies the Encryption At Rest Options.
2368
2452
  #
2453
+ # @option params [Types::AutoTuneOptions] :auto_tune_options
2454
+ # Specifies Auto-Tune options.
2455
+ #
2369
2456
  # @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2370
2457
  #
2371
2458
  # * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
@@ -2452,6 +2539,20 @@ module Aws::ElasticsearchService
2452
2539
  # enabled: false,
2453
2540
  # kms_key_id: "KmsKeyId",
2454
2541
  # },
2542
+ # auto_tune_options: {
2543
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
2544
+ # rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
2545
+ # maintenance_schedules: [
2546
+ # {
2547
+ # start_at: Time.now,
2548
+ # duration: {
2549
+ # value: 1,
2550
+ # unit: "HOURS", # accepts HOURS
2551
+ # },
2552
+ # cron_expression_for_recurrence: "String",
2553
+ # },
2554
+ # ],
2555
+ # },
2455
2556
  # })
2456
2557
  #
2457
2558
  # @example Response structure
@@ -2570,6 +2671,19 @@ module Aws::ElasticsearchService
2570
2671
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
2571
2672
  # resp.domain_config.advanced_security_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2572
2673
  # resp.domain_config.advanced_security_options.status.pending_deletion #=> Boolean
2674
+ # resp.domain_config.auto_tune_options.options.desired_state #=> String, one of "ENABLED", "DISABLED"
2675
+ # resp.domain_config.auto_tune_options.options.rollback_on_disable #=> String, one of "NO_ROLLBACK", "DEFAULT_ROLLBACK"
2676
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules #=> Array
2677
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].start_at #=> Time
2678
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.value #=> Integer
2679
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].duration.unit #=> String, one of "HOURS"
2680
+ # resp.domain_config.auto_tune_options.options.maintenance_schedules[0].cron_expression_for_recurrence #=> String
2681
+ # resp.domain_config.auto_tune_options.status.creation_date #=> Time
2682
+ # resp.domain_config.auto_tune_options.status.update_date #=> Time
2683
+ # resp.domain_config.auto_tune_options.status.update_version #=> Integer
2684
+ # 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"
2685
+ # resp.domain_config.auto_tune_options.status.error_message #=> String
2686
+ # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
2573
2687
  #
2574
2688
  # @overload update_elasticsearch_domain_config(params = {})
2575
2689
  # @param [Hash] params ({})
@@ -2687,7 +2801,7 @@ module Aws::ElasticsearchService
2687
2801
  params: params,
2688
2802
  config: config)
2689
2803
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2690
- context[:gem_version] = '1.48.0'
2804
+ context[:gem_version] = '1.49.0'
2691
2805
  Seahorse::Client::Request.new(handlers, context)
2692
2806
  end
2693
2807
 
@@ -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')
@@ -60,6 +74,8 @@ module Aws::ElasticsearchService
60
74
  DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
61
75
  DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
62
76
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
77
+ DescribeDomainAutoTunesRequest = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesRequest')
78
+ DescribeDomainAutoTunesResponse = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesResponse')
63
79
  DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
64
80
  DescribeElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigResponse')
65
81
  DescribeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainRequest')
@@ -99,6 +115,8 @@ module Aws::ElasticsearchService
99
115
  DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
100
116
  DomainPackageStatus = Shapes::StringShape.new(name: 'DomainPackageStatus')
101
117
  Double = Shapes::FloatShape.new(name: 'Double')
118
+ Duration = Shapes::StructureShape.new(name: 'Duration')
119
+ DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
102
120
  EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
103
121
  EBSOptionsStatus = Shapes::StructureShape.new(name: 'EBSOptionsStatus')
104
122
  ESPartitionInstanceType = Shapes::StringShape.new(name: 'ESPartitionInstanceType')
@@ -214,6 +232,7 @@ module Aws::ElasticsearchService
214
232
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
215
233
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
216
234
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
235
+ RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable')
217
236
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
218
237
  S3Key = Shapes::StringShape.new(name: 'S3Key')
219
238
  SAMLEntityId = Shapes::StringShape.new(name: 'SAMLEntityId')
@@ -221,10 +240,15 @@ module Aws::ElasticsearchService
221
240
  SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
222
241
  SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
223
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')
224
247
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
225
248
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
226
249
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
227
250
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
251
+ StartAt = Shapes::TimestampShape.new(name: 'StartAt')
228
252
  StartElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateRequest')
229
253
  StartElasticsearchServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateResponse')
230
254
  StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
@@ -241,6 +265,7 @@ module Aws::ElasticsearchService
241
265
  TagKey = Shapes::StringShape.new(name: 'TagKey')
242
266
  TagList = Shapes::ListShape.new(name: 'TagList')
243
267
  TagValue = Shapes::StringShape.new(name: 'TagValue')
268
+ TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
244
269
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
245
270
  UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
246
271
  UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
@@ -317,6 +342,47 @@ module Aws::ElasticsearchService
317
342
  AssociatePackageResponse.add_member(:domain_package_details, Shapes::ShapeRef.new(shape: DomainPackageDetails, location_name: "DomainPackageDetails"))
318
343
  AssociatePackageResponse.struct_class = Types::AssociatePackageResponse
319
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
+
320
386
  BaseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
321
387
  BaseException.struct_class = Types::BaseException
322
388
 
@@ -358,6 +424,7 @@ module Aws::ElasticsearchService
358
424
  CreateElasticsearchDomainRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
359
425
  CreateElasticsearchDomainRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
360
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"))
361
428
  CreateElasticsearchDomainRequest.struct_class = Types::CreateElasticsearchDomainRequest
362
429
 
363
430
  CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
@@ -408,6 +475,15 @@ module Aws::ElasticsearchService
408
475
  DeletePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
409
476
  DeletePackageResponse.struct_class = Types::DeletePackageResponse
410
477
 
478
+ DescribeDomainAutoTunesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
479
+ DescribeDomainAutoTunesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
480
+ DescribeDomainAutoTunesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
481
+ DescribeDomainAutoTunesRequest.struct_class = Types::DescribeDomainAutoTunesRequest
482
+
483
+ DescribeDomainAutoTunesResponse.add_member(:auto_tunes, Shapes::ShapeRef.new(shape: AutoTuneList, location_name: "AutoTunes"))
484
+ DescribeDomainAutoTunesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
485
+ DescribeDomainAutoTunesResponse.struct_class = Types::DescribeDomainAutoTunesResponse
486
+
411
487
  DescribeElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
412
488
  DescribeElasticsearchDomainConfigRequest.struct_class = Types::DescribeElasticsearchDomainConfigRequest
413
489
 
@@ -532,6 +608,10 @@ module Aws::ElasticsearchService
532
608
 
533
609
  DomainPackageDetailsList.member = Shapes::ShapeRef.new(shape: DomainPackageDetails)
534
610
 
611
+ Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValue, location_name: "Value"))
612
+ Duration.add_member(:unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "Unit"))
613
+ Duration.struct_class = Types::Duration
614
+
535
615
  EBSOptions.add_member(:ebs_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EBSEnabled"))
536
616
  EBSOptions.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
537
617
  EBSOptions.add_member(:volume_size, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "VolumeSize"))
@@ -571,6 +651,7 @@ module Aws::ElasticsearchService
571
651
  ElasticsearchDomainConfig.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptionsStatus, location_name: "LogPublishingOptions"))
572
652
  ElasticsearchDomainConfig.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
573
653
  ElasticsearchDomainConfig.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsStatus, location_name: "AdvancedSecurityOptions"))
654
+ ElasticsearchDomainConfig.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsStatus, location_name: "AutoTuneOptions"))
574
655
  ElasticsearchDomainConfig.struct_class = Types::ElasticsearchDomainConfig
575
656
 
576
657
  ElasticsearchDomainStatus.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
@@ -596,6 +677,7 @@ module Aws::ElasticsearchService
596
677
  ElasticsearchDomainStatus.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
597
678
  ElasticsearchDomainStatus.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
598
679
  ElasticsearchDomainStatus.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, location_name: "AdvancedSecurityOptions"))
680
+ ElasticsearchDomainStatus.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsOutput, location_name: "AutoTuneOptions"))
599
681
  ElasticsearchDomainStatus.struct_class = Types::ElasticsearchDomainStatus
600
682
 
601
683
  ElasticsearchDomainStatusList.member = Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus)
@@ -891,6 +973,12 @@ module Aws::ElasticsearchService
891
973
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
892
974
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
893
975
 
976
+ ScheduledAutoTuneDetails.add_member(:date, Shapes::ShapeRef.new(shape: AutoTuneDate, location_name: "Date"))
977
+ ScheduledAutoTuneDetails.add_member(:action_type, Shapes::ShapeRef.new(shape: ScheduledAutoTuneActionType, location_name: "ActionType"))
978
+ ScheduledAutoTuneDetails.add_member(:action, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDescription, location_name: "Action"))
979
+ ScheduledAutoTuneDetails.add_member(:severity, Shapes::ShapeRef.new(shape: ScheduledAutoTuneSeverityType, location_name: "Severity"))
980
+ ScheduledAutoTuneDetails.struct_class = Types::ScheduledAutoTuneDetails
981
+
894
982
  ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
895
983
  ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
896
984
  ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
@@ -948,6 +1036,7 @@ module Aws::ElasticsearchService
948
1036
  UpdateElasticsearchDomainConfigRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
949
1037
  UpdateElasticsearchDomainConfigRequest.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
950
1038
  UpdateElasticsearchDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
1039
+ UpdateElasticsearchDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
951
1040
  UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
952
1041
 
953
1042
  UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
@@ -1173,6 +1262,24 @@ module Aws::ElasticsearchService
1173
1262
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1174
1263
  end)
1175
1264
 
1265
+ api.add_operation(:describe_domain_auto_tunes, Seahorse::Model::Operation.new.tap do |o|
1266
+ o.name = "DescribeDomainAutoTunes"
1267
+ o.http_method = "GET"
1268
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/autoTunes"
1269
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainAutoTunesRequest)
1270
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainAutoTunesResponse)
1271
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1272
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1273
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1274
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1275
+ o[:pager] = Aws::Pager.new(
1276
+ limit_key: "max_results",
1277
+ tokens: {
1278
+ "next_token" => "next_token"
1279
+ }
1280
+ )
1281
+ end)
1282
+
1176
1283
  api.add_operation(:describe_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1177
1284
  o.name = "DescribeElasticsearchDomain"
1178
1285
  o.http_method = "GET"
@@ -299,6 +299,265 @@ module Aws::ElasticsearchService
299
299
  include Aws::Structure
300
300
  end
301
301
 
302
+ # Specifies Auto-Tune type and Auto-Tune action details.
303
+ #
304
+ # @!attribute [rw] auto_tune_type
305
+ # Specifies Auto-Tune type. Valid value is SCHEDULED\_ACTION.
306
+ # @return [String]
307
+ #
308
+ # @!attribute [rw] auto_tune_details
309
+ # Specifies details of the Auto-Tune action. See the [Developer
310
+ # Guide][1] for more information.
311
+ #
312
+ #
313
+ #
314
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
315
+ # @return [Types::AutoTuneDetails]
316
+ #
317
+ class AutoTune < Struct.new(
318
+ :auto_tune_type,
319
+ :auto_tune_details)
320
+ SENSITIVE = []
321
+ include Aws::Structure
322
+ end
323
+
324
+ # Specifies details of the Auto-Tune action. See the [Developer
325
+ # Guide][1] for more information.
326
+ #
327
+ #
328
+ #
329
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
330
+ #
331
+ # @!attribute [rw] scheduled_auto_tune_details
332
+ # Specifies details of the scheduled Auto-Tune action. See the
333
+ # [Developer Guide][1] for more information.
334
+ #
335
+ #
336
+ #
337
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
338
+ # @return [Types::ScheduledAutoTuneDetails]
339
+ #
340
+ class AutoTuneDetails < Struct.new(
341
+ :scheduled_auto_tune_details)
342
+ SENSITIVE = []
343
+ include Aws::Structure
344
+ end
345
+
346
+ # Specifies Auto-Tune maitenance schedule. See the [Developer Guide][1]
347
+ # for more information.
348
+ #
349
+ #
350
+ #
351
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
352
+ #
353
+ # @note When making an API call, you may pass AutoTuneMaintenanceSchedule
354
+ # data as a hash:
355
+ #
356
+ # {
357
+ # start_at: Time.now,
358
+ # duration: {
359
+ # value: 1,
360
+ # unit: "HOURS", # accepts HOURS
361
+ # },
362
+ # cron_expression_for_recurrence: "String",
363
+ # }
364
+ #
365
+ # @!attribute [rw] start_at
366
+ # Specifies timestamp at which Auto-Tune maintenance schedule start.
367
+ # @return [Time]
368
+ #
369
+ # @!attribute [rw] duration
370
+ # Specifies maintenance schedule duration: duration value and duration
371
+ # unit. See the [Developer Guide][1] for more information.
372
+ #
373
+ #
374
+ #
375
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
376
+ # @return [Types::Duration]
377
+ #
378
+ # @!attribute [rw] cron_expression_for_recurrence
379
+ # Specifies cron expression for a recurring maintenance schedule. See
380
+ # the [Developer Guide][1] for more information.
381
+ #
382
+ #
383
+ #
384
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
385
+ # @return [String]
386
+ #
387
+ class AutoTuneMaintenanceSchedule < Struct.new(
388
+ :start_at,
389
+ :duration,
390
+ :cron_expression_for_recurrence)
391
+ SENSITIVE = []
392
+ include Aws::Structure
393
+ end
394
+
395
+ # Specifies the Auto-Tune options: the Auto-Tune desired state for the
396
+ # domain, rollback state when disabling Auto-Tune options and list of
397
+ # maintenance schedules.
398
+ #
399
+ # @note When making an API call, you may pass AutoTuneOptions
400
+ # data as a hash:
401
+ #
402
+ # {
403
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
404
+ # rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
405
+ # maintenance_schedules: [
406
+ # {
407
+ # start_at: Time.now,
408
+ # duration: {
409
+ # value: 1,
410
+ # unit: "HOURS", # accepts HOURS
411
+ # },
412
+ # cron_expression_for_recurrence: "String",
413
+ # },
414
+ # ],
415
+ # }
416
+ #
417
+ # @!attribute [rw] desired_state
418
+ # Specifies the Auto-Tune desired state. Valid values are ENABLED,
419
+ # DISABLED.
420
+ # @return [String]
421
+ #
422
+ # @!attribute [rw] rollback_on_disable
423
+ # Specifies the rollback state while disabling Auto-Tune for the
424
+ # domain. Valid values are NO\_ROLLBACK, DEFAULT\_ROLLBACK.
425
+ # @return [String]
426
+ #
427
+ # @!attribute [rw] maintenance_schedules
428
+ # Specifies list of maitenance schedules. See the [Developer Guide][1]
429
+ # for more information.
430
+ #
431
+ #
432
+ #
433
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
434
+ # @return [Array<Types::AutoTuneMaintenanceSchedule>]
435
+ #
436
+ class AutoTuneOptions < Struct.new(
437
+ :desired_state,
438
+ :rollback_on_disable,
439
+ :maintenance_schedules)
440
+ SENSITIVE = []
441
+ include Aws::Structure
442
+ end
443
+
444
+ # Specifies the Auto-Tune options: the Auto-Tune desired state for the
445
+ # domain and list of maintenance schedules.
446
+ #
447
+ # @note When making an API call, you may pass AutoTuneOptionsInput
448
+ # data as a hash:
449
+ #
450
+ # {
451
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
452
+ # maintenance_schedules: [
453
+ # {
454
+ # start_at: Time.now,
455
+ # duration: {
456
+ # value: 1,
457
+ # unit: "HOURS", # accepts HOURS
458
+ # },
459
+ # cron_expression_for_recurrence: "String",
460
+ # },
461
+ # ],
462
+ # }
463
+ #
464
+ # @!attribute [rw] desired_state
465
+ # Specifies the Auto-Tune desired state. Valid values are ENABLED,
466
+ # DISABLED.
467
+ # @return [String]
468
+ #
469
+ # @!attribute [rw] maintenance_schedules
470
+ # Specifies list of maitenance schedules. See the [Developer Guide][1]
471
+ # for more information.
472
+ #
473
+ #
474
+ #
475
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
476
+ # @return [Array<Types::AutoTuneMaintenanceSchedule>]
477
+ #
478
+ class AutoTuneOptionsInput < Struct.new(
479
+ :desired_state,
480
+ :maintenance_schedules)
481
+ SENSITIVE = []
482
+ include Aws::Structure
483
+ end
484
+
485
+ # Specifies the Auto-Tune options: the Auto-Tune desired state for the
486
+ # domain and list of maintenance schedules.
487
+ #
488
+ # @!attribute [rw] state
489
+ # Specifies the `AutoTuneState` for the Elasticsearch domain.
490
+ # @return [String]
491
+ #
492
+ # @!attribute [rw] error_message
493
+ # Specifies the error message while enabling or disabling the
494
+ # Auto-Tune.
495
+ # @return [String]
496
+ #
497
+ class AutoTuneOptionsOutput < Struct.new(
498
+ :state,
499
+ :error_message)
500
+ SENSITIVE = []
501
+ include Aws::Structure
502
+ end
503
+
504
+ # Specifies the status of Auto-Tune options for the specified
505
+ # Elasticsearch domain.
506
+ #
507
+ # @!attribute [rw] options
508
+ # Specifies Auto-Tune options for the specified Elasticsearch domain.
509
+ # @return [Types::AutoTuneOptions]
510
+ #
511
+ # @!attribute [rw] status
512
+ # Specifies Status of the Auto-Tune options for the specified
513
+ # Elasticsearch domain.
514
+ # @return [Types::AutoTuneStatus]
515
+ #
516
+ class AutoTuneOptionsStatus < Struct.new(
517
+ :options,
518
+ :status)
519
+ SENSITIVE = []
520
+ include Aws::Structure
521
+ end
522
+
523
+ # Provides the current status of the Auto-Tune options.
524
+ #
525
+ # @!attribute [rw] creation_date
526
+ # Timestamp which tells Auto-Tune options creation date .
527
+ # @return [Time]
528
+ #
529
+ # @!attribute [rw] update_date
530
+ # Timestamp which tells Auto-Tune options last updated time.
531
+ # @return [Time]
532
+ #
533
+ # @!attribute [rw] update_version
534
+ # Specifies the Auto-Tune options latest version.
535
+ # @return [Integer]
536
+ #
537
+ # @!attribute [rw] state
538
+ # Specifies the `AutoTuneState` for the Elasticsearch domain.
539
+ # @return [String]
540
+ #
541
+ # @!attribute [rw] error_message
542
+ # Specifies the error message while enabling or disabling the
543
+ # Auto-Tune options.
544
+ # @return [String]
545
+ #
546
+ # @!attribute [rw] pending_deletion
547
+ # Indicates whether the Elasticsearch domain is being deleted.
548
+ # @return [Boolean]
549
+ #
550
+ class AutoTuneStatus < Struct.new(
551
+ :creation_date,
552
+ :update_date,
553
+ :update_version,
554
+ :state,
555
+ :error_message,
556
+ :pending_deletion)
557
+ SENSITIVE = []
558
+ include Aws::Structure
559
+ end
560
+
302
561
  # An error occurred while processing the request.
303
562
  #
304
563
  # @!attribute [rw] message
@@ -517,6 +776,19 @@ module Aws::ElasticsearchService
517
776
  # session_timeout_minutes: 1,
518
777
  # },
519
778
  # },
779
+ # auto_tune_options: {
780
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
781
+ # maintenance_schedules: [
782
+ # {
783
+ # start_at: Time.now,
784
+ # duration: {
785
+ # value: 1,
786
+ # unit: "HOURS", # accepts HOURS
787
+ # },
788
+ # cron_expression_for_recurrence: "String",
789
+ # },
790
+ # ],
791
+ # },
520
792
  # }
521
793
  #
522
794
  # @!attribute [rw] domain_name
@@ -610,6 +882,10 @@ module Aws::ElasticsearchService
610
882
  # Specifies advanced security options.
611
883
  # @return [Types::AdvancedSecurityOptionsInput]
612
884
  #
885
+ # @!attribute [rw] auto_tune_options
886
+ # Specifies Auto-Tune options.
887
+ # @return [Types::AutoTuneOptionsInput]
888
+ #
613
889
  class CreateElasticsearchDomainRequest < Struct.new(
614
890
  :domain_name,
615
891
  :elasticsearch_version,
@@ -624,7 +900,8 @@ module Aws::ElasticsearchService
624
900
  :advanced_options,
625
901
  :log_publishing_options,
626
902
  :domain_endpoint_options,
627
- :advanced_security_options)
903
+ :advanced_security_options,
904
+ :auto_tune_options)
628
905
  SENSITIVE = []
629
906
  include Aws::Structure
630
907
  end
@@ -914,6 +1191,68 @@ module Aws::ElasticsearchService
914
1191
  include Aws::Structure
915
1192
  end
916
1193
 
1194
+ # Container for the parameters to the `DescribeDomainAutoTunes`
1195
+ # operation.
1196
+ #
1197
+ # @note When making an API call, you may pass DescribeDomainAutoTunesRequest
1198
+ # data as a hash:
1199
+ #
1200
+ # {
1201
+ # domain_name: "DomainName", # required
1202
+ # max_results: 1,
1203
+ # next_token: "NextToken",
1204
+ # }
1205
+ #
1206
+ # @!attribute [rw] domain_name
1207
+ # Specifies the domain name for which you want Auto-Tune action
1208
+ # details.
1209
+ # @return [String]
1210
+ #
1211
+ # @!attribute [rw] max_results
1212
+ # Set this value to limit the number of results returned. If not
1213
+ # specified, defaults to 100.
1214
+ # @return [Integer]
1215
+ #
1216
+ # @!attribute [rw] next_token
1217
+ # NextToken is sent in case the earlier API call results contain the
1218
+ # NextToken. It is used for pagination.
1219
+ # @return [String]
1220
+ #
1221
+ class DescribeDomainAutoTunesRequest < Struct.new(
1222
+ :domain_name,
1223
+ :max_results,
1224
+ :next_token)
1225
+ SENSITIVE = []
1226
+ include Aws::Structure
1227
+ end
1228
+
1229
+ # The result of `DescribeDomainAutoTunes` request. See the [Developer
1230
+ # Guide][1] for more information.
1231
+ #
1232
+ #
1233
+ #
1234
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1235
+ #
1236
+ # @!attribute [rw] auto_tunes
1237
+ # Specifies the list of setting adjustments that Auto-Tune has made to
1238
+ # the domain. See the [Developer Guide][1] for more information.
1239
+ #
1240
+ #
1241
+ #
1242
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1243
+ # @return [Array<Types::AutoTune>]
1244
+ #
1245
+ # @!attribute [rw] next_token
1246
+ # Specifies an identifier to allow retrieval of paginated results.
1247
+ # @return [String]
1248
+ #
1249
+ class DescribeDomainAutoTunesResponse < Struct.new(
1250
+ :auto_tunes,
1251
+ :next_token)
1252
+ SENSITIVE = []
1253
+ include Aws::Structure
1254
+ end
1255
+
917
1256
  # Container for the parameters to the
918
1257
  # `DescribeElasticsearchDomainConfig` operation. Specifies the domain
919
1258
  # name for which you want configuration information.
@@ -1596,6 +1935,46 @@ module Aws::ElasticsearchService
1596
1935
  include Aws::Structure
1597
1936
  end
1598
1937
 
1938
+ # Specifies maintenance schedule duration: duration value and duration
1939
+ # unit. See the [Developer Guide][1] for more information.
1940
+ #
1941
+ #
1942
+ #
1943
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1944
+ #
1945
+ # @note When making an API call, you may pass Duration
1946
+ # data as a hash:
1947
+ #
1948
+ # {
1949
+ # value: 1,
1950
+ # unit: "HOURS", # accepts HOURS
1951
+ # }
1952
+ #
1953
+ # @!attribute [rw] value
1954
+ # Integer to specify the value of a maintenance schedule duration. See
1955
+ # the [Developer Guide][1] for more information.
1956
+ #
1957
+ #
1958
+ #
1959
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1960
+ # @return [Integer]
1961
+ #
1962
+ # @!attribute [rw] unit
1963
+ # Specifies the unit of a maintenance schedule duration. Valid value
1964
+ # is HOURS. See the [Developer Guide][1] for more information.
1965
+ #
1966
+ #
1967
+ #
1968
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1969
+ # @return [String]
1970
+ #
1971
+ class Duration < Struct.new(
1972
+ :value,
1973
+ :unit)
1974
+ SENSITIVE = []
1975
+ include Aws::Structure
1976
+ end
1977
+
1599
1978
  # Options to enable, disable, and specify the properties of EBS storage
1600
1979
  # volumes. For more information, see [ Configuring EBS-based
1601
1980
  # Storage][1].
@@ -1839,6 +2218,10 @@ module Aws::ElasticsearchService
1839
2218
  # Specifies `AdvancedSecurityOptions` for the domain.
1840
2219
  # @return [Types::AdvancedSecurityOptionsStatus]
1841
2220
  #
2221
+ # @!attribute [rw] auto_tune_options
2222
+ # Specifies `AutoTuneOptions` for the domain.
2223
+ # @return [Types::AutoTuneOptionsStatus]
2224
+ #
1842
2225
  class ElasticsearchDomainConfig < Struct.new(
1843
2226
  :elasticsearch_version,
1844
2227
  :elasticsearch_cluster_config,
@@ -1852,7 +2235,8 @@ module Aws::ElasticsearchService
1852
2235
  :advanced_options,
1853
2236
  :log_publishing_options,
1854
2237
  :domain_endpoint_options,
1855
- :advanced_security_options)
2238
+ :advanced_security_options,
2239
+ :auto_tune_options)
1856
2240
  SENSITIVE = []
1857
2241
  include Aws::Structure
1858
2242
  end
@@ -1987,6 +2371,10 @@ module Aws::ElasticsearchService
1987
2371
  # options.
1988
2372
  # @return [Types::AdvancedSecurityOptions]
1989
2373
  #
2374
+ # @!attribute [rw] auto_tune_options
2375
+ # The current status of the Elasticsearch domain's Auto-Tune options.
2376
+ # @return [Types::AutoTuneOptionsOutput]
2377
+ #
1990
2378
  class ElasticsearchDomainStatus < Struct.new(
1991
2379
  :domain_id,
1992
2380
  :domain_name,
@@ -2010,7 +2398,8 @@ module Aws::ElasticsearchService
2010
2398
  :log_publishing_options,
2011
2399
  :service_software_options,
2012
2400
  :domain_endpoint_options,
2013
- :advanced_security_options)
2401
+ :advanced_security_options,
2402
+ :auto_tune_options)
2014
2403
  SENSITIVE = []
2015
2404
  include Aws::Structure
2016
2405
  end
@@ -3448,6 +3837,41 @@ module Aws::ElasticsearchService
3448
3837
  include Aws::Structure
3449
3838
  end
3450
3839
 
3840
+ # Specifies details of the scheduled Auto-Tune action. See the
3841
+ # [Developer Guide][1] for more information.
3842
+ #
3843
+ #
3844
+ #
3845
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
3846
+ #
3847
+ # @!attribute [rw] date
3848
+ # Specifies timestamp for the Auto-Tune action scheduled for the
3849
+ # domain.
3850
+ # @return [Time]
3851
+ #
3852
+ # @!attribute [rw] action_type
3853
+ # Specifies Auto-Tune action type. Valid values are
3854
+ # JVM\_HEAP\_SIZE\_TUNING and JVM\_YOUNG\_GEN\_TUNING.
3855
+ # @return [String]
3856
+ #
3857
+ # @!attribute [rw] action
3858
+ # Specifies Auto-Tune action description.
3859
+ # @return [String]
3860
+ #
3861
+ # @!attribute [rw] severity
3862
+ # Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM
3863
+ # and HIGH.
3864
+ # @return [String]
3865
+ #
3866
+ class ScheduledAutoTuneDetails < Struct.new(
3867
+ :date,
3868
+ :action_type,
3869
+ :action,
3870
+ :severity)
3871
+ SENSITIVE = []
3872
+ include Aws::Structure
3873
+ end
3874
+
3451
3875
  # The current options of an Elasticsearch domain service software
3452
3876
  # options.
3453
3877
  #
@@ -3752,6 +4176,20 @@ module Aws::ElasticsearchService
3752
4176
  # enabled: false,
3753
4177
  # kms_key_id: "KmsKeyId",
3754
4178
  # },
4179
+ # auto_tune_options: {
4180
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
4181
+ # rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
4182
+ # maintenance_schedules: [
4183
+ # {
4184
+ # start_at: Time.now,
4185
+ # duration: {
4186
+ # value: 1,
4187
+ # unit: "HOURS", # accepts HOURS
4188
+ # },
4189
+ # cron_expression_for_recurrence: "String",
4190
+ # },
4191
+ # ],
4192
+ # },
3755
4193
  # }
3756
4194
  #
3757
4195
  # @!attribute [rw] domain_name
@@ -3829,6 +4267,10 @@ module Aws::ElasticsearchService
3829
4267
  # Specifies the Encryption At Rest Options.
3830
4268
  # @return [Types::EncryptionAtRestOptions]
3831
4269
  #
4270
+ # @!attribute [rw] auto_tune_options
4271
+ # Specifies Auto-Tune options.
4272
+ # @return [Types::AutoTuneOptions]
4273
+ #
3832
4274
  class UpdateElasticsearchDomainConfigRequest < Struct.new(
3833
4275
  :domain_name,
3834
4276
  :elasticsearch_cluster_config,
@@ -3842,7 +4284,8 @@ module Aws::ElasticsearchService
3842
4284
  :domain_endpoint_options,
3843
4285
  :advanced_security_options,
3844
4286
  :node_to_node_encryption_options,
3845
- :encryption_at_rest_options)
4287
+ :encryption_at_rest_options,
4288
+ :auto_tune_options)
3846
4289
  SENSITIVE = []
3847
4290
  include Aws::Structure
3848
4291
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticsearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core