aws-sdk-ec2 1.80.0 → 1.81.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1006,6 +1006,7 @@ module Aws::EC2
1006
1006
  NetworkInterfaceAttachment = Shapes::StructureShape.new(name: 'NetworkInterfaceAttachment')
1007
1007
  NetworkInterfaceAttachmentChanges = Shapes::StructureShape.new(name: 'NetworkInterfaceAttachmentChanges')
1008
1008
  NetworkInterfaceAttribute = Shapes::StringShape.new(name: 'NetworkInterfaceAttribute')
1009
+ NetworkInterfaceCreationType = Shapes::StringShape.new(name: 'NetworkInterfaceCreationType')
1009
1010
  NetworkInterfaceIdList = Shapes::ListShape.new(name: 'NetworkInterfaceIdList')
1010
1011
  NetworkInterfaceIpv6Address = Shapes::StructureShape.new(name: 'NetworkInterfaceIpv6Address')
1011
1012
  NetworkInterfaceIpv6AddressesList = Shapes::ListShape.new(name: 'NetworkInterfaceIpv6AddressesList')
@@ -2392,6 +2393,7 @@ module Aws::EC2
2392
2393
  CreateNetworkInterfaceRequest.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
2393
2394
  CreateNetworkInterfaceRequest.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddressSpecificationList, location_name: "privateIpAddresses"))
2394
2395
  CreateNetworkInterfaceRequest.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
2396
+ CreateNetworkInterfaceRequest.add_member(:interface_type, Shapes::ShapeRef.new(shape: NetworkInterfaceCreationType, location_name: "InterfaceType"))
2395
2397
  CreateNetworkInterfaceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "subnetId"))
2396
2398
  CreateNetworkInterfaceRequest.struct_class = Types::CreateNetworkInterfaceRequest
2397
2399
 
@@ -4894,6 +4896,7 @@ module Aws::EC2
4894
4896
  InstanceNetworkInterface.add_member(:status, Shapes::ShapeRef.new(shape: NetworkInterfaceStatus, location_name: "status"))
4895
4897
  InstanceNetworkInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
4896
4898
  InstanceNetworkInterface.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
4899
+ InstanceNetworkInterface.add_member(:interface_type, Shapes::ShapeRef.new(shape: String, location_name: "interfaceType"))
4897
4900
  InstanceNetworkInterface.struct_class = Types::InstanceNetworkInterface
4898
4901
 
4899
4902
  InstanceNetworkInterfaceAssociation.add_member(:ip_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ipOwnerId"))
@@ -4922,6 +4925,7 @@ module Aws::EC2
4922
4925
  InstanceNetworkInterfaceSpecification.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddressSpecificationList, location_name: "privateIpAddressesSet", metadata: {"queryName"=>"PrivateIpAddresses"}))
4923
4926
  InstanceNetworkInterfaceSpecification.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
4924
4927
  InstanceNetworkInterfaceSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
4928
+ InstanceNetworkInterfaceSpecification.add_member(:interface_type, Shapes::ShapeRef.new(shape: String, location_name: "InterfaceType"))
4925
4929
  InstanceNetworkInterfaceSpecification.struct_class = Types::InstanceNetworkInterfaceSpecification
4926
4930
 
4927
4931
  InstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecification, location_name: "item")
@@ -5172,6 +5176,7 @@ module Aws::EC2
5172
5176
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
5173
5177
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:device_index, Shapes::ShapeRef.new(shape: Integer, location_name: "deviceIndex"))
5174
5178
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdStringList, location_name: "groupSet"))
5179
+ LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:interface_type, Shapes::ShapeRef.new(shape: String, location_name: "interfaceType"))
5175
5180
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_6_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ipv6AddressCount"))
5176
5181
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: InstanceIpv6AddressList, location_name: "ipv6AddressesSet"))
5177
5182
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "networkInterfaceId"))
@@ -5188,6 +5193,7 @@ module Aws::EC2
5188
5193
  LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
5189
5194
  LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:device_index, Shapes::ShapeRef.new(shape: Integer, location_name: "DeviceIndex"))
5190
5195
  LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:groups, Shapes::ShapeRef.new(shape: SecurityGroupIdStringList, location_name: "SecurityGroupId"))
5196
+ LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:interface_type, Shapes::ShapeRef.new(shape: String, location_name: "InterfaceType"))
5191
5197
  LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_6_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6AddressCount"))
