aws-sdk-ec2 1.6.0 → 1.7.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: 058c7eacf8eb00c641d672f08e546d631e13821b
4
- data.tar.gz: 85cff28e4fff5a7877256ae8f0991cf1f4dce693
3
+ metadata.gz: 9eb1a43f6cd63c2232c0d731a11b1e652a1c7042
4
+ data.tar.gz: d0dcba7c0bfa39b730c7a5fef5fc53161977a794
5
5
  SHA512:
6
- metadata.gz: 72e740690dcb4a3e295d008280543771905715b510365244f829fe0c6f98f37bb37debbd7d471e21504b5785be61fe20720d710ce2cef24881b5b7519b58a07e
7
- data.tar.gz: bdd54152968199b7c544b6ad89cbaddde909806d7d5eb20788e5a0eb48ef438bd99cc6c63e4fe6108009516fecea99aef0c18abaa4ca5bea40810e12e510121a
6
+ metadata.gz: 12248ce58771593847aaeca2f281a46c50ee80dbc4b006f99c4b69a129bfe6c72d6700d52501c37b2f87e6b055b89f757b8548c475e37032ccef871fa6e3b810
7
+ data.tar.gz: c8ab8116deb282b00de5c82a708e9ca6dc778efa6af5501c97a3b96ddaf1e6c7165dc442feced54ec7f4beb28fe5d730ea3235225d6b0a83b92057eb80ba2f75
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.6.0'
68
+ GEM_VERSION = '1.7.0'
69
69
 
70
70
  end
@@ -12605,6 +12605,7 @@ module Aws::EC2
12605
12605
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.valid_from #=> Time
12606
12606
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.valid_until #=> Time
12607
12607
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.replace_unhealthy_instances #=> Boolean
12608
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_interruption_behavior #=> String, one of "stop", "terminate"
12608
12609
  # resp.spot_fleet_request_configs[0].spot_fleet_request_id #=> String
12609
12610
  # resp.spot_fleet_request_configs[0].spot_fleet_request_state #=> String, one of "submitted", "active", "cancelled", "failed", "cancelled_running", "cancelled_terminating", "modifying"
12610
12611
  #
@@ -12917,6 +12918,7 @@ module Aws::EC2
12917
12918
  # resp.spot_instance_requests[0].type #=> String, one of "one-time", "persistent"
12918
12919
  # resp.spot_instance_requests[0].valid_from #=> Time
12919
12920
  # resp.spot_instance_requests[0].valid_until #=> Time
12921
+ # resp.spot_instance_requests[0].instance_interruption_behavior #=> String, one of "stop", "terminate"
12920
12922
  #
12921
12923
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequests AWS API Documentation
12922
12924
  #
@@ -19160,6 +19162,7 @@ module Aws::EC2
19160
19162
  # valid_from: Time.now,
19161
19163
  # valid_until: Time.now,
19162
19164
  # replace_unhealthy_instances: false,
19165
+ # instance_interruption_behavior: "stop", # accepts stop, terminate
19163
19166
  # },
19164
19167
  # })
19165
19168
  #
@@ -19279,6 +19282,10 @@ module Aws::EC2
19279
19282
  #
19280
19283
  # Default: The request is effective indefinitely.
19281
19284
  #
19285
+ # @option params [String] :instance_interruption_behavior
19286
+ # Indicates whether a Spot instance stops or terminates when it is
19287
+ # interrupted.
19288
+ #
19282
19289
  # @return [Types::RequestSpotInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
19283
19290
  #
19284
19291
  # * {Types::RequestSpotInstancesResult#spot_instance_requests #spot_instance_requests} => Array<Types::SpotInstanceRequest>
@@ -19412,6 +19419,7 @@ module Aws::EC2
19412
19419
  # type: "one-time", # accepts one-time, persistent
19413
19420
  # valid_from: Time.now,
19414
19421
  # valid_until: Time.now,
19422
+ # instance_interruption_behavior: "stop", # accepts stop, terminate
19415
19423
  # })
