aws-sdk-ec2 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91ed02fcd289b4b344767d7564d54976c936ba25
4
- data.tar.gz: e3a21bde6e0309391d84c99346d5919ab28cc36a
3
+ metadata.gz: b7dc40ea8c0cf457530a39a18e9fc364509b1f08
4
+ data.tar.gz: 584473d12961edd090b4a249b8045083aa5d5dbc
5
5
  SHA512:
6
- metadata.gz: a482f7f6fe6beca0dcdb3f0f4112e9aa6d50568e63fac3f3e5f5e20f05c613eacbf51fd2c3d0afee1803763b083d82bf5dcbddc1bd21c35a700fdd903d38a1b6
7
- data.tar.gz: b0c68d1a01ceda868f7dd58e443f70ea845618f7cb65212666a4b29a30f698ca34663612d1ddf71122bac1843e7356dc6b3413713b03a46f15436eceaa117353
6
+ metadata.gz: 00750389f13bcdb9e82f1b2bfa732e24cf569dcdb9934a9f634921243043838b14668fb3a2e7aa112f543ed6d3d81386ce2fed8559fbc73b5aea15260ef3324b
7
+ data.tar.gz: 140a775129e62cf0c3eaa4d64cb7dda6fa9aed20f17cae71617835785d60b8b07784c6dd5794c427eeb5ae21348b75fdd72d0ae2e92d6d936a69025c8b811eaf
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.11.0'
68
+ GEM_VERSION = '1.12.0'
69
69
 
70
70
  end
@@ -159,12 +159,12 @@ module Aws::EC2
159
159
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
160
160
  #
161
161
  # @option params [required, Array<String>] :reserved_instance_ids
162
- # The IDs of the Convertible Reserved Instances to exchange for other
163
- # Convertible Reserved Instances of the same or higher value.
162
+ # The IDs of the Convertible Reserved Instances to exchange for another
163
+ # Convertible Reserved Instance of the same or higher value.
164
164
  #
165
165
  # @option params [Array<Types::TargetConfigurationRequest>] :target_configurations
166
- # The configurations of the Convertible Reserved Instance offerings that
167
- # you are purchasing in this exchange.
166
+ # The configuration of the target Convertible Reserved Instance to
167
+ # exchange for your current Convertible Reserved Instances.
168
168
  #
169
169
  # @return [Types::AcceptReservedInstancesExchangeQuoteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
170
170
  #
@@ -15978,10 +15978,11 @@ module Aws::EC2
15978
15978
  req.send_request(options)
15979
15979
  end
15980
15980
 
15981
- # Returns details about the values and term of your specified
15982
- # Convertible Reserved Instances. When a target configuration is
15983
- # specified, it returns information about whether the exchange is valid
15984
- # and can be performed.
15981
+ # Returns a quote and exchange information for exchanging one or more
15982
+ # specified Convertible Reserved Instances for a new Convertible
15983
+ # Reserved Instance. If the exchange cannot be performed, the reason is
15984
+ # returned in the response. Use AcceptReservedInstancesExchangeQuote to
15985
+ # perform the exchange.
15985
15986
  #
15986
15987
  # @option params [Boolean] :dry_run
15987
15988
  # Checks whether you have the required permissions for the action,
@@ -15993,8 +15994,8 @@ module Aws::EC2
15993
15994
  # The IDs of the Convertible Reserved Instances to exchange.
15994
15995
  #
15995
15996
  # @option params [Array<Types::TargetConfigurationRequest>] :target_configurations
15996
- # The configuration requirements of the Convertible Reserved Instances
15997
- # to exchange for your current Convertible Reserved Instances.
15997
+ # The configuration of the target Convertible Reserved Instance to
15998
+ # exchange for your current Convertible Reserved Instances.
15998
15999
  #
15999
16000
  # @return [Types::GetReservedInstancesExchangeQuoteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
16000
16001
  #
@@ -17217,9 +17218,9 @@ module Aws::EC2
17217
17218
  end
17218
17219
 
17219
17220
  # Modifies the Availability Zone, instance count, instance type, or
17220
- # network platform (EC2-Classic or EC2-VPC) of your Standard Reserved
17221
- # Instances. The Reserved Instances to be modified must be identical,
17222
- # except for Availability Zone, network platform, and instance type.
17221
+ # network platform (EC2-Classic or EC2-VPC) of your Reserved Instances.
17222
+ # The Reserved Instances to be modified must be identical, except for
17223
+ # Availability Zone, network platform, and instance type.
17223
17224
  #
17224
17225
  # For more information, see [Modifying Reserved Instances][1] in the
