aws-sdk-ec2 1.391.0 → 1.392.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.
@@ -35,7 +35,7 @@ module Aws::EC2
35
35
  end
36
36
  alias :dhcp_options_id :id
37
37
 
38
- # One or more DHCP options in the set.
38
+ # The DHCP options in the set.
39
39
  # @return [Array<Types::DhcpConfiguration>]
40
40
  def dhcp_configurations
41
41
  data[:dhcp_configurations]
@@ -675,10 +675,10 @@ module Aws::EC2
675
675
  # If you have the required permissions, the error response is
676
676
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
677
677
  # @option options [required, Array<String>] :groups
678
- # The ID of one or more of the VPC's security groups. You cannot
679
- # specify security groups from a different VPC.
678
+ # The IDs of the security groups. You cannot specify security groups
679
+ # from a different VPC.
680
680
  # @option options [required, String] :vpc_id
681
- # The ID of a ClassicLink-enabled VPC.
681
+ # The ID of the ClassicLink-enabled VPC.
682
682
  # @return [Types::AttachClassicLinkVpcResult]
683
683
  def attach_classic_link_vpc(options = {})
684
684
  options = options.merge(instance_id: @id)
@@ -796,19 +796,20 @@ module Aws::EC2
796
796
  # brackets (\[\]), spaces ( ), periods (.), slashes (/), dashes (-),
797
797
  # single quotes ('), at-signs (@), or underscores(\_)
798
798
  # @option options [Boolean] :no_reboot
799
- # By default, when Amazon EC2 creates the new AMI, it reboots the
800
- # instance so that it can take snapshots of the attached volumes while
801
- # data is at rest, in order to ensure a consistent state. You can set
802
- # the `NoReboot` parameter to `true` in the API request, or use the
803
- # `--no-reboot` option in the CLI to prevent Amazon EC2 from shutting
804
- # down and rebooting the instance.
805
- #
806
- # If you choose to bypass the shutdown and reboot process by setting the
807
- # `NoReboot` parameter to `true` in the API request, or by using the
808
- # `--no-reboot` option in the CLI, we can't guarantee the file system
809
- # integrity of the created image.
810
- #
811
- # Default: `false` (follow standard reboot process)
799
+ # Indicates whether or not the instance should be automatically rebooted
800
+ # before creating the image. Specify one of the following values:
801
+ #
802
+ # * `true` - The instance is not rebooted before creating the image.
803
+ # This creates crash-consistent snapshots that include only the data
804
+ # that has been written to the volumes at the time the snapshots are
805
+ # created. Buffered data and data in memory that has not yet been
806
+ # written to the volumes is not included in the snapshots.
807
+ #
808
+ # * `false` - The instance is rebooted before creating the image. This
809
+ # ensures that all buffered data and data in memory is written to the
810
+ # volumes before the snapshots are created.
811
+ #
812
+ # Default: `false`
812
813
  # @option options [Array<Types::TagSpecification>] :tag_specifications
813
814
  # The tags to apply to the AMI and snapshots on creation. You can tag
814
815
  # the AMI, the snapshots, or both.
@@ -41,7 +41,7 @@ module Aws::EC2
41
41
  data[:associations]
42
42
  end
43
43
 
44
- # One or more entries (rules) in the network ACL.
44
+ # The entries (rules) in the network ACL.
45
45
  # @return [Array<Types::NetworkAclEntry>]
46
46
  def entries
47
47
  data[:entries]
@@ -279,18 +279,9 @@ module Aws::EC2
279
279
  # The instance type. For more information, see [Instance types][1] in
280
280
  # the *Amazon EC2 User Guide*.
281
281
  #
282
- # When you change your EBS-backed instance type, instance restart or
283
- # replacement behavior depends on the instance type compatibility
284
- # between the old and new types. An instance that's backed by an
285
- # instance store volume is always replaced. For more information, see
286
- # [Change the instance type][2] in the *Amazon EC2 User Guide*.
287
- #
288
- # Default: `m1.small`
289
- #
290
282
  #
291
283
  #
292
284
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
293
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
294
285
  # @option options [Integer] :ipv_6_address_count
295
286
  # The number of IPv6 addresses to associate with the primary network
296
287
  # interface. Amazon EC2 chooses the IPv6 addresses from the range of
