aws-sdk-ec2 1.29.0 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9bbe4db47fa39868c91f7311ca930ec064ebad8f
4
- data.tar.gz: d48b14c6d4a657863475b5525c2ce042e38a0e9e
3
+ metadata.gz: f9de39f6395c0f00573f4a5ad50ec4ea1b811f78
4
+ data.tar.gz: 3e90eff1ae4ec4cf4105c79fb8e68e25e67e608e
5
5
  SHA512:
6
- metadata.gz: b92d73f2aa6daafeecdbb7db9561d55fa8b3684b6b9c6c56cdcb093a5859bf98bfa5b276df389fe3376600b38570fa2203be350406334e4a947c57cd3de2e1e8
7
- data.tar.gz: 2b7c319b272d083cfcc0c58f656d7e91fb12bdd65068d4b0f2a68e59385dff1ceea3670b872b751dcd77e95fc9231bcd8b535e8488c5299324d0025e7c8bb04a
6
+ metadata.gz: 6b3e845094ab1fa3c395556077eb7ae04db6182b7f8dfe6d1dbe3d9663f2d992e181ccaedfe10657021d77077cd5937ec42f61b468772c62d978b724ff69e3f4
7
+ data.tar.gz: bbd5f4cad596741adfadc37283fccb116948507540762081f6d65498ee78efb54f42e30dd5d7747bc913fa7fad28198f0e3ab4a24aa05428475bf5cf4401ae8f
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.29.0'
68
+ GEM_VERSION = '1.30.0'
69
69
 
70
70
  end
@@ -2390,10 +2390,9 @@ module Aws::EC2
2390
2390
  # The action will eventually fail.
2391
2391
  #
2392
2392
  # @option params [String] :presigned_url
2393
- # The pre-signed URL parameter is required when copying an encrypted
2394
- # snapshot with the Amazon EC2 Query API; it is available as an optional
2395
- # parameter in all other cases. For more information, see [Query
2396
- # Requests][1].
2393
+ # When you copy an encrypted source snapshot using the Amazon EC2 Query
2394
+ # API, you must supply a pre-signed URL. This parameter is optional for
2395
+ # unencrypted snapshots. For more information, see [Query Requests][1].
2397
2396
  #
2398
2397
  # The `PresignedUrl` should use the snapshot source endpoint, the
2399
2398
  # `CopySnapshot` action, and include the `SourceRegion`,
@@ -5258,11 +5257,16 @@ module Aws::EC2
5258
5257
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
5259
5258
  #
5260
5259
  # @option params [Integer] :iops
5261
- # Only valid for Provisioned IOPS SSD volumes. The number of I/O
5262
- # operations per second (IOPS) to provision for the volume, with a
5263
- # maximum ratio of 50 IOPS/GiB.
5260
+ # The number of I/O operations per second (IOPS) to provision for the
5261
+ # volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 32000
5262
+ # IOPS for volumes in most regions. For exceptions, see [Amazon EBS
5263
+ # Volume Types][1].
5264
5264
  #
5265
- # Constraint: Range is 100 to 20000 for Provisioned IOPS SSD volumes
5265
+ # This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
5266
+ #
5267
+ #
5268
+ #
5269
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
5266
5270
  #
5267
5271
  # @option params [String] :kms_key_id
5268
5272
  # An identifier for the AWS Key Management Service (AWS KMS) customer
@@ -5311,7 +5315,11 @@ module Aws::EC2
5311
5315
  # Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
5312
5316
  # Cold HDD, or `standard` for Magnetic volumes.
5313
5317
  #
5314
- # Default: `standard`
5318
+ # Defaults: If no volume type is specified, the default is `standard` in
5319
+ # us-east-1, eu-west-1, eu-central-1, us-west-2, us-west-1, sa-east-1,
5320
+ # ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2,
5321
+ # ap-south-1, us-gov-west-1, and cn-north-1. In all other regions, EBS
5322
+ # defaults to `gp2`.
5315
5323
  #
5316
5324
  # @option params [Boolean] :dry_run
5317
5325
  # Checks whether you have the required permissions for the action,
@@ -9122,24 +9130,24 @@ module Aws::EC2
9122
9130
  # @option params [Array<Types::Filter>] :filter
9123
9131
  # One or more filters.