5192
5198
  LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: InstanceIpv6AddressListRequest, location_name: "Ipv6Addresses"))
5193
5199
  LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "NetworkInterfaceId"))
@@ -6128,8 +6134,8 @@ module Aws::EC2
6128
6134
  RequestLaunchTemplateData.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecificationRequest, location_name: "CreditSpecification"))
6129
6135
  RequestLaunchTemplateData.add_member(:cpu_options, Shapes::ShapeRef.new(shape: LaunchTemplateCpuOptionsRequest, location_name: "CpuOptions"))
6130
6136
  RequestLaunchTemplateData.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: LaunchTemplateCapacityReservationSpecificationRequest, location_name: "CapacityReservationSpecification"))
6131
- RequestLaunchTemplateData.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: LaunchTemplateHibernationOptionsRequest, location_name: "HibernationOptions"))
6132
6137
  RequestLaunchTemplateData.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LaunchTemplateLicenseSpecificationListRequest, location_name: "LicenseSpecification"))
6138
+ RequestLaunchTemplateData.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: LaunchTemplateHibernationOptionsRequest, location_name: "HibernationOptions"))
6133
6139
  RequestLaunchTemplateData.struct_class = Types::RequestLaunchTemplateData
6134
6140
 
6135
6141
  RequestSpotFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -6357,8 +6363,8 @@ module Aws::EC2
6357
6363
  ResponseLaunchTemplateData.add_member(:credit_specification, Shapes::ShapeRef.new(shape: CreditSpecification, location_name: "creditSpecification"))
6358
6364
  ResponseLaunchTemplateData.add_member(:cpu_options, Shapes::ShapeRef.new(shape: LaunchTemplateCpuOptions, location_name: "cpuOptions"))
6359
6365
  ResponseLaunchTemplateData.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: LaunchTemplateCapacityReservationSpecificationResponse, location_name: "capacityReservationSpecification"))
6360
- ResponseLaunchTemplateData.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: LaunchTemplateHibernationOptions, location_name: "hibernationOptions"))
6361
6366
  ResponseLaunchTemplateData.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LaunchTemplateLicenseList, location_name: "licenseSet"))
6367
+ ResponseLaunchTemplateData.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: LaunchTemplateHibernationOptions, location_name: "hibernationOptions"))
6362
6368
  ResponseLaunchTemplateData.struct_class = Types::ResponseLaunchTemplateData
6363
6369
 
6364
6370
  RestorableByStringList.member = Shapes::ShapeRef.new(shape: String)
@@ -220,9 +220,9 @@ module Aws::EC2
220
220
  # If you have the required permissions, the error response is
221
221
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
222
222
  # @option options [required, Array<Types::Tag>] :tags
223
- # One or more tags. The `value` parameter is required, but if you don't
224
- # want the tag to have a value, specify the parameter with no value, and
225
- # we set the value to an empty string.
223
+ # The tags. The `value` parameter is required, but if you don't want
224
+ # the tag to have a value, specify the parameter with no value, and we
225
+ # set the value to an empty string.
226
226
  # @return [Tag::Collection]
227
227
  def create_tags(options = {})
228
228
  batch = []
@@ -359,9 +359,9 @@ module Aws::EC2
359
359
  # If you have the required permissions, the error response is
360
360
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
361
361
  # @option options [required, Array<Types::Tag>] :tags
362
- # One or more tags. The `value` parameter is required, but if you don't
363
- # want the tag to have a value, specify the parameter with no value, and
364
- # we set the value to an empty string.
362
+ # The tags. The `value` parameter is required, but if you don't want
363
+ # the tag to have a value, specify the parameter with no value, and we
364
+ # set the value to an empty string.
365
365
  # @return [Tag::Collection]
366
366
  def create_tags(options = {})
367
367
  batch = []
@@ -460,13 +460,13 @@ module Aws::EC2
460
460
  # The operation type. This parameter can be used only when the
461
461
  # `Attribute` parameter is `launchPermission`.
462
462
  # @option options [Array<String>] :product_codes
463
- # One or more DevPay product codes. After you add a product code to an
464
- # AMI, it can't be removed.
463
+ # The DevPay product codes. After you add a product code to an AMI, it
464
+ # can't be removed.
465
465
  # @option options [Array<String>] :user_groups
