aws-sdk-elasticsearchservice 1.7.0 → 1.8.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: a5ca8f702a568775c38a85a614ce2806e0c435a4
4
- data.tar.gz: 59ed5387136133bfff125c163d70a91756c5789c
3
+ metadata.gz: 8c8c149c2082dc057ff8ee5495a78aceadc39cad
4
+ data.tar.gz: 17b50398c66f7f12875110c1de6c69120f9b80e4
5
5
  SHA512:
6
- metadata.gz: 62c6612d416ea5e8bec288909af87d446efa03dc8a7a8b8de669245a43d3320eae33dc43b0e8e1a11d7b92f7f5a304cbad3e7a338fa3f05fec31e6ef46d5cc11
7
- data.tar.gz: 00c4bb86fbcdc835339f9961d9aa238e1f1872169018c2bfef1391c2c147edae4615b310226381569513f434e0112e9dc1784861f9d1df358c32a48fe75c8d58
6
+ metadata.gz: 15007f34bcf8c58a0ff8e2bb5db76360205f1800883343f37930097df6aa5e8ed8b2f4458f855012eeeaa3a94a710c796fa188734188206f53c7561ccdb29389
7
+ data.tar.gz: 3278db354ca635e6091e4710bf466a6d03d0ce0614a5985533230c15ecba15a61b7147448701643242f6e782b58a25c333e35383a5b99e4fa17b20cf14f9848a
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
42
42
  # @service
43
43
  module Aws::ElasticsearchService
44
44
 
45
- GEM_VERSION = '1.7.0'
45
+ GEM_VERSION = '1.8.0'
46
46
 
47
47
  end
@@ -330,6 +330,7 @@ module Aws::ElasticsearchService
330
330
  # resp.domain_status.endpoints #=> Hash
331
331
  # resp.domain_status.endpoints["String"] #=> String
332
332
  # resp.domain_status.processing #=> Boolean
333
+ # resp.domain_status.upgrade_processing #=> Boolean
333
334
  # resp.domain_status.elasticsearch_version #=> String
334
335
  # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "m3.medium.elasticsearch", "m3.large.elasticsearch", "m3.xlarge.elasticsearch", "m3.2xlarge.elasticsearch", "m4.large.elasticsearch", "m4.xlarge.elasticsearch", "m4.2xlarge.elasticsearch", "m4.4xlarge.elasticsearch", "m4.10xlarge.elasticsearch", "t2.micro.elasticsearch", "t2.small.elasticsearch", "t2.medium.elasticsearch", "r3.large.elasticsearch", "r3.xlarge.elasticsearch", "r3.2xlarge.elasticsearch", "r3.4xlarge.elasticsearch", "r3.8xlarge.elasticsearch", "i2.xlarge.elasticsearch", "i2.2xlarge.elasticsearch", "d2.xlarge.elasticsearch", "d2.2xlarge.elasticsearch", "d2.4xlarge.elasticsearch", "d2.8xlarge.elasticsearch", "c4.large.elasticsearch", "c4.xlarge.elasticsearch", "c4.2xlarge.elasticsearch", "c4.4xlarge.elasticsearch", "c4.8xlarge.elasticsearch", "r4.large.elasticsearch", "r4.xlarge.elasticsearch", "r4.2xlarge.elasticsearch", "r4.4xlarge.elasticsearch", "r4.8xlarge.elasticsearch", "r4.16xlarge.elasticsearch", "i3.large.elasticsearch", "i3.xlarge.elasticsearch", "i3.2xlarge.elasticsearch", "i3.4xlarge.elasticsearch", "i3.8xlarge.elasticsearch", "i3.16xlarge.elasticsearch"
335
336
  # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
@@ -397,6 +398,7 @@ module Aws::ElasticsearchService
397
398
  # resp.domain_status.endpoints #=> Hash
398
399
  # resp.domain_status.endpoints["String"] #=> String
399
400
  # resp.domain_status.processing #=> Boolean
401
+ # resp.domain_status.upgrade_processing #=> Boolean
400
402
  # resp.domain_status.elasticsearch_version #=> String
401
403
  # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "m3.medium.elasticsearch", "m3.large.elasticsearch", "m3.xlarge.elasticsearch", "m3.2xlarge.elasticsearch", "m4.large.elasticsearch", "m4.xlarge.elasticsearch", "m4.2xlarge.elasticsearch", "m4.4xlarge.elasticsearch", "m4.10xlarge.elasticsearch", "t2.micro.elasticsearch", "t2.small.elasticsearch", "t2.medium.elasticsearch", "r3.large.elasticsearch", "r3.xlarge.elasticsearch", "r3.2xlarge.elasticsearch", "r3.4xlarge.elasticsearch", "r3.8xlarge.elasticsearch", "i2.xlarge.elasticsearch", "i2.2xlarge.elasticsearch", "d2.xlarge.elasticsearch", "d2.2xlarge.elasticsearch", "d2.4xlarge.elasticsearch", "d2.8xlarge.elasticsearch", "c4.large.elasticsearch", "c4.xlarge.elasticsearch", "c4.2xlarge.elasticsearch", "c4.4xlarge.elasticsearch", "c4.8xlarge.elasticsearch", "r4.large.elasticsearch", "r4.xlarge.elasticsearch", "r4.2xlarge.elasticsearch", "r4.4xlarge.elasticsearch", "r4.8xlarge.elasticsearch", "r4.16xlarge.elasticsearch", "i3.large.elasticsearch", "i3.xlarge.elasticsearch", "i3.2xlarge.elasticsearch", "i3.4xlarge.elasticsearch", "i3.8xlarge.elasticsearch", "i3.16xlarge.elasticsearch"
402
404
  # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
@@ -484,6 +486,7 @@ module Aws::ElasticsearchService
484
486
  # resp.domain_status.endpoints #=> Hash