9124
9132
  #
9125
- # * `instance-type` - The instance type size that the Dedicated Host is
9126
- # configured to support.
9127
- #
9128
9133
  # * `auto-placement` - Whether auto-placement is enabled or disabled
9129
9134
  # (`on` \| `off`).
9130
9135
  #
9136
+ # * `availability-zone` - The Availability Zone of the host.
9137
+ #
9138
+ # * `client-token` - The idempotency token you provided when you
9139
+ # allocated the host.
9140
+ #
9131
9141
  # * `host-reservation-id` - The ID of the reservation assigned to this
9132
9142
  # host.
9133
9143
  #
9134
- # * `client-token` - The idempotency token you provided when you
9135
- # launched the instance
9144
+ # * `instance-type` - The instance type size that the Dedicated Host is
9145
+ # configured to support.
9136
9146
  #
9137
- # * `state`- The allocation state of the Dedicated Host (`available` \|
9147
+ # * `state` - The allocation state of the Dedicated Host (`available` \|
9138
9148
  # `under-assessment` \| `permanent-failure` \| `released` \|
9139
9149
  # `released-permanent-failure`).
9140
9150
  #
9141
- # * `availability-zone` - The Availability Zone of the host.
9142
- #
9143
9151
  # @option params [Array<String>] :host_ids
9144
9152
  # The IDs of the Dedicated Hosts. The IDs are used for targeted instance
9145
9153
  # launches.
@@ -9195,6 +9203,8 @@ module Aws::EC2
9195
9203
  # resp.hosts[0].instances[0].instance_id #=> String
9196
9204
  # resp.hosts[0].instances[0].instance_type #=> String
9197
9205
  # resp.hosts[0].state #=> String, one of "available", "under-assessment", "permanent-failure", "released", "released-permanent-failure"
9206
+ # resp.hosts[0].allocation_time #=> Time
9207
+ # resp.hosts[0].release_time #=> Time
9198
9208
  # resp.next_token #=> String
9199
9209
  #
9200
9210
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts AWS API Documentation
@@ -14418,7 +14428,10 @@ module Aws::EC2
14418
14428
  # for Throughput Optimized HDD, `sc1`for Cold HDD, or `standard` for
14419
14429
  # Magnetic.
14420
14430
  #
14421
- # * `launch.group-id` - The security group for the instance.
14431
+ # * `launch.group-id` - The ID of the security group for the instance.
14432
+ #
14433
+ # * `launch.group-name` - The name of the security group for the
14434
+ # instance.
14422
14435
  #
14423
14436
  # * `launch.image-id` - The ID of the AMI.
14424
14437
  #
@@ -15494,7 +15507,7 @@ module Aws::EC2
15494
15507
  # attached to.
15495
15508
  #
15496
15509
  # * `attachment.status` - The attachment state (`attaching` \|
15497
- # `attached` \| `detaching` \| `detached`).
15510
+ # `attached` \| `detaching`).
15498
15511
  #
15499
15512
  # * `availability-zone` - The Availability Zone in which the volume was
15500
15513
  # created.
@@ -18963,6 +18976,13 @@ module Aws::EC2
18963
18976
  # Modifies the specified attribute of the specified instance. You can
18964
18977
  # specify only one attribute at a time.
18965
18978
  #
18979
+ # <b>Note: </b>Using this action to change the security groups
18980
+ # associated with an elastic network interface (ENI) attached to an
18981
+ # instance in a VPC can result in an error if the instance has more than
18982
+ # one ENI. To change the security groups associated with an ENI attached
18983
+ # to an instance that has multiple ENIs, we recommend that you use the
18984
+ # ModifyNetworkInterfaceAttribute action.
18985
+ #
18966
18986
  # To modify some attributes, the instance must be stopped. For more
18967
18987
  # information, see [Modifying Attributes of a Stopped Instance][1] in
18968
18988
  # the *Amazon Elastic Compute Cloud User Guide*.
@@ -24096,7 +24116,7 @@ module Aws::EC2
24096
24116
  params: params,
24097
24117
  config: config)
24098
24118
  context[:gem_name] = 'aws-sdk-ec2'
24099
- context[:gem_version] = '1.29.0'
24119
+ context[:gem_version] = '1.30.0'
24100
24120
  Seahorse::Client::Request.new(handlers, context)