466
- # One or more user groups. This parameter can be used only when the
467
- # `Attribute` parameter is `launchPermission`.
466
+ # The user groups. This parameter can be used only when the `Attribute`
467
+ # parameter is `launchPermission`.
468
468
  # @option options [Array<String>] :user_ids
469
- # One or more AWS account IDs. This parameter can be used only when the
469
+ # The AWS account IDs. This parameter can be used only when the
470
470
  # `Attribute` parameter is `launchPermission`.
471
471
  # @option options [String] :value
472
472
  # The value of the attribute being modified. This parameter can be used
@@ -686,9 +686,9 @@ module Aws::EC2
686
686
  # If you have the required permissions, the error response is
687
687
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
688
688
  # @option options [required, Array<Types::Tag>] :tags
689
- # One or more tags. The `value` parameter is required, but if you don't
690
- # want the tag to have a value, specify the parameter with no value, and
691
- # we set the value to an empty string.
689
+ # The tags. The `value` parameter is required, but if you don't want
690
+ # the tag to have a value, specify the parameter with no value, and we
691
+ # set the value to an empty string.
692
692
  # @return [Tag::Collection]
693
693
  def create_tags(options = {})
694
694
  batch = []
@@ -1328,7 +1328,8 @@ module Aws::EC2
1328
1328
  #
1329
1329
  # * `create-time` - The time stamp when the volume was created.
1330
1330
  #
1331
- # * `encrypted` - The encryption status of the volume.
1331
+ # * `encrypted` - Indicates whether the volume is encrypted (`true` \|
1332
+ # `false`)
1332
1333
  #
1333
1334
  # * `size` - The size of the volume, in GiB.
1334
1335
  #
@@ -1540,9 +1541,9 @@ module Aws::EC2
1540
1541
  # If you have the required permissions, the error response is
1541
1542
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1542
1543
  # @option options [required, Array<Types::Tag>] :tags
1543
- # One or more tags. The `value` parameter is required, but if you don't
1544
- # want the tag to have a value, specify the parameter with no value, and
1545
- # we set the value to an empty string.
1544
+ # The tags. The `value` parameter is required, but if you don't want
1545
+ # the tag to have a value, specify the parameter with no value, and we
1546
+ # set the value to an empty string.
1546
1547
  # @return [void]
1547
1548
  def batch_create_tags(options = {})
1548
1549
  batch_enum.each do |batch|
@@ -220,9 +220,9 @@ module Aws::EC2
220
220
  # If you have the required permissions, the error response is
221
221
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
222
222
  # @option options [required, Array<Types::Tag>] :tags
223
- # One or more tags. The `value` parameter is required, but if you don't
224
- # want the tag to have a value, specify the parameter with no value, and
225
- # we set the value to an empty string.
223
+ # The tags. The `value` parameter is required, but if you don't want
224
+ # the tag to have a value, specify the parameter with no value, and we
225
+ # set the value to an empty string.
226
226
  # @return [Tag::Collection]
227
227
  def create_tags(options = {})
228
228
  batch = []
@@ -282,9 +282,9 @@ module Aws::EC2
282
282
  # If you have the required permissions, the error response is
283
283
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
284
284
  # @option options [required, Array<Types::Tag>] :tags
285
- # One or more tags. The `value` parameter is required, but if you don't
286
- # want the tag to have a value, specify the parameter with no value, and
287
- # we set the value to an empty string.
285
+ # The tags. The `value` parameter is required, but if you don't want
286
+ # the tag to have a value, specify the parameter with no value, and we
287
+ # set the value to an empty string.
288
288
  # @return [Tag::Collection]
289
289
  def create_tags(options = {})
290
290
  batch = []
@@ -55,7 +55,7 @@ module Aws::EC2
55
55
  data[:groups]
56
56
  end
57
57
 
58
- # The type of interface.
58
+ # The type of network interface.
59
59
  # @return [String]
60
60
  def interface_type
61
61
  data[:interface_type]
@@ -344,9 +344,9 @@ module Aws::EC2
344
344
  # If you have the required permissions, the error response is
345
345
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
346
346
  # @option options [required, Array<Types::Tag>] :tags