485
487
  # resp.domain_status.endpoints["String"] #=> String
486
488
  # resp.domain_status.processing #=> Boolean
489
+ # resp.domain_status.upgrade_processing #=> Boolean
487
490
  # resp.domain_status.elasticsearch_version #=> String
488
491
  # resp.domain_status.elasticsearch_cluster_config.instance_type #=> String, one of "m3.medium.elasticsearch", "m3.large.elasticsearch", "m3.xlarge.elasticsearch", "m3.2xlarge.elasticsearch", "m4.large.elasticsearch", "m4.xlarge.elasticsearch", "m4.2xlarge.elasticsearch", "m4.4xlarge.elasticsearch", "m4.10xlarge.elasticsearch", "t2.micro.elasticsearch", "t2.small.elasticsearch", "t2.medium.elasticsearch", "r3.large.elasticsearch", "r3.xlarge.elasticsearch", "r3.2xlarge.elasticsearch", "r3.4xlarge.elasticsearch", "r3.8xlarge.elasticsearch", "i2.xlarge.elasticsearch", "i2.2xlarge.elasticsearch", "d2.xlarge.elasticsearch", "d2.2xlarge.elasticsearch", "d2.4xlarge.elasticsearch", "d2.8xlarge.elasticsearch", "c4.large.elasticsearch", "c4.xlarge.elasticsearch", "c4.2xlarge.elasticsearch", "c4.4xlarge.elasticsearch", "c4.8xlarge.elasticsearch", "r4.large.elasticsearch", "r4.xlarge.elasticsearch", "r4.2xlarge.elasticsearch", "r4.4xlarge.elasticsearch", "r4.8xlarge.elasticsearch", "r4.16xlarge.elasticsearch", "i3.large.elasticsearch", "i3.xlarge.elasticsearch", "i3.2xlarge.elasticsearch", "i3.4xlarge.elasticsearch", "i3.8xlarge.elasticsearch", "i3.16xlarge.elasticsearch"
489
492
  # resp.domain_status.elasticsearch_cluster_config.instance_count #=> Integer
@@ -660,6 +663,7 @@ module Aws::ElasticsearchService
660
663
  # resp.domain_status_list[0].endpoints #=> Hash
661
664
  # resp.domain_status_list[0].endpoints["String"] #=> String
662
665
  # resp.domain_status_list[0].processing #=> Boolean
666
+ # resp.domain_status_list[0].upgrade_processing #=> Boolean
663
667
  # resp.domain_status_list[0].elasticsearch_version #=> String
664
668
  # resp.domain_status_list[0].elasticsearch_cluster_config.instance_type #=> String, one of "m3.medium.elasticsearch", "m3.large.elasticsearch", "m3.xlarge.elasticsearch", "m3.2xlarge.elasticsearch", "m4.large.elasticsearch", "m4.xlarge.elasticsearch", "m4.2xlarge.elasticsearch", "m4.4xlarge.elasticsearch", "m4.10xlarge.elasticsearch", "t2.micro.elasticsearch", "t2.small.elasticsearch", "t2.medium.elasticsearch", "r3.large.elasticsearch", "r3.xlarge.elasticsearch", "r3.2xlarge.elasticsearch", "r3.4xlarge.elasticsearch", "r3.8xlarge.elasticsearch", "i2.xlarge.elasticsearch", "i2.2xlarge.elasticsearch", "d2.xlarge.elasticsearch", "d2.2xlarge.elasticsearch", "d2.4xlarge.elasticsearch", "d2.8xlarge.elasticsearch", "c4.large.elasticsearch", "c4.xlarge.elasticsearch", "c4.2xlarge.elasticsearch", "c4.4xlarge.elasticsearch", "c4.8xlarge.elasticsearch", "r4.large.elasticsearch", "r4.xlarge.elasticsearch", "r4.2xlarge.elasticsearch", "r4.4xlarge.elasticsearch", "r4.8xlarge.elasticsearch", "r4.16xlarge.elasticsearch", "i3.large.elasticsearch", "i3.xlarge.elasticsearch", "i3.2xlarge.elasticsearch", "i3.4xlarge.elasticsearch", "i3.8xlarge.elasticsearch", "i3.16xlarge.elasticsearch"
665
669
  # resp.domain_status_list[0].elasticsearch_cluster_config.instance_count #=> Integer
@@ -857,6 +861,125 @@ module Aws::ElasticsearchService
857
861
  req.send_request(options)
858
862
  end
859
863
 
