aws-sdk-elasticsearchservice 1.44.0 → 1.49.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -36,6 +50,7 @@ module Aws::ElasticsearchService
36
50
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
37
51
  CognitoOptions = Shapes::StructureShape.new(name: 'CognitoOptions')
38
52
  CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
53
+ CommitMessage = Shapes::StringShape.new(name: 'CommitMessage')
39
54
  CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
40
55
  CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
41
56
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -59,6 +74,8 @@ module Aws::ElasticsearchService
59
74
  DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
60
75
  DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
61
76
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
77
+ DescribeDomainAutoTunesRequest = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesRequest')
78
+ DescribeDomainAutoTunesResponse = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesResponse')
62
79
  DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
63
80
  DescribeElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigResponse')
64
81
  DescribeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainRequest')
@@ -92,11 +109,14 @@ module Aws::ElasticsearchService
92
109
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
93
110
  DomainInformation = Shapes::StructureShape.new(name: 'DomainInformation')
94
111
  DomainName = Shapes::StringShape.new(name: 'DomainName')
112
+ DomainNameFqdn = Shapes::StringShape.new(name: 'DomainNameFqdn')
95
113
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
96
114
  DomainPackageDetails = Shapes::StructureShape.new(name: 'DomainPackageDetails')
97
115
  DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
98
116
  DomainPackageStatus = Shapes::StringShape.new(name: 'DomainPackageStatus')
99
117
  Double = Shapes::FloatShape.new(name: 'Double')
118
+ Duration = Shapes::StructureShape.new(name: 'Duration')
119
+ DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
100
120
  EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
101
121
  EBSOptionsStatus = Shapes::StructureShape.new(name: 'EBSOptionsStatus')
102
122
  ESPartitionInstanceType = Shapes::StringShape.new(name: 'ESPartitionInstanceType')
@@ -121,6 +141,8 @@ module Aws::ElasticsearchService
121
141
  GUID = Shapes::StringShape.new(name: 'GUID')
122
142
  GetCompatibleElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsRequest')
123
143
  GetCompatibleElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsResponse')
144
+ GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
145
+ GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
124
146
  GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
125
147
  GetUpgradeHistoryResponse = Shapes::StructureShape.new(name: 'GetUpgradeHistoryResponse')
126
148
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
@@ -187,6 +209,9 @@ module Aws::ElasticsearchService
187
209
  PackageSource = Shapes::StructureShape.new(name: 'PackageSource')
188
210
  PackageStatus = Shapes::StringShape.new(name: 'PackageStatus')
189
211
  PackageType = Shapes::StringShape.new(name: 'PackageType')
212
+ PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
213
+ PackageVersionHistory = Shapes::StructureShape.new(name: 'PackageVersionHistory')
214
+ PackageVersionHistoryList = Shapes::ListShape.new(name: 'PackageVersionHistoryList')
190
215
  Password = Shapes::StringShape.new(name: 'Password')
191
216
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
192
217
  PurchaseReservedElasticsearchInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingRequest')
@@ -207,6 +232,7 @@ module Aws::ElasticsearchService
207
232
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
208
233
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
209
234
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
235
+ RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable')
210
236
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
211
237
  S3Key = Shapes::StringShape.new(name: 'S3Key')
212
238
  SAMLEntityId = Shapes::StringShape.new(name: 'SAMLEntityId')
@@ -214,10 +240,15 @@ module Aws::ElasticsearchService
214
240
  SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
215
241
  SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
216
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')
217
247
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
218
248
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
219
249
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
220
250
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
251
+ StartAt = Shapes::TimestampShape.new(name: 'StartAt')
221
252
  StartElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateRequest')
222
253
  StartElasticsearchServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateResponse')
223
254
  StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
@@ -234,9 +265,12 @@ module Aws::ElasticsearchService
234
265
  TagKey = Shapes::StringShape.new(name: 'TagKey')
235
266
  TagList = Shapes::ListShape.new(name: 'TagList')
236
267
  TagValue = Shapes::StringShape.new(name: 'TagValue')
268
+ TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
237
269
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
238
270
  UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
239
271
  UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
272
+ UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
273
+ UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
240
274
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
241
275
  UpgradeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainRequest')
242
276
  UpgradeElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainResponse')
@@ -308,6 +342,47 @@ module Aws::ElasticsearchService
308
342
  AssociatePackageResponse.add_member(:domain_package_details, Shapes::ShapeRef.new(shape: DomainPackageDetails, location_name: "DomainPackageDetails"))
309
343
  AssociatePackageResponse.struct_class = Types::AssociatePackageResponse
310
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
+
311
386
  BaseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
312
387
  BaseException.struct_class = Types::BaseException
313
388
 