@@ -599,7 +590,8 @@ module Aws::EC2
599
590
  # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
600
591
  # @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
601
592
  # The options for the instance hostname. The default values are
602
- # inherited from the subnet.
593
+ # inherited from the subnet. Applies only if creating a network
594
+ # interface, not attaching an existing one.
603
595
  # @option options [Types::InstanceMaintenanceOptionsRequest] :maintenance_options
604
596
  # The maintenance and recovery options for the instance.
605
597
  # @option options [Boolean] :disable_api_stop
@@ -771,17 +763,16 @@ module Aws::EC2
771
763
  # provide an address, a private IPv4 address will be automatically
772
764
  # assigned.
773
765
  # @option options [Array<String>] :secondary_allocation_ids
774
- # Secondary EIP allocation IDs. For more information about secondary
775
- # addresses, see [Create a NAT gateway][1] in the *Amazon Virtual
776
- # Private Cloud User Guide*.
766
+ # Secondary EIP allocation IDs. For more information, see [Create a NAT
767
+ # gateway][1] in the *Amazon VPC User Guide*.
777
768
  #
778
769
  #
779
770
  #
780
771
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
781
772
  # @option options [Array<String>] :secondary_private_ip_addresses
782
773
  # Secondary private IPv4 addresses. For more information about secondary
783
- # addresses, see [Create a NAT gateway][1] in the *Amazon Virtual
784
- # Private Cloud User Guide*.
774
+ # addresses, see [Create a NAT gateway][1] in the *Amazon VPC User
775
+ # Guide*.
785
776
  #
786
777
  #
787
778
  #
@@ -790,7 +781,7 @@ module Aws::EC2
790
781
  # \[Private NAT gateway only\] The number of secondary private IPv4
791
782
  # addresses you want to assign to the NAT gateway. For more information
792
783
  # about secondary addresses, see [Create a NAT gateway][1] in the
793
- # *Amazon Virtual Private Cloud User Guide*.
784
+ # *Amazon VPC User Guide*.
794
785
  #
795
786
  #
796
787
  #
@@ -1115,21 +1106,17 @@ module Aws::EC2
1115
1106
  #
1116
1107
  # Constraints: Up to 255 characters in length
1117
1108
  #
1118
- # Constraints for EC2-Classic: ASCII characters
1119
- #
1120
- # Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
1109
+ # Valid characters: a-z, A-Z, 0-9, spaces, and
1121
1110
  # .\_-:/()#,@\[\]+=&amp;;\\\{\\}!$*
1122
1111
  # @option options [required, String] :group_name
1123
1112
  # The name of the security group.
1124
1113
  #
1125
1114
  # Constraints: Up to 255 characters in length. Cannot start with `sg-`.
1126
1115
  #
1127
- # Constraints for EC2-Classic: ASCII characters
1128
- #
1129
- # Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
1116
+ # Valid characters: a-z, A-Z, 0-9, spaces, and
1130
1117
  # .\_-:/()#,@\[\]+=&amp;;\\\{\\}!$*
1131
1118
  # @option options [String] :vpc_id
1132
- # \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
1119
+ # The ID of the VPC. Required for a nondefault VPC.
1133
1120
  # @option options [Array<Types::TagSpecification>] :tag_specifications
1134
1121
  # The tags to assign to the security group.
1135
1122
  # @option options [Boolean] :dry_run
@@ -1247,15 +1234,14 @@ module Aws::EC2
1247
1234
  #
1248
1235
  # To create a subnet in a Local Zone, set this value to the Local Zone
1249
1236
  # ID, for example `us-west-2-lax-1a`. For information about the Regions
1250
- # that support Local Zones, see [Available Regions][1] in the *Amazon
1251
- # Elastic Compute Cloud User Guide*.
1237
+ # that support Local Zones, see [Local Zones locations][1].
1252
1238
  #
1253
1239
  # To create a subnet in an Outpost, set this value to the Availability
1254
1240
  # Zone for the Outpost and specify the Outpost ARN.
1255
1241
  #
1256
1242
  #
1257
1243
  #
1258
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
1244
+ # [1]: http://aws.amazon.com/about-aws/global-infrastructure/localzones/locations/
1259
1245
  # @option options [String] :availability_zone_id
1260
1246
  # The AZ ID or the Local Zone ID of the subnet.
1261
1247
  # @option options [String] :cidr_block
