aws-sdk-ec2 1.37.0 → 1.38.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: 5bc1054d7de2e127ff2a659ece66ee3e8032f18b
4
- data.tar.gz: bc047ad8017d23cd971731fcabc52eff36a9ea77
3
+ metadata.gz: c0515c24a022d22a8ad61858eecfc382d1d36037
4
+ data.tar.gz: e9204ae77ca3680bd27041a88bd1498689cb2da3
5
5
  SHA512:
6
- metadata.gz: f1ea6d9e7b149b3edbda599b7f4335e56d0822e1c3780faa2089286d90b730c4c8a149d520ea5417fce4ee8e7a5513d41c42d932235f9283da2101dbeb5f940f
7
- data.tar.gz: 460306f8fe1a92b7ff3f48305f6e6f25554354d9288f6b660b585b642504f0c51be57ff8fdd37a6cf7e1e68cb73312dfe7c01c32f3e66c01b477b41287c6a758
6
+ metadata.gz: d1f8fbcad60d15ad6649d4251d70893efa57245551d998a448fe40059757865fceaff1513831d8a18afa24881d5a5debfbd1fda8fe46cbbddb19744a9f1a6a6a
7
+ data.tar.gz: 6d66a7e3feb508ec0c5190f14486656fc2c4146f63ca83f47fb57b84d12dd6dd06c63ff451315715e0fa5bedcd3d74002b6844babd09bba30e63e9f7d4472cba
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.37.0'
68
+ GEM_VERSION = '1.38.0'
69
69
 
70
70
  end
@@ -2484,17 +2484,13 @@ module Aws::EC2
2484
2484
  # customer master key (CMK); however, you can specify a non-default CMK
2485
2485
  # with the `KmsKeyId` parameter.
2486
2486
  #
2487
- # <note markdown="1"> To copy an encrypted snapshot that has been shared from another
2487
+ # To copy an encrypted snapshot that has been shared from another
2488
2488
  # account, you must have permissions for the CMK used to encrypt the
2489
2489
  # snapshot.
2490
2490
  #
2491
- # </note>
2492
- #
2493
- # <note markdown="1"> Snapshots created by the CopySnapshot action have an arbitrary volume
2491
+ # Snapshots created by copying another snapshot have an arbitrary volume
2494
2492
  # ID that should not be used for any purpose.
2495
2493
  #
2496
- # </note>
2497
- #
2498
2494
  # For more information, see [Copying an Amazon EBS Snapshot][1] in the
2499
2495
  # *Amazon Elastic Compute Cloud User Guide*.
2500
2496
  #
@@ -2511,12 +2507,10 @@ module Aws::EC2
2511
2507
  # the destination region in a `PresignedUrl` parameter, where it is
2512
2508
  # required.
2513
2509
  #
2514
- # <note markdown="1"> `CopySnapshot` sends the snapshot copy to the regional endpoint that
2515
- # you send the HTTP request to, such as `ec2.us-east-1.amazonaws.com`
2516
- # (in the AWS CLI, this is specified with the `--region` parameter or
2517
- # the default region in your AWS configuration file).
2518
- #
2519
- # </note>
2510
+ # The snapshot copy is sent to the regional endpoint that you sent the
2511
+ # HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
2512
+ # AWS CLI, this is specified using the `--region` parameter or the
2513
+ # default region in your AWS configuration file.
2520
2514
  #
2521
2515
  # @option params [Boolean] :encrypted
2522
2516
  # Specifies whether the destination snapshot should be encrypted. You
@@ -3840,7 +3834,7 @@ module Aws::EC2
3840
3834
  # private_ip_addresses: [
3841
3835
  # {
3842
3836
  # primary: false,
3843
- # private_ip_address: "String", # required
3837
+ # private_ip_address: "String",
3844
3838
  # },
3845
3839
  # ],
3846
3840
  # secondary_private_ip_address_count: 1,
@@ -3896,6 +3890,10 @@ module Aws::EC2
3896
3890
  # credit_specification: {
3897
3891
  # cpu_credits: "String", # required
3898
3892
  # },
3893
+ # cpu_options: {
3894
+ # core_count: 1,
3895
+ # threads_per_core: 1,
3896
+ # },
3899
3897
  # },
3900
3898
  # })
3901
3899
  #
@@ -4061,7 +4059,7 @@ module Aws::EC2
4061
4059
  # private_ip_addresses: [
4062
4060
  # {
4063
4061
  # primary: false,
4064
- # private_ip_address: "String", # required
4062
+ # private_ip_address: "String",
4065
4063
  # },
4066
4064
  # ],
4067
4065
  # secondary_private_ip_address_count: 1,
@@ -4117,6 +4115,10 @@ module Aws::EC2
4117
4115
  # credit_specification: {
4118
4116
  # cpu_credits: "String", # required
4119
4117
  # },
4118
+ # cpu_options: {
4119
+ # core_count: 1,
4120
+ # threads_per_core: 1,
4121
+ # },
4120
4122
  # },
4121
4123
  # })
4122
4124
  #
@@ -4193,6 +4195,8 @@ module Aws::EC2
4193
4195
  # resp.launch_template_version.launch_template_data.instance_market_options.spot_options.valid_until #=> Time
4194
4196
  # resp.launch_template_version.launch_template_data.instance_market_options.spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
4195
4197
  # resp.launch_template_version.launch_template_data.credit_specification.cpu_credits #=> String
4198
+ # resp.launch_template_version.launch_template_data.cpu_options.core_count #=> Integer
4199
+ # resp.launch_template_version.launch_template_data.cpu_options.threads_per_core #=> Integer
4196
4200
  #