@@ -349,6 +424,7 @@ module Aws::ElasticsearchService
349
424
  CreateElasticsearchDomainRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
350
425
  CreateElasticsearchDomainRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
351
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"))
352
428
  CreateElasticsearchDomainRequest.struct_class = Types::CreateElasticsearchDomainRequest
353
429
 
354
430
  CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
@@ -399,6 +475,15 @@ module Aws::ElasticsearchService
399
475
  DeletePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
400
476
  DeletePackageResponse.struct_class = Types::DeletePackageResponse
401
477
 
478
+ DescribeDomainAutoTunesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
479
+ DescribeDomainAutoTunesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
480
+ DescribeDomainAutoTunesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
481
+ DescribeDomainAutoTunesRequest.struct_class = Types::DescribeDomainAutoTunesRequest
482
+
483
+ DescribeDomainAutoTunesResponse.add_member(:auto_tunes, Shapes::ShapeRef.new(shape: AutoTuneList, location_name: "AutoTunes"))
484
+ DescribeDomainAutoTunesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
485
+ DescribeDomainAutoTunesResponse.struct_class = Types::DescribeDomainAutoTunesResponse
486
+
402
487
  DescribeElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
403
488
  DescribeElasticsearchDomainConfigRequest.struct_class = Types::DescribeElasticsearchDomainConfigRequest
404
489
 
@@ -489,6 +574,9 @@ module Aws::ElasticsearchService
489
574
 
490
575
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
491
576
  DomainEndpointOptions.add_member(:tls_security_policy, Shapes::ShapeRef.new(shape: TLSSecurityPolicy, location_name: "TLSSecurityPolicy"))
577
+ DomainEndpointOptions.add_member(:custom_endpoint_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CustomEndpointEnabled"))
578
+ DomainEndpointOptions.add_member(:custom_endpoint, Shapes::ShapeRef.new(shape: DomainNameFqdn, location_name: "CustomEndpoint"))
579
+ DomainEndpointOptions.add_member(:custom_endpoint_certificate_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CustomEndpointCertificateArn"))
492
580
  DomainEndpointOptions.struct_class = Types::DomainEndpointOptions
493
581
 
494
582
  DomainEndpointOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "Options"))
@@ -513,12 +601,17 @@ module Aws::ElasticsearchService
513
601
  DomainPackageDetails.add_member(:last_updated, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdated"))
514
602
  DomainPackageDetails.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
515
603
  DomainPackageDetails.add_member(:domain_package_status, Shapes::ShapeRef.new(shape: DomainPackageStatus, location_name: "DomainPackageStatus"))
604
+ DomainPackageDetails.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
516
605
  DomainPackageDetails.add_member(:reference_path, Shapes::ShapeRef.new(shape: ReferencePath, location_name: "ReferencePath"))
517
606
  DomainPackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
518
607
  DomainPackageDetails.struct_class = Types::DomainPackageDetails
519
608
 
520
609
  DomainPackageDetailsList.member = Shapes::ShapeRef.new(shape: DomainPackageDetails)
521
610
 
611
+ Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValue, location_name: "Value"))
612
+ Duration.add_member(:unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "Unit"))
613
+ Duration.struct_class = Types::Duration
614
+
522
615
  EBSOptions.add_member(:ebs_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EBSEnabled"))
523
616
  EBSOptions.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
524
617
  EBSOptions.add_member(:volume_size, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "VolumeSize"))
@@ -558,6 +651,7 @@ module Aws::ElasticsearchService
558
651
  ElasticsearchDomainConfig.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptionsStatus, location_name: "LogPublishingOptions"))
559
652
  ElasticsearchDomainConfig.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
560
653
  ElasticsearchDomainConfig.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsStatus, location_name: "AdvancedSecurityOptions"))
654
+ ElasticsearchDomainConfig.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsStatus, location_name: "AutoTuneOptions"))
561
655
  ElasticsearchDomainConfig.struct_class = Types::ElasticsearchDomainConfig
562
656
 
563
657
  ElasticsearchDomainStatus.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
@@ -583,6 +677,7 @@ module Aws::ElasticsearchService
583
677
  ElasticsearchDomainStatus.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
584
678
  ElasticsearchDomainStatus.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
585
679
  ElasticsearchDomainStatus.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, location_name: "AdvancedSecurityOptions"))
680
+ ElasticsearchDomainStatus.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsOutput, location_name: "AutoTuneOptions"))
586
681
  ElasticsearchDomainStatus.struct_class = Types::ElasticsearchDomainStatus
587
682
 
588
683
  ElasticsearchDomainStatusList.member = Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus)
@@ -622,6 +717,16 @@ module Aws::ElasticsearchService
622
717
  GetCompatibleElasticsearchVersionsResponse.add_member(:compatible_elasticsearch_versions, Shapes::ShapeRef.new(shape: CompatibleElasticsearchVersionsList, location_name: "CompatibleElasticsearchVersions"))
