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.
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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,25 @@ 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
+ # },
792
+ # tag_list: [
793
+ # {
794
+ # key: "TagKey", # required
795
+ # value: "TagValue", # required
796
+ # },
797
+ # ],
520
798
  # }
521
799
  #
522
800
  # @!attribute [rw] domain_name
@@ -610,6 +888,14 @@ module Aws::ElasticsearchService
610
888
  # Specifies advanced security options.
611
889
  # @return [Types::AdvancedSecurityOptionsInput]
612
890
  #
891
+ # @!attribute [rw] auto_tune_options
892
+ # Specifies Auto-Tune options.
893
+ # @return [Types::AutoTuneOptionsInput]
894
+ #
895
+ # @!attribute [rw] tag_list
896
+ # A list of `Tag` added during domain creation.
897
+ # @return [Array<Types::Tag>]
898
+ #
613
899
  class CreateElasticsearchDomainRequest < Struct.new(
614
900
  :domain_name,
615
901
  :elasticsearch_version,
@@ -624,7 +910,9 @@ module Aws::ElasticsearchService
624
910
  :advanced_options,
625
911
  :log_publishing_options,
626
912
  :domain_endpoint_options,
627
- :advanced_security_options)
913
+ :advanced_security_options,
914
+ :auto_tune_options,
915
+ :tag_list)
628
916
  SENSITIVE = []
629
917
  include Aws::Structure
630
918
  end
@@ -914,6 +1202,68 @@ module Aws::ElasticsearchService
914
1202
  include Aws::Structure
915
1203
  end
916
1204
 
1205
+ # Container for the parameters to the `DescribeDomainAutoTunes`
1206
+ # operation.
1207
+ #
1208
+ # @note When making an API call, you may pass DescribeDomainAutoTunesRequest
1209
+ # data as a hash:
1210
+ #
1211
+ # {
1212
+ # domain_name: "DomainName", # required
1213
+ # max_results: 1,
1214
+ # next_token: "NextToken",
1215
+ # }
1216
+ #
1217
+ # @!attribute [rw] domain_name
1218
+ # Specifies the domain name for which you want Auto-Tune action
1219
+ # details.
1220
+ # @return [String]
1221
+ #
1222
+ # @!attribute [rw] max_results
1223
+ # Set this value to limit the number of results returned. If not
1224
+ # specified, defaults to 100.
1225
+ # @return [Integer]
1226
+ #
1227
+ # @!attribute [rw] next_token
1228
+ # NextToken is sent in case the earlier API call results contain the
1229
+ # NextToken. It is used for pagination.
1230
+ # @return [String]
1231
+ #
1232
+ class DescribeDomainAutoTunesRequest < Struct.new(
1233
+ :domain_name,
1234
+ :max_results,
1235
+ :next_token)
1236
+ SENSITIVE = []
1237
+ include Aws::Structure
1238
+ end
1239
+
1240
+ # The result of `DescribeDomainAutoTunes` request. See the [Developer
1241
+ # Guide][1] for more information.
1242
+ #
1243
+ #
1244
+ #
1245
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1246
+ #
1247
+ # @!attribute [rw] auto_tunes
1248
+ # Specifies the list of setting adjustments that Auto-Tune has made to
1249
+ # the domain. See the [Developer Guide][1] for more information.
1250
+ #
1251
+ #
1252
+ #
1253
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1254
+ # @return [Array<Types::AutoTune>]
1255
+ #
1256
+ # @!attribute [rw] next_token
1257
+ # Specifies an identifier to allow retrieval of paginated results.
1258
+ # @return [String]
1259
+ #
1260
+ class DescribeDomainAutoTunesResponse < Struct.new(
1261
+ :auto_tunes,
1262
+ :next_token)
1263
+ SENSITIVE = []
1264
+ include Aws::Structure
1265
+ end
1266
+
917
1267
  # Container for the parameters to the
