aws-sdk-elasticsearchservice 1.45.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -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.
|
@@ -1569,6 +1919,9 @@ module Aws::ElasticsearchService
|
|
1569
1919
|
# ASSOCIATING/ASSOCIATION\_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION\_FAILED.
|
1570
1920
|
# @return [String]
|
1571
1921
|
#
|
1922
|
+
# @!attribute [rw] package_version
|
1923
|
+
# @return [String]
|
1924
|
+
#
|
1572
1925
|
# @!attribute [rw] reference_path
|
1573
1926
|
# The relative path on Amazon ES nodes, which can be used as
|
1574
1927
|
# synonym\_path when the package is synonym file.
|
@@ -1586,12 +1939,53 @@ module Aws::ElasticsearchService
|
|
1586
1939
|
:last_updated,
|
1587
1940
|
:domain_name,
|
1588
1941
|
:domain_package_status,
|
1942
|
+
:package_version,
|
1589
1943
|
:reference_path,
|
1590
1944
|
:error_details)
|
1591
1945
|
SENSITIVE = []
|
1592
1946
|
include Aws::Structure
|
1593
1947
|
end
|
1594
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
|
+
|
1595
1989
|
# Options to enable, disable, and specify the properties of EBS storage
|
1596
1990
|
# volumes. For more information, see [ Configuring EBS-based
|
1597
1991
|
# Storage][1].
|
@@ -1835,6 +2229,10 @@ module Aws::ElasticsearchService
|
|
1835
2229
|
# Specifies `AdvancedSecurityOptions` for the domain.
|
1836
2230
|
# @return [Types::AdvancedSecurityOptionsStatus]
|
1837
2231
|
#
|
2232
|
+
# @!attribute [rw] auto_tune_options
|
2233
|
+
# Specifies `AutoTuneOptions` for the domain.
|
2234
|
+
# @return [Types::AutoTuneOptionsStatus]
|
2235
|
+
#
|
1838
2236
|
class ElasticsearchDomainConfig < Struct.new(
|
1839
2237
|
:elasticsearch_version,
|
1840
2238
|
:elasticsearch_cluster_config,
|
@@ -1848,7 +2246,8 @@ module Aws::ElasticsearchService
|
|
1848
2246
|
:advanced_options,
|
1849
2247
|
:log_publishing_options,
|
1850
2248
|
:domain_endpoint_options,
|
1851
|
-
:advanced_security_options
|
2249
|
+
:advanced_security_options,
|
2250
|
+
:auto_tune_options)
|
1852
2251
|
SENSITIVE = []
|
1853
2252
|
include Aws::Structure
|
1854
2253
|
end
|
@@ -1983,6 +2382,10 @@ module Aws::ElasticsearchService
|
|
1983
2382
|
# options.
|
1984
2383
|
# @return [Types::AdvancedSecurityOptions]
|
1985
2384
|
#
|
2385
|
+
# @!attribute [rw] auto_tune_options
|
2386
|
+
# The current status of the Elasticsearch domain's Auto-Tune options.
|
2387
|
+
# @return [Types::AutoTuneOptionsOutput]
|
2388
|
+
#
|
1986
2389
|
class ElasticsearchDomainStatus < Struct.new(
|
1987
2390
|
:domain_id,
|
1988
2391
|
:domain_name,
|
@@ -2006,7 +2409,8 @@ module Aws::ElasticsearchService
|
|
2006
2409
|
:log_publishing_options,
|
2007
2410
|
:service_software_options,
|
2008
2411
|
:domain_endpoint_options,
|
2009
|
-
:advanced_security_options
|
2412
|
+
:advanced_security_options,
|
2413
|
+
:auto_tune_options)
|
2010
2414
|
SENSITIVE = []
|
2011
2415
|
include Aws::Structure
|
2012
2416
|
end
|
@@ -2154,6 +2558,61 @@ module Aws::ElasticsearchService
|
|
2154
2558
|
include Aws::Structure
|
2155
2559
|
end
|
2156
2560
|
|
2561
|
+
# Container for request parameters to ` GetPackageVersionHistory `
|
2562
|
+
# operation.
|
2563
|
+
#
|
2564
|
+
# @note When making an API call, you may pass GetPackageVersionHistoryRequest
|
2565
|
+
# data as a hash:
|
2566
|
+
#
|
2567
|
+
# {
|
2568
|
+
# package_id: "PackageID", # required
|
2569
|
+
# max_results: 1,
|
2570
|
+
# next_token: "NextToken",
|
2571
|
+
# }
|
2572
|
+
#
|
2573
|
+
# @!attribute [rw] package_id
|
2574
|
+
# Returns an audit history of versions of the package.
|
2575
|
+
# @return [String]
|
2576
|
+
#
|
2577
|
+
# @!attribute [rw] max_results
|
2578
|
+
# Limits results to a maximum number of versions.
|
2579
|
+
# @return [Integer]
|
2580
|
+
#
|
2581
|
+
# @!attribute [rw] next_token
|
2582
|
+
# Used for pagination. Only necessary if a previous API call includes
|
2583
|
+
# a non-null NextToken value. If provided, returns results for the
|
2584
|
+
# next page.
|
2585
|
+
# @return [String]
|
2586
|
+
#
|
2587
|
+
class GetPackageVersionHistoryRequest < Struct.new(
|
2588
|
+
:package_id,
|
2589
|
+
:max_results,
|
2590
|
+
:next_token)
|
2591
|
+
SENSITIVE = []
|
2592
|
+
include Aws::Structure
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
# Container for response returned by ` GetPackageVersionHistory `
|
2596
|
+
# operation.
|
2597
|
+
#
|
2598
|
+
# @!attribute [rw] package_id
|
2599
|
+
# @return [String]
|
2600
|
+
#
|
2601
|
+
# @!attribute [rw] package_version_history_list
|
2602
|
+
# List of `PackageVersionHistory` objects.
|
2603
|
+
# @return [Array<Types::PackageVersionHistory>]
|
2604
|
+
#
|
2605
|
+
# @!attribute [rw] next_token
|
2606
|
+
# @return [String]
|
2607
|
+
#
|
2608
|
+
class GetPackageVersionHistoryResponse < Struct.new(
|
2609
|
+
:package_id,
|
2610
|
+
:package_version_history_list,
|
2611
|
+
:next_token)
|
2612
|
+
SENSITIVE = []
|
2613
|
+
include Aws::Structure
|
2614
|
+
end
|
2615
|
+
|
2157
2616
|
# Container for request parameters to ` GetUpgradeHistory ` operation.
|
2158
2617
|
#
|
2159
2618
|
# @note When making an API call, you may pass GetUpgradeHistoryRequest
|
@@ -2925,6 +3384,12 @@ module Aws::ElasticsearchService
|
|
2925
3384
|
# Timestamp which tells creation date of the package.
|
2926
3385
|
# @return [Time]
|
2927
3386
|
#
|
3387
|
+
# @!attribute [rw] last_updated_at
|
3388
|
+
# @return [Time]
|
3389
|
+
#
|
3390
|
+
# @!attribute [rw] available_package_version
|
3391
|
+
# @return [String]
|
3392
|
+
#
|
2928
3393
|
# @!attribute [rw] error_details
|
2929
3394
|
# Additional information if the package is in an error state. Null
|
2930
3395
|
# otherwise.
|
@@ -2937,6 +3402,8 @@ module Aws::ElasticsearchService
|
|
2937
3402
|
:package_description,
|
2938
3403
|
:package_status,
|
2939
3404
|
:created_at,
|
3405
|
+
:last_updated_at,
|
3406
|
+
:available_package_version,
|
2940
3407
|
:error_details)
|
2941
3408
|
SENSITIVE = []
|
2942
3409
|
include Aws::Structure
|
@@ -2968,6 +3435,28 @@ module Aws::ElasticsearchService
|
|
2968
3435
|
include Aws::Structure
|
2969
3436
|
end
|
2970
3437
|
|
3438
|
+
# Details of a package version.
|
3439
|
+
#
|
3440
|
+
# @!attribute [rw] package_version
|
3441
|
+
# Version of the package.
|
3442
|
+
# @return [String]
|
3443
|
+
#
|
3444
|
+
# @!attribute [rw] commit_message
|
3445
|
+
# A message associated with the version.
|
3446
|
+
# @return [String]
|
3447
|
+
#
|
3448
|
+
# @!attribute [rw] created_at
|
3449
|
+
# Timestamp which tells creation time of the package version.
|
3450
|
+
# @return [Time]
|
3451
|
+
#
|
3452
|
+
class PackageVersionHistory < Struct.new(
|
3453
|
+
:package_version,
|
3454
|
+
:commit_message,
|
3455
|
+
:created_at)
|
3456
|
+
SENSITIVE = []
|
3457
|
+
include Aws::Structure
|
3458
|
+
end
|
3459
|
+
|
2971
3460
|
# Container for parameters to
|
2972
3461
|
# `PurchaseReservedElasticsearchInstanceOffering`
|
2973
3462
|
#
|
@@ -3359,6 +3848,41 @@ module Aws::ElasticsearchService
|
|
3359
3848
|
include Aws::Structure
|
3360
3849
|
end
|
3361
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
|
+
|
3362
3886
|
# The current options of an Elasticsearch domain service software
|
3363
3887
|
# options.
|
3364
3888
|
#
|
@@ -3656,6 +4180,27 @@ module Aws::ElasticsearchService
|
|
3656
4180
|
# session_timeout_minutes: 1,
|
3657
4181
|
# },
|
3658
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
|
+
# },
|
3659
4204
|
# }
|
3660
4205
|
#
|
3661
4206
|
# @!attribute [rw] domain_name
|
@@ -3725,6 +4270,18 @@ module Aws::ElasticsearchService
|
|
3725
4270
|
# Specifies advanced security options.
|
3726
4271
|
# @return [Types::AdvancedSecurityOptionsInput]
|
3727
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
|
+
#
|
3728
4285
|
class UpdateElasticsearchDomainConfigRequest < Struct.new(
|
3729
4286
|
:domain_name,
|
3730
4287
|
:elasticsearch_cluster_config,
|
@@ -3736,7 +4293,10 @@ module Aws::ElasticsearchService
|
|
3736
4293
|
:access_policies,
|
3737
4294
|
:log_publishing_options,
|
3738
4295
|
:domain_endpoint_options,
|
3739
|
-
:advanced_security_options
|
4296
|
+
:advanced_security_options,
|
4297
|
+
:node_to_node_encryption_options,
|
4298
|
+
:encryption_at_rest_options,
|
4299
|
+
:auto_tune_options)
|
3740
4300
|
SENSITIVE = []
|
3741
4301
|
include Aws::Structure
|
3742
4302
|
end
|
@@ -3754,6 +4314,60 @@ module Aws::ElasticsearchService
|
|
3754
4314
|
include Aws::Structure
|
3755
4315
|
end
|
3756
4316
|
|
4317
|
+
# Container for request parameters to ` UpdatePackage ` operation.
|
4318
|
+
#
|
4319
|
+
# @note When making an API call, you may pass UpdatePackageRequest
|
4320
|
+
# data as a hash:
|
4321
|
+
#
|
4322
|
+
# {
|
4323
|
+
# package_id: "PackageID", # required
|
4324
|
+
# package_source: { # required
|
4325
|
+
# s3_bucket_name: "S3BucketName",
|
4326
|
+
# s3_key: "S3Key",
|
4327
|
+
# },
|
4328
|
+
# package_description: "PackageDescription",
|
4329
|
+
# commit_message: "CommitMessage",
|
4330
|
+
# }
|
4331
|
+
#
|
4332
|
+
# @!attribute [rw] package_id
|
4333
|
+
# Unique identifier for the package.
|
4334
|
+
# @return [String]
|
4335
|
+
#
|
4336
|
+
# @!attribute [rw] package_source
|
4337
|
+
# The S3 location for importing the package specified as
|
4338
|
+
# `S3BucketName` and `S3Key`
|
4339
|
+
# @return [Types::PackageSource]
|
4340
|
+
#
|
4341
|
+
# @!attribute [rw] package_description
|
4342
|
+
# New description of the package.
|
4343
|
+
# @return [String]
|
4344
|
+
#
|
4345
|
+
# @!attribute [rw] commit_message
|
4346
|
+
# An info message for the new version which will be shown as part of
|
4347
|
+
# `GetPackageVersionHistoryResponse`.
|
4348
|
+
# @return [String]
|
4349
|
+
#
|
4350
|
+
class UpdatePackageRequest < Struct.new(
|
4351
|
+
:package_id,
|
4352
|
+
:package_source,
|
4353
|
+
:package_description,
|
4354
|
+
:commit_message)
|
4355
|
+
SENSITIVE = []
|
4356
|
+
include Aws::Structure
|
4357
|
+
end
|
4358
|
+
|
4359
|
+
# Container for response returned by ` UpdatePackage ` operation.
|
4360
|
+
#
|
4361
|
+
# @!attribute [rw] package_details
|
4362
|
+
# Information about the package `PackageDetails`.
|
4363
|
+
# @return [Types::PackageDetails]
|
4364
|
+
#
|
4365
|
+
class UpdatePackageResponse < Struct.new(
|
4366
|
+
:package_details)
|
4367
|
+
SENSITIVE = []
|
4368
|
+
include Aws::Structure
|
4369
|
+
end
|
4370
|
+
|
3757
4371
|
# Container for request parameters to ` UpgradeElasticsearchDomain `
|
3758
4372
|
# operation.
|
3759
4373
|
#
|