864
+ # Returns a list of upgrade compatible Elastisearch versions. You can
865
+ # optionally pass a ` DomainName ` to get all upgrade compatible
866
+ # Elasticsearch versions for that specific domain.
867
+ #
868
+ # @option params [String] :domain_name
869
+ # The name of an Elasticsearch domain. Domain names are unique across
870
+ # the domains owned by an account within an AWS region. Domain names
871
+ # start with a letter or number and can contain the following
872
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
873
+ #
874
+ # @return [Types::GetCompatibleElasticsearchVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
875
+ #
876
+ # * {Types::GetCompatibleElasticsearchVersionsResponse#compatible_elasticsearch_versions #compatible_elasticsearch_versions} => Array<Types::CompatibleVersionsMap>
877
+ #
878
+ # @example Request syntax with placeholder values
879
+ #
880
+ # resp = client.get_compatible_elasticsearch_versions({
881
+ # domain_name: "DomainName",
882
+ # })
883
+ #
884
+ # @example Response structure
885
+ #
886
+ # resp.compatible_elasticsearch_versions #=> Array
887
+ # resp.compatible_elasticsearch_versions[0].source_version #=> String
888
+ # resp.compatible_elasticsearch_versions[0].target_versions #=> Array
889
+ # resp.compatible_elasticsearch_versions[0].target_versions[0] #=> String
890
+ #
891
+ # @overload get_compatible_elasticsearch_versions(params = {})
892
+ # @param [Hash] params ({})
893
+ def get_compatible_elasticsearch_versions(params = {}, options = {})
894
+ req = build_request(:get_compatible_elasticsearch_versions, params)
895
+ req.send_request(options)
896
+ end
897
+
898
+ # Retrieves the complete history of the last 10 upgrades that were
899
+ # performed on the domain.
900
+ #
901
+ # @option params [required, String] :domain_name
902
+ # The name of an Elasticsearch domain. Domain names are unique across
903
+ # the domains owned by an account within an AWS region. Domain names
904
+ # start with a letter or number and can contain the following
905
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
906
+ #
907
+ # @option params [Integer] :max_results
908
+ # Set this value to limit the number of results returned.
909
+ #
910
+ # @option params [String] :next_token
911
+ # Paginated APIs accepts NextToken input to returns next page results
912
+ # and provides a NextToken output in the response which can be used by
913
+ # the client to retrieve more results.
914
+ #
915
+ # @return [Types::GetUpgradeHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
916
+ #
917
+ # * {Types::GetUpgradeHistoryResponse#upgrade_histories #upgrade_histories} => Array<Types::UpgradeHistory>
918
+ # * {Types::GetUpgradeHistoryResponse#next_token #next_token} => String
919
+ #
920
+ # @example Request syntax with placeholder values
921
+ #
922
+ # resp = client.get_upgrade_history({
923
+ # domain_name: "DomainName", # required
924
+ # max_results: 1,
925
+ # next_token: "NextToken",
926
+ # })
927
+ #
928
+ # @example Response structure
929
+ #
930
+ # resp.upgrade_histories #=> Array
931
+ # resp.upgrade_histories[0].upgrade_name #=> String
932
+ # resp.upgrade_histories[0].start_timestamp #=> Time
933
+ # resp.upgrade_histories[0].upgrade_status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "SUCCEEDED_WITH_ISSUES", "FAILED"
934
+ # resp.upgrade_histories[0].steps_list #=> Array
935
+ # resp.upgrade_histories[0].steps_list[0].upgrade_step #=> String, one of "PRE_UPGRADE_CHECK", "SNAPSHOT", "UPGRADE"
936
+ # resp.upgrade_histories[0].steps_list[0].upgrade_step_status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "SUCCEEDED_WITH_ISSUES", "FAILED"
937
+ # resp.upgrade_histories[0].steps_list[0].issues #=> Array
938
+ # resp.upgrade_histories[0].steps_list[0].issues[0] #=> String
939
+ # resp.upgrade_histories[0].steps_list[0].progress_percent #=> Float
940
+ # resp.next_token #=> String
941
+ #
942
+ # @overload get_upgrade_history(params = {})
943
+ # @param [Hash] params ({})
944
+ def get_upgrade_history(params = {}, options = {})
945
+ req = build_request(:get_upgrade_history, params)
946
+ req.send_request(options)
947
+ end
948
+
949
+ # Retrieves the latest status of the last upgrade or upgrade eligibility
950
+ # check that was performed on the domain.
951
+ #
952
+ # @option params [required, String] :domain_name
953
+ # The name of an Elasticsearch domain. Domain names are unique across
954
+ # the domains owned by an account within an AWS region. Domain names
955
+ # start with a letter or number and can contain the following
956
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
957
+ #
958
+ # @return [Types::GetUpgradeStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
959
+ #
960
+ # * {Types::GetUpgradeStatusResponse#upgrade_step #upgrade_step} => String
961
+ # * {Types::GetUpgradeStatusResponse#step_status #step_status} => String
962
+ # * {Types::GetUpgradeStatusResponse#upgrade_name #upgrade_name} => String
963
+ #
964
+ # @example Request syntax with placeholder values
965
+ #
966
+ # resp = client.get_upgrade_status({
967
+ # domain_name: "DomainName", # required
968
+ # })
969
+ #
970
+ # @example Response structure
971
+ #
972
+ # resp.upgrade_step #=> String, one of "PRE_UPGRADE_CHECK", "SNAPSHOT", "UPGRADE"
973
+ # resp.step_status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "SUCCEEDED_WITH_ISSUES", "FAILED"
974
+ # resp.upgrade_name #=> String
975
+ #
976
+ # @overload get_upgrade_status(params = {})
977
+ # @param [Hash] params ({})
978
+ def get_upgrade_status(params = {}, options = {})
979
+ req = build_request(:get_upgrade_status, params)
980
+ req.send_request(options)
981
+ end
982
+
860
983
  # Returns the name of all Elasticsearch domains owned by the current
861
984
  # user's account.
862
985
  #
@@ -1242,6 +1365,50 @@ module Aws::ElasticsearchService
1242
1365
  req.send_request(options)
1243
1366
  end
1244
1367
 
1368
+ # Allows you to either upgrade your domain or perform an Upgrade
1369
+ # eligibility check to a compatible Elasticsearch version.
1370
+ #
1371
+ # @option params [required, String] :domain_name
1372
+ # The name of an Elasticsearch domain. Domain names are unique across
1373
+ # the domains owned by an account within an AWS region. Domain names
1374
+ # start with a letter or number and can contain the following
1375
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1376
+ #
1377
+ # @option params [required, String] :target_version
1378
+ # The version of Elasticsearch that you intend to upgrade the domain to.
1379
+ #
1380
+ # @option params [Boolean] :perform_check_only
1381
+ # This flag, when set to True, indicates that an Upgrade Eligibility
1382
+ # Check needs to be performed. This will not actually perform the
1383
+ # Upgrade.
1384
+ #
1385
+ # @return [Types::UpgradeElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1386
+ #
1387
+ # * {Types::UpgradeElasticsearchDomainResponse#domain_name #domain_name} => String
1388
+ # * {Types::UpgradeElasticsearchDomainResponse#target_version #target_version} => String
1389
+ # * {Types::UpgradeElasticsearchDomainResponse#perform_check_only #perform_check_only} => Boolean
1390
+ #
1391
+ # @example Request syntax with placeholder values
1392
+ #
1393
+ # resp = client.upgrade_elasticsearch_domain({
1394
+ # domain_name: "DomainName", # required
1395
+ # target_version: "ElasticsearchVersionString", # required
1396
+ # perform_check_only: false,
1397
+ # })
1398
+ #
1399
+ # @example Response structure
1400
+ #
1401
+ # resp.domain_name #=> String
1402
+ # resp.target_version #=> String
1403
+ # resp.perform_check_only #=> Boolean
1404
+ #
1405
+ # @overload upgrade_elasticsearch_domain(params = {})
1406
+ # @param [Hash] params ({})
1407
+ def upgrade_elasticsearch_domain(params = {}, options = {})
1408
+ req = build_request(:upgrade_elasticsearch_domain, params)
1409
+ req.send_request(options)
1410
+ end
1411
+
1245
1412
  # @!endgroup