918
1268
  # `DescribeElasticsearchDomainConfig` operation. Specifies the domain
919
1269
  # name for which you want configuration information.
@@ -1596,6 +1946,46 @@ module Aws::ElasticsearchService
1596
1946
  include Aws::Structure
1597
1947
  end
1598
1948
 
1949
+ # Specifies maintenance schedule duration: duration value and duration
1950
+ # unit. See the [Developer Guide][1] for more information.
1951
+ #
1952
+ #
1953
+ #
1954
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1955
+ #
1956
+ # @note When making an API call, you may pass Duration
1957
+ # data as a hash:
1958
+ #
1959
+ # {
1960
+ # value: 1,
1961
+ # unit: "HOURS", # accepts HOURS
1962
+ # }
1963
+ #
1964
+ # @!attribute [rw] value
1965
+ # Integer to specify the value of a maintenance schedule duration. See
1966
+ # the [Developer Guide][1] for more information.
1967
+ #
1968
+ #
1969
+ #
1970
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1971
+ # @return [Integer]
1972
+ #
1973
+ # @!attribute [rw] unit
1974
+ # Specifies the unit of a maintenance schedule duration. Valid value
1975
+ # is HOURS. See the [Developer Guide][1] for more information.
1976
+ #
1977
+ #
1978
+ #
1979
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1980
+ # @return [String]
1981
+ #
1982
+ class Duration < Struct.new(
1983
+ :value,
1984
+ :unit)
1985
+ SENSITIVE = []
1986
+ include Aws::Structure
1987
+ end
1988
+
1599
1989
  # Options to enable, disable, and specify the properties of EBS storage
1600
1990
  # volumes. For more information, see [ Configuring EBS-based
1601
1991
  # Storage][1].
@@ -1839,6 +2229,10 @@ module Aws::ElasticsearchService
1839
2229
  # Specifies `AdvancedSecurityOptions` for the domain.
1840
2230
  # @return [Types::AdvancedSecurityOptionsStatus]
1841
2231
  #
2232
+ # @!attribute [rw] auto_tune_options
2233
+ # Specifies `AutoTuneOptions` for the domain.
2234
+ # @return [Types::AutoTuneOptionsStatus]
2235
+ #
1842
2236
  class ElasticsearchDomainConfig < Struct.new(
1843
2237
  :elasticsearch_version,
1844
2238
  :elasticsearch_cluster_config,
@@ -1852,7 +2246,8 @@ module Aws::ElasticsearchService
1852
2246
  :advanced_options,
1853
2247
  :log_publishing_options,
1854
2248
  :domain_endpoint_options,
1855
- :advanced_security_options)
2249
+ :advanced_security_options,
2250
+ :auto_tune_options)
1856
2251
  SENSITIVE = []
1857
2252
  include Aws::Structure
1858
2253
  end
@@ -1987,6 +2382,10 @@ module Aws::ElasticsearchService
1987
2382
  # options.
1988
2383
  # @return [Types::AdvancedSecurityOptions]
1989
2384
  #
2385
+ # @!attribute [rw] auto_tune_options
2386
+ # The current status of the Elasticsearch domain's Auto-Tune options.
2387
+ # @return [Types::AutoTuneOptionsOutput]
2388
+ #
1990
2389
  class ElasticsearchDomainStatus < Struct.new(
1991
2390
  :domain_id,
1992
2391
  :domain_name,
@@ -2010,7 +2409,8 @@ module Aws::ElasticsearchService
2010
2409
  :log_publishing_options,
2011
2410
  :service_software_options,
2012
2411
  :domain_endpoint_options,
2013
- :advanced_security_options)
2412
+ :advanced_security_options,
2413
+ :auto_tune_options)
2014
2414
  SENSITIVE = []
2015
2415
  include Aws::Structure
2016
2416
  end
@@ -3448,6 +3848,41 @@ module Aws::ElasticsearchService
3448
3848
  include Aws::Structure
3449
3849
  end