4197
4201
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion AWS API Documentation
4198
4202
  #
@@ -4660,7 +4664,7 @@ module Aws::EC2
4660
4664
  # private_ip_addresses: [
4661
4665
  # {
4662
4666
  # primary: false,
4663
- # private_ip_address: "String", # required
4667
+ # private_ip_address: "String",
4664
4668
  # },
4665
4669
  # ],
4666
4670
  # secondary_private_ip_address_count: 1,
@@ -5288,7 +5292,8 @@ module Aws::EC2
5288
5292
  # snapshots always remain protected.
5289
5293
  #
5290
5294
  # You can tag your snapshots during creation. For more information, see
5291
- # [Tagging Your Amazon EC2 Resources][1].
5295
+ # [Tagging Your Amazon EC2 Resources][1] in the *Amazon Elastic Compute
5296
+ # Cloud User Guide*.
5292
5297
  #
5293
5298
  # For more information, see [Amazon Elastic Block Store][2] and [Amazon
5294
5299
  # EBS Encryption][3] in the *Amazon Elastic Compute Cloud User Guide*.
@@ -5686,7 +5691,8 @@ module Aws::EC2
5686
5691
  # Guide*.
5687
5692
  #
5688
5693
  # You can tag your volumes during creation. For more information, see
5689
- # [Tagging Your Amazon EC2 Resources][3].
5694
+ # [Tagging Your Amazon EC2 Resources][3] in the *Amazon Elastic Compute
5695
+ # Cloud User Guide*.
5690
5696
  #
5691
5697
  # For more information, see [Creating an Amazon EBS Volume][4] in the
5692
5698
  # *Amazon Elastic Compute Cloud User Guide*.
@@ -5721,7 +5727,7 @@ module Aws::EC2
5721
5727
  # The number of I/O operations per second (IOPS) to provision for the
5722
5728
  # volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 32000
5723
5729
  # IOPS for volumes in most regions. For exceptions, see [Amazon EBS
5724
- # Volume Types][1].
5730
+ # Volume Types][1] in the *Amazon Elastic Compute Cloud User Guide*.
5725
5731
  #
5726
5732
  # This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
5727
5733
  #
@@ -7715,9 +7721,7 @@ module Aws::EC2
7715
7721
  # Deletes the specified EBS volume. The volume must be in the
7716
7722
  # `available` state (not attached to an instance).
7717
7723
  #
7718
- # <note markdown="1"> The volume may remain in the `deleting` state for several minutes.
7719
- #
7720
- # </note>
7724
+ # The volume can remain in the `deleting` state for several minutes.
7721
7725
  #
7722
7726
  # For more information, see [Deleting an Amazon EBS Volume][1] in the
7723
7727
  # *Amazon Elastic Compute Cloud User Guide*.
@@ -12034,6 +12038,8 @@ module Aws::EC2
12034
12038
  # resp.launch_template_versions[0].launch_template_data.instance_market_options.spot_options.valid_until #=> Time
12035
12039
  # resp.launch_template_versions[0].launch_template_data.instance_market_options.spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
12036
12040
  # resp.launch_template_versions[0].launch_template_data.credit_specification.cpu_credits #=> String
12041
+ # resp.launch_template_versions[0].launch_template_data.cpu_options.core_count #=> Integer
12042
+ # resp.launch_template_versions[0].launch_template_data.cpu_options.threads_per_core #=> Integer
12037
12043
  # resp.next_token #=> String
12038
12044
  #
12039
12045
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
@@ -16307,8 +16313,8 @@ module Aws::EC2
16307
16313
  # check fails, the overall status is `impaired`. If the status is
16308
16314
  # `insufficient-data`, then the checks may still be taking place on your
16309
16315
  # volume at the time. We recommend that you retry the request. For more
16310
- # information on volume status, see [Monitoring the Status of Your
16311
- # Volumes][1].
16316
+ # information about volume status, see [Monitoring the Status of Your
16317
+ # Volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
16312
16318
  #
16313
16319
  # *Events*\: Reflect the cause of a volume status and may require you to
16314
16320
  # take action. For example, if your volume returns an `impaired` status,
@@ -16324,13 +16330,11 @@ module Aws::EC2
16324
16330
  # I/O operations for the volume by calling the EnableVolumeIO action and
16325
16331
  # then check the volume for data consistency.
16326
16332
  #
16327
- # <note markdown="1"> Volume status is based on the volume status checks, and does not
16333
+ # Volume status is based on the volume status checks, and does not
16328
16334
  # reflect the volume state. Therefore, volume status does not indicate
16329
16335
  # volumes in the `error` state (for example, when a volume is incapable
16330
16336
  # of accepting I/O.)
16331
16337
  #
16332
- # </note>
16333
- #
16334
16338
  #
16335
16339
  #
16336
16340
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html
@@ -16752,7 +16756,8 @@ module Aws::EC2
16752
16756
  # You can also use CloudWatch Events to check the status of a
16753
16757
  # modification to an EBS volume. For information about CloudWatch
16754
16758
  # Events, see the [Amazon CloudWatch Events User Guide][1]. For more
16755
- # information, see [Monitoring Volume Modifications"][2].
16759
+ # information, see [Monitoring Volume Modifications"][2] in the *Amazon
16760
+ # Elastic Compute Cloud User Guide*.
16756
16761
  #
16757
16762
  #
16758
16763
  #
@@ -19056,6 +19061,8 @@ module Aws::EC2
19056
19061
  # resp.launch_template_data.instance_market_options.spot_options.valid_until #=> Time
19057
19062
  # resp.launch_template_data.instance_market_options.spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