19416
19424
  #
19417
19425
  # @example Response structure
@@ -19484,6 +19492,7 @@ module Aws::EC2
19484
19492
  # resp.spot_instance_requests[0].type #=> String, one of "one-time", "persistent"
19485
19493
  # resp.spot_instance_requests[0].valid_from #=> Time
19486
19494
  # resp.spot_instance_requests[0].valid_until #=> Time
19495
+ # resp.spot_instance_requests[0].instance_interruption_behavior #=> String, one of "stop", "terminate"
19487
19496
  #
19488
19497
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstances AWS API Documentation
19489
19498
  #
@@ -21196,7 +21205,7 @@ module Aws::EC2
21196
21205
  params: params,
21197
21206
  config: config)
21198
21207
  context[:gem_name] = 'aws-sdk-ec2'
21199
- context[:gem_version] = '1.6.0'
21208
+ context[:gem_version] = '1.7.0'
21200
21209
  Seahorse::Client::Request.new(handlers, context)
21201
21210
  end
21202
21211
 
@@ -522,6 +522,7 @@ module Aws::EC2
522
522
  InstanceHealthStatus = Shapes::StringShape.new(name: 'InstanceHealthStatus')
523
523
  InstanceIdSet = Shapes::ListShape.new(name: 'InstanceIdSet')
524
524
  InstanceIdStringList = Shapes::ListShape.new(name: 'InstanceIdStringList')
525
+ InstanceInterruptionBehavior = Shapes::StringShape.new(name: 'InstanceInterruptionBehavior')
525
526
  InstanceIpv6Address = Shapes::StructureShape.new(name: 'InstanceIpv6Address')
526
527
  InstanceIpv6AddressList = Shapes::ListShape.new(name: 'InstanceIpv6AddressList')
527
528
  InstanceLifecycleType = Shapes::StringShape.new(name: 'InstanceLifecycleType')
@@ -3952,6 +3953,7 @@ module Aws::EC2
3952
3953
  RequestSpotInstancesRequest.add_member(:type, Shapes::ShapeRef.new(shape: SpotInstanceType, location_name: "type"))
3953
3954
  RequestSpotInstancesRequest.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "validFrom"))
3954
3955
  RequestSpotInstancesRequest.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
3956
+ RequestSpotInstancesRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
3955
3957
  RequestSpotInstancesRequest.struct_class = Types::RequestSpotInstancesRequest
3956
3958
 
3957
3959
  RequestSpotInstancesResult.add_member(:spot_instance_requests, Shapes::ShapeRef.new(shape: SpotInstanceRequestList, location_name: "spotInstanceRequestSet"))
@@ -4491,6 +4493,7 @@ module Aws::EC2
4491
4493
  SpotFleetRequestConfigData.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "validFrom"))
4492
4494
  SpotFleetRequestConfigData.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
4493
4495
  SpotFleetRequestConfigData.add_member(:replace_unhealthy_instances, Shapes::ShapeRef.new(shape: Boolean, location_name: "replaceUnhealthyInstances"))
4496
+ SpotFleetRequestConfigData.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
4494
4497
  SpotFleetRequestConfigData.struct_class = Types::SpotFleetRequestConfigData
4495
4498
 
4496
4499
  SpotFleetRequestConfigSet.member = Shapes::ShapeRef.new(shape: SpotFleetRequestConfig, location_name: "item")
@@ -4519,6 +4522,7 @@ module Aws::EC2
4519
4522
  SpotInstanceRequest.add_member(:type, Shapes::ShapeRef.new(shape: SpotInstanceType, location_name: "type"))
4520
4523
  SpotInstanceRequest.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "validFrom"))
4521
4524
  SpotInstanceRequest.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
4525
+ SpotInstanceRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
4522
4526
  SpotInstanceRequest.struct_class = Types::SpotInstanceRequest
4523
4527
 
4524
4528
  SpotInstanceRequestIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "SpotInstanceRequestId")
@@ -19463,6 +19463,7 @@ module Aws::EC2
19463
19463
  # valid_from: Time.now,