24101
24121
  end
24102
24122
 
@@ -3306,6 +3306,8 @@ module Aws::EC2
3306
3306
  Host.add_member(:host_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "hostReservationId"))
3307
3307
  Host.add_member(:instances, Shapes::ShapeRef.new(shape: HostInstanceList, location_name: "instances"))
3308
3308
  Host.add_member(:state, Shapes::ShapeRef.new(shape: AllocationState, location_name: "state"))
3309
+ Host.add_member(:allocation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "allocationTime"))
3310
+ Host.add_member(:release_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "releaseTime"))
3309
3311
  Host.struct_class = Types::Host
3310
3312
 
3311
3313
  HostInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
@@ -1267,7 +1267,7 @@ module Aws::EC2
1267
1267
  # attached to.
1268
1268
  #
1269
1269
  # * `attachment.status` - The attachment state (`attaching` \|
1270
- # `attached` \| `detaching` \| `detached`).
1270
+ # `attached` \| `detaching`).
1271
1271
  #
1272
1272
  # * `availability-zone` - The Availability Zone in which the volume was
1273
1273
  # created.
@@ -768,11 +768,16 @@ module Aws::EC2
768
768
  #
769
769
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
770
770
  # @option options [Integer] :iops
771
- # Only valid for Provisioned IOPS SSD volumes. The number of I/O
772
- # operations per second (IOPS) to provision for the volume, with a
773
- # maximum ratio of 50 IOPS/GiB.
771
+ # The number of I/O operations per second (IOPS) to provision for the
772
+ # volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 32000
773
+ # IOPS for volumes in most regions. For exceptions, see [Amazon EBS
774
+ # Volume Types][1].
774
775
  #
775
- # Constraint: Range is 100 to 20000 for Provisioned IOPS SSD volumes
776
+ # This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
777
+ #
778
+ #
779
+ #
780
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
776
781
  # @option options [String] :kms_key_id
777
782
  # An identifier for the AWS Key Management Service (AWS KMS) customer
778
783
  # master key (CMK) to use when creating the encrypted volume. This
@@ -817,7 +822,11 @@ module Aws::EC2
817
822
  # Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
818
823
  # Cold HDD, or `standard` for Magnetic volumes.
819
824
  #
820
- # Default: `standard`
825
+ # Defaults: If no volume type is specified, the default is `standard` in
826
+ # us-east-1, eu-west-1, eu-central-1, us-west-2, us-west-1, sa-east-1,
827
+ # ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2,
828
+ # ap-south-1, us-gov-west-1, and cn-north-1. In all other regions, EBS
829
+ # defaults to `gp2`.
821
830
  # @option options [Boolean] :dry_run
822
831
  # Checks whether you have the required permissions for the action,
823
832
  # without actually making the request, and provides an error response.
@@ -2652,7 +2661,7 @@ module Aws::EC2
2652
2661
  # attached to.
2653
2662
  #
2654
2663
  # * `attachment.status` - The attachment state (`attaching` \|
2655
- # `attached` \| `detaching` \| `detached`).
2664
+ # `attached` \| `detaching`).
2656
2665
  #
2657
2666
  # * `availability-zone` - The Availability Zone in which the volume was
2658
2667
  # created.
@@ -342,10 +342,9 @@ module Aws::EC2
342
342
  # may appear to complete even though you provided an invalid identifier.
343
343
  # The action will eventually fail.
344
344
  # @option options [String] :presigned_url
345
- # The pre-signed URL parameter is required when copying an encrypted
346
- # snapshot with the Amazon EC2 Query API; it is available as an optional
347
- # parameter in all other cases. For more information, see [Query
348
- # Requests][1].
345
+ # When you copy an encrypted source snapshot using the Amazon EC2 Query
346
+ # API, you must supply a pre-signed URL. This parameter is optional for
347
+ # unencrypted snapshots. For more information, see [Query Requests][1].
349
348
  #
350
349
  # The `PresignedUrl` should use the snapshot source endpoint, the
351
350
  # `CopySnapshot` action, and include the `SourceRegion`,
@@ -2544,10 +2544,10 @@ module Aws::EC2
2544
2544
  # @return [String]
2545
2545
  #