347
- # One or more tags. The `value` parameter is required, but if you don't
348
- # want the tag to have a value, specify the parameter with no value, and
349
- # we set the value to an empty string.
347
+ # The tags. The `value` parameter is required, but if you don't want
348
+ # the tag to have a value, specify the parameter with no value, and we
349
+ # set the value to an empty string.
350
350
  # @return [Tag::Collection]
351
351
  def create_tags(options = {})
352
352
  batch = []
@@ -408,8 +408,8 @@ module Aws::EC2
408
408
  # * `placement-partition-number` - The partition in which the instance
409
409
  # is located.
410
410
  #
411
- # * `platform` - The platform. Use `windows` if you have Windows
412
- # instances; otherwise, leave blank.
411
+ # * `platform` - The platform. To list only Windows instances, use
412
+ # `windows`.
413
413
  #
414
414
  # * `private-dns-name` - The private IPv4 DNS name of the instance.
415
415
  #
@@ -131,6 +131,7 @@ module Aws::EC2
131
131
  # ],
132
132
  # secondary_private_ip_address_count: 1,
133
133
  # subnet_id: "String",
134
+ # interface_type: "String",
134
135
  # },
135
136
  # ],
136
137
  # private_ip_address: "String",
@@ -200,9 +201,8 @@ module Aws::EC2
200
201
  # not blank and its encryption status is used for the volume encryption
201
202
  # status.
202
203
  # @option options [String] :image_id
203
- # The ID of the AMI, which you can get by calling DescribeImages. An AMI
204
- # is required to launch an instance and must be specified here or in a
205
- # launch template.
204
+ # The ID of the AMI. An AMI is required to launch an instance and must
205
+ # be specified here or in a launch template.
206
206
  # @option options [String] :instance_type
207
207
  # The instance type. For more information, see [Instance Types][1] in
208
208
  # the *Amazon Elastic Compute Cloud User Guide*.
@@ -213,7 +213,7 @@ module Aws::EC2
213
213
  #
214
214
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
215
215
  # @option options [Integer] :ipv_6_address_count
216
- # \[EC2-VPC\] A number of IPv6 addresses to associate with the primary
216
+ # \[EC2-VPC\] The number of IPv6 addresses to associate with the primary
217
217
  # network interface. Amazon EC2 chooses the IPv6 addresses from the
218
218
  # range of your subnet. You cannot specify this option and the option to
219
219
  # assign specific IPv6 addresses in the same request. You can specify
@@ -276,11 +276,14 @@ module Aws::EC2
276
276
  #
277
277
  # [1]: http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2
278
278
  # @option options [Types::RunInstancesMonitoringEnabled] :monitoring
279
- # The monitoring for the instance.
279
+ # Specifies whether detailed monitoring is enabled for the instance.
280
280
  # @option options [Types::Placement] :placement
281
281
  # The placement for the instance.
282
282
  # @option options [String] :ramdisk_id
283
- # The ID of the RAM disk.
283
+ # The ID of the RAM disk to select. Some kernels require additional
284
+ # drivers at launch. Check the kernel requirements for information about
285
+ # whether you need to specify a RAM disk. To find kernel requirements,
286
+ # go to the AWS Resource Center and search for the kernel ID.
284
287
  #
285
288
  # We recommend that you use PV-GRUB instead of kernels and RAM disks.
286
289
  # For more information, see [ PV-GRUB][1] in the *Amazon Elastic Compute
@@ -315,7 +318,8 @@ module Aws::EC2
315
318
  # see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
316
319
  # [Adding User Data][2] (Windows). If you are using a command line tool,
317
320
  # base64-encoding is performed for you, and you can load the text from a
318
- # file. Otherwise, you must provide base64-encoded text.
321
+ # file. Otherwise, you must provide base64-encoded text. User data is
322
+ # limited to 16 KB.
319
323
  #
320
324
  #
321
325
  #
@@ -365,10 +369,7 @@ module Aws::EC2
365
369
  #
366
370
  # Default: `stop`
367
371
  # @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
368
- # The network interfaces.
369
- #
370
- # You cannot specify this option and the network interfaces option in
371
- # the same request.
372
+ # The network interfaces to associate with the instance.
372
373
  # @option options [String] :private_ip_address
373
374
  # \[EC2-VPC\] The primary IPv4 address. You must specify a value from
374
375
  # the IPv4 address range of the subnet.
@@ -382,9 +383,20 @@ module Aws::EC2
382
383
  # You cannot specify this option and the network interfaces option in