19058
19063
  # resp.launch_template_data.credit_specification.cpu_credits #=> String
19064
+ # resp.launch_template_data.cpu_options.core_count #=> Integer
19065
+ # resp.launch_template_data.cpu_options.threads_per_core #=> Integer
19059
19066
  #
19060
19067
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
19061
19068
  #
@@ -20779,26 +20786,21 @@ module Aws::EC2
20779
20786
  # call. If you need to both add and remove account IDs for a snapshot,
20780
20787
  # you must use multiple API calls.
20781
20788
  #
20782
- # <note markdown="1"> Encrypted snapshots and snapshots with AWS Marketplace product codes
20789
+ # Encrypted snapshots and snapshots with AWS Marketplace product codes
20783
20790
  # cannot be made public. Snapshots encrypted with your default CMK
20784
20791
  # cannot be shared with other accounts.
20785
20792
  #
20786
- # </note>
20787
- #
20788
- # For more information on modifying snapshot permissions, see [Sharing
20789
- # Snapshots][1] in the *Amazon Elastic Compute Cloud User Guide*.
20793
+ # For more information about modifying snapshot permissions, see
20794
+ # [Sharing Snapshots][1] in the *Amazon Elastic Compute Cloud User
20795
+ # Guide*.
20790
20796
  #
20791
20797
  #
20792
20798
  #
20793
20799
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html
20794
20800
  #
20795
20801
  # @option params [String] :attribute
20796
- # The snapshot attribute to modify.
20797
- #
20798
- # <note markdown="1"> Only volume creation permissions may be modified at the customer
20799
- # level.
20800
- #
20801
- # </note>
20802
+ # The snapshot attribute to modify. Only volume creation permissions can
20803
+ # be modified.
20802
20804
  #
20803
20805
  # @option params [Types::CreateVolumePermissionModifications] :create_volume_permission
20804
20806
  # A JSON representation of the snapshot attribute modification.
@@ -21070,22 +21072,16 @@ module Aws::EC2
21070
21072
  # For information about tracking status changes using either method, see
21071
21073
  # [Monitoring Volume Modifications][6].
21072
21074
  #
21073
- # <note markdown="1"> With previous-generation instance types, resizing an EBS volume may
21075
+ # With previous-generation instance types, resizing an EBS volume may
21074
21076
  # require detaching and reattaching the volume or stopping and
21075
- # restarting the instance. For more information about modifying an EBS
21076
- # volume running Linux, see [Modifying the Size, IOPS, or Type of an EBS
21077
- # Volume on Linux][1]. For more information about modifying an EBS
21078
- # volume running Windows, see [Modifying the Size, IOPS, or Type of an
21079
- # EBS Volume on Windows][2].
21077
+ # restarting the instance. For more information, see [Modifying the
21078
+ # Size, IOPS, or Type of an EBS Volume on Linux][1] and [Modifying the
21079
+ # Size, IOPS, or Type of an EBS Volume on Windows][2].
21080
21080
  #
21081
- # </note>
21082
- #
21083
- # <note markdown="1"> If you reach the maximum volume modification rate per volume limit,
21081
+ # If you reach the maximum volume modification rate per volume limit,
21084
21082
  # you will need to wait at least six hours before applying further
21085
21083
  # modifications to the affected EBS volume.
21086
21084
  #
21087
- # </note>
21088
- #
21089
21085
  #
21090
21086
  #
21091
21087
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html
@@ -21105,10 +21101,10 @@ module Aws::EC2
21105
21101
  # The ID of the volume.
21106
21102
  #
21107
21103
  # @option params [Integer] :size
21108
- # Target size in GiB of the volume to be modified. Target volume size
21109
- # must be greater than or equal to than the existing size of the volume.
21110
- # For information about available EBS volume sizes, see
21111
- # [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html][1].
21104
+ # The target size of the volume, in GiB. The target volume size must be
21105
+ # greater than or equal to than the existing size of the volume. For
21106
+ # information about available EBS volume sizes, see [Amazon EBS Volume
21107
+ # Types][1].
21112
21108
  #
21113
21109
  # Default: If no size is specified, the existing size is retained.
21114
21110
  #
@@ -21117,19 +21113,15 @@ module Aws::EC2
21117
21113
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
21118
21114
  #
21119
21115
  # @option params [String] :volume_type
21120
- # Target EBS volume type of the volume to be modified
21121
- #
21122
- # The API does not support modifications for volume type `standard`. You
21123
- # also cannot change the type of a volume to `standard`.
21116
+ # The target EBS volume type of the volume.
21124
21117
  #
21125
21118
  # Default: If no type is specified, the existing type is retained.
21126
21119
  #
21127
21120
  # @option params [Integer] :iops
21128
- # Target IOPS rate of the volume to be modified.
21121
+ # The target IOPS rate of the volume.
21129
21122
  #
21130
- # Only valid for Provisioned IOPS SSD (`io1`) volumes. For more
21131
- # information about `io1` IOPS configuration, see
21132
- # [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes\_piops][1].
21123
+ # This is only valid for Provisioned IOPS SSD (`io1`) volumes. For more
21124
+ # information, see [Provisioned IOPS SSD (io1) Volumes][1].
21133
21125
  #
21134
21126
  # Default: If no IOPS value is specified, the existing value is
21135
21127
  # retained.
@@ -23176,7 +23168,7 @@ module Aws::EC2
23176
23168
  # private_ip_addresses: [
23177
23169
  # {
23178
23170
  # primary: false,
23179
- # private_ip_address: "String", # required
23171
+ # private_ip_address: "String",
23180
23172
  # },
23181
23173
  # ],
23182
23174
  # secondary_private_ip_address_count: 1,
