aws-sdk-ec2 1.504.0 → 1.505.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +92 -58
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/instance.rb +5 -4
- data/lib/aws-sdk-ec2/network_interface.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +13 -13
- data/lib/aws-sdk-ec2/security_group.rb +16 -0
- data/lib/aws-sdk-ec2/snapshot.rb +10 -0
- data/lib/aws-sdk-ec2/subnet.rb +13 -13
- data/lib/aws-sdk-ec2/types.rb +146 -70
- data/lib/aws-sdk-ec2/vpc.rb +7 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/snapshot.rbs +3 -0
- data/sig/types.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 453d62a3ea6d46b80221c33f5a6e4586ed9654628b389eea17710076a035e211
|
4
|
+
data.tar.gz: a4ff96d5997b3cb1c7c53332f113f39e3414dd0e1484743a12afbf99a3356ce1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13b9918b382e3229402a3367f0c6dfd2bb188dc1eb02c69716d531f74218914994255e7578ea98e0a0389409e669ffc9ea9b5c9d92d9ee760b2f106e05414fd2
|
7
|
+
data.tar.gz: 28807352663412273c119ef1a3cf1f4fe53fd8464dc497617d80a65d333272f203697324dbbe71243e474f1fa4d3967382885c8b2ee3ccfa23adea13c7441c76
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.505.0 (2025-02-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding support for the new fullSnapshotSizeInBytes field in the response of the EC2 EBS DescribeSnapshots API. This field represents the size of all the blocks that were written to the source volume at the time the snapshot was created.
|
8
|
+
|
4
9
|
1.504.0 (2025-02-06)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.505.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -1449,12 +1449,12 @@ module Aws::EC2
|
|
1449
1449
|
req.send_request(options)
|
1450
1450
|
end
|
1451
1451
|
|
1452
|
-
# Assigns
|
1453
|
-
# You can specify
|
1454
|
-
#
|
1455
|
-
#
|
1456
|
-
#
|
1457
|
-
#
|
1452
|
+
# Assigns the specified IPv6 addresses to the specified network
|
1453
|
+
# interface. You can specify specific IPv6 addresses, or you can specify
|
1454
|
+
# the number of IPv6 addresses to be automatically assigned from the
|
1455
|
+
# subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses
|
1456
|
+
# to a network interface as you can assign private IPv4 addresses, and
|
1457
|
+
# the limit varies by instance type.
|
1458
1458
|
#
|
1459
1459
|
# You must specify either the IPv6 addresses or the IPv6 address count
|
1460
1460
|
# in the request.
|
@@ -1475,7 +1475,7 @@ module Aws::EC2
|
|
1475
1475
|
#
|
1476
1476
|
# @option params [Array<String>] :ipv_6_prefixes
|
1477
1477
|
# One or more IPv6 prefixes assigned to the network interface. You
|
1478
|
-
#
|
1478
|
+
# can't use this option if you use the `Ipv6PrefixCount` option.
|
1479
1479
|
#
|
1480
1480
|
# @option params [required, String] :network_interface_id
|
1481
1481
|
# The ID of the network interface.
|
@@ -1525,15 +1525,15 @@ module Aws::EC2
|
|
1525
1525
|
req.send_request(options)
|
1526
1526
|
end
|
1527
1527
|
|
1528
|
-
# Assigns
|
1528
|
+
# Assigns the specified secondary private IP addresses to the specified
|
1529
1529
|
# network interface.
|
1530
1530
|
#
|
1531
|
-
# You can specify
|
1532
|
-
#
|
1533
|
-
#
|
1534
|
-
#
|
1535
|
-
#
|
1536
|
-
#
|
1531
|
+
# You can specify specific secondary IP addresses, or you can specify
|
1532
|
+
# the number of secondary IP addresses to be automatically assigned from
|
1533
|
+
# the subnet's CIDR block range. The number of secondary IP addresses
|
1534
|
+
# that you can assign to an instance varies by instance type. For more
|
1535
|
+
# information about Elastic IP addresses, see [Elastic IP Addresses][1]
|
1536
|
+
# in the *Amazon EC2 User Guide*.
|
1537
1537
|
#
|
1538
1538
|
# When you move a secondary private IP address to another network
|
1539
1539
|
# interface, any Elastic IP address that is associated with the IP
|
@@ -1559,11 +1559,11 @@ module Aws::EC2
|
|
1559
1559
|
#
|
1560
1560
|
# @option params [Array<String>] :ipv_4_prefixes
|
1561
1561
|
# One or more IPv4 prefixes assigned to the network interface. You
|
1562
|
-
#
|
1562
|
+
# can't use this option if you use the `Ipv4PrefixCount` option.
|
1563
1563
|
#
|
1564
1564
|
# @option params [Integer] :ipv_4_prefix_count
|
1565
1565
|
# The number of IPv4 prefixes that Amazon Web Services automatically
|
1566
|
-
# assigns to the network interface. You
|
1566
|
+
# assigns to the network interface. You can't use this option if you
|
1567
1567
|
# use the `Ipv4 Prefixes` option.
|
1568
1568
|
#
|
1569
1569
|
# @option params [required, String] :network_interface_id
|
@@ -3722,11 +3722,27 @@ module Aws::EC2
|
|
3722
3722
|
# @option params [String] :cidr_ip
|
3723
3723
|
# The IPv4 address range, in CIDR format.
|
3724
3724
|
#
|
3725
|
+
# <note markdown="1"> Amazon Web Services [canonicalizes][1] IPv4 and IPv6 CIDRs. For
|
3726
|
+
# example, if you specify 100.68.0.18/18 for the CIDR block, Amazon Web
|
3727
|
+
# Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent
|
3728
|
+
# DescribeSecurityGroups and DescribeSecurityGroupRules calls will
|
3729
|
+
# return the canonicalized form of the CIDR block. Additionally, if you
|
3730
|
+
# attempt to add another rule with the non-canonical form of the CIDR
|
3731
|
+
# (such as 100.68.0.18/18) and there is already a rule for the
|
3732
|
+
# canonicalized form of the CIDR block (such as 100.68.0.0/18), the API
|
3733
|
+
# throws an duplicate rule error.
|
3734
|
+
#
|
3735
|
+
# </note>
|
3736
|
+
#
|
3725
3737
|
# To specify an IPv6 address range, use IP permissions instead.
|
3726
3738
|
#
|
3727
3739
|
# To specify multiple rules and descriptions for the rules, use IP
|
3728
3740
|
# permissions instead.
|
3729
3741
|
#
|
3742
|
+
#
|
3743
|
+
#
|
3744
|
+
# [1]: https://en.wikipedia.org/wiki/Canonicalization
|
3745
|
+
#
|
3730
3746
|
# @option params [Integer] :from_port
|
3731
3747
|
# If the protocol is TCP or UDP, this is the start of the port range. If
|
3732
3748
|
# the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
|
@@ -4969,7 +4985,7 @@ module Aws::EC2
|
|
4969
4985
|
# Snapshots copied to an Outpost are encrypted by default using the
|
4970
4986
|
# default encryption key for the Region, or a different key that you
|
4971
4987
|
# specify in the request using **KmsKeyId**. Outposts do not support
|
4972
|
-
# unencrypted snapshots. For more information, [
|
4988
|
+
# unencrypted snapshots. For more information, see [Amazon EBS local
|
4973
4989
|
# snapshots on Outposts][1] in the *Amazon EBS User Guide*.
|
4974
4990
|
#
|
4975
4991
|
# Snapshots created by copying another snapshot have an arbitrary volume
|
@@ -5261,7 +5277,7 @@ module Aws::EC2
|
|
5261
5277
|
# The number of instances for which to reserve capacity.
|
5262
5278
|
#
|
5263
5279
|
# <note markdown="1"> You can request future-dated Capacity Reservations for an instance
|
5264
|
-
# count with a minimum of 100
|
5280
|
+
# count with a minimum of 100 vCPUs. For example, if you request a
|
5265
5281
|
# future-dated Capacity Reservation for `m5.xlarge` instances, you must
|
5266
5282
|
# request at least 25 instances (*25 * m5.xlarge = 100 vCPUs*).
|
5267
5283
|
#
|
@@ -9999,9 +10015,8 @@ module Aws::EC2
|
|
9999
10015
|
req.send_request(options)
|
10000
10016
|
end
|
10001
10017
|
|
10002
|
-
# Creates a managed prefix list. You can specify
|
10003
|
-
#
|
10004
|
-
# description.
|
10018
|
+
# Creates a managed prefix list. You can specify entries for the prefix
|
10019
|
+
# list. Each entry consists of a CIDR block and an optional description.
|
10005
10020
|
#
|
10006
10021
|
# @option params [Boolean] :dry_run
|
10007
10022
|
# Checks whether you have the required permissions for the action,
|
@@ -11059,7 +11074,7 @@ module Aws::EC2
|
|
11059
11074
|
# primary (only one IP address can be designated as primary).
|
11060
11075
|
#
|
11061
11076
|
# @option params [Array<String>] :groups
|
11062
|
-
# The IDs of
|
11077
|
+
# The IDs of the security groups.
|
11063
11078
|
#
|
11064
11079
|
# @option params [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
|
11065
11080
|
# The private IPv4 addresses.
|
@@ -12221,7 +12236,7 @@ module Aws::EC2
|
|
12221
12236
|
# the same Region as the volume.
|
12222
12237
|
#
|
12223
12238
|
# * If the source volume is in a Local Zone, you can create the snapshot
|
12224
|
-
# in the same Local Zone or in parent Amazon Web Services Region.
|
12239
|
+
# in the same Local Zone or in its parent Amazon Web Services Region.
|
12225
12240
|
#
|
12226
12241
|
# * If the source volume is on an Outpost, you can create the snapshot
|
12227
12242
|
# on the same Outpost or in its parent Amazon Web Services Region.
|
@@ -12249,8 +12264,8 @@ module Aws::EC2
|
|
12249
12264
|
# Snapshots that are taken from encrypted volumes are automatically
|
12250
12265
|
# encrypted. Volumes that are created from encrypted snapshots are also
|
12251
12266
|
# automatically encrypted. Your encrypted volumes and any associated
|
12252
|
-
# snapshots always remain protected. For more information, [Amazon
|
12253
|
-
# encryption][1] in the *Amazon EBS User Guide*.
|
12267
|
+
# snapshots always remain protected. For more information, see [Amazon
|
12268
|
+
# EBS encryption][1] in the *Amazon EBS User Guide*.
|
12254
12269
|
#
|
12255
12270
|
#
|
12256
12271
|
#
|
@@ -12317,6 +12332,7 @@ module Aws::EC2
|
|
12317
12332
|
# * {Types::Snapshot#transfer_type #transfer_type} => String
|
12318
12333
|
# * {Types::Snapshot#completion_duration_minutes #completion_duration_minutes} => Integer
|
12319
12334
|
# * {Types::Snapshot#completion_time #completion_time} => Time
|
12335
|
+
# * {Types::Snapshot#full_snapshot_size_in_bytes #full_snapshot_size_in_bytes} => Integer
|
12320
12336
|
# * {Types::Snapshot#snapshot_id #snapshot_id} => String
|
12321
12337
|
# * {Types::Snapshot#volume_id #volume_id} => String
|
12322
12338
|
# * {Types::Snapshot#state #state} => String
|
@@ -12389,6 +12405,7 @@ module Aws::EC2
|
|
12389
12405
|
# resp.transfer_type #=> String, one of "time-based", "standard"
|
12390
12406
|
# resp.completion_duration_minutes #=> Integer
|
12391
12407
|
# resp.completion_time #=> Time
|
12408
|
+
# resp.full_snapshot_size_in_bytes #=> Integer
|
12392
12409
|
# resp.snapshot_id #=> String
|
12393
12410
|
# resp.volume_id #=> String
|
12394
12411
|
# resp.state #=> String, one of "pending", "completed", "error", "recoverable", "recovering"
|
@@ -12426,8 +12443,8 @@ module Aws::EC2
|
|
12426
12443
|
# in the same Region as the instance.
|
12427
12444
|
#
|
12428
12445
|
# * If the source instance is in a Local Zone, you can create the
|
12429
|
-
# snapshots in the same Local Zone or in parent Amazon Web
|
12430
|
-
# Region.
|
12446
|
+
# snapshots in the same Local Zone or in its parent Amazon Web
|
12447
|
+
# Services Region.
|
12431
12448
|
#
|
12432
12449
|
# * If the source instance is on an Outpost, you can create the
|
12433
12450
|
# snapshots on the same Outpost or in its parent Amazon Web Services
|
@@ -18526,7 +18543,7 @@ module Aws::EC2
|
|
18526
18543
|
# the volume.
|
18527
18544
|
#
|
18528
18545
|
# You cannot delete a snapshot of the root device of an EBS volume used
|
18529
|
-
# by a registered AMI. You must first
|
18546
|
+
# by a registered AMI. You must first deregister the AMI before you can
|
18530
18547
|
# delete the snapshot.
|
18531
18548
|
#
|
18532
18549
|
# For more information, see [Delete an Amazon EBS snapshot][1] in the
|
@@ -21074,10 +21091,9 @@ module Aws::EC2
|
|
21074
21091
|
# @option params [Array<Types::Filter>] :filters
|
21075
21092
|
# The filters.
|
21076
21093
|
#
|
21077
|
-
# * `group-name` -
|
21078
|
-
#
|
21079
|
-
#
|
21080
|
-
# name of the group associated with the Wavelength Zone (for example,
|
21094
|
+
# * `group-name` - The name of the zone group for the Availability Zone
|
21095
|
+
# (for example, `us-east-1-zg-1`), the Local Zone (for example,
|
21096
|
+
# `us-west-2-lax-1`), or the Wavelength Zone (for example,
|
21081
21097
|
# `us-east-1-wl1`).
|
21082
21098
|
#
|
21083
21099
|
# * `message` - The Zone message.
|
@@ -25501,11 +25517,7 @@ module Aws::EC2
|
|
25501
25517
|
end
|
25502
25518
|
|
25503
25519
|
# Describes the specified attribute of the specified instance. You can
|
25504
|
-
# specify only one attribute at a time.
|
25505
|
-
# `instanceType` \| `kernel` \| `ramdisk` \| `userData` \|
|
25506
|
-
# `disableApiTermination` \| `instanceInitiatedShutdownBehavior` \|
|
25507
|
-
# `rootDeviceName` \| `blockDeviceMapping` \| `productCodes` \|
|
25508
|
-
# `sourceDestCheck` \| `groupSet` \| `ebsOptimized` \| `sriovNetSupport`
|
25520
|
+
# specify only one attribute at a time.
|
25509
25521
|
#
|
25510
25522
|
# @option params [Boolean] :dry_run
|
25511
25523
|
# Checks whether you have the required permissions for the operation,
|
@@ -25519,7 +25531,7 @@ module Aws::EC2
|
|
25519
25531
|
# @option params [required, String] :attribute
|
25520
25532
|
# The instance attribute.
|
25521
25533
|
#
|
25522
|
-
# Note
|
25534
|
+
# Note that the `enaSupport` attribute is not supported.
|
25523
25535
|
#
|
25524
25536
|
# @return [Types::InstanceAttribute] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
25525
25537
|
#
|
@@ -31695,7 +31707,8 @@ module Aws::EC2
|
|
31695
31707
|
req.send_request(options)
|
31696
31708
|
end
|
31697
31709
|
|
31698
|
-
# Describes
|
31710
|
+
# Describes the specified network interfaces or all your network
|
31711
|
+
# interfaces.
|
31699
31712
|
#
|
31700
31713
|
# If you have a large number of network interfaces, the operation fails
|
31701
31714
|
# unless you use pagination or one of the following filters: `group-id`,
|
@@ -31806,6 +31819,13 @@ module Aws::EC2
|
|
31806
31819
|
#
|
31807
31820
|
# * `network-interface-id` - The ID of the network interface.
|
31808
31821
|
#
|
31822
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
31823
|
+
# managed network interface.
|
31824
|
+
#
|
31825
|
+
# * `operator.principal` - The principal that manages the network
|
31826
|
+
# interface. Only valid for managed network interfaces, where
|
31827
|
+
# `managed` is `true`.
|
31828
|
+
#
|
31809
31829
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
31810
31830
|
# interface owner.
|
31811
31831
|
#
|
@@ -34449,6 +34469,7 @@ module Aws::EC2
|
|
34449
34469
|
# resp.snapshots[0].transfer_type #=> String, one of "time-based", "standard"
|
34450
34470
|
# resp.snapshots[0].completion_duration_minutes #=> Integer
|
34451
34471
|
# resp.snapshots[0].completion_time #=> Time
|
34472
|
+
# resp.snapshots[0].full_snapshot_size_in_bytes #=> Integer
|
34452
34473
|
# resp.snapshots[0].snapshot_id #=> String
|
34453
34474
|
# resp.snapshots[0].volume_id #=> String
|
34454
34475
|
# resp.snapshots[0].state #=> String, one of "pending", "completed", "error", "recoverable", "recovering"
|
@@ -39543,7 +39564,8 @@ module Aws::EC2
|
|
39543
39564
|
# `deleted` \| `rejected` \| `failed`).
|
39544
39565
|
#
|
39545
39566
|
# * `vpc-endpoint-type` - The type of VPC endpoint (`Interface` \|
|
39546
|
-
# `Gateway` \| `GatewayLoadBalancer`
|
39567
|
+
# `Gateway` \| `GatewayLoadBalancer` \| `Resource` \|
|
39568
|
+
# `ServiceNetwork`).
|
39547
39569
|
#
|
39548
39570
|
# @option params [Integer] :max_results
|
39549
39571
|
# The maximum number of items to return for this request. The request
|
@@ -50021,9 +50043,10 @@ module Aws::EC2
|
|
50021
50043
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM
|
50022
50044
|
#
|
50023
50045
|
# @option params [Types::AttributeBooleanValue] :disable_api_termination
|
50024
|
-
#
|
50025
|
-
#
|
50026
|
-
#
|
50046
|
+
# Enable or disable termination protection for the instance. If the
|
50047
|
+
# value is `true`, you can't terminate the instance using the Amazon
|
50048
|
+
# EC2 console, command line interface, or API. You can't enable
|
50049
|
+
# termination protection for Spot Instances.
|
50027
50050
|
#
|
50028
50051
|
# @option params [Types::AttributeValue] :instance_type
|
50029
50052
|
# Changes the instance type to the specified value. For more
|
@@ -51290,9 +51313,18 @@ module Aws::EC2
|
|
51290
51313
|
# number of exclusions you can create. For more information, see [Quotas
|
51291
51314
|
# for your IPAM][1] in the *Amazon VPC IPAM User Guide*.
|
51292
51315
|
#
|
51316
|
+
# <note markdown="1"> The resulting set of exclusions must not result in "overlap",
|
51317
|
+
# meaning two or more OU exclusions must not exclude the same OU. For
|
51318
|
+
# more information and examples, see the Amazon Web Services CLI request
|
51319
|
+
# process in [Add or remove OU exclusions ][2] in the *Amazon VPC User
|
51320
|
+
# Guide*.
|
51321
|
+
#
|
51322
|
+
# </note>
|
51323
|
+
#
|
51293
51324
|
#
|
51294
51325
|
#
|
51295
51326
|
# [1]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html
|
51327
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete
|
51296
51328
|
#
|
51297
51329
|
# @option params [Array<Types::RemoveIpamOrganizationalUnitExclusion>] :remove_organizational_unit_exclusions
|
51298
51330
|
# Remove an Organizational Unit (OU) exclusion to your IPAM. If your
|
@@ -51302,9 +51334,18 @@ module Aws::EC2
|
|
51302
51334
|
# number of exclusions you can create. For more information, see [Quotas
|
51303
51335
|
# for your IPAM][1] in the *Amazon VPC IPAM User Guide*.
|
51304
51336
|
#
|
51337
|
+
# <note markdown="1"> The resulting set of exclusions must not result in "overlap",
|
51338
|
+
# meaning two or more OU exclusions must not exclude the same OU. For
|
51339
|
+
# more information and examples, see the Amazon Web Services CLI request
|
51340
|
+
# process in [Add or remove OU exclusions ][2] in the *Amazon VPC User
|
51341
|
+
# Guide*.
|
51342
|
+
#
|
51343
|
+
# </note>
|
51344
|
+
#
|
51305
51345
|
#
|
51306
51346
|
#
|
51307
51347
|
# [1]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html
|
51348
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete
|
51308
51349
|
#
|
51309
51350
|
# @return [Types::ModifyIpamResourceDiscoveryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
51310
51351
|
#
|
@@ -60087,18 +60128,11 @@ module Aws::EC2
|
|
60087
60128
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
60088
60129
|
#
|
60089
60130
|
# @option params [Boolean] :disable_api_termination
|
60090
|
-
#
|
60091
|
-
#
|
60092
|
-
#
|
60093
|
-
#
|
60094
|
-
#
|
60095
|
-
# command from the instance.
|
60096
|
-
#
|
60097
|
-
# Default: `false`
|
60098
|
-
#
|
60099
|
-
#
|
60100
|
-
#
|
60101
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
60131
|
+
# Indicates whether termination protection is enabled for the instance.
|
60132
|
+
# The default is `false`, which means that you can terminate the
|
60133
|
+
# instance using the Amazon EC2 console, command line tools, or API. You
|
60134
|
+
# can enable termination protection when you launch an instance, while
|
60135
|
+
# the instance is running, or while the instance is stopped.
|
60102
60136
|
#
|
60103
60137
|
# @option params [String] :instance_initiated_shutdown_behavior
|
60104
60138
|
# Indicates whether an instance stops or terminates when you initiate
|
@@ -62617,7 +62651,7 @@ module Aws::EC2
|
|
62617
62651
|
req.send_request(options)
|
62618
62652
|
end
|
62619
62653
|
|
62620
|
-
# Unassigns
|
62654
|
+
# Unassigns the specified IPv6 addresses or Prefix Delegation prefixes
|
62621
62655
|
# from a network interface.
|
62622
62656
|
#
|
62623
62657
|
# @option params [Array<String>] :ipv_6_prefixes
|
@@ -62660,7 +62694,7 @@ module Aws::EC2
|
|
62660
62694
|
req.send_request(options)
|
62661
62695
|
end
|
62662
62696
|
|
62663
|
-
# Unassigns
|
62697
|
+
# Unassigns the specified secondary private IP addresses or IPv4 Prefix
|
62664
62698
|
# Delegation prefixes from a network interface.
|
62665
62699
|
#
|
62666
62700
|
# @option params [Array<String>] :ipv_4_prefixes
|
@@ -63178,7 +63212,7 @@ module Aws::EC2
|
|
63178
63212
|
tracer: tracer
|
63179
63213
|
)
|
63180
63214
|
context[:gem_name] = 'aws-sdk-ec2'
|
63181
|
-
context[:gem_version] = '1.
|
63215
|
+
context[:gem_version] = '1.505.0'
|
63182
63216
|
Seahorse::Client::Request.new(handlers, context)
|
63183
63217
|
end
|
63184
63218
|
|
@@ -14979,6 +14979,7 @@ module Aws::EC2
|
|
14979
14979
|
Snapshot.add_member(:transfer_type, Shapes::ShapeRef.new(shape: TransferType, location_name: "transferType"))
|
14980
14980
|
Snapshot.add_member(:completion_duration_minutes, Shapes::ShapeRef.new(shape: SnapshotCompletionDurationMinutesResponse, location_name: "completionDurationMinutes"))
|
14981
14981
|
Snapshot.add_member(:completion_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "completionTime"))
|
14982
|
+
Snapshot.add_member(:full_snapshot_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "fullSnapshotSizeInBytes"))
|
14982
14983
|
Snapshot.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
14983
14984
|
Snapshot.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
|
14984
14985
|
Snapshot.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotState, location_name: "status"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -979,7 +979,7 @@ module Aws::EC2
|
|
979
979
|
# @option options [required, String] :attribute
|
980
980
|
# The instance attribute.
|
981
981
|
#
|
982
|
-
# Note
|
982
|
+
# Note that the `enaSupport` attribute is not supported.
|
983
983
|
# @return [Types::InstanceAttribute]
|
984
984
|
def describe_attribute(options = {})
|
985
985
|
options = options.merge(instance_id: @id)
|
@@ -1142,9 +1142,10 @@ module Aws::EC2
|
|
1142
1142
|
#
|
1143
1143
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM
|
1144
1144
|
# @option options [Types::AttributeBooleanValue] :disable_api_termination
|
1145
|
-
#
|
1146
|
-
#
|
1147
|
-
#
|
1145
|
+
# Enable or disable termination protection for the instance. If the
|
1146
|
+
# value is `true`, you can't terminate the instance using the Amazon
|
1147
|
+
# EC2 console, command line interface, or API. You can't enable
|
1148
|
+
# termination protection for Spot Instances.
|
1148
1149
|
# @option options [Types::AttributeValue] :instance_type
|
1149
1150
|
# Changes the instance type to the specified value. For more
|
1150
1151
|
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
@@ -357,10 +357,10 @@ module Aws::EC2
|
|
357
357
|
# @param [Hash] options ({})
|
358
358
|
# @option options [Array<String>] :ipv_4_prefixes
|
359
359
|
# One or more IPv4 prefixes assigned to the network interface. You
|
360
|
-
#
|
360
|
+
# can't use this option if you use the `Ipv4PrefixCount` option.
|
361
361
|
# @option options [Integer] :ipv_4_prefix_count
|
362
362
|
# The number of IPv4 prefixes that Amazon Web Services automatically
|
363
|
-
# assigns to the network interface. You
|
363
|
+
# assigns to the network interface. You can't use this option if you
|
364
364
|
# use the `Ipv4 Prefixes` option.
|
365
365
|
# @option options [Array<String>] :private_ip_addresses
|
366
366
|
# The IP addresses to be assigned as a secondary private IP address to
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -561,18 +561,11 @@ module Aws::EC2
|
|
561
561
|
# If you have the required permissions, the error response is
|
562
562
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
563
563
|
# @option options [Boolean] :disable_api_termination
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
#
|
569
|
-
# command from the instance.
|
570
|
-
#
|
571
|
-
# Default: `false`
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
564
|
+
# Indicates whether termination protection is enabled for the instance.
|
565
|
+
# The default is `false`, which means that you can terminate the
|
566
|
+
# instance using the Amazon EC2 console, command line tools, or API. You
|
567
|
+
# can enable termination protection when you launch an instance, while
|
568
|
+
# the instance is running, or while the instance is stopped.
|
576
569
|
# @option options [String] :instance_initiated_shutdown_behavior
|
577
570
|
# Indicates whether an instance stops or terminates when you initiate
|
578
571
|
# shutdown from the instance (using the operating system command for
|
@@ -998,7 +991,7 @@ module Aws::EC2
|
|
998
991
|
# cannot indicate any IP addresses specified in `privateIpAddresses` as
|
999
992
|
# primary (only one IP address can be designated as primary).
|
1000
993
|
# @option options [Array<String>] :groups
|
1001
|
-
# The IDs of
|
994
|
+
# The IDs of the security groups.
|
1002
995
|
# @option options [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
|
1003
996
|
# The private IPv4 addresses.
|
1004
997
|
#
|
@@ -3380,6 +3373,13 @@ module Aws::EC2
|
|
3380
3373
|
#
|
3381
3374
|
# * `network-interface-id` - The ID of the network interface.
|
3382
3375
|
#
|
3376
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
3377
|
+
# managed network interface.
|
3378
|
+
#
|
3379
|
+
# * `operator.principal` - The principal that manages the network
|
3380
|
+
# interface. Only valid for managed network interfaces, where
|
3381
|
+
# `managed` is `true`.
|
3382
|
+
#
|
3383
3383
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
3384
3384
|
# interface owner.
|
3385
3385
|
#
|
@@ -373,10 +373,26 @@ module Aws::EC2
|
|
373
373
|
# @option options [String] :cidr_ip
|
374
374
|
# The IPv4 address range, in CIDR format.
|
375
375
|
#
|
376
|
+
# <note markdown="1"> Amazon Web Services [canonicalizes][1] IPv4 and IPv6 CIDRs. For
|
377
|
+
# example, if you specify 100.68.0.18/18 for the CIDR block, Amazon Web
|
378
|
+
# Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent
|
379
|
+
# DescribeSecurityGroups and DescribeSecurityGroupRules calls will
|
380
|
+
# return the canonicalized form of the CIDR block. Additionally, if you
|
381
|
+
# attempt to add another rule with the non-canonical form of the CIDR
|
382
|
+
# (such as 100.68.0.18/18) and there is already a rule for the
|
383
|
+
# canonicalized form of the CIDR block (such as 100.68.0.0/18), the API
|
384
|
+
# throws an duplicate rule error.
|
385
|
+
#
|
386
|
+
# </note>
|
387
|
+
#
|
376
388
|
# To specify an IPv6 address range, use IP permissions instead.
|
377
389
|
#
|
378
390
|
# To specify multiple rules and descriptions for the rules, use IP
|
379
391
|
# permissions instead.
|
392
|
+
#
|
393
|
+
#
|
394
|
+
#
|
395
|
+
# [1]: https://en.wikipedia.org/wiki/Canonicalization
|
380
396
|
# @option options [Integer] :from_port
|
381
397
|
# If the protocol is TCP or UDP, this is the start of the port range. If
|
382
398
|
# the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -129,6 +129,16 @@ module Aws::EC2
|
|
129
129
|
data[:completion_time]
|
130
130
|
end
|
131
131
|
|
132
|
+
# The full size of the snapshot, in bytes.
|
133
|
+
#
|
134
|
+
# This is **not** the incremental size of the snapshot. This is the full
|
135
|
+
# snapshot size and represents the size of all the blocks that were
|
136
|
+
# written to the source volume at the time the snapshot was created.
|
137
|
+
# @return [Integer]
|
138
|
+
def full_snapshot_size_in_bytes
|
139
|
+
data[:full_snapshot_size_in_bytes]
|
140
|
+
end
|
141
|
+
|
132
142
|
# The ID of the volume that was used to create the snapshot. Snapshots
|
133
143
|
# created by the CopySnapshot action have an arbitrary volume ID that
|
134
144
|
# should not be used for any purpose.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -797,18 +797,11 @@ module Aws::EC2
|
|
797
797
|
# If you have the required permissions, the error response is
|
798
798
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
799
799
|
# @option options [Boolean] :disable_api_termination
|
800
|
-
#
|
801
|
-
#
|
802
|
-
#
|
803
|
-
#
|
804
|
-
#
|
805
|
-
# command from the instance.
|
806
|
-
#
|
807
|
-
# Default: `false`
|
808
|
-
#
|
809
|
-
#
|
810
|
-
#
|
811
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
800
|
+
# Indicates whether termination protection is enabled for the instance.
|
801
|
+
# The default is `false`, which means that you can terminate the
|
802
|
+
# instance using the Amazon EC2 console, command line tools, or API. You
|
803
|
+
# can enable termination protection when you launch an instance, while
|
804
|
+
# the instance is running, or while the instance is stopped.
|
812
805
|
# @option options [String] :instance_initiated_shutdown_behavior
|
813
806
|
# Indicates whether an instance stops or terminates when you initiate
|
814
807
|
# shutdown from the instance (using the operating system command for
|
@@ -1003,7 +996,7 @@ module Aws::EC2
|
|
1003
996
|
# cannot indicate any IP addresses specified in `privateIpAddresses` as
|
1004
997
|
# primary (only one IP address can be designated as primary).
|
1005
998
|
# @option options [Array<String>] :groups
|
1006
|
-
# The IDs of
|
999
|
+
# The IDs of the security groups.
|
1007
1000
|
# @option options [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
|
1008
1001
|
# The private IPv4 addresses.
|
1009
1002
|
#
|
@@ -1818,6 +1811,13 @@ module Aws::EC2
|
|
1818
1811
|
#
|
1819
1812
|
# * `network-interface-id` - The ID of the network interface.
|
1820
1813
|
#
|
1814
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
1815
|
+
# managed network interface.
|
1816
|
+
#
|
1817
|
+
# * `operator.principal` - The principal that manages the network
|
1818
|
+
# interface. Only valid for managed network interfaces, where
|
1819
|
+
# `managed` is `true`.
|
1820
|
+
#
|
1821
1821
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
1822
1822
|
# interface owner.
|
1823
1823
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -1748,7 +1748,7 @@ module Aws::EC2
|
|
1748
1748
|
#
|
1749
1749
|
# @!attribute [rw] ipv_6_prefixes
|
1750
1750
|
# One or more IPv6 prefixes assigned to the network interface. You
|
1751
|
-
#
|
1751
|
+
# can't use this option if you use the `Ipv6PrefixCount` option.
|
1752
1752
|
# @return [Array<String>]
|
1753
1753
|
#
|
1754
1754
|
# @!attribute [rw] network_interface_id
|
@@ -1810,12 +1810,12 @@ module Aws::EC2
|
|
1810
1810
|
#
|
1811
1811
|
# @!attribute [rw] ipv_4_prefixes
|
1812
1812
|
# One or more IPv4 prefixes assigned to the network interface. You
|
1813
|
-
#
|
1813
|
+
# can't use this option if you use the `Ipv4PrefixCount` option.
|
1814
1814
|
# @return [Array<String>]
|
1815
1815
|
#
|
1816
1816
|
# @!attribute [rw] ipv_4_prefix_count
|
1817
1817
|
# The number of IPv4 prefixes that Amazon Web Services automatically
|
1818
|
-
# assigns to the network interface. You
|
1818
|
+
# assigns to the network interface. You can't use this option if you
|
1819
1819
|
# use the `Ipv4 Prefixes` option.
|
1820
1820
|
# @return [Integer]
|
1821
1821
|
#
|
@@ -3505,10 +3505,26 @@ module Aws::EC2
|
|
3505
3505
|
# @!attribute [rw] cidr_ip
|
3506
3506
|
# The IPv4 address range, in CIDR format.
|
3507
3507
|
#
|
3508
|
+
# <note markdown="1"> Amazon Web Services [canonicalizes][1] IPv4 and IPv6 CIDRs. For
|
3509
|
+
# example, if you specify 100.68.0.18/18 for the CIDR block, Amazon
|
3510
|
+
# Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any
|
3511
|
+
# subsequent DescribeSecurityGroups and DescribeSecurityGroupRules
|
3512
|
+
# calls will return the canonicalized form of the CIDR block.
|
3513
|
+
# Additionally, if you attempt to add another rule with the
|
3514
|
+
# non-canonical form of the CIDR (such as 100.68.0.18/18) and there is
|
3515
|
+
# already a rule for the canonicalized form of the CIDR block (such as
|
3516
|
+
# 100.68.0.0/18), the API throws an duplicate rule error.
|
3517
|
+
#
|
3518
|
+
# </note>
|
3519
|
+
#
|
3508
3520
|
# To specify an IPv6 address range, use IP permissions instead.
|
3509
3521
|
#
|
3510
3522
|
# To specify multiple rules and descriptions for the rules, use IP
|
3511
3523
|
# permissions instead.
|
3524
|
+
#
|
3525
|
+
#
|
3526
|
+
#
|
3527
|
+
# [1]: https://en.wikipedia.org/wiki/Canonicalization
|
3512
3528
|
# @return [String]
|
3513
3529
|
#
|
3514
3530
|
# @!attribute [rw] from_port
|
@@ -3654,14 +3670,13 @@ module Aws::EC2
|
|
3654
3670
|
# @return [String]
|
3655
3671
|
#
|
3656
3672
|
# @!attribute [rw] group_name
|
3657
|
-
#
|
3658
|
-
# Region name.
|
3673
|
+
# The name of the zone group. For example:
|
3659
3674
|
#
|
3660
|
-
#
|
3661
|
-
# `us-west-2-lax-1`.
|
3675
|
+
# * Availability Zones - `us-east-1-zg-1`
|
3662
3676
|
#
|
3663
|
-
#
|
3664
|
-
#
|
3677
|
+
# * Local Zones - `us-west-2-lax-1`
|
3678
|
+
#
|
3679
|
+
# * Wavelength Zones - `us-east-1-wl1-bos-wlz-1`
|
3665
3680
|
# @return [String]
|
3666
3681
|
#
|
3667
3682
|
# @!attribute [rw] network_border_group
|
@@ -7732,7 +7747,7 @@ module Aws::EC2
|
|
7732
7747
|
# The number of instances for which to reserve capacity.
|
7733
7748
|
#
|
7734
7749
|
# <note markdown="1"> You can request future-dated Capacity Reservations for an instance
|
7735
|
-
# count with a minimum of 100
|
7750
|
+
# count with a minimum of 100 vCPUs. For example, if you request a
|
7736
7751
|
# future-dated Capacity Reservation for `m5.xlarge` instances, you
|
7737
7752
|
# must request at least 25 instances (*25 * m5.xlarge = 100 vCPUs*).
|
7738
7753
|
#
|
@@ -10884,7 +10899,7 @@ module Aws::EC2
|
|
10884
10899
|
# @return [String]
|
10885
10900
|
#
|
10886
10901
|
# @!attribute [rw] groups
|
10887
|
-
# The IDs of
|
10902
|
+
# The IDs of the security groups.
|
10888
10903
|
# @return [Array<String>]
|
10889
10904
|
#
|
10890
10905
|
# @!attribute [rw] private_ip_addresses
|
@@ -18012,11 +18027,10 @@ module Aws::EC2
|
|
18012
18027
|
# @!attribute [rw] filters
|
18013
18028
|
# The filters.
|
18014
18029
|
#
|
18015
|
-
# * `group-name` -
|
18016
|
-
#
|
18017
|
-
#
|
18018
|
-
#
|
18019
|
-
# example, `us-east-1-wl1`).
|
18030
|
+
# * `group-name` - The name of the zone group for the Availability
|
18031
|
+
# Zone (for example, `us-east-1-zg-1`), the Local Zone (for example,
|
18032
|
+
# `us-west-2-lax-1`), or the Wavelength Zone (for example,
|
18033
|
+
# `us-east-1-wl1`).
|
18020
18034
|
#
|
18021
18035
|
# * `message` - The Zone message.
|
18022
18036
|
#
|
@@ -21285,7 +21299,7 @@ module Aws::EC2
|
|
21285
21299
|
# @!attribute [rw] attribute
|
21286
21300
|
# The instance attribute.
|
21287
21301
|
#
|
21288
|
-
# Note
|
21302
|
+
# Note that the `enaSupport` attribute is not supported.
|
21289
21303
|
# @return [String]
|
21290
21304
|
#
|
21291
21305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttributeRequest AWS API Documentation
|
@@ -24990,6 +25004,13 @@ module Aws::EC2
|
|
24990
25004
|
#
|
24991
25005
|
# * `network-interface-id` - The ID of the network interface.
|
24992
25006
|
#
|
25007
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
25008
|
+
# managed network interface.
|
25009
|
+
#
|
25010
|
+
# * `operator.principal` - The principal that manages the network
|
25011
|
+
# interface. Only valid for managed network interfaces, where
|
25012
|
+
# `managed` is `true`.
|
25013
|
+
#
|
24993
25014
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
24994
25015
|
# interface owner.
|
24995
25016
|
#
|
@@ -30034,7 +30055,8 @@ module Aws::EC2
|
|
30034
30055
|
# `deleted` \| `rejected` \| `failed`).
|
30035
30056
|
#
|
30036
30057
|
# * `vpc-endpoint-type` - The type of VPC endpoint (`Interface` \|
|
30037
|
-
# `Gateway` \| `GatewayLoadBalancer`
|
30058
|
+
# `Gateway` \| `GatewayLoadBalancer` \| `Resource` \|
|
30059
|
+
# `ServiceNetwork`).
|
30038
30060
|
# @return [Array<Types::Filter>]
|
30039
30061
|
#
|
30040
30062
|
# @!attribute [rw] max_results
|
@@ -42254,8 +42276,9 @@ module Aws::EC2
|
|
42254
42276
|
# @return [Array<Types::InstanceBlockDeviceMapping>]
|
42255
42277
|
#
|
42256
42278
|
# @!attribute [rw] disable_api_termination
|
42257
|
-
#
|
42258
|
-
#
|
42279
|
+
# Indicates whether termination protection is enabled. If the value is
|
42280
|
+
# `true`, you can't terminate the instance using the Amazon EC2
|
42281
|
+
# console, command line tools, or API.
|
42259
42282
|
# @return [Types::AttributeBooleanValue]
|
42260
42283
|
#
|
42261
42284
|
# @!attribute [rw] ena_support
|
@@ -42263,8 +42286,8 @@ module Aws::EC2
|
|
42263
42286
|
# @return [Types::AttributeBooleanValue]
|
42264
42287
|
#
|
42265
42288
|
# @!attribute [rw] enclave_options
|
42266
|
-
#
|
42267
|
-
#
|
42289
|
+
# Indicates whether the instance is enabled for Amazon Web Services
|
42290
|
+
# Nitro Enclaves.
|
42268
42291
|
# @return [Types::EnclaveOptions]
|
42269
42292
|
#
|
42270
42293
|
# @!attribute [rw] ebs_optimized
|
@@ -42290,7 +42313,7 @@ module Aws::EC2
|
|
42290
42313
|
# @return [Types::AttributeValue]
|
42291
42314
|
#
|
42292
42315
|
# @!attribute [rw] product_codes
|
42293
|
-
#
|
42316
|
+
# The product codes.
|
42294
42317
|
# @return [Array<Types::ProductCode>]
|
42295
42318
|
#
|
42296
42319
|
# @!attribute [rw] ramdisk_id
|
@@ -42303,12 +42326,7 @@ module Aws::EC2
|
|
42303
42326
|
# @return [Types::AttributeValue]
|
42304
42327
|
#
|
42305
42328
|
# @!attribute [rw] source_dest_check
|
42306
|
-
#
|
42307
|
-
# instance is either the source or the destination of any traffic that
|
42308
|
-
# it receives. If the value is `true`, source/destination checks are
|
42309
|
-
# enabled; otherwise, they are disabled. The default value is `true`.
|
42310
|
-
# You must disable source/destination checks if the instance runs
|
42311
|
-
# services such as network address translation, routing, or firewalls.
|
42329
|
+
# Indicates whether source/destination checks are enabled.
|
42312
42330
|
# @return [Types::AttributeBooleanValue]
|
42313
42331
|
#
|
42314
42332
|
# @!attribute [rw] sriov_net_support
|
@@ -42321,8 +42339,7 @@ module Aws::EC2
|
|
42321
42339
|
# @return [Types::AttributeValue]
|
42322
42340
|
#
|
42323
42341
|
# @!attribute [rw] disable_api_stop
|
42324
|
-
#
|
42325
|
-
# this parameter to `true`; otherwise, set it to `false`.
|
42342
|
+
# Indicates whether stop protection is enabled for the instance.
|
42326
42343
|
# @return [Types::AttributeBooleanValue]
|
42327
42344
|
#
|
42328
42345
|
# @!attribute [rw] groups
|
@@ -43441,15 +43458,9 @@ module Aws::EC2
|
|
43441
43458
|
# @return [Array<Types::PrivateIpAddressSpecification>]
|
43442
43459
|
#
|
43443
43460
|
# @!attribute [rw] secondary_private_ip_address_count
|
43444
|
-
# The number of secondary private IPv4 addresses. You can
|
43445
|
-
# this
|
43446
|
-
#
|
43447
|
-
# you're launching more than one instance in a [RunInstances][1]
|
43448
|
-
# request.
|
43449
|
-
#
|
43450
|
-
#
|
43451
|
-
#
|
43452
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
43461
|
+
# The number of secondary private IPv4 addresses. You can’t specify
|
43462
|
+
# this parameter and also specify a secondary private IP address using
|
43463
|
+
# the `PrivateIpAddress` parameter.
|
43453
43464
|
# @return [Integer]
|
43454
43465
|
#
|
43455
43466
|
# @!attribute [rw] subnet_id
|
@@ -45393,6 +45404,22 @@ module Aws::EC2
|
|
45393
45404
|
# The IPv4 address range. You can either specify a CIDR block or a
|
45394
45405
|
# source security group, not both. To specify a single IPv4 address,
|
45395
45406
|
# use the /32 prefix length.
|
45407
|
+
#
|
45408
|
+
# <note markdown="1"> Amazon Web Services [canonicalizes][1] IPv4 and IPv6 CIDRs. For
|
45409
|
+
# example, if you specify 100.68.0.18/18 for the CIDR block, Amazon
|
45410
|
+
# Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any
|
45411
|
+
# subsequent DescribeSecurityGroups and DescribeSecurityGroupRules
|
45412
|
+
# calls will return the canonicalized form of the CIDR block.
|
45413
|
+
# Additionally, if you attempt to add another rule with the
|
45414
|
+
# non-canonical form of the CIDR (such as 100.68.0.18/18) and there is
|
45415
|
+
# already a rule for the canonicalized form of the CIDR block (such as
|
45416
|
+
# 100.68.0.0/18), the API throws an duplicate rule error.
|
45417
|
+
#
|
45418
|
+
# </note>
|
45419
|
+
#
|
45420
|
+
#
|
45421
|
+
#
|
45422
|
+
# [1]: https://en.wikipedia.org/wiki/Canonicalization
|
45396
45423
|
# @return [String]
|
45397
45424
|
#
|
45398
45425
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpRange AWS API Documentation
|
@@ -47051,7 +47078,7 @@ module Aws::EC2
|
|
47051
47078
|
include Aws::Structure
|
47052
47079
|
end
|
47053
47080
|
|
47054
|
-
# Describes the
|
47081
|
+
# Describes the IPv6 prefix option for a network interface.
|
47055
47082
|
#
|
47056
47083
|
# @!attribute [rw] ipv_6_prefix
|
47057
47084
|
# The IPv6 prefix.
|
@@ -47094,6 +47121,22 @@ module Aws::EC2
|
|
47094
47121
|
# The IPv6 address range. You can either specify a CIDR block or a
|
47095
47122
|
# source security group, not both. To specify a single IPv6 address,
|
47096
47123
|
# use the /128 prefix length.
|
47124
|
+
#
|
47125
|
+
# <note markdown="1"> Amazon Web Services [canonicalizes][1] IPv4 and IPv6 CIDRs. For
|
47126
|
+
# example, if you specify 100.68.0.18/18 for the CIDR block, Amazon
|
47127
|
+
# Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any
|
47128
|
+
# subsequent DescribeSecurityGroups and DescribeSecurityGroupRules
|
47129
|
+
# calls will return the canonicalized form of the CIDR block.
|
47130
|
+
# Additionally, if you attempt to add another rule with the
|
47131
|
+
# non-canonical form of the CIDR (such as 100.68.0.18/18) and there is
|
47132
|
+
# already a rule for the canonicalized form of the CIDR block (such as
|
47133
|
+
# 100.68.0.0/18), the API throws an duplicate rule error.
|
47134
|
+
#
|
47135
|
+
# </note>
|
47136
|
+
#
|
47137
|
+
#
|
47138
|
+
#
|
47139
|
+
# [1]: https://en.wikipedia.org/wiki/Canonicalization
|
47097
47140
|
# @return [String]
|
47098
47141
|
#
|
47099
47142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6Range AWS API Documentation
|
@@ -51282,9 +51325,10 @@ module Aws::EC2
|
|
51282
51325
|
# @return [Array<Types::InstanceBlockDeviceMappingSpecification>]
|
51283
51326
|
#
|
51284
51327
|
# @!attribute [rw] disable_api_termination
|
51285
|
-
#
|
51286
|
-
#
|
51287
|
-
#
|
51328
|
+
# Enable or disable termination protection for the instance. If the
|
51329
|
+
# value is `true`, you can't terminate the instance using the Amazon
|
51330
|
+
# EC2 console, command line interface, or API. You can't enable
|
51331
|
+
# termination protection for Spot Instances.
|
51288
51332
|
# @return [Types::AttributeBooleanValue]
|
51289
51333
|
#
|
51290
51334
|
# @!attribute [rw] instance_type
|
@@ -52266,9 +52310,18 @@ module Aws::EC2
|
|
52266
52310
|
# number of exclusions you can create. For more information, see
|
52267
52311
|
# [Quotas for your IPAM][1] in the *Amazon VPC IPAM User Guide*.
|
52268
52312
|
#
|
52313
|
+
# <note markdown="1"> The resulting set of exclusions must not result in "overlap",
|
52314
|
+
# meaning two or more OU exclusions must not exclude the same OU. For
|
52315
|
+
# more information and examples, see the Amazon Web Services CLI
|
52316
|
+
# request process in [Add or remove OU exclusions ][2] in the *Amazon
|
52317
|
+
# VPC User Guide*.
|
52318
|
+
#
|
52319
|
+
# </note>
|
52320
|
+
#
|
52269
52321
|
#
|
52270
52322
|
#
|
52271
52323
|
# [1]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html
|
52324
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete
|
52272
52325
|
# @return [Array<Types::AddIpamOrganizationalUnitExclusion>]
|
52273
52326
|
#
|
52274
52327
|
# @!attribute [rw] remove_organizational_unit_exclusions
|
@@ -52279,9 +52332,18 @@ module Aws::EC2
|
|
52279
52332
|
# the number of exclusions you can create. For more information, see
|
52280
52333
|
# [Quotas for your IPAM][1] in the *Amazon VPC IPAM User Guide*.
|
52281
52334
|
#
|
52335
|
+
# <note markdown="1"> The resulting set of exclusions must not result in "overlap",
|
52336
|
+
# meaning two or more OU exclusions must not exclude the same OU. For
|
52337
|
+
# more information and examples, see the Amazon Web Services CLI
|
52338
|
+
# request process in [Add or remove OU exclusions ][2] in the *Amazon
|
52339
|
+
# VPC User Guide*.
|
52340
|
+
#
|
52341
|
+
# </note>
|
52342
|
+
#
|
52282
52343
|
#
|
52283
52344
|
#
|
52284
52345
|
# [1]: https://docs.aws.amazon.com/vpc/latest/ipam/quotas-ipam.html
|
52346
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/ipam/exclude-ous.html#exclude-ous-create-delete
|
52285
52347
|
# @return [Array<Types::RemoveIpamOrganizationalUnitExclusion>]
|
52286
52348
|
#
|
52287
52349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceDiscoveryRequest AWS API Documentation
|
@@ -60907,17 +60969,12 @@ module Aws::EC2
|
|
60907
60969
|
# @return [String]
|
60908
60970
|
#
|
60909
60971
|
# @!attribute [rw] disable_api_termination
|
60910
|
-
#
|
60911
|
-
# instance
|
60912
|
-
#
|
60913
|
-
#
|
60914
|
-
#
|
60915
|
-
#
|
60916
|
-
# instance.
|
60917
|
-
#
|
60918
|
-
#
|
60919
|
-
#
|
60920
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
60972
|
+
# Indicates whether termination protection is enabled for the
|
60973
|
+
# instance. The default is `false`, which means that you can terminate
|
60974
|
+
# the instance using the Amazon EC2 console, command line tools, or
|
60975
|
+
# API. You can enable termination protection when you launch an
|
60976
|
+
# instance, while the instance is running, or while the instance is
|
60977
|
+
# stopped.
|
60921
60978
|
# @return [Boolean]
|
60922
60979
|
#
|
60923
60980
|
# @!attribute [rw] instance_initiated_shutdown_behavior
|
@@ -63809,19 +63866,12 @@ module Aws::EC2
|
|
63809
63866
|
# @return [Boolean]
|
63810
63867
|
#
|
63811
63868
|
# @!attribute [rw] disable_api_termination
|
63812
|
-
#
|
63813
|
-
# instance
|
63814
|
-
#
|
63815
|
-
#
|
63816
|
-
#
|
63817
|
-
#
|
63818
|
-
# instance.
|
63819
|
-
#
|
63820
|
-
# Default: `false`
|
63821
|
-
#
|
63822
|
-
#
|
63823
|
-
#
|
63824
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
63869
|
+
# Indicates whether termination protection is enabled for the
|
63870
|
+
# instance. The default is `false`, which means that you can terminate
|
63871
|
+
# the instance using the Amazon EC2 console, command line tools, or
|
63872
|
+
# API. You can enable termination protection when you launch an
|
63873
|
+
# instance, while the instance is running, or while the instance is
|
63874
|
+
# stopped.
|
63825
63875
|
# @return [Boolean]
|
63826
63876
|
#
|
63827
63877
|
# @!attribute [rw] instance_initiated_shutdown_behavior
|
@@ -65183,10 +65233,26 @@ module Aws::EC2
|
|
65183
65233
|
#
|
65184
65234
|
# * ReferencedGroupId
|
65185
65235
|
#
|
65236
|
+
# <note markdown="1"> Amazon Web Services [canonicalizes][1] IPv4 and IPv6 CIDRs. For
|
65237
|
+
# example, if you specify 100.68.0.18/18 for the CIDR block, Amazon Web
|
65238
|
+
# Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent
|
65239
|
+
# DescribeSecurityGroups and DescribeSecurityGroupRules calls will
|
65240
|
+
# return the canonicalized form of the CIDR block. Additionally, if you
|
65241
|
+
# attempt to add another rule with the non-canonical form of the CIDR
|
65242
|
+
# (such as 100.68.0.18/18) and there is already a rule for the
|
65243
|
+
# canonicalized form of the CIDR block (such as 100.68.0.0/18), the API
|
65244
|
+
# throws an duplicate rule error.
|
65245
|
+
#
|
65246
|
+
# </note>
|
65247
|
+
#
|
65186
65248
|
# When you modify a rule, you cannot change the rule type. For example,
|
65187
65249
|
# if the rule uses an IPv4 address range, you must use `CidrIpv4` to
|
65188
65250
|
# specify a new IPv4 address range.
|
65189
65251
|
#
|
65252
|
+
#
|
65253
|
+
#
|
65254
|
+
# [1]: https://en.wikipedia.org/wiki/Canonicalization
|
65255
|
+
#
|
65190
65256
|
# @!attribute [rw] ip_protocol
|
65191
65257
|
# The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see
|
65192
65258
|
# [Protocol Numbers][1]).
|
@@ -65659,6 +65725,15 @@ module Aws::EC2
|
|
65659
65725
|
# The time stamp when the snapshot was completed.
|
65660
65726
|
# @return [Time]
|
65661
65727
|
#
|
65728
|
+
# @!attribute [rw] full_snapshot_size_in_bytes
|
65729
|
+
# The full size of the snapshot, in bytes.
|
65730
|
+
#
|
65731
|
+
# This is **not** the incremental size of the snapshot. This is the
|
65732
|
+
# full snapshot size and represents the size of all the blocks that
|
65733
|
+
# were written to the source volume at the time the snapshot was
|
65734
|
+
# created.
|
65735
|
+
# @return [Integer]
|
65736
|
+
#
|
65662
65737
|
# @!attribute [rw] snapshot_id
|
65663
65738
|
# The ID of the snapshot. Each snapshot receives a unique identifier
|
65664
65739
|
# when it is created.
|
@@ -65736,6 +65811,7 @@ module Aws::EC2
|
|
65736
65811
|
:transfer_type,
|
65737
65812
|
:completion_duration_minutes,
|
65738
65813
|
:completion_time,
|
65814
|
+
:full_snapshot_size_in_bytes,
|
65739
65815
|
:snapshot_id,
|
65740
65816
|
:volume_id,
|
65741
65817
|
:state,
|
@@ -65933,7 +66009,7 @@ module Aws::EC2
|
|
65933
66009
|
# @return [String]
|
65934
66010
|
#
|
65935
66011
|
# @!attribute [rw] recycle_bin_enter_time
|
65936
|
-
# The date and time when the
|
66012
|
+
# The date and time when the snapshot entered the Recycle Bin.
|
65937
66013
|
# @return [Time]
|
65938
66014
|
#
|
65939
66015
|
# @!attribute [rw] recycle_bin_exit_time
|
@@ -70968,7 +71044,7 @@ module Aws::EC2
|
|
70968
71044
|
# @return [Array<String>]
|
70969
71045
|
#
|
70970
71046
|
# @!attribute [rw] unassigned_ipv_6_prefixes
|
70971
|
-
# The
|
71047
|
+
# The IPv6 prefixes that have been unassigned from the network
|
70972
71048
|
# interface.
|
70973
71049
|
# @return [Array<String>]
|
70974
71050
|
#
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1766,6 +1766,13 @@ module Aws::EC2
|
|
1766
1766
|
#
|
1767
1767
|
# * `network-interface-id` - The ID of the network interface.
|
1768
1768
|
#
|
1769
|
+
# * `operator.managed` - A Boolean that indicates whether this is a
|
1770
|
+
# managed network interface.
|
1771
|
+
#
|
1772
|
+
# * `operator.principal` - The principal that manages the network
|
1773
|
+
# interface. Only valid for managed network interfaces, where
|
1774
|
+
# `managed` is `true`.
|
1775
|
+
#
|
1769
1776
|
# * `owner-id` - The Amazon Web Services account ID of the network
|
1770
1777
|
# interface owner.
|
1771
1778
|
#
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -3129,6 +3129,7 @@ module Aws
|
|
3129
3129
|
def transfer_type: () -> ("time-based" | "standard")
|
3130
3130
|
def completion_duration_minutes: () -> ::Integer
|
3131
3131
|
def completion_time: () -> ::Time
|
3132
|
+
def full_snapshot_size_in_bytes: () -> ::Integer
|
3132
3133
|
def snapshot_id: () -> ::String
|
3133
3134
|
def volume_id: () -> ::String
|
3134
3135
|
def state: () -> ("pending" | "completed" | "error" | "recoverable" | "recovering")
|
data/sig/snapshot.rbs
CHANGED
@@ -48,6 +48,9 @@ module Aws
|
|
48
48
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#completion_time-instance_method
|
49
49
|
def completion_time: () -> ::Time
|
50
50
|
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#full_snapshot_size_in_bytes-instance_method
|
52
|
+
def full_snapshot_size_in_bytes: () -> ::Integer
|
53
|
+
|
51
54
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Snapshot.html#volume_id-instance_method
|
52
55
|
def volume_id: () -> ::String
|
53
56
|
|
data/sig/types.rbs
CHANGED
@@ -14317,6 +14317,7 @@ module Aws::EC2
|
|
14317
14317
|
attr_accessor transfer_type: ("time-based" | "standard")
|
14318
14318
|
attr_accessor completion_duration_minutes: ::Integer
|
14319
14319
|
attr_accessor completion_time: ::Time
|
14320
|
+
attr_accessor full_snapshot_size_in_bytes: ::Integer
|
14320
14321
|
attr_accessor snapshot_id: ::String
|
14321
14322
|
attr_accessor volume_id: ::String
|
14322
14323
|
attr_accessor state: ("pending" | "completed" | "error" | "recoverable" | "recovering")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.505.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|