@@ -1402,7 +1388,8 @@ module Aws::EC2
1402
1388
  # })
1403
1389
  # @param [Hash] options ({})
1404
1390
  # @option options [required, String] :availability_zone
1405
- # The Availability Zone in which to create the volume.
1391
+ # The ID of the Availability Zone in which to create the volume. For
1392
+ # example, `us-east-1a`.
1406
1393
  # @option options [Boolean] :encrypted
1407
1394
  # Indicates whether the volume should be encrypted. The effect of
1408
1395
  # setting the encryption state to `true` depends on the volume origin
@@ -2088,7 +2075,7 @@ module Aws::EC2
2088
2075
  #
2089
2076
  # Default: Describes all your DHCP options sets.
2090
2077
  # @option options [Array<Types::Filter>] :filters
2091
- # One or more filters.
2078
+ # The filters.
2092
2079
  #
2093
2080
  # * `dhcp-options-id` - The ID of a DHCP options set.
2094
2081
  #
@@ -2179,7 +2166,7 @@ module Aws::EC2
2179
2166
  # The filters.
2180
2167
  #
2181
2168
  # * `architecture` - The image architecture (`i386` \| `x86_64` \|
2182
- # `arm64`).
2169
+ # `arm64` \| `x86_64_mac` \| `arm64_mac`).
2183
2170
  #
2184
2171
  # * `block-device-mapping.delete-on-termination` - A Boolean value that
2185
2172
  # indicates whether the Amazon EBS volume is deleted on instance
@@ -2674,7 +2661,7 @@ module Aws::EC2
2674
2661
  # })
2675
2662
  # @param [Hash] options ({})
2676
2663
  # @option options [Array<Types::Filter>] :filters
2677
- # One or more filters.
2664
+ # The filters.
2678
2665
  #
2679
2666
  # * `attachment.state` - The current state of the attachment between the
2680
2667
  # gateway and the VPC (`available`). Present only if a VPC is
@@ -2702,7 +2689,7 @@ module Aws::EC2
2702
2689
  # If you have the required permissions, the error response is
2703
2690
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2704
2691
  # @option options [Array<String>] :internet_gateway_ids
2705
- # One or more internet gateway IDs.
2692
+ # The IDs of the internet gateways.
2706
2693
  #
2707
2694
  # Default: Describes all your internet gateways.
2708
2695
  # @return [InternetGateway::Collection]
@@ -2830,7 +2817,7 @@ module Aws::EC2
2830
2817
  # If you have the required permissions, the error response is
2831
2818
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2832
2819
  # @option options [Array<Types::Filter>] :filter
2833
- # One or more filters.
2820
+ # The filters.
2834
2821
  #
2835
2822
  # * `nat-gateway-id` - The ID of the NAT gateway.
2836
2823
  #
@@ -2851,7 +2838,7 @@ module Aws::EC2
2851
2838
  #
2852
2839
  # * `vpc-id` - The ID of the VPC in which the NAT gateway resides.
2853
2840
  # @option options [Array<String>] :nat_gateway_ids
2854
- # One or more NAT gateway IDs.
2841
+ # The IDs of the NAT gateways.
2855
2842
  # @return [NatGateway::Collection]
2856
2843
  def nat_gateways(options = {})
2857
2844
  batches = Enumerator.new do |y|
@@ -2896,7 +2883,7 @@ module Aws::EC2
2896
2883
  # })
2897
2884
  # @param [Hash] options ({})
2898
2885
  # @option options [Array<Types::Filter>] :filters
2899
- # One or more filters.
2886
+ # The filters.
2900
2887
  #
2901
2888
  # * `association.association-id` - The ID of an association ID for the
2902
2889
  # ACL.
@@ -2958,7 +2945,7 @@ module Aws::EC2
2958
2945
  # If you have the required permissions, the error response is
2959
2946
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2960
2947
  # @option options [Array<String>] :network_acl_ids
2961
- # One or more network ACL IDs.
2948
+ # The IDs of the network ACLs.
2962
2949
  #
2963
2950
  # Default: Describes all your network ACLs.
2964
2951
  # @return [NetworkAcl::Collection]
@@ -3262,7 +3249,7 @@ module Aws::EC2
3262
3249
  # })
3263
3250
  # @param [Hash] options ({})