383
384
  # the same request.
384
385
  # @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
385
- # An elastic GPU to associate with the instance.
386
+ # An elastic GPU to associate with the instance. An Elastic GPU is a GPU
387
+ # resource that you can attach to your Windows instance to accelerate
388
+ # the graphics performance of your applications. For more information,
389
+ # see [ Amazon EC2 Elastic GPUs][1] in the *Amazon Elastic Compute Cloud
390
+ # User Guide*.
391
+ #
392
+ #
393
+ #
394
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
386
395
  # @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
387
- # An elastic inference accelerator.
396
+ # An elastic inference accelerator to associate with the instance.
397
+ # Elastic inference accelerators are a resource you can attach to your
398
+ # Amazon EC2 instances to accelerate your Deep Learning (DL) inference
399
+ # workloads.
388
400
  # @option options [Array<Types::TagSpecification>] :tag_specifications
389
401
  # The tags to apply to the resources during launch. You can only tag
390
402
  # instances and volumes on launch. The specified tags are applied to all
@@ -402,9 +414,9 @@ module Aws::EC2
402
414
  # when **InstanceInterruptionBehavior** is set to either `hibernate` or
403
415
  # `stop`.
404
416
  # @option options [Types::CreditSpecificationRequest] :credit_specification
405
- # The credit option for CPU usage of the instance. Valid values are
406
- # `standard` and `unlimited`. To change this attribute after launch, use
407
- # ModifyInstanceCreditSpecification. For more information, see
417
+ # The credit option for CPU usage of the T2 or T3 instance. Valid values
418
+ # are `standard` and `unlimited`. To change this attribute after launch,
419
+ # use ModifyInstanceCreditSpecification. For more information, see
408
420
  # [Burstable Performance Instances][1] in the *Amazon Elastic Compute
409
421
  # Cloud User Guide*.
410
422
  #
@@ -542,6 +554,7 @@ module Aws::EC2
542
554
  # },
543
555
  # ],
544
556
  # secondary_private_ip_address_count: 1,
557
+ # interface_type: "efa", # accepts efa
545
558
  # subnet_id: "String", # required
546
559
  # })
547
560
  # @param [Hash] options ({})
@@ -587,6 +600,14 @@ module Aws::EC2
587
600
  #
588
601
  #
589
602
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
603
+ # @option options [String] :interface_type
604
+ # Indicates whether the network interface is an Elastic Fabric Adapter
605
+ # (EFA). Only specify this parameter to create an EFA. For more
606
+ # information, see [Elastic Fabric
607
+ # Adapter](AWSEC2/latest/UserGuide/efa.html) in the *Amazon Elastic
608
+ # Compute Cloud User Guide*.
609
+ #
610
+ # If you are not creating an EFA ENI, omit this parameter.
590
611
  # @option options [required, String] :subnet_id
591
612
  # The ID of the subnet to associate with the network interface.
592
613
  # @return [NetworkInterface]
@@ -805,9 +826,9 @@ module Aws::EC2
805
826
  # Constraints: Up to 1000 resource IDs. We recommend breaking up this
806
827
  # request into smaller batches.
807
828
  # @option options [required, Array<Types::Tag>] :tags
808
- # One or more tags. The `value` parameter is required, but if you don't
809
- # want the tag to have a value, specify the parameter with no value, and
810
- # we set the value to an empty string.
829
+ # The tags. The `value` parameter is required, but if you don't want
830
+ # the tag to have a value, specify the parameter with no value, and we
831
+ # set the value to an empty string.
811
832
  # @return [EmptyStructure]
812
833
  def create_tags(options = {})
813
834
  resp = @client.create_tags(options)
@@ -1118,7 +1139,7 @@ module Aws::EC2
1118
1139
  # Default: For Amazon EBS-backed AMIs, `i386`. For instance store-backed
1119
1140
  # AMIs, the architecture specified in the manifest file.
1120
1141
  # @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
1121
- # One or more block device mapping entries.
1142
+ # The block device mapping entries.
1122
1143
  # @option options [String] :description
1123
1144
  # A description for your AMI.
1124
1145
  # @option options [Boolean] :dry_run
@@ -1348,7 +1369,7 @@ module Aws::EC2
1348
1369
  # an AWS account ID, `self` (the sender of the request), or `all`
1349
1370
  # (public AMIs).
