aws-sdk-ec2 1.438.0 → 1.442.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.
@@ -3018,7 +3018,7 @@ module Aws::EC2
3018
3018
  #
3019
3019
  # Encrypted EBS volumes must be attached to instances that support
3020
3020
  # Amazon EBS encryption. For more information, see [Amazon EBS
3021
- # encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
3021
+ # encryption][1] in the *Amazon EBS User Guide*.
3022
3022
  #
3023
3023
  # After you attach an EBS volume, you must make it available. For more
3024
3024
  # information, see [Make an EBS volume available for use][2].
@@ -3037,13 +3037,13 @@ module Aws::EC2
3037
3037
  # instance and attach it to a Linux instance.
3038
3038
  #
3039
3039
  # For more information, see [Attach an Amazon EBS volume to an
3040
- # instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
3040
+ # instance][3] in the *Amazon EBS User Guide*.
3041
3041
  #
3042
3042
  #
3043
3043
  #
3044
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
3045
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html
3046
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html
3044
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
3045
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html
3046
+ # [3]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-attaching-volume.html
3047
3047
  #
3048
3048
  # @option params [required, String] :device
3049
3049
  # The device name (for example, `/dev/sdh` or `xvdh`).
@@ -3244,38 +3244,35 @@ module Aws::EC2
3244
3244
  req.send_request(options)
3245
3245
  end
3246
3246
 
3247
- # Adds the specified outbound (egress) rules to a security group for use
3248
- # with a VPC.
3247
+ # Adds the specified outbound (egress) rules to a security group.
3249
3248
  #
3250
3249
  # An outbound rule permits instances to send traffic to the specified
3251
- # IPv4 or IPv6 CIDR address ranges, or to the instances that are
3252
- # associated with the specified source security groups. When specifying
3253
- # an outbound rule for your security group in a VPC, the `IpPermissions`
3254
- # must include a destination for the traffic.
3250
+ # IPv4 or IPv6 address ranges, the IP address ranges specified by a
3251
+ # prefix list, or the instances that are associated with a source
3252
+ # security group. For more information, see [Security group rules][1].
3255
3253
  #
3256
- # You specify a protocol for each rule (for example, TCP). For the TCP
3257
- # and UDP protocols, you must also specify the destination port or port
3258
- # range. For the ICMP protocol, you must also specify the ICMP type and
3259
- # code. You can use -1 for the type or code to mean all types or all
3260
- # codes.
3254
+ # You must specify exactly one of the following destinations: an IPv4 or
3255
+ # IPv6 address range, a prefix list, or a security group. You must
3256
+ # specify a protocol for each rule (for example, TCP). If the protocol
3257
+ # is TCP or UDP, you must also specify a port or port range. If the
3258
+ # protocol is ICMP or ICMPv6, you must also specify the ICMP type and
3259
+ # code.
3261
3260
  #
3262
- # Rule changes are propagated to affected instances as quickly as
3263
- # possible. However, a small delay might occur.
3261
+ # Rule changes are propagated to instances associated with the security
3262
+ # group as quickly as possible. However, a small delay might occur.
3264
3263
  #
3265
- # For information about VPC security group quotas, see [Amazon VPC
3266
- # quotas][1].
3264
+ # For examples of rules that you can add to security groups for specific
3265
+ # access scenarios, see [Security group rules for different use
3266
+ # cases][2] in the *Amazon EC2 User Guide*.
3267
3267
  #
3268
- # <note markdown="1"> If you want to reference a security group across VPCs attached to a
3269
- # transit gateway using the [security group referencing feature][2],
3270
- # note that you can only reference security groups for ingress rules.
3271
- # You cannot reference a security group for egress rules.
3272
- #
3273
- # </note>
3268
+ # For information about security group quotas, see [Amazon VPC
3269
+ # quotas][3] in the *Amazon VPC User Guide*.
3274
3270
  #
3275
3271
  #
3276
3272
  #
3277
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
3278
- # [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw
3273
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html
3274
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html
3275
+ # [3]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
3279
3276
  #
3280
3277
  # @option params [Boolean] :dry_run
3281
3278
  # Checks whether you have the required permissions for the action,
@@ -3287,32 +3284,28 @@ module Aws::EC2
3287
3284
  # The ID of the security group.
3288
3285
  #
3289
3286
  # @option params [Array<Types::IpPermission>] :ip_permissions
3290
- # The sets of IP permissions. You can't specify a destination security
3291
- # group and a CIDR IP address range in the same set of permissions.
3287
+ # The permissions for the security group rules.
3292
3288
  #
3293
3289
  # @option params [Array<Types::TagSpecification>] :tag_specifications
3294
3290
  # The tags applied to the security group rule.
3295
3291
  #
3296
3292
  # @option params [String] :cidr_ip
3297
- # Not supported. Use a set of IP permissions to specify the CIDR.
3293
+ # Not supported. Use IP permissions instead.
3298
3294
  #
3299
3295
  # @option params [Integer] :from_port
3300
- # Not supported. Use a set of IP permissions to specify the port.
3296
+ # Not supported. Use IP permissions instead.
3301
3297
  #
3302
3298
  # @option params [String] :ip_protocol
3303
- # Not supported. Use a set of IP permissions to specify the protocol
3304
- # name or number.
3299
+ # Not supported. Use IP permissions instead.
3305
3300
  #
3306
3301
  # @option params [Integer] :to_port
3307
- # Not supported. Use a set of IP permissions to specify the port.
3302
+ # Not supported. Use IP permissions instead.
3308
3303
  #
3309
3304
  # @option params [String] :source_security_group_name
3310
- # Not supported. Use a set of IP permissions to specify a destination
3311
- # security group.
3305
+ # Not supported. Use IP permissions instead.
3312
3306
  #
3313
3307
  # @option params [String] :source_security_group_owner_id
3314
- # Not supported. Use a set of IP permissions to specify a destination
3315
- # security group.
3308
+ # Not supported. Use IP permissions instead.
3316
3309
  #
3317
3310
  # @return [Types::AuthorizeSecurityGroupEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3318
3311
  #
@@ -3464,99 +3457,99 @@ module Aws::EC2
3464
3457
  # Adds the specified inbound (ingress) rules to a security group.
3465
3458
  #
3466
3459
  # An inbound rule permits instances to receive traffic from the
3467
- # specified IPv4 or IPv6 CIDR address range, or from the instances that
3468
- # are associated with the specified destination security groups. When
3469
- # specifying an inbound rule for your security group in a VPC, the
3470
- # `IpPermissions` must include a source for the traffic.
3460
+ # specified IPv4 or IPv6 address range, the IP address ranges that are
3461
+ # specified by a prefix list, or the instances that are associated with
3462
+ # a destination security group. For more information, see [Security
3463
+ # group rules][1].
3471
3464
  #
3472
- # You specify a protocol for each rule (for example, TCP). For TCP and
3473
- # UDP, you must also specify the destination port or port range. For
3474
- # ICMP/ICMPv6, you must also specify the ICMP/ICMPv6 type and code. You
3475
- # can use -1 to mean all types or all codes.
3465
+ # You must specify exactly one of the following sources: an IPv4 or IPv6
3466
+ # address range, a prefix list, or a security group. You must specify a
3467
+ # protocol for each rule (for example, TCP). If the protocol is TCP or
3468
+ # UDP, you must also specify a port or port range. If the protocol is
3469
+ # ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code.
3476
3470
  #
3477
- # Rule changes are propagated to instances within the security group as
3478
- # quickly as possible. However, a small delay might occur.
3471
+ # Rule changes are propagated to instances associated with the security
3472
+ # group as quickly as possible. However, a small delay might occur.
3473
+ #
3474
+ # For examples of rules that you can add to security groups for specific
3475
+ # access scenarios, see [Security group rules for different use
3476
+ # cases][2] in the *Amazon EC2 User Guide*.
3479
3477
  #
3480
- # For more information about VPC security group quotas, see [Amazon VPC
3481
- # quotas][1].
3478
+ # For more information about security group quotas, see [Amazon VPC
3479
+ # quotas][3] in the *Amazon VPC User Guide*.
3482
3480
  #
3483
3481
  #
3484
3482
  #
3485
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
3483
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html
3484
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html
3485
+ # [3]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html
3486
3486
  #
3487
3487
  # @option params [String] :cidr_ip
3488
- # The IPv4 address range, in CIDR format. You can't specify this
3489
- # parameter when specifying a source security group. To specify an IPv6
3490
- # address range, use a set of IP permissions.
3488
+ # The IPv4 address range, in CIDR format.
3491
3489
  #
3492
- # Alternatively, use a set of IP permissions to specify multiple rules
3493
- # and a description for the rule.
3490
+ # To specify an IPv6 address range, use IP permissions instead.
3491
+ #
3492
+ # To specify multiple rules and descriptions for the rules, use IP
3493
+ # permissions instead.
3494
3494
  #
3495
3495
  # @option params [Integer] :from_port
