aws-sdk-elasticsearchservice 1.4.0 → 1.5.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: 23ae18654638c749b7baeb614b69cc4d73927110
4
- data.tar.gz: 8269143c8ffee3bb2fa94eb978b42d757803f164
3
+ metadata.gz: 2e0d9c9faffeef40a4d9d854e0bd5782f6a2f61d
4
+ data.tar.gz: 4e1bbde7117b833caee34c0524ac99f48163db19
5
5
  SHA512:
6
- metadata.gz: 63448fa7f9956c6c987d2798bcc4836f08fc7a6145f1b9fa8a26559f1d272718897d43428f3c60352542aa5a81bd884d1c509983e5fbee079332e42181a25189
7
- data.tar.gz: e79c8a676c2af44b2c03b717dcc64687dcfc5be49857b4cfae8d6a9b1fd9d51db98f29b1ac9f47ac193eedf11a05a2c64af9641e6d8ac82d1492d338b7fa4f50
6
+ metadata.gz: 067c8e10a0a13e88290420019f5acac1d99d393ced7d6cb77376f8fb7ec258fc381647d1a1a4666127cb34211c87e201e48abbf8ca4b8f220c0b73c43a662908
7
+ data.tar.gz: 66991cc5e804090505f1d8712e335a84aef5148f6a089d6196ad04d1cde54a42a57e8edf8a5d876530415c010dd140c1324991be1d5ae856fc714df9a07949f2
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
42
42
  # @service
43
43
  module Aws::ElasticsearchService
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -740,6 +740,112 @@ module Aws::ElasticsearchService
740
740
  req.send_request(options)
741
741
  end
742
742
 