623
718
  GetCompatibleElasticsearchVersionsResponse.struct_class = Types::GetCompatibleElasticsearchVersionsResponse
624
719
 
720
+ GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
721
+ GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
722
+ GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
723
+ GetPackageVersionHistoryRequest.struct_class = Types::GetPackageVersionHistoryRequest
724
+
725
+ GetPackageVersionHistoryResponse.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
726
+ GetPackageVersionHistoryResponse.add_member(:package_version_history_list, Shapes::ShapeRef.new(shape: PackageVersionHistoryList, location_name: "PackageVersionHistoryList"))
727
+ GetPackageVersionHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
728
+ GetPackageVersionHistoryResponse.struct_class = Types::GetPackageVersionHistoryResponse
729
+
625
730
  GetUpgradeHistoryRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
626
731
  GetUpgradeHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
627
732
  GetUpgradeHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -772,6 +877,8 @@ module Aws::ElasticsearchService
772
877
  PackageDetails.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
773
878
  PackageDetails.add_member(:package_status, Shapes::ShapeRef.new(shape: PackageStatus, location_name: "PackageStatus"))
774
879
  PackageDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
880
+ PackageDetails.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdatedAt"))
881
+ PackageDetails.add_member(:available_package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "AvailablePackageVersion"))
775
882
  PackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
776
883
  PackageDetails.struct_class = Types::PackageDetails
777
884
 
@@ -781,6 +888,13 @@ module Aws::ElasticsearchService
781
888
  PackageSource.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
782
889
  PackageSource.struct_class = Types::PackageSource
783
890
 
891
+ PackageVersionHistory.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
892
+ PackageVersionHistory.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
893
+ PackageVersionHistory.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
894
+ PackageVersionHistory.struct_class = Types::PackageVersionHistory
895
+
896
+ PackageVersionHistoryList.member = Shapes::ShapeRef.new(shape: PackageVersionHistory)
897
+
784
898
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ReservedElasticsearchInstanceOfferingId"))
785
899
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, required: true, location_name: "ReservationName"))
786
900
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "InstanceCount"))
@@ -859,6 +973,12 @@ module Aws::ElasticsearchService
859
973
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
860
974
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
861
975
 
976
+ ScheduledAutoTuneDetails.add_member(:date, Shapes::ShapeRef.new(shape: AutoTuneDate, location_name: "Date"))
977
+ ScheduledAutoTuneDetails.add_member(:action_type, Shapes::ShapeRef.new(shape: ScheduledAutoTuneActionType, location_name: "ActionType"))
978
+ ScheduledAutoTuneDetails.add_member(:action, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDescription, location_name: "Action"))
979
+ ScheduledAutoTuneDetails.add_member(:severity, Shapes::ShapeRef.new(shape: ScheduledAutoTuneSeverityType, location_name: "Severity"))
980
+ ScheduledAutoTuneDetails.struct_class = Types::ScheduledAutoTuneDetails
981
+
862
982
  ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
863
983
  ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
864
984
  ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
@@ -914,11 +1034,23 @@ module Aws::ElasticsearchService
914
1034
  UpdateElasticsearchDomainConfigRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
915
1035
  UpdateElasticsearchDomainConfigRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
916
1036
  UpdateElasticsearchDomainConfigRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
1037
+ UpdateElasticsearchDomainConfigRequest.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
1038
+ UpdateElasticsearchDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
1039
+ UpdateElasticsearchDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
917
1040
  UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
918
1041
 
919
1042
  UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
920
1043
  UpdateElasticsearchDomainConfigResponse.struct_class = Types::UpdateElasticsearchDomainConfigResponse
921
1044
 
1045
+ UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
1046
+ UpdatePackageRequest.add_member(:package_source, Shapes::ShapeRef.new(shape: PackageSource, required: true, location_name: "PackageSource"))
1047
+ UpdatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
1048
+ UpdatePackageRequest.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
1049
+ UpdatePackageRequest.struct_class = Types::UpdatePackageRequest
1050
+
1051
+ UpdatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
1052
+ UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
1053
+
922
1054
  UpgradeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
923
1055
  UpgradeElasticsearchDomainRequest.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "TargetVersion"))
924
1056
  UpgradeElasticsearchDomainRequest.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
@@ -1130,6 +1262,24 @@ module Aws::ElasticsearchService
1130
1262
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1131
1263
  end)
1132
1264
 