2546
2546
  # @!attribute [rw] presigned_url
2547
- # The pre-signed URL parameter is required when copying an encrypted
2548
- # snapshot with the Amazon EC2 Query API; it is available as an
2549
- # optional parameter in all other cases. For more information, see
2550
- # [Query Requests][1].
2547
+ # When you copy an encrypted source snapshot using the Amazon EC2
2548
+ # Query API, you must supply a pre-signed URL. This parameter is
2549
+ # optional for unencrypted snapshots. For more information, see [Query
2550
+ # Requests][1].
2551
2551
  #
2552
2552
  # The `PresignedUrl` should use the snapshot source endpoint, the
2553
2553
  # `CopySnapshot` action, and include the `SourceRegion`,
@@ -4573,11 +4573,16 @@ module Aws::EC2
4573
4573
  # @return [Boolean]
4574
4574
  #
4575
4575
  # @!attribute [rw] iops
4576
- # Only valid for Provisioned IOPS SSD volumes. The number of I/O
4577
- # operations per second (IOPS) to provision for the volume, with a
4578
- # maximum ratio of 50 IOPS/GiB.
4576
+ # The number of I/O operations per second (IOPS) to provision for the
4577
+ # volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 32000
4578
+ # IOPS for volumes in most regions. For exceptions, see [Amazon EBS
4579
+ # Volume Types][1].
4579
4580
  #
4580
- # Constraint: Range is 100 to 20000 for Provisioned IOPS SSD volumes
4581
+ # This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
4582
+ #
4583
+ #
4584
+ #
4585
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
4581
4586
  # @return [Integer]
4582
4587
  #
4583
4588
  # @!attribute [rw] kms_key_id
@@ -4630,7 +4635,11 @@ module Aws::EC2
4630
4635
  # for Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1`
4631
4636
  # for Cold HDD, or `standard` for Magnetic volumes.
4632
4637
  #
4633
- # Default: `standard`
4638
+ # Defaults: If no volume type is specified, the default is `standard`
4639
+ # in us-east-1, eu-west-1, eu-central-1, us-west-2, us-west-1,
4640
+ # sa-east-1, ap-northeast-1, ap-northeast-2, ap-southeast-1,
4641
+ # ap-southeast-2, ap-south-1, us-gov-west-1, and cn-north-1. In all
4642
+ # other regions, EBS defaults to `gp2`.
4634
4643
  # @return [String]
4635
4644
  #
4636
4645
  # @!attribute [rw] dry_run
@@ -7686,23 +7695,23 @@ module Aws::EC2
7686
7695
  # @!attribute [rw] filter
7687
7696
  # One or more filters.
7688
7697
  #
7689
- # * `instance-type` - The instance type size that the Dedicated Host
7690
- # is configured to support.
7691
- #
7692
7698
  # * `auto-placement` - Whether auto-placement is enabled or disabled
7693
7699
  # (`on` \| `off`).
7694
7700
  #
7701
+ # * `availability-zone` - The Availability Zone of the host.
7702
+ #
7703
+ # * `client-token` - The idempotency token you provided when you
7704
+ # allocated the host.
7705
+ #
7695
7706
  # * `host-reservation-id` - The ID of the reservation assigned to this
7696
7707
  # host.
7697
7708
  #
7698
- # * `client-token` - The idempotency token you provided when you
7699
- # launched the instance
7709
+ # * `instance-type` - The instance type size that the Dedicated Host
7710
+ # is configured to support.
7700
7711
  #
7701
- # * `state`- The allocation state of the Dedicated Host (`available`
7712
+ # * `state` - The allocation state of the Dedicated Host (`available`
7702
7713
  # \| `under-assessment` \| `permanent-failure` \| `released` \|
7703
7714
  # `released-permanent-failure`).
7704
- #
7705
- # * `availability-zone` - The Availability Zone of the host.
7706
7715
  # @return [Array<Types::Filter>]
7707
7716
  #
7708
7717
  # @!attribute [rw] host_ids
@@ -11622,7 +11631,10 @@ module Aws::EC2
11622
11631
  # SSD, `st1` for Throughput Optimized HDD, `sc1`for Cold HDD, or
11623
11632
  # `standard` for Magnetic.
11624
11633
  #
