aws-sdk-elasticsearchservice 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d3a70a7cd1a5f35fd0a016f25a987a0c8c26c4b
4
- data.tar.gz: 45d7055769d6fee85f5d899f986164ea463e8848
3
+ metadata.gz: cb5baddf564dde7b2c71aba6dcc8af667ceb4056
4
+ data.tar.gz: a1589f3891632d7206a2cb21bcfa9ac80da31d91
5
5
  SHA512:
6
- metadata.gz: 8e4a28802019f3cc2108c5ae7ef238ea6548545bbc66d90ab18bed18780f9bc4fd7d18b1309fbb58ed203acf9ca5474fd6b75ae5af57e29c970fa0ec42dad28c
7
- data.tar.gz: ee7f0f00a0ce85b586f7c87b099d73ce4d17f7c3a7e62165d8395e5860a023a9584b5063a9ebda38f64cfa499819d2acd874e214e010ccb45a8a4a9fd6778449
6
+ metadata.gz: ff1f87920243f41c17e03075a18ec3a8e6c52965dfb73e338cf135526a7e6cd5b0d241f33cce398888217bbe92ccfb7413050c51bc826552bc5fcb112476deaf
7
+ data.tar.gz: 560e4f12a545f927e45b15a10b77593ed314d6a68b29e2c735b760e16902a4aaa6657a81eca660f48c33198d65aec1bddd6d8422e93d6953de80e347730d17c2
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
42
42
  # @service
43
43
  module Aws::ElasticsearchService
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  end
@@ -212,6 +212,41 @@ module Aws::ElasticsearchService
212
212
  req.send_request(options)
213
213
  end
214
214
 
215
+ # Cancels a scheduled service software update for an Amazon ES domain.
216
+ # You can only perform this operation before the `AutomatedUpdateDate`
217
+ # and when the `UpdateStatus` is in the `PENDING_UPDATE` state.
218
+ #
219
+ # @option params [required, String] :domain_name
220
+ # The name of the domain that you want to stop the latest service
221
+ # software update on.
222
+ #
223
+ # @return [Types::CancelElasticsearchServiceSoftwareUpdateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
224
+ #
225
+ # * {Types::CancelElasticsearchServiceSoftwareUpdateResponse#service_software_options #service_software_options} => Types::ServiceSoftwareOptions
226
+ #
227
+ # @example Request syntax with placeholder values
228
+ #
229
+ # resp = client.cancel_elasticsearch_service_software_update({
230
+ # domain_name: "DomainName", # required
231
+ # })
232
+ #
233
+ # @example Response structure
234
+ #
235
+ # resp.service_software_options.current_version #=> String
236
+ # resp.service_software_options.new_version #=> String
237
+ # resp.service_software_options.update_available #=> Boolean
238
+ # resp.service_software_options.cancellable #=> Boolean
239
+ # resp.service_software_options.update_status #=> String, one of "PENDING_UPDATE", "IN_PROGRESS", "COMPLETED", "NOT_ELIGIBLE", "ELIGIBLE"
240
+ # resp.service_software_options.description #=> String
241
+ # resp.service_software_options.automated_update_date #=> Time
242
+ #
243
+ # @overload cancel_elasticsearch_service_software_update(params = {})
244
+ # @param [Hash] params ({})
245
+ def cancel_elasticsearch_service_software_update(params = {}, options = {})
246
+ req = build_request(:cancel_elasticsearch_service_software_update, params)
247
+ req.send_request(options)
248
+ end
249
+
215
250
  # Creates a new Elasticsearch domain. For more information, see
216
251
  # [Creating Elasticsearch Domains][1] in the *Amazon Elasticsearch
217
252
  # Service Developer Guide*.
@@ -389,6 +424,13 @@ module Aws::ElasticsearchService
389
424
  # resp.domain_status.log_publishing_options #=> Hash
390
425
  # resp.domain_status.log_publishing_options["LogType"].cloud_watch_logs_log_group_arn #=> String
391
426
  # resp.domain_status.log_publishing_options["LogType"].enabled #=> Boolean