3496
3496
  # If the protocol is TCP or UDP, this is the start of the port range. If
3497
- # the protocol is ICMP, this is the type number. A value of -1 indicates
3498
- # all ICMP types. If you specify all ICMP types, you must specify all
3499
- # ICMP codes.
3497
+ # the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
3500
3498
  #
3501
- # Alternatively, use a set of IP permissions to specify multiple rules
3502
- # and a description for the rule.
3499
+ # To specify multiple rules and descriptions for the rules, use IP
3500
+ # permissions instead.
3503
3501
  #
3504
3502
  # @option params [String] :group_id
3505
- # The ID of the security group. You must specify either the security
3506
- # group ID or the security group name in the request. For security
3507
- # groups in a nondefault VPC, you must specify the security group ID.
3503
+ # The ID of the security group.
3508
3504
  #
3509
3505
  # @option params [String] :group_name
3510
- # \[Default VPC\] The name of the security group. You must specify
3511
- # either the security group ID or the security group name in the
3512
- # request. For security groups in a nondefault VPC, you must specify the
3513
- # security group ID.
3506
+ # \[Default VPC\] The name of the security group. For security groups
3507
+ # for a default VPC you can specify either the ID or the name of the
3508
+ # security group. For security groups for a nondefault VPC, you must
3509
+ # specify the ID of the security group.
3514
3510
  #
3515
3511
  # @option params [Array<Types::IpPermission>] :ip_permissions
3516
- # The sets of IP permissions.
3512
+ # The permissions for the security group rules.
3517
3513
  #
3518
3514
  # @option params [String] :ip_protocol
3519
3515
  # The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
3520
- # Numbers][1]). To specify `icmpv6`, use a set of IP permissions.
3516
+ # Numbers][1]). To specify all protocols, use `-1`.
3517
+ #
3518
+ # To specify `icmpv6`, use IP permissions instead.
3521
3519
  #
3522
- # Use `-1` to specify all protocols. If you specify `-1` or a protocol
3523
- # other than `tcp`, `udp`, or `icmp`, traffic on all ports is allowed,
3524
- # regardless of any ports you specify.
3520
+ # If you specify a protocol other than one of the supported values,
3521
+ # traffic is allowed on all ports, regardless of any ports that you
3522
+ # specify.
3525
3523
  #
3526
- # Alternatively, use a set of IP permissions to specify multiple rules
3527
- # and a description for the rule.
3524
+ # To specify multiple rules and descriptions for the rules, use IP
3525
+ # permissions instead.
3528
3526
  #
3529
3527
  #
3530
3528
  #
3531
3529
  # [1]: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
3532
3530
  #
3533
3531
  # @option params [String] :source_security_group_name
3534
- # \[Default VPC\] The name of the source security group. You can't
3535
- # specify this parameter in combination with the following parameters:
3536
- # the CIDR IP address range, the start of the port range, the IP
3537
- # protocol, and the end of the port range. Creates rules that grant full
3538
- # ICMP, UDP, and TCP access. To create a rule with a specific IP
3539
- # protocol and port range, use a set of IP permissions instead. The
3540
- # source security group must be in the same VPC.
3532
+ # \[Default VPC\] The name of the source security group.
3541
3533
  #
3542
- # @option params [String] :source_security_group_owner_id
3543
- # \[Nondefault VPC\] The Amazon Web Services account ID for the source
3544
- # security group, if the source security group is in a different
3545
- # account. You can't specify this parameter in combination with the
3546
- # following parameters: the CIDR IP address range, the IP protocol, the
3547
- # start of the port range, and the end of the port range. Creates rules
3548
- # that grant full ICMP, UDP, and TCP access. To create a rule with a
3549
- # specific IP protocol and port range, use a set of IP permissions
3534
+ # The rule grants full ICMP, UDP, and TCP access. To create a rule with
3535
+ # a specific protocol and port range, specify a set of IP permissions
3550
3536
  # instead.
3551
3537
  #
3538
+ # @option params [String] :source_security_group_owner_id
3539
+ # The Amazon Web Services account ID for the source security group, if
3540
+ # the source security group is in a different account.
3541
+ #
3542
+ # The rule grants full ICMP, UDP, and TCP access. To create a rule with
3543
+ # a specific protocol and port range, use IP permissions instead.
3544
+ #
3552
3545
  # @option params [Integer] :to_port
3553
3546
  # If the protocol is TCP or UDP, this is the end of the port range. If
3554
- # the protocol is ICMP, this is the code. A value of -1 indicates all
3555
- # ICMP codes. If you specify all ICMP types, you must specify all ICMP
3556
- # codes.
3547
+ # the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). If
3548
+ # the start port is -1 (all ICMP types), then the end port must be -1
3549
+ # (all ICMP codes).
3557
3550
  #
3558
- # Alternatively, use a set of IP permissions to specify multiple rules
3559
- # and a description for the rule.
3551
+ # To specify multiple rules and descriptions for the rules, use IP
3552
+ # permissions instead.
3560
3553
  #
3561
3554
  # @option params [Boolean] :dry_run
3562
3555
  # Checks whether you have the required permissions for the action,
@@ -3565,7 +3558,7 @@ module Aws::EC2
3565
3558
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
3566
3559
  #
3567
3560
  # @option params [Array<Types::TagSpecification>] :tag_specifications
3568
- # \[VPC Only\] The tags applied to the security group rule.
3561
+ # The tags applied to the security group rule.
3569
3562
  #
3570
3563
  # @return [Types::AuthorizeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3571
3564
  #
@@ -3759,12 +3752,8 @@ module Aws::EC2
3759
3752
  # @option params [required, String] :instance_id
3760
3753
  # The ID of the instance to bundle.
3761
3754
  #
3762
- # Type: String
3763
- #
3764
3755
  # Default: None
3765
3756
  #
3766
- # Required: Yes
3767
- #
3768
3757
  # @option params [required, Types::Storage] :storage
3769
3758
  # The bucket in which to store the AMI. You can specify a bucket that
3770
3759
  # you already own or a new bucket that Amazon EC2 creates on your
@@ -4479,7 +4468,7 @@ module Aws::EC2
4479
4468
  # encryption key for the Region, or a different key that you specify in
4480
4469
  # the request using **KmsKeyId**. Outposts do not support unencrypted
4481
4470
  # snapshots. For more information, [ Amazon EBS local snapshots on
4482
- # Outposts][2] in the *Amazon EC2 User Guide*.
4471
+ # Outposts][2] in the *Amazon EBS User Guide*.
4483
4472
  #
4484
4473
  # For more information about the prerequisites and limits when copying
4485
4474
  # an AMI, see [Copy an AMI][3] in the *Amazon EC2 User Guide*.
@@ -4487,7 +4476,7 @@ module Aws::EC2
4487
4476
  #
4488
4477
  #
4489
4478
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html
4490
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
4479
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami
4491
4480
  # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
4492
4481
  #
4493
4482
  # @option params [String] :client_token
@@ -4508,12 +4497,12 @@ module Aws::EC2
4508
4497
  # you cannot create an unencrypted copy of an encrypted snapshot. The
4509
4498
  # default KMS key for Amazon EBS is used unless you specify a
4510
4499
  # non-default Key Management Service (KMS) KMS key using `KmsKeyId`. For
4511
- # more information, see [Amazon EBS encryption][1] in the *Amazon EC2
4500
+ # more information, see [Amazon EBS encryption][1] in the *Amazon EBS
4512
4501
  # User Guide*.
4513
4502
  #
4514
4503
  #
4515
4504
  #
4516
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
4505
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
4517
4506
  #
4518
4507
  # @option params [String] :kms_key_id
4519
4508
  # The identifier of the symmetric Key Management Service (KMS) KMS key
@@ -4558,12 +4547,12 @@ module Aws::EC2
4558
4547
  # the destination Outpost. You cannot copy an AMI from an Outpost to a
4559
4548
  # Region, from one Outpost to another, or within the same Outpost.
4560
4549
  #
4561
- # For more information, see [ Copy AMIs from an Amazon Web Services
4562
- # Region to an Outpost][1] in the *Amazon EC2 User Guide*.
4550
+ # For more information, see [Copy AMIs from an Amazon Web Services
4551
+ # Region to an Outpost][1] in the *Amazon EBS User Guide*.
4563
4552
  #
4564
4553
  #
4565
4554
  #
4566
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis
4555
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis
4567
4556
  #
4568
4557
  # @option params [Boolean] :dry_run
4569
4558
  # Checks whether you have the required permissions for the action,
@@ -4584,6 +4573,24 @@ module Aws::EC2
4584
4573
  #
4585
4574
  # Default: Your user-defined AMI tags are not copied.
4586
4575
  #