3264
3251
  # @option options [Array<Types::Filter>] :filters
3265
- # One or more filters.
3252
+ # The filters.
3266
3253
  #
3267
3254
  # * `association.route-table-association-id` - The ID of an association
3268
3255
  # ID for the route table.
@@ -3337,7 +3324,7 @@ module Aws::EC2
3337
3324
  # If you have the required permissions, the error response is
3338
3325
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
3339
3326
  # @option options [Array<String>] :route_table_ids
3340
- # One or more route table IDs.
3327
+ # The IDs of the route tables.
3341
3328
  #
3342
3329
  # Default: Describes all your route tables.
3343
3330
  # @return [RouteTable::Collection]
@@ -3472,10 +3459,8 @@ module Aws::EC2
3472
3459
  #
3473
3460
  # Default: Describes all of your security groups.
3474
3461
  # @option options [Array<String>] :group_names
3475
- # \[EC2-Classic and default VPC only\] The names of the security groups.
3476
- # You can specify either the security group name or the security group
3477
- # ID. For security groups in a nondefault VPC, use the `group-name`
3478
- # filter to describe security groups by name.
3462
+ # \[Default VPC\] The names of the security groups. You can specify
3463
+ # either the security group name or the security group ID.
3479
3464
  #
3480
3465
  # Default: Describes all of your security groups.
3481
3466
  # @option options [Boolean] :dry_run
@@ -3631,7 +3616,7 @@ module Aws::EC2
3631
3616
  # })
3632
3617
  # @param [Hash] options ({})
3633
3618
  # @option options [Array<Types::Filter>] :filters
3634
- # One or more filters.
3619
+ # The filters.
3635
3620
  #
3636
3621
  # * `availability-zone` - The Availability Zone for the subnet. You can
3637
3622
  # also use `availabilityZone` as the filter name.
@@ -3720,7 +3705,7 @@ module Aws::EC2
3720
3705
  #
3721
3706
  # * `vpc-id` - The ID of the VPC for the subnet.
3722
3707
  # @option options [Array<String>] :subnet_ids
3723
- # One or more subnet IDs.
3708
+ # The IDs of the subnets.
3724
3709
  #
3725
3710
  # Default: Describes all your subnets.
3726
3711
  # @option options [Boolean] :dry_run
@@ -3967,7 +3952,7 @@ module Aws::EC2
3967
3952
  # })
3968
3953
  # @param [Hash] options ({})
3969
3954
  # @option options [Array<Types::Filter>] :filters
3970
- # One or more filters.
3955
+ # The filters.
3971
3956
  #
3972
3957
  # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
3973
3958
  # VPC.
@@ -4012,7 +3997,7 @@ module Aws::EC2
4012
3997
  # If you have the required permissions, the error response is
4013
3998
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
4014
3999
  # @option options [Array<String>] :vpc_peering_connection_ids
4015
- # One or more VPC peering connection IDs.
4000
+ # The IDs of the VPC peering connections.
4016
4001
  #
4017
4002
  # Default: Describes all your VPC peering connections.
4018
4003
  # @return [VpcPeeringConnection::Collection]
@@ -4050,7 +4035,7 @@ module Aws::EC2
4050
4035
  # })
4051
4036
  # @param [Hash] options ({})
4052
4037
  # @option options [Array<Types::Filter>] :filters
4053
- # One or more filters.
4038
+ # The filters.
4054
4039
  #
4055
4040
  # * `cidr` - The primary IPv4 CIDR block of the VPC. The CIDR block you
4056
4041
  # specify must exactly match the VPC's CIDR block for information to
@@ -4099,7 +4084,7 @@ module Aws::EC2
4099
4084
  #
4100
4085
  # * `vpc-id` - The ID of the VPC.
4101
4086
  # @option options [Array<String>] :vpc_ids
4102
- # One or more VPC IDs.
4087
+ # The IDs of the VPCs.
4103
4088
  #
4104
4089
  # Default: Describes all your VPCs.
4105
4090
  # @option options [Boolean] :dry_run
@@ -59,7 +59,7 @@ module Aws::EC2
59
59
  data[:owner_id]
60
60
  end
61
61
 
62
- # \[VPC only\] The outbound rules associated with the security group.
62
+ # The outbound rules associated with the security group.
63
63
  # @return [Array<Types::IpPermission>]