1265
+ api.add_operation(:describe_domain_auto_tunes, Seahorse::Model::Operation.new.tap do |o|
1266
+ o.name = "DescribeDomainAutoTunes"
1267
+ o.http_method = "GET"
1268
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/autoTunes"
1269
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainAutoTunesRequest)
1270
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainAutoTunesResponse)
1271
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1272
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1273
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1274
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1275
+ o[:pager] = Aws::Pager.new(
1276
+ limit_key: "max_results",
1277
+ tokens: {
1278
+ "next_token" => "next_token"
1279
+ }
1280
+ )
1281
+ end)
1282
+
1133
1283
  api.add_operation(:describe_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1134
1284
  o.name = "DescribeElasticsearchDomain"
1135
1285
  o.http_method = "GET"
@@ -1293,6 +1443,25 @@ module Aws::ElasticsearchService
1293
1443
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1294
1444
  end)
1295
1445
 
1446
+ api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
1447
+ o.name = "GetPackageVersionHistory"
1448
+ o.http_method = "GET"
1449
+ o.http_request_uri = "/2015-01-01/packages/{PackageID}/history"
1450
+ o.input = Shapes::ShapeRef.new(shape: GetPackageVersionHistoryRequest)
1451
+ o.output = Shapes::ShapeRef.new(shape: GetPackageVersionHistoryResponse)
1452
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1453
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1454
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1456
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1457
+ o[:pager] = Aws::Pager.new(
1458
+ limit_key: "max_results",
1459
+ tokens: {
1460
+ "next_token" => "next_token"
1461
+ }
1462
+ )
1463
+ end)
1464
+
1296
1465
  api.add_operation(:get_upgrade_history, Seahorse::Model::Operation.new.tap do |o|
1297
1466
  o.name = "GetUpgradeHistory"
1298
1467
  o.http_method = "GET"
@@ -1482,6 +1651,20 @@ module Aws::ElasticsearchService
1482
1651
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1483
1652
  end)
1484
1653
 
1654
+ api.add_operation(:update_package, Seahorse::Model::Operation.new.tap do |o|
1655
+ o.name = "UpdatePackage"
1656
+ o.http_method = "POST"
1657
+ o.http_request_uri = "/2015-01-01/packages/update"
1658
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageRequest)
1659
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageResponse)
1660
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1661
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1662
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1663
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1666
+ end)
1667
+
1485
1668
  api.add_operation(:upgrade_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1486
1669
  o.name = "UpgradeElasticsearchDomain"
1487
1670
  o.http_method = "POST"
@@ -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
@@ -492,6 +751,9 @@ module Aws::ElasticsearchService
492
751
  # domain_endpoint_options: {
493
752
  # enforce_https: false,
494
753
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
754
+ # custom_endpoint_enabled: false,
755
+ # custom_endpoint: "DomainNameFqdn",
756
+ # custom_endpoint_certificate_arn: "ARN",
495
757
  # },
496
758
  # advanced_security_options: {
497
759
  # enabled: false,
@@ -514,6 +776,19 @@ module Aws::ElasticsearchService
514
776
  # session_timeout_minutes: 1,
515
777
  # },
516
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
+ # },
517
792
  # }
518
793
  #
519
794
  # @!attribute [rw] domain_name
@@ -607,6 +882,10 @@ module Aws::ElasticsearchService
607
882
  # Specifies advanced security options.
608
883
  # @return [Types::AdvancedSecurityOptionsInput]
609
884
  #
885
+ # @!attribute [rw] auto_tune_options
886
+ # Specifies Auto-Tune options.
887
+ # @return [Types::AutoTuneOptionsInput]
888
+ #
610
889
  class CreateElasticsearchDomainRequest < Struct.new(
611
890
  :domain_name,
612
891
  :elasticsearch_version,
@@ -621,7 +900,8 @@ module Aws::ElasticsearchService
621
900
  :advanced_options,
622
901
  :log_publishing_options,
623
902
  :domain_endpoint_options,
624
- :advanced_security_options)
903
+ :advanced_security_options,
904
+ :auto_tune_options)
625
905
  SENSITIVE = []
626
906
  include Aws::Structure
627
907
  end
@@ -911,6 +1191,68 @@ module Aws::ElasticsearchService
911
1191
  include Aws::Structure
912
1192
  end
913
1193
 