4576
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4577
+ # The tags to apply to the new AMI and new snapshots. You can tag the
4578
+ # AMI, the snapshots, or both.
4579
+ #
4580
+ # * To tag the new AMI, the value for `ResourceType` must be `image`.
4581
+ #
4582
+ # * To tag the new snapshots, the value for `ResourceType` must be
4583
+ # `snapshot`. The same tag is applied to all the new snapshots.
4584
+ #
4585
+ # If you specify other values for `ResourceType`, the request fails.
4586
+ #
4587
+ # To tag an AMI or snapshot after it has been created, see
4588
+ # [CreateTags][1].
4589
+ #
4590
+ #
4591
+ #
4592
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
4593
+ #
4587
4594
  # @return [Types::CopyImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4588
4595
  #
4589
4596
  # * {Types::CopyImageResult#image_id #image_id} => String
@@ -4618,6 +4625,17 @@ module Aws::EC2
4618
4625
  # destination_outpost_arn: "String",
4619
4626
  # dry_run: false,
4620
4627
  # copy_image_tags: false,
4628
+ # tag_specifications: [
4629
+ # {
4630
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
4631
+ # tags: [
4632
+ # {
4633
+ # key: "String",
4634
+ # value: "String",
4635
+ # },
4636
+ # ],
4637
+ # },
4638
+ # ],
4621
4639
  # })
4622
4640
  #
4623
4641
  # @example Response structure
@@ -4655,19 +4673,18 @@ module Aws::EC2
4655
4673
  # default encryption key for the Region, or a different key that you
4656
4674
  # specify in the request using **KmsKeyId**. Outposts do not support
4657
4675
  # unencrypted snapshots. For more information, [ Amazon EBS local
4658
- # snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
4659
- # Guide*.
4676
+ # snapshots on Outposts][1] in the *Amazon EBS User Guide*.
4660
4677
  #
4661
4678
  # Snapshots created by copying another snapshot have an arbitrary volume
4662
4679
  # ID that should not be used for any purpose.
4663
4680
  #
4664
4681
  # For more information, see [Copy an Amazon EBS snapshot][2] in the
4665
- # *Amazon Elastic Compute Cloud User Guide*.
4682
+ # *Amazon EBS User Guide*.
4666
4683
  #
4667
4684
  #
4668
4685
  #
4669
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
4670
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-copy-snapshot.html
4686
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami
4687
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-copy-snapshot.html
4671
4688
  #
4672
4689
  # @option params [String] :description
4673
4690
  # A description for the EBS snapshot.
@@ -4681,12 +4698,11 @@ module Aws::EC2
4681
4698
  # Outpost.
4682
4699
  #
4683
4700
  # For more information, see [ Copy snapshots from an Amazon Web Services
4684
- # Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
4685
- # Guide*.
4701
+ # Region to an Outpost][1] in the *Amazon EBS User Guide*.
4686
4702
  #
4687
4703
  #
4688
4704
  #
4689
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
4705
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-snapshots
4690
4706
  #
4691
4707
  # @option params [String] :destination_region
4692
4708
  # The destination Region to use in the `PresignedUrl` parameter of a
@@ -4705,11 +4721,11 @@ module Aws::EC2
4705
4721
  # omit this parameter. Encrypted snapshots are encrypted, even if you
4706
4722
  # omit this parameter and encryption by default is not enabled. You
4707
4723
  # cannot set this parameter to false. For more information, see [Amazon
4708
- # EBS encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
4724
+ # EBS encryption][1] in the *Amazon EBS User Guide*.
4709
4725
  #
4710
4726
  #
4711
4727
  #
4712
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
4728
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
4713
4729
  #
4714
4730
  # @option params [String] :kms_key_id
4715
4731
  # The identifier of the Key Management Service (KMS) KMS key to use for
@@ -5985,55 +6001,59 @@ module Aws::EC2
5985
6001
  req.send_request(options)
5986
6002
  end
5987
6003
 
5988
- # Creates a set of DHCP options for your VPC. After creating the set,
5989
- # you must associate it with the VPC, causing all existing and new
5990
- # instances that you launch in the VPC to use this set of DHCP options.
5991
- # The following are the individual DHCP options you can specify. For
5992
- # more information about the options, see [RFC 2132][1].
6004
+ # Creates a custom set of DHCP options. After you create a DHCP option
6005
+ # set, you associate it with a VPC. After you associate a DHCP option
6006
+ # set with a VPC, all existing and newly launched instances in the VPC
6007
+ # use this set of DHCP options.
5993
6008
  #
5994
- # * `domain-name-servers` - The IP addresses of up to four domain name
5995
- # servers, or AmazonProvidedDNS. The default DHCP option set specifies
5996
- # AmazonProvidedDNS. If specifying more than one domain name server,
5997
- # specify the IP addresses in a single parameter, separated by commas.
5998
- # To have your instance receive a custom DNS hostname as specified in
5999
- # `domain-name`, you must set `domain-name-servers` to a custom DNS
6000
- # server.
6009
+ # The following are the individual DHCP options you can specify. For
6010
+ # more information, see [DHCP options sets][1] in the *Amazon VPC User
6011
+ # Guide*.
6001
6012
  #
6002
6013
  # * `domain-name` - If you're using AmazonProvidedDNS in `us-east-1`,
6003
- # specify `ec2.internal`. If you're using AmazonProvidedDNS in
6004
- # another Region, specify `region.compute.internal` (for example,
6005
- # `ap-northeast-1.compute.internal`). Otherwise, specify a domain name
6006
- # (for example, `ExampleCompany.com`). This value is used to complete
6007
- # unqualified DNS hostnames. **Important**: Some Linux operating
6008
- # systems accept multiple domain names separated by spaces. However,
6009
- # Windows and other Linux operating systems treat the value as a
6010
- # single domain, which results in unexpected behavior. If your DHCP
6011
- # options set is associated with a VPC that has instances with
6012
- # multiple operating systems, specify only one domain name.
6013
- #
6014
- # * `ntp-servers` - The IP addresses of up to four Network Time Protocol
6015
- # (NTP) servers.
6014
+ # specify `ec2.internal`. If you're using AmazonProvidedDNS in any
6015
+ # other Region, specify `region.compute.internal`. Otherwise, specify
6016
+ # a custom domain name. This value is used to complete unqualified DNS
6017
+ # hostnames.
6018
+ #
6019
+ # Some Linux operating systems accept multiple domain names separated
6020
+ # by spaces. However, Windows and other Linux operating systems treat
6021
+ # the value as a single domain, which results in unexpected behavior.
6022
+ # If your DHCP option set is associated with a VPC that has instances
6023
+ # running operating systems that treat the value as a single domain,
6024
+ # specify only one domain name.
6025
+ #
6026
+ # * `domain-name-servers` - The IP addresses of up to four DNS servers,
6027
+ # or AmazonProvidedDNS. To specify multiple domain name servers in a
6028
+ # single parameter, separate the IP addresses using commas. To have
6029
+ # your instances receive custom DNS hostnames as specified in
6030
+ # `domain-name`, you must specify a custom DNS server.
6031
+ #
6032
+ # * `ntp-servers` - The IP addresses of up to eight Network Time
6033
+ # Protocol (NTP) servers (four IPv4 addresses and four IPv6
6034
+ # addresses).
6016
6035
  #
6017
6036
  # * `netbios-name-servers` - The IP addresses of up to four NetBIOS name
6018
6037
  # servers.
6019
6038
  #
6020
6039
  # * `netbios-node-type` - The NetBIOS node type (1, 2, 4, or 8). We
6021
- # recommend that you specify 2 (broadcast and multicast are not
6022
- # currently supported). For more information about these node types,
6023
- # see [RFC 2132][1].
6024
- #
6025
- # Your VPC automatically starts out with a set of DHCP options that
6026
- # includes only a DNS server that we provide (AmazonProvidedDNS). If you
6027
- # create a set of options, and if your VPC has an internet gateway, make
6028
- # sure to set the `domain-name-servers` option either to
6029
- # `AmazonProvidedDNS` or to a domain name server of your choice. For
6030
- # more information, see [DHCP options sets][2] in the *Amazon VPC User
6031
- # Guide*.
6040
+ # recommend that you specify 2. Broadcast and multicast are not
6041
+ # supported. For more information about NetBIOS node types, see [RFC
6042
+ # 2132][2].
6043
+ #
6044
+ # * `ipv6-preferred-lease-time` - A value (in seconds, minutes, hours,
6045
+ # or years) for how frequently a running instance with an IPv6
6046
+ # assigned to it goes through DHCPv6 lease renewal. Acceptable values
6047
+ # are between 140 and 2147483647 seconds (approximately 68 years). If
6048
+ # no value is entered, the default lease time is 140 seconds. If you
6049
+ # use long-term addressing for EC2 instances, you can increase the
6050
+ # lease time and avoid frequent lease renewal requests. Lease renewal
6051
+ # typically occurs when half of the lease time has elapsed.
6032
6052
  #
6033
6053
  #
6034
6054
  #
6035
- # [1]: http://www.ietf.org/rfc/rfc2132.txt
6036
- # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html
6055
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_DHCP_Options.html
6056
+ # [2]: http://www.ietf.org/rfc/rfc2132.txt
6037
6057
  #