743
+ # Lists available reserved Elasticsearch instance offerings.
744
+ #
745
+ # @option params [String] :reserved_elasticsearch_instance_offering_id
746
+ # The offering identifier filter value. Use this parameter to show only
747
+ # the available offering that matches the specified reservation
748
+ # identifier.
749
+ #
750
+ # @option params [Integer] :max_results
751
+ # Set this value to limit the number of results returned. If not
752
+ # specified, defaults to 100.
753
+ #
754
+ # @option params [String] :next_token
755
+ # NextToken should be sent in case if earlier API call produced result
756
+ # containing NextToken. It is used for pagination.
757
+ #
758
+ # @return [Types::DescribeReservedElasticsearchInstanceOfferingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
759
+ #
760
+ # * {Types::DescribeReservedElasticsearchInstanceOfferingsResponse#next_token #next_token} => String
761
+ # * {Types::DescribeReservedElasticsearchInstanceOfferingsResponse#reserved_elasticsearch_instance_offerings #reserved_elasticsearch_instance_offerings} => Array<Types::ReservedElasticsearchInstanceOffering>
762
+ #
763
+ # @example Request syntax with placeholder values
764
+ #
765
+ # resp = client.describe_reserved_elasticsearch_instance_offerings({
766
+ # reserved_elasticsearch_instance_offering_id: "GUID",
767
+ # max_results: 1,
768
+ # next_token: "NextToken",
769
+ # })
770
+ #
771
+ # @example Response structure
772
+ #
773
+ # resp.next_token #=> String
774
+ # resp.reserved_elasticsearch_instance_offerings #=> Array
775
+ # resp.reserved_elasticsearch_instance_offerings[0].reserved_elasticsearch_instance_offering_id #=> String
776
+ # resp.reserved_elasticsearch_instance_offerings[0].elasticsearch_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"
777
+ # resp.reserved_elasticsearch_instance_offerings[0].duration #=> Integer
778
+ # resp.reserved_elasticsearch_instance_offerings[0].fixed_price #=> Float
779
+ # resp.reserved_elasticsearch_instance_offerings[0].usage_price #=> Float
780
+ # resp.reserved_elasticsearch_instance_offerings[0].currency_code #=> String
781
+ # resp.reserved_elasticsearch_instance_offerings[0].payment_option #=> String, one of "ALL_UPFRONT", "PARTIAL_UPFRONT", "NO_UPFRONT"
782
+ # resp.reserved_elasticsearch_instance_offerings[0].recurring_charges #=> Array
783
+ # resp.reserved_elasticsearch_instance_offerings[0].recurring_charges[0].recurring_charge_amount #=> Float
784
+ # resp.reserved_elasticsearch_instance_offerings[0].recurring_charges[0].recurring_charge_frequency #=> String
785
+ #
786
+ # @overload describe_reserved_elasticsearch_instance_offerings(params = {})
787
+ # @param [Hash] params ({})
788
+ def describe_reserved_elasticsearch_instance_offerings(params = {}, options = {})
789
+ req = build_request(:describe_reserved_elasticsearch_instance_offerings, params)
790
+ req.send_request(options)
791
+ end
792
+
793
+ # Returns information about reserved Elasticsearch instances for this
794
+ # account.
795
+ #
796
+ # @option params [String] :reserved_elasticsearch_instance_id
797
+ # The reserved instance identifier filter value. Use this parameter to
798
+ # show only the reservation that matches the specified reserved
799
+ # Elasticsearch instance ID.
800
+ #
801
+ # @option params [Integer] :max_results
802
+ # Set this value to limit the number of results returned. If not
803
+ # specified, defaults to 100.
804
+ #
805
+ # @option params [String] :next_token
806
+ # NextToken should be sent in case if earlier API call produced result
807
+ # containing NextToken. It is used for pagination.
808
+ #
809
+ # @return [Types::DescribeReservedElasticsearchInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
810
+ #
811
+ # * {Types::DescribeReservedElasticsearchInstancesResponse#next_token #next_token} => String
812
+ # * {Types::DescribeReservedElasticsearchInstancesResponse#reserved_elasticsearch_instances #reserved_elasticsearch_instances} => Array<Types::ReservedElasticsearchInstance>
813
+ #
814
+ # @example Request syntax with placeholder values
815
+ #
816
+ # resp = client.describe_reserved_elasticsearch_instances({
817
+ # reserved_elasticsearch_instance_id: "GUID",
818
+ # max_results: 1,
819
+ # next_token: "NextToken",
820
+ # })
821
+ #
822
+ # @example Response structure
823
+ #
824
+ # resp.next_token #=> String
825
+ # resp.reserved_elasticsearch_instances #=> Array
826
+ # resp.reserved_elasticsearch_instances[0].reservation_name #=> String
827
+ # resp.reserved_elasticsearch_instances[0].reserved_elasticsearch_instance_id #=> String
828
+ # resp.reserved_elasticsearch_instances[0].reserved_elasticsearch_instance_offering_id #=> String
829
+ # resp.reserved_elasticsearch_instances[0].elasticsearch_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"
830
+ # resp.reserved_elasticsearch_instances[0].start_time #=> Time
831
+ # resp.reserved_elasticsearch_instances[0].duration #=> Integer
832
+ # resp.reserved_elasticsearch_instances[0].fixed_price #=> Float
833
+ # resp.reserved_elasticsearch_instances[0].usage_price #=> Float
834
+ # resp.reserved_elasticsearch_instances[0].currency_code #=> String
835
+ # resp.reserved_elasticsearch_instances[0].elasticsearch_instance_count #=> Integer
836
+ # resp.reserved_elasticsearch_instances[0].state #=> String
837
+ # resp.reserved_elasticsearch_instances[0].payment_option #=> String, one of "ALL_UPFRONT", "PARTIAL_UPFRONT", "NO_UPFRONT"
838
+ # resp.reserved_elasticsearch_instances[0].recurring_charges #=> Array
839
+ # resp.reserved_elasticsearch_instances[0].recurring_charges[0].recurring_charge_amount #=> Float
840
+ # resp.reserved_elasticsearch_instances[0].recurring_charges[0].recurring_charge_frequency #=> String
841
+ #
842
+ # @overload describe_reserved_elasticsearch_instances(params = {})
843
+ # @param [Hash] params ({})
844
+ def describe_reserved_elasticsearch_instances(params = {}, options = {})
845
+ req = build_request(:describe_reserved_elasticsearch_instances, params)
846
+ req.send_request(options)
847
+ end
848
+
743
849
  # Returns the name of all Elasticsearch domains owned by the current
744
850
  # user's account.
745
851
  #
@@ -871,6 +977,42 @@ module Aws::ElasticsearchService
871
977
  req.send_request(options)
872
978
  end
873
979
 
980
+ # Allows you to purchase reserved Elasticsearch instances.
981
+ #
982
+ # @option params [required, String] :reserved_elasticsearch_instance_offering_id
983
+ # The ID of the reserved Elasticsearch instance offering to purchase.
984
+ #
985
+ # @option params [required, String] :reservation_name
986
+ # A customer-specified identifier to track this reservation.
987
+ #
988
+ # @option params [Integer] :instance_count
989
+ # The number of Elasticsearch instances to reserve.
990
+ #
991
+ # @return [Types::PurchaseReservedElasticsearchInstanceOfferingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
992
+ #
993
+ # * {Types::PurchaseReservedElasticsearchInstanceOfferingResponse#reserved_elasticsearch_instance_id #reserved_elasticsearch_instance_id} => String
994
+ # * {Types::PurchaseReservedElasticsearchInstanceOfferingResponse#reservation_name #reservation_name} => String
995
+ #
996
+ # @example Request syntax with placeholder values
997
+ #
998
+ # resp = client.purchase_reserved_elasticsearch_instance_offering({
999
+ # reserved_elasticsearch_instance_offering_id: "GUID", # required
1000
+ # reservation_name: "ReservationToken", # required
1001
+ # instance_count: 1,
1002
+ # })
1003
+ #
1004
+ # @example Response structure
1005
+ #
1006
+ # resp.reserved_elasticsearch_instance_id #=> String
1007
+ # resp.reservation_name #=> String
1008
+ #
1009
+ # @overload purchase_reserved_elasticsearch_instance_offering(params = {})
1010
+ # @param [Hash] params ({})
1011
+ def purchase_reserved_elasticsearch_instance_offering(params = {}, options = {})
1012
+ req = build_request(:purchase_reserved_elasticsearch_instance_offering, params)
1013
+ req.send_request(options)
1014
+ end
1015
+
874
1016
  # Removes the specified set of tags from the specified Elasticsearch