1194
+ # Container for the parameters to the `DescribeDomainAutoTunes`
1195
+ # operation.
1196
+ #
1197
+ # @note When making an API call, you may pass DescribeDomainAutoTunesRequest
1198
+ # data as a hash:
1199
+ #
1200
+ # {
1201
+ # domain_name: "DomainName", # required
1202
+ # max_results: 1,
1203
+ # next_token: "NextToken",
1204
+ # }
1205
+ #
1206
+ # @!attribute [rw] domain_name
1207
+ # Specifies the domain name for which you want Auto-Tune action
1208
+ # details.
1209
+ # @return [String]
1210
+ #
1211
+ # @!attribute [rw] max_results
1212
+ # Set this value to limit the number of results returned. If not
1213
+ # specified, defaults to 100.
1214
+ # @return [Integer]
1215
+ #
1216
+ # @!attribute [rw] next_token
1217
+ # NextToken is sent in case the earlier API call results contain the
1218
+ # NextToken. It is used for pagination.
1219
+ # @return [String]
1220
+ #
1221
+ class DescribeDomainAutoTunesRequest < Struct.new(
1222
+ :domain_name,
1223
+ :max_results,
1224
+ :next_token)
1225
+ SENSITIVE = []
1226
+ include Aws::Structure
1227
+ end
1228
+
1229
+ # The result of `DescribeDomainAutoTunes` request. See the [Developer
1230
+ # Guide][1] for more information.
1231
+ #
1232
+ #
1233
+ #
1234
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1235
+ #
1236
+ # @!attribute [rw] auto_tunes
1237
+ # Specifies the list of setting adjustments that Auto-Tune has made to
1238
+ # the domain. See the [Developer Guide][1] for more information.
1239
+ #
1240
+ #
1241
+ #
1242
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1243
+ # @return [Array<Types::AutoTune>]
1244
+ #
1245
+ # @!attribute [rw] next_token
1246
+ # Specifies an identifier to allow retrieval of paginated results.
1247
+ # @return [String]
1248
+ #
1249
+ class DescribeDomainAutoTunesResponse < Struct.new(
1250
+ :auto_tunes,
1251
+ :next_token)
1252
+ SENSITIVE = []
1253
+ include Aws::Structure
1254
+ end
1255
+
914
1256
  # Container for the parameters to the
915
1257
  # `DescribeElasticsearchDomainConfig` operation. Specifies the domain
916
1258
  # name for which you want configuration information.
@@ -1437,6 +1779,9 @@ module Aws::ElasticsearchService
1437
1779
  # {
1438
1780
  # enforce_https: false,
1439
1781
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
1782
+ # custom_endpoint_enabled: false,
1783
+ # custom_endpoint: "DomainNameFqdn",
1784
+ # custom_endpoint_certificate_arn: "ARN",
1440
1785
  # }
1441
1786
  #
1442
1787
  # @!attribute [rw] enforce_https
@@ -1454,9 +1799,25 @@ module Aws::ElasticsearchService
1454
1799
  # supports only TLSv1.2
1455
1800
  # @return [String]
1456
1801
  #
1802
+ # @!attribute [rw] custom_endpoint_enabled
1803
+ # Specify if custom endpoint should be enabled for the Elasticsearch
1804
+ # domain.
1805
+ # @return [Boolean]
1806
+ #
1807
+ # @!attribute [rw] custom_endpoint
1808
+ # Specify the fully qualified domain for your custom endpoint.
1809
+ # @return [String]
1810
+ #
1811
+ # @!attribute [rw] custom_endpoint_certificate_arn
1812
+ # Specify ACM certificate ARN for your custom endpoint.
1813
+ # @return [String]
1814
+ #
1457
1815
  class DomainEndpointOptions < Struct.new(
1458
1816
  :enforce_https,
1459
- :tls_security_policy)
1817
+ :tls_security_policy,
1818
+ :custom_endpoint_enabled,
1819
+ :custom_endpoint,
1820
+ :custom_endpoint_certificate_arn)
1460
1821
  SENSITIVE = []
1461
1822
  include Aws::Structure
1462
1823
  end
@@ -1547,6 +1908,9 @@ module Aws::ElasticsearchService
1547
1908
  # ASSOCIATING/ASSOCIATION\_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION\_FAILED.
1548
1909
  # @return [String]
1549
1910
  #
1911
+ # @!attribute [rw] package_version
1912
+ # @return [String]
1913
+ #
1550
1914
  # @!attribute [rw] reference_path
1551
1915
  # The relative path on Amazon ES nodes, which can be used as
1552
1916
  # synonym\_path when the package is synonym file.
@@ -1564,12 +1928,53 @@ module Aws::ElasticsearchService
1564
1928
  :last_updated,
1565
1929
  :domain_name,
1566
1930
  :domain_package_status,
1931
+ :package_version,
1567
1932
  :reference_path,
1568
1933
  :error_details)
1569
1934
  SENSITIVE = []
1570
1935
  include Aws::Structure
1571
1936
  end
1572
1937
 