@@ -23481,7 +23473,7 @@ module Aws::EC2
23481
23473
  # private_ip_addresses: [
23482
23474
  # {
23483
23475
  # primary: false,
23484
- # private_ip_address: "String", # required
23476
+ # private_ip_address: "String",
23485
23477
  # },
23486
23478
  # ],
23487
23479
  # secondary_private_ip_address_count: 1,
@@ -23779,8 +23771,9 @@ module Aws::EC2
23779
23771
 
23780
23772
  # Resets permission settings for the specified snapshot.
23781
23773
  #
23782
- # For more information on modifying snapshot permissions, see [Sharing
23783
- # Snapshots][1] in the *Amazon Elastic Compute Cloud User Guide*.
23774
+ # For more information about modifying snapshot permissions, see
23775
+ # [Sharing Snapshots][1] in the *Amazon Elastic Compute Cloud User
23776
+ # Guide*.
23784
23777
  #
23785
23778
  #
23786
23779
  #
@@ -24561,7 +24554,7 @@ module Aws::EC2
24561
24554
  # private_ip_addresses: [
24562
24555
  # {
24563
24556
  # primary: false,
24564
- # private_ip_address: "String", # required
24557
+ # private_ip_address: "String",
24565
24558
  # },
24566
24559
  # ],
24567
24560
  # secondary_private_ip_address_count: 1,
@@ -25601,7 +25594,7 @@ module Aws::EC2
25601
25594
  params: params,
25602
25595
  config: config)
25603
25596
  context[:gem_name] = 'aws-sdk-ec2'
25604
- context[:gem_version] = '1.37.0'
25597
+ context[:gem_version] = '1.38.0'
25605
25598
  Seahorse::Client::Request.new(handlers, context)
25606
25599
  end
25607
25600
 
@@ -698,6 +698,8 @@ module Aws::EC2
698
698
  LaunchTemplateBlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'LaunchTemplateBlockDeviceMappingRequestList')
699
699
  LaunchTemplateConfig = Shapes::StructureShape.new(name: 'LaunchTemplateConfig')
700
700
  LaunchTemplateConfigList = Shapes::ListShape.new(name: 'LaunchTemplateConfigList')
701
+ LaunchTemplateCpuOptions = Shapes::StructureShape.new(name: 'LaunchTemplateCpuOptions')
702
+ LaunchTemplateCpuOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateCpuOptionsRequest')
701
703
  LaunchTemplateEbsBlockDevice = Shapes::StructureShape.new(name: 'LaunchTemplateEbsBlockDevice')
702
704
  LaunchTemplateEbsBlockDeviceRequest = Shapes::StructureShape.new(name: 'LaunchTemplateEbsBlockDeviceRequest')
703
705
  LaunchTemplateErrorCode = Shapes::StringShape.new(name: 'LaunchTemplateErrorCode')
@@ -4103,6 +4105,14 @@ module Aws::EC2
4103
4105
 
4104
4106
  LaunchTemplateConfigList.member = Shapes::ShapeRef.new(shape: LaunchTemplateConfig, location_name: "item")
4105
4107
 
4108
+ LaunchTemplateCpuOptions.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
4109
+ LaunchTemplateCpuOptions.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
4110
+ LaunchTemplateCpuOptions.struct_class = Types::LaunchTemplateCpuOptions
4111
+
4112
+ LaunchTemplateCpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "CoreCount"))
4113
+ LaunchTemplateCpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "ThreadsPerCore"))
4114
+ LaunchTemplateCpuOptionsRequest.struct_class = Types::LaunchTemplateCpuOptionsRequest
4115
+
4106
4116
  LaunchTemplateEbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
4107
4117
  LaunchTemplateEbsBlockDevice.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
4108
4118
  LaunchTemplateEbsBlockDevice.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
@@ -4732,7 +4742,7 @@ module Aws::EC2
4732
4742
  PrivateIpAddressConfigSet.member = Shapes::ShapeRef.new(shape: ScheduledInstancesPrivateIpAddressConfig, location_name: "PrivateIpAddressConfigSet")
4733
4743
 
4734
4744
  PrivateIpAddressSpecification.add_member(:primary, Shapes::ShapeRef.new(shape: Boolean, location_name: "primary"))
4735
- PrivateIpAddressSpecification.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "privateIpAddress"))
4745
+ PrivateIpAddressSpecification.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
4736
4746
  PrivateIpAddressSpecification.struct_class = Types::PrivateIpAddressSpecification
4737
4747
 
4738
4748
  PrivateIpAddressSpecificationList.member = Shapes::ShapeRef.new(shape: PrivateIpAddressSpecification, location_name: "item")
@@ -4959,6 +4969,7 @@ module Aws::EC2
4959
4969
  RequestLaunchTemplateData.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroupStringList, location_name: "SecurityGroup"))
4960
4970
  RequestLaunchTemplateData.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMarketOptionsRequest, location_name: "InstanceMarketOptions"))
4961
4971
  RequestLaunchTemplateData.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecificationRequest, location_name: "CreditSpecification"))
4972
+ RequestLaunchTemplateData.add_member(:cpu_options, Shapes::ShapeRef.new(shape: LaunchTemplateCpuOptionsRequest, location_name: "CpuOptions"))
4962
4973
  RequestLaunchTemplateData.struct_class = Types::RequestLaunchTemplateData
4963
4974
 
4964
4975
  RequestSpotFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -5183,6 +5194,7 @@ module Aws::EC2
5183
5194
  ResponseLaunchTemplateData.add_member(:security_groups, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "securityGroupSet"))
5184
5195
  ResponseLaunchTemplateData.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMarketOptions, location_name: "instanceMarketOptions"))