875
1017
  # domain.
876
1018
  #
@@ -1102,7 +1244,7 @@ module Aws::ElasticsearchService
1102
1244
  params: params,
1103
1245
  config: config)
1104
1246
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
1105
- context[:gem_version] = '1.4.0'
1247
+ context[:gem_version] = '1.5.0'
1106
1248
  Seahorse::Client::Request.new(handlers, context)
1107
1249
  end
1108
1250
 
@@ -35,12 +35,17 @@ module Aws::ElasticsearchService
35
35
  DescribeElasticsearchDomainsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainsResponse')
36
36
  DescribeElasticsearchInstanceTypeLimitsRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsRequest')
37
37
  DescribeElasticsearchInstanceTypeLimitsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsResponse')
38
+ DescribeReservedElasticsearchInstanceOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstanceOfferingsRequest')
39
+ DescribeReservedElasticsearchInstanceOfferingsResponse = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstanceOfferingsResponse')
40
+ DescribeReservedElasticsearchInstancesRequest = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstancesRequest')
41
+ DescribeReservedElasticsearchInstancesResponse = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstancesResponse')
38
42
  DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
39
43
  DomainId = Shapes::StringShape.new(name: 'DomainId')
40
44
  DomainInfo = Shapes::StructureShape.new(name: 'DomainInfo')
41
45
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
42
46
  DomainName = Shapes::StringShape.new(name: 'DomainName')
43
47
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
48
+ Double = Shapes::FloatShape.new(name: 'Double')
44
49
  EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
45
50
  EBSOptionsStatus = Shapes::StructureShape.new(name: 'EBSOptionsStatus')
46
51
  ESPartitionInstanceType = Shapes::StringShape.new(name: 'ESPartitionInstanceType')
@@ -57,10 +62,13 @@ module Aws::ElasticsearchService
57
62
  EncryptionAtRestOptionsStatus = Shapes::StructureShape.new(name: 'EncryptionAtRestOptionsStatus')
58
63
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
59
64
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
65
+ GUID = Shapes::StringShape.new(name: 'GUID')
60
66
  IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
67
+ InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
61
68
  InstanceCountLimits = Shapes::StructureShape.new(name: 'InstanceCountLimits')
62
69
  InstanceLimits = Shapes::StructureShape.new(name: 'InstanceLimits')
63
70
  InstanceRole = Shapes::StringShape.new(name: 'InstanceRole')
71
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
64
72
  IntegerClass = Shapes::IntegerShape.new(name: 'IntegerClass')
65
73
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
66
74
  InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
@@ -89,7 +97,17 @@ module Aws::ElasticsearchService
89
97
  OptionState = Shapes::StringShape.new(name: 'OptionState')
90
98
  OptionStatus = Shapes::StructureShape.new(name: 'OptionStatus')
91
99
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
100
+ PurchaseReservedElasticsearchInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingRequest')
101
+ PurchaseReservedElasticsearchInstanceOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingResponse')
102
+ RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
103
+ RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
92
104
  RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
105
+ ReservationToken = Shapes::StringShape.new(name: 'ReservationToken')
106
+ ReservedElasticsearchInstance = Shapes::StructureShape.new(name: 'ReservedElasticsearchInstance')
107
+ ReservedElasticsearchInstanceList = Shapes::ListShape.new(name: 'ReservedElasticsearchInstanceList')
108
+ ReservedElasticsearchInstanceOffering = Shapes::StructureShape.new(name: 'ReservedElasticsearchInstanceOffering')
109
+ ReservedElasticsearchInstanceOfferingList = Shapes::ListShape.new(name: 'ReservedElasticsearchInstanceOfferingList')
110
+ ReservedElasticsearchInstancePaymentOption = Shapes::StringShape.new(name: 'ReservedElasticsearchInstancePaymentOption')
93
111
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
94
112
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
95
113
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
@@ -198,6 +216,24 @@ module Aws::ElasticsearchService
198
216
  DescribeElasticsearchInstanceTypeLimitsResponse.add_member(:limits_by_role, Shapes::ShapeRef.new(shape: LimitsByRole, location_name: "LimitsByRole"))