1938
+ # Specifies maintenance schedule duration: duration value and duration
1939
+ # unit. See the [Developer Guide][1] for more information.
1940
+ #
1941
+ #
1942
+ #
1943
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1944
+ #
1945
+ # @note When making an API call, you may pass Duration
1946
+ # data as a hash:
1947
+ #
1948
+ # {
1949
+ # value: 1,
1950
+ # unit: "HOURS", # accepts HOURS
1951
+ # }
1952
+ #
1953
+ # @!attribute [rw] value
1954
+ # Integer to specify the value of a maintenance schedule duration. See
1955
+ # the [Developer Guide][1] for more information.
1956
+ #
1957
+ #
1958
+ #
1959
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1960
+ # @return [Integer]
1961
+ #
1962
+ # @!attribute [rw] unit
1963
+ # Specifies the unit of a maintenance schedule duration. Valid value
1964
+ # is HOURS. See the [Developer Guide][1] for more information.
1965
+ #
1966
+ #
1967
+ #
1968
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
1969
+ # @return [String]
1970
+ #
1971
+ class Duration < Struct.new(
1972
+ :value,
1973
+ :unit)
1974
+ SENSITIVE = []
1975
+ include Aws::Structure
1976
+ end
1977
+
1573
1978
  # Options to enable, disable, and specify the properties of EBS storage
1574
1979
  # volumes. For more information, see [ Configuring EBS-based
1575
1980
  # Storage][1].
@@ -1813,6 +2218,10 @@ module Aws::ElasticsearchService
1813
2218
  # Specifies `AdvancedSecurityOptions` for the domain.
1814
2219
  # @return [Types::AdvancedSecurityOptionsStatus]
1815
2220
  #
2221
+ # @!attribute [rw] auto_tune_options
2222
+ # Specifies `AutoTuneOptions` for the domain.
2223
+ # @return [Types::AutoTuneOptionsStatus]
2224
+ #
1816
2225
  class ElasticsearchDomainConfig < Struct.new(
1817
2226
  :elasticsearch_version,
1818
2227
  :elasticsearch_cluster_config,
@@ -1826,7 +2235,8 @@ module Aws::ElasticsearchService
1826
2235
  :advanced_options,
1827
2236
  :log_publishing_options,
1828
2237
  :domain_endpoint_options,
1829
- :advanced_security_options)
2238
+ :advanced_security_options,
2239
+ :auto_tune_options)
1830
2240
  SENSITIVE = []
1831
2241
  include Aws::Structure
1832
2242
  end
@@ -1961,6 +2371,10 @@ module Aws::ElasticsearchService
1961
2371
  # options.
1962
2372
  # @return [Types::AdvancedSecurityOptions]
1963
2373
  #
2374
+ # @!attribute [rw] auto_tune_options
2375
+ # The current status of the Elasticsearch domain's Auto-Tune options.
2376
+ # @return [Types::AutoTuneOptionsOutput]
2377
+ #
1964
2378
  class ElasticsearchDomainStatus < Struct.new(
1965
2379
  :domain_id,
1966
2380
  :domain_name,
@@ -1984,7 +2398,8 @@ module Aws::ElasticsearchService
1984
2398
  :log_publishing_options,
1985
2399
  :service_software_options,
1986
2400
  :domain_endpoint_options,
1987
- :advanced_security_options)
2401
+ :advanced_security_options,
2402
+ :auto_tune_options)
1988
2403
  SENSITIVE = []
1989
2404
  include Aws::Structure
1990
2405
  end
@@ -2132,6 +2547,61 @@ module Aws::ElasticsearchService
2132
2547
  include Aws::Structure
2133
2548
  end
2134
2549
 
2550
+ # Container for request parameters to ` GetPackageVersionHistory `
2551
+ # operation.
2552
+ #
2553
+ # @note When making an API call, you may pass GetPackageVersionHistoryRequest
2554
+ # data as a hash:
2555
+ #
2556
+ # {
2557
+ # package_id: "PackageID", # required
2558
+ # max_results: 1,
2559
+ # next_token: "NextToken",
2560
+ # }
2561
+ #
2562
+ # @!attribute [rw] package_id
2563
+ # Returns an audit history of versions of the package.
2564
+ # @return [String]
2565
+ #
2566
+ # @!attribute [rw] max_results
2567
+ # Limits results to a maximum number of versions.
2568
+ # @return [Integer]
2569
+ #
2570
+ # @!attribute [rw] next_token
2571
+ # Used for pagination. Only necessary if a previous API call includes
2572
+ # a non-null NextToken value. If provided, returns results for the
2573
+ # next page.
2574
+ # @return [String]
2575
+ #
2576
+ class GetPackageVersionHistoryRequest < Struct.new(
2577
+ :package_id,
2578
+ :max_results,
2579
+ :next_token)
2580
+ SENSITIVE = []
2581
+ include Aws::Structure
2582
+ end
2583
+
2584
+ # Container for response returned by ` GetPackageVersionHistory `
2585
+ # operation.
2586
+ #
2587
+ # @!attribute [rw] package_id
2588
+ # @return [String]
2589
+ #
2590
+ # @!attribute [rw] package_version_history_list
2591
+ # List of `PackageVersionHistory` objects.
2592
+ # @return [Array<Types::PackageVersionHistory>]
2593
+ #
2594
+ # @!attribute [rw] next_token
2595
+ # @return [String]
2596
+ #
2597
+ class GetPackageVersionHistoryResponse < Struct.new(
2598
+ :package_id,
2599
+ :package_version_history_list,
2600
+ :next_token)
2601
+ SENSITIVE = []
2602
+ include Aws::Structure
2603
+ end
2604
+
2135
2605
  # Container for request parameters to ` GetUpgradeHistory ` operation.