19464
19464
  # valid_until: Time.now,
19465
19465
  # replace_unhealthy_instances: false,
19466
+ # instance_interruption_behavior: "stop", # accepts stop, terminate
19466
19467
  # },
19467
19468
  # }
19468
19469
  #
@@ -19579,6 +19580,7 @@ module Aws::EC2
19579
19580
  # type: "one-time", # accepts one-time, persistent
19580
19581
  # valid_from: Time.now,
19581
19582
  # valid_until: Time.now,
19583
+ # instance_interruption_behavior: "stop", # accepts stop, terminate
19582
19584
  # }
19583
19585
  #
19584
19586
  # @!attribute [rw] availability_zone_group
@@ -19687,6 +19689,11 @@ module Aws::EC2
19687
19689
  # Default: The request is effective indefinitely.
19688
19690
  # @return [Time]
19689
19691
  #
19692
+ # @!attribute [rw] instance_interruption_behavior
19693
+ # Indicates whether a Spot instance stops or terminates when it is
19694
+ # interrupted.
19695
+ # @return [String]
19696
+ #
19690
19697
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstancesRequest AWS API Documentation
19691
19698
  #
19692
19699
  class RequestSpotInstancesRequest < Struct.new(
@@ -19700,7 +19707,8 @@ module Aws::EC2
19700
19707
  :spot_price,
19701
19708
  :type,
19702
19709
  :valid_from,
19703
- :valid_until)
19710
+ :valid_until,
19711
+ :instance_interruption_behavior)
19704
19712
  include Aws::Structure
19705
19713
  end
19706
19714
 
@@ -23115,6 +23123,7 @@ module Aws::EC2
23115
23123
  # valid_from: Time.now,
23116
23124
  # valid_until: Time.now,
23117
23125
  # replace_unhealthy_instances: false,
23126
+ # instance_interruption_behavior: "stop", # accepts stop, terminate
23118
23127
  # }
23119
23128
  #
23120
23129
  # @!attribute [rw] allocation_strategy
@@ -23199,6 +23208,11 @@ module Aws::EC2
23199
23208
  # Indicates whether Spot fleet should replace unhealthy instances.
23200
23209
  # @return [Boolean]
23201
23210
  #
23211
+ # @!attribute [rw] instance_interruption_behavior
23212
+ # Indicates whether a Spot instance stops or terminates when it is
23213
+ # interrupted.
23214
+ # @return [String]
23215
+ #
23202
23216
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData AWS API Documentation
23203
23217
  #
23204
23218
  class SpotFleetRequestConfigData < Struct.new(
@@ -23214,7 +23228,8 @@ module Aws::EC2
23214
23228
  :type,
23215
23229
  :valid_from,
23216
23230
  :valid_until,
23217
- :replace_unhealthy_instances)
23231
+ :replace_unhealthy_instances,
23232
+ :instance_interruption_behavior)
23218
23233
  include Aws::Structure
23219
23234
  end
23220
23235
 
@@ -23346,6 +23361,11 @@ module Aws::EC2
23346
23361
  # remains active until it is canceled or this date is reached.
23347
23362
  # @return [Time]
23348
23363
  #
23364
+ # @!attribute [rw] instance_interruption_behavior
23365
+ # Indicates whether a Spot instance stops or terminates when it is
23366
+ # interrupted.
23367
+ # @return [String]
23368
+ #
23349
23369
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceRequest AWS API Documentation
23350
23370
  #
23351
23371
  class SpotInstanceRequest < Struct.new(
@@ -23366,7 +23386,8 @@ module Aws::EC2
23366
23386
  :tags,
23367
23387
  :type,
23368
23388
  :valid_from,
23369
- :valid_until)
23389
+ :valid_until,
23390
+ :instance_interruption_behavior)
23370
23391
  include Aws::Structure
23371
23392
  end
23372
23393
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.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: 2017-09-14 00:00:00.000000000 Z
11
+ date: 2017-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4