199
217
  DescribeElasticsearchInstanceTypeLimitsResponse.struct_class = Types::DescribeElasticsearchInstanceTypeLimitsResponse
200
218
 
219
+ DescribeReservedElasticsearchInstanceOfferingsRequest.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, location: "querystring", location_name: "offeringId"))
220
+ DescribeReservedElasticsearchInstanceOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
221
+ DescribeReservedElasticsearchInstanceOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
222
+ DescribeReservedElasticsearchInstanceOfferingsRequest.struct_class = Types::DescribeReservedElasticsearchInstanceOfferingsRequest
223
+
224
+ DescribeReservedElasticsearchInstanceOfferingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
225
+ DescribeReservedElasticsearchInstanceOfferingsResponse.add_member(:reserved_elasticsearch_instance_offerings, Shapes::ShapeRef.new(shape: ReservedElasticsearchInstanceOfferingList, location_name: "ReservedElasticsearchInstanceOfferings"))
226
+ DescribeReservedElasticsearchInstanceOfferingsResponse.struct_class = Types::DescribeReservedElasticsearchInstanceOfferingsResponse
227
+
228
+ DescribeReservedElasticsearchInstancesRequest.add_member(:reserved_elasticsearch_instance_id, Shapes::ShapeRef.new(shape: GUID, location: "querystring", location_name: "reservationId"))
229
+ DescribeReservedElasticsearchInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
230
+ DescribeReservedElasticsearchInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
231
+ DescribeReservedElasticsearchInstancesRequest.struct_class = Types::DescribeReservedElasticsearchInstancesRequest
232
+
233
+ DescribeReservedElasticsearchInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
234
+ DescribeReservedElasticsearchInstancesResponse.add_member(:reserved_elasticsearch_instances, Shapes::ShapeRef.new(shape: ReservedElasticsearchInstanceList, location_name: "ReservedElasticsearchInstances"))
235
+ DescribeReservedElasticsearchInstancesResponse.struct_class = Types::DescribeReservedElasticsearchInstancesResponse
236
+
201
237
  DomainInfo.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
202
238
  DomainInfo.struct_class = Types::DomainInfo
203
239
 
@@ -342,10 +378,54 @@ module Aws::ElasticsearchService
342
378
  OptionStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
343
379
  OptionStatus.struct_class = Types::OptionStatus
344
380
 
381
+ PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ReservedElasticsearchInstanceOfferingId"))
382
+ PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, required: true, location_name: "ReservationName"))
383
+ PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "InstanceCount"))
384
+ PurchaseReservedElasticsearchInstanceOfferingRequest.struct_class = Types::PurchaseReservedElasticsearchInstanceOfferingRequest
385
+
386
+ PurchaseReservedElasticsearchInstanceOfferingResponse.add_member(:reserved_elasticsearch_instance_id, Shapes::ShapeRef.new(shape: GUID, location_name: "ReservedElasticsearchInstanceId"))
387
+ PurchaseReservedElasticsearchInstanceOfferingResponse.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, location_name: "ReservationName"))
388
+ PurchaseReservedElasticsearchInstanceOfferingResponse.struct_class = Types::PurchaseReservedElasticsearchInstanceOfferingResponse
389
+
390
+ RecurringCharge.add_member(:recurring_charge_amount, Shapes::ShapeRef.new(shape: Double, location_name: "RecurringChargeAmount"))
391
+ RecurringCharge.add_member(:recurring_charge_frequency, Shapes::ShapeRef.new(shape: String, location_name: "RecurringChargeFrequency"))
392
+ RecurringCharge.struct_class = Types::RecurringCharge
393
+
394
+ RecurringChargeList.member = Shapes::ShapeRef.new(shape: RecurringCharge)
395
+
345
396
  RemoveTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
346
397
  RemoveTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "TagKeys"))
347
398
  RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
348
399
 