427
+ # resp.domain_status.service_software_options.current_version #=> String
428
+ # resp.domain_status.service_software_options.new_version #=> String
429
+ # resp.domain_status.service_software_options.update_available #=> Boolean
430
+ # resp.domain_status.service_software_options.cancellable #=> Boolean
431
+ # resp.domain_status.service_software_options.update_status #=> String, one of "PENDING_UPDATE", "IN_PROGRESS", "COMPLETED", "NOT_ELIGIBLE", "ELIGIBLE"
432
+ # resp.domain_status.service_software_options.description #=> String
433
+ # resp.domain_status.service_software_options.automated_update_date #=> Time
392
434
  #
393
435
  # @overload create_elasticsearch_domain(params = {})
394
436
  # @param [Hash] params ({})
@@ -458,6 +500,13 @@ module Aws::ElasticsearchService
458
500
  # resp.domain_status.log_publishing_options #=> Hash
459
501
  # resp.domain_status.log_publishing_options["LogType"].cloud_watch_logs_log_group_arn #=> String
460
502
  # resp.domain_status.log_publishing_options["LogType"].enabled #=> Boolean
503
+ # resp.domain_status.service_software_options.current_version #=> String
504
+ # resp.domain_status.service_software_options.new_version #=> String
505
+ # resp.domain_status.service_software_options.update_available #=> Boolean
506
+ # resp.domain_status.service_software_options.cancellable #=> Boolean
507
+ # resp.domain_status.service_software_options.update_status #=> String, one of "PENDING_UPDATE", "IN_PROGRESS", "COMPLETED", "NOT_ELIGIBLE", "ELIGIBLE"
508
+ # resp.domain_status.service_software_options.description #=> String
509
+ # resp.domain_status.service_software_options.automated_update_date #=> Time
461
510
  #
462
511
  # @overload delete_elasticsearch_domain(params = {})
463
512
  # @param [Hash] params ({})
@@ -547,6 +596,13 @@ module Aws::ElasticsearchService
547
596
  # resp.domain_status.log_publishing_options #=> Hash
548
597
  # resp.domain_status.log_publishing_options["LogType"].cloud_watch_logs_log_group_arn #=> String
549
598
  # resp.domain_status.log_publishing_options["LogType"].enabled #=> Boolean
599
+ # resp.domain_status.service_software_options.current_version #=> String
600
+ # resp.domain_status.service_software_options.new_version #=> String
601
+ # resp.domain_status.service_software_options.update_available #=> Boolean
602
+ # resp.domain_status.service_software_options.cancellable #=> Boolean
603
+ # resp.domain_status.service_software_options.update_status #=> String, one of "PENDING_UPDATE", "IN_PROGRESS", "COMPLETED", "NOT_ELIGIBLE", "ELIGIBLE"
604
+ # resp.domain_status.service_software_options.description #=> String
605
+ # resp.domain_status.service_software_options.automated_update_date #=> Time
550
606
  #
551
607
  # @overload describe_elasticsearch_domain(params = {})
552
608
  # @param [Hash] params ({})
@@ -731,6 +787,13 @@ module Aws::ElasticsearchService
731
787
  # resp.domain_status_list[0].log_publishing_options #=> Hash
732
788
  # resp.domain_status_list[0].log_publishing_options["LogType"].cloud_watch_logs_log_group_arn #=> String
733
789
  # resp.domain_status_list[0].log_publishing_options["LogType"].enabled #=> Boolean
790
+ # resp.domain_status_list[0].service_software_options.current_version #=> String
791
+ # resp.domain_status_list[0].service_software_options.new_version #=> String
792
+ # resp.domain_status_list[0].service_software_options.update_available #=> Boolean
793
+ # resp.domain_status_list[0].service_software_options.cancellable #=> Boolean
794
+ # resp.domain_status_list[0].service_software_options.update_status #=> String, one of "PENDING_UPDATE", "IN_PROGRESS", "COMPLETED", "NOT_ELIGIBLE", "ELIGIBLE"
795
+ # resp.domain_status_list[0].service_software_options.description #=> String
796
+ # resp.domain_status_list[0].service_software_options.automated_update_date #=> Time
734
797
  #