17225
17226
  # Amazon Elastic Compute Cloud User Guide.
@@ -17945,6 +17946,59 @@ module Aws::EC2
17945
17946
  req.send_request(options)
17946
17947
  end
17947
17948
 
17949
+ # Modifies the instance tenancy attribute of the specified VPC. You can
17950
+ # change the instance tenancy attribute of a VPC to `default` only. You
17951
+ # cannot change the instance tenancy attribute to `dedicated`.
17952
+ #
17953
+ # After you modify the tenancy of the VPC, any new instances that you
17954
+ # launch into the VPC have a tenancy of `default`, unless you specify
17955
+ # otherwise during launch. The tenancy of any existing instances in the
17956
+ # VPC is not affected.
17957
+ #
17958
+ # For more information about Dedicated Instances, see [Dedicated
17959
+ # Instances][1] in the *Amazon Elastic Compute Cloud User Guide*.
17960
+ #
17961
+ #
17962
+ #
17963
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-instance.html
17964
+ #
17965
+ # @option params [required, String] :vpc_id
17966
+ # The ID of the VPC.
17967
+ #
17968
+ # @option params [required, String] :instance_tenancy
17969
+ # The instance tenancy attribute for the VPC.
17970
+ #
17971
+ # @option params [Boolean] :dry_run
17972
+ # Checks whether you have the required permissions for the operation,
17973
+ # without actually making the request, and provides an error response.
17974
+ # If you have the required permissions, the error response is
17975
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
17976
+ #
17977
+ # @return [Types::ModifyVpcTenancyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
17978
+ #
17979
+ # * {Types::ModifyVpcTenancyResult#return_value #return_value} => Boolean
17980
+ #
17981
+ # @example Request syntax with placeholder values
17982
+ #
17983
+ # resp = client.modify_vpc_tenancy({
17984
+ # vpc_id: "String", # required
17985
+ # instance_tenancy: "default", # required, accepts default
17986
+ # dry_run: false,
17987
+ # })
17988
+ #
17989
+ # @example Response structure
17990
+ #
17991
+ # resp.return_value #=> Boolean
17992
+ #
17993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancy AWS API Documentation
17994
+ #
17995
+ # @overload modify_vpc_tenancy(params = {})
17996
+ # @param [Hash] params ({})
17997
+ def modify_vpc_tenancy(params = {}, options = {})
17998
+ req = build_request(:modify_vpc_tenancy, params)
17999
+ req.send_request(options)
18000
+ end
18001
+
17948
18002
  # Enables detailed monitoring for a running instance. Otherwise, basic
17949
18003
  # monitoring is enabled. For more information, see [Monitoring Your
17950
18004
  # Instances and Volumes][1] in the *Amazon Elastic Compute Cloud User
@@ -20454,10 +20508,9 @@ module Aws::EC2
20454
20508
  # @option params [String] :user_data
20455
20509
  # The user data to make available to the instance. For more information,
20456
20510
  # see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
20457
- # [Adding User Data][2] (Windows). If you are using an AWS SDK or
20458
- # command line tool, base64-encoding is performed for you, and you can
20459
- # load the text from a file. Otherwise, you must provide base64-encoded
20460
- # text.
20511
+ # [Adding User Data][2] (Windows). If you are using a command line tool,
20512
+ # base64-encoding is performed for you, and you can load the text from a
20513
+ # file. Otherwise, you must provide base64-encoded text.
20461
20514
  #
20462
20515
  #
20463
20516
  #
@@ -21497,7 +21550,7 @@ module Aws::EC2
21497
21550
  params: params,
21498
21551
  config: config)
21499
21552
  context[:gem_name] = 'aws-sdk-ec2'
21500
- context[:gem_version] = '1.11.0'
21553
+ context[:gem_version] = '1.12.0'
21501
21554
  Seahorse::Client::Request.new(handlers, context)
21502
21555
  end
21503
21556
 
@@ -618,6 +618,8 @@ module Aws::EC2
618
618
  ModifyVpcEndpointResult = Shapes::StructureShape.new(name: 'ModifyVpcEndpointResult')
619
619
  ModifyVpcPeeringConnectionOptionsRequest = Shapes::StructureShape.new(name: 'ModifyVpcPeeringConnectionOptionsRequest')
620
620
  ModifyVpcPeeringConnectionOptionsResult = Shapes::StructureShape.new(name: 'ModifyVpcPeeringConnectionOptionsResult')
621
+ ModifyVpcTenancyRequest = Shapes::StructureShape.new(name: 'ModifyVpcTenancyRequest')
622
+ ModifyVpcTenancyResult = Shapes::StructureShape.new(name: 'ModifyVpcTenancyResult')
621
623
  MonitorInstancesRequest = Shapes::StructureShape.new(name: 'MonitorInstancesRequest')
