aws-sdk-ec2 1.547.0 → 1.549.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +140 -60
- data/lib/aws-sdk-ec2/client_api.rb +33 -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 +137 -29
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +15 -0
- data/sig/route_table.rbs +1 -0
- data/sig/route_table_association.rbs +3 -0
- data/sig/types.rbs +30 -1
- 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: 3990048cef0ffcc21e2da774a329ad423d27a021b9c2460c1dd84a3bd1b3c420
|
4
|
+
data.tar.gz: fee42321e5e8f5a5e2dc6276a95a75b90a2974cd7ff82987b0081dfedd0a64ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fc56e30a803fe8cf8bbb18312351f7481a3f35f76245303a450b24a4651a441187a3d41616e7ff14418d3743af905961871bd3ee56fd1a482d6ed2dd80c5386
|
7
|
+
data.tar.gz: c6d809324f407bb17380f45d84a414822ba428e5f8e331defd392488410362ec0e44e8ef4dfb55fb2be30efcf41835ec13d6c36599365bce98c6426f8716045e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.549.0 (2025-08-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds ModifyInstanceConnectEndpoint API to update configurations on existing EC2 Instance Connect Endpoints and improves IPv6 support through dualstack DNS names for EC2 Instance Connect Endpoints.
|
8
|
+
|
9
|
+
1.548.0 (2025-08-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Release to allow route table association with a PublicIpv4Pool.
|
13
|
+
|
4
14
|
1.547.0 (2025-08-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.549.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`.
|
@@ -8089,7 +8092,7 @@ module Aws::EC2
|
|
8089
8092
|
# resp.instance_connect_endpoint.owner_id #=> String
|
8090
8093
|
# resp.instance_connect_endpoint.instance_connect_endpoint_id #=> String
|
8091
8094
|
# resp.instance_connect_endpoint.instance_connect_endpoint_arn #=> String
|
8092
|
-
# resp.instance_connect_endpoint.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
8095
|
+
# resp.instance_connect_endpoint.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed", "update-in-progress", "update-complete", "update-failed"
|
8093
8096
|
# resp.instance_connect_endpoint.state_message #=> String
|
8094
8097
|
# resp.instance_connect_endpoint.dns_name #=> String
|
8095
8098
|
# resp.instance_connect_endpoint.fips_dns_name #=> String
|
@@ -8106,6 +8109,10 @@ module Aws::EC2
|
|
8106
8109
|
# resp.instance_connect_endpoint.tags[0].key #=> String
|
8107
8110
|
# resp.instance_connect_endpoint.tags[0].value #=> String
|
8108
8111
|
# resp.instance_connect_endpoint.ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
8112
|
+
# resp.instance_connect_endpoint.public_dns_names.ipv_4.dns_name #=> String
|
8113
|
+
# resp.instance_connect_endpoint.public_dns_names.ipv_4.fips_dns_name #=> String
|
8114
|
+
# resp.instance_connect_endpoint.public_dns_names.dualstack.dns_name #=> String
|
8115
|
+
# resp.instance_connect_endpoint.public_dns_names.dualstack.fips_dns_name #=> String
|
8109
8116
|
# resp.client_token #=> String
|
8110
8117
|
#
|
8111
8118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceConnectEndpoint AWS API Documentation
|
@@ -13132,6 +13139,7 @@ module Aws::EC2
|
|
13132
13139
|
# resp.route_table.associations[0].route_table_id #=> String
|
13133
13140
|
# resp.route_table.associations[0].subnet_id #=> String
|
13134
13141
|
# resp.route_table.associations[0].gateway_id #=> String
|
13142
|
+
# resp.route_table.associations[0].public_ipv_4_pool #=> String
|
13135
13143
|
# resp.route_table.associations[0].association_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failed"
|
13136
13144
|
# resp.route_table.associations[0].association_state.status_message #=> String
|
13137
13145
|
# resp.route_table.propagating_vgws #=> Array
|
@@ -18101,7 +18109,7 @@ module Aws::EC2
|
|
18101
18109
|
# resp.instance_connect_endpoint.owner_id #=> String
|
18102
18110
|
# resp.instance_connect_endpoint.instance_connect_endpoint_id #=> String
|
18103
18111
|
# resp.instance_connect_endpoint.instance_connect_endpoint_arn #=> String
|
18104
|
-
# resp.instance_connect_endpoint.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
18112
|
+
# resp.instance_connect_endpoint.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed", "update-in-progress", "update-complete", "update-failed"
|
18105
18113
|
# resp.instance_connect_endpoint.state_message #=> String
|
18106
18114
|
# resp.instance_connect_endpoint.dns_name #=> String
|
18107
18115
|
# resp.instance_connect_endpoint.fips_dns_name #=> String
|
@@ -18118,6 +18126,10 @@ module Aws::EC2
|
|
18118
18126
|
# resp.instance_connect_endpoint.tags[0].key #=> String
|
18119
18127
|
# resp.instance_connect_endpoint.tags[0].value #=> String
|
18120
18128
|
# resp.instance_connect_endpoint.ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
18129
|
+
# resp.instance_connect_endpoint.public_dns_names.ipv_4.dns_name #=> String
|
18130
|
+
# resp.instance_connect_endpoint.public_dns_names.ipv_4.fips_dns_name #=> String
|
18131
|
+
# resp.instance_connect_endpoint.public_dns_names.dualstack.dns_name #=> String
|
18132
|
+
# resp.instance_connect_endpoint.public_dns_names.dualstack.fips_dns_name #=> String
|
18121
18133
|
#
|
18122
18134
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInstanceConnectEndpoint AWS API Documentation
|
18123
18135
|
#
|
@@ -21622,8 +21634,8 @@ module Aws::EC2
|
|
21622
21634
|
# (BYOIP) and deletes the corresponding address pool.
|
21623
21635
|
#
|
21624
21636
|
# Before you can release an address range, you must stop advertising it
|
21625
|
-
#
|
21626
|
-
#
|
21637
|
+
# and you must not have any IP addresses allocated from its address
|
21638
|
+
# range.
|
21627
21639
|
#
|
21628
21640
|
# @option params [required, String] :cidr
|
21629
21641
|
# The address range, in CIDR notation. The prefix must be the same
|
@@ -22839,11 +22851,9 @@ module Aws::EC2
|
|
22839
22851
|
req.send_request(options)
|
22840
22852
|
end
|
22841
22853
|
|
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.
|
22854
|
+
# Describes the IP address ranges that were provisioned for use with
|
22855
|
+
# Amazon Web Services resources through through bring your own IP
|
22856
|
+
# addresses (BYOIP).
|
22847
22857
|
#
|
22848
22858
|
# @option params [Boolean] :dry_run
|
22849
22859
|
# Checks whether you have the required permissions for the action,
|
@@ -26590,8 +26600,8 @@ module Aws::EC2
|
|
26590
26600
|
#
|
26591
26601
|
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
|
26592
26602
|
# attribute returns the `Client.AuthFailure` error. To get information
|
26593
|
-
# about the block device mappings for an AMI,
|
26594
|
-
#
|
26603
|
+
# about the block device mappings for an AMI, describe the image
|
26604
|
+
# instead.
|
26595
26605
|
#
|
26596
26606
|
# @option params [required, String] :image_id
|
26597
26607
|
# The ID of the AMI.
|
@@ -26712,13 +26722,13 @@ module Aws::EC2
|
|
26712
26722
|
# for each image. In `audit-mode`, the `imageAllowed` field is set to
|
26713
26723
|
# `true` for images that meet the account's Allowed AMIs criteria, and
|
26714
26724
|
# `false` for images that don't meet the criteria. For more
|
26715
|
-
# information, see
|
26725
|
+
# information, see [Allowed AMIs][1].
|
26716
26726
|
#
|
26717
26727
|
# The Amazon EC2 API follows an eventual consistency model. This means
|
26718
26728
|
# that the result of an API command you run that creates or modifies
|
26719
26729
|
# resources might not be immediately available to all subsequent
|
26720
26730
|
# commands you run. For guidance on how to manage eventual consistency,
|
26721
|
-
# see [Eventual consistency in the Amazon EC2 API][
|
26731
|
+
# see [Eventual consistency in the Amazon EC2 API][2] in the *Amazon EC2
|
26722
26732
|
# Developer Guide*.
|
26723
26733
|
#
|
26724
26734
|
# We strongly recommend using only paginated requests. Unpaginated
|
@@ -26732,7 +26742,8 @@ module Aws::EC2
|
|
26732
26742
|
#
|
26733
26743
|
#
|
26734
26744
|
#
|
26735
|
-
# [1]: https://docs.aws.amazon.com/
|
26745
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html
|
26746
|
+
# [2]: https://docs.aws.amazon.com/ec2/latest/devguide/eventual-consistency.html
|
26736
26747
|
#
|
26737
26748
|
# @option params [Array<String>] :executable_users
|
26738
26749
|
# Scopes the images by users with explicit launch permissions. Specify
|
@@ -27470,7 +27481,7 @@ module Aws::EC2
|
|
27470
27481
|
# resp.instance_connect_endpoints[0].owner_id #=> String
|
27471
27482
|
# resp.instance_connect_endpoints[0].instance_connect_endpoint_id #=> String
|
27472
27483
|
# resp.instance_connect_endpoints[0].instance_connect_endpoint_arn #=> String
|
27473
|
-
# resp.instance_connect_endpoints[0].state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed"
|
27484
|
+
# resp.instance_connect_endpoints[0].state #=> String, one of "create-in-progress", "create-complete", "create-failed", "delete-in-progress", "delete-complete", "delete-failed", "update-in-progress", "update-complete", "update-failed"
|
27474
27485
|
# resp.instance_connect_endpoints[0].state_message #=> String
|
27475
27486
|
# resp.instance_connect_endpoints[0].dns_name #=> String
|
27476
27487
|
# resp.instance_connect_endpoints[0].fips_dns_name #=> String
|
@@ -27487,6 +27498,10 @@ module Aws::EC2
|
|
27487
27498
|
# resp.instance_connect_endpoints[0].tags[0].key #=> String
|
27488
27499
|
# resp.instance_connect_endpoints[0].tags[0].value #=> String
|
27489
27500
|
# resp.instance_connect_endpoints[0].ip_address_type #=> String, one of "ipv4", "dualstack", "ipv6"
|
27501
|
+
# resp.instance_connect_endpoints[0].public_dns_names.ipv_4.dns_name #=> String
|
27502
|
+
# resp.instance_connect_endpoints[0].public_dns_names.ipv_4.fips_dns_name #=> String
|
27503
|
+
# resp.instance_connect_endpoints[0].public_dns_names.dualstack.dns_name #=> String
|
27504
|
+
# resp.instance_connect_endpoints[0].public_dns_names.dualstack.fips_dns_name #=> String
|
27490
27505
|
# resp.next_token #=> String
|
27491
27506
|
#
|
27492
27507
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceConnectEndpoints AWS API Documentation
|
@@ -31653,9 +31668,6 @@ module Aws::EC2
|
|
31653
31668
|
# Describes your managed prefix lists and any Amazon Web
|
31654
31669
|
# Services-managed prefix lists.
|
31655
31670
|
#
|
31656
|
-
# To view the entries for your prefix list, use
|
31657
|
-
# GetManagedPrefixListEntries.
|
31658
|
-
#
|
31659
31671
|
# @option params [Boolean] :dry_run
|
31660
31672
|
# Checks whether you have the required permissions for the action,
|
31661
31673
|
# without actually making the request, and provides an error response.
|
@@ -34136,8 +34148,6 @@ module Aws::EC2
|
|
34136
34148
|
# format, which includes the prefix list name and prefix list ID of the
|
34137
34149
|
# service and the IP address range for the service.
|
34138
34150
|
#
|
34139
|
-
# We recommend that you use DescribeManagedPrefixLists instead.
|
34140
|
-
#
|
34141
34151
|
# @option params [Boolean] :dry_run
|
34142
34152
|
# Checks whether you have the required permissions for the action,
|
34143
34153
|
# without actually making the request, and provides an error response.
|
@@ -35603,6 +35613,7 @@ module Aws::EC2
|
|
35603
35613
|
# resp.route_tables[0].associations[0].route_table_id #=> String
|
35604
35614
|
# resp.route_tables[0].associations[0].subnet_id #=> String
|
35605
35615
|
# resp.route_tables[0].associations[0].gateway_id #=> String
|
35616
|
+
# resp.route_tables[0].associations[0].public_ipv_4_pool #=> String
|
35606
35617
|
# resp.route_tables[0].associations[0].association_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failed"
|
35607
35618
|
# resp.route_tables[0].associations[0].association_state.status_message #=> String
|
35608
35619
|
# resp.route_tables[0].propagating_vgws #=> Array
|
@@ -41396,9 +41407,6 @@ module Aws::EC2
|
|
41396
41407
|
# * `resource-configuration-group-arn` - The Amazon Resource Name (ARN)
|
41397
41408
|
# of the resource configuration of type GROUP.
|
41398
41409
|
#
|
41399
|
-
# * `service-network-resource-association-id` - The ID of the
|
41400
|
-
# association.
|
41401
|
-
#
|
41402
41410
|
# @option params [Integer] :max_results
|
41403
41411
|
# The maximum page size.
|
41404
41412
|
#
|
@@ -45425,7 +45433,7 @@ module Aws::EC2
|
|
45425
45433
|
# protection is enabled, the AMI can't be deregistered.
|
45426
45434
|
#
|
45427
45435
|
# To allow the AMI to be deregistered, you must first disable
|
45428
|
-
# deregistration protection
|
45436
|
+
# deregistration protection.
|
45429
45437
|
#
|
45430
45438
|
# For more information, see [Protect an Amazon EC2 AMI from
|
45431
45439
|
# deregistration][1] in the *Amazon EC2 User Guide*.
|
@@ -53212,6 +53220,84 @@ module Aws::EC2
|
|
53212
53220
|
req.send_request(options)
|
53213
53221
|
end
|
53214
53222
|
|
53223
|
+
# Modifies the specified EC2 Instance Connect Endpoint.
|
53224
|
+
#
|
53225
|
+
# For more information, see [Modify an EC2 Instance Connect Endpoint][1]
|
53226
|
+
# in the *Amazon EC2 User Guide*.
|
53227
|
+
#
|
53228
|
+
#
|
53229
|
+
#
|
53230
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/modify-ec2-instance-connect-endpoint.html
|
53231
|
+
#
|
53232
|
+
# @option params [Boolean] :dry_run
|
53233
|
+
# Checks whether you have the required permissions for the operation,
|
53234
|
+
# without actually making the request, and provides an error response.
|
53235
|
+
# If you have the required permissions, the error response is
|
53236
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
53237
|
+
#
|
53238
|
+
# @option params [required, String] :instance_connect_endpoint_id
|
53239
|
+
# The ID of the EC2 Instance Connect Endpoint to modify.
|
53240
|
+
#
|
53241
|
+
# @option params [String] :ip_address_type
|
53242
|
+
# The new IP address type for the EC2 Instance Connect Endpoint.
|
53243
|
+
#
|
53244
|
+
# <note markdown="1"> `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect
|
53245
|
+
# Endpoints. To use `PreserveClientIp`, the value for `IpAddressType`
|
53246
|
+
# must be `ipv4`.
|
53247
|
+
#
|
53248
|
+
# </note>
|
53249
|
+
#
|
53250
|
+
# @option params [Array<String>] :security_group_ids
|
53251
|
+
# Changes the security groups for the EC2 Instance Connect Endpoint. The
|
53252
|
+
# new set of groups you specify replaces the current set. You must
|
53253
|
+
# specify at least one group, even if it's just the default security
|
53254
|
+
# group in the VPC. You must specify the ID of the security group, not
|
53255
|
+
# the name.
|
53256
|
+
#
|
53257
|
+
# @option params [Boolean] :preserve_client_ip
|
53258
|
+
# Indicates whether the client IP address is preserved as the source.
|
53259
|
+
# The following are the possible values.
|
53260
|
+
#
|
53261
|
+
# * `true` - Use the client IP address as the source.
|
53262
|
+
#
|
53263
|
+
# * `false` - Use the network interface IP address as the source.
|
53264
|
+
#
|
53265
|
+
# <note markdown="1"> `PreserveClientIp=true` is only supported on IPv4 EC2 Instance Connect
|
53266
|
+
# Endpoints. If modifying `PreserveClientIp` to `true`, either the
|
53267
|
+
# endpoint's existing `IpAddressType` must be `ipv4`, or if modifying
|
53268
|
+
# `IpAddressType` in the same request, the new value must be `ipv4`.
|
53269
|
+
#
|
53270
|
+
# </note>
|
53271
|
+
#
|
53272
|
+
# Default: `false`
|
53273
|
+
#
|
53274
|
+
# @return [Types::ModifyInstanceConnectEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
53275
|
+
#
|
53276
|
+
# * {Types::ModifyInstanceConnectEndpointResult#return #return} => Boolean
|
53277
|
+
#
|
53278
|
+
# @example Request syntax with placeholder values
|
53279
|
+
#
|
53280
|
+
# resp = client.modify_instance_connect_endpoint({
|
53281
|
+
# dry_run: false,
|
53282
|
+
# instance_connect_endpoint_id: "InstanceConnectEndpointId", # required
|
53283
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack, ipv6
|
53284
|
+
# security_group_ids: ["SecurityGroupId"],
|
53285
|
+
# preserve_client_ip: false,
|
53286
|
+
# })
|
53287
|
+
#
|
53288
|
+
# @example Response structure
|
53289
|
+
#
|
53290
|
+
# resp.return #=> Boolean
|
53291
|
+
#
|
53292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpoint AWS API Documentation
|
53293
|
+
#
|
53294
|
+
# @overload modify_instance_connect_endpoint(params = {})
|
53295
|
+
# @param [Hash] params ({})
|
53296
|
+
def modify_instance_connect_endpoint(params = {}, options = {})
|
53297
|
+
req = build_request(:modify_instance_connect_endpoint, params)
|
53298
|
+
req.send_request(options)
|
53299
|
+
end
|
53300
|
+
|
53215
53301
|
# By default, all vCPUs for the instance type are active when you launch
|
53216
53302
|
# an instance. When you configure the number of active vCPUs for the
|
53217
53303
|
# instance, it can help you save on licensing costs and optimize
|
@@ -58403,10 +58489,9 @@ module Aws::EC2
|
|
58403
58489
|
# EC2-VPC platform. The Elastic IP address must be allocated to your
|
58404
58490
|
# account for more than 24 hours, and it must not be associated with an
|
58405
58491
|
# 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.
|
58492
|
+
# available for use in the EC2-Classic platform. You cannot move an
|
58493
|
+
# Elastic IP address that was originally allocated for use in the
|
58494
|
+
# EC2-VPC platform to the EC2-Classic platform.
|
58410
58495
|
#
|
58411
58496
|
# @option params [Boolean] :dry_run
|
58412
58497
|
# Checks whether you have the required permissions for the action,
|
@@ -58664,7 +58749,7 @@ module Aws::EC2
|
|
58664
58749
|
# Provisions an IPv4 or IPv6 address range for use with your Amazon Web
|
58665
58750
|
# Services resources through bring your own IP addresses (BYOIP) and
|
58666
58751
|
# creates a corresponding address pool. After the address range is
|
58667
|
-
# provisioned, it is ready to be advertised
|
58752
|
+
# provisioned, it is ready to be advertised.
|
58668
58753
|
#
|
58669
58754
|
# Amazon Web Services verifies that you own the address range and are
|
58670
58755
|
# authorized to advertise it. You must ensure that the address range is
|
@@ -58675,15 +58760,13 @@ module Aws::EC2
|
|
58675
58760
|
#
|
58676
58761
|
# Provisioning an address range is an asynchronous operation, so the
|
58677
58762
|
# 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.
|
58763
|
+
# until its status changes from `pending-provision` to `provisioned`.
|
58764
|
+
# For more information, see [Onboard your address range][2].
|
58683
58765
|
#
|
58684
58766
|
#
|
58685
58767
|
#
|
58686
58768
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
|
58769
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/byoip-onboard.html
|
58687
58770
|
#
|
58688
58771
|
# @option params [required, String] :cidr
|
58689
58772
|
# The public IPv4 or IPv6 address range, in CIDR notation. The most
|
@@ -59489,13 +59572,6 @@ module Aws::EC2
|
|
59489
59572
|
# snapshot][1] and [Create an instance-store backed AMI][2] in the
|
59490
59573
|
# *Amazon EC2 User Guide*.
|
59491
59574
|
#
|
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
59575
|
# If needed, you can deregister an AMI at any time. Any modifications
|
59500
59576
|
# you make to an AMI backed by an instance store volume invalidates its
|
59501
59577
|
# registration. If you make changes to an image, deregister the previous
|
@@ -59529,17 +59605,17 @@ module Aws::EC2
|
|
59529
59605
|
# field is empty or doesn't match the expected operating system code
|
59530
59606
|
# (for example, Windows, RedHat, SUSE, or SQL), the AMI creation was
|
59531
59607
|
# unsuccessful, and you should discard the AMI and instead create the
|
59532
|
-
# AMI from an instance
|
59533
|
-
#
|
59608
|
+
# AMI from an instance. For more information, see [Create an AMI from an
|
59609
|
+
# instance ][5] in the *Amazon EC2 User Guide*.
|
59534
59610
|
#
|
59535
59611
|
# If you purchase a Reserved Instance to apply to an On-Demand Instance
|
59536
59612
|
# that was launched from an AMI with a billing product code, make sure
|
59537
59613
|
# that the Reserved Instance has the matching billing product code. If
|
59538
59614
|
# you purchase a Reserved Instance without the matching billing product
|
59539
|
-
# code, the Reserved Instance
|
59540
|
-
#
|
59541
|
-
#
|
59542
|
-
#
|
59615
|
+
# code, the Reserved Instance is not applied to the On-Demand Instance.
|
59616
|
+
# For information about how to obtain the platform details and billing
|
59617
|
+
# information of an AMI, see [Understand AMI billing information][4] in
|
59618
|
+
# the *Amazon EC2 User Guide*.
|
59543
59619
|
#
|
59544
59620
|
#
|
59545
59621
|
#
|
@@ -60234,13 +60310,13 @@ module Aws::EC2
|
|
60234
60310
|
# Releases the specified Elastic IP address.
|
60235
60311
|
#
|
60236
60312
|
# \[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
|
-
#
|
60313
|
+
# disassociates it from any instance that it's associated with.
|
60314
|
+
# Alternatively, you can disassociate an Elastic IP address without
|
60315
|
+
# releasing it.
|
60240
60316
|
#
|
60241
|
-
# \[Nondefault VPC\] You must
|
60242
|
-
#
|
60243
|
-
#
|
60317
|
+
# \[Nondefault VPC\] You must disassociate the Elastic IP address before
|
60318
|
+
# you can release it. Otherwise, Amazon EC2 returns an error
|
60319
|
+
# (`InvalidIPAddress.InUse`).
|
60244
60320
|
#
|
60245
60321
|
# After releasing an Elastic IP address, it is released to the IP
|
60246
60322
|
# address pool. Be sure to update your DNS records and any servers or
|
@@ -60250,7 +60326,11 @@ module Aws::EC2
|
|
60250
60326
|
# Amazon Web Services account.
|
60251
60327
|
#
|
60252
60328
|
# After you release an Elastic IP address, you might be able to recover
|
60253
|
-
# it. For more information, see
|
60329
|
+
# it. For more information, see [Release an Elastic IP address][1].
|
60330
|
+
#
|
60331
|
+
#
|
60332
|
+
#
|
60333
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing-eips-releasing.html
|
60254
60334
|
#
|
60255
60335
|
# @option params [String] :allocation_id
|
60256
60336
|
# The allocation ID. This parameter is required.
|
@@ -64329,10 +64409,10 @@ module Aws::EC2
|
|
64329
64409
|
# Services Organization).
|
64330
64410
|
#
|
64331
64411
|
# The report is saved to your specified S3 bucket, using the following
|
64332
|
-
# path structure (with the
|
64412
|
+
# path structure (with the capitalized placeholders representing your
|
64333
64413
|
# specific values):
|
64334
64414
|
#
|
64335
|
-
# `s3://
|
64415
|
+
# `s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv`
|
64336
64416
|
#
|
64337
64417
|
# **Prerequisites for generating a report**
|
64338
64418
|
#
|
@@ -66518,7 +66598,7 @@ module Aws::EC2
|
|
66518
66598
|
tracer: tracer
|
66519
66599
|
)
|
66520
66600
|
context[:gem_name] = 'aws-sdk-ec2'
|
66521
|
-
context[:gem_version] = '1.
|
66601
|
+
context[:gem_version] = '1.549.0'
|
66522
66602
|
Seahorse::Client::Request.new(handlers, context)
|
66523
66603
|
end
|
66524
66604
|
|
@@ -1872,8 +1872,10 @@ module Aws::EC2
|
|
1872
1872
|
InstanceBlockDeviceMappingSpecificationList = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappingSpecificationList')
|
1873
1873
|
InstanceBootModeValues = Shapes::StringShape.new(name: 'InstanceBootModeValues')
|
1874
1874
|
InstanceCapacity = Shapes::StructureShape.new(name: 'InstanceCapacity')
|
1875
|
+
InstanceConnectEndpointDnsNames = Shapes::StructureShape.new(name: 'InstanceConnectEndpointDnsNames')
|
1875
1876
|
InstanceConnectEndpointId = Shapes::StringShape.new(name: 'InstanceConnectEndpointId')
|
1876
1877
|
InstanceConnectEndpointMaxResults = Shapes::IntegerShape.new(name: 'InstanceConnectEndpointMaxResults')
|
1878
|
+
InstanceConnectEndpointPublicDnsNames = Shapes::StructureShape.new(name: 'InstanceConnectEndpointPublicDnsNames')
|
1877
1879
|
InstanceConnectEndpointSet = Shapes::ListShape.new(name: 'InstanceConnectEndpointSet')
|
1878
1880
|
InstanceCount = Shapes::StructureShape.new(name: 'InstanceCount')
|
1879
1881
|
InstanceCountList = Shapes::ListShape.new(name: 'InstanceCountList')
|
@@ -2348,6 +2350,8 @@ module Aws::EC2
|
|
2348
2350
|
ModifyInstanceAttributeRequest = Shapes::StructureShape.new(name: 'ModifyInstanceAttributeRequest')
|
2349
2351
|
ModifyInstanceCapacityReservationAttributesRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCapacityReservationAttributesRequest')
|
2350
2352
|
ModifyInstanceCapacityReservationAttributesResult = Shapes::StructureShape.new(name: 'ModifyInstanceCapacityReservationAttributesResult')
|
2353
|
+
ModifyInstanceConnectEndpointRequest = Shapes::StructureShape.new(name: 'ModifyInstanceConnectEndpointRequest')
|
2354
|
+
ModifyInstanceConnectEndpointResult = Shapes::StructureShape.new(name: 'ModifyInstanceConnectEndpointResult')
|
2351
2355
|
ModifyInstanceCpuOptionsRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCpuOptionsRequest')
|
2352
2356
|
ModifyInstanceCpuOptionsResult = Shapes::StructureShape.new(name: 'ModifyInstanceCpuOptionsResult')
|
2353
2357
|
ModifyInstanceCreditSpecificationRequest = Shapes::StructureShape.new(name: 'ModifyInstanceCreditSpecificationRequest')
|
@@ -4101,6 +4105,7 @@ module Aws::EC2
|
|
4101
4105
|
AssociateRouteServerResult.struct_class = Types::AssociateRouteServerResult
|
4102
4106
|
|
4103
4107
|
AssociateRouteTableRequest.add_member(:gateway_id, Shapes::ShapeRef.new(shape: RouteGatewayId, location_name: "GatewayId"))
|
4108
|
+
AssociateRouteTableRequest.add_member(:public_ipv_4_pool, Shapes::ShapeRef.new(shape: Ipv4PoolEc2Id, location_name: "PublicIpv4Pool"))
|
4104
4109
|
AssociateRouteTableRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4105
4110
|
AssociateRouteTableRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
|
4106
4111
|
AssociateRouteTableRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
@@ -9422,6 +9427,7 @@ module Aws::EC2
|
|
9422
9427
|
Ec2InstanceConnectEndpoint.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdSet, location_name: "securityGroupIdSet"))
|
9423
9428
|
Ec2InstanceConnectEndpoint.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
9424
9429
|
Ec2InstanceConnectEndpoint.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
9430
|
+
Ec2InstanceConnectEndpoint.add_member(:public_dns_names, Shapes::ShapeRef.new(shape: InstanceConnectEndpointPublicDnsNames, location_name: "publicDnsNames"))
|
9425
9431
|
Ec2InstanceConnectEndpoint.struct_class = Types::Ec2InstanceConnectEndpoint
|
9426
9432
|
|
9427
9433
|
EfaInfo.add_member(:maximum_efa_interfaces, Shapes::ShapeRef.new(shape: MaximumEfaInterfaces, location_name: "maximumEfaInterfaces"))
|
@@ -11276,6 +11282,14 @@ module Aws::EC2
|
|
11276
11282
|
InstanceCapacity.add_member(:total_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalCapacity"))
|
11277
11283
|
InstanceCapacity.struct_class = Types::InstanceCapacity
|
11278
11284
|
|
11285
|
+
InstanceConnectEndpointDnsNames.add_member(:dns_name, Shapes::ShapeRef.new(shape: String, location_name: "dnsName"))
|
11286
|
+
InstanceConnectEndpointDnsNames.add_member(:fips_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "fipsDnsName"))
|
11287
|
+
InstanceConnectEndpointDnsNames.struct_class = Types::InstanceConnectEndpointDnsNames
|
11288
|
+
|
11289
|
+
InstanceConnectEndpointPublicDnsNames.add_member(:ipv_4, Shapes::ShapeRef.new(shape: InstanceConnectEndpointDnsNames, location_name: "ipv4"))
|
11290
|
+
InstanceConnectEndpointPublicDnsNames.add_member(:dualstack, Shapes::ShapeRef.new(shape: InstanceConnectEndpointDnsNames, location_name: "dualstack"))
|
11291
|
+
InstanceConnectEndpointPublicDnsNames.struct_class = Types::InstanceConnectEndpointPublicDnsNames
|
11292
|
+
|
11279
11293
|
InstanceConnectEndpointSet.member = Shapes::ShapeRef.new(shape: Ec2InstanceConnectEndpoint, location_name: "item")
|
11280
11294
|
|
11281
11295
|
InstanceCount.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
|
@@ -12914,6 +12928,16 @@ module Aws::EC2
|
|
12914
12928
|
ModifyInstanceCapacityReservationAttributesResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
12915
12929
|
ModifyInstanceCapacityReservationAttributesResult.struct_class = Types::ModifyInstanceCapacityReservationAttributesResult
|
12916
12930
|
|
12931
|
+
ModifyInstanceConnectEndpointRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12932
|
+
ModifyInstanceConnectEndpointRequest.add_member(:instance_connect_endpoint_id, Shapes::ShapeRef.new(shape: InstanceConnectEndpointId, required: true, location_name: "InstanceConnectEndpointId"))
|
12933
|
+
ModifyInstanceConnectEndpointRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
12934
|
+
ModifyInstanceConnectEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdStringListRequest, location_name: "SecurityGroupId"))
|
12935
|
+
ModifyInstanceConnectEndpointRequest.add_member(:preserve_client_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "PreserveClientIp"))
|
12936
|
+
ModifyInstanceConnectEndpointRequest.struct_class = Types::ModifyInstanceConnectEndpointRequest
|
12937
|
+
|
12938
|
+
ModifyInstanceConnectEndpointResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
12939
|
+
ModifyInstanceConnectEndpointResult.struct_class = Types::ModifyInstanceConnectEndpointResult
|
12940
|
+
|
12917
12941
|
ModifyInstanceCpuOptionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
12918
12942
|
ModifyInstanceCpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "CoreCount"))
|
12919
12943
|
ModifyInstanceCpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ThreadsPerCore"))
|
@@ -15358,6 +15382,7 @@ module Aws::EC2
|
|
15358
15382
|
RouteTableAssociation.add_member(:route_table_id, Shapes::ShapeRef.new(shape: String, location_name: "routeTableId"))
|
15359
15383
|
RouteTableAssociation.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
15360
15384
|
RouteTableAssociation.add_member(:gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "gatewayId"))
|
15385
|
+
RouteTableAssociation.add_member(:public_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "publicIpv4Pool"))
|
15361
15386
|
RouteTableAssociation.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
|
15362
15387
|
RouteTableAssociation.struct_class = Types::RouteTableAssociation
|
15363
15388
|
|
@@ -23022,6 +23047,14 @@ module Aws::EC2
|
|
23022
23047
|
o.output = Shapes::ShapeRef.new(shape: ModifyInstanceCapacityReservationAttributesResult)
|
23023
23048
|
end)
|
23024
23049
|
|
23050
|
+
api.add_operation(:modify_instance_connect_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
23051
|
+
o.name = "ModifyInstanceConnectEndpoint"
|
23052
|
+
o.http_method = "POST"
|
23053
|
+
o.http_request_uri = "/"
|
23054
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyInstanceConnectEndpointRequest)
|
23055
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyInstanceConnectEndpointResult)
|
23056
|
+
end)
|
23057
|
+
|
23025
23058
|
api.add_operation(:modify_instance_cpu_options, Seahorse::Model::Operation.new.tap do |o|
|
23026
23059
|
o.name = "ModifyInstanceCpuOptions"
|
23027
23060
|
o.http_method = "POST"
|
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
|
@@ -31558,9 +31564,6 @@ module Aws::EC2
|
|
31558
31564
|
#
|
31559
31565
|
# * `resource-configuration-group-arn` - The Amazon Resource Name
|
31560
31566
|
# (ARN) of the resource configuration of type GROUP.
|
31561
|
-
#
|
31562
|
-
# * `service-network-resource-association-id` - The ID of the
|
31563
|
-
# association.
|
31564
31567
|
# @return [Array<Types::Filter>]
|
31565
31568
|
#
|
31566
31569
|
# @!attribute [rw] max_results
|
@@ -35076,6 +35079,10 @@ module Aws::EC2
|
|
35076
35079
|
# The IP address type of the endpoint.
|
35077
35080
|
# @return [String]
|
35078
35081
|
#
|
35082
|
+
# @!attribute [rw] public_dns_names
|
35083
|
+
# The public DNS names of the endpoint.
|
35084
|
+
# @return [Types::InstanceConnectEndpointPublicDnsNames]
|
35085
|
+
#
|
35079
35086
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ec2InstanceConnectEndpoint AWS API Documentation
|
35080
35087
|
#
|
35081
35088
|
class Ec2InstanceConnectEndpoint < Struct.new(
|
@@ -35094,7 +35101,8 @@ module Aws::EC2
|
|
35094
35101
|
:preserve_client_ip,
|
35095
35102
|
:security_group_ids,
|
35096
35103
|
:tags,
|
35097
|
-
:ip_address_type
|
35104
|
+
:ip_address_type,
|
35105
|
+
:public_dns_names)
|
35098
35106
|
SENSITIVE = []
|
35099
35107
|
include Aws::Structure
|
35100
35108
|
end
|
@@ -43027,32 +43035,10 @@ module Aws::EC2
|
|
43027
43035
|
#
|
43028
43036
|
# @!attribute [rw] source_image_id
|
43029
43037
|
# 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
43038
|
# @return [String]
|
43042
43039
|
#
|
43043
43040
|
# @!attribute [rw] source_image_region
|
43044
43041
|
# 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
43042
|
# @return [String]
|
43057
43043
|
#
|
43058
43044
|
# @!attribute [rw] free_tier_eligible
|
@@ -45204,6 +45190,48 @@ module Aws::EC2
|
|
45204
45190
|
include Aws::Structure
|
45205
45191
|
end
|
45206
45192
|
|
45193
|
+
# The DNS names of the endpoint.
|
45194
|
+
#
|
45195
|
+
# @!attribute [rw] dns_name
|
45196
|
+
# The DNS name of the EC2 Instance Connect Endpoint.
|
45197
|
+
# @return [String]
|
45198
|
+
#
|
45199
|
+
# @!attribute [rw] fips_dns_name
|
45200
|
+
# The Federal Information Processing Standards (FIPS) compliant DNS
|
45201
|
+
# name of the EC2 Instance Connect Endpoint.
|
45202
|
+
# @return [String]
|
45203
|
+
#
|
45204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceConnectEndpointDnsNames AWS API Documentation
|
45205
|
+
#
|
45206
|
+
class InstanceConnectEndpointDnsNames < Struct.new(
|
45207
|
+
:dns_name,
|
45208
|
+
:fips_dns_name)
|
45209
|
+
SENSITIVE = []
|
45210
|
+
include Aws::Structure
|
45211
|
+
end
|
45212
|
+
|
45213
|
+
# The public DNS names of the endpoint, including IPv4-only and
|
45214
|
+
# dualstack DNS names.
|
45215
|
+
#
|
45216
|
+
# @!attribute [rw] ipv_4
|
45217
|
+
# The IPv4-only DNS name of the EC2 Instance Connect Endpoint.
|
45218
|
+
# @return [Types::InstanceConnectEndpointDnsNames]
|
45219
|
+
#
|
45220
|
+
# @!attribute [rw] dualstack
|
45221
|
+
# The dualstack DNS name of the EC2 Instance Connect Endpoint. A
|
45222
|
+
# dualstack DNS name supports connections from both IPv4 and IPv6
|
45223
|
+
# clients.
|
45224
|
+
# @return [Types::InstanceConnectEndpointDnsNames]
|
45225
|
+
#
|
45226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceConnectEndpointPublicDnsNames AWS API Documentation
|
45227
|
+
#
|
45228
|
+
class InstanceConnectEndpointPublicDnsNames < Struct.new(
|
45229
|
+
:ipv_4,
|
45230
|
+
:dualstack)
|
45231
|
+
SENSITIVE = []
|
45232
|
+
include Aws::Structure
|
45233
|
+
end
|
45234
|
+
|
45207
45235
|
# Describes a Reserved Instance listing state.
|
45208
45236
|
#
|
45209
45237
|
# @!attribute [rw] instance_count
|
@@ -54612,6 +54640,80 @@ module Aws::EC2
|
|
54612
54640
|
include Aws::Structure
|
54613
54641
|
end
|
54614
54642
|
|
54643
|
+
# @!attribute [rw] dry_run
|
54644
|
+
# Checks whether you have the required permissions for the operation,
|
54645
|
+
# without actually making the request, and provides an error response.
|
54646
|
+
# If you have the required permissions, the error response is
|
54647
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
54648
|
+
# @return [Boolean]
|
54649
|
+
#
|
54650
|
+
# @!attribute [rw] instance_connect_endpoint_id
|
54651
|
+
# The ID of the EC2 Instance Connect Endpoint to modify.
|
54652
|
+
# @return [String]
|
54653
|
+
#
|
54654
|
+
# @!attribute [rw] ip_address_type
|
54655
|
+
# The new IP address type for the EC2 Instance Connect Endpoint.
|
54656
|
+
#
|
54657
|
+
# <note markdown="1"> `PreserveClientIp` is only supported on IPv4 EC2 Instance Connect
|
54658
|
+
# Endpoints. To use `PreserveClientIp`, the value for `IpAddressType`
|
54659
|
+
# must be `ipv4`.
|
54660
|
+
#
|
54661
|
+
# </note>
|
54662
|
+
# @return [String]
|
54663
|
+
#
|
54664
|
+
# @!attribute [rw] security_group_ids
|
54665
|
+
# Changes the security groups for the EC2 Instance Connect Endpoint.
|
54666
|
+
# The new set of groups you specify replaces the current set. You must
|
54667
|
+
# specify at least one group, even if it's just the default security
|
54668
|
+
# group in the VPC. You must specify the ID of the security group, not
|
54669
|
+
# the name.
|
54670
|
+
# @return [Array<String>]
|
54671
|
+
#
|
54672
|
+
# @!attribute [rw] preserve_client_ip
|
54673
|
+
# Indicates whether the client IP address is preserved as the source.
|
54674
|
+
# The following are the possible values.
|
54675
|
+
#
|
54676
|
+
# * `true` - Use the client IP address as the source.
|
54677
|
+
#
|
54678
|
+
# * `false` - Use the network interface IP address as the source.
|
54679
|
+
#
|
54680
|
+
# <note markdown="1"> `PreserveClientIp=true` is only supported on IPv4 EC2 Instance
|
54681
|
+
# Connect Endpoints. If modifying `PreserveClientIp` to `true`, either
|
54682
|
+
# the endpoint's existing `IpAddressType` must be `ipv4`, or if
|
54683
|
+
# modifying `IpAddressType` in the same request, the new value must be
|
54684
|
+
# `ipv4`.
|
54685
|
+
#
|
54686
|
+
# </note>
|
54687
|
+
#
|
54688
|
+
# Default: `false`
|
54689
|
+
# @return [Boolean]
|
54690
|
+
#
|
54691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointRequest AWS API Documentation
|
54692
|
+
#
|
54693
|
+
class ModifyInstanceConnectEndpointRequest < Struct.new(
|
54694
|
+
:dry_run,
|
54695
|
+
:instance_connect_endpoint_id,
|
54696
|
+
:ip_address_type,
|
54697
|
+
:security_group_ids,
|
54698
|
+
:preserve_client_ip)
|
54699
|
+
SENSITIVE = []
|
54700
|
+
include Aws::Structure
|
54701
|
+
end
|
54702
|
+
|
54703
|
+
# @!attribute [rw] return
|
54704
|
+
# The return value of the request. Returns `true` if the specified
|
54705
|
+
# product code is owned by the requester and associated with the
|
54706
|
+
# specified instance.
|
54707
|
+
# @return [Boolean]
|
54708
|
+
#
|
54709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceConnectEndpointResult AWS API Documentation
|
54710
|
+
#
|
54711
|
+
class ModifyInstanceConnectEndpointResult < Struct.new(
|
54712
|
+
:return)
|
54713
|
+
SENSITIVE = []
|
54714
|
+
include Aws::Structure
|
54715
|
+
end
|
54716
|
+
|
54615
54717
|
# @!attribute [rw] instance_id
|
54616
54718
|
# The ID of the instance to update.
|
54617
54719
|
# @return [String]
|
@@ -67488,6 +67590,11 @@ module Aws::EC2
|
|
67488
67590
|
# The ID of the internet gateway or virtual private gateway.
|
67489
67591
|
# @return [String]
|
67490
67592
|
#
|
67593
|
+
# @!attribute [rw] public_ipv_4_pool
|
67594
|
+
# The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4
|
67595
|
+
# addresses that you've brought to Amazon Web Services with BYOIP.
|
67596
|
+
# @return [String]
|
67597
|
+
#
|
67491
67598
|
# @!attribute [rw] association_state
|
67492
67599
|
# The state of the association.
|
67493
67600
|
# @return [Types::RouteTableAssociationState]
|
@@ -67500,6 +67607,7 @@ module Aws::EC2
|
|
67500
67607
|
:route_table_id,
|
67501
67608
|
:subnet_id,
|
67502
67609
|
:gateway_id,
|
67610
|
+
:public_ipv_4_pool,
|
67503
67611
|
:association_state)
|
67504
67612
|
SENSITIVE = []
|
67505
67613
|
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
|
@@ -11197,6 +11198,20 @@ module Aws
|
|
11197
11198
|
) -> _ModifyInstanceCapacityReservationAttributesResponseSuccess
|
11198
11199
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceCapacityReservationAttributesResponseSuccess
|
11199
11200
|
|
11201
|
+
interface _ModifyInstanceConnectEndpointResponseSuccess
|
11202
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceConnectEndpointResult]
|
11203
|
+
def return: () -> bool
|
11204
|
+
end
|
11205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_instance_connect_endpoint-instance_method
|
11206
|
+
def modify_instance_connect_endpoint: (
|
11207
|
+
?dry_run: bool,
|
11208
|
+
instance_connect_endpoint_id: ::String,
|
11209
|
+
?ip_address_type: ("ipv4" | "dualstack" | "ipv6"),
|
11210
|
+
?security_group_ids: Array[::String],
|
11211
|
+
?preserve_client_ip: bool
|
11212
|
+
) -> _ModifyInstanceConnectEndpointResponseSuccess
|
11213
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceConnectEndpointResponseSuccess
|
11214
|
+
|
11200
11215
|
interface _ModifyInstanceCpuOptionsResponseSuccess
|
11201
11216
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceCpuOptionsResult]
|
11202
11217
|
def instance_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
|
@@ -7686,7 +7687,7 @@ module Aws::EC2
|
|
7686
7687
|
attr_accessor owner_id: ::String
|
7687
7688
|
attr_accessor instance_connect_endpoint_id: ::String
|
7688
7689
|
attr_accessor instance_connect_endpoint_arn: ::String
|
7689
|
-
attr_accessor state: ("create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed")
|
7690
|
+
attr_accessor state: ("create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "update-in-progress" | "update-complete" | "update-failed")
|
7690
7691
|
attr_accessor state_message: ::String
|
7691
7692
|
attr_accessor dns_name: ::String
|
7692
7693
|
attr_accessor fips_dns_name: ::String
|
@@ -7699,6 +7700,7 @@ module Aws::EC2
|
|
7699
7700
|
attr_accessor security_group_ids: ::Array[::String]
|
7700
7701
|
attr_accessor tags: ::Array[Types::Tag]
|
7701
7702
|
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "ipv6")
|
7703
|
+
attr_accessor public_dns_names: Types::InstanceConnectEndpointPublicDnsNames
|
7702
7704
|
SENSITIVE: []
|
7703
7705
|
end
|
7704
7706
|
|
@@ -9954,6 +9956,18 @@ module Aws::EC2
|
|
9954
9956
|
SENSITIVE: []
|
9955
9957
|
end
|
9956
9958
|
|
9959
|
+
class InstanceConnectEndpointDnsNames
|
9960
|
+
attr_accessor dns_name: ::String
|
9961
|
+
attr_accessor fips_dns_name: ::String
|
9962
|
+
SENSITIVE: []
|
9963
|
+
end
|
9964
|
+
|
9965
|
+
class InstanceConnectEndpointPublicDnsNames
|
9966
|
+
attr_accessor ipv_4: Types::InstanceConnectEndpointDnsNames
|
9967
|
+
attr_accessor dualstack: Types::InstanceConnectEndpointDnsNames
|
9968
|
+
SENSITIVE: []
|
9969
|
+
end
|
9970
|
+
|
9957
9971
|
class InstanceCount
|
9958
9972
|
attr_accessor instance_count: ::Integer
|
9959
9973
|
attr_accessor state: ("available" | "sold" | "cancelled" | "pending")
|
@@ -11744,6 +11758,20 @@ module Aws::EC2
|
|
11744
11758
|
SENSITIVE: []
|
11745
11759
|
end
|
11746
11760
|
|
11761
|
+
class ModifyInstanceConnectEndpointRequest
|
11762
|
+
attr_accessor dry_run: bool
|
11763
|
+
attr_accessor instance_connect_endpoint_id: ::String
|
11764
|
+
attr_accessor ip_address_type: ("ipv4" | "dualstack" | "ipv6")
|
11765
|
+
attr_accessor security_group_ids: ::Array[::String]
|
11766
|
+
attr_accessor preserve_client_ip: bool
|
11767
|
+
SENSITIVE: []
|
11768
|
+
end
|
11769
|
+
|
11770
|
+
class ModifyInstanceConnectEndpointResult
|
11771
|
+
attr_accessor return: bool
|
11772
|
+
SENSITIVE: []
|
11773
|
+
end
|
11774
|
+
|
11747
11775
|
class ModifyInstanceCpuOptionsRequest
|
11748
11776
|
attr_accessor instance_id: ::String
|
11749
11777
|
attr_accessor core_count: ::Integer
|
@@ -14627,6 +14655,7 @@ module Aws::EC2
|
|
14627
14655
|
attr_accessor route_table_id: ::String
|
14628
14656
|
attr_accessor subnet_id: ::String
|
14629
14657
|
attr_accessor gateway_id: ::String
|
14658
|
+
attr_accessor public_ipv_4_pool: ::String
|
14630
14659
|
attr_accessor association_state: Types::RouteTableAssociationState
|
14631
14660
|
SENSITIVE: []
|
14632
14661
|
end
|