1246
1413
 
1247
1414
  # @param params ({})
@@ -1255,7 +1422,7 @@ module Aws::ElasticsearchService
1255
1422
  params: params,
1256
1423
  config: config)
1257
1424
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
1258
- context[:gem_version] = '1.7.0'
1425
+ context[:gem_version] = '1.8.0'
1259
1426
  Seahorse::Client::Request.new(handlers, context)
1260
1427
  end
1261
1428
 
@@ -23,6 +23,8 @@ module Aws::ElasticsearchService
23
23
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
24
24
  CognitoOptions = Shapes::StructureShape.new(name: 'CognitoOptions')
25
25
  CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
26
+ CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
27
+ CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
26
28
  CreateElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainRequest')
27
29
  CreateElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainResponse')
28
30
  DeleteElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainRequest')
@@ -63,6 +65,12 @@ module Aws::ElasticsearchService
63
65
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
64
66
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
65
67
  GUID = Shapes::StringShape.new(name: 'GUID')
68
+ GetCompatibleElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsRequest')
69
+ GetCompatibleElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsResponse')
70
+ GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
71
+ GetUpgradeHistoryResponse = Shapes::StructureShape.new(name: 'GetUpgradeHistoryResponse')
72
+ GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
73
+ GetUpgradeStatusResponse = Shapes::StructureShape.new(name: 'GetUpgradeStatusResponse')
66
74
  IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
67
75
  InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
68
76
  InstanceCountLimits = Shapes::StructureShape.new(name: 'InstanceCountLimits')
@@ -72,6 +80,8 @@ module Aws::ElasticsearchService
72
80
  IntegerClass = Shapes::IntegerShape.new(name: 'IntegerClass')
73
81
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
74
82
  InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
83
+ Issue = Shapes::StringShape.new(name: 'Issue')
84
+ Issues = Shapes::ListShape.new(name: 'Issues')
75
85
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
76
86
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
77
87
  LimitName = Shapes::StringShape.new(name: 'LimitName')
@@ -114,6 +124,7 @@ module Aws::ElasticsearchService
114
124
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
115
125
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
116
126
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
127
+ StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
117
128
  StorageSubTypeName = Shapes::StringShape.new(name: 'StorageSubTypeName')
118
129
  StorageType = Shapes::StructureShape.new(name: 'StorageType')
119
130
  StorageTypeLimit = Shapes::StructureShape.new(name: 'StorageTypeLimit')
@@ -130,6 +141,15 @@ module Aws::ElasticsearchService
130
141
  UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
131
142
  UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
132
143
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
144
+ UpgradeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainRequest')
145
+ UpgradeElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainResponse')
146
+ UpgradeHistory = Shapes::StructureShape.new(name: 'UpgradeHistory')
147
+ UpgradeHistoryList = Shapes::ListShape.new(name: 'UpgradeHistoryList')
148
+ UpgradeName = Shapes::StringShape.new(name: 'UpgradeName')
149
+ UpgradeStatus = Shapes::StringShape.new(name: 'UpgradeStatus')
150
+ UpgradeStep = Shapes::StringShape.new(name: 'UpgradeStep')
151
+ UpgradeStepItem = Shapes::StructureShape.new(name: 'UpgradeStepItem')
152
+ UpgradeStepsList = Shapes::ListShape.new(name: 'UpgradeStepsList')
133
153
  UserPoolId = Shapes::StringShape.new(name: 'UserPoolId')
134
154
  VPCDerivedInfo = Shapes::StructureShape.new(name: 'VPCDerivedInfo')
135
155
  VPCDerivedInfoStatus = Shapes::StructureShape.new(name: 'VPCDerivedInfoStatus')
@@ -168,6 +188,12 @@ module Aws::ElasticsearchService
168
188
  CognitoOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
169
189
  CognitoOptionsStatus.struct_class = Types::CognitoOptionsStatus
170
190
 
191
+ CompatibleElasticsearchVersionsList.member = Shapes::ShapeRef.new(shape: CompatibleVersionsMap)
192
+
193
+ CompatibleVersionsMap.add_member(:source_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "SourceVersion"))
194
+ CompatibleVersionsMap.add_member(:target_versions, Shapes::ShapeRef.new(shape: ElasticsearchVersionList, location_name: "TargetVersions"))
195
+ CompatibleVersionsMap.struct_class = Types::CompatibleVersionsMap
196
+
171
197
  CreateElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
172
198
  CreateElasticsearchDomainRequest.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "ElasticsearchVersion"))
173
199
  CreateElasticsearchDomainRequest.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, location_name: "ElasticsearchClusterConfig"))
@@ -283,6 +309,7 @@ module Aws::ElasticsearchService
283
309
  ElasticsearchDomainStatus.add_member(:endpoint, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "Endpoint"))
