aws-sdk-elasticsearchservice 1.47.0 → 1.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +333 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-elasticsearchservice.rb +2 -2
- data/lib/aws-sdk-elasticsearchservice/client.rb +137 -2
- data/lib/aws-sdk-elasticsearchservice/client_api.rb +114 -1
- data/lib/aws-sdk-elasticsearchservice/customizations.rb +1 -1
- data/lib/aws-sdk-elasticsearchservice/errors.rb +1 -1
- data/lib/aws-sdk-elasticsearchservice/resource.rb +1 -1
- data/lib/aws-sdk-elasticsearchservice/types.rb +494 -6
- metadata +11 -9
@@ -2,7 +2,7 @@
|
|
2
2
|
# WARNING ABOUT GENERATED CODE
|
3
3
|
#
|
4
4
|
# This file is generated. See the contributing for info on making contributions:
|
5
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
5
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
6
6
|
#
|
7
7
|
# WARNING ABOUT GENERATED CODE
|
8
8
|
|
@@ -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/
|
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/
|
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/
|
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
|
@@ -410,6 +669,25 @@ module Aws::ElasticsearchService
|
|
410
669
|
include Aws::Structure
|
411
670
|
end
|
412
671
|
|
672
|
+
# Specifies settings for cold storage.
|
673
|
+
#
|
674
|
+
# @note When making an API call, you may pass ColdStorageOptions
|
675
|
+
# data as a hash:
|
676
|
+
#
|
677
|
+
# {
|
678
|
+
# enabled: false, # required
|
679
|
+
# }
|
680
|
+
#
|
681
|
+
# @!attribute [rw] enabled
|
682
|
+
# True to enable cold storage for an Elasticsearch domain.
|
683
|
+
# @return [Boolean]
|
684
|
+
#
|
685
|
+
class ColdStorageOptions < Struct.new(
|
686
|
+
:enabled)
|
687
|
+
SENSITIVE = []
|
688
|
+
include Aws::Structure
|
689
|
+
end
|
690
|
+
|
413
691
|
# A map from an ` ElasticsearchVersion ` to a list of compatible `
|
414
692
|
# ElasticsearchVersion ` s to which the domain can be upgraded.
|
415
693
|
#
|
@@ -452,6 +730,9 @@ module Aws::ElasticsearchService
|
|
452
730
|
# warm_enabled: false,
|
453
731
|
# warm_type: "ultrawarm1.medium.elasticsearch", # accepts ultrawarm1.medium.elasticsearch, ultrawarm1.large.elasticsearch
|
454
732
|
# warm_count: 1,
|
733
|
+
# cold_storage_options: {
|
734
|
+
# enabled: false, # required
|
735
|
+
# },
|
455
736
|
# },
|
456
737
|
# ebs_options: {
|
457
738
|
# ebs_enabled: false,
|
@@ -517,6 +798,25 @@ module Aws::ElasticsearchService
|
|
517
798
|
# session_timeout_minutes: 1,
|
518
799
|
# },
|
519
800
|
# },
|
801
|
+
# auto_tune_options: {
|
802
|
+
# desired_state: "ENABLED", # accepts ENABLED, DISABLED
|
803
|
+
# maintenance_schedules: [
|
804
|
+
# {
|
805
|
+
# start_at: Time.now,
|
806
|
+
# duration: {
|
807
|
+
# value: 1,
|
808
|
+
# unit: "HOURS", # accepts HOURS
|
809
|
+
# },
|
810
|
+
# cron_expression_for_recurrence: "String",
|
811
|
+
# },
|
812
|
+
# ],
|
813
|
+
# },
|
814
|
+
# tag_list: [
|
815
|
+
# {
|
816
|
+
# key: "TagKey", # required
|
817
|
+
# value: "TagValue", # required
|
818
|
+
# },
|
819
|
+
# ],
|
520
820
|
# }
|
521
821
|
#
|
522
822
|
# @!attribute [rw] domain_name
|
@@ -610,6 +910,14 @@ module Aws::ElasticsearchService
|
|
610
910
|
# Specifies advanced security options.
|
611
911
|
# @return [Types::AdvancedSecurityOptionsInput]
|
612
912
|
#
|
913
|
+
# @!attribute [rw] auto_tune_options
|
914
|
+
# Specifies Auto-Tune options.
|
915
|
+
# @return [Types::AutoTuneOptionsInput]
|
916
|
+
#
|
917
|
+
# @!attribute [rw] tag_list
|
918
|
+
# A list of `Tag` added during domain creation.
|
919
|
+
# @return [Array<Types::Tag>]
|
920
|
+
#
|
613
921
|
class CreateElasticsearchDomainRequest < Struct.new(
|
614
922
|
:domain_name,
|
615
923
|
:elasticsearch_version,
|
@@ -624,7 +932,9 @@ module Aws::ElasticsearchService
|
|
624
932
|
:advanced_options,
|
625
933
|
:log_publishing_options,
|
626
934
|
:domain_endpoint_options,
|
627
|
-
:advanced_security_options
|
935
|
+
:advanced_security_options,
|
936
|
+
:auto_tune_options,
|
937
|
+
:tag_list)
|
628
938
|
SENSITIVE = []
|
629
939
|
include Aws::Structure
|
630
940
|
end
|
@@ -914,6 +1224,68 @@ module Aws::ElasticsearchService
|
|
914
1224
|
include Aws::Structure
|
915
1225
|
end
|
916
1226
|
|
1227
|
+
# Container for the parameters to the `DescribeDomainAutoTunes`
|
1228
|
+
# operation.
|
1229
|
+
#
|
1230
|
+
# @note When making an API call, you may pass DescribeDomainAutoTunesRequest
|
1231
|
+
# data as a hash:
|
1232
|
+
#
|
1233
|
+
# {
|
1234
|
+
# domain_name: "DomainName", # required
|
1235
|
+
# max_results: 1,
|
1236
|
+
# next_token: "NextToken",
|
1237
|
+
# }
|
1238
|
+
#
|
1239
|
+
# @!attribute [rw] domain_name
|
1240
|
+
# Specifies the domain name for which you want Auto-Tune action
|
1241
|
+
# details.
|
1242
|
+
# @return [String]
|
1243
|
+
#
|
1244
|
+
# @!attribute [rw] max_results
|
1245
|
+
# Set this value to limit the number of results returned. If not
|
1246
|
+
# specified, defaults to 100.
|
1247
|
+
# @return [Integer]
|
1248
|
+
#
|
1249
|
+
# @!attribute [rw] next_token
|
1250
|
+
# NextToken is sent in case the earlier API call results contain the
|
1251
|
+
# NextToken. It is used for pagination.
|
1252
|
+
# @return [String]
|
1253
|
+
#
|
1254
|
+
class DescribeDomainAutoTunesRequest < Struct.new(
|
1255
|
+
:domain_name,
|
1256
|
+
:max_results,
|
1257
|
+
:next_token)
|
1258
|
+
SENSITIVE = []
|
1259
|
+
include Aws::Structure
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
# The result of `DescribeDomainAutoTunes` request. See the [Developer
|
1263
|
+
# Guide][1] for more information.
|
1264
|
+
#
|
1265
|
+
#
|
1266
|
+
#
|
1267
|
+
# [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
|
1268
|
+
#
|
1269
|
+
# @!attribute [rw] auto_tunes
|
1270
|
+
# Specifies the list of setting adjustments that Auto-Tune has made to
|
1271
|
+
# the domain. See the [Developer Guide][1] for more information.
|
1272
|
+
#
|
1273
|
+
#
|
1274
|
+
#
|
1275
|
+
# [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
|
1276
|
+
# @return [Array<Types::AutoTune>]
|
1277
|
+
#
|
1278
|
+
# @!attribute [rw] next_token
|
1279
|
+
# Specifies an identifier to allow retrieval of paginated results.
|
1280
|
+
# @return [String]
|
1281
|
+
#
|
1282
|
+
class DescribeDomainAutoTunesResponse < Struct.new(
|
1283
|
+
:auto_tunes,
|
1284
|
+
:next_token)
|
1285
|
+
SENSITIVE = []
|
1286
|
+
include Aws::Structure
|
1287
|
+
end
|
1288
|
+
|
917
1289
|
# Container for the parameters to the
|
918
1290
|
# `DescribeElasticsearchDomainConfig` operation. Specifies the domain
|
919
1291
|
# name for which you want configuration information.
|
@@ -1596,6 +1968,46 @@ module Aws::ElasticsearchService
|
|
1596
1968
|
include Aws::Structure
|
1597
1969
|
end
|
1598
1970
|
|
1971
|
+
# Specifies maintenance schedule duration: duration value and duration
|
1972
|
+
# unit. See the [Developer Guide][1] for more information.
|
1973
|
+
#
|
1974
|
+
#
|
1975
|
+
#
|
1976
|
+
# [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
|
1977
|
+
#
|
1978
|
+
# @note When making an API call, you may pass Duration
|
1979
|
+
# data as a hash:
|
1980
|
+
#
|
1981
|
+
# {
|
1982
|
+
# value: 1,
|
1983
|
+
# unit: "HOURS", # accepts HOURS
|
1984
|
+
# }
|
1985
|
+
#
|
1986
|
+
# @!attribute [rw] value
|
1987
|
+
# Integer to specify the value of a maintenance schedule duration. See
|
1988
|
+
# the [Developer Guide][1] for more information.
|
1989
|
+
#
|
1990
|
+
#
|
1991
|
+
#
|
1992
|
+
# [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
|
1993
|
+
# @return [Integer]
|
1994
|
+
#
|
1995
|
+
# @!attribute [rw] unit
|
1996
|
+
# Specifies the unit of a maintenance schedule duration. Valid value
|
1997
|
+
# is HOURS. See the [Developer Guide][1] for more information.
|
1998
|
+
#
|
1999
|
+
#
|
2000
|
+
#
|
2001
|
+
# [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
|
2002
|
+
# @return [String]
|
2003
|
+
#
|
2004
|
+
class Duration < Struct.new(
|
2005
|
+
:value,
|
2006
|
+
:unit)
|
2007
|
+
SENSITIVE = []
|
2008
|
+
include Aws::Structure
|
2009
|
+
end
|
2010
|
+
|
1599
2011
|
# Options to enable, disable, and specify the properties of EBS storage
|
1600
2012
|
# volumes. For more information, see [ Configuring EBS-based
|
1601
2013
|
# Storage][1].
|
@@ -1676,6 +2088,9 @@ module Aws::ElasticsearchService
|
|
1676
2088
|
# warm_enabled: false,
|
1677
2089
|
# warm_type: "ultrawarm1.medium.elasticsearch", # accepts ultrawarm1.medium.elasticsearch, ultrawarm1.large.elasticsearch
|
1678
2090
|
# warm_count: 1,
|
2091
|
+
# cold_storage_options: {
|
2092
|
+
# enabled: false, # required
|
2093
|
+
# },
|
1679
2094
|
# }
|
1680
2095
|
#
|
1681
2096
|
# @!attribute [rw] instance_type
|
@@ -1731,6 +2146,11 @@ module Aws::ElasticsearchService
|
|
1731
2146
|
# The number of warm nodes in the cluster.
|
1732
2147
|
# @return [Integer]
|
1733
2148
|
#
|
2149
|
+
# @!attribute [rw] cold_storage_options
|
2150
|
+
# Specifies the `ColdStorageOptions` configuration for an
|
2151
|
+
# Elasticsearch domain.
|
2152
|
+
# @return [Types::ColdStorageOptions]
|
2153
|
+
#
|
1734
2154
|
class ElasticsearchClusterConfig < Struct.new(
|
1735
2155
|
:instance_type,
|
1736
2156
|
:instance_count,
|
@@ -1741,7 +2161,8 @@ module Aws::ElasticsearchService
|
|
1741
2161
|
:dedicated_master_count,
|
1742
2162
|
:warm_enabled,
|
1743
2163
|
:warm_type,
|
1744
|
-
:warm_count
|
2164
|
+
:warm_count,
|
2165
|
+
:cold_storage_options)
|
1745
2166
|
SENSITIVE = []
|
1746
2167
|
include Aws::Structure
|
1747
2168
|
end
|
@@ -1839,6 +2260,10 @@ module Aws::ElasticsearchService
|
|
1839
2260
|
# Specifies `AdvancedSecurityOptions` for the domain.
|
1840
2261
|
# @return [Types::AdvancedSecurityOptionsStatus]
|
1841
2262
|
#
|
2263
|
+
# @!attribute [rw] auto_tune_options
|
2264
|
+
# Specifies `AutoTuneOptions` for the domain.
|
2265
|
+
# @return [Types::AutoTuneOptionsStatus]
|
2266
|
+
#
|
1842
2267
|
class ElasticsearchDomainConfig < Struct.new(
|
1843
2268
|
:elasticsearch_version,
|
1844
2269
|
:elasticsearch_cluster_config,
|
@@ -1852,7 +2277,8 @@ module Aws::ElasticsearchService
|
|
1852
2277
|
:advanced_options,
|
1853
2278
|
:log_publishing_options,
|
1854
2279
|
:domain_endpoint_options,
|
1855
|
-
:advanced_security_options
|
2280
|
+
:advanced_security_options,
|
2281
|
+
:auto_tune_options)
|
1856
2282
|
SENSITIVE = []
|
1857
2283
|
include Aws::Structure
|
1858
2284
|
end
|
@@ -1987,6 +2413,10 @@ module Aws::ElasticsearchService
|
|
1987
2413
|
# options.
|
1988
2414
|
# @return [Types::AdvancedSecurityOptions]
|
1989
2415
|
#
|
2416
|
+
# @!attribute [rw] auto_tune_options
|
2417
|
+
# The current status of the Elasticsearch domain's Auto-Tune options.
|
2418
|
+
# @return [Types::AutoTuneOptionsOutput]
|
2419
|
+
#
|
1990
2420
|
class ElasticsearchDomainStatus < Struct.new(
|
1991
2421
|
:domain_id,
|
1992
2422
|
:domain_name,
|
@@ -2010,7 +2440,8 @@ module Aws::ElasticsearchService
|
|
2010
2440
|
:log_publishing_options,
|
2011
2441
|
:service_software_options,
|
2012
2442
|
:domain_endpoint_options,
|
2013
|
-
:advanced_security_options
|
2443
|
+
:advanced_security_options,
|
2444
|
+
:auto_tune_options)
|
2014
2445
|
SENSITIVE = []
|
2015
2446
|
include Aws::Structure
|
2016
2447
|
end
|
@@ -3448,6 +3879,41 @@ module Aws::ElasticsearchService
|
|
3448
3879
|
include Aws::Structure
|
3449
3880
|
end
|
3450
3881
|
|
3882
|
+
# Specifies details of the scheduled Auto-Tune action. See the
|
3883
|
+
# [Developer Guide][1] for more information.
|
3884
|
+
#
|
3885
|
+
#
|
3886
|
+
#
|
3887
|
+
# [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
|
3888
|
+
#
|
3889
|
+
# @!attribute [rw] date
|
3890
|
+
# Specifies timestamp for the Auto-Tune action scheduled for the
|
3891
|
+
# domain.
|
3892
|
+
# @return [Time]
|
3893
|
+
#
|
3894
|
+
# @!attribute [rw] action_type
|
3895
|
+
# Specifies Auto-Tune action type. Valid values are
|
3896
|
+
# JVM\_HEAP\_SIZE\_TUNING and JVM\_YOUNG\_GEN\_TUNING.
|
3897
|
+
# @return [String]
|
3898
|
+
#
|
3899
|
+
# @!attribute [rw] action
|
3900
|
+
# Specifies Auto-Tune action description.
|
3901
|
+
# @return [String]
|
3902
|
+
#
|
3903
|
+
# @!attribute [rw] severity
|
3904
|
+
# Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM
|
3905
|
+
# and HIGH.
|
3906
|
+
# @return [String]
|
3907
|
+
#
|
3908
|
+
class ScheduledAutoTuneDetails < Struct.new(
|
3909
|
+
:date,
|
3910
|
+
:action_type,
|
3911
|
+
:action,
|
3912
|
+
:severity)
|
3913
|
+
SENSITIVE = []
|
3914
|
+
include Aws::Structure
|
3915
|
+
end
|
3916
|
+
|
3451
3917
|
# The current options of an Elasticsearch domain service software
|
3452
3918
|
# options.
|
3453
3919
|
#
|
@@ -3687,6 +4153,9 @@ module Aws::ElasticsearchService
|
|
3687
4153
|
# warm_enabled: false,
|
3688
4154
|
# warm_type: "ultrawarm1.medium.elasticsearch", # accepts ultrawarm1.medium.elasticsearch, ultrawarm1.large.elasticsearch
|
3689
4155
|
# warm_count: 1,
|
4156
|
+
# cold_storage_options: {
|
4157
|
+
# enabled: false, # required
|
4158
|
+
# },
|
3690
4159
|
# },
|
3691
4160
|
# ebs_options: {
|
3692
4161
|
# ebs_enabled: false,
|
@@ -3752,6 +4221,20 @@ module Aws::ElasticsearchService
|
|
3752
4221
|
# enabled: false,
|
3753
4222
|
# kms_key_id: "KmsKeyId",
|
3754
4223
|
# },
|
4224
|
+
# auto_tune_options: {
|
4225
|
+
# desired_state: "ENABLED", # accepts ENABLED, DISABLED
|
4226
|
+
# rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
|
4227
|
+
# maintenance_schedules: [
|
4228
|
+
# {
|
4229
|
+
# start_at: Time.now,
|
4230
|
+
# duration: {
|
4231
|
+
# value: 1,
|
4232
|
+
# unit: "HOURS", # accepts HOURS
|
4233
|
+
# },
|
4234
|
+
# cron_expression_for_recurrence: "String",
|
4235
|
+
# },
|
4236
|
+
# ],
|
4237
|
+
# },
|
3755
4238
|
# }
|
3756
4239
|
#
|
3757
4240
|
# @!attribute [rw] domain_name
|
@@ -3829,6 +4312,10 @@ module Aws::ElasticsearchService
|
|
3829
4312
|
# Specifies the Encryption At Rest Options.
|
3830
4313
|
# @return [Types::EncryptionAtRestOptions]
|
3831
4314
|
#
|
4315
|
+
# @!attribute [rw] auto_tune_options
|
4316
|
+
# Specifies Auto-Tune options.
|
4317
|
+
# @return [Types::AutoTuneOptions]
|
4318
|
+
#
|
3832
4319
|
class UpdateElasticsearchDomainConfigRequest < Struct.new(
|
3833
4320
|
:domain_name,
|
3834
4321
|
:elasticsearch_cluster_config,
|
@@ -3842,7 +4329,8 @@ module Aws::ElasticsearchService
|
|
3842
4329
|
:domain_endpoint_options,
|
3843
4330
|
:advanced_security_options,
|
3844
4331
|
:node_to_node_encryption_options,
|
3845
|
-
:encryption_at_rest_options
|
4332
|
+
:encryption_at_rest_options,
|
4333
|
+
:auto_tune_options)
|
3846
4334
|
SENSITIVE = []
|
3847
4335
|
include Aws::Structure
|
3848
4336
|
end
|