11625
- # * `launch.group-id` - The security group for the instance.
11634
+ # * `launch.group-id` - The ID of the security group for the instance.
11635
+ #
11636
+ # * `launch.group-name` - The name of the security group for the
11637
+ # instance.
11626
11638
  #
11627
11639
  # * `launch.image-id` - The ID of the AMI.
11628
11640
  #
@@ -12393,7 +12405,7 @@ module Aws::EC2
12393
12405
  # attached to.
12394
12406
  #
12395
12407
  # * `attachment.status` - The attachment state (`attaching` \|
12396
- # `attached` \| `detaching` \| `detached`).
12408
+ # `attached` \| `detaching`).
12397
12409
  #
12398
12410
  # * `availability-zone` - The Availability Zone in which the volume
12399
12411
  # was created.
@@ -14875,8 +14887,30 @@ module Aws::EC2
14875
14887
  end
14876
14888
 
14877
14889
  # A filter name and value pair that is used to return a more specific
14878
- # list of results. Filters can be used to match a set of resources by
14879
- # various criteria, such as tags, attributes, or IDs.
14890
+ # list of results from a describe operation. Filters can be used to
14891
+ # match a set of resources by specific criteria, such as tags,
14892
+ # attributes, or IDs. The filters supported by a describe operation are
14893
+ # documented with the describe operation. For example:
14894
+ #
14895
+ # * DescribeAvailabilityZones
14896
+ #
14897
+ # * DescribeImages
14898
+ #
14899
+ # * DescribeInstances
14900
+ #
14901
+ # * DescribeKeyPairs
14902
+ #
14903
+ # * DescribeSecurityGroups
14904
+ #
14905
+ # * DescribeSnapshots
14906
+ #
14907
+ # * DescribeSubnets
14908
+ #
14909
+ # * DescribeTags
14910
+ #
14911
+ # * DescribeVolumes
14912
+ #
14913
+ # * DescribeVpcs
14880
14914
  #
14881
14915
  # @note When making an API call, you may pass Filter
14882
14916
  # data as a hash:
@@ -15589,6 +15623,14 @@ module Aws::EC2
15589
15623
  # The Dedicated Host's state.
15590
15624
  # @return [String]
15591
15625
  #
15626
+ # @!attribute [rw] allocation_time
15627
+ # The time that the Dedicated Host was allocated.
15628
+ # @return [Time]
15629
+ #
15630
+ # @!attribute [rw] release_time
15631
+ # The time that the Dedicated Host was released.
15632
+ # @return [Time]
15633
+ #
15592
15634
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
15593
15635
  #
15594
15636
  class Host < Struct.new(
@@ -15600,7 +15642,9 @@ module Aws::EC2
15600
15642
  :host_properties,
15601
15643
  :host_reservation_id,
15602
15644
  :instances,
15603
- :state)
15645
+ :state,
15646
+ :allocation_time,
15647
+ :release_time)
15604
15648
  include Aws::Structure
15605
15649
  end
15606
15650
 
@@ -29487,7 +29531,7 @@ module Aws::EC2
29487
29531
  # performance, I/O credits, and bursting, see [Amazon EBS Volume
29488
29532
  # Types][1] in the *Amazon Elastic Compute Cloud User Guide*.
29489
29533
  #
29490
- # Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000
29534
+ # Constraint: Range is 100-32000 IOPS for io1 volumes and 100-10000
29491
29535
  # IOPS for `gp2` volumes.
29492
29536
  #
29493
29537
  # Condition: This parameter is required for requests to create `io1`
@@ -90,7 +90,7 @@ module Aws::EC2
90
90
  # credits, and bursting, see [Amazon EBS Volume Types][1] in the *Amazon
91
91
  # Elastic Compute Cloud User Guide*.
92
92
  #
93
- # Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000 IOPS
93
+ # Constraint: Range is 100-32000 IOPS for io1 volumes and 100-10000 IOPS
94
94
  # for `gp2` volumes.
95
95
  #
96
96
  # Condition: This parameter is required for requests to create `io1`
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.29.0
4
+ version: 1.30.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-03-01 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubyforge_project:
105
- rubygems_version: 2.5.1
105
+ rubygems_version: 2.5.2.2
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: AWS SDK for Ruby - Amazon EC2