5185
5196
  ResponseLaunchTemplateData.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecification, location_name: "creditSpecification"))
5197
+ ResponseLaunchTemplateData.add_member(:cpu_options, Shapes::ShapeRef.new(shape: LaunchTemplateCpuOptions, location_name: "cpuOptions"))
5186
5198
  ResponseLaunchTemplateData.struct_class = Types::ResponseLaunchTemplateData
5187
5199
 
5188
5200
  RestorableByStringList.member = Shapes::ShapeRef.new(shape: String)
@@ -125,7 +125,7 @@ module Aws::EC2
125
125
  # private_ip_addresses: [
126
126
  # {
127
127
  # primary: false,
128
- # private_ip_address: "String", # required
128
+ # private_ip_address: "String",
129
129
  # },
130
130
  # ],
131
131
  # secondary_private_ip_address_count: 1,
@@ -474,7 +474,7 @@ module Aws::EC2
474
474
  # private_ip_addresses: [
475
475
  # {
476
476
  # primary: false,
477
- # private_ip_address: "String", # required
477
+ # private_ip_address: "String",
478
478
  # },
479
479
  # ],
480
480
  # secondary_private_ip_address_count: 1,
@@ -785,7 +785,7 @@ module Aws::EC2
785
785
  # The number of I/O operations per second (IOPS) to provision for the
786
786
  # volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 32000
787
787
  # IOPS for volumes in most regions. For exceptions, see [Amazon EBS
788
- # Volume Types][1].
788
+ # Volume Types][1] in the *Amazon Elastic Compute Cloud User Guide*.
789
789
  #
790
790
  # This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
791
791
  #
@@ -296,12 +296,10 @@ module Aws::EC2
296
296
  # the destination region in a `PresignedUrl` parameter, where it is
297
297
  # required.
298
298
  #
299
- # <note markdown="1"> `CopySnapshot` sends the snapshot copy to the regional endpoint that
300
- # you send the HTTP request to, such as `ec2.us-east-1.amazonaws.com`
301
- # (in the AWS CLI, this is specified with the `--region` parameter or
302
- # the default region in your AWS configuration file).
303
- #
304
- # </note>
299
+ # The snapshot copy is sent to the regional endpoint that you sent the
300
+ # HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
301
+ # AWS CLI, this is specified using the `--region` parameter or the
302
+ # default region in your AWS configuration file.
305
303
  # @option options [Boolean] :encrypted
306
304
  # Specifies whether the destination snapshot should be encrypted. You
307
305
  # can encrypt a copy of an unencrypted snapshot using this flag, but you
@@ -476,12 +474,8 @@ module Aws::EC2
476
474
  # })
477
475
  # @param [Hash] options ({})
478
476
  # @option options [String] :attribute
479
- # The snapshot attribute to modify.
480
- #
481
- # <note markdown="1"> Only volume creation permissions may be modified at the customer
482
- # level.
483
- #
484
- # </note>
477
+ # The snapshot attribute to modify. Only volume creation permissions can
478
+ # be modified.
485
479
  # @option options [Types::CreateVolumePermissionModifications] :create_volume_permission
486
480
  # A JSON representation of the snapshot attribute modification.
487
481
  # @option options [Array<String>] :group_names
@@ -303,7 +303,7 @@ module Aws::EC2
303
303
  # private_ip_addresses: [
304
304
  # {
305
305
  # primary: false,
306
- # private_ip_address: "String", # required
306
+ # private_ip_address: "String",
307
307
  # },
308
308
  # ],
309
309
  # secondary_private_ip_address_count: 1,
@@ -580,7 +580,7 @@ module Aws::EC2
580
580
  # private_ip_addresses: [
581
581
  # {
582
582
  # primary: false,
583
- # private_ip_address: "String", # required
583
+ # private_ip_address: "String",
584
584
  # },
585
585
  # ],
586
586
  # secondary_private_ip_address_count: 1,
@@ -2492,12 +2492,10 @@ module Aws::EC2
2492
2492
  # the destination region in a `PresignedUrl` parameter, where it is
2493
2493
  # required.
2494
2494
  #
2495
- # <note markdown="1"> `CopySnapshot` sends the snapshot copy to the regional endpoint that
2496
- # you send the HTTP request to, such as `ec2.us-east-1.amazonaws.com`
2497
- # (in the AWS CLI, this is specified with the `--region` parameter or
2498
- # the default region in your AWS configuration file).
2499
- #
2500
- # </note>
2495
+ # The snapshot copy is sent to the regional endpoint that you sent the
2496
+ # HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With
2497
+ # the AWS CLI, this is specified using the `--region` parameter or the
2498
+ # default region in your AWS configuration file.
2501
2499
  # @return [String]
2502
2500
  #
2503
2501
  # @!attribute [rw] encrypted
@@ -3484,7 +3482,7 @@ module Aws::EC2
3484
3482
  # private_ip_addresses: [
3485
3483
  # {
3486
3484
  # primary: false,
3487
- # private_ip_address: "String", # required
3485
+ # private_ip_address: "String",
3488
3486
  # },
3489
3487
  # ],
3490
3488
  # secondary_private_ip_address_count: 1,
@@ -3540,6 +3538,10 @@ module Aws::EC2
3540
3538
  # credit_specification: {
3541
3539
  # cpu_credits: "String", # required
3542
3540
  # },
3541
+ # cpu_options: {
3542
+ # core_count: 1,
3543
+ # threads_per_core: 1,
3544
+ # },
3543
3545
  # },
3544
3546
  # }
3545
3547
  #