400
+ ReservedElasticsearchInstance.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, location_name: "ReservationName"))
401
+ ReservedElasticsearchInstance.add_member(:reserved_elasticsearch_instance_id, Shapes::ShapeRef.new(shape: GUID, location_name: "ReservedElasticsearchInstanceId"))
402
+ ReservedElasticsearchInstance.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedElasticsearchInstanceOfferingId"))
403
+ ReservedElasticsearchInstance.add_member(:elasticsearch_instance_type, Shapes::ShapeRef.new(shape: ESPartitionInstanceType, location_name: "ElasticsearchInstanceType"))
404
+ ReservedElasticsearchInstance.add_member(:start_time, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "StartTime"))
405
+ ReservedElasticsearchInstance.add_member(:duration, Shapes::ShapeRef.new(shape: Integer, location_name: "Duration"))
406
+ ReservedElasticsearchInstance.add_member(:fixed_price, Shapes::ShapeRef.new(shape: Double, location_name: "FixedPrice"))
407
+ ReservedElasticsearchInstance.add_member(:usage_price, Shapes::ShapeRef.new(shape: Double, location_name: "UsagePrice"))
408
+ ReservedElasticsearchInstance.add_member(:currency_code, Shapes::ShapeRef.new(shape: String, location_name: "CurrencyCode"))
409
+ ReservedElasticsearchInstance.add_member(:elasticsearch_instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ElasticsearchInstanceCount"))
410
+ ReservedElasticsearchInstance.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
411
+ ReservedElasticsearchInstance.add_member(:payment_option, Shapes::ShapeRef.new(shape: ReservedElasticsearchInstancePaymentOption, location_name: "PaymentOption"))
412
+ ReservedElasticsearchInstance.add_member(:recurring_charges, Shapes::ShapeRef.new(shape: RecurringChargeList, location_name: "RecurringCharges"))
413
+ ReservedElasticsearchInstance.struct_class = Types::ReservedElasticsearchInstance
414
+
415
+ ReservedElasticsearchInstanceList.member = Shapes::ShapeRef.new(shape: ReservedElasticsearchInstance)
416
+
417
+ ReservedElasticsearchInstanceOffering.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, location_name: "ReservedElasticsearchInstanceOfferingId"))
418
+ ReservedElasticsearchInstanceOffering.add_member(:elasticsearch_instance_type, Shapes::ShapeRef.new(shape: ESPartitionInstanceType, location_name: "ElasticsearchInstanceType"))
419
+ ReservedElasticsearchInstanceOffering.add_member(:duration, Shapes::ShapeRef.new(shape: Integer, location_name: "Duration"))
420
+ ReservedElasticsearchInstanceOffering.add_member(:fixed_price, Shapes::ShapeRef.new(shape: Double, location_name: "FixedPrice"))
421
+ ReservedElasticsearchInstanceOffering.add_member(:usage_price, Shapes::ShapeRef.new(shape: Double, location_name: "UsagePrice"))
422
+ ReservedElasticsearchInstanceOffering.add_member(:currency_code, Shapes::ShapeRef.new(shape: String, location_name: "CurrencyCode"))
423
+ ReservedElasticsearchInstanceOffering.add_member(:payment_option, Shapes::ShapeRef.new(shape: ReservedElasticsearchInstancePaymentOption, location_name: "PaymentOption"))
424
+ ReservedElasticsearchInstanceOffering.add_member(:recurring_charges, Shapes::ShapeRef.new(shape: RecurringChargeList, location_name: "RecurringCharges"))
425
+ ReservedElasticsearchInstanceOffering.struct_class = Types::ReservedElasticsearchInstanceOffering
426
+
427
+ ReservedElasticsearchInstanceOfferingList.member = Shapes::ShapeRef.new(shape: ReservedElasticsearchInstanceOffering)
428
+
349
429
  SnapshotOptions.add_member(:automated_snapshot_start_hour, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AutomatedSnapshotStartHour"))
350
430
  SnapshotOptions.struct_class = Types::SnapshotOptions
351
431
 
@@ -514,6 +594,42 @@ module Aws::ElasticsearchService
514
594
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
515
595
  end)
516
596
 
597
+ api.add_operation(:describe_reserved_elasticsearch_instance_offerings, Seahorse::Model::Operation.new.tap do |o|
598
+ o.name = "DescribeReservedElasticsearchInstanceOfferings"
599
+ o.http_method = "GET"
600
+ o.http_request_uri = "/2015-01-01/es/reservedInstanceOfferings"
601
+ o.input = Shapes::ShapeRef.new(shape: DescribeReservedElasticsearchInstanceOfferingsRequest)
602
+ o.output = Shapes::ShapeRef.new(shape: DescribeReservedElasticsearchInstanceOfferingsResponse)
603
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
604
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
605
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
606
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
607
+ o[:pager] = Aws::Pager.new(
608
+ limit_key: "max_results",
609
+ tokens: {
610
+ "next_token" => "next_token"
611
+ }
612
+ )
613
+ end)
614
+
615
+ api.add_operation(:describe_reserved_elasticsearch_instances, Seahorse::Model::Operation.new.tap do |o|
616
+ o.name = "DescribeReservedElasticsearchInstances"
617
+ o.http_method = "GET"
618
+ o.http_request_uri = "/2015-01-01/es/reservedInstances"
619
+ o.input = Shapes::ShapeRef.new(shape: DescribeReservedElasticsearchInstancesRequest)
620
+ o.output = Shapes::ShapeRef.new(shape: DescribeReservedElasticsearchInstancesResponse)
621
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
622
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
624
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
625
+ o[:pager] = Aws::Pager.new(
626
+ limit_key: "max_results",
627
+ tokens: {
628
+ "next_token" => "next_token"
629
+ }
630
+ )
631
+ end)
632
+
517
633
  api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