64
64
  def ip_permissions_egress
65
65
  data[:ip_permissions_egress]
@@ -71,7 +71,7 @@ module Aws::EC2
71
71
  data[:tags]
72
72
  end
73
73
 
74
- # \[VPC only\] The ID of the VPC for the security group.
74
+ # The ID of the VPC for the security group.
75
75
  # @return [String]
76
76
  def vpc_id
77
77
  data[:vpc_id]
@@ -384,8 +384,8 @@ module Aws::EC2
384
384
  # Alternatively, use a set of IP permissions to specify multiple rules
385
385
  # and a description for the rule.
386
386
  # @option options [String] :group_name
387
- # \[EC2-Classic, default VPC\] The name of the security group. You must
388
- # specify either the security group ID or the security group name in the
387
+ # \[Default VPC\] The name of the security group. You must specify
388
+ # either the security group ID or the security group name in the
389
389
  # request. For security groups in a nondefault VPC, you must specify the
390
390
  # security group ID.
391
391
  # @option options [Array<Types::IpPermission>] :ip_permissions
@@ -394,9 +394,9 @@ module Aws::EC2
394
394
  # The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
395
395
  # Numbers][1]). To specify `icmpv6`, use a set of IP permissions.
396
396
  #
397
- # \[VPC only\] Use `-1` to specify all protocols. If you specify `-1` or
398
- # a protocol other than `tcp`, `udp`, or `icmp`, traffic on all ports is
399
- # allowed, regardless of any ports you specify.
397
+ # Use `-1` to specify all protocols. If you specify `-1` or a protocol
398
+ # other than `tcp`, `udp`, or `icmp`, traffic on all ports is allowed,
399
+ # regardless of any ports you specify.
400
400
  #
401
401
  # Alternatively, use a set of IP permissions to specify multiple rules
402
402
  # and a description for the rule.
@@ -405,15 +405,15 @@ module Aws::EC2
405
405
  #
406
406
  # [1]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
407
407
  # @option options [String] :source_security_group_name
408
- # \[EC2-Classic, default VPC\] The name of the source security group.
409
- # You can't specify this parameter in combination with the following
410
- # parameters: the CIDR IP address range, the start of the port range,
411
- # the IP protocol, and the end of the port range. Creates rules that
412
- # grant full ICMP, UDP, and TCP access. To create a rule with a specific
413
- # IP protocol and port range, use a set of IP permissions instead. For
414
- # EC2-VPC, the source security group must be in the same VPC.
408
+ # \[Default VPC\] The name of the source security group. You can't
409
+ # specify this parameter in combination with the following parameters:
410
+ # the CIDR IP address range, the start of the port range, the IP
411
+ # protocol, and the end of the port range. Creates rules that grant full
412
+ # ICMP, UDP, and TCP access. To create a rule with a specific IP
413
+ # protocol and port range, use a set of IP permissions instead. The
414
+ # source security group must be in the same VPC.
415
415
  # @option options [String] :source_security_group_owner_id
416
- # \[nondefault VPC\] The Amazon Web Services account ID for the source
416
+ # \[Nondefault VPC\] The Amazon Web Services account ID for the source
417
417
  # security group, if the source security group is in a different
418
418
  # account. You can't specify this parameter in combination with the
419
419
  # following parameters: the CIDR IP address range, the IP protocol, the
@@ -539,10 +539,9 @@ module Aws::EC2
539
539
  # })
540
540
  # @param [Hash] options ({})
541
541
  # @option options [String] :group_name
542
- # \[EC2-Classic, default VPC\] The name of the security group. You can
543
- # specify either the security group name or the security group ID. For
544
- # security groups in a nondefault VPC, you must specify the security
545
- # group ID.
542
+ # \[Default VPC\] The name of the security group. You can specify either
543
+ # the security group name or the security group ID. For security groups
544
+ # in a nondefault VPC, you must specify the security group ID.
546
545
  # @option options [Boolean] :dry_run
547
546
  # Checks whether you have the required permissions for the action,
548
547
  # without actually making the request, and provides an error response.
@@ -698,8 +697,8 @@ module Aws::EC2
698
697
  # the protocol is ICMP, this is the type number. A value of -1 indicates
699
698
  # all ICMP types.
700
699
  # @option options [String] :group_name