622
624
  MonitorInstancesResult = Shapes::StructureShape.new(name: 'MonitorInstancesResult')
623
625
  Monitoring = Shapes::StructureShape.new(name: 'Monitoring')
@@ -975,6 +977,7 @@ module Aws::EC2
975
977
  VpcPeeringConnectionStateReasonCode = Shapes::StringShape.new(name: 'VpcPeeringConnectionStateReasonCode')
976
978
  VpcPeeringConnectionVpcInfo = Shapes::StructureShape.new(name: 'VpcPeeringConnectionVpcInfo')
977
979
  VpcState = Shapes::StringShape.new(name: 'VpcState')
980
+ VpcTenancy = Shapes::StringShape.new(name: 'VpcTenancy')
978
981
  VpnConnection = Shapes::StructureShape.new(name: 'VpnConnection')
979
982
  VpnConnectionIdStringList = Shapes::ListShape.new(name: 'VpnConnectionIdStringList')
980
983
  VpnConnectionList = Shapes::ListShape.new(name: 'VpnConnectionList')
@@ -3583,6 +3586,14 @@ module Aws::EC2
3583
3586
  ModifyVpcPeeringConnectionOptionsResult.add_member(:requester_peering_connection_options, Shapes::ShapeRef.new(shape: PeeringConnectionOptions, location_name: "requesterPeeringConnectionOptions"))
3584
3587
  ModifyVpcPeeringConnectionOptionsResult.struct_class = Types::ModifyVpcPeeringConnectionOptionsResult
3585
3588
 
3589
+ ModifyVpcTenancyRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpcId"))
3590
+ ModifyVpcTenancyRequest.add_member(:instance_tenancy, Shapes::ShapeRef.new(shape: VpcTenancy, required: true, location_name: "InstanceTenancy"))
3591
+ ModifyVpcTenancyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3592
+ ModifyVpcTenancyRequest.struct_class = Types::ModifyVpcTenancyRequest
3593
+
3594
+ ModifyVpcTenancyResult.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
3595
+ ModifyVpcTenancyResult.struct_class = Types::ModifyVpcTenancyResult
3596
+
3586
3597
  MonitorInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
3587
3598
  MonitorInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3588
3599
  MonitorInstancesRequest.struct_class = Types::MonitorInstancesRequest
@@ -6792,6 +6803,14 @@ module Aws::EC2
6792
6803
  o.output = Shapes::ShapeRef.new(shape: ModifyVpcPeeringConnectionOptionsResult)
6793
6804
  end)
6794
6805
 