518
634
  o.name = "ListDomainNames"
519
635
  o.http_method = "GET"
@@ -572,6 +688,20 @@ module Aws::ElasticsearchService
572
688
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
573
689
  end)
574
690
 
691
+ api.add_operation(:purchase_reserved_elasticsearch_instance_offering, Seahorse::Model::Operation.new.tap do |o|
692
+ o.name = "PurchaseReservedElasticsearchInstanceOffering"
693
+ o.http_method = "POST"
694
+ o.http_request_uri = "/2015-01-01/es/purchaseReservedInstanceOffering"
695
+ o.input = Shapes::ShapeRef.new(shape: PurchaseReservedElasticsearchInstanceOfferingRequest)
696
+ o.output = Shapes::ShapeRef.new(shape: PurchaseReservedElasticsearchInstanceOfferingResponse)
697
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
699
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
700
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
701
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
702
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
703
+ end)
704
+
575
705
  api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
576
706
  o.name = "RemoveTags"
577
707
  o.http_method = "POST"
@@ -512,6 +512,108 @@ module Aws::ElasticsearchService
512
512
  include Aws::Structure
513
513
  end
514
514
 
515
+ # Container for parameters to
516
+ # `DescribeReservedElasticsearchInstanceOfferings`
517
+ #
518
+ # @note When making an API call, you may pass DescribeReservedElasticsearchInstanceOfferingsRequest
519
+ # data as a hash:
520
+ #
521
+ # {
522
+ # reserved_elasticsearch_instance_offering_id: "GUID",
523
+ # max_results: 1,
524
+ # next_token: "NextToken",
525
+ # }
526
+ #
527
+ # @!attribute [rw] reserved_elasticsearch_instance_offering_id
528
+ # The offering identifier filter value. Use this parameter to show
529
+ # only the available offering that matches the specified reservation
530
+ # identifier.
531
+ # @return [String]
532
+ #
533
+ # @!attribute [rw] max_results
534
+ # Set this value to limit the number of results returned. If not
535
+ # specified, defaults to 100.
536
+ # @return [Integer]
537
+ #
538
+ # @!attribute [rw] next_token
539
+ # NextToken should be sent in case if earlier API call produced result
540
+ # containing NextToken. It is used for pagination.
541
+ # @return [String]
542
+ #
543
+ class DescribeReservedElasticsearchInstanceOfferingsRequest < Struct.new(
544
+ :reserved_elasticsearch_instance_offering_id,
545
+ :max_results,
546
+ :next_token)
547
+ include Aws::Structure
548
+ end
549
+
550
+ # Container for results from
551
+ # `DescribeReservedElasticsearchInstanceOfferings`
552
+ #
553
+ # @!attribute [rw] next_token
554
+ # Provides an identifier to allow retrieval of paginated results.
555
+ # @return [String]
556
+ #
557
+ # @!attribute [rw] reserved_elasticsearch_instance_offerings
558
+ # List of reserved Elasticsearch instance offerings
559
+ # @return [Array<Types::ReservedElasticsearchInstanceOffering>]
560
+ #
561
+ class DescribeReservedElasticsearchInstanceOfferingsResponse < Struct.new(
562
+ :next_token,
563
+ :reserved_elasticsearch_instance_offerings)
564
+ include Aws::Structure
565
+ end
566
+
567
+ # Container for parameters to `DescribeReservedElasticsearchInstances`
568
+ #
569
+ # @note When making an API call, you may pass DescribeReservedElasticsearchInstancesRequest
570
+ # data as a hash:
571
+ #
572
+ # {
573
+ # reserved_elasticsearch_instance_id: "GUID",
574
+ # max_results: 1,
575
+ # next_token: "NextToken",
576
+ # }
577
+ #
578
+ # @!attribute [rw] reserved_elasticsearch_instance_id
579
+ # The reserved instance identifier filter value. Use this parameter to
580
+ # show only the reservation that matches the specified reserved
581
+ # Elasticsearch instance ID.
582
+ # @return [String]
583
+ #
584
+ # @!attribute [rw] max_results
585
+ # Set this value to limit the number of results returned. If not
586
+ # specified, defaults to 100.
587
+ # @return [Integer]
588
+ #
589
+ # @!attribute [rw] next_token
590
+ # NextToken should be sent in case if earlier API call produced result
591
+ # containing NextToken. It is used for pagination.
592
+ # @return [String]
593
+ #
594
+ class DescribeReservedElasticsearchInstancesRequest < Struct.new(
595
+ :reserved_elasticsearch_instance_id,
596
+ :max_results,
597
+ :next_token)
598
+ include Aws::Structure
599
+ end
600
+
601
+ # Container for results from `DescribeReservedElasticsearchInstances`
602
+ #
603
+ # @!attribute [rw] next_token
604
+ # Provides an identifier to allow retrieval of paginated results.
605
+ # @return [String]
606
+ #
607
+ # @!attribute [rw] reserved_elasticsearch_instances
608
+ # List of reserved Elasticsearch instances.
609
+ # @return [Array<Types::ReservedElasticsearchInstance>]
610
+ #
611
+ class DescribeReservedElasticsearchInstancesResponse < Struct.new(
612
+ :next_token,
613
+ :reserved_elasticsearch_instances)
614
+ include Aws::Structure
615
+ end
616
+
515
617
  # @!attribute [rw] domain_name