284
310
  ElasticsearchDomainStatus.add_member(:endpoints, Shapes::ShapeRef.new(shape: EndpointsMap, location_name: "Endpoints"))
285
311
  ElasticsearchDomainStatus.add_member(:processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "Processing"))
312
+ ElasticsearchDomainStatus.add_member(:upgrade_processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpgradeProcessing"))
286
313
  ElasticsearchDomainStatus.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "ElasticsearchVersion"))
287
314
  ElasticsearchDomainStatus.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, required: true, location_name: "ElasticsearchClusterConfig"))
288
315
  ElasticsearchDomainStatus.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
@@ -316,6 +343,29 @@ module Aws::ElasticsearchService
316
343
  EndpointsMap.key = Shapes::ShapeRef.new(shape: String)
317
344
  EndpointsMap.value = Shapes::ShapeRef.new(shape: ServiceUrl)
318
345
 
346
+ GetCompatibleElasticsearchVersionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location: "querystring", location_name: "domainName"))
347
+ GetCompatibleElasticsearchVersionsRequest.struct_class = Types::GetCompatibleElasticsearchVersionsRequest
348
+
349
+ GetCompatibleElasticsearchVersionsResponse.add_member(:compatible_elasticsearch_versions, Shapes::ShapeRef.new(shape: CompatibleElasticsearchVersionsList, location_name: "CompatibleElasticsearchVersions"))
350
+ GetCompatibleElasticsearchVersionsResponse.struct_class = Types::GetCompatibleElasticsearchVersionsResponse
351
+
352
+ GetUpgradeHistoryRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
353
+ GetUpgradeHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
354
+ GetUpgradeHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
355
+ GetUpgradeHistoryRequest.struct_class = Types::GetUpgradeHistoryRequest
356
+
357
+ GetUpgradeHistoryResponse.add_member(:upgrade_histories, Shapes::ShapeRef.new(shape: UpgradeHistoryList, location_name: "UpgradeHistories"))
358
+ GetUpgradeHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
359
+ GetUpgradeHistoryResponse.struct_class = Types::GetUpgradeHistoryResponse
360
+
361
+ GetUpgradeStatusRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
362
+ GetUpgradeStatusRequest.struct_class = Types::GetUpgradeStatusRequest
363
+
364
+ GetUpgradeStatusResponse.add_member(:upgrade_step, Shapes::ShapeRef.new(shape: UpgradeStep, location_name: "UpgradeStep"))
365
+ GetUpgradeStatusResponse.add_member(:step_status, Shapes::ShapeRef.new(shape: UpgradeStatus, location_name: "StepStatus"))
366
+ GetUpgradeStatusResponse.add_member(:upgrade_name, Shapes::ShapeRef.new(shape: UpgradeName, location_name: "UpgradeName"))
367
+ GetUpgradeStatusResponse.struct_class = Types::GetUpgradeStatusResponse
368
+
319
369
  InstanceCountLimits.add_member(:minimum_instance_count, Shapes::ShapeRef.new(shape: MinimumInstanceCount, location_name: "MinimumInstanceCount"))
320
370
  InstanceCountLimits.add_member(:maximum_instance_count, Shapes::ShapeRef.new(shape: MaximumInstanceCount, location_name: "MaximumInstanceCount"))
321
371
  InstanceCountLimits.struct_class = Types::InstanceCountLimits
@@ -323,6 +373,8 @@ module Aws::ElasticsearchService
323
373
  InstanceLimits.add_member(:instance_count_limits, Shapes::ShapeRef.new(shape: InstanceCountLimits, location_name: "InstanceCountLimits"))
324
374
  InstanceLimits.struct_class = Types::InstanceLimits
325
375
 
376
+ Issues.member = Shapes::ShapeRef.new(shape: Issue)
377
+
326
378
  LimitValueList.member = Shapes::ShapeRef.new(shape: LimitValue)
327
379
 
328
380
  Limits.add_member(:storage_types, Shapes::ShapeRef.new(shape: StorageTypeList, location_name: "StorageTypes"))
@@ -468,6 +520,32 @@ module Aws::ElasticsearchService
468
520
  UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
469
521
  UpdateElasticsearchDomainConfigResponse.struct_class = Types::UpdateElasticsearchDomainConfigResponse
470
522
 
523
+ UpgradeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
524
+ UpgradeElasticsearchDomainRequest.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "TargetVersion"))
525
+ UpgradeElasticsearchDomainRequest.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
526
+ UpgradeElasticsearchDomainRequest.struct_class = Types::UpgradeElasticsearchDomainRequest
527
+
528
+ UpgradeElasticsearchDomainResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
529
+ UpgradeElasticsearchDomainResponse.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "TargetVersion"))
530
+ UpgradeElasticsearchDomainResponse.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
531
+ UpgradeElasticsearchDomainResponse.struct_class = Types::UpgradeElasticsearchDomainResponse
532
+
533
+ UpgradeHistory.add_member(:upgrade_name, Shapes::ShapeRef.new(shape: UpgradeName, location_name: "UpgradeName"))
534
+ UpgradeHistory.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: StartTimestamp, location_name: "StartTimestamp"))
535
+ UpgradeHistory.add_member(:upgrade_status, Shapes::ShapeRef.new(shape: UpgradeStatus, location_name: "UpgradeStatus"))
536
+ UpgradeHistory.add_member(:steps_list, Shapes::ShapeRef.new(shape: UpgradeStepsList, location_name: "StepsList"))
537
+ UpgradeHistory.struct_class = Types::UpgradeHistory
538
+
539
+ UpgradeHistoryList.member = Shapes::ShapeRef.new(shape: UpgradeHistory)
540
+
541
+ UpgradeStepItem.add_member(:upgrade_step, Shapes::ShapeRef.new(shape: UpgradeStep, location_name: "UpgradeStep"))
542
+ UpgradeStepItem.add_member(:upgrade_step_status, Shapes::ShapeRef.new(shape: UpgradeStatus, location_name: "UpgradeStepStatus"))
543
+ UpgradeStepItem.add_member(:issues, Shapes::ShapeRef.new(shape: Issues, location_name: "Issues"))
544
+ UpgradeStepItem.add_member(:progress_percent, Shapes::ShapeRef.new(shape: Double, location_name: "ProgressPercent"))
545
+ UpgradeStepItem.struct_class = Types::UpgradeStepItem
546
+
547
+ UpgradeStepsList.member = Shapes::ShapeRef.new(shape: UpgradeStepItem)
548
+
471
549
  VPCDerivedInfo.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VPCId"))
