aws-sdk-ec2 1.547.0 → 1.548.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +47 -54
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/image.rb +2 -24
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/route_table.rb +4 -0
- data/lib/aws-sdk-ec2/route_table_association.rb +7 -0
- data/lib/aws-sdk-ec2/types.rb +15 -25
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/route_table.rbs +1 -0
- data/sig/route_table_association.rbs +3 -0
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddd30e50fcaa732b3ff06f98566a57da1f273cc2759a79851fd8a4085840fbe0
|
4
|
+
data.tar.gz: 11b260596cd0df6580af29a4ad80f26ba69feed9acbf6c5adb72dd3907d5ec17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1a2290e57f4530589f1bc7e1082a62fedc506d803f1054a5c63165c9df9cd3a92d148a1c1840f09a4fd23b54fd7a50379d3e5c0d102e304b27c908ef4815ece
|
7
|
+
data.tar.gz: a7c71bcee9e2b5efec71b43f7f61888070bbbe7c5db2128a31ccbca18c22bb326247fb28d00b2c82141522bb4a354045cddd8c846f4467e753157ad2f112e316
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.548.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -921,8 +921,6 @@ module Aws::EC2
|
|
921
921
|
# starts routing to Amazon Web Services because of BGP propagation
|
922
922
|
# delays.
|
923
923
|
#
|
924
|
-
# To stop advertising the BYOIP CIDR, use WithdrawByoipCidr.
|
925
|
-
#
|
926
924
|
# @option params [required, String] :cidr
|
927
925
|
# The address range, in CIDR notation. This must be the exact range that
|
928
926
|
# you provisioned. You can't advertise only a portion of the
|
@@ -2500,6 +2498,10 @@ module Aws::EC2
|
|
2500
2498
|
# @option params [String] :gateway_id
|
2501
2499
|
# The ID of the internet gateway or virtual private gateway.
|
2502
2500
|
#
|
2501
|
+
# @option params [String] :public_ipv_4_pool
|
2502
|
+
# The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4
|
2503
|
+
# addresses that you've brought to Amazon Web Services with BYOIP.
|
2504
|
+
#
|
2503
2505
|
# @option params [Boolean] :dry_run
|
2504
2506
|
# Checks whether you have the required permissions for the action,
|
2505
2507
|
# without actually making the request, and provides an error response.
|
@@ -2536,6 +2538,7 @@ module Aws::EC2
|
|
2536
2538
|
#
|
2537
2539
|
# resp = client.associate_route_table({
|
2538
2540
|
# gateway_id: "RouteGatewayId",
|
2541
|
+
# public_ipv_4_pool: "Ipv4PoolEc2Id",
|
2539
2542
|
# dry_run: false,
|
2540
2543
|
# subnet_id: "SubnetId",
|
2541
2544
|
# route_table_id: "RouteTableId", # required
|
@@ -7891,7 +7894,7 @@ module Aws::EC2
|
|
7891
7894
|
# snapshots. To create an AMI with volumes or snapshots that have a
|
7892
7895
|
# different encryption status (for example, where the source volume
|
7893
7896
|
# and snapshots are unencrypted, and you want to create an AMI with
|
7894
|
-
# encrypted volumes or snapshots),
|
7897
|
+
# encrypted volumes or snapshots), copy the image instead.
|
7895
7898
|
#
|
7896
7899
|
# * The only option that can be changed for existing mappings or
|
7897
7900
|
# snapshots is `DeleteOnTermination`.
|
@@ -13132,6 +13135,7 @@ module Aws::EC2
|
|
13132
13135
|
# resp.route_table.associations[0].route_table_id #=> String
|
13133
13136
|
# resp.route_table.associations[0].subnet_id #=> String
|
13134
13137
|
# resp.route_table.associations[0].gateway_id #=> String
|
13138
|
+
# resp.route_table.associations[0].public_ipv_4_pool #=> String
|
13135
13139
|
# resp.route_table.associations[0].association_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failed"
|
13136
13140
|
# resp.route_table.associations[0].association_state.status_message #=> String
|
13137
13141
|
# resp.route_table.propagating_vgws #=> Array
|
@@ -21622,8 +21626,8 @@ module Aws::EC2
|
|
21622
21626
|
# (BYOIP) and deletes the corresponding address pool.
|
21623
21627
|
#
|
21624
21628
|
# Before you can release an address range, you must stop advertising it
|
21625
|
-
#
|
21626
|
-
#
|
21629
|
+
# and you must not have any IP addresses allocated from its address
|
21630
|
+
# range.
|
21627
21631
|
#
|
21628
21632
|
# @option params [required, String] :cidr
|
21629
21633
|
# The address range, in CIDR notation. The prefix must be the same
|
@@ -22839,11 +22843,9 @@ module Aws::EC2
|
|
22839
22843
|
req.send_request(options)
|
22840
22844
|
end
|
22841
22845
|
|
22842
|
-
# Describes the IP address ranges that were
|
22843
|
-
#
|
22844
|
-
#
|
22845
|
-
# To describe the address pools that were created when you provisioned
|
22846
|
-
# the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
|
22846
|
+
# Describes the IP address ranges that were provisioned for use with
|
22847
|
+
# Amazon Web Services resources through through bring your own IP
|
22848
|
+
# addresses (BYOIP).
|
22847
22849
|
#
|
22848
22850
|
# @option params [Boolean] :dry_run
|
22849
22851
|
# Checks whether you have the required permissions for the action,
|
@@ -26590,8 +26592,8 @@ module Aws::EC2
|
|
26590
26592
|
#
|
26591
26593
|
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
|
26592
26594
|
# attribute returns the `Client.AuthFailure` error. To get information
|
26593
|
-
# about the block device mappings for an AMI,
|
26594
|
-
#
|
26595
|
+
# about the block device mappings for an AMI, describe the image
|
26596
|
+
# instead.
|
26595
26597
|
#
|
26596
26598
|
# @option params [required, String] :image_id
|
26597
26599
|
# The ID of the AMI.
|
@@ -26712,13 +26714,13 @@ module Aws::EC2
|
|
26712
26714
|
# for each image. In `audit-mode`, the `imageAllowed` field is set to
|
26713
26715
|
# `true` for images that meet the account's Allowed AMIs criteria, and
|
26714
26716
|
# `false` for images that don't meet the criteria. For more
|
26715
|
-
# information, see
|
26717
|
+
# information, see [Allowed AMIs][1].
|
26716
26718
|
#
|
26717
26719
|
# The Amazon EC2 API follows an eventual consistency model. This means
|
26718
26720
|
# that the result of an API command you run that creates or modifies
|
26719
26721
|
# resources might not be immediately available to all subsequent
|
26720
26722
|
# commands you run. For guidance on how to manage eventual consistency,
|
26721
|
-
# see [Eventual consistency in the Amazon EC2 API][
|
26723
|
+
# see [Eventual consistency in the Amazon EC2 API][2] in the *Amazon EC2
|
26722
26724
|
# Developer Guide*.
|
26723
26725
|
#
|
26724
26726
|
# We strongly recommend using only paginated requests. Unpaginated
|
@@ -26732,7 +26734,8 @@ module Aws::EC2
|
|
26732
26734
|
#
|
26733
26735
|
#
|
26734
26736
|
#
|
26735
|
-
# [1]: https://docs.aws.amazon.com/
|
26737
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html
|
26738
|
+
# [2]: https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html
|
26736
26739
|
#
|
26737
26740
|
# @option params [Array<String>] :executable_users
|
26738
26741
|
# Scopes the images by users with explicit launch permissions. Specify
|
@@ -31653,9 +31656,6 @@ module Aws::EC2
|
|
31653
31656
|
# Describes your managed prefix lists and any Amazon Web
|
31654
31657
|
# Services-managed prefix lists.
|
31655
31658
|
#
|
31656
|
-
# To view the entries for your prefix list, use
|
31657
|
-
# GetManagedPrefixListEntries.
|
31658
|
-
#
|
31659
31659
|
# @option params [Boolean] :dry_run
|
31660
31660
|
# Checks whether you have the required permissions for the action,
|
31661
31661
|
# without actually making the request, and provides an error response.
|
@@ -34136,8 +34136,6 @@ module Aws::EC2
|
|
34136
34136
|
# format, which includes the prefix list name and prefix list ID of the
|
34137
34137
|
# service and the IP address range for the service.
|
34138
34138
|
#
|
34139
|
-
# We recommend that you use DescribeManagedPrefixLists instead.
|
34140
|
-
#
|
34141
34139
|
# @option params [Boolean] :dry_run
|
34142
34140
|
# Checks whether you have the required permissions for the action,
|
34143
34141
|
# without actually making the request, and provides an error response.
|
@@ -35603,6 +35601,7 @@ module Aws::EC2
|
|
35603
35601
|
# resp.route_tables[0].associations[0].route_table_id #=> String
|
35604
35602
|
# resp.route_tables[0].associations[0].subnet_id #=> String
|
35605
35603
|
# resp.route_tables[0].associations[0].gateway_id #=> String
|
35604
|
+
# resp.route_tables[0].associations[0].public_ipv_4_pool #=> String
|
35606
35605
|
# resp.route_tables[0].associations[0].association_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failed"
|
35607
35606
|
# resp.route_tables[0].associations[0].association_state.status_message #=> String
|
35608
35607
|
# resp.route_tables[0].propagating_vgws #=> Array
|
@@ -45425,7 +45424,7 @@ module Aws::EC2
|
|
45425
45424
|
# protection is enabled, the AMI can't be deregistered.
|
45426
45425
|
#
|
45427
45426
|
# To allow the AMI to be deregistered, you must first disable
|
45428
|
-
# deregistration protection
|
45427
|
+
# deregistration protection.
|
45429
45428
|
#
|
45430
45429
|
# For more information, see [Protect an Amazon EC2 AMI from
|
45431
45430
|
# deregistration][1] in the *Amazon EC2 User Guide*.
|
@@ -58403,10 +58402,9 @@ module Aws::EC2
|
|
58403
58402
|
# EC2-VPC platform. The Elastic IP address must be allocated to your
|
58404
58403
|
# account for more than 24 hours, and it must not be associated with an
|
58405
58404
|
# instance. After the Elastic IP address is moved, it is no longer
|
58406
|
-
# available for use in the EC2-Classic platform
|
58407
|
-
#
|
58408
|
-
#
|
58409
|
-
# platform to the EC2-Classic platform.
|
58405
|
+
# available for use in the EC2-Classic platform. You cannot move an
|
58406
|
+
# Elastic IP address that was originally allocated for use in the
|
58407
|
+
# EC2-VPC platform to the EC2-Classic platform.
|
58410
58408
|
#
|
58411
58409
|
# @option params [Boolean] :dry_run
|
58412
58410
|
# Checks whether you have the required permissions for the action,
|
@@ -58664,7 +58662,7 @@ module Aws::EC2
|
|
58664
58662
|
# Provisions an IPv4 or IPv6 address range for use with your Amazon Web
|
58665
58663
|
# Services resources through bring your own IP addresses (BYOIP) and
|
58666
58664
|
# creates a corresponding address pool. After the address range is
|
58667
|
-
# provisioned, it is ready to be advertised
|
58665
|
+
# provisioned, it is ready to be advertised.
|
58668
58666
|
#
|
58669
58667
|
# Amazon Web Services verifies that you own the address range and are
|
58670
58668
|
# authorized to advertise it. You must ensure that the address range is
|
@@ -58675,15 +58673,13 @@ module Aws::EC2
|
|
58675
58673
|
#
|
58676
58674
|
# Provisioning an address range is an asynchronous operation, so the
|
58677
58675
|
# call returns immediately, but the address range is not ready to use
|
58678
|
-
# until its status changes from `pending-provision` to `provisioned`.
|
58679
|
-
#
|
58680
|
-
# allocate an Elastic IP address from your IPv4 address pool, use
|
58681
|
-
# AllocateAddress with either the specific address from the address pool
|
58682
|
-
# or the ID of the address pool.
|
58676
|
+
# until its status changes from `pending-provision` to `provisioned`.
|
58677
|
+
# For more information, see [Onboard your address range][2].
|
58683
58678
|
#
|
58684
58679
|
#
|
58685
58680
|
#
|
58686
58681
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
58682
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/byoip-onboard.html
|
58687
58683
|
#
|
58688
58684
|
# @option params [required, String] :cidr
|
58689
58685
|
# The public IPv4 or IPv6 address range, in CIDR notation. The most
|
@@ -59489,13 +59485,6 @@ module Aws::EC2
|
|
59489
59485
|
# snapshot][1] and [Create an instance-store backed AMI][2] in the
|
59490
59486
|
# *Amazon EC2 User Guide*.
|
59491
59487
|
#
|
59492
|
-
# <note markdown="1"> For Amazon EBS-backed instances, CreateImage creates and registers the
|
59493
|
-
# AMI in a single request, so you don't have to register the AMI
|
59494
|
-
# yourself. We recommend that you always use CreateImage unless you have
|
59495
|
-
# a specific reason to use RegisterImage.
|
59496
|
-
#
|
59497
|
-
# </note>
|
59498
|
-
#
|
59499
59488
|
# If needed, you can deregister an AMI at any time. Any modifications
|
59500
59489
|
# you make to an AMI backed by an instance store volume invalidates its
|
59501
59490
|
# registration. If you make changes to an image, deregister the previous
|
@@ -59529,17 +59518,17 @@ module Aws::EC2
|
|
59529
59518
|
# field is empty or doesn't match the expected operating system code
|
59530
59519
|
# (for example, Windows, RedHat, SUSE, or SQL), the AMI creation was
|
59531
59520
|
# unsuccessful, and you should discard the AMI and instead create the
|
59532
|
-
# AMI from an instance
|
59533
|
-
#
|
59521
|
+
# AMI from an instance. For more information, see [Create an AMI from an
|
59522
|
+
# instance ][5] in the *Amazon EC2 User Guide*.
|
59534
59523
|
#
|
59535
59524
|
# If you purchase a Reserved Instance to apply to an On-Demand Instance
|
59536
59525
|
# that was launched from an AMI with a billing product code, make sure
|
59537
59526
|
# that the Reserved Instance has the matching billing product code. If
|
59538
59527
|
# you purchase a Reserved Instance without the matching billing product
|
59539
|
-
# code, the Reserved Instance
|
59540
|
-
#
|
59541
|
-
#
|
59542
|
-
#
|
59528
|
+
# code, the Reserved Instance is not applied to the On-Demand Instance.
|
59529
|
+
# For information about how to obtain the platform details and billing
|
59530
|
+
# information of an AMI, see [Understand AMI billing information][4] in
|
59531
|
+
# the *Amazon EC2 User Guide*.
|
59543
59532
|
#
|
59544
59533
|
#
|
59545
59534
|
#
|
@@ -60234,13 +60223,13 @@ module Aws::EC2
|
|
60234
60223
|
# Releases the specified Elastic IP address.
|
60235
60224
|
#
|
60236
60225
|
# \[Default VPC\] Releasing an Elastic IP address automatically
|
60237
|
-
# disassociates it from any instance that it's associated with.
|
60238
|
-
# disassociate an Elastic IP address without
|
60239
|
-
#
|
60226
|
+
# disassociates it from any instance that it's associated with.
|
60227
|
+
# Alternatively, you can disassociate an Elastic IP address without
|
60228
|
+
# releasing it.
|
60240
60229
|
#
|
60241
|
-
# \[Nondefault VPC\] You must
|
60242
|
-
#
|
60243
|
-
#
|
60230
|
+
# \[Nondefault VPC\] You must disassociate the Elastic IP address before
|
60231
|
+
# you can release it. Otherwise, Amazon EC2 returns an error
|
60232
|
+
# (`InvalidIPAddress.InUse`).
|
60244
60233
|
#
|
60245
60234
|
# After releasing an Elastic IP address, it is released to the IP
|
60246
60235
|
# address pool. Be sure to update your DNS records and any servers or
|
@@ -60250,7 +60239,11 @@ module Aws::EC2
|
|
60250
60239
|
# Amazon Web Services account.
|
60251
60240
|
#
|
60252
60241
|
# After you release an Elastic IP address, you might be able to recover
|
60253
|
-
# it. For more information, see
|
60242
|
+
# it. For more information, see [Release an Elastic IP address][1].
|
60243
|
+
#
|
60244
|
+
#
|
60245
|
+
#
|
60246
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing-eips-releasing.html
|
60254
60247
|
#
|
60255
60248
|
# @option params [String] :allocation_id
|
60256
60249
|
# The allocation ID. This parameter is required.
|
@@ -64329,10 +64322,10 @@ module Aws::EC2
|
|
64329
64322
|
# Services Organization).
|
64330
64323
|
#
|
64331
64324
|
# The report is saved to your specified S3 bucket, using the following
|
64332
|
-
# path structure (with the
|
64325
|
+
# path structure (with the capitalized placeholders representing your
|
64333
64326
|
# specific values):
|
64334
64327
|
#
|
64335
|
-
# `s3://
|
64328
|
+
# `s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv`
|
64336
64329
|
#
|
64337
64330
|
# **Prerequisites for generating a report**
|
64338
64331
|
#
|
@@ -66518,7 +66511,7 @@ module Aws::EC2
|
|
66518
66511
|
tracer: tracer
|
66519
66512
|
)
|
66520
66513
|
context[:gem_name] = 'aws-sdk-ec2'
|
66521
|
-
context[:gem_version] = '1.
|
66514
|
+
context[:gem_version] = '1.548.0'
|
66522
66515
|
Seahorse::Client::Request.new(handlers, context)
|
66523
66516
|
end
|
66524
66517
|
|
@@ -4101,6 +4101,7 @@ module Aws::EC2
|
|
4101
4101
|
AssociateRouteServerResult.struct_class = Types::AssociateRouteServerResult
|
4102
4102
|
|
4103
4103
|
AssociateRouteTableRequest.add_member(:gateway_id, Shapes::ShapeRef.new(shape: RouteGatewayId, location_name: "GatewayId"))
|
4104
|
+
AssociateRouteTableRequest.add_member(:public_ipv_4_pool, Shapes::ShapeRef.new(shape: Ipv4PoolEc2Id, location_name: "PublicIpv4Pool"))
|
4104
4105
|
AssociateRouteTableRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4105
4106
|
AssociateRouteTableRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
|
4106
4107
|
AssociateRouteTableRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
@@ -15358,6 +15359,7 @@ module Aws::EC2
|
|
15358
15359
|
RouteTableAssociation.add_member(:route_table_id, Shapes::ShapeRef.new(shape: String, location_name: "routeTableId"))
|
15359
15360
|
RouteTableAssociation.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
15360
15361
|
RouteTableAssociation.add_member(:gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "gatewayId"))
|
15362
|
+
RouteTableAssociation.add_member(:public_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "publicIpv4Pool"))
|
15361
15363
|
RouteTableAssociation.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
|
15362
15364
|
RouteTableAssociation.struct_class = Types::RouteTableAssociation
|
15363
15365
|
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -241,34 +241,12 @@ module Aws::EC2
|
|
241
241
|
end
|
242
242
|
|
243
243
|
# The ID of the source AMI from which the AMI was created.
|
244
|
-
#
|
245
|
-
# The ID only appears if the AMI was created using CreateImage,
|
246
|
-
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
247
|
-
# AMI was created using any other API. For some older AMIs, the ID might
|
248
|
-
# not be available. For more information, see [Identify the source AMI
|
249
|
-
# used to create a new Amazon EC2 AMI][1] in the *Amazon EC2 User
|
250
|
-
# Guide*.
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
255
244
|
# @return [String]
|
256
245
|
def source_image_id
|
257
246
|
data[:source_image_id]
|
258
247
|
end
|
259
248
|
|
260
249
|
# The Region of the source AMI.
|
261
|
-
#
|
262
|
-
# The Region only appears if the AMI was created using CreateImage,
|
263
|
-
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
264
|
-
# the AMI was created using any other API. For some older AMIs, the
|
265
|
-
# Region might not be available. For more information, see [Identify the
|
266
|
-
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon EC2
|
267
|
-
# User Guide*.
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
272
250
|
# @return [String]
|
273
251
|
def source_image_region
|
274
252
|
data[:source_image_region]
|
@@ -659,8 +637,8 @@ module Aws::EC2
|
|
659
637
|
#
|
660
638
|
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
|
661
639
|
# attribute returns the `Client.AuthFailure` error. To get information
|
662
|
-
# about the block device mappings for an AMI,
|
663
|
-
#
|
640
|
+
# about the block device mappings for an AMI, describe the image
|
641
|
+
# instead.
|
664
642
|
# @option options [Boolean] :dry_run
|
665
643
|
# Checks whether you have the required permissions for the action,
|
666
644
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -897,7 +897,7 @@ module Aws::EC2
|
|
897
897
|
# snapshots. To create an AMI with volumes or snapshots that have a
|
898
898
|
# different encryption status (for example, where the source volume
|
899
899
|
# and snapshots are unencrypted, and you want to create an AMI with
|
900
|
-
# encrypted volumes or snapshots),
|
900
|
+
# encrypted volumes or snapshots), copy the image instead.
|
901
901
|
#
|
902
902
|
# * The only option that can be changed for existing mappings or
|
903
903
|
# snapshots is `DeleteOnTermination`.
|
@@ -201,12 +201,16 @@ module Aws::EC2
|
|
201
201
|
#
|
202
202
|
# routetableassociation = route_table.associate_with_subnet({
|
203
203
|
# gateway_id: "RouteGatewayId",
|
204
|
+
# public_ipv_4_pool: "Ipv4PoolEc2Id",
|
204
205
|
# dry_run: false,
|
205
206
|
# subnet_id: "SubnetId",
|
206
207
|
# })
|
207
208
|
# @param [Hash] options ({})
|
208
209
|
# @option options [String] :gateway_id
|
209
210
|
# The ID of the internet gateway or virtual private gateway.
|
211
|
+
# @option options [String] :public_ipv_4_pool
|
212
|
+
# The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4
|
213
|
+
# addresses that you've brought to Amazon Web Services with BYOIP.
|
210
214
|
# @option options [Boolean] :dry_run
|
211
215
|
# Checks whether you have the required permissions for the action,
|
212
216
|
# without actually making the request, and provides an error response.
|
@@ -60,6 +60,13 @@ module Aws::EC2
|
|
60
60
|
data[:gateway_id]
|
61
61
|
end
|
62
62
|
|
63
|
+
# The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4
|
64
|
+
# addresses that you've brought to Amazon Web Services with BYOIP.
|
65
|
+
# @return [String]
|
66
|
+
def public_ipv_4_pool
|
67
|
+
data[:public_ipv_4_pool]
|
68
|
+
end
|
69
|
+
|
63
70
|
# The state of the association.
|
64
71
|
# @return [Types::RouteTableAssociationState]
|
65
72
|
def association_state
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -2510,6 +2510,11 @@ module Aws::EC2
|
|
2510
2510
|
# The ID of the internet gateway or virtual private gateway.
|
2511
2511
|
# @return [String]
|
2512
2512
|
#
|
2513
|
+
# @!attribute [rw] public_ipv_4_pool
|
2514
|
+
# The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4
|
2515
|
+
# addresses that you've brought to Amazon Web Services with BYOIP.
|
2516
|
+
# @return [String]
|
2517
|
+
#
|
2513
2518
|
# @!attribute [rw] dry_run
|
2514
2519
|
# Checks whether you have the required permissions for the action,
|
2515
2520
|
# without actually making the request, and provides an error response.
|
@@ -2529,6 +2534,7 @@ module Aws::EC2
|
|
2529
2534
|
#
|
2530
2535
|
class AssociateRouteTableRequest < Struct.new(
|
2531
2536
|
:gateway_id,
|
2537
|
+
:public_ipv_4_pool,
|
2532
2538
|
:dry_run,
|
2533
2539
|
:subnet_id,
|
2534
2540
|
:route_table_id)
|
@@ -9721,7 +9727,7 @@ module Aws::EC2
|
|
9721
9727
|
# snapshots. To create an AMI with volumes or snapshots that have a
|
9722
9728
|
# different encryption status (for example, where the source volume
|
9723
9729
|
# and snapshots are unencrypted, and you want to create an AMI with
|
9724
|
-
# encrypted volumes or snapshots),
|
9730
|
+
# encrypted volumes or snapshots), copy the image instead.
|
9725
9731
|
#
|
9726
9732
|
# * The only option that can be changed for existing mappings or
|
9727
9733
|
# snapshots is `DeleteOnTermination`.
|
@@ -22428,8 +22434,8 @@ module Aws::EC2
|
|
22428
22434
|
#
|
22429
22435
|
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using
|
22430
22436
|
# this attribute returns the `Client.AuthFailure` error. To get
|
22431
|
-
# information about the block device mappings for an AMI,
|
22432
|
-
#
|
22437
|
+
# information about the block device mappings for an AMI, describe the
|
22438
|
+
# image instead.
|
22433
22439
|
# @return [String]
|
22434
22440
|
#
|
22435
22441
|
# @!attribute [rw] image_id
|
@@ -43027,32 +43033,10 @@ module Aws::EC2
|
|
43027
43033
|
#
|
43028
43034
|
# @!attribute [rw] source_image_id
|
43029
43035
|
# The ID of the source AMI from which the AMI was created.
|
43030
|
-
#
|
43031
|
-
# The ID only appears if the AMI was created using CreateImage,
|
43032
|
-
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
43033
|
-
# AMI was created using any other API. For some older AMIs, the ID
|
43034
|
-
# might not be available. For more information, see [Identify the
|
43035
|
-
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon
|
43036
|
-
# EC2 User Guide*.
|
43037
|
-
#
|
43038
|
-
#
|
43039
|
-
#
|
43040
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
43041
43036
|
# @return [String]
|
43042
43037
|
#
|
43043
43038
|
# @!attribute [rw] source_image_region
|
43044
43039
|
# The Region of the source AMI.
|
43045
|
-
#
|
43046
|
-
# The Region only appears if the AMI was created using CreateImage,
|
43047
|
-
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
43048
|
-
# the AMI was created using any other API. For some older AMIs, the
|
43049
|
-
# Region might not be available. For more information, see [Identify
|
43050
|
-
# the source AMI used to create a new Amazon EC2 AMI][1] in the
|
43051
|
-
# *Amazon EC2 User Guide*.
|
43052
|
-
#
|
43053
|
-
#
|
43054
|
-
#
|
43055
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
43056
43040
|
# @return [String]
|
43057
43041
|
#
|
43058
43042
|
# @!attribute [rw] free_tier_eligible
|
@@ -67488,6 +67472,11 @@ module Aws::EC2
|
|
67488
67472
|
# The ID of the internet gateway or virtual private gateway.
|
67489
67473
|
# @return [String]
|
67490
67474
|
#
|
67475
|
+
# @!attribute [rw] public_ipv_4_pool
|
67476
|
+
# The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4
|
67477
|
+
# addresses that you've brought to Amazon Web Services with BYOIP.
|
67478
|
+
# @return [String]
|
67479
|
+
#
|
67491
67480
|
# @!attribute [rw] association_state
|
67492
67481
|
# The state of the association.
|
67493
67482
|
# @return [Types::RouteTableAssociationState]
|
@@ -67500,6 +67489,7 @@ module Aws::EC2
|
|
67500
67489
|
:route_table_id,
|
67501
67490
|
:subnet_id,
|
67502
67491
|
:gateway_id,
|
67492
|
+
:public_ipv_4_pool,
|
67503
67493
|
:association_state)
|
67504
67494
|
SENSITIVE = []
|
67505
67495
|
include Aws::Structure
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -511,6 +511,7 @@ module Aws
|
|
511
511
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#associate_route_table-instance_method
|
512
512
|
def associate_route_table: (
|
513
513
|
?gateway_id: ::String,
|
514
|
+
?public_ipv_4_pool: ::String,
|
514
515
|
?dry_run: bool,
|
515
516
|
?subnet_id: ::String,
|
516
517
|
route_table_id: ::String
|
data/sig/route_table.rbs
CHANGED
@@ -46,6 +46,7 @@ module Aws
|
|
46
46
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTable.html#associate_with_subnet-instance_method
|
47
47
|
def associate_with_subnet: (
|
48
48
|
?gateway_id: ::String,
|
49
|
+
?public_ipv_4_pool: ::String,
|
49
50
|
?dry_run: bool,
|
50
51
|
?subnet_id: ::String
|
51
52
|
) -> RouteTableAssociation
|
@@ -30,6 +30,9 @@ module Aws
|
|
30
30
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#gateway_id-instance_method
|
31
31
|
def gateway_id: () -> ::String
|
32
32
|
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#public_ipv_4_pool-instance_method
|
34
|
+
def public_ipv_4_pool: () -> ::String
|
35
|
+
|
33
36
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/RouteTableAssociation.html#association_state-instance_method
|
34
37
|
def association_state: () -> Types::RouteTableAssociationState
|
35
38
|
|
data/sig/types.rbs
CHANGED
@@ -632,6 +632,7 @@ module Aws::EC2
|
|
632
632
|
|
633
633
|
class AssociateRouteTableRequest
|
634
634
|
attr_accessor gateway_id: ::String
|
635
|
+
attr_accessor public_ipv_4_pool: ::String
|
635
636
|
attr_accessor dry_run: bool
|
636
637
|
attr_accessor subnet_id: ::String
|
637
638
|
attr_accessor route_table_id: ::String
|
@@ -14627,6 +14628,7 @@ module Aws::EC2
|
|
14627
14628
|
attr_accessor route_table_id: ::String
|
14628
14629
|
attr_accessor subnet_id: ::String
|
14629
14630
|
attr_accessor gateway_id: ::String
|
14631
|
+
attr_accessor public_ipv_4_pool: ::String
|
14630
14632
|
attr_accessor association_state: Types::RouteTableAssociationState
|
14631
14633
|
SENSITIVE: []
|
14632
14634
|
end
|