2136
2606
  #
2137
2607
  # @note When making an API call, you may pass GetUpgradeHistoryRequest
@@ -2903,6 +3373,12 @@ module Aws::ElasticsearchService
2903
3373
  # Timestamp which tells creation date of the package.
2904
3374
  # @return [Time]
2905
3375
  #
3376
+ # @!attribute [rw] last_updated_at
3377
+ # @return [Time]
3378
+ #
3379
+ # @!attribute [rw] available_package_version
3380
+ # @return [String]
3381
+ #
2906
3382
  # @!attribute [rw] error_details
2907
3383
  # Additional information if the package is in an error state. Null
2908
3384
  # otherwise.
@@ -2915,6 +3391,8 @@ module Aws::ElasticsearchService
2915
3391
  :package_description,
2916
3392
  :package_status,
2917
3393
  :created_at,
3394
+ :last_updated_at,
3395
+ :available_package_version,
2918
3396
  :error_details)
2919
3397
  SENSITIVE = []
2920
3398
  include Aws::Structure
@@ -2946,6 +3424,28 @@ module Aws::ElasticsearchService
2946
3424
  include Aws::Structure
2947
3425
  end
2948
3426
 
3427
+ # Details of a package version.
3428
+ #
3429
+ # @!attribute [rw] package_version
3430
+ # Version of the package.
3431
+ # @return [String]
3432
+ #
3433
+ # @!attribute [rw] commit_message
3434
+ # A message associated with the version.
3435
+ # @return [String]
3436
+ #
3437
+ # @!attribute [rw] created_at
3438
+ # Timestamp which tells creation time of the package version.
3439
+ # @return [Time]
3440
+ #
3441
+ class PackageVersionHistory < Struct.new(
3442
+ :package_version,
3443
+ :commit_message,
3444
+ :created_at)
3445
+ SENSITIVE = []
3446
+ include Aws::Structure
3447
+ end
3448
+
2949
3449
  # Container for parameters to
2950
3450
  # `PurchaseReservedElasticsearchInstanceOffering`
2951
3451
  #
@@ -3337,6 +3837,41 @@ module Aws::ElasticsearchService
3337
3837
  include Aws::Structure
3338
3838
  end
3339
3839
 
3840
+ # Specifies details of the scheduled Auto-Tune action. See the
3841
+ # [Developer Guide][1] for more information.
3842
+ #
3843
+ #
3844
+ #
3845
+ # [1]: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html
3846
+ #
3847
+ # @!attribute [rw] date
3848
+ # Specifies timestamp for the Auto-Tune action scheduled for the
3849
+ # domain.
3850
+ # @return [Time]
3851
+ #
3852
+ # @!attribute [rw] action_type
3853
+ # Specifies Auto-Tune action type. Valid values are
3854
+ # JVM\_HEAP\_SIZE\_TUNING and JVM\_YOUNG\_GEN\_TUNING.
3855
+ # @return [String]
3856
+ #
3857
+ # @!attribute [rw] action
3858
+ # Specifies Auto-Tune action description.
3859
+ # @return [String]
3860
+ #
3861
+ # @!attribute [rw] severity
3862
+ # Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM
3863
+ # and HIGH.
3864
+ # @return [String]
3865
+ #
3866
+ class ScheduledAutoTuneDetails < Struct.new(
3867
+ :date,
3868
+ :action_type,
3869
+ :action,
3870
+ :severity)
3871
+ SENSITIVE = []
3872
+ include Aws::Structure
3873
+ end
3874
+
3340
3875
  # The current options of an Elasticsearch domain service software
3341
3876
  # options.
3342
3877
  #
@@ -3609,6 +4144,9 @@ module Aws::ElasticsearchService
3609
4144
  # domain_endpoint_options: {
3610
4145
  # enforce_https: false,
3611
4146
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
4147
+ # custom_endpoint_enabled: false,
4148
+ # custom_endpoint: "DomainNameFqdn",
4149
+ # custom_endpoint_certificate_arn: "ARN",
3612
4150
  # },
3613
4151
  # advanced_security_options: {
3614
4152
  # enabled: false,
@@ -3631,6 +4169,27 @@ module Aws::ElasticsearchService
3631
4169
  # session_timeout_minutes: 1,
3632
4170
  # },
3633
4171
  # },