6806
+ api.add_operation(:modify_vpc_tenancy, Seahorse::Model::Operation.new.tap do |o|
6807
+ o.name = "ModifyVpcTenancy"
6808
+ o.http_method = "POST"
6809
+ o.http_request_uri = "/"
6810
+ o.input = Shapes::ShapeRef.new(shape: ModifyVpcTenancyRequest)
6811
+ o.output = Shapes::ShapeRef.new(shape: ModifyVpcTenancyResult)
6812
+ end)
6813
+
6795
6814
  api.add_operation(:monitor_instances, Seahorse::Model::Operation.new.tap do |o|
6796
6815
  o.name = "MonitorInstances"
6797
6816
  o.http_method = "POST"
@@ -256,10 +256,9 @@ module Aws::EC2
256
256
  # @option options [String] :user_data
257
257
  # The user data to make available to the instance. For more information,
258
258
  # see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
259
- # [Adding User Data][2] (Windows). If you are using an AWS SDK or
260
- # command line tool, base64-encoding is performed for you, and you can
261
- # load the text from a file. Otherwise, you must provide base64-encoded
262
- # text.
259
+ # [Adding User Data][2] (Windows). If you are using a command line tool,
260
+ # base64-encoding is performed for you, and you can load the text from a
261
+ # file. Otherwise, you must provide base64-encoded text.
263
262
  #
264
263
  #
265
264
  #
@@ -432,10 +432,9 @@ module Aws::EC2
432
432
  # @option options [String] :user_data
433
433
  # The user data to make available to the instance. For more information,
434
434
  # see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
435
- # [Adding User Data][2] (Windows). If you are using an AWS SDK or
436
- # command line tool, base64-encoding is performed for you, and you can
437
- # load the text from a file. Otherwise, you must provide base64-encoded
438
- # text.
435
+ # [Adding User Data][2] (Windows). If you are using a command line tool,
436
+ # base64-encoding is performed for you, and you can load the text from a
437
+ # file. Otherwise, you must provide base64-encoded text.
439
438
  #
440
439
  #
441
440
  #
@@ -32,13 +32,13 @@ module Aws::EC2
32
32
  # @return [Boolean]
33
33
  #
34
34
  # @!attribute [rw] reserved_instance_ids
35
- # The IDs of the Convertible Reserved Instances to exchange for other
36
- # Convertible Reserved Instances of the same or higher value.
35
+ # The IDs of the Convertible Reserved Instances to exchange for
36
+ # another Convertible Reserved Instance of the same or higher value.
37
37
  # @return [Array<String>]
38
38
  #
39
39
  # @!attribute [rw] target_configurations
40
- # The configurations of the Convertible Reserved Instance offerings
41
- # that you are purchasing in this exchange.
40
+ # The configuration of the target Convertible Reserved Instance to
41
+ # exchange for your current Convertible Reserved Instances.
42
42
  # @return [Array<Types::TargetConfigurationRequest>]
43
43
  #
44
44
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuoteRequest AWS API Documentation
@@ -13396,8 +13396,8 @@ module Aws::EC2
13396
13396
  # @return [Array<String>]
13397
13397
  #
13398
13398
  # @!attribute [rw] target_configurations
13399
- # The configuration requirements of the Convertible Reserved Instances
13400
- # to exchange for your current Convertible Reserved Instances.
13399
+ # The configuration of the target Convertible Reserved Instance to
13400
+ # exchange for your current Convertible Reserved Instances.
13401
13401
  # @return [Array<Types::TargetConfigurationRequest>]
13402
13402
  #
13403
13403
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuoteRequest AWS API Documentation
@@ -17535,6 +17535,54 @@ module Aws::EC2
17535
17535
  include Aws::Structure
17536
17536
  end
17537
17537
 
17538
+ # Contains the parameters for ModifyVpcTenancy.
17539
+ #
17540
+ # @note When making an API call, you may pass ModifyVpcTenancyRequest
17541
+ # data as a hash:
17542
+ #
17543
+ # {
17544
+ # vpc_id: "String", # required
17545
+ # instance_tenancy: "default", # required, accepts default
17546
+ # dry_run: false,
17547
+ # }
17548
+ #
17549
+ # @!attribute [rw] vpc_id
17550
+ # The ID of the VPC.
17551
+ # @return [String]
17552
+ #
17553
+ # @!attribute [rw] instance_tenancy
17554
+ # The instance tenancy attribute for the VPC.
17555
+ # @return [String]
17556
+ #
17557
+ # @!attribute [rw] dry_run
17558
+ # Checks whether you have the required permissions for the operation,
17559
+ # without actually making the request, and provides an error response.
17560
+ # If you have the required permissions, the error response is
17561
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
17562
+ # @return [Boolean]
17563
+ #
17564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancyRequest AWS API Documentation
17565
+ #
17566
+ class ModifyVpcTenancyRequest < Struct.new(
17567
+ :vpc_id,
17568
+ :instance_tenancy,
17569
+ :dry_run)
17570
+ include Aws::Structure
17571
+ end
17572
+
17573
+ # Contains the output of ModifyVpcTenancy.
17574
+ #
17575
+ # @!attribute [rw] return_value
17576
+ # Returns `true` if the request succeeds; otherwise, returns an error.
17577
+ # @return [Boolean]
17578
+ #
17579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancyResult AWS API Documentation
17580
+ #
17581
+ class ModifyVpcTenancyResult < Struct.new(
17582
+ :return_value)
17583
+ include Aws::Structure
17584
+ end
17585
+
17538
17586
  # Contains the parameters for MonitorInstances.
17539
17587
  #
17540
17588
  # @note When making an API call, you may pass MonitorInstancesRequest
@@ -21681,9 +21729,9 @@ module Aws::EC2
21681
21729
  # The user data to make available to the instance. For more
21682
21730
  # information, see [Running Commands on Your Linux Instance at
21683
21731
  # Launch][1] (Linux) and [Adding User Data][2] (Windows). If you are
21684
- # using an AWS SDK or command line tool, base64-encoding is performed
21685
- # for you, and you can load the text from a file. Otherwise, you must
21686
- # provide base64-encoded text.
21732
+ # using a command line tool, base64-encoding is performed for you, and
21733
+ # you can load the text from a file. Otherwise, you must provide
21734
+ # base64-encoded text.
21687
21735
  #
21688
21736
  #
21689
21737
  #
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.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-10 00:00:00.000000000 Z
11
+ date: 2017-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4