472
550
  VPCDerivedInfo.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "SubnetIds"))
473
551
  VPCDerivedInfo.add_member(:availability_zones, Shapes::ShapeRef.new(shape: StringList, location_name: "AvailabilityZones"))
@@ -630,6 +708,51 @@ module Aws::ElasticsearchService
630
708
  )
631
709
  end)
632
710
 
711
+ api.add_operation(:get_compatible_elasticsearch_versions, Seahorse::Model::Operation.new.tap do |o|
712
+ o.name = "GetCompatibleElasticsearchVersions"
713
+ o.http_method = "GET"
714
+ o.http_request_uri = "/2015-01-01/es/compatibleVersions"
715
+ o.input = Shapes::ShapeRef.new(shape: GetCompatibleElasticsearchVersionsRequest)
716
+ o.output = Shapes::ShapeRef.new(shape: GetCompatibleElasticsearchVersionsResponse)
717
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
719
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
721
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
722
+ end)
723
+
724
+ api.add_operation(:get_upgrade_history, Seahorse::Model::Operation.new.tap do |o|
725
+ o.name = "GetUpgradeHistory"
726
+ o.http_method = "GET"
727
+ o.http_request_uri = "/2015-01-01/es/upgradeDomain/{DomainName}/history"
728
+ o.input = Shapes::ShapeRef.new(shape: GetUpgradeHistoryRequest)
729
+ o.output = Shapes::ShapeRef.new(shape: GetUpgradeHistoryResponse)
730
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
732
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
734
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
735
+ o[:pager] = Aws::Pager.new(
736
+ limit_key: "max_results",
737
+ tokens: {
738
+ "next_token" => "next_token"
739
+ }
740
+ )
741
+ end)
742
+
743
+ api.add_operation(:get_upgrade_status, Seahorse::Model::Operation.new.tap do |o|
744
+ o.name = "GetUpgradeStatus"
745
+ o.http_method = "GET"
746
+ o.http_request_uri = "/2015-01-01/es/upgradeDomain/{DomainName}/status"
747
+ o.input = Shapes::ShapeRef.new(shape: GetUpgradeStatusRequest)
748
+ o.output = Shapes::ShapeRef.new(shape: GetUpgradeStatusResponse)
749
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
750
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
751
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
752
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
753
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
754
+ end)
755
+
633
756
  api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
634
757
  o.name = "ListDomainNames"
635
758
  o.http_method = "GET"
@@ -726,6 +849,20 @@ module Aws::ElasticsearchService
726
849
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
727
850
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
728
851
  end)
852
+
853
+ api.add_operation(:upgrade_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
854
+ o.name = "UpgradeElasticsearchDomain"
855
+ o.http_method = "POST"
856
+ o.http_request_uri = "/2015-01-01/es/upgradeDomain"
857
+ o.input = Shapes::ShapeRef.new(shape: UpgradeElasticsearchDomainRequest)
858
+ o.output = Shapes::ShapeRef.new(shape: UpgradeElasticsearchDomainResponse)
859
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
860
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
861
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
862
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
863
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
864
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
865
+ end)
729
866
  end
730
867
 
731
868
  end
@@ -178,6 +178,23 @@ module Aws::ElasticsearchService
178
178
  include Aws::Structure
179
179
  end
180
180
 
181
+ # A map from an ` ElasticsearchVersion ` to a list of compatible `
182
+ # ElasticsearchVersion ` s to which the domain can be upgraded.
183
+ #
184
+ # @!attribute [rw] source_version
185
+ # The current version of Elasticsearch on which a domain is.
186
+ # @return [String]
187
+ #
188
+ # @!attribute [rw] target_versions
189
+ # List of supported elastic search versions.
190
+ # @return [Array<String>]
191
+ #
192
+ class CompatibleVersionsMap < Struct.new(
193
+ :source_version,
194
+ :target_versions)
195
+ include Aws::Structure
196
+ end
197
+
181
198
  # @note When making an API call, you may pass CreateElasticsearchDomainRequest
182
199
  # data as a hash:
183
200
  #
@@ -888,6 +905,12 @@ module Aws::ElasticsearchService
888
905
  # `False` if the configuration is active.
889
906
  # @return [Boolean]
890
907
  #
908
+ # @!attribute [rw] upgrade_processing
909
+ # The status of an Elasticsearch domain version upgrade. `True` if
910
+ # Amazon Elasticsearch Service is undergoing a version upgrade.
911
+ # `False` if the configuration is active.
912
+ # @return [Boolean]
913
+ #
891
914
  # @!attribute [rw] elasticsearch_version
892
915
  # @return [String]
893
916
  #
@@ -951,6 +974,7 @@ module Aws::ElasticsearchService
951
974
  :endpoint,
952
975
  :endpoints,
953
976
  :processing,
977
+ :upgrade_processing,
954
978
  :elasticsearch_version,
955
979
  :elasticsearch_cluster_config,
956
980
  :ebs_options,
@@ -1026,6 +1050,145 @@ module Aws::ElasticsearchService
1026
1050
  include Aws::Structure
1027
1051
  end
1028
1052
 