735
798
  # @overload describe_elasticsearch_domains(params = {})
736
799
  # @param [Hash] params ({})
@@ -1210,6 +1273,39 @@ module Aws::ElasticsearchService
1210
1273
  req.send_request(options)
1211
1274
  end
1212
1275
 
1276
+ # Schedules a service software update for an Amazon ES domain.
1277
+ #
1278
+ # @option params [required, String] :domain_name
1279
+ # The name of the domain that you want to update to the latest service
1280
+ # software.
1281
+ #
1282
+ # @return [Types::StartElasticsearchServiceSoftwareUpdateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1283
+ #
1284
+ # * {Types::StartElasticsearchServiceSoftwareUpdateResponse#service_software_options #service_software_options} => Types::ServiceSoftwareOptions
1285
+ #
1286
+ # @example Request syntax with placeholder values
1287
+ #
1288
+ # resp = client.start_elasticsearch_service_software_update({
1289
+ # domain_name: "DomainName", # required
1290
+ # })
1291
+ #
1292
+ # @example Response structure
1293
+ #
1294
+ # resp.service_software_options.current_version #=> String
1295
+ # resp.service_software_options.new_version #=> String
1296
+ # resp.service_software_options.update_available #=> Boolean
1297
+ # resp.service_software_options.cancellable #=> Boolean
1298
+ # resp.service_software_options.update_status #=> String, one of "PENDING_UPDATE", "IN_PROGRESS", "COMPLETED", "NOT_ELIGIBLE", "ELIGIBLE"
1299
+ # resp.service_software_options.description #=> String
1300
+ # resp.service_software_options.automated_update_date #=> Time
1301
+ #
1302
+ # @overload start_elasticsearch_service_software_update(params = {})
1303
+ # @param [Hash] params ({})
1304
+ def start_elasticsearch_service_software_update(params = {}, options = {})
1305
+ req = build_request(:start_elasticsearch_service_software_update, params)
1306
+ req.send_request(options)
1307
+ end
1308
+
1213
1309
  # Modifies the cluster configuration of the specified Elasticsearch
1214
1310
  # domain, setting as setting the instance type and the number of
1215
1311
  # instances.
@@ -1464,7 +1560,7 @@ module Aws::ElasticsearchService
1464
1560
  params: params,
1465
1561
  config: config)
1466
1562
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
1467
- context[:gem_version] = '1.11.0'
1563
+ context[:gem_version] = '1.12.0'
1468
1564
  Seahorse::Client::Request.new(handlers, context)
1469
1565
  end
1470
1566
 
@@ -20,6 +20,8 @@ module Aws::ElasticsearchService
20
20
  AdvancedOptionsStatus = Shapes::StructureShape.new(name: 'AdvancedOptionsStatus')
21
21
  BaseException = Shapes::StructureShape.new(name: 'BaseException')
22
22
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
+ CancelElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'CancelElasticsearchServiceSoftwareUpdateRequest')
24
+ CancelElasticsearchServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'CancelElasticsearchServiceSoftwareUpdateResponse')
23
25
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
24
26
  CognitoOptions = Shapes::StructureShape.new(name: 'CognitoOptions')
25
27
  CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
@@ -29,6 +31,8 @@ module Aws::ElasticsearchService
29
31
  CreateElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainResponse')
30
32
  DeleteElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainRequest')
31
33
  DeleteElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainResponse')
34
+ DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
35
+ DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
32
36
  DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
33
37
  DescribeElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigResponse')
34
38
  DescribeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainRequest')
@@ -123,9 +127,12 @@ module Aws::ElasticsearchService
123
127
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
124
128
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
125
129
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
130
+ ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
126
131
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
127
132
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
128
133
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
134
+ StartElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateRequest')
135
+ StartElasticsearchServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartElasticsearchServiceSoftwareUpdateResponse')
129
136
  StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
130
137
  StorageSubTypeName = Shapes::StringShape.new(name: 'StorageSubTypeName')
131
138
  StorageType = Shapes::StructureShape.new(name: 'StorageType')