516
618
  # Specifies the `DomainName`.
517
619
  # @return [String]
@@ -1222,6 +1324,72 @@ module Aws::ElasticsearchService
1222
1324
  include Aws::Structure
1223
1325
  end
1224
1326
 
1327
+ # Container for parameters to
1328
+ # `PurchaseReservedElasticsearchInstanceOffering`
1329
+ #
1330
+ # @note When making an API call, you may pass PurchaseReservedElasticsearchInstanceOfferingRequest
1331
+ # data as a hash:
1332
+ #
1333
+ # {
1334
+ # reserved_elasticsearch_instance_offering_id: "GUID", # required
1335
+ # reservation_name: "ReservationToken", # required
1336
+ # instance_count: 1,
1337
+ # }
1338
+ #
1339
+ # @!attribute [rw] reserved_elasticsearch_instance_offering_id
1340
+ # The ID of the reserved Elasticsearch instance offering to purchase.
1341
+ # @return [String]
1342
+ #
1343
+ # @!attribute [rw] reservation_name
1344
+ # A customer-specified identifier to track this reservation.
1345
+ # @return [String]
1346
+ #
1347
+ # @!attribute [rw] instance_count
1348
+ # The number of Elasticsearch instances to reserve.
1349
+ # @return [Integer]
1350
+ #
1351
+ class PurchaseReservedElasticsearchInstanceOfferingRequest < Struct.new(
1352
+ :reserved_elasticsearch_instance_offering_id,
1353
+ :reservation_name,
1354
+ :instance_count)
1355
+ include Aws::Structure
1356
+ end
1357
+
1358
+ # Represents the output of a
1359
+ # `PurchaseReservedElasticsearchInstanceOffering` operation.
1360
+ #
1361
+ # @!attribute [rw] reserved_elasticsearch_instance_id
1362
+ # Details of the reserved Elasticsearch instance which was purchased.
1363
+ # @return [String]
1364
+ #
1365
+ # @!attribute [rw] reservation_name
1366
+ # The customer-specified identifier used to track this reservation.
1367
+ # @return [String]
1368
+ #
1369
+ class PurchaseReservedElasticsearchInstanceOfferingResponse < Struct.new(
1370
+ :reserved_elasticsearch_instance_id,
1371
+ :reservation_name)
1372
+ include Aws::Structure
1373
+ end
1374
+
1375
+ # Contains the specific price and frequency of a recurring charges for a
1376
+ # reserved Elasticsearch instance, or for a reserved Elasticsearch
1377
+ # instance offering.
1378
+ #
1379
+ # @!attribute [rw] recurring_charge_amount
1380
+ # The monetary amount of the recurring charge.
1381
+ # @return [Float]
1382
+ #
1383
+ # @!attribute [rw] recurring_charge_frequency
1384
+ # The frequency of the recurring charge.
1385
+ # @return [String]
1386
+ #
1387
+ class RecurringCharge < Struct.new(
1388
+ :recurring_charge_amount,
1389
+ :recurring_charge_frequency)
1390
+ include Aws::Structure
1391
+ end
1392
+
1225
1393
  # Container for the parameters to the `RemoveTags` operation. Specify
1226
1394
  # the `ARN` for the Elasticsearch domain from which you want to remove
1227
1395
  # the specified `TagKey`.
@@ -1250,6 +1418,134 @@ module Aws::ElasticsearchService
1250
1418
  include Aws::Structure
1251
1419
  end
1252
1420
 