6038
6058
  # @option params [required, Array<Types::NewDhcpConfiguration>] :dhcp_configurations
6039
6059
  # A DHCP configuration option.
@@ -6632,10 +6652,12 @@ module Aws::EC2
6632
6652
  #
6633
6653
  # @option params [String] :deliver_logs_permission_arn
6634
6654
  # The ARN of the IAM role that allows Amazon EC2 to publish flow logs to
6635
- # a CloudWatch Logs log group in your account.
6655
+ # the log destination.
6636
6656
  #
6637
6657
  # This parameter is required if the destination type is
6638
- # `cloud-watch-logs` and unsupported otherwise.
6658
+ # `cloud-watch-logs`, or if the destination type is
6659
+ # `kinesis-data-firehose` and the delivery stream and the resources to
6660
+ # monitor are in different accounts.
6639
6661
  #
6640
6662
  # @option params [String] :deliver_cross_account_role
6641
6663
  # The ARN of the IAM role that allows Amazon EC2 to publish flow logs
@@ -11492,13 +11514,13 @@ module Aws::EC2
11492
11514
  # Cloud User Guide*.
11493
11515
  #
11494
11516
  # For more information, see [Amazon Elastic Block Store][2] and [Amazon
11495
- # EBS encryption][3] in the *Amazon Elastic Compute Cloud User Guide*.
11517
+ # EBS encryption][3] in the *Amazon EBS User Guide*.
11496
11518
  #
11497
11519
  #
11498
11520
  #
11499
11521
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
11500
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html
11501
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
11522
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/what-is-ebs.html
11523
+ # [3]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
11502
11524
  #
11503
11525
  # @option params [String] :description
11504
11526
  # A description for the snapshot.
@@ -11519,11 +11541,11 @@ module Aws::EC2
11519
11541
  # The snapshot must be created on the same Outpost as the volume.
11520
11542
  #
11521
11543
  # For more information, see [Create local snapshots from volumes on an
11522
- # Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
11544
+ # Outpost][1] in the *Amazon EBS User Guide*.
11523
11545
  #
11524
11546
  #
11525
11547
  #
11526
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
11548
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
11527
11549
  #
11528
11550
  # @option params [required, String] :volume_id
11529
11551
  # The ID of the Amazon EBS volume.
@@ -11674,12 +11696,11 @@ module Aws::EC2
11674
11696
  # The snapshots must be created on the same Outpost as the instance.
11675
11697
  #
11676
11698
  # For more information, see [ Create multi-volume local snapshots from
11677
- # instances on an Outpost][1] in the *Amazon Elastic Compute Cloud User
11678
- # Guide*.
11699
+ # instances on an Outpost][1] in the *Amazon EBS User Guide*.
11679
11700
  #
11680
11701
  #
11681
11702
  #
11682
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot
11703
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-multivol-snapshot
11683
11704
  #
11684
11705
  # @option params [Array<Types::TagSpecification>] :tag_specifications
11685
11706
  # Tags to apply to every snapshot specified by the instance.
@@ -14013,21 +14034,21 @@ module Aws::EC2
14013
14034
  # You can create encrypted volumes. Encrypted volumes must be attached
14014
14035
  # to instances that support Amazon EBS encryption. Volumes that are
14015
14036
  # created from encrypted snapshots are also automatically encrypted. For
14016
- # more information, see [Amazon EBS encryption][1] in the *Amazon
14017
- # Elastic Compute Cloud User Guide*.
14037
+ # more information, see [Amazon EBS encryption][1] in the *Amazon EBS
14038
+ # User Guide*.
14018
14039
  #
14019
14040
  # You can tag your volumes during creation. For more information, see
14020
14041
  # [Tag your Amazon EC2 resources][2] in the *Amazon Elastic Compute
14021
14042
  # Cloud User Guide*.
14022
14043
  #
14023
14044
  # For more information, see [Create an Amazon EBS volume][3] in the
14024
- # *Amazon Elastic Compute Cloud User Guide*.
14045
+ # *Amazon EBS User Guide*.
14025
14046
  #
14026
14047
  #
14027
14048
  #
14028
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
14049
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
14029
14050
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
14030
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-volume.html
14051
+ # [3]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-creating-volume.html
14031
14052
  #
14032
14053
  # @option params [required, String] :availability_zone
14033
14054
  # The ID of the Availability Zone in which to create the volume. For
@@ -14038,8 +14059,7 @@ module Aws::EC2
14038
14059
  # setting the encryption state to `true` depends on the volume origin
14039
14060
  # (new or from a snapshot), starting encryption state, ownership, and
14040
14061
  # whether encryption by default is enabled. For more information, see
14041
- # [Encryption by default][1] in the *Amazon Elastic Compute Cloud User
14042
- # Guide*.
14062
+ # [Encryption by default][1] in the *Amazon EBS User Guide*.
14043
14063
  #
14044
14064
  # Encrypted Amazon EBS volumes must be attached to instances that
14045
14065
  # support Amazon EBS encryption. For more information, see [Supported
@@ -14047,8 +14067,8 @@ module Aws::EC2
14047
14067
  #
14048
14068
  #
14049
14069
  #
14050
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
14051
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
14070
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default
14071
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
14052
14072
  #
14053
14073
  # @option params [Integer] :iops
14054
14074
  # The number of I/O operations per second (IOPS). For `gp3`, `io1`, and
@@ -14141,13 +14161,13 @@ module Aws::EC2
14141
14161
  # be used as boot volumes.
14142
14162
  #
14143
14163
  # For more information, see [Amazon EBS volume types][1] in the *Amazon
14144
- # Elastic Compute Cloud User Guide*.
14164
+ # EBS User Guide*.
14145
14165
  #
14146
14166
  # Default: `gp2`
14147
14167
  #
14148
14168
  #
14149
14169
  #
14150
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
14170
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
14151
14171
  #
14152
14172
  # @option params [Boolean] :dry_run
14153
14173
  # Checks whether you have the required permissions for the action,
@@ -14163,13 +14183,12 @@ module Aws::EC2
14163
14183
  # Multi-Attach, you can attach the volume to up to 16 [Instances built
14164
14184
  # on the Nitro System][1] in the same Availability Zone. This parameter
14165
14185
  # is supported with `io1` and `io2` volumes only. For more information,
14166
- # see [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
14167
- # User Guide*.
14186
+ # see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User Guide*.
14168
14187
  #
14169
14188
  #
14170
14189
  #
14171
14190
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
14172
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html
14191
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
14173
14192
  #
14174
14193
  # @option params [Integer] :throughput
14175
14194
  # The throughput to provision for a volume, with a maximum of 1,000
@@ -17395,11 +17414,11 @@ module Aws::EC2
17395
17414
  # delete the snapshot.
17396
17415
  #
17397
17416
  # For more information, see [Delete an Amazon EBS snapshot][1] in the
17398
- # *Amazon Elastic Compute Cloud User Guide*.
17417
+ # *Amazon EBS User Guide*.
17399
17418
  #
17400
17419
  #
17401
17420
  #
17402
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-snapshot.html
17421
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-snapshot.html
17403
17422
  #
17404
17423
  # @option params [required, String] :snapshot_id
17405
17424
  # The ID of the EBS snapshot.
@@ -18580,11 +18599,11 @@ module Aws::EC2
18580
18599
  # The volume can remain in the `deleting` state for several minutes.
18581
18600
  #
18582
18601
  # For more information, see [Delete an Amazon EBS volume][1] in the
18583
- # *Amazon Elastic Compute Cloud User Guide*.
18602
+ # *Amazon EBS User Guide*.
18584
18603
  #
18585
18604
  #
18586
18605
  #
18587
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-volume.html
18606
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-volume.html
18588
18607
  #
18589
18608
  # @option params [required, String] :volume_id
18590
18609
  # The ID of the volume.
@@ -19351,6 +19370,12 @@ module Aws::EC2
19351
19370
  # * `vpc-max-security-groups-per-interface`: The maximum number of
19352
19371
  # security groups that you can assign to a network interface.
19353
19372
  #
19373
+ # <note markdown="1"> The order of the elements in the response, including those within
19374
+ # nested structures, might vary. Applications should not assume the
19375
+ # elements appear in a particular order.
19376
+ #
19377
+ # </note>
19378
+ #
19354
19379
  #
19355
19380
  #
19356
19381
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html#ec2-on-demand-instances-limits
@@ -19809,6 +19834,12 @@ module Aws::EC2
19809
19834
  # Wavelength Zones, see [Regions and zones][1] in the *Amazon Elastic
19810
19835
  # Compute Cloud User Guide*.
19811
19836
  #
19837
+ # <note markdown="1"> The order of the elements in the response, including those within
19838
+ # nested structures, might vary. Applications should not assume the
19839
+ # elements appear in a particular order.
19840
+ #
19841
+ # </note>
19842
+ #
19812
19843
  #
19813
19844
  #
19814
19845
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
@@ -19820,7 +19851,7 @@ module Aws::EC2
19820
19851
  # Local Zones, use the name of the group associated with the Local