@@ -3645,7 +3647,7 @@ module Aws::EC2
3645
3647
  # private_ip_addresses: [
3646
3648
  # {
3647
3649
  # primary: false,
3648
- # private_ip_address: "String", # required
3650
+ # private_ip_address: "String",
3649
3651
  # },
3650
3652
  # ],
3651
3653
  # secondary_private_ip_address_count: 1,
@@ -3701,6 +3703,10 @@ module Aws::EC2
3701
3703
  # credit_specification: {
3702
3704
  # cpu_credits: "String", # required
3703
3705
  # },
3706
+ # cpu_options: {
3707
+ # core_count: 1,
3708
+ # threads_per_core: 1,
3709
+ # },
3704
3710
  # },
3705
3711
  # }
3706
3712
  #
@@ -4053,7 +4059,7 @@ module Aws::EC2
4053
4059
  # private_ip_addresses: [
4054
4060
  # {
4055
4061
  # primary: false,
4056
- # private_ip_address: "String", # required
4062
+ # private_ip_address: "String",
4057
4063
  # },
4058
4064
  # ],
4059
4065
  # secondary_private_ip_address_count: 1,
@@ -4789,7 +4795,7 @@ module Aws::EC2
4789
4795
  # The number of I/O operations per second (IOPS) to provision for the
4790
4796
  # volume, with a maximum ratio of 50 IOPS/GiB. Range is 100 to 32000
4791
4797
  # IOPS for volumes in most regions. For exceptions, see [Amazon EBS
4792
- # Volume Types][1].
4798
+ # Volume Types][1] in the *Amazon Elastic Compute Cloud User Guide*.
4793
4799
  #
4794
4800
  # This parameter is valid only for Provisioned IOPS SSD (io1) volumes.
4795
4801
  #
@@ -18468,7 +18474,7 @@ module Aws::EC2
18468
18474
  # private_ip_addresses: [
18469
18475
  # {
18470
18476
  # primary: false,
18471
- # private_ip_address: "String", # required
18477
+ # private_ip_address: "String",
18472
18478
  # },
18473
18479
  # ],
18474
18480
  # secondary_private_ip_address_count: 1,
@@ -19363,6 +19369,53 @@ module Aws::EC2
19363
19369
  include Aws::Structure
19364
19370
  end
19365
19371
 
19372
+ # The CPU options for the instance.
19373
+ #
19374
+ # @!attribute [rw] core_count
19375
+ # The number of CPU cores for the instance.
19376
+ # @return [Integer]
19377
+ #
19378
+ # @!attribute [rw] threads_per_core
19379
+ # The number of threads per CPU core.
19380
+ # @return [Integer]
19381
+ #
19382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateCpuOptions AWS API Documentation
19383
+ #
19384
+ class LaunchTemplateCpuOptions < Struct.new(
19385
+ :core_count,
19386
+ :threads_per_core)
19387
+ include Aws::Structure
19388
+ end
19389
+
19390
+ # The CPU options for the instance. Both the core count and threads per
19391
+ # core must be specified in the request.
19392
+ #
19393
+ # @note When making an API call, you may pass LaunchTemplateCpuOptionsRequest
19394
+ # data as a hash:
19395
+ #
19396
+ # {
19397
+ # core_count: 1,
19398
+ # threads_per_core: 1,
19399
+ # }
19400
+ #
19401
+ # @!attribute [rw] core_count
19402
+ # The number of CPU cores for the instance.
19403
+ # @return [Integer]
19404
+ #
19405
+ # @!attribute [rw] threads_per_core
19406
+ # The number of threads per CPU core. To disable Intel Hyper-Threading
19407
+ # Technology for the instance, specify a value of 1. Otherwise,
19408
+ # specify the default value of 2.
19409
+ # @return [Integer]
19410
+ #
19411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateCpuOptionsRequest AWS API Documentation
19412
+ #
19413
+ class LaunchTemplateCpuOptionsRequest < Struct.new(
19414
+ :core_count,
19415
+ :threads_per_core)
19416
+ include Aws::Structure
19417
+ end
19418
+
19366
19419
  # Describes a block device for an EBS volume.
19367
19420
  #
19368
19421
  # @!attribute [rw] encrypted
@@ -19669,7 +19722,7 @@ module Aws::EC2
19669
19722
  # private_ip_addresses: [
19670
19723
  # {
19671
19724
  # primary: false,
19672
- # private_ip_address: "String", # required
19725
+ # private_ip_address: "String",
19673
19726
  # },
19674
19727
  # ],
19675
19728
  # secondary_private_ip_address_count: 1,
@@ -21199,12 +21252,8 @@ module Aws::EC2
21199
21252
  # }
21200
21253
  #
21201
21254
  # @!attribute [rw] attribute
21202
- # The snapshot attribute to modify.
21203
- #
21204
- # <note markdown="1"> Only volume creation permissions may be modified at the customer
21205
- # level.
21206
- #
21207
- # </note>
21255
+ # The snapshot attribute to modify. Only volume creation permissions
21256
+ # can be modified.
21208
21257
  # @return [String]
21209
21258
  #
21210
21259
  # @!attribute [rw] create_volume_permission
@@ -21402,10 +21451,10 @@ module Aws::EC2
21402
21451
  # @return [String]
21403
21452
  #
21404
21453
  # @!attribute [rw] size
21405
- # Target size in GiB of the volume to be modified. Target volume size
21406
- # must be greater than or equal to than the existing size of the
21407
- # volume. For information about available EBS volume sizes, see
21408
- # [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html][1].
21454
+ # The target size of the volume, in GiB. The target volume size must
21455
+ # be greater than or equal to than the existing size of the volume.
21456
+ # For information about available EBS volume sizes, see [Amazon EBS
21457
+ # Volume Types][1].
21409
21458
  #