4172
+ # node_to_node_encryption_options: {
4173
+ # enabled: false,
4174
+ # },
4175
+ # encryption_at_rest_options: {
4176
+ # enabled: false,
4177
+ # kms_key_id: "KmsKeyId",
4178
+ # },
4179
+ # auto_tune_options: {
4180
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
4181
+ # rollback_on_disable: "NO_ROLLBACK", # accepts NO_ROLLBACK, DEFAULT_ROLLBACK
4182
+ # maintenance_schedules: [
4183
+ # {
4184
+ # start_at: Time.now,
4185
+ # duration: {
4186
+ # value: 1,
4187
+ # unit: "HOURS", # accepts HOURS
4188
+ # },
4189
+ # cron_expression_for_recurrence: "String",
4190
+ # },
4191
+ # ],
4192
+ # },
3634
4193
  # }
3635
4194
  #
3636
4195
  # @!attribute [rw] domain_name
@@ -3700,6 +4259,18 @@ module Aws::ElasticsearchService
3700
4259
  # Specifies advanced security options.
3701
4260
  # @return [Types::AdvancedSecurityOptionsInput]
3702
4261
  #
4262
+ # @!attribute [rw] node_to_node_encryption_options
4263
+ # Specifies the NodeToNodeEncryptionOptions.
4264
+ # @return [Types::NodeToNodeEncryptionOptions]
4265
+ #
4266
+ # @!attribute [rw] encryption_at_rest_options
4267
+ # Specifies the Encryption At Rest Options.
4268
+ # @return [Types::EncryptionAtRestOptions]
4269
+ #
4270
+ # @!attribute [rw] auto_tune_options
4271
+ # Specifies Auto-Tune options.
4272
+ # @return [Types::AutoTuneOptions]
4273
+ #
3703
4274
  class UpdateElasticsearchDomainConfigRequest < Struct.new(
3704
4275
  :domain_name,
3705
4276
  :elasticsearch_cluster_config,
@@ -3711,7 +4282,10 @@ module Aws::ElasticsearchService
3711
4282
  :access_policies,
3712
4283
  :log_publishing_options,
3713
4284
  :domain_endpoint_options,
3714
- :advanced_security_options)
4285
+ :advanced_security_options,
4286
+ :node_to_node_encryption_options,
4287
+ :encryption_at_rest_options,
4288
+ :auto_tune_options)
3715
4289
  SENSITIVE = []
3716
4290
  include Aws::Structure
3717
4291
  end
@@ -3729,6 +4303,60 @@ module Aws::ElasticsearchService
3729
4303
  include Aws::Structure
3730
4304
  end
3731
4305
 
4306
+ # Container for request parameters to ` UpdatePackage ` operation.
4307
+ #
4308
+ # @note When making an API call, you may pass UpdatePackageRequest
4309
+ # data as a hash:
4310
+ #
4311
+ # {
4312
+ # package_id: "PackageID", # required
4313
+ # package_source: { # required
4314
+ # s3_bucket_name: "S3BucketName",
4315
+ # s3_key: "S3Key",
4316
+ # },
4317
+ # package_description: "PackageDescription",
4318
+ # commit_message: "CommitMessage",
4319
+ # }
4320
+ #
4321
+ # @!attribute [rw] package_id
4322
+ # Unique identifier for the package.
4323
+ # @return [String]
4324
+ #
4325
+ # @!attribute [rw] package_source
4326
+ # The S3 location for importing the package specified as
4327
+ # `S3BucketName` and `S3Key`
4328
+ # @return [Types::PackageSource]
4329
+ #
4330
+ # @!attribute [rw] package_description
4331
+ # New description of the package.
4332
+ # @return [String]
4333
+ #
4334
+ # @!attribute [rw] commit_message
4335
+ # An info message for the new version which will be shown as part of
4336
+ # `GetPackageVersionHistoryResponse`.
4337
+ # @return [String]
4338
+ #
4339
+ class UpdatePackageRequest < Struct.new(
4340
+ :package_id,
4341
+ :package_source,
4342
+ :package_description,
4343
+ :commit_message)
4344
+ SENSITIVE = []
4345
+ include Aws::Structure
4346
+ end
4347
+
4348
+ # Container for response returned by ` UpdatePackage ` operation.
4349
+ #
4350
+ # @!attribute [rw] package_details
4351
+ # Information about the package `PackageDetails`.
4352
+ # @return [Types::PackageDetails]
4353
+ #
4354
+ class UpdatePackageResponse < Struct.new(
4355
+ :package_details)
4356
+ SENSITIVE = []
4357
+ include Aws::Structure
4358
+ end
4359
+
3732
4360
  # Container for request parameters to ` UpgradeElasticsearchDomain `
3733
4361
  # operation.
3734
4362
  #