19821
19852
  # Zone (for example, `us-west-2-lax-1`) For Wavelength Zones, use the
19822
19853
  # name of the group associated with the Wavelength Zone (for example,
19823
- # `us-east-1-wl1-bos-wlz-1`).
19854
+ # `us-east-1-wl1`).
19824
19855
  #
19825
19856
  # * `message` - The Zone message.
19826
19857
  #
@@ -20027,6 +20058,12 @@ module Aws::EC2
20027
20058
  #
20028
20059
  # </note>
20029
20060
  #
20061
+ # <note markdown="1"> The order of the elements in the response, including those within
20062
+ # nested structures, might vary. Applications should not assume the
20063
+ # elements appear in a particular order.
20064
+ #
20065
+ # </note>
20066
+ #
20030
20067
  # @option params [Array<String>] :bundle_ids
20031
20068
  # The bundle task IDs.
20032
20069
  #
@@ -20172,9 +20209,9 @@ module Aws::EC2
20172
20209
  req.send_request(options)
20173
20210
  end
20174
20211
 
20175
- # Describes Capacity Block offerings available for purchase. With
20176
- # Capacity Blocks, you purchase a specific instance type for a period of
20177
- # time.
20212
+ # Describes Capacity Block offerings available for purchase in the
20213
+ # Amazon Web Services Region that you're currently using. With Capacity
20214
+ # Blocks, you purchase a specific instance type for a period of time.
20178
20215
  #
20179
20216
  # @option params [Boolean] :dry_run
20180
20217
  # Checks whether you have the required permissions for the action,
@@ -22073,7 +22110,13 @@ module Aws::EC2
22073
22110
 
22074
22111
  # Describes the running instances for the specified EC2 Fleet.
22075
22112
  #
22076
- # For more information, see [Monitor your EC2 Fleet][1] in the *Amazon
22113
+ # <note markdown="1"> Currently, `DescribeFleetInstances` does not support fleets of type
22114
+ # `instant`. Instead, use `DescribeFleets`, specifying the `instant`
22115
+ # fleet ID in the request.
22116
+ #
22117
+ # </note>
22118
+ #
22119
+ # For more information, see [Describe your EC2 Fleet][1] in the *Amazon
22077
22120
  # EC2 User Guide*.
22078
22121
  #
22079
22122
  #
@@ -22149,9 +22192,12 @@ module Aws::EC2
22149
22192
  req.send_request(options)
22150
22193
  end
22151
22194
 
22152
- # Describes the specified EC2 Fleets or all of your EC2 Fleets.
22195
+ # Describes the specified EC2 Fleet or all of your EC2 Fleets.
22196
+ #
22197
+ # If a fleet is of type `instant`, you must specify the fleet ID in the
22198
+ # request, otherwise the fleet does not appear in the response.
22153
22199
  #
22154
- # For more information, see [Monitor your EC2 Fleet][1] in the *Amazon
22200
+ # For more information, see [Describe your EC2 Fleet][1] in the *Amazon
22155
22201
  # EC2 User Guide*.
22156
22202
  #
22157
22203
  #
@@ -23259,6 +23305,12 @@ module Aws::EC2
23259
23305
  # Describes the specified attribute of the specified AMI. You can
23260
23306
  # specify only one attribute at a time.
23261
23307
  #
23308
+ # <note markdown="1"> The order of the elements in the response, including those within
23309
+ # nested structures, might vary. Applications should not assume the
23310
+ # elements appear in a particular order.
23311
+ #
23312
+ # </note>
23313
+ #
23262
23314
  # @option params [required, String] :attribute
23263
23315
  # The AMI attribute.
23264
23316
  #
@@ -23376,6 +23428,12 @@ module Aws::EC2
23376
23428
  # image will eventually return an error indicating that the AMI ID
23377
23429
  # cannot be found.
23378
23430
  #
23431
+ # <note markdown="1"> The order of the elements in the response, including those within
23432
+ # nested structures, might vary. Applications should not assume the
23433
+ # elements appear in a particular order.
23434
+ #
23435
+ # </note>
23436
+ #
23379
23437
  # @option params [Array<String>] :executable_users
23380
23438
  # Scopes the images by users with explicit launch permissions. Specify
23381
23439
  # an Amazon Web Services account ID, `self` (the sender of the request),
@@ -24406,6 +24464,12 @@ module Aws::EC2
24406
24464
  # you launch them through their termination. For more information, see
24407
24465
  # [Instance lifecycle][4] in the *Amazon EC2 User Guide*.
24408
24466
  #
24467
+ # <note markdown="1"> The order of the elements in the response, including those within
24468
+ # nested structures, might vary. Applications should not assume the
24469
+ # elements appear in a particular order.
24470
+ #
24471
+ # </note>
24472
+ #
24409
24473
  #
24410
24474
  #
24411
24475
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html
@@ -25148,6 +25212,12 @@ module Aws::EC2
25148
25212
  # the call fails. If you describe instances and specify only instance
25149
25213
  # IDs that are in an unaffected zone, the call works normally.
25150
25214
  #
25215
+ # <note markdown="1"> The order of the elements in the response, including those within
25216
+ # nested structures, might vary. Applications should not assume the
25217
+ # elements appear in a particular order.
25218
+ #
25219
+ # </note>
25220
+ #
25151
25221
  # @option params [Array<Types::Filter>] :filters
25152
25222
  # The filters.
25153
25223
  #
@@ -30256,6 +30326,12 @@ module Aws::EC2
30256
30326
  # see [Managing Amazon Web Services Regions][2] in the *Amazon Web
30257
30327
  # Services General Reference*.
30258
30328
  #
30329
+ # <note markdown="1"> The order of the elements in the response, including those within
30330
+ # nested structures, might vary. Applications should not assume the
30331
+ # elements appear in a particular order.
30332
+ #
30333
+ # </note>
30334
+ #
30259
30335
  #
30260
30336
  #
30261
30337
  # [1]: https://docs.aws.amazon.com/general/latest/gr/ec2-service.html
@@ -30468,6 +30544,12 @@ module Aws::EC2
30468
30544
  # For more information about Reserved Instances, see [Reserved
30469
30545
  # Instances][1] in the *Amazon EC2 User Guide*.
30470
30546
  #
30547
+ # <note markdown="1"> The order of the elements in the response, including those within
30548
+ # nested structures, might vary. Applications should not assume the
30549
+ # elements appear in a particular order.
30550
+ #
30551
+ # </note>
30552
+ #
30471
30553
  #
30472
30554
  #
30473
30555
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html
@@ -30620,6 +30702,12 @@ module Aws::EC2
30620
30702
  # For more information, see [Reserved Instance Marketplace][1] in the
30621
30703
  # *Amazon EC2 User Guide*.
30622
30704
  #
30705
+ # <note markdown="1"> The order of the elements in the response, including those within
30706
+ # nested structures, might vary. Applications should not assume the
30707
+ # elements appear in a particular order.
30708
+ #
30709
+ # </note>
30710
+ #
30623
30711
  #
30624
30712
  #
30625
30713
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
@@ -30699,6 +30787,12 @@ module Aws::EC2
30699
30787
  # For more information, see [Modifying Reserved Instances][1] in the
30700
30788
  # *Amazon EC2 User Guide*.
30701
30789
  #
30790
+ # <note markdown="1"> The order of the elements in the response, including those within
30791
+ # nested structures, might vary. Applications should not assume the
30792
+ # elements appear in a particular order.
30793
+ #
30794
+ # </note>
30795
+ #
30702
30796
  #
30703
30797
  #
30704
30798
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html
@@ -30809,6 +30903,12 @@ module Aws::EC2
30809
30903
  # For more information, see [Reserved Instance Marketplace][1] in the
30810
30904
  # *Amazon EC2 User Guide*.
30811
30905
  #
30906
+ # <note markdown="1"> The order of the elements in the response, including those within
30907
+ # nested structures, might vary. Applications should not assume the
30908
+ # elements appear in a particular order.
30909
+ #
30910
+ # </note>
30911
+ #
30812
30912
  #
30813
30913
  #
30814
30914
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
@@ -31424,9 +31524,8 @@ module Aws::EC2
31424
31524
  req.send_request(options)
31425
31525
  end
31426
31526
 
31427
- # Describes the VPCs on the other side of a VPC peering connection or
31428
- # the VPCs attached to a transit gateway that are referencing the
31429
- # security groups you've specified in this request.
31527
+ # Describes the VPCs on the other side of a VPC peering connection that
31528
+ # are referencing the security groups you've specified in this request.
31430
31529
  #
31431
31530
  # @option params [Boolean] :dry_run
31432
31531
  # Checks whether you have the required permissions for the action,
@@ -31830,11 +31929,11 @@ module Aws::EC2
31830
31929
  # specify only one attribute at a time.
31831
31930
  #
31832
31931
  # For more information about EBS snapshots, see [Amazon EBS