21410
21459
  # Default: If no size is specified, the existing size is retained.
21411
21460
  #
@@ -21415,20 +21464,16 @@ module Aws::EC2
21415
21464
  # @return [Integer]
21416
21465
  #
21417
21466
  # @!attribute [rw] volume_type
21418
- # Target EBS volume type of the volume to be modified
21419
- #
21420
- # The API does not support modifications for volume type `standard`.
21421
- # You also cannot change the type of a volume to `standard`.
21467
+ # The target EBS volume type of the volume.
21422
21468
  #
21423
21469
  # Default: If no type is specified, the existing type is retained.
21424
21470
  # @return [String]
21425
21471
  #
21426
21472
  # @!attribute [rw] iops
21427
- # Target IOPS rate of the volume to be modified.
21473
+ # The target IOPS rate of the volume.
21428
21474
  #
21429
- # Only valid for Provisioned IOPS SSD (`io1`) volumes. For more
21430
- # information about `io1` IOPS configuration, see
21431
- # [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes\_piops][1].
21475
+ # This is only valid for Provisioned IOPS SSD (`io1`) volumes. For
21476
+ # more information, see [Provisioned IOPS SSD (io1) Volumes][1].
21432
21477
  #
21433
21478
  # Default: If no IOPS value is specified, the existing value is
21434
21479
  # retained.
@@ -21450,7 +21495,7 @@ module Aws::EC2
21450
21495
  end
21451
21496
 
21452
21497
  # @!attribute [rw] volume_modification
21453
- # A VolumeModification object.
21498
+ # Information about the volume modification.
21454
21499
  # @return [Types::VolumeModification]
21455
21500
  #
21456
21501
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeResult AWS API Documentation
@@ -22977,7 +23022,7 @@ module Aws::EC2
22977
23022
  #
22978
23023
  # {
22979
23024
  # primary: false,
22980
- # private_ip_address: "String", # required
23025
+ # private_ip_address: "String",
22981
23026
  # }
22982
23027
  #
22983
23028
  # @!attribute [rw] primary
@@ -24208,7 +24253,7 @@ module Aws::EC2
24208
24253
  # private_ip_addresses: [
24209
24254
  # {
24210
24255
  # primary: false,
24211
- # private_ip_address: "String", # required
24256
+ # private_ip_address: "String",
24212
24257
  # },
24213
24258
  # ],
24214
24259
  # secondary_private_ip_address_count: 1,
@@ -24264,6 +24309,10 @@ module Aws::EC2
24264
24309
  # credit_specification: {
24265
24310
  # cpu_credits: "String", # required
24266
24311
  # },
24312
+ # cpu_options: {
24313
+ # core_count: 1,
24314
+ # threads_per_core: 1,
24315
+ # },
24267
24316
  # }
24268
24317
  #
24269
24318
  # @!attribute [rw] kernel_id
@@ -24406,6 +24455,16 @@ module Aws::EC2
24406
24455
  # instances only.
24407
24456
  # @return [Types::CreditSpecificationRequest]
24408
24457
  #
24458
+ # @!attribute [rw] cpu_options
24459
+ # The CPU options for the instance. For more information, see
24460
+ # [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud
24461
+ # User Guide*.
24462
+ #
24463
+ #
24464
+ #
24465
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
24466
+ # @return [Types::LaunchTemplateCpuOptionsRequest]
24467
+ #
24409
24468
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData AWS API Documentation
24410
24469
  #
24411
24470
  class RequestLaunchTemplateData < Struct.new(
@@ -24428,7 +24487,8 @@ module Aws::EC2
24428
24487
  :security_group_ids,
24429
24488
  :security_groups,
24430
24489
  :instance_market_options,
24431
- :credit_specification)
24490
+ :credit_specification,
24491
+ :cpu_options)
24432
24492
  include Aws::Structure
24433
24493
  end
24434
24494
 
@@ -24501,7 +24561,7 @@ module Aws::EC2
24501
24561
  # private_ip_addresses: [
24502
24562
  # {
24503
24563
  # primary: false,
24504
- # private_ip_address: "String", # required
24564
+ # private_ip_address: "String",
24505
24565
  # },
24506
24566
  # ],
24507
24567
  # secondary_private_ip_address_count: 1,
@@ -24671,7 +24731,7 @@ module Aws::EC2
24671
24731
  # private_ip_addresses: [
24672
24732
  # {
24673
24733
  # primary: false,
24674
- # private_ip_address: "String", # required
24734
+ # private_ip_address: "String",
24675
24735
  # },
24676
24736
  # ],
24677
24737
  # secondary_private_ip_address_count: 1,
@@ -24887,7 +24947,7 @@ module Aws::EC2
24887
24947
  # private_ip_addresses: [
24888
24948
  # {
24889
24949
  # primary: false,
24890
- # private_ip_address: "String", # required
24950
+ # private_ip_address: "String",
24891
24951
  # },
24892
24952
  # ],
24893
24953
  # secondary_private_ip_address_count: 1,
@@ -25807,6 +25867,16 @@ module Aws::EC2
25807
25867
  # The credit option for CPU usage of the instance.
25808
25868
  # @return [Types::CreditSpecification]
25809
25869
  #
25870
+ # @!attribute [rw] cpu_options
25871
+ # The CPU options for the instance. For more information, see
25872
+ # [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud
25873
+ # User Guide*.
25874
+ #
25875
+ #
25876
+ #
25877
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
25878
+ # @return [Types::LaunchTemplateCpuOptions]
25879
+ #
25810
25880
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
25811
25881
  #