1350
1371
  # @option options [Array<Types::Filter>] :filters
1351
- # One or more filters.
1372
+ # The filters.
1352
1373
  #
1353
1374
  # * `architecture` - The image architecture (`i386` \| `x86_64`).
1354
1375
  #
@@ -1437,7 +1458,7 @@ module Aws::EC2
1437
1458
  # * `virtualization-type` - The virtualization type (`paravirtual` \|
1438
1459
  # `hvm`).
1439
1460
  # @option options [Array<String>] :image_ids
1440
- # One or more image IDs.
1461
+ # The image IDs.
1441
1462
  #
1442
1463
  # Default: Describes all images available to you.
1443
1464
  # @option options [Array<String>] :owners
@@ -1683,8 +1704,8 @@ module Aws::EC2
1683
1704
  # * `placement-partition-number` - The partition in which the instance
1684
1705
  # is located.
1685
1706
  #
1686
- # * `platform` - The platform. Use `windows` if you have Windows
1687
- # instances; otherwise, leave blank.
1707
+ # * `platform` - The platform. To list only Windows instances, use
1708
+ # `windows`.
1688
1709
  #
1689
1710
  # * `private-dns-name` - The private IPv4 DNS name of the instance.
1690
1711
  #
@@ -2122,7 +2143,7 @@ module Aws::EC2
2122
2143
  # being managed by an AWS service (for example, AWS Management
2123
2144
  # Console, Auto Scaling, and so on).
2124
2145
  #
2125
- # * `source-desk-check` - Indicates whether the network interface
2146
+ # * `source-dest-check` - Indicates whether the network interface
2126
2147
  # performs source/destination checking. A value of `true` means
2127
2148
  # checking is enabled, and `false` means checking is disabled. The
2128
2149
  # value must be `false` for the network interface to perform network
@@ -2530,6 +2551,9 @@ module Aws::EC2
2530
2551
  #
2531
2552
  # * `description` - A description of the snapshot.
2532
2553
  #
2554
+ # * `encrypted` - Indicates whether the snapshot is encrypted (`true` \|
2555
+ # `false`)
2556
+ #
2533
2557
  # * `owner-alias` - Value from an Amazon-maintained list (`amazon` \|
2534
2558
  # `self` \| `all` \| `aws-marketplace` \| `microsoft`) of snapshot
2535
2559
  # owners. Not to be confused with the user-configured AWS account
@@ -2735,7 +2759,8 @@ module Aws::EC2
2735
2759
  #
2736
2760
  # * `create-time` - The time stamp when the volume was created.
2737
2761
  #
2738
- # * `encrypted` - The encryption status of the volume.
2762
+ # * `encrypted` - Indicates whether the volume is encrypted (`true` \|
2763
+ # `false`)
2739
2764
  #
2740
2765
  # * `size` - The size of the volume, in GiB.
2741
2766
  #
@@ -283,9 +283,9 @@ module Aws::EC2
283
283
  # If you have the required permissions, the error response is
284
284
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
285
285
  # @option options [required, Array<Types::Tag>] :tags
286
- # One or more tags. The `value` parameter is required, but if you don't
287
- # want the tag to have a value, specify the parameter with no value, and
288
- # we set the value to an empty string.
286
+ # The tags. The `value` parameter is required, but if you don't want
287
+ # the tag to have a value, specify the parameter with no value, and we
288
+ # set the value to an empty string.
289
289
  # @return [Tag::Collection]
290
290
  def create_tags(options = {})
291
291
  batch = []
@@ -55,7 +55,7 @@ module Aws::EC2
55
55
  data[:owner_id]
56
56
  end
57
57
 
58
- # \[EC2-VPC\] The outbound rules associated with the security group.
58
+ # \[VPC only\] The outbound rules associated with the security group.
59
59
  # @return [Array<Types::IpPermission>]
60
60
  def ip_permissions_egress
61
61
  data[:ip_permissions_egress]
@@ -67,7 +67,7 @@ module Aws::EC2
67
67
  data[:tags]
68
68
  end
69
69
 
70
- # \[EC2-VPC\] The ID of the VPC for the security group.
70
+ # \[VPC only\] The ID of the VPC for the security group.
71
71
  # @return [String]
72
72
  def vpc_id
73
73
  data[:vpc_id]