31833
- # snapshots][1] in the *Amazon Elastic Compute Cloud User Guide*.
31932
+ # snapshots][1] in the *Amazon EBS User Guide*.
31834
31933
  #
31835
31934
  #
31836
31935
  #
31837
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html
31936
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html
31838
31937
  #
31839
31938
  # @option params [required, String] :attribute
31840
31939
  # The snapshot attribute you would like to view.
@@ -32034,12 +32133,12 @@ module Aws::EC2
32034
32133
  # DescribeFastSnapshotRestores.
32035
32134
  #
32036
32135
  # For more information about EBS snapshots, see [Amazon EBS
32037
- # snapshots][2] in the *Amazon Elastic Compute Cloud User Guide*.
32136
+ # snapshots][2] in the *Amazon EBS User Guide*.
32038
32137
  #
32039
32138
  #
32040
32139
  #
32041
32140
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
32042
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html
32141
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html
32043
32142
  #
32044
32143
  # @option params [Array<Types::Filter>] :filters
32045
32144
  # The filters.
@@ -33344,16 +33443,9 @@ module Aws::EC2
33344
33443
 
33345
33444
  # Describes the stale security group rules for security groups in a
33346
33445
  # specified VPC. Rules are stale when they reference a deleted security
33347
- # group in the same VPC, peered VPC, or in separate VPCs attached to a
33348
- # transit gateway (with [security group referencing support][1]
33349
- # enabled). Rules can also be stale if they reference a security group
33350
- # in a peer VPC for which the VPC peering connection has been deleted or
33351
- # if they reference a security group in a VPC that has been detached
33352
- # from a transit gateway.
33353
- #
33354
- #
33355
- #
33356
- # [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw
33446
+ # group in the same VPC or peered VPC. Rules can also be stale if they
33447
+ # reference a security group in a peer VPC for which the VPC peering
33448
+ # connection has been deleted.
33357
33449
  #
33358
33450
  # @option params [Boolean] :dry_run
33359
33451
  # Checks whether you have the required permissions for the action,
@@ -33784,6 +33876,12 @@ module Aws::EC2
33784
33876
  # For more information about tags, see [Tag your Amazon EC2
33785
33877
  # resources][1] in the *Amazon Elastic Compute Cloud User Guide*.
33786
33878
  #
33879
+ # <note markdown="1"> The order of the elements in the response, including those within
33880
+ # nested structures, might vary. Applications should not assume the
33881
+ # elements appear in a particular order.
33882
+ #
33883
+ # </note>
33884
+ #
33787
33885
  #
33788
33886
  #
33789
33887
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
@@ -35515,11 +35613,11 @@ module Aws::EC2
35515
35613
  # specify only one attribute at a time.
35516
35614
  #
35517
35615
  # For more information about EBS volumes, see [Amazon EBS volumes][1] in
35518
- # the *Amazon Elastic Compute Cloud User Guide*.
35616
+ # the *Amazon EBS User Guide*.
35519
35617
  #
35520
35618
  #
35521
35619
  #
35522
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html
35620
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes.html
35523
35621
  #
35524
35622
  # @option params [required, String] :attribute
35525
35623
  # The attribute of the volume. This parameter is required.
@@ -35602,7 +35700,7 @@ module Aws::EC2
35602
35700
  # `insufficient-data`, then the checks might still be taking place on
35603
35701
  # your volume at the time. We recommend that you retry the request. For
35604
35702
  # more information about volume status, see [Monitor the status of your
35605
- # volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
35703
+ # volumes][1] in the *Amazon EBS User Guide*.
35606
35704
  #
35607
35705
  # *Events*: Reflect the cause of a volume status and might require you
35608
35706
  # to take action. For example, if your volume returns an `impaired`
@@ -35623,9 +35721,15 @@ module Aws::EC2
35623
35721
  # volumes in the `error` state (for example, when a volume is incapable
35624
35722
  # of accepting I/O.)
35625
35723
  #
35724
+ # <note markdown="1"> The order of the elements in the response, including those within
35725
+ # nested structures, might vary. Applications should not assume the
35726
+ # elements appear in a particular order.
35727
+ #
35728
+ # </note>
35626
35729
  #
35627
35730
  #
35628
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html
35731
+ #
35732
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-status.html
35629
35733
  #
35630
35734
  # @option params [Array<Types::Filter>] :filters
35631
35735
  # The filters.
@@ -35815,12 +35919,18 @@ module Aws::EC2
35815
35919
  # information, see [Pagination][1].
35816
35920
  #
35817
35921
  # For more information about EBS volumes, see [Amazon EBS volumes][2] in
35818
- # the *Amazon Elastic Compute Cloud User Guide*.
35922
+ # the *Amazon EBS User Guide*.
35923
+ #
35924
+ # <note markdown="1"> The order of the elements in the response, including those within
35925
+ # nested structures, might vary. Applications should not assume the
35926
+ # elements appear in a particular order.
35927
+ #
35928
+ # </note>
35819
35929
  #
35820
35930
  #
35821
35931
  #
35822
35932
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
35823
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html
35933
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes.html
35824
35934
  #
35825
35935
  # @option params [Array<Types::Filter>] :filters
35826
35936
  # The filters.
@@ -36065,12 +36175,12 @@ module Aws::EC2
36065
36175
  # modification to an EBS volume. For information about CloudWatch
36066
36176
  # Events, see the [Amazon CloudWatch Events User Guide][1]. For more
36067
36177
  # information, see [Monitor the progress of volume modifications][2] in
36068
- # the *Amazon Elastic Compute Cloud User Guide*.
36178
+ # the *Amazon EBS User Guide*.
36069
36179
  #
36070
36180
  #
36071
36181
  #
36072
36182
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
36073
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html
36183
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-modifications.html
36074
36184
  #
36075
36185
  # @option params [Boolean] :dry_run
36076
36186
  # Checks whether you have the required permissions for the action,
@@ -37791,11 +37901,11 @@ module Aws::EC2
37791
37901
  # volume attached to ECS tasks` error message.
37792
37902
  #
37793
37903
  # For more information, see [Detach an Amazon EBS volume][1] in the
37794
- # *Amazon Elastic Compute Cloud User Guide*.
37904
+ # *Amazon EBS User Guide*.
37795
37905
  #
37796
37906
  #
37797
37907
  #
37798
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-detaching-volume.html
37908
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-detaching-volume.html
37799
37909
  #
37800
37910
  # @option params [String] :device
37801
37911
  # The device name.
@@ -38028,11 +38138,11 @@ module Aws::EC2
38028
38138
  # of your existing volumes.
38029
38139
  #
38030
38140
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
38031
- # Elastic Compute Cloud User Guide*.
38141
+ # EBS User Guide*.
38032
38142
  #
38033
38143
  #
38034
38144
  #
38035
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
38145
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
38036
38146
  #
38037
38147
  # @option params [Boolean] :dry_run
38038
38148
  # Checks whether you have the required permissions for the action,
@@ -38428,13 +38538,13 @@ module Aws::EC2
38428
38538
  # publicly accessible again.
38429
38539
  #
38430
38540
  # For more information, see [ Block public access for snapshots][1] in
38431
- # the *Amazon Elastic Compute Cloud User Guide* .
38541
+ # the *Amazon EBS User Guide* .
38432
38542
  #
38433
38543
  #
38434
38544
  #
38435
38545
  #
38436
38546
  #
38437
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-snapshots.html
38547
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html
38438
38548
  #
38439
38549
  # @option params [Boolean] :dry_run
38440
38550
  # Checks whether you have the required permissions for the action,
@@ -39513,8 +39623,8 @@ module Aws::EC2
39513
39623
  # After you enable encryption by default, the EBS volumes that you
39514
39624
  # create are always encrypted, either using the default KMS key or the
39515
39625
  # KMS key that you specified when you created each volume. For more
39516
- # information, see [Amazon EBS encryption][1] in the *Amazon Elastic
39517
- # Compute Cloud User Guide*.
39626
+ # information, see [Amazon EBS encryption][1] in the *Amazon EBS User
39627
+ # Guide*.
39518
39628
  #
39519
39629
  # You can specify the default KMS key for encryption by default using
39520
39630
  # ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
@@ -39528,8 +39638,8 @@ module Aws::EC2
39528
39638
  #
39529
39639
  #
39530
39640
  #
39531
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
39532
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
39641
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
39642
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
39533
39643
  #
39534
39644
  # @option params [Boolean] :dry_run
39535
39645
  # Checks whether you have the required permissions for the action,
@@ -39663,11 +39773,11 @@ module Aws::EC2
39663
39773
  # restores, use DisableFastSnapshotRestores.
39664
39774
  #
39665
39775
  # For more information, see [Amazon EBS fast snapshot restore][1] in the
39666
- # *Amazon Elastic Compute Cloud User Guide*.
39776
+ # *Amazon EBS User Guide*.
39667
39777
  #
39668
39778
  #
39669
39779
  #
39670
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-fast-snapshot-restore.html
39780
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-fast-snapshot-restore.html
39671
39781
  #