25812
25882
  class ResponseLaunchTemplateData < Struct.new(
@@ -25829,7 +25899,8 @@ module Aws::EC2
25829
25899
  :security_group_ids,
25830
25900
  :security_groups,
25831
25901
  :instance_market_options,
25832
- :credit_specification)
25902
+ :credit_specification,
25903
+ :cpu_options)
25833
25904
  include Aws::Structure
25834
25905
  end
25835
25906
 
@@ -26375,7 +26446,7 @@ module Aws::EC2
26375
26446
  # private_ip_addresses: [
26376
26447
  # {
26377
26448
  # primary: false,
26378
- # private_ip_address: "String", # required
26449
+ # private_ip_address: "String",
26379
26450
  # },
26380
26451
  # ],
26381
26452
  # secondary_private_ip_address_count: 1,
@@ -28281,7 +28352,7 @@ module Aws::EC2
28281
28352
  # private_ip_addresses: [
28282
28353
  # {
28283
28354
  # primary: false,
28284
- # private_ip_address: "String", # required
28355
+ # private_ip_address: "String",
28285
28356
  # },
28286
28357
  # ],
28287
28358
  # secondary_private_ip_address_count: 1,
@@ -28562,7 +28633,7 @@ module Aws::EC2
28562
28633
  # private_ip_addresses: [
28563
28634
  # {
28564
28635
  # primary: false,
28565
- # private_ip_address: "String", # required
28636
+ # private_ip_address: "String",
28566
28637
  # },
28567
28638
  # ],
28568
28639
  # secondary_private_ip_address_count: 1,
@@ -30504,7 +30575,7 @@ module Aws::EC2
30504
30575
  # number of IOPS that are provisioned for the volume. For General
30505
30576
  # Purpose SSD volumes, this represents the baseline performance of the
30506
30577
  # volume and the rate at which the volume accumulates I/O credits for
30507
- # bursting. For more information on General Purpose SSD baseline
30578
+ # bursting. For more information about General Purpose SSD baseline
30508
30579
  # performance, I/O credits, and bursting, see [Amazon EBS Volume
30509
30580
  # Types][1] in the *Amazon Elastic Compute Cloud User Guide*.
30510
30581
  #
@@ -30612,52 +30683,52 @@ module Aws::EC2
30612
30683
  # null.
30613
30684
  #
30614
30685
  # @!attribute [rw] volume_id
30615
- # ID of the volume being modified.
30686
+ # The ID of the volume.
30616
30687
  # @return [String]
30617
30688
  #
30618
30689
  # @!attribute [rw] modification_state
30619
- # Current state of modification. Modification state is null for
30690
+ # The current modification state. The modification state is null for
30620
30691
  # unmodified volumes.
30621
30692
  # @return [String]
30622
30693
  #
30623
30694
  # @!attribute [rw] status_message
30624
- # Generic status message on modification progress or failure.
30695
+ # A status message about the modification progress or failure.
30625
30696
  # @return [String]
30626
30697
  #
30627
30698
  # @!attribute [rw] target_size
30628
- # Target size of the volume being modified.
30699
+ # The target size of the volume, in GiB.
30629
30700
  # @return [Integer]
30630
30701
  #
30631
30702
  # @!attribute [rw] target_iops
30632
- # Target IOPS rate of the volume being modified.
30703
+ # The target IOPS rate of the volume.
30633
30704
  # @return [Integer]
30634
30705
  #
30635
30706
  # @!attribute [rw] target_volume_type
30636
- # Target EBS volume type of the volume being modified.
30707
+ # The target EBS volume type of the volume.
30637
30708
  # @return [String]
30638
30709
  #
30639
30710
  # @!attribute [rw] original_size
30640
- # Original size of the volume being modified.
30711
+ # The original size of the volume.
30641
30712
  # @return [Integer]
30642
30713
  #
30643
30714
  # @!attribute [rw] original_iops
30644
- # Original IOPS rate of the volume being modified.
30715
+ # The original IOPS rate of the volume.
30645
30716
  # @return [Integer]
30646
30717
  #
30647
30718
  # @!attribute [rw] original_volume_type
30648
- # Original EBS volume type of the volume being modified.
30719
+ # The original EBS volume type of the volume.
30649
30720
  # @return [String]
30650
30721
  #
30651
30722
  # @!attribute [rw] progress
30652
- # Modification progress from 0 to 100%.
30723
+ # The modification progress, from 0 to 100 percent complete.
30653
30724
  # @return [Integer]
30654
30725
  #
30655
30726
  # @!attribute [rw] start_time
30656
- # Modification start time
30727
+ # The modification start time.
30657
30728
  # @return [Time]
30658
30729
  #
30659
30730
  # @!attribute [rw] end_time
30660
- # Modification completion or failure time.
30731
+ # The modification completion or failure time.
30661
30732
  # @return [Time]
30662
30733
  #
30663
30734
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeModification AWS API Documentation
@@ -86,7 +86,7 @@ module Aws::EC2
86
86
  # of IOPS that are provisioned for the volume. For General Purpose SSD
87
87
  # volumes, this represents the baseline performance of the volume and
88
88
  # the rate at which the volume accumulates I/O credits for bursting. For
89
- # more information on General Purpose SSD baseline performance, I/O
89
+ # more information about General Purpose SSD baseline performance, I/O
90
90
  # credits, and bursting, see [Amazon EBS Volume Types][1] in the *Amazon
91
91
  # Elastic Compute Cloud User Guide*.
92
92
  #
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.37.0
4
+ version: 1.38.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-03 00:00:00.000000000 Z
11
+ date: 2018-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4