@@ -180,6 +187,12 @@ module Aws::ElasticsearchService
180
187
  AdvancedOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
181
188
  AdvancedOptionsStatus.struct_class = Types::AdvancedOptionsStatus
182
189
 
190
+ CancelElasticsearchServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
191
+ CancelElasticsearchServiceSoftwareUpdateRequest.struct_class = Types::CancelElasticsearchServiceSoftwareUpdateRequest
192
+
193
+ CancelElasticsearchServiceSoftwareUpdateResponse.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
194
+ CancelElasticsearchServiceSoftwareUpdateResponse.struct_class = Types::CancelElasticsearchServiceSoftwareUpdateResponse
195
+
183
196
  CognitoOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
184
197
  CognitoOptions.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolId, location_name: "UserPoolId"))
185
198
  CognitoOptions.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
@@ -325,6 +338,7 @@ module Aws::ElasticsearchService
325
338
  ElasticsearchDomainStatus.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
326
339
  ElasticsearchDomainStatus.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
327
340
  ElasticsearchDomainStatus.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
341
+ ElasticsearchDomainStatus.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
328
342
  ElasticsearchDomainStatus.struct_class = Types::ElasticsearchDomainStatus
329
343
 
330
344
  ElasticsearchDomainStatusList.member = Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus)
@@ -490,6 +504,15 @@ module Aws::ElasticsearchService
490
504
 
491
505
  ReservedElasticsearchInstanceOfferingList.member = Shapes::ShapeRef.new(shape: ReservedElasticsearchInstanceOffering)
492
506
 
