aws-sdk-ec2 1.440.0 → 1.442.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +363 -284
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +33 -13
- data/lib/aws-sdk-ec2/security_group.rb +46 -57
- data/lib/aws-sdk-ec2/snapshot.rb +6 -7
- data/lib/aws-sdk-ec2/subnet.rb +4 -4
- data/lib/aws-sdk-ec2/types.rb +240 -236
- data/lib/aws-sdk-ec2/volume.rb +2 -2
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +24 -2
- data/sig/resource.rbs +12 -1
- data/sig/types.rbs +2 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -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
|
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
|
3040
|
+
# instance][3] in the *Amazon EBS User Guide*.
|
3041
3041
|
#
|
3042
3042
|
#
|
3043
3043
|
#
|
3044
|
-
# [1]: https://docs.aws.amazon.com/
|
3045
|
-
# [2]: https://docs.aws.amazon.com/
|
3046
|
-
# [3]: https://docs.aws.amazon.com/
|
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
|
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
|
3252
|
-
#
|
3253
|
-
#
|
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
|
3257
|
-
#
|
3258
|
-
#
|
3259
|
-
#
|
3260
|
-
#
|
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
|
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
|
3266
|
-
#
|
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
|
-
#
|
3269
|
-
#
|
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/
|
3278
|
-
# [2]: https://docs.aws.amazon.com/
|
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
|
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
|
3293
|
+
# Not supported. Use IP permissions instead.
|
3298
3294
|
#
|
3299
3295
|
# @option params [Integer] :from_port
|
3300
|
-
# Not supported. Use
|
3296
|
+
# Not supported. Use IP permissions instead.
|
3301
3297
|
#
|
3302
3298
|
# @option params [String] :ip_protocol
|
3303
|
-
# Not supported. Use
|
3304
|
-
# name or number.
|
3299
|
+
# Not supported. Use IP permissions instead.
|
3305
3300
|
#
|
3306
3301
|
# @option params [Integer] :to_port
|
3307
|
-
# Not supported. Use
|
3302
|
+
# Not supported. Use IP permissions instead.
|
3308
3303
|
#
|
3309
3304
|
# @option params [String] :source_security_group_name
|
3310
|
-
# Not supported. Use
|
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
|
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
|
3468
|
-
#
|
3469
|
-
#
|
3470
|
-
#
|
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
|
3473
|
-
#
|
3474
|
-
#
|
3475
|
-
#
|
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
|
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
|
3481
|
-
# quotas][
|
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/
|
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.
|
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
|
-
#
|
3493
|
-
#
|
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
|
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
|
-
#
|
3502
|
-
#
|
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.
|
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.
|
3511
|
-
# either the
|
3512
|
-
#
|
3513
|
-
# security group
|
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
|
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
|
3516
|
+
# Numbers][1]). To specify all protocols, use `-1`.
|
3517
|
+
#
|
3518
|
+
# To specify `icmpv6`, use IP permissions instead.
|
3521
3519
|
#
|
3522
|
-
#
|
3523
|
-
#
|
3524
|
-
#
|
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
|
-
#
|
3527
|
-
#
|
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.
|
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
|
-
#
|
3543
|
-
#
|
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
|
3555
|
-
#
|
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
|
-
#
|
3559
|
-
#
|
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
|
-
#
|
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
|
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/
|
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
|
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/
|
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 [
|
4562
|
-
# Region to an Outpost][1] in the *Amazon
|
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/
|
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
|
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
|
4682
|
+
# *Amazon EBS User Guide*.
|
4666
4683
|
#
|
4667
4684
|
#
|
4668
4685
|
#
|
4669
|
-
# [1]: https://docs.aws.amazon.com/
|
4670
|
-
# [2]: https://docs.aws.amazon.com/
|
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
|
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/
|
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
|
4724
|
+
# EBS encryption][1] in the *Amazon EBS User Guide*.
|
4709
4725
|
#
|
4710
4726
|
#
|
4711
4727
|
#
|
4712
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
5989
|
-
# you
|
5990
|
-
#
|
5991
|
-
#
|
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
|
-
#
|
5995
|
-
#
|
5996
|
-
#
|
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
|
-
#
|
6005
|
-
#
|
6006
|
-
#
|
6007
|
-
#
|
6008
|
-
# systems accept multiple domain names separated
|
6009
|
-
# Windows and other Linux operating systems treat
|
6010
|
-
# single domain, which results in unexpected behavior.
|
6011
|
-
#
|
6012
|
-
#
|
6013
|
-
#
|
6014
|
-
#
|
6015
|
-
#
|
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
|
6022
|
-
#
|
6023
|
-
#
|
6024
|
-
#
|
6025
|
-
#
|
6026
|
-
#
|
6027
|
-
#
|
6028
|
-
#
|
6029
|
-
#
|
6030
|
-
#
|
6031
|
-
#
|
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]:
|
6036
|
-
# [2]:
|
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
|
-
#
|
6655
|
+
# the log destination.
|
6636
6656
|
#
|
6637
6657
|
# This parameter is required if the destination type is
|
6638
|
-
# `cloud-watch-logs
|
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
|
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/
|
11501
|
-
# [3]: https://docs.aws.amazon.com/
|
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
|
11544
|
+
# Outpost][1] in the *Amazon EBS User Guide*.
|
11523
11545
|
#
|
11524
11546
|
#
|
11525
11547
|
#
|
11526
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
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/
|
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
|
-
#
|
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
|
14045
|
+
# *Amazon EBS User Guide*.
|
14025
14046
|
#
|
14026
14047
|
#
|
14027
14048
|
#
|
14028
|
-
# [1]: https://docs.aws.amazon.com/
|
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/
|
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
|
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/
|
14051
|
-
# [2]: https://docs.aws.amazon.com/
|
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
|
-
#
|
14164
|
+
# EBS User Guide*.
|
14145
14165
|
#
|
14146
14166
|
# Default: `gp2`
|
14147
14167
|
#
|
14148
14168
|
#
|
14149
14169
|
#
|
14150
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
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/
|
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
|
17417
|
+
# *Amazon EBS User Guide*.
|
17399
17418
|
#
|
17400
17419
|
#
|
17401
17420
|
#
|
17402
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
18602
|
+
# *Amazon EBS User Guide*.
|
18584
18603
|
#
|
18585
18604
|
#
|
18586
18605
|
#
|
18587
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
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
|
#
|
@@ -23268,6 +23305,12 @@ module Aws::EC2
|
|
23268
23305
|
# Describes the specified attribute of the specified AMI. You can
|
23269
23306
|
# specify only one attribute at a time.
|
23270
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
|
+
#
|
23271
23314
|
# @option params [required, String] :attribute
|
23272
23315
|
# The AMI attribute.
|
23273
23316
|
#
|
@@ -23385,6 +23428,12 @@ module Aws::EC2
|
|
23385
23428
|
# image will eventually return an error indicating that the AMI ID
|
23386
23429
|
# cannot be found.
|
23387
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
|
+
#
|
23388
23437
|
# @option params [Array<String>] :executable_users
|
23389
23438
|
# Scopes the images by users with explicit launch permissions. Specify
|
23390
23439
|
# an Amazon Web Services account ID, `self` (the sender of the request),
|
@@ -30277,6 +30326,12 @@ module Aws::EC2
|
|
30277
30326
|
# see [Managing Amazon Web Services Regions][2] in the *Amazon Web
|
30278
30327
|
# Services General Reference*.
|
30279
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
|
+
#
|
30280
30335
|
#
|
30281
30336
|
#
|
30282
30337
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/ec2-service.html
|
@@ -31469,9 +31524,8 @@ module Aws::EC2
|
|
31469
31524
|
req.send_request(options)
|
31470
31525
|
end
|
31471
31526
|
|
31472
|
-
# Describes the VPCs on the other side of a VPC peering connection
|
31473
|
-
#
|
31474
|
-
# 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.
|
31475
31529
|
#
|
31476
31530
|
# @option params [Boolean] :dry_run
|
31477
31531
|
# Checks whether you have the required permissions for the action,
|
@@ -31875,11 +31929,11 @@ module Aws::EC2
|
|
31875
31929
|
# specify only one attribute at a time.
|
31876
31930
|
#
|
31877
31931
|
# For more information about EBS snapshots, see [Amazon EBS
|
31878
|
-
# snapshots][1] in the *Amazon
|
31932
|
+
# snapshots][1] in the *Amazon EBS User Guide*.
|
31879
31933
|
#
|
31880
31934
|
#
|
31881
31935
|
#
|
31882
|
-
# [1]: https://docs.aws.amazon.com/
|
31936
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html
|
31883
31937
|
#
|
31884
31938
|
# @option params [required, String] :attribute
|
31885
31939
|
# The snapshot attribute you would like to view.
|
@@ -32079,12 +32133,12 @@ module Aws::EC2
|
|
32079
32133
|
# DescribeFastSnapshotRestores.
|
32080
32134
|
#
|
32081
32135
|
# For more information about EBS snapshots, see [Amazon EBS
|
32082
|
-
# snapshots][2] in the *Amazon
|
32136
|
+
# snapshots][2] in the *Amazon EBS User Guide*.
|
32083
32137
|
#
|
32084
32138
|
#
|
32085
32139
|
#
|
32086
32140
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
32087
|
-
# [2]: https://docs.aws.amazon.com/
|
32141
|
+
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html
|
32088
32142
|
#
|
32089
32143
|
# @option params [Array<Types::Filter>] :filters
|
32090
32144
|
# The filters.
|
@@ -33389,16 +33443,9 @@ module Aws::EC2
|
|
33389
33443
|
|
33390
33444
|
# Describes the stale security group rules for security groups in a
|
33391
33445
|
# specified VPC. Rules are stale when they reference a deleted security
|
33392
|
-
# group in the same VPC
|
33393
|
-
#
|
33394
|
-
#
|
33395
|
-
# in a peer VPC for which the VPC peering connection has been deleted or
|
33396
|
-
# if they reference a security group in a VPC that has been detached
|
33397
|
-
# from a transit gateway.
|
33398
|
-
#
|
33399
|
-
#
|
33400
|
-
#
|
33401
|
-
# [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.
|
33402
33449
|
#
|
33403
33450
|
# @option params [Boolean] :dry_run
|
33404
33451
|
# Checks whether you have the required permissions for the action,
|
@@ -33829,6 +33876,12 @@ module Aws::EC2
|
|
33829
33876
|
# For more information about tags, see [Tag your Amazon EC2
|
33830
33877
|
# resources][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
33831
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
|
+
#
|
33832
33885
|
#
|
33833
33886
|
#
|
33834
33887
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
|
@@ -35560,11 +35613,11 @@ module Aws::EC2
|
|
35560
35613
|
# specify only one attribute at a time.
|
35561
35614
|
#
|
35562
35615
|
# For more information about EBS volumes, see [Amazon EBS volumes][1] in
|
35563
|
-
# the *Amazon
|
35616
|
+
# the *Amazon EBS User Guide*.
|
35564
35617
|
#
|
35565
35618
|
#
|
35566
35619
|
#
|
35567
|
-
# [1]: https://docs.aws.amazon.com/
|
35620
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes.html
|
35568
35621
|
#
|
35569
35622
|
# @option params [required, String] :attribute
|
35570
35623
|
# The attribute of the volume. This parameter is required.
|
@@ -35647,7 +35700,7 @@ module Aws::EC2
|
|
35647
35700
|
# `insufficient-data`, then the checks might still be taking place on
|
35648
35701
|
# your volume at the time. We recommend that you retry the request. For
|
35649
35702
|
# more information about volume status, see [Monitor the status of your
|
35650
|
-
# volumes][1] in the *Amazon
|
35703
|
+
# volumes][1] in the *Amazon EBS User Guide*.
|
35651
35704
|
#
|
35652
35705
|
# *Events*: Reflect the cause of a volume status and might require you
|
35653
35706
|
# to take action. For example, if your volume returns an `impaired`
|
@@ -35668,9 +35721,15 @@ module Aws::EC2
|
|
35668
35721
|
# volumes in the `error` state (for example, when a volume is incapable
|
35669
35722
|
# of accepting I/O.)
|
35670
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>
|
35671
35729
|
#
|
35672
35730
|
#
|
35673
|
-
#
|
35731
|
+
#
|
35732
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-status.html
|
35674
35733
|
#
|
35675
35734
|
# @option params [Array<Types::Filter>] :filters
|
35676
35735
|
# The filters.
|
@@ -35860,12 +35919,18 @@ module Aws::EC2
|
|
35860
35919
|
# information, see [Pagination][1].
|
35861
35920
|
#
|
35862
35921
|
# For more information about EBS volumes, see [Amazon EBS volumes][2] in
|
35863
|
-
# the *Amazon
|
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>
|
35864
35929
|
#
|
35865
35930
|
#
|
35866
35931
|
#
|
35867
35932
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
35868
|
-
# [2]: https://docs.aws.amazon.com/
|
35933
|
+
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes.html
|
35869
35934
|
#
|
35870
35935
|
# @option params [Array<Types::Filter>] :filters
|
35871
35936
|
# The filters.
|
@@ -36110,12 +36175,12 @@ module Aws::EC2
|
|
36110
36175
|
# modification to an EBS volume. For information about CloudWatch
|
36111
36176
|
# Events, see the [Amazon CloudWatch Events User Guide][1]. For more
|
36112
36177
|
# information, see [Monitor the progress of volume modifications][2] in
|
36113
|
-
# the *Amazon
|
36178
|
+
# the *Amazon EBS User Guide*.
|
36114
36179
|
#
|
36115
36180
|
#
|
36116
36181
|
#
|
36117
36182
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
|
36118
|
-
# [2]: https://docs.aws.amazon.com/
|
36183
|
+
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/monitoring-volume-modifications.html
|
36119
36184
|
#
|
36120
36185
|
# @option params [Boolean] :dry_run
|
36121
36186
|
# Checks whether you have the required permissions for the action,
|
@@ -37836,11 +37901,11 @@ module Aws::EC2
|
|
37836
37901
|
# volume attached to ECS tasks` error message.
|
37837
37902
|
#
|
37838
37903
|
# For more information, see [Detach an Amazon EBS volume][1] in the
|
37839
|
-
# *Amazon
|
37904
|
+
# *Amazon EBS User Guide*.
|
37840
37905
|
#
|
37841
37906
|
#
|
37842
37907
|
#
|
37843
|
-
# [1]: https://docs.aws.amazon.com/
|
37908
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-detaching-volume.html
|
37844
37909
|
#
|
37845
37910
|
# @option params [String] :device
|
37846
37911
|
# The device name.
|
@@ -38073,11 +38138,11 @@ module Aws::EC2
|
|
38073
38138
|
# of your existing volumes.
|
38074
38139
|
#
|
38075
38140
|
# For more information, see [Amazon EBS encryption][1] in the *Amazon
|
38076
|
-
#
|
38141
|
+
# EBS User Guide*.
|
38077
38142
|
#
|
38078
38143
|
#
|
38079
38144
|
#
|
38080
|
-
# [1]: https://docs.aws.amazon.com/
|
38145
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
38081
38146
|
#
|
38082
38147
|
# @option params [Boolean] :dry_run
|
38083
38148
|
# Checks whether you have the required permissions for the action,
|
@@ -38473,13 +38538,13 @@ module Aws::EC2
|
|
38473
38538
|
# publicly accessible again.
|
38474
38539
|
#
|
38475
38540
|
# For more information, see [ Block public access for snapshots][1] in
|
38476
|
-
# the *Amazon
|
38541
|
+
# the *Amazon EBS User Guide* .
|
38477
38542
|
#
|
38478
38543
|
#
|
38479
38544
|
#
|
38480
38545
|
#
|
38481
38546
|
#
|
38482
|
-
# [1]: https://docs.aws.amazon.com/
|
38547
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html
|
38483
38548
|
#
|
38484
38549
|
# @option params [Boolean] :dry_run
|
38485
38550
|
# Checks whether you have the required permissions for the action,
|
@@ -39558,8 +39623,8 @@ module Aws::EC2
|
|
39558
39623
|
# After you enable encryption by default, the EBS volumes that you
|
39559
39624
|
# create are always encrypted, either using the default KMS key or the
|
39560
39625
|
# KMS key that you specified when you created each volume. For more
|
39561
|
-
# information, see [Amazon EBS encryption][1] in the *Amazon
|
39562
|
-
#
|
39626
|
+
# information, see [Amazon EBS encryption][1] in the *Amazon EBS User
|
39627
|
+
# Guide*.
|
39563
39628
|
#
|
39564
39629
|
# You can specify the default KMS key for encryption by default using
|
39565
39630
|
# ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
|
@@ -39573,8 +39638,8 @@ module Aws::EC2
|
|
39573
39638
|
#
|
39574
39639
|
#
|
39575
39640
|
#
|
39576
|
-
# [1]: https://docs.aws.amazon.com/
|
39577
|
-
# [2]: https://docs.aws.amazon.com/
|
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
|
39578
39643
|
#
|
39579
39644
|
# @option params [Boolean] :dry_run
|
39580
39645
|
# Checks whether you have the required permissions for the action,
|
@@ -39708,11 +39773,11 @@ module Aws::EC2
|
|
39708
39773
|
# restores, use DisableFastSnapshotRestores.
|
39709
39774
|
#
|
39710
39775
|
# For more information, see [Amazon EBS fast snapshot restore][1] in the
|
39711
|
-
# *Amazon
|
39776
|
+
# *Amazon EBS User Guide*.
|
39712
39777
|
#
|
39713
39778
|
#
|
39714
39779
|
#
|
39715
|
-
# [1]: https://docs.aws.amazon.com/
|
39780
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-fast-snapshot-restore.html
|
39716
39781
|
#
|
39717
39782
|
# @option params [required, Array<String>] :availability_zones
|
39718
39783
|
# One or more Availability Zones. For example, `us-east-2a`.
|
@@ -40057,11 +40122,11 @@ module Aws::EC2
|
|
40057
40122
|
# become publicly accessible again.
|
40058
40123
|
#
|
40059
40124
|
# For more information, see [ Block public access for snapshots][1] in
|
40060
|
-
# the *Amazon
|
40125
|
+
# the *Amazon EBS User Guide*.
|
40061
40126
|
#
|
40062
40127
|
#
|
40063
40128
|
#
|
40064
|
-
# [1]: https://docs.aws.amazon.com/
|
40129
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html
|
40065
40130
|
#
|
40066
40131
|
# @option params [required, String] :state
|
40067
40132
|
# The mode in which to enable block public access for snapshots for the
|
@@ -41105,11 +41170,11 @@ module Aws::EC2
|
|
41105
41170
|
# ResetEbsDefaultKmsKeyId.
|
41106
41171
|
#
|
41107
41172
|
# For more information, see [Amazon EBS encryption][1] in the *Amazon
|
41108
|
-
#
|
41173
|
+
# EBS User Guide*.
|
41109
41174
|
#
|
41110
41175
|
#
|
41111
41176
|
#
|
41112
|
-
# [1]: https://docs.aws.amazon.com/
|
41177
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
41113
41178
|
#
|
41114
41179
|
# @option params [Boolean] :dry_run
|
41115
41180
|
# Checks whether you have the required permissions for the action,
|
@@ -41144,11 +41209,11 @@ module Aws::EC2
|
|
41144
41209
|
# account in the current Region.
|
41145
41210
|
#
|
41146
41211
|
# For more information, see [Amazon EBS encryption][1] in the *Amazon
|
41147
|
-
#
|
41212
|
+
# EBS User Guide*.
|
41148
41213
|
#
|
41149
41214
|
#
|
41150
41215
|
#
|
41151
|
-
# [1]: https://docs.aws.amazon.com/
|
41216
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
41152
41217
|
#
|
41153
41218
|
# @option params [Boolean] :dry_run
|
41154
41219
|
# Checks whether you have the required permissions for the action,
|
@@ -43309,11 +43374,11 @@ module Aws::EC2
|
|
43309
43374
|
# for the account and Region.
|
43310
43375
|
#
|
43311
43376
|
# For more information, see [ Block public access for snapshots][1] in
|
43312
|
-
# the *Amazon
|
43377
|
+
# the *Amazon EBS User Guide*.
|
43313
43378
|
#
|
43314
43379
|
#
|
43315
43380
|
#
|
43316
|
-
# [1]: https://docs.aws.amazon.com/
|
43381
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html
|
43317
43382
|
#
|
43318
43383
|
# @option params [Boolean] :dry_run
|
43319
43384
|
# Checks whether you have the required permissions for the action,
|
@@ -45865,11 +45930,11 @@ module Aws::EC2
|
|
45865
45930
|
# to launch.
|
45866
45931
|
#
|
45867
45932
|
# For more information, see [Amazon EBS encryption][1] in the *Amazon
|
45868
|
-
#
|
45933
|
+
# EBS User Guide*.
|
45869
45934
|
#
|
45870
45935
|
#
|
45871
45936
|
#
|
45872
|
-
# [1]: https://docs.aws.amazon.com/
|
45937
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
45873
45938
|
#
|
45874
45939
|
# @option params [required, String] :kms_key_id
|
45875
45940
|
# The identifier of the Key Management Service (KMS) KMS key to use for
|
@@ -47221,8 +47286,6 @@ module Aws::EC2
|
|
47221
47286
|
# the instance metadata. For more information, see [Work with instance
|
47222
47287
|
# tags using the instance metadata][1].
|
47223
47288
|
#
|
47224
|
-
# Default: `disabled`
|
47225
|
-
#
|
47226
47289
|
#
|
47227
47290
|
#
|
47228
47291
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
|
@@ -48379,11 +48442,11 @@ module Aws::EC2
|
|
48379
48442
|
# default KMS key cannot be shared with other accounts.
|
48380
48443
|
#
|
48381
48444
|
# For more information about modifying snapshot permissions, see [Share
|
48382
|
-
# a snapshot][1] in the *Amazon
|
48445
|
+
# a snapshot][1] in the *Amazon EBS User Guide*.
|
48383
48446
|
#
|
48384
48447
|
#
|
48385
48448
|
#
|
48386
|
-
# [1]: https://docs.aws.amazon.com/
|
48449
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modifying-snapshot-permissions.html
|
48387
48450
|
#
|
48388
48451
|
# @option params [String] :attribute
|
48389
48452
|
# The snapshot attribute to modify. Only volume creation permissions can
|
@@ -48486,12 +48549,12 @@ module Aws::EC2
|
|
48486
48549
|
# converted to a full snapshot that includes all of the blocks of data
|
48487
48550
|
# that were written to the volume at the time the snapshot was created,
|
48488
48551
|
# and moved from the standard tier to the archive tier. For more
|
48489
|
-
# information, see [Archive Amazon EBS snapshots][1] in the *Amazon
|
48490
|
-
#
|
48552
|
+
# information, see [Archive Amazon EBS snapshots][1] in the *Amazon EBS
|
48553
|
+
# User Guide*.
|
48491
48554
|
#
|
48492
48555
|
#
|
48493
48556
|
#
|
48494
|
-
# [1]: https://docs.aws.amazon.com/
|
48557
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html
|
48495
48558
|
#
|
48496
48559
|
# @option params [required, String] :snapshot_id
|
48497
48560
|
# The ID of the snapshot.
|
@@ -48761,10 +48824,10 @@ module Aws::EC2
|
|
48761
48824
|
# instances created in the specified subnet should be assigned a public
|
48762
48825
|
# IPv4 address.
|
48763
48826
|
#
|
48764
|
-
#
|
48765
|
-
# public IPv4 addresses
|
48766
|
-
#
|
48767
|
-
# the
|
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].
|
48768
48831
|
#
|
48769
48832
|
#
|
48770
48833
|
#
|
@@ -49920,20 +49983,19 @@ module Aws::EC2
|
|
49920
49983
|
# attached to a current-generation EC2 instance type, you might be able
|
49921
49984
|
# to apply these changes without stopping the instance or detaching the
|
49922
49985
|
# volume from it. For more information about modifying EBS volumes, see
|
49923
|
-
# [Amazon EBS Elastic Volumes][1]
|
49924
|
-
# Elastic Volumes][2] (Windows instances).
|
49986
|
+
# [Amazon EBS Elastic Volumes][1] in the *Amazon EBS User Guide*.
|
49925
49987
|
#
|
49926
49988
|
# When you complete a resize operation on your volume, you need to
|
49927
49989
|
# extend the volume's file-system size to take advantage of the new
|
49928
|
-
# storage capacity. For more information, see [Extend
|
49929
|
-
# system][
|
49990
|
+
# storage capacity. For more information, see [Extend the file
|
49991
|
+
# system][2].
|
49930
49992
|
#
|
49931
49993
|
# You can use CloudWatch Events to check the status of a modification to
|
49932
49994
|
# an EBS volume. For information about CloudWatch Events, see the
|
49933
|
-
# [Amazon CloudWatch Events User Guide][
|
49995
|
+
# [Amazon CloudWatch Events User Guide][3]. You can also track the
|
49934
49996
|
# status of a modification using DescribeVolumesModifications. For
|
49935
49997
|
# information about tracking status changes using either method, see
|
49936
|
-
# [Monitor the progress of volume modifications][
|
49998
|
+
# [Monitor the progress of volume modifications][4].
|
49937
49999
|
#
|
49938
50000
|
# With previous-generation instance types, resizing an EBS volume might
|
49939
50001
|
# require detaching and reattaching the volume or stopping and
|
@@ -49946,12 +50008,10 @@ module Aws::EC2
|
|
49946
50008
|
#
|
49947
50009
|
#
|
49948
50010
|
#
|
49949
|
-
# [1]: https://docs.aws.amazon.com/
|
49950
|
-
# [2]: https://docs.aws.amazon.com/
|
49951
|
-
# [3]: https://docs.aws.amazon.com/
|
49952
|
-
# [4]: https://docs.aws.amazon.com/
|
49953
|
-
# [5]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
|
49954
|
-
# [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
|
49955
50015
|
#
|
49956
50016
|
# @option params [Boolean] :dry_run
|
49957
50017
|
# Checks whether you have the required permissions for the action,
|
@@ -49982,14 +50042,13 @@ module Aws::EC2
|
|
49982
50042
|
#
|
49983
50043
|
# @option params [String] :volume_type
|
49984
50044
|
# The target EBS volume type of the volume. For more information, see
|
49985
|
-
# [Amazon EBS volume types][1] in the *Amazon
|
49986
|
-
# Guide*.
|
50045
|
+
# [Amazon EBS volume types][1] in the *Amazon EBS User Guide*.
|
49987
50046
|
#
|
49988
50047
|
# Default: The existing type is retained.
|
49989
50048
|
#
|
49990
50049
|
#
|
49991
50050
|
#
|
49992
|
-
# [1]: https://docs.aws.amazon.com/
|
50051
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
|
49993
50052
|
#
|
49994
50053
|
# @option params [Integer] :iops
|
49995
50054
|
# The target IOPS rate of the volume. This parameter is valid only for
|
@@ -50029,13 +50088,12 @@ module Aws::EC2
|
|
50029
50088
|
# Multi-Attach, you can attach the volume to up to 16 [ Nitro-based
|
50030
50089
|
# instances][1] in the same Availability Zone. This parameter is
|
50031
50090
|
# supported with `io1` and `io2` volumes only. For more information, see
|
50032
|
-
# [ Amazon EBS Multi-Attach][2] in the *Amazon
|
50033
|
-
# User Guide*.
|
50091
|
+
# [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User Guide*.
|
50034
50092
|
#
|
50035
50093
|
#
|
50036
50094
|
#
|
50037
50095
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
50038
|
-
# [2]: https://docs.aws.amazon.com/
|
50096
|
+
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
|
50039
50097
|
#
|
50040
50098
|
# @return [Types::ModifyVolumeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
50041
50099
|
#
|
@@ -51459,9 +51517,10 @@ module Aws::EC2
|
|
51459
51517
|
# @option params [required, String] :cidr
|
51460
51518
|
# The public IPv4 or IPv6 address range, in CIDR notation. The most
|
51461
51519
|
# specific IPv4 prefix that you can specify is /24. The most specific
|
51462
|
-
# IPv6
|
51463
|
-
#
|
51464
|
-
#
|
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.
|
51465
51524
|
#
|
51466
51525
|
# @option params [Types::CidrAuthorizationContext] :cidr_authorization_context
|
51467
51526
|
# A signed document that proves that you are authorized to bring the
|
@@ -52155,8 +52214,8 @@ module Aws::EC2
|
|
52155
52214
|
req.send_request(options)
|
52156
52215
|
end
|
52157
52216
|
|
52158
|
-
# Registers an AMI. When you're creating an AMI,
|
52159
|
-
#
|
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
|
52160
52219
|
# more information about creating AMIs, see [Create your own AMI][1] in
|
52161
52220
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
52162
52221
|
#
|
@@ -52246,11 +52305,11 @@ module Aws::EC2
|
|
52246
52305
|
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
52247
52306
|
# Outpost that include local snapshots can be used to launch instances
|
52248
52307
|
# on the same Outpost only. For more information, [Amazon EBS local
|
52249
|
-
# snapshots on Outposts][1] in the *Amazon
|
52308
|
+
# snapshots on Outposts][1] in the *Amazon EBS User Guide*.
|
52250
52309
|
#
|
52251
52310
|
#
|
52252
52311
|
#
|
52253
|
-
# [1]: https://docs.aws.amazon.com/
|
52312
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami
|
52254
52313
|
#
|
52255
52314
|
# @option params [String] :description
|
52256
52315
|
# A description for your AMI.
|
@@ -52369,6 +52428,18 @@ module Aws::EC2
|
|
52369
52428
|
#
|
52370
52429
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
|
52371
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
|
+
#
|
52372
52443
|
# @return [Types::RegisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
52373
52444
|
#
|
52374
52445
|
# * {Types::RegisterImageResult#image_id #image_id} => String
|
@@ -52410,6 +52481,17 @@ module Aws::EC2
|
|
52410
52481
|
# tpm_support: "v2.0", # accepts v2.0
|
52411
52482
|
# uefi_data: "StringType",
|
52412
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
|
+
# ],
|
52413
52495
|
# })
|
52414
52496
|
#
|
52415
52497
|
# @example Response structure
|
@@ -54564,12 +54646,11 @@ module Aws::EC2
|
|
54564
54646
|
# After resetting the default KMS key to the Amazon Web Services managed
|
54565
54647
|
# KMS key, you can continue to encrypt by a customer managed KMS key by
|
54566
54648
|
# specifying it when you create the volume. For more information, see
|
54567
|
-
# [Amazon EBS encryption][1] in the *Amazon
|
54568
|
-
# Guide*.
|
54649
|
+
# [Amazon EBS encryption][1] in the *Amazon EBS User Guide*.
|
54569
54650
|
#
|
54570
54651
|
#
|
54571
54652
|
#
|
54572
|
-
# [1]: https://docs.aws.amazon.com/
|
54653
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
54573
54654
|
#
|
54574
54655
|
# @option params [Boolean] :dry_run
|
54575
54656
|
# Checks whether you have the required permissions for the action,
|
@@ -54789,11 +54870,11 @@ module Aws::EC2
|
|
54789
54870
|
# Resets permission settings for the specified snapshot.
|
54790
54871
|
#
|
54791
54872
|
# For more information about modifying snapshot permissions, see [Share
|
54792
|
-
# a snapshot][1] in the *Amazon
|
54873
|
+
# a snapshot][1] in the *Amazon EBS User Guide*.
|
54793
54874
|
#
|
54794
54875
|
#
|
54795
54876
|
#
|
54796
|
-
# [1]: https://docs.aws.amazon.com/
|
54877
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-modifying-snapshot-permissions.html
|
54797
54878
|
#
|
54798
54879
|
# @option params [required, String] :attribute
|
54799
54880
|
# The attribute to reset. Currently, only the attribute for permission
|
@@ -54983,12 +55064,12 @@ module Aws::EC2
|
|
54983
55064
|
end
|
54984
55065
|
|
54985
55066
|
# Restores a snapshot from the Recycle Bin. For more information, see
|
54986
|
-
# [Restore snapshots from the Recycle Bin][1] in the *Amazon
|
54987
|
-
#
|
55067
|
+
# [Restore snapshots from the Recycle Bin][1] in the *Amazon EBS User
|
55068
|
+
# Guide*.
|
54988
55069
|
#
|
54989
55070
|
#
|
54990
55071
|
#
|
54991
|
-
# [1]: https://docs.aws.amazon.com/
|
55072
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin-working-with-snaps.html#recycle-bin-restore-snaps
|
54992
55073
|
#
|
54993
55074
|
# @option params [required, String] :snapshot_id
|
54994
55075
|
# The ID of the snapshot to restore.
|
@@ -55049,12 +55130,12 @@ module Aws::EC2
|
|
55049
55130
|
#
|
55050
55131
|
# For more information see [ Restore an archived snapshot][1] and [
|
55051
55132
|
# modify the restore period or restore type for a temporarily restored
|
55052
|
-
# snapshot][2] in the *Amazon
|
55133
|
+
# snapshot][2] in the *Amazon EBS User Guide*.
|
55053
55134
|
#
|
55054
55135
|
#
|
55055
55136
|
#
|
55056
|
-
# [1]: https://docs.aws.amazon.com/
|
55057
|
-
# [2]: https://docs.aws.amazon.com/
|
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
|
55058
55139
|
#
|
55059
55140
|
# @option params [required, String] :snapshot_id
|
55060
55141
|
# The ID of the snapshot to restore.
|
@@ -55341,8 +55422,7 @@ module Aws::EC2
|
|
55341
55422
|
#
|
55342
55423
|
# @option params [Integer] :from_port
|
55343
55424
|
# If the protocol is TCP or UDP, this is the start of the port range. If
|
55344
|
-
# the protocol is ICMP, this is the type
|
55345
|
-
# all ICMP types.
|
55425
|
+
# the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
|
55346
55426
|
#
|
55347
55427
|
# @option params [String] :group_id
|
55348
55428
|
# The ID of the security group.
|
@@ -55378,8 +55458,7 @@ module Aws::EC2
|
|
55378
55458
|
#
|
55379
55459
|
# @option params [Integer] :to_port
|
55380
55460
|
# If the protocol is TCP or UDP, this is the end of the port range. If
|
55381
|
-
# the protocol is ICMP, this is the code
|
55382
|
-
# ICMP codes.
|
55461
|
+
# the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).
|
55383
55462
|
#
|
55384
55463
|
# @option params [Boolean] :dry_run
|
55385
55464
|
# Checks whether you have the required permissions for the action,
|
@@ -58826,7 +58905,7 @@ module Aws::EC2
|
|
58826
58905
|
params: params,
|
58827
58906
|
config: config)
|
58828
58907
|
context[:gem_name] = 'aws-sdk-ec2'
|
58829
|
-
context[:gem_version] = '1.
|
58908
|
+
context[:gem_version] = '1.442.0'
|
58830
58909
|
Seahorse::Client::Request.new(handlers, context)
|
58831
58910
|
end
|
58832
58911
|
|