aws-sdk-elasticsearchservice 1.46.0 → 1.51.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.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.51.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.46.0'
51
+ GEM_VERSION = '1.51.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
@@ -646,6 +652,25 @@ module Aws::ElasticsearchService
646
652
  # session_timeout_minutes: 1,
647
653
  # },
648
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
+ # ],
649
674
  # })
650
675
  #
651
676
  # @example Response structure
@@ -717,6 +742,8 @@ module Aws::ElasticsearchService
717
742
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
718
743
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
719
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
720
747
  #
721
748
  # @overload create_elasticsearch_domain(params = {})
722
749
  # @param [Hash] params ({})
@@ -919,6 +946,8 @@ module Aws::ElasticsearchService
919
946
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
920
947
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
921
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
922
951
  #
923
952
  # @overload delete_elasticsearch_domain(params = {})
924
953
  # @param [Hash] params ({})
@@ -1054,6 +1083,53 @@ module Aws::ElasticsearchService
1054
1083
  req.send_request(options)
1055
1084
  end
1056
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
+
1057
1133
  # Returns domain configuration information about the specified
1058
1134
  # Elasticsearch domain, including the domain ID, domain endpoint, and
1059
1135
  # domain ARN.
@@ -1140,6 +1216,8 @@ module Aws::ElasticsearchService
1140
1216
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
1141
1217
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
1142
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
1143
1221
  #
1144
1222
  # @overload describe_elasticsearch_domain(params = {})
1145
1223
  # @param [Hash] params ({})
@@ -1281,6 +1359,19 @@ module Aws::ElasticsearchService
1281
1359
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
1282
1360
  # resp.domain_config.advanced_security_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
1283
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
1284
1375
  #
1285
1376
  # @overload describe_elasticsearch_domain_config(params = {})
1286
1377
  # @param [Hash] params ({})
@@ -1376,6 +1467,8 @@ module Aws::ElasticsearchService
1376
1467
  # resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String
1377
1468
  # resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String
1378
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
1379
1472
  #
1380
1473
  # @overload describe_elasticsearch_domains(params = {})
1381
1474
  # @param [Hash] params ({})
@@ -2360,6 +2453,15 @@ module Aws::ElasticsearchService
2360
2453
  # @option params [Types::AdvancedSecurityOptionsInput] :advanced_security_options
2361
2454
  # Specifies advanced security options.
2362
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
+ #
2363
2465
  # @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2364
2466
  #
2365
2467
  # * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
@@ -2439,6 +2541,27 @@ module Aws::ElasticsearchService
2439
2541
  # session_timeout_minutes: 1,
2440
2542
  # },
2441
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
+ # },
2442
2565
  # })
2443
2566
  #
2444
2567
  # @example Response structure
@@ -2557,6 +2680,19 @@ module Aws::ElasticsearchService
2557
2680
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
2558
2681
  # resp.domain_config.advanced_security_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2559
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
2560
2696
  #
2561
2697
  # @overload update_elasticsearch_domain_config(params = {})
2562
2698
  # @param [Hash] params ({})
@@ -2674,7 +2810,7 @@ module Aws::ElasticsearchService
2674
2810
  params: params,
2675
2811
  config: config)
2676
2812
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2677
- context[:gem_version] = '1.46.0'
2813
+ context[:gem_version] = '1.51.0'
2678
2814
  Seahorse::Client::Request.new(handlers, context)
2679
2815
  end
2680
2816
 
@@ -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')
@@ -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,8 @@ 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"))
428
+ CreateElasticsearchDomainRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
361
429
  CreateElasticsearchDomainRequest.struct_class = Types::CreateElasticsearchDomainRequest
362
430
 
363
431
  CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
@@ -408,6 +476,15 @@ module Aws::ElasticsearchService
408
476
  DeletePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
409
477
  DeletePackageResponse.struct_class = Types::DeletePackageResponse
410
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
+
411
488
  DescribeElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
412
489
  DescribeElasticsearchDomainConfigRequest.struct_class = Types::DescribeElasticsearchDomainConfigRequest
413
490
 
@@ -532,6 +609,10 @@ module Aws::ElasticsearchService
532
609
 
533
610
  DomainPackageDetailsList.member = Shapes::ShapeRef.new(shape: DomainPackageDetails)
534
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
+
535
616
  EBSOptions.add_member(:ebs_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EBSEnabled"))
536
617
  EBSOptions.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
537
618
  EBSOptions.add_member(:volume_size, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "VolumeSize"))
@@ -571,6 +652,7 @@ module Aws::ElasticsearchService
571
652
  ElasticsearchDomainConfig.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptionsStatus, location_name: "LogPublishingOptions"))
572
653
  ElasticsearchDomainConfig.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
573
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"))
574
656
  ElasticsearchDomainConfig.struct_class = Types::ElasticsearchDomainConfig
575
657
 
576
658
  ElasticsearchDomainStatus.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
@@ -596,6 +678,7 @@ module Aws::ElasticsearchService
596
678
  ElasticsearchDomainStatus.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
597
679
  ElasticsearchDomainStatus.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
598
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"))
599
682
  ElasticsearchDomainStatus.struct_class = Types::ElasticsearchDomainStatus
600
683
 
601
684
  ElasticsearchDomainStatusList.member = Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus)
@@ -891,6 +974,12 @@ module Aws::ElasticsearchService
891
974
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
892
975
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
893
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
+
894
983
  ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
895
984
  ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
896
985
  ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
@@ -946,6 +1035,9 @@ module Aws::ElasticsearchService
946
1035
  UpdateElasticsearchDomainConfigRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
947
1036
  UpdateElasticsearchDomainConfigRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
948
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"))
949
1041
  UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
950
1042
 
951
1043
  UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
@@ -1171,6 +1263,24 @@ module Aws::ElasticsearchService
1171
1263
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1172
1264
  end)
1173
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
+
1174
1284
  api.add_operation(:describe_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1175
1285
  o.name = "DescribeElasticsearchDomain"
1176
1286
  o.http_method = "GET"