1053
+ # Container for request parameters to `
1054
+ # GetCompatibleElasticsearchVersions ` operation.
1055
+ #
1056
+ # @note When making an API call, you may pass GetCompatibleElasticsearchVersionsRequest
1057
+ # data as a hash:
1058
+ #
1059
+ # {
1060
+ # domain_name: "DomainName",
1061
+ # }
1062
+ #
1063
+ # @!attribute [rw] domain_name
1064
+ # The name of an Elasticsearch domain. Domain names are unique across
1065
+ # the domains owned by an account within an AWS region. Domain names
1066
+ # start with a letter or number and can contain the following
1067
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1068
+ # @return [String]
1069
+ #
1070
+ class GetCompatibleElasticsearchVersionsRequest < Struct.new(
1071
+ :domain_name)
1072
+ include Aws::Structure
1073
+ end
1074
+
1075
+ # Container for response returned by `
1076
+ # GetCompatibleElasticsearchVersions ` operation.
1077
+ #
1078
+ # @!attribute [rw] compatible_elasticsearch_versions
1079
+ # A map of compatible Elasticsearch versions returned as part of the `
1080
+ # GetCompatibleElasticsearchVersions ` operation.
1081
+ # @return [Array<Types::CompatibleVersionsMap>]
1082
+ #
1083
+ class GetCompatibleElasticsearchVersionsResponse < Struct.new(
1084
+ :compatible_elasticsearch_versions)
1085
+ include Aws::Structure
1086
+ end
1087
+
1088
+ # Container for request parameters to ` GetUpgradeHistory ` operation.
1089
+ #
1090
+ # @note When making an API call, you may pass GetUpgradeHistoryRequest
1091
+ # data as a hash:
1092
+ #
1093
+ # {
1094
+ # domain_name: "DomainName", # required
1095
+ # max_results: 1,
1096
+ # next_token: "NextToken",
1097
+ # }
1098
+ #
1099
+ # @!attribute [rw] domain_name
1100
+ # The name of an Elasticsearch domain. Domain names are unique across
1101
+ # the domains owned by an account within an AWS region. Domain names
1102
+ # start with a letter or number and can contain the following
1103
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1104
+ # @return [String]
1105
+ #
1106
+ # @!attribute [rw] max_results
1107
+ # Set this value to limit the number of results returned.
1108
+ # @return [Integer]
1109
+ #
1110
+ # @!attribute [rw] next_token
1111
+ # Paginated APIs accepts NextToken input to returns next page results
1112
+ # and provides a NextToken output in the response which can be used by
1113
+ # the client to retrieve more results.
1114
+ # @return [String]
1115
+ #
1116
+ class GetUpgradeHistoryRequest < Struct.new(
1117
+ :domain_name,
1118
+ :max_results,
1119
+ :next_token)
1120
+ include Aws::Structure
1121
+ end
1122
+
1123
+ # Container for response returned by ` GetUpgradeHistory ` operation.
1124
+ #
1125
+ # @!attribute [rw] upgrade_histories
1126
+ # A list of ` UpgradeHistory ` objects corresponding to each Upgrade
1127
+ # or Upgrade Eligibility Check performed on a domain returned as part
1128
+ # of ` GetUpgradeHistoryResponse ` object.
1129
+ # @return [Array<Types::UpgradeHistory>]
1130
+ #
1131
+ # @!attribute [rw] next_token
1132
+ # Pagination token that needs to be supplied to the next call to get
1133
+ # the next page of results
1134
+ # @return [String]
1135
+ #
1136
+ class GetUpgradeHistoryResponse < Struct.new(
1137
+ :upgrade_histories,
1138
+ :next_token)
1139
+ include Aws::Structure
1140
+ end
1141
+
1142
+ # Container for request parameters to ` GetUpgradeStatus ` operation.
1143
+ #
1144
+ # @note When making an API call, you may pass GetUpgradeStatusRequest
1145
+ # data as a hash:
1146
+ #
1147
+ # {
1148
+ # domain_name: "DomainName", # required
1149
+ # }
1150
+ #
1151
+ # @!attribute [rw] domain_name
1152
+ # The name of an Elasticsearch domain. Domain names are unique across
1153
+ # the domains owned by an account within an AWS region. Domain names
1154
+ # start with a letter or number and can contain the following
1155
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1156
+ # @return [String]
1157
+ #
1158
+ class GetUpgradeStatusRequest < Struct.new(
1159
+ :domain_name)
1160
+ include Aws::Structure
1161
+ end
1162
+
1163
+ # Container for response returned by ` GetUpgradeStatus ` operation.
1164
+ #
1165
+ # @!attribute [rw] upgrade_step
1166
+ # Represents one of 3 steps that an Upgrade or Upgrade Eligibility
1167
+ # Check does through: * PreUpgradeCheck
1168
+ # * Snapshot
1169
+ # * Upgrade
1170
+ # @return [String]
1171
+ #
1172
+ # @!attribute [rw] step_status
1173
+ # One of 4 statuses that a step can go through returned as part of the
1174
+ # ` GetUpgradeStatusResponse ` object. The status can take one of the
1175
+ # following values: * In Progress
1176
+ # * Succeeded
1177
+ # * Succeeded with Issues
1178
+ # * Failed
1179
+ # @return [String]
1180
+ #
1181
+ # @!attribute [rw] upgrade_name
1182
+ # A string that describes the update briefly
1183
+ # @return [String]
1184
+ #
1185
+ class GetUpgradeStatusResponse < Struct.new(
1186
+ :upgrade_step,
1187
+ :step_status,
1188
+ :upgrade_name)
1189
+ include Aws::Structure
1190
+ end
1191
+
1029
1192
  # InstanceCountLimits represents the limits on number of instances that
1030
1193
  # be created in Amazon Elasticsearch for given InstanceType.
1031
1194
  #
@@ -1796,6 +1959,140 @@ module Aws::ElasticsearchService
1796
1959
  include Aws::Structure