507
+ ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
508
+ ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
509
+ ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
510
+ ServiceSoftwareOptions.add_member(:cancellable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Cancellable"))
511
+ ServiceSoftwareOptions.add_member(:update_status, Shapes::ShapeRef.new(shape: DeploymentStatus, location_name: "UpdateStatus"))
512
+ ServiceSoftwareOptions.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
513
+ ServiceSoftwareOptions.add_member(:automated_update_date, Shapes::ShapeRef.new(shape: DeploymentCloseDateTimeStamp, location_name: "AutomatedUpdateDate"))
514
+ ServiceSoftwareOptions.struct_class = Types::ServiceSoftwareOptions
515
+
493
516
  SnapshotOptions.add_member(:automated_snapshot_start_hour, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AutomatedSnapshotStartHour"))
494
517
  SnapshotOptions.struct_class = Types::SnapshotOptions
495
518
 
@@ -497,6 +520,12 @@ module Aws::ElasticsearchService
497
520
  SnapshotOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
498
521
  SnapshotOptionsStatus.struct_class = Types::SnapshotOptionsStatus
499
522
 
523
+ StartElasticsearchServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
524
+ StartElasticsearchServiceSoftwareUpdateRequest.struct_class = Types::StartElasticsearchServiceSoftwareUpdateRequest
525
+
526
+ StartElasticsearchServiceSoftwareUpdateResponse.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
527
+ StartElasticsearchServiceSoftwareUpdateResponse.struct_class = Types::StartElasticsearchServiceSoftwareUpdateResponse
528
+
500
529
  StorageType.add_member(:storage_type_name, Shapes::ShapeRef.new(shape: StorageTypeName, location_name: "StorageTypeName"))
501
530
  StorageType.add_member(:storage_sub_type_name, Shapes::ShapeRef.new(shape: StorageSubTypeName, location_name: "StorageSubTypeName"))
502
531
  StorageType.add_member(:storage_type_limits, Shapes::ShapeRef.new(shape: StorageTypeLimitList, location_name: "StorageTypeLimits"))
@@ -600,6 +629,18 @@ module Aws::ElasticsearchService
600
629
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
601
630
  end)
602
631
 
632
+ api.add_operation(:cancel_elasticsearch_service_software_update, Seahorse::Model::Operation.new.tap do |o|
633
+ o.name = "CancelElasticsearchServiceSoftwareUpdate"
634
+ o.http_method = "POST"
635
+ o.http_request_uri = "/2015-01-01/es/serviceSoftwareUpdate/cancel"
636
+ o.input = Shapes::ShapeRef.new(shape: CancelElasticsearchServiceSoftwareUpdateRequest)
637
+ o.output = Shapes::ShapeRef.new(shape: CancelElasticsearchServiceSoftwareUpdateResponse)
638
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
639
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
640
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
641
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
642
+ end)
643
+
603
644
  api.add_operation(:create_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
604
645
  o.name = "CreateElasticsearchDomain"
605
646
  o.http_method = "POST"
@@ -851,6 +892,18 @@ module Aws::ElasticsearchService
851
892
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
852
893
  end)
853
894
 
895
+ api.add_operation(:start_elasticsearch_service_software_update, Seahorse::Model::Operation.new.tap do |o|
896
+ o.name = "StartElasticsearchServiceSoftwareUpdate"
897
+ o.http_method = "POST"
898
+ o.http_request_uri = "/2015-01-01/es/serviceSoftwareUpdate/start"
899
+ o.input = Shapes::ShapeRef.new(shape: StartElasticsearchServiceSoftwareUpdateRequest)
900
+ o.output = Shapes::ShapeRef.new(shape: StartElasticsearchServiceSoftwareUpdateResponse)
901
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
902
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
903
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
904
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
905
+ end)
906
+
854
907
  api.add_operation(:update_elasticsearch_domain_config, Seahorse::Model::Operation.new.tap do |o|
855
908
  o.name = "UpdateElasticsearchDomainConfig"
856
909
  o.http_method = "POST"
@@ -117,6 +117,40 @@ module Aws::ElasticsearchService
117
117
  include Aws::Structure
118
118
  end
119
119
 
120
+ # Container for the parameters to the
121
+ # `CancelElasticsearchServiceSoftwareUpdate` operation. Specifies the
122
+ # name of the Elasticsearch domain that you wish to cancel a service
123
+ # software update on.
124
+ #
125
+ # @note When making an API call, you may pass CancelElasticsearchServiceSoftwareUpdateRequest
126
+ # data as a hash:
127
+ #
128
+ # {
129
+ # domain_name: "DomainName", # required
130
+ # }
131
+ #
132
+ # @!attribute [rw] domain_name
133
+ # The name of the domain that you want to stop the latest service
134
+ # software update on.
135
+ # @return [String]
136
+ #
137
+ class CancelElasticsearchServiceSoftwareUpdateRequest < Struct.new(
138
+ :domain_name)
139
+ include Aws::Structure
140
+ end
141
+
142
+ # The result of a `CancelElasticsearchServiceSoftwareUpdate` operation.
143
+ # Contains the status of the update.
144
+ #
145
+ # @!attribute [rw] service_software_options
146
+ # The current status of the Elasticsearch service software update.
147
+ # @return [Types::ServiceSoftwareOptions]
148
+ #
149
+ class CancelElasticsearchServiceSoftwareUpdateResponse < Struct.new(
150
+ :service_software_options)
151
+ include Aws::Structure
152
+ end
153
+
120
154
  # Options to specify the Cognito user and identity pools for Kibana
121
155
  # authentication. For more information, see [Amazon Cognito
122
156
  # Authentication for Kibana][1].
@@ -983,6 +1017,10 @@ module Aws::ElasticsearchService
983
1017
  # Log publishing options for the given domain.
984
1018
  # @return [Hash<String,Types::LogPublishingOption>]
985
1019
  #
1020
+ # @!attribute [rw] service_software_options
1021
+ # The current status of the Elasticsearch domain's service software.
1022
+ # @return [Types::ServiceSoftwareOptions]
1023
+ #
986
1024
  class ElasticsearchDomainStatus < Struct.new(
987
1025
  :domain_id,
988
1026
  :domain_name,
@@ -1003,7 +1041,8 @@ module Aws::ElasticsearchService
1003
1041
  :encryption_at_rest_options,
1004
1042
  :node_to_node_encryption_options,
1005
1043
  :advanced_options,
1006
- :log_publishing_options)
1044
+ :log_publishing_options,
1045
+ :service_software_options)
1007
1046
  include Aws::Structure
1008
1047
  end
1009
1048
 
@@ -1765,6 +1804,55 @@ module Aws::ElasticsearchService
1765
1804
  include Aws::Structure
1766
1805
  end
1767
1806
 
1807
+ # The current options of an Elasticsearch domain service software
1808
+ # options.
1809
+ #
1810
+ # @!attribute [rw] current_version
1811
+ # The current service software version that is present on the domain.
1812
+ # @return [String]
1813
+ #
1814
+ # @!attribute [rw] new_version
1815
+ # The new service software version if one is available.
1816
+ # @return [String]
1817
+ #
1818
+ # @!attribute [rw] update_available
1819
+ # `True` if you are able to update you service software version.
1820
+ # `False` if you are not able to update your service software version.
1821
+ # @return [Boolean]
1822
+ #
1823
+ # @!attribute [rw] cancellable
1824
+ # `True` if you are able to cancel your service software version
1825
+ # update. `False` if you are not able to cancel your service software
1826
+ # version.
1827
+ # @return [Boolean]
1828
+ #
1829
+ # @!attribute [rw] update_status
1830
+ # The status of your service software update. This field can take the
1831
+ # following values: `ELIGIBLE`, `PENDING_UPDATE`, `IN_PROGRESS`,
1832
+ # `COMPLETED`, and `NOT_ELIGIBLE`.
1833
+ # @return [String]
1834
+ #
1835
+ # @!attribute [rw] description
1836
+ # The description of the `UpdateStatus`.
1837
+ # @return [String]
1838
+ #
1839
+ # @!attribute [rw] automated_update_date
1840
+ # Timestamp, in Epoch time, until which you can manually request a
1841
+ # service software update. After this date, we automatically update
1842
+ # your service software.
1843
+ # @return [Time]
1844
+ #
1845
+ class ServiceSoftwareOptions < Struct.new(
1846
+ :current_version,
1847
+ :new_version,
1848
+ :update_available,
1849
+ :cancellable,
1850
+ :update_status,
1851
+ :description,
1852
+ :automated_update_date)
1853
+ include Aws::Structure
1854
+ end
1855
+
1768
1856
  # Specifies the time, in UTC format, when the service takes a daily
1769
1857
  # automated snapshot of the specified Elasticsearch domain. Default
1770
1858
  # value is `0` hours.
@@ -1804,6 +1892,40 @@ module Aws::ElasticsearchService
1804
1892
  include Aws::Structure
1805
1893
  end
1806
1894
 
1895
+ # Container for the parameters to the
1896
+ # `StartElasticsearchServiceSoftwareUpdate` operation. Specifies the
1897
+ # name of the Elasticsearch domain that you wish to schedule a service
1898
+ # software update on.
1899
+ #
1900
+ # @note When making an API call, you may pass StartElasticsearchServiceSoftwareUpdateRequest
1901
+ # data as a hash:
1902
+ #
1903
+ # {
1904
+ # domain_name: "DomainName", # required
1905
+ # }
1906
+ #
1907
+ # @!attribute [rw] domain_name
1908
+ # The name of the domain that you want to update to the latest service
1909
+ # software.
1910
+ # @return [String]
1911
+ #
1912
+ class StartElasticsearchServiceSoftwareUpdateRequest < Struct.new(
1913
+ :domain_name)
1914
+ include Aws::Structure
1915
+ end
1916
+
1917
+ # The result of a `StartElasticsearchServiceSoftwareUpdate` operation.
1918
+ # Contains the status of the update.
1919
+ #
1920
+ # @!attribute [rw] service_software_options
1921
+ # The current status of the Elasticsearch service software update.
1922
+ # @return [Types::ServiceSoftwareOptions]
1923
+ #
1924
+ class StartElasticsearchServiceSoftwareUpdateResponse < Struct.new(
1925
+ :service_software_options)
1926
+ include Aws::Structure
1927
+ end
1928
+
1807
1929
  # StorageTypes represents the list of storage related types and their
1808
1930
  # attributes that are available for given InstanceType.
1809
1931
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticsearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-18 00:00:00.000000000 Z
11
+ date: 2018-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core