3450
3850
 
3851
+ # Specifies details of the scheduled Auto-Tune action. See the
3852
+ # [Developer Guide][1] for more information.
3853
+ #
3854
+ #
3855
+ #
3856
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
3857
+ #
3858
+ # @!attribute [rw] date
3859
+ # Specifies timestamp for the Auto-Tune action scheduled for the
3860
+ # domain.
3861
+ # @return [Time]
3862
+ #
3863
+ # @!attribute [rw] action_type
3864
+ # Specifies Auto-Tune action type. Valid values are
3865
+ # JVM\_HEAP\_SIZE\_TUNING and JVM\_YOUNG\_GEN\_TUNING.
3866
+ # @return [String]
3867
+ #
3868
+ # @!attribute [rw] action
3869
+ # Specifies Auto-Tune action description.
3870
+ # @return [String]
3871
+ #
3872
+ # @!attribute [rw] severity
3873
+ # Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM
3874
+ # and HIGH.
3875
+ # @return [String]
3876
+ #
3877
+ class ScheduledAutoTuneDetails < Struct.new(
3878
+ :date,
3879
+ :action_type,
3880
+ :action,
3881
+ :severity)
3882
+ SENSITIVE = []
3883
+ include Aws::Structure
3884
+ end
3885
+
3451
3886
  # The current options of an Elasticsearch domain service software
3452
3887
  # options.
3453
3888
  #
@@ -3745,6 +4180,27 @@ module Aws::ElasticsearchService
3745
4180
  # session_timeout_minutes: 1,
3746
4181
  # },
3747
4182
  # },
4183
+ # node_to_node_encryption_options: {
4184
+ # enabled: false,
4185
+ # },
4186
+ # encryption_at_rest_options: {
4187
+ # enabled: false,
4188
+ # kms_key_id: "KmsKeyId",
4189
+ # },
4190
+ # auto_tune_options: {
4191
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
4192
+ # rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
4193
+ # maintenance_schedules: [
4194
+ # {
4195
+ # start_at: Time.now,
4196
+ # duration: {
4197
+ # value: 1,
4198
+ # unit: "HOURS", # accepts HOURS
4199
+ # },
4200
+ # cron_expression_for_recurrence: "String",
4201
+ # },
4202
+ # ],
4203
+ # },
3748
4204
  # }
3749
4205
  #
3750
4206
  # @!attribute [rw] domain_name
@@ -3814,6 +4270,18 @@ module Aws::ElasticsearchService
3814
4270
  # Specifies advanced security options.
3815
4271
  # @return [Types::AdvancedSecurityOptionsInput]
3816
4272
  #
4273
+ # @!attribute [rw] node_to_node_encryption_options
4274
+ # Specifies the NodeToNodeEncryptionOptions.
4275
+ # @return [Types::NodeToNodeEncryptionOptions]
4276
+ #
4277
+ # @!attribute [rw] encryption_at_rest_options
4278
+ # Specifies the Encryption At Rest Options.
4279
+ # @return [Types::EncryptionAtRestOptions]
4280
+ #
4281
+ # @!attribute [rw] auto_tune_options
4282
+ # Specifies Auto-Tune options.
4283
+ # @return [Types::AutoTuneOptions]
4284
+ #
3817
4285
  class UpdateElasticsearchDomainConfigRequest < Struct.new(
3818
4286
  :domain_name,
3819
4287
  :elasticsearch_cluster_config,
@@ -3825,7 +4293,10 @@ module Aws::ElasticsearchService
3825
4293
  :access_policies,
3826
4294
  :log_publishing_options,
3827
4295
  :domain_endpoint_options,
3828
- :advanced_security_options)
4296
+ :advanced_security_options,
4297
+ :node_to_node_encryption_options,
4298
+ :encryption_at_rest_options,
4299
+ :auto_tune_options)
3829
4300
  SENSITIVE = []
3830
4301
  include Aws::Structure
3831
4302
  end