@@ -333,28 +333,35 @@ module Aws::EC2
333
333
  # })
334
334
  # @param [Hash] options ({})
335
335
  # @option options [String] :cidr_ip
336
- # The CIDR IPv4 address range. You can't specify this parameter when
337
- # specifying a source security group.
336
+ # The IPv4 address range, in CIDR format. You can't specify this
337
+ # parameter when specifying a source security group. To specify an IPv6
338
+ # address range, use a set of IP permissions.
339
+ #
340
+ # Alternatively, use a set of IP permissions to specify multiple rules
341
+ # and a description for the rule.
338
342
  # @option options [Integer] :from_port
339
- # The start of port range for the TCP and UDP protocols, or an
340
- # ICMP/ICMPv6 type number. For the ICMP/ICMPv6 type number, use `-1` to
341
- # specify all types. If you specify all ICMP/ICMPv6 types, you must
342
- # specify all codes.
343
+ # The start of port range for the TCP and UDP protocols, or an ICMP type
344
+ # number. For the ICMP type number, use `-1` to specify all types. If
345
+ # you specify all ICMP types, you must specify all codes.
346
+ #
347
+ # Alternatively, use a set of IP permissions to specify multiple rules
348
+ # and a description for the rule.
343
349
  # @option options [String] :group_name
344
350
  # \[EC2-Classic, default VPC\] The name of the security group. You must
345
351
  # specify either the security group ID or the security group name in the
346
352
  # request.
347
353
  # @option options [Array<Types::IpPermission>] :ip_permissions
348
- # The sets of IP permissions. Can be used to specify multiple rules in a
349
- # single command.
354
+ # The sets of IP permissions.
350
355
  # @option options [String] :ip_protocol
351
356
  # The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
352
- # Numbers][1]). (VPC only) Use `-1` to specify all protocols. If you
353
- # specify `-1`, or a protocol number other than `tcp`, `udp`, `icmp`, or
354
- # `58` (ICMPv6), traffic on all ports is allowed, regardless of any
355
- # ports you specify. For `tcp`, `udp`, and `icmp`, you must specify a
356
- # port range. For protocol `58` (ICMPv6), you can optionally specify a
357
- # port range; if you don't, traffic for all types and codes is allowed.
357
+ # Numbers][1]). To specify `icmpv6`, use a set of IP permissions.
358
+ #
359
+ # \[VPC only\] Use `-1` to specify all protocols. If you specify `-1` or
360
+ # a protocol other than `tcp`, `udp`, or `icmp`, traffic on all ports is
361
+ # allowed, regardless of any ports you specify.
362
+ #
363
+ # Alternatively, use a set of IP permissions to specify multiple rules
364
+ # and a description for the rule.
358
365
  #
359
366
  #
360
367
  #
@@ -376,10 +383,12 @@ module Aws::EC2
376
383
  # ICMP, UDP, and TCP access. To create a rule with a specific IP
377
384
  # protocol and port range, use a set of IP permissions instead.
378
385
  # @option options [Integer] :to_port
379
- # The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6
380
- # code number. For the ICMP/ICMPv6 code number, use `-1` to specify all
381
- # codes. If you specify all ICMP/ICMPv6 types, you must specify all
382
- # codes.
386
+ # The end of port range for the TCP and UDP protocols, or an ICMP code
387
+ # number. For the ICMP code number, use `-1` to specify all codes. If
388
+ # you specify all ICMP types, you must specify all codes.
389
+ #
390
+ # Alternatively, use a set of IP permissions to specify multiple rules
391
+ # and a description for the rule.
383
392
  # @option options [Boolean] :dry_run
384
393
  # Checks whether you have the required permissions for the action,
385
394
  # without actually making the request, and provides an error response.
@@ -410,9 +419,9 @@ module Aws::EC2
410
419
  # If you have the required permissions, the error response is
411
420
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
412
421
  # @option options [required, Array<Types::Tag>] :tags
413
- # One or more tags. The `value` parameter is required, but if you don't
414
- # want the tag to have a value, specify the parameter with no value, and
415
- # we set the value to an empty string.
422
+ # The tags. The `value` parameter is required, but if you don't want
423
+ # the tag to have a value, specify the parameter with no value, and we
424
+ # set the value to an empty string.
416
425
  # @return [Tag::Collection]
417
426
  def create_tags(options = {})
418
427
  batch = []