39672
39782
  # @option params [required, Array<String>] :availability_zones
39673
39783
  # One or more Availability Zones. For example, `us-east-2a`.
@@ -40012,11 +40122,11 @@ module Aws::EC2
40012
40122
  # become publicly accessible again.
40013
40123
  #
40014
40124
  # For more information, see [ Block public access for snapshots][1] in
40015
- # the *Amazon Elastic Compute Cloud User Guide*.
40125
+ # the *Amazon EBS User Guide*.
40016
40126
  #
40017
40127
  #
40018
40128
  #
40019
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-snapshots.html
40129
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html
40020
40130
  #
40021
40131
  # @option params [required, String] :state
40022
40132
  # The mode in which to enable block public access for snapshots for the
@@ -41060,11 +41170,11 @@ module Aws::EC2
41060
41170
  # ResetEbsDefaultKmsKeyId.
41061
41171
  #
41062
41172
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
41063
- # Elastic Compute Cloud User Guide*.
41173
+ # EBS User Guide*.
41064
41174
  #
41065
41175
  #
41066
41176
  #
41067
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
41177
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
41068
41178
  #
41069
41179
  # @option params [Boolean] :dry_run
41070
41180
  # Checks whether you have the required permissions for the action,
@@ -41099,11 +41209,11 @@ module Aws::EC2
41099
41209
  # account in the current Region.
41100
41210
  #
41101
41211
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
41102
- # Elastic Compute Cloud User Guide*.
41212
+ # EBS User Guide*.
41103
41213
  #
41104
41214
  #
41105
41215
  #
41106
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
41216
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
41107
41217
  #
41108
41218
  # @option params [Boolean] :dry_run
41109
41219
  # Checks whether you have the required permissions for the action,
@@ -43264,11 +43374,11 @@ module Aws::EC2
43264
43374
  # for the account and Region.
43265
43375
  #
43266
43376
  # For more information, see [ Block public access for snapshots][1] in
43267
- # the *Amazon Elastic Compute Cloud User Guide*.
43377
+ # the *Amazon EBS User Guide*.
43268
43378
  #
43269
43379
  #
43270
43380
  #
43271
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-snapshots.html
43381
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html
43272
43382
  #
43273
43383
  # @option params [Boolean] :dry_run
43274
43384
  # Checks whether you have the required permissions for the action,
@@ -45820,11 +45930,11 @@ module Aws::EC2
45820
45930
  # to launch.
45821
45931
  #
45822
45932
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
45823
- # Elastic Compute Cloud User Guide*.
45933
+ # EBS User Guide*.
45824
45934
  #
45825
45935
  #
45826
45936
  #
45827
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
45937
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
45828
45938
  #
45829
45939
  # @option params [required, String] :kms_key_id
45830
45940
  # The identifier of the Key Management Service (KMS) KMS key to use for
@@ -47176,8 +47286,6 @@ module Aws::EC2
47176
47286
  # the instance metadata. For more information, see [Work with instance
47177
47287
  # tags using the instance metadata][1].
47178
47288
  #
47179
- # Default: `disabled`
47180
- #
47181
47289
  #
47182
47290
  #
47183
47291
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
@@ -47224,7 +47332,7 @@ module Aws::EC2
47224
47332
  # * Modify the affinity between an instance and a [Dedicated Host][1].
47225
47333
  # When affinity is set to `host` and the instance is not associated
47226
47334
  # with a specific Dedicated Host, the next time the instance is
47227
- # launched, it is automatically associated with the host on which it
47335
+ # started, it is automatically associated with the host on which it
47228
47336
  # lands. If the instance is restarted or rebooted, this relationship
47229
47337
  # persists.
47230
47338
  #
@@ -47247,7 +47355,12 @@ module Aws::EC2
47247
47355
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
47248
47356
  #
47249
47357
  # @option params [String] :affinity
47250
- # The affinity setting for the instance.
47358
+ # The affinity setting for the instance. For more information, see [Host
47359
+ # affinity][1] in the *Amazon EC2 User Guide*.
47360
+ #
47361
+ #
47362
+ #
47363
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity
47251
47364
  #
47252
47365
  # @option params [String] :group_name
47253
47366
  # The name of the placement group in which to place the instance. For
@@ -48329,11 +48442,11 @@ module Aws::EC2
48329
48442
  # default KMS key cannot be shared with other accounts.
48330
48443
  #
48331
48444
  # For more information about modifying snapshot permissions, see [Share
48332
- # a snapshot][1] in the *Amazon Elastic Compute Cloud User Guide*.
48445
+ # a snapshot][1] in the *Amazon EBS User Guide*.
48333
48446
  #
48334
48447
  #
48335
48448
  #
48336
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html
48449
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modifying-snapshot-permissions.html
48337
48450
  #
48338
48451
  # @option params [String] :attribute
48339
48452
  # The snapshot attribute to modify. Only volume creation permissions can
@@ -48436,12 +48549,12 @@ module Aws::EC2
48436
48549
  # converted to a full snapshot that includes all of the blocks of data
48437
48550
  # that were written to the volume at the time the snapshot was created,
48438
48551
  # and moved from the standard tier to the archive tier. For more
48439
- # information, see [Archive Amazon EBS snapshots][1] in the *Amazon
48440
- # Elastic Compute Cloud User Guide*.
48552
+ # information, see [Archive Amazon EBS snapshots][1] in the *Amazon EBS
48553
+ # User Guide*.
48441
48554
  #
48442
48555
  #
48443
48556
  #
48444
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-archive.html
48557
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html
48445
48558
  #
48446
48559
  # @option params [required, String] :snapshot_id
48447
48560
  # The ID of the snapshot.
@@ -48711,10 +48824,10 @@ module Aws::EC2
48711
48824
  # instances created in the specified subnet should be assigned a public
48712
48825
  # IPv4 address.
48713
48826
  #
48714
- # Starting on February 1, 2024, Amazon Web Services will charge for all
48715
- # public IPv4 addresses, including public IPv4 addresses associated with
48716
- # running instances and Elastic IP addresses. For more information, see
48717
- # the *Public IPv4 Address* tab on the [Amazon VPC pricing page][1].
48827
+ # Amazon Web Services charges for all public IPv4 addresses, including
48828
+ # public IPv4 addresses associated with running instances and Elastic IP
48829
+ # addresses. For more information, see the *Public IPv4 Address* tab on
48830
+ # the [Amazon VPC pricing page][1].
48718
48831
  #
48719
48832
  #
48720
48833
  #
@@ -49870,20 +49983,19 @@ module Aws::EC2
49870
49983
  # attached to a current-generation EC2 instance type, you might be able
49871
49984
  # to apply these changes without stopping the instance or detaching the
49872
49985
  # volume from it. For more information about modifying EBS volumes, see
49873
- # [Amazon EBS Elastic Volumes][1] (Linux instances) or [Amazon EBS
49874
- # Elastic Volumes][2] (Windows instances).
49986
+ # [Amazon EBS Elastic Volumes][1] in the *Amazon EBS User Guide*.
49875
49987
  #
49876
49988
  # When you complete a resize operation on your volume, you need to
49877
49989
  # extend the volume's file-system size to take advantage of the new
49878
- # storage capacity. For more information, see [Extend a Linux file
49879
- # system][3] or [Extend a Windows file system][4].
49990
+ # storage capacity. For more information, see [Extend the file
49991
+ # system][2].
49880
49992
  #
49881
49993
  # You can use CloudWatch Events to check the status of a modification to
49882
49994
  # an EBS volume. For information about CloudWatch Events, see the
49883
- # [Amazon CloudWatch Events User Guide][5]. You can also track the
49995
+ # [Amazon CloudWatch Events User Guide][3]. You can also track the
49884
49996
  # status of a modification using DescribeVolumesModifications. For
49885
49997
  # information about tracking status changes using either method, see
49886
- # [Monitor the progress of volume modifications][6].
49998
+ # [Monitor the progress of volume modifications][4].
49887
49999
  #
49888
50000
  # With previous-generation instance types, resizing an EBS volume might
49889
50001
  # require detaching and reattaching the volume or stopping and
@@ -49896,12 +50008,10 @@ module Aws::EC2
49896
50008
  #
49897
50009
  #
49898
50010
  #
49899
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html
49900
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html
49901
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#recognize-expanded-volume-linux
49902
- # [4]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html#recognize-expanded-volume-windows
49903
- # [5]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
49904
- # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html
50011
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modify-volume.html
50012
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/recognize-expanded-volume-linux.html
50013
+ # [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
50014
+ # [4]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-modifications.html
49905
50015
  #
49906
50016
  # @option params [Boolean] :dry_run
49907
50017
  # Checks whether you have the required permissions for the action,
@@ -49932,14 +50042,13 @@ module Aws::EC2
49932
50042
  #
49933
50043
  # @option params [String] :volume_type
49934
50044
  # The target EBS volume type of the volume. For more information, see