1797
1960
  end
1798
1961
 
1962
+ # Container for request parameters to ` UpgradeElasticsearchDomain `
1963
+ # operation.
1964
+ #
1965
+ # @note When making an API call, you may pass UpgradeElasticsearchDomainRequest
1966
+ # data as a hash:
1967
+ #
1968
+ # {
1969
+ # domain_name: "DomainName", # required
1970
+ # target_version: "ElasticsearchVersionString", # required
1971
+ # perform_check_only: false,
1972
+ # }
1973
+ #
1974
+ # @!attribute [rw] domain_name
1975
+ # The name of an Elasticsearch domain. Domain names are unique across
1976
+ # the domains owned by an account within an AWS region. Domain names
1977
+ # start with a letter or number and can contain the following
1978
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
1979
+ # @return [String]
1980
+ #
1981
+ # @!attribute [rw] target_version
1982
+ # The version of Elasticsearch that you intend to upgrade the domain
1983
+ # to.
1984
+ # @return [String]
1985
+ #
1986
+ # @!attribute [rw] perform_check_only
1987
+ # This flag, when set to True, indicates that an Upgrade Eligibility
1988
+ # Check needs to be performed. This will not actually perform the
1989
+ # Upgrade.
1990
+ # @return [Boolean]
1991
+ #
1992
+ class UpgradeElasticsearchDomainRequest < Struct.new(
1993
+ :domain_name,
1994
+ :target_version,
1995
+ :perform_check_only)
1996
+ include Aws::Structure
1997
+ end
1998
+
1999
+ # Container for response returned by ` UpgradeElasticsearchDomain `
2000
+ # operation.
2001
+ #
2002
+ # @!attribute [rw] domain_name
2003
+ # The name of an Elasticsearch domain. Domain names are unique across
2004
+ # the domains owned by an account within an AWS region. Domain names
2005
+ # start with a letter or number and can contain the following
2006
+ # characters: a-z (lowercase), 0-9, and - (hyphen).
2007
+ # @return [String]
2008
+ #
2009
+ # @!attribute [rw] target_version
2010
+ # The version of Elasticsearch that you intend to upgrade the domain
2011
+ # to.
2012
+ # @return [String]
2013
+ #
2014
+ # @!attribute [rw] perform_check_only
2015
+ # This flag, when set to True, indicates that an Upgrade Eligibility
2016
+ # Check needs to be performed. This will not actually perform the
2017
+ # Upgrade.
2018
+ # @return [Boolean]
2019
+ #
2020
+ class UpgradeElasticsearchDomainResponse < Struct.new(
2021
+ :domain_name,
2022
+ :target_version,
2023
+ :perform_check_only)
2024
+ include Aws::Structure
2025
+ end
2026
+
2027
+ # History of the last 10 Upgrades and Upgrade Eligibility Checks.
2028
+ #
2029
+ # @!attribute [rw] upgrade_name
2030
+ # A string that describes the update briefly
2031
+ # @return [String]
2032
+ #
2033
+ # @!attribute [rw] start_timestamp
2034
+ # UTC Timestamp at which the Upgrade API call was made in
2035
+ # "yyyy-MM-ddTHH:mm:ssZ" format.
2036
+ # @return [Time]
2037
+ #
2038
+ # @!attribute [rw] upgrade_status
2039
+ # The overall status of the update. The status can take one of the
2040
+ # following values: * In Progress
2041
+ # * Succeeded
2042
+ # * Succeeded with Issues
2043
+ # * Failed
2044
+ # @return [String]
2045
+ #
2046
+ # @!attribute [rw] steps_list
2047
+ # A list of ` UpgradeStepItem ` s representing information about each
2048
+ # step performed as pard of a specific Upgrade or Upgrade Eligibility
2049
+ # Check.
2050
+ # @return [Array<Types::UpgradeStepItem>]
2051
+ #
2052
+ class UpgradeHistory < Struct.new(
2053
+ :upgrade_name,
2054
+ :start_timestamp,
2055
+ :upgrade_status,
2056
+ :steps_list)
2057
+ include Aws::Structure
2058
+ end
2059
+
2060
+ # Represents a single step of the Upgrade or Upgrade Eligibility Check
2061
+ # workflow.
2062
+ #
2063
+ # @!attribute [rw] upgrade_step
2064
+ # Represents one of 3 steps that an Upgrade or Upgrade Eligibility
2065
+ # Check does through: * PreUpgradeCheck
2066
+ # * Snapshot
2067
+ # * Upgrade
2068
+ # @return [String]
2069
+ #
2070
+ # @!attribute [rw] upgrade_step_status
2071
+ # The status of a particular step during an upgrade. The status can
2072
+ # take one of the following values: * In Progress
2073
+ # * Succeeded
2074
+ # * Succeeded with Issues
2075
+ # * Failed
2076
+ # @return [String]
2077
+ #
2078
+ # @!attribute [rw] issues
2079
+ # A list of strings containing detailed information about the errors
2080
+ # encountered in a particular step.
2081
+ # @return [Array<String>]
2082
+ #
2083
+ # @!attribute [rw] progress_percent
2084
+ # The Floating point value representing progress percentage of a
2085
+ # particular step.
2086
+ # @return [Float]
2087
+ #
2088
+ class UpgradeStepItem < Struct.new(
2089
+ :upgrade_step,
2090
+ :upgrade_step_status,
2091
+ :issues,
2092
+ :progress_percent)
2093
+ include Aws::Structure
2094
+ end
2095
+
1799
2096
  # Options to specify the subnets and security groups for VPC endpoint.
1800
2097
  # For more information, see [ VPC Endpoints for Amazon Elasticsearch
1801
2098
  # Service Domains][1].
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.7.0
4
+ version: 1.8.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-07-31 00:00:00.000000000 Z
11
+ date: 2018-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core