701
- # \[EC2-Classic, default VPC\] The name of the security group. You must
702
- # specify either the security group ID or the security group name in the
700
+ # \[Default VPC\] The name of the security group. You must specify
701
+ # either the security group ID or the security group name in the
703
702
  # request. For security groups in a nondefault VPC, you must specify the
704
703
  # security group ID.
705
704
  # @option options [Array<Types::IpPermission>] :ip_permissions
@@ -713,21 +712,14 @@ module Aws::EC2
713
712
  #
714
713
  # [1]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
715
714
  # @option options [String] :source_security_group_name
716
- # \[EC2-Classic, default VPC\] The name of the source security group.
717
- # You can't specify this parameter in combination with the following
718
- # parameters: the CIDR IP address range, the start of the port range,
719
- # the IP protocol, and the end of the port range. For EC2-VPC, the
720
- # source security group must be in the same VPC. To revoke a specific
721
- # rule for an IP protocol and port range, use a set of IP permissions
722
- # instead.
715
+ # \[Default VPC\] The name of the source security group. You can't
716
+ # specify this parameter in combination with the following parameters:
717
+ # the CIDR IP address range, the start of the port range, the IP
718
+ # protocol, and the end of the port range. The source security group
719
+ # must be in the same VPC. To revoke a specific rule for an IP protocol
720
+ # and port range, use a set of IP permissions instead.
723
721
  # @option options [String] :source_security_group_owner_id
724
- # \[EC2-Classic\] The Amazon Web Services account ID of the source
725
- # security group, if the source security group is in a different
726
- # account. You can't specify this parameter in combination with the
727
- # following parameters: the CIDR IP address range, the IP protocol, the
728
- # start of the port range, and the end of the port range. To revoke a
729
- # specific rule for an IP protocol and port range, use a set of IP
730
- # permissions instead.
722
+ # Not supported.
731
723
  # @option options [Integer] :to_port
732
724
  # If the protocol is TCP or UDP, this is the end of the port range. If
733
725
  # the protocol is ICMP, this is the code. A value of -1 indicates all
@@ -505,18 +505,9 @@ module Aws::EC2
505
505
  # The instance type. For more information, see [Instance types][1] in
506
506
  # the *Amazon EC2 User Guide*.
507
507
  #
508
- # When you change your EBS-backed instance type, instance restart or
509
- # replacement behavior depends on the instance type compatibility
510
- # between the old and new types. An instance that's backed by an
511
- # instance store volume is always replaced. For more information, see
512
- # [Change the instance type][2] in the *Amazon EC2 User Guide*.
513
- #
514
- # Default: `m1.small`
515
- #
516
508
  #
517
509
  #
518
510
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
519
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
520
511
  # @option options [Integer] :ipv_6_address_count
521
512
  # The number of IPv6 addresses to associate with the primary network
522
513
  # interface. Amazon EC2 chooses the IPv6 addresses from the range of
@@ -820,7 +811,8 @@ module Aws::EC2
820
811
  # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
821
812
  # @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
822
813
  # The options for the instance hostname. The default values are
823
- # inherited from the subnet.
814
+ # inherited from the subnet. Applies only if creating a network
815
+ # interface, not attaching an existing one.
824
816
  # @option options [Types::InstanceMaintenanceOptionsRequest] :maintenance_options
825
817
  # The maintenance and recovery options for the instance.
826
818
  # @option options [Boolean] :disable_api_stop
@@ -1451,7 +1443,7 @@ module Aws::EC2
1451
1443
  # If you have the required permissions, the error response is
1452
1444
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1453
1445
  # @option options [Array<Types::Filter>] :filter
1454
- # One or more filters.
1446
+ # The filters.
1455
1447
  #
1456
1448
  # * `nat-gateway-id` - The ID of the NAT gateway.
1457
1449
  #
@@ -1472,7 +1464,7 @@ module Aws::EC2
1472
1464
  #
1473
1465
  # * `vpc-id` - The ID of the VPC in which the NAT gateway resides.
1474
1466
  # @option options [Array<String>] :nat_gateway_ids
1475
- # One or more NAT gateway IDs.
1467
+ # The IDs of the NAT gateways.
1476
1468
  # @return [NatGateway::Collection]
1477
1469
  def nat_gateways(options = {})
1478
1470
  batches = Enumerator.new do |y|