49935
- # [Amazon EBS volume types][1] in the *Amazon Elastic Compute Cloud User
49936
- # Guide*.
50045
+ # [Amazon EBS volume types][1] in the *Amazon EBS User Guide*.
49937
50046
  #
49938
50047
  # Default: The existing type is retained.
49939
50048
  #
49940
50049
  #
49941
50050
  #
49942
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
50051
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
49943
50052
  #
49944
50053
  # @option params [Integer] :iops
49945
50054
  # The target IOPS rate of the volume. This parameter is valid only for
@@ -49979,13 +50088,12 @@ module Aws::EC2
49979
50088
  # Multi-Attach, you can attach the volume to up to 16 [ Nitro-based
49980
50089
  # instances][1] in the same Availability Zone. This parameter is
49981
50090
  # supported with `io1` and `io2` volumes only. For more information, see
49982
- # [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
49983
- # User Guide*.
50091
+ # [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User Guide*.
49984
50092
  #
49985
50093
  #
49986
50094
  #
49987
50095
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
49988
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html
50096
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
49989
50097
  #
49990
50098
  # @return [Types::ModifyVolumeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
49991
50099
  #
@@ -51409,9 +51517,10 @@ module Aws::EC2
51409
51517
  # @option params [required, String] :cidr
51410
51518
  # The public IPv4 or IPv6 address range, in CIDR notation. The most
51411
51519
  # specific IPv4 prefix that you can specify is /24. The most specific
51412
- # IPv6 prefix you can specify is /56. The address range cannot overlap
51413
- # with another address range that you've brought to this or another
51414
- # Region.
51520
+ # IPv6 address range that you can bring is /48 for CIDRs that are
51521
+ # publicly advertisable and /56 for CIDRs that are not publicly
51522
+ # advertisable. The address range cannot overlap with another address
51523
+ # range that you've brought to this or another Region.
51415
51524
  #
51416
51525
  # @option params [Types::CidrAuthorizationContext] :cidr_authorization_context
51417
51526
  # A signed document that proves that you are authorized to bring the
@@ -52105,8 +52214,8 @@ module Aws::EC2
52105
52214
  req.send_request(options)
52106
52215
  end
52107
52216
 
52108
- # Registers an AMI. When you're creating an AMI, this is the final step
52109
- # you must complete before you can launch an instance from the AMI. For
52217
+ # Registers an AMI. When you're creating an instance-store backed AMI,
52218
+ # registering the AMI is the final step in the creation process. For
52110
52219
  # more information about creating AMIs, see [Create your own AMI][1] in
52111
52220
  # the *Amazon Elastic Compute Cloud User Guide*.
52112
52221
  #
@@ -52196,11 +52305,11 @@ module Aws::EC2
52196
52305
  # on the same Outpost or in the Region of that Outpost. AMIs on an
52197
52306
  # Outpost that include local snapshots can be used to launch instances
52198
52307
  # on the same Outpost only. For more information, [Amazon EBS local
52199
- # snapshots on Outposts][1] in the *Amazon EC2 User Guide*.
52308
+ # snapshots on Outposts][1] in the *Amazon EBS User Guide*.
52200
52309
  #
52201
52310
  #
52202
52311
  #
52203
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
52312
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami
52204
52313
  #
52205
52314
  # @option params [String] :description
52206
52315
  # A description for your AMI.
@@ -52319,6 +52428,18 @@ module Aws::EC2
52319
52428
  #
52320
52429
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
52321
52430
  #
52431
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
52432
+ # The tags to apply to the AMI.
52433
+ #
52434
+ # To tag the AMI, the value for `ResourceType` must be `image`. If you
52435
+ # specify another value for `ResourceType`, the request fails.
52436
+ #
52437
+ # To tag an AMI after it has been registered, see [CreateTags][1].
52438
+ #
52439
+ #
52440
+ #
52441
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
52442
+ #
52322
52443
  # @return [Types::RegisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
52323
52444
  #
52324
52445
  # * {Types::RegisterImageResult#image_id #image_id} => String
@@ -52360,6 +52481,17 @@ module Aws::EC2
52360
52481
  # tpm_support: "v2.0", # accepts v2.0
52361
52482
  # uefi_data: "StringType",
52362
52483
  # imds_support: "v2.0", # accepts v2.0
52484
+ # tag_specifications: [
52485
+ # {
52486
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
52487
+ # tags: [
52488
+ # {
52489
+ # key: "String",
52490
+ # value: "String",
52491
+ # },
52492
+ # ],
52493
+ # },
52494
+ # ],
52363
52495
  # })
52364
52496
  #
52365
52497
  # @example Response structure
@@ -54514,12 +54646,11 @@ module Aws::EC2
54514
54646
  # After resetting the default KMS key to the Amazon Web Services managed
54515
54647
  # KMS key, you can continue to encrypt by a customer managed KMS key by
54516
54648
  # specifying it when you create the volume. For more information, see
54517
- # [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud User
54518
- # Guide*.
54649
+ # [Amazon EBS encryption][1] in the *Amazon EBS User Guide*.
54519
54650
  #
54520
54651
  #
54521
54652
  #
54522
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
54653
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
54523
54654
  #
54524
54655
  # @option params [Boolean] :dry_run
54525
54656
  # Checks whether you have the required permissions for the action,
@@ -54739,11 +54870,11 @@ module Aws::EC2
54739
54870
  # Resets permission settings for the specified snapshot.
54740
54871
  #
54741
54872
  # For more information about modifying snapshot permissions, see [Share
54742
- # a snapshot][1] in the *Amazon Elastic Compute Cloud User Guide*.
54873
+ # a snapshot][1] in the *Amazon EBS User Guide*.
54743
54874
  #
54744
54875
  #
54745
54876
  #
54746
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modifying-snapshot-permissions.html
54877
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modifying-snapshot-permissions.html
54747
54878
  #
54748
54879
  # @option params [required, String] :attribute
54749
54880
  # The attribute to reset. Currently, only the attribute for permission
@@ -54933,12 +55064,12 @@ module Aws::EC2
54933
55064
  end
54934
55065
 
54935
55066
  # Restores a snapshot from the Recycle Bin. For more information, see
54936
- # [Restore snapshots from the Recycle Bin][1] in the *Amazon Elastic
54937
- # Compute Cloud User Guide*.
55067
+ # [Restore snapshots from the Recycle Bin][1] in the *Amazon EBS User
55068
+ # Guide*.
54938
55069
  #
54939
55070
  #
54940
55071
  #
54941
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-snaps.html#recycle-bin-restore-snaps
55072
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin-working-with-snaps.html#recycle-bin-restore-snaps
54942
55073
  #
54943
55074
  # @option params [required, String] :snapshot_id
54944
55075
  # The ID of the snapshot to restore.
@@ -54999,12 +55130,12 @@ module Aws::EC2
54999
55130
  #
55000
55131
  # For more information see [ Restore an archived snapshot][1] and [
55001
55132
  # modify the restore period or restore type for a temporarily restored
55002
- # snapshot][2] in the *Amazon Elastic Compute Cloud User Guide*.
55133
+ # snapshot][2] in the *Amazon EBS User Guide*.
55003
55134
  #
55004
55135
  #
55005
55136
  #
55006
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/working-with-snapshot-archiving.html#restore-archived-snapshot
55007
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/working-with-snapshot-archiving.html#modify-temp-restore-period
55137
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/working-with-snapshot-archiving.html#restore-archived-snapshot
55138
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/working-with-snapshot-archiving.html#modify-temp-restore-period
55008
55139
  #
55009
55140
  # @option params [required, String] :snapshot_id
55010
55141
  # The ID of the snapshot to restore.
@@ -55291,8 +55422,7 @@ module Aws::EC2
55291
55422
  #
55292
55423
  # @option params [Integer] :from_port
55293
55424
  # If the protocol is TCP or UDP, this is the start of the port range. If
55294
- # the protocol is ICMP, this is the type number. A value of -1 indicates
55295
- # all ICMP types.
55425
+ # the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
55296
55426
  #
55297
55427
  # @option params [String] :group_id
55298
55428
  # The ID of the security group.
@@ -55328,8 +55458,7 @@ module Aws::EC2
55328
55458
  #
55329
55459
  # @option params [Integer] :to_port
55330
55460
  # If the protocol is TCP or UDP, this is the end of the port range. If
55331
- # the protocol is ICMP, this is the code. A value of -1 indicates all
55332
- # ICMP codes.
55461
+ # the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).
55333
55462
  #
55334
55463
  # @option params [Boolean] :dry_run
55335
55464
  # Checks whether you have the required permissions for the action,
@@ -58776,7 +58905,7 @@ module Aws::EC2
58776
58905
  params: params,
58777
58906
  config: config)
58778
58907
  context[:gem_name] = 'aws-sdk-ec2'
58779
- context[:gem_version] = '1.438.0'
58908
+ context[:gem_version] = '1.442.0'
58780
58909
  Seahorse::Client::Request.new(handlers, context)
58781
58910
  end
58782
58911