1421
+ # Details of a reserved Elasticsearch instance.
1422
+ #
1423
+ # @!attribute [rw] reservation_name
1424
+ # The customer-specified identifier to track this reservation.
1425
+ # @return [String]
1426
+ #
1427
+ # @!attribute [rw] reserved_elasticsearch_instance_id
1428
+ # The unique identifier for the reservation.
1429
+ # @return [String]
1430
+ #
1431
+ # @!attribute [rw] reserved_elasticsearch_instance_offering_id
1432
+ # The offering identifier.
1433
+ # @return [String]
1434
+ #
1435
+ # @!attribute [rw] elasticsearch_instance_type
1436
+ # The Elasticsearch instance type offered by the reserved instance
1437
+ # offering.
1438
+ # @return [String]
1439
+ #
1440
+ # @!attribute [rw] start_time
1441
+ # The time the reservation started.
1442
+ # @return [Time]
1443
+ #
1444
+ # @!attribute [rw] duration
1445
+ # The duration, in seconds, for which the Elasticsearch instance is
1446
+ # reserved.
1447
+ # @return [Integer]
1448
+ #
1449
+ # @!attribute [rw] fixed_price
1450
+ # The upfront fixed charge you will paid to purchase the specific
1451
+ # reserved Elasticsearch instance offering.
1452
+ # @return [Float]
1453
+ #
1454
+ # @!attribute [rw] usage_price
1455
+ # The rate you are charged for each hour for the domain that is using
1456
+ # this reserved instance.
1457
+ # @return [Float]
1458
+ #
1459
+ # @!attribute [rw] currency_code
1460
+ # The currency code for the reserved Elasticsearch instance offering.
1461
+ # @return [String]
1462
+ #
1463
+ # @!attribute [rw] elasticsearch_instance_count
1464
+ # The number of Elasticsearch instances that have been reserved.
1465
+ # @return [Integer]
1466
+ #
1467
+ # @!attribute [rw] state
1468
+ # The state of the reserved Elasticsearch instance.
1469
+ # @return [String]
1470
+ #
1471
+ # @!attribute [rw] payment_option
1472
+ # The payment option as defined in the reserved Elasticsearch instance
1473
+ # offering.
1474
+ # @return [String]
1475
+ #
1476
+ # @!attribute [rw] recurring_charges
1477
+ # The charge to your account regardless of whether you are creating
1478
+ # any domains using the instance offering.
1479
+ # @return [Array<Types::RecurringCharge>]
1480
+ #
1481
+ class ReservedElasticsearchInstance < Struct.new(
1482
+ :reservation_name,
1483
+ :reserved_elasticsearch_instance_id,
1484
+ :reserved_elasticsearch_instance_offering_id,
1485
+ :elasticsearch_instance_type,
1486
+ :start_time,
1487
+ :duration,
1488
+ :fixed_price,
1489
+ :usage_price,
1490
+ :currency_code,
1491
+ :elasticsearch_instance_count,
1492
+ :state,
1493
+ :payment_option,
1494
+ :recurring_charges)
1495
+ include Aws::Structure
1496
+ end
1497
+
1498
+ # Details of a reserved Elasticsearch instance offering.
1499
+ #
1500
+ # @!attribute [rw] reserved_elasticsearch_instance_offering_id
1501
+ # The Elasticsearch reserved instance offering identifier.
1502
+ # @return [String]
1503
+ #
1504
+ # @!attribute [rw] elasticsearch_instance_type
1505
+ # The Elasticsearch instance type offered by the reserved instance
1506
+ # offering.
1507
+ # @return [String]
1508
+ #
1509
+ # @!attribute [rw] duration
1510
+ # The duration, in seconds, for which the offering will reserve the
1511
+ # Elasticsearch instance.
1512
+ # @return [Integer]
1513
+ #
1514
+ # @!attribute [rw] fixed_price
1515
+ # The upfront fixed charge you will pay to purchase the specific
1516
+ # reserved Elasticsearch instance offering.
1517
+ # @return [Float]
1518
+ #
1519
+ # @!attribute [rw] usage_price
1520
+ # The rate you are charged for each hour the domain that is using the
1521
+ # offering is running.
1522
+ # @return [Float]
1523
+ #
1524
+ # @!attribute [rw] currency_code
1525
+ # The currency code for the reserved Elasticsearch instance offering.
1526
+ # @return [String]
1527
+ #
1528
+ # @!attribute [rw] payment_option
1529
+ # Payment option for the reserved Elasticsearch instance offering
1530
+ # @return [String]
1531
+ #
1532
+ # @!attribute [rw] recurring_charges
1533
+ # The charge to your account regardless of whether you are creating
1534
+ # any domains using the instance offering.
1535
+ # @return [Array<Types::RecurringCharge>]
1536
+ #
1537
+ class ReservedElasticsearchInstanceOffering < Struct.new(
1538
+ :reserved_elasticsearch_instance_offering_id,
1539
+ :elasticsearch_instance_type,
1540
+ :duration,
1541
+ :fixed_price,
1542
+ :usage_price,
1543
+ :currency_code,
1544
+ :payment_option,
1545
+ :recurring_charges)
1546
+ include Aws::Structure
1547
+ end
1548
+
1253
1549
  # Specifies the time, in UTC format, when the service takes a daily
1254
1550
  # automated snapshot of the specified Elasticsearch domain. Default
1255
1551
  # value is `0` hours.
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.4.0
4
+ version: 1.5.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-04-02 00:00:00.000000000 Z
11
+ date: 2018-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.2.2
78
+ rubygems_version: 2.5.2.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - Amazon Elasticsearch Service