aws-sdk-ec2 1.530.0 → 1.532.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/classic_address.rb +6 -0
- data/lib/aws-sdk-ec2/client.rb +101 -37
- data/lib/aws-sdk-ec2/client_api.rb +13 -0
- data/lib/aws-sdk-ec2/instance.rb +26 -3
- data/lib/aws-sdk-ec2/network_interface.rb +9 -0
- data/lib/aws-sdk-ec2/resource.rb +5 -1
- data/lib/aws-sdk-ec2/subnet.rb +23 -1
- data/lib/aws-sdk-ec2/types.rb +97 -9
- data/lib/aws-sdk-ec2/vpc.rb +1 -1
- data/lib/aws-sdk-ec2/vpc_address.rb +6 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +3 -0
- data/sig/client.rbs +17 -5
- data/sig/instance.rbs +4 -1
- data/sig/network_interface.rbs +4 -0
- data/sig/resource.rbs +6 -2
- data/sig/subnet.rbs +7 -2
- data/sig/types.rbs +8 -1
- data/sig/vpc_address.rbs +3 -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: a0cbc9827f09e17e71aceb6b92ec0b0c3717b3ae2a28c708721a66e542c65d30
|
4
|
+
data.tar.gz: e257474d08670dd887bc68e155428ef91b48a01ac3c28511a5c15b9cd303df6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb02cc2756a5899bcd72de179f026069013a83005c628a766104846b122c1abf9a4b4e509a6e0514693c792a1c9a3223c290a3ace931528883cde42fb43d3b5
|
7
|
+
data.tar.gz: b790ef40b440fa18027c41692f06a379db609e7c9583988e402f0e3c88d73707425485815fa341e718955dc2e37acaebb82560e8a5d42530c74237337a1997b3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.532.0 (2025-06-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release allows you to create and register AMIs while maintaining their underlying EBS snapshots within Local Zones.
|
8
|
+
|
9
|
+
1.531.0 (2025-06-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Release to support Elastic VMware Service (Amazon EVS) Subnet and Amazon EVS Network Interface Types.
|
13
|
+
|
4
14
|
1.530.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.532.0
|
@@ -111,6 +111,12 @@ module Aws::EC2
|
|
111
111
|
data[:carrier_ip]
|
112
112
|
end
|
113
113
|
|
114
|
+
# The ID of the subnet where the IP address is allocated.
|
115
|
+
# @return [String]
|
116
|
+
def subnet_id
|
117
|
+
data[:subnet_id]
|
118
|
+
end
|
119
|
+
|
114
120
|
# The service that manages the elastic IP address.
|
115
121
|
#
|
116
122
|
# <note markdown="1"> The only option supported today is `alb`.
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3305,15 +3305,19 @@ module Aws::EC2
|
|
3305
3305
|
req.send_request(options)
|
3306
3306
|
end
|
3307
3307
|
|
3308
|
-
# Attaches an EBS volume to a running or stopped instance
|
3309
|
-
# to the instance with the specified device name.
|
3308
|
+
# Attaches an Amazon EBS volume to a `running` or `stopped` instance,
|
3309
|
+
# and exposes it to the instance with the specified device name.
|
3310
3310
|
#
|
3311
|
-
#
|
3312
|
-
#
|
3313
|
-
#
|
3311
|
+
# <note markdown="1"> The maximum number of Amazon EBS volumes that you can attach to an
|
3312
|
+
# instance depends on the instance type. If you exceed the volume
|
3313
|
+
# attachment limit for an instance type, the attachment request fails
|
3314
|
+
# with the `AttachmentLimitExceeded` error. For more information, see
|
3315
|
+
# [Instance volume limits][1].
|
3314
3316
|
#
|
3315
|
-
#
|
3316
|
-
#
|
3317
|
+
# </note>
|
3318
|
+
#
|
3319
|
+
# After you attach an EBS volume, you must make it available for use.
|
3320
|
+
# For more information, see [Make an EBS volume available for use][2].
|
3317
3321
|
#
|
3318
3322
|
# If a volume has an Amazon Web Services Marketplace product code:
|
3319
3323
|
#
|
@@ -3333,7 +3337,7 @@ module Aws::EC2
|
|
3333
3337
|
#
|
3334
3338
|
#
|
3335
3339
|
#
|
3336
|
-
# [1]: https://docs.aws.amazon.com/
|
3340
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html
|
3337
3341
|
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html
|
3338
3342
|
# [3]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-attaching-volume.html
|
3339
3343
|
#
|
@@ -6586,8 +6590,9 @@ module Aws::EC2
|
|
6586
6590
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
6587
6591
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
6588
6592
|
# resp.subnet.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
6593
|
+
# resp.subnet.type #=> String
|
6589
6594
|
# resp.subnet.subnet_id #=> String
|
6590
|
-
# resp.subnet.state #=> String, one of "pending", "available", "unavailable"
|
6595
|
+
# resp.subnet.state #=> String, one of "pending", "available", "unavailable", "failed", "failed-insufficient-capacity"
|
6591
6596
|
# resp.subnet.vpc_id #=> String
|
6592
6597
|
# resp.subnet.cidr_block #=> String
|
6593
6598
|
# resp.subnet.available_ip_address_count #=> Integer
|
@@ -7765,6 +7770,15 @@ module Aws::EC2
|
|
7765
7770
|
# launch an instance from this new AMI, the instance automatically
|
7766
7771
|
# launches with those additional volumes.
|
7767
7772
|
#
|
7773
|
+
# The location of the source instance determines where you can create
|
7774
|
+
# the snapshots of the AMI:
|
7775
|
+
#
|
7776
|
+
# * If the source instance is in a Region, you must create the snapshots
|
7777
|
+
# in the same Region as the instance.
|
7778
|
+
#
|
7779
|
+
# * If the source instance is in a Local Zone, you can create the
|
7780
|
+
# snapshots in the same Local Zone or in its parent Region.
|
7781
|
+
#
|
7768
7782
|
# For more information, see [Create an Amazon EBS-backed AMI][1] in the
|
7769
7783
|
# *Amazon Elastic Compute Cloud User Guide*.
|
7770
7784
|
#
|
@@ -7792,6 +7806,22 @@ module Aws::EC2
|
|
7792
7806
|
#
|
7793
7807
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
7794
7808
|
#
|
7809
|
+
# @option params [String] :snapshot_location
|
7810
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance is
|
7811
|
+
# not in a Local Zone, omit this parameter.
|
7812
|
+
#
|
7813
|
+
# </note>
|
7814
|
+
#
|
7815
|
+
# The Amazon S3 location where the snapshots will be stored.
|
7816
|
+
#
|
7817
|
+
# * To create local snapshots in the same Local Zone as the source
|
7818
|
+
# instance, specify `local`.
|
7819
|
+
#
|
7820
|
+
# * To create regional snapshots in the parent Region of the Local Zone,
|
7821
|
+
# specify `regional` or omit this parameter.
|
7822
|
+
#
|
7823
|
+
# Default: `regional`
|
7824
|
+
#
|
7795
7825
|
# @option params [Boolean] :dry_run
|
7796
7826
|
# Checks whether you have the required permissions for the action,
|
7797
7827
|
# without actually making the request, and provides an error response.
|
@@ -7893,6 +7923,7 @@ module Aws::EC2
|
|
7893
7923
|
# ],
|
7894
7924
|
# },
|
7895
7925
|
# ],
|
7926
|
+
# snapshot_location: "regional", # accepts regional, local
|
7896
7927
|
# dry_run: false,
|
7897
7928
|
# instance_id: "InstanceId", # required
|
7898
7929
|
# name: "String", # required
|
@@ -7909,8 +7940,10 @@ module Aws::EC2
|
|
7909
7940
|
# kms_key_id: "String",
|
7910
7941
|
# throughput: 1,
|
7911
7942
|
# outpost_arn: "String",
|
7943
|
+
# availability_zone: "String",
|
7912
7944
|
# encrypted: false,
|
7913
7945
|
# volume_initialization_rate: 1,
|
7946
|
+
# availability_zone_id: "String",
|
7914
7947
|
# },
|
7915
7948
|
# no_device: "String",
|
7916
7949
|
# device_name: "String",
|
@@ -7936,9 +7969,8 @@ module Aws::EC2
|
|
7936
7969
|
#
|
7937
7970
|
# An EC2 Instance Connect Endpoint allows you to connect to an instance,
|
7938
7971
|
# without requiring the instance to have a public IPv4 address. For more
|
7939
|
-
# information, see [Connect to your instances
|
7940
|
-
#
|
7941
|
-
# EC2 User Guide*.
|
7972
|
+
# information, see [Connect to your instances using EC2 Instance Connect
|
7973
|
+
# Endpoint][1] in the *Amazon EC2 User Guide*.
|
7942
7974
|
#
|
7943
7975
|
#
|
7944
7976
|
#
|
@@ -11934,6 +11966,8 @@ module Aws::EC2
|
|
11934
11966
|
# resp.network_interface.ipv_6_address #=> String
|
11935
11967
|
# resp.network_interface.operator.managed #=> Boolean
|
11936
11968
|
# resp.network_interface.operator.principal #=> String
|
11969
|
+
# resp.network_interface.associated_subnets #=> Array
|
11970
|
+
# resp.network_interface.associated_subnets[0] #=> String
|
11937
11971
|
# resp.client_token #=> String
|
11938
11972
|
#
|
11939
11973
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface AWS API Documentation
|
@@ -13473,8 +13507,8 @@ module Aws::EC2
|
|
13473
13507
|
# * To create local snapshots in the same Local Zone as the source
|
13474
13508
|
# instance, specify `local`.
|
13475
13509
|
#
|
13476
|
-
# * To create
|
13477
|
-
#
|
13510
|
+
# * To create regional snapshots in the parent Region of the Local Zone,
|
13511
|
+
# specify `regional` or omit this parameter.
|
13478
13512
|
#
|
13479
13513
|
# Default value: `regional`
|
13480
13514
|
#
|
@@ -13855,8 +13889,9 @@ module Aws::EC2
|
|
13855
13889
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
13856
13890
|
# resp.subnet.private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
13857
13891
|
# resp.subnet.block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
13892
|
+
# resp.subnet.type #=> String
|
13858
13893
|
# resp.subnet.subnet_id #=> String
|
13859
|
-
# resp.subnet.state #=> String, one of "pending", "available", "unavailable"
|
13894
|
+
# resp.subnet.state #=> String, one of "pending", "available", "unavailable", "failed", "failed-insufficient-capacity"
|
13860
13895
|
# resp.subnet.vpc_id #=> String
|
13861
13896
|
# resp.subnet.cidr_block #=> String
|
13862
13897
|
# resp.subnet.available_ip_address_count #=> Integer
|
@@ -22275,6 +22310,7 @@ module Aws::EC2
|
|
22275
22310
|
# resp.addresses[0].customer_owned_ip #=> String
|
22276
22311
|
# resp.addresses[0].customer_owned_ipv_4_pool #=> String
|
22277
22312
|
# resp.addresses[0].carrier_ip #=> String
|
22313
|
+
# resp.addresses[0].subnet_id #=> String
|
22278
22314
|
# resp.addresses[0].service_managed #=> String, one of "alb", "nlb", "rnat"
|
22279
22315
|
# resp.addresses[0].instance_id #=> String
|
22280
22316
|
# resp.addresses[0].public_ip #=> String
|
@@ -26382,8 +26418,10 @@ module Aws::EC2
|
|
26382
26418
|
# resp.block_device_mappings[0].ebs.kms_key_id #=> String
|
26383
26419
|
# resp.block_device_mappings[0].ebs.throughput #=> Integer
|
26384
26420
|
# resp.block_device_mappings[0].ebs.outpost_arn #=> String
|
26421
|
+
# resp.block_device_mappings[0].ebs.availability_zone #=> String
|
26385
26422
|
# resp.block_device_mappings[0].ebs.encrypted #=> Boolean
|
26386
26423
|
# resp.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
26424
|
+
# resp.block_device_mappings[0].ebs.availability_zone_id #=> String
|
26387
26425
|
# resp.block_device_mappings[0].no_device #=> String
|
26388
26426
|
# resp.block_device_mappings[0].device_name #=> String
|
26389
26427
|
# resp.block_device_mappings[0].virtual_name #=> String
|
@@ -26699,8 +26737,10 @@ module Aws::EC2
|
|
26699
26737
|
# resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
26700
26738
|
# resp.images[0].block_device_mappings[0].ebs.throughput #=> Integer
|
26701
26739
|
# resp.images[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
26740
|
+
# resp.images[0].block_device_mappings[0].ebs.availability_zone #=> String
|
26702
26741
|
# resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
26703
26742
|
# resp.images[0].block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
26743
|
+
# resp.images[0].block_device_mappings[0].ebs.availability_zone_id #=> String
|
26704
26744
|
# resp.images[0].block_device_mappings[0].no_device #=> String
|
26705
26745
|
# resp.images[0].block_device_mappings[0].device_name #=> String
|
26706
26746
|
# resp.images[0].block_device_mappings[0].virtual_name #=> String
|
@@ -33384,7 +33424,7 @@ module Aws::EC2
|
|
33384
33424
|
# * `interface-type` - The type of network interface
|
33385
33425
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
33386
33426
|
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
33387
|
-
# \| `efs` \| `gateway_load_balancer` \|
|
33427
|
+
# \| `efs` \| `evs` \| `gateway_load_balancer` \|
|
33388
33428
|
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
33389
33429
|
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
33390
33430
|
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
@@ -33603,6 +33643,8 @@ module Aws::EC2
|
|
33603
33643
|
# resp.network_interfaces[0].ipv_6_address #=> String
|
33604
33644
|
# resp.network_interfaces[0].operator.managed #=> Boolean
|
33605
33645
|
# resp.network_interfaces[0].operator.principal #=> String
|
33646
|
+
# resp.network_interfaces[0].associated_subnets #=> Array
|
33647
|
+
# resp.network_interfaces[0].associated_subnets[0] #=> String
|
33606
33648
|
# resp.next_token #=> String
|
33607
33649
|
#
|
33608
33650
|
#
|
@@ -36950,8 +36992,10 @@ module Aws::EC2
|
|
36950
36992
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
36951
36993
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.throughput #=> Integer
|
36952
36994
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
36995
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.availability_zone #=> String
|
36953
36996
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
36954
36997
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
36998
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.availability_zone_id #=> String
|
36955
36999
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
|
36956
37000
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].device_name #=> String
|
36957
37001
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].virtual_name #=> String
|
@@ -37414,8 +37458,10 @@ module Aws::EC2
|
|
37414
37458
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
37415
37459
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
37416
37460
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
37461
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone #=> String
|
37417
37462
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
37418
37463
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
37464
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone_id #=> String
|
37419
37465
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
37420
37466
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].device_name #=> String
|
37421
37467
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].virtual_name #=> String
|
@@ -38074,8 +38120,9 @@ module Aws::EC2
|
|
38074
38120
|
# resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_a_record #=> Boolean
|
38075
38121
|
# resp.subnets[0].private_dns_name_options_on_launch.enable_resource_name_dns_aaaa_record #=> Boolean
|
38076
38122
|
# resp.subnets[0].block_public_access_states.internet_gateway_block_mode #=> String, one of "off", "block-bidirectional", "block-ingress"
|
38123
|
+
# resp.subnets[0].type #=> String
|
38077
38124
|
# resp.subnets[0].subnet_id #=> String
|
38078
|
-
# resp.subnets[0].state #=> String, one of "pending", "available", "unavailable"
|
38125
|
+
# resp.subnets[0].state #=> String, one of "pending", "available", "unavailable", "failed", "failed-insufficient-capacity"
|
38079
38126
|
# resp.subnets[0].vpc_id #=> String
|
38080
38127
|
# resp.subnets[0].cidr_block #=> String
|
38081
38128
|
# resp.subnets[0].available_ip_address_count #=> Integer
|
@@ -54385,6 +54432,9 @@ module Aws::EC2
|
|
54385
54432
|
# interface. This option can be enabled for any network interface but
|
54386
54433
|
# will only apply to the primary network interface (eth0).
|
54387
54434
|
#
|
54435
|
+
# @option params [Array<String>] :associated_subnet_ids
|
54436
|
+
# A list of subnet IDs to associate with the network interface.
|
54437
|
+
#
|
54388
54438
|
# @option params [Boolean] :dry_run
|
54389
54439
|
# Checks whether you have the required permissions for the action,
|
54390
54440
|
# without actually making the request, and provides an error response.
|
@@ -54481,6 +54531,7 @@ module Aws::EC2
|
|
54481
54531
|
# udp_timeout: 1,
|
54482
54532
|
# },
|
54483
54533
|
# associate_public_ip_address: false,
|
54534
|
+
# associated_subnet_ids: ["SubnetId"],
|
54484
54535
|
# dry_run: false,
|
54485
54536
|
# network_interface_id: "NetworkInterfaceId", # required
|
54486
54537
|
# description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
@@ -59367,8 +59418,10 @@ module Aws::EC2
|
|
59367
59418
|
# kms_key_id: "String",
|
59368
59419
|
# throughput: 1,
|
59369
59420
|
# outpost_arn: "String",
|
59421
|
+
# availability_zone: "String",
|
59370
59422
|
# encrypted: false,
|
59371
59423
|
# volume_initialization_rate: 1,
|
59424
|
+
# availability_zone_id: "String",
|
59372
59425
|
# },
|
59373
59426
|
# no_device: "String",
|
59374
59427
|
# device_name: "String",
|
@@ -60891,8 +60944,10 @@ module Aws::EC2
|
|
60891
60944
|
# kms_key_id: "String",
|
60892
60945
|
# throughput: 1,
|
60893
60946
|
# outpost_arn: "String",
|
60947
|
+
# availability_zone: "String",
|
60894
60948
|
# encrypted: false,
|
60895
60949
|
# volume_initialization_rate: 1,
|
60950
|
+
# availability_zone_id: "String",
|
60896
60951
|
# },
|
60897
60952
|
# no_device: "String",
|
60898
60953
|
# device_name: "String",
|
@@ -61389,8 +61444,10 @@ module Aws::EC2
|
|
61389
61444
|
# kms_key_id: "String",
|
61390
61445
|
# throughput: 1,
|
61391
61446
|
# outpost_arn: "String",
|
61447
|
+
# availability_zone: "String",
|
61392
61448
|
# encrypted: false,
|
61393
61449
|
# volume_initialization_rate: 1,
|
61450
|
+
# availability_zone_id: "String",
|
61394
61451
|
# },
|
61395
61452
|
# no_device: "String",
|
61396
61453
|
# device_name: "String",
|
@@ -61518,8 +61575,10 @@ module Aws::EC2
|
|
61518
61575
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
61519
61576
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
61520
61577
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
61578
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone #=> String
|
61521
61579
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
61522
61580
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
|
61581
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone_id #=> String
|
61523
61582
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
61524
61583
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].device_name #=> String
|
61525
61584
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].virtual_name #=> String
|
@@ -63095,8 +63154,10 @@ module Aws::EC2
|
|
63095
63154
|
# kms_key_id: "String",
|
63096
63155
|
# throughput: 1,
|
63097
63156
|
# outpost_arn: "String",
|
63157
|
+
# availability_zone: "String",
|
63098
63158
|
# encrypted: false,
|
63099
63159
|
# volume_initialization_rate: 1,
|
63160
|
+
# availability_zone_id: "String",
|
63100
63161
|
# },
|
63101
63162
|
# no_device: "String",
|
63102
63163
|
# device_name: "String",
|
@@ -63945,7 +64006,7 @@ module Aws::EC2
|
|
63945
64006
|
# create a new one or use an existing one), it must be in the same
|
63946
64007
|
# Region where the report generation request is made, and it must have
|
63947
64008
|
# an appropriate bucket policy. For a sample S3 policy, see *Sample
|
63948
|
-
# Amazon S3 policy* under .
|
64009
|
+
# Amazon S3 policy* under [Examples][1].
|
63949
64010
|
#
|
63950
64011
|
# * Trusted access must be enabled for the service for which the
|
63951
64012
|
# declarative policy will enforce a baseline configuration. If you use
|
@@ -63955,7 +64016,7 @@ module Aws::EC2
|
|
63955
64016
|
# `ec2.amazonaws.com`. For more information on how to enable trusted
|
63956
64017
|
# access with the Amazon Web Services CLI and Amazon Web Services
|
63957
64018
|
# SDKs, see [Using Organizations with other Amazon Web Services
|
63958
|
-
# services][
|
64019
|
+
# services][2] in the *Amazon Web Services Organizations User Guide*.
|
63959
64020
|
#
|
63960
64021
|
# * Only one report per organization can be generated at a time.
|
63961
64022
|
# Attempting to generate a report while another is in progress will
|
@@ -63963,12 +64024,13 @@ module Aws::EC2
|
|
63963
64024
|
#
|
63964
64025
|
# For more information, including the required IAM permissions to run
|
63965
64026
|
# this API, see [Generating the account status report for declarative
|
63966
|
-
# policies][
|
64027
|
+
# policies][3] in the *Amazon Web Services Organizations User Guide*.
|
63967
64028
|
#
|
63968
64029
|
#
|
63969
64030
|
#
|
63970
|
-
# [1]: https://docs.aws.amazon.com/
|
63971
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/
|
64031
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartDeclarativePoliciesReport.html#API_StartDeclarativePoliciesReport_Examples
|
64032
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html
|
64033
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_declarative_status-report.html
|
63972
64034
|
#
|
63973
64035
|
# @option params [Boolean] :dry_run
|
63974
64036
|
# Checks whether you have the required permissions for the action,
|
@@ -65183,32 +65245,33 @@ module Aws::EC2
|
|
65183
65245
|
req.send_request(options)
|
65184
65246
|
end
|
65185
65247
|
|
65186
|
-
# Stops an Amazon EBS-backed instance.
|
65187
|
-
#
|
65248
|
+
# Stops an Amazon EBS-backed instance. You can restart your instance at
|
65249
|
+
# any time using the [StartInstances][1] API. For more information, see
|
65250
|
+
# [Stop and start Amazon EC2 instances][2] in the *Amazon EC2 User
|
65251
|
+
# Guide*.
|
65188
65252
|
#
|
65189
|
-
# When you stop an instance, we shut it down.
|
65190
|
-
# instance at any time.
|
65253
|
+
# When you stop an instance, we shut it down.
|
65191
65254
|
#
|
65192
65255
|
# You can use the Stop operation together with the Hibernate parameter
|
65193
65256
|
# to hibernate an instance if the instance is [enabled for
|
65194
|
-
# hibernation][
|
65257
|
+
# hibernation][3] and meets the [hibernation prerequisites][4]. Stopping
|
65195
65258
|
# an instance doesn't preserve data stored in RAM, while hibernation
|
65196
65259
|
# does. If hibernation fails, a normal shutdown occurs. For more
|
65197
|
-
# information, see [Hibernate your Amazon EC2 instance][
|
65260
|
+
# information, see [Hibernate your Amazon EC2 instance][5] in the
|
65198
65261
|
# *Amazon EC2 User Guide*.
|
65199
65262
|
#
|
65200
65263
|
# If your instance appears stuck in the `stopping` state, there might be
|
65201
65264
|
# an issue with the underlying host computer. You can use the Stop
|
65202
65265
|
# operation together with the Force parameter to force stop your
|
65203
65266
|
# instance. For more information, see [Troubleshoot Amazon EC2 instance
|
65204
|
-
# stop issues][
|
65267
|
+
# stop issues][6] in the *Amazon EC2 User Guide*.
|
65205
65268
|
#
|
65206
65269
|
# Stopping and hibernating an instance differs from rebooting or
|
65207
65270
|
# terminating it. For example, a stopped or hibernated instance retains
|
65208
65271
|
# its root volume and any data volumes, unlike terminated instances
|
65209
65272
|
# where these volumes are automatically deleted. For more information
|
65210
65273
|
# about the differences between stopping, hibernating, rebooting, and
|
65211
|
-
# terminating instances, see [Amazon EC2 instance state changes][
|
65274
|
+
# terminating instances, see [Amazon EC2 instance state changes][7] in
|
65212
65275
|
# the *Amazon EC2 User Guide*.
|
65213
65276
|
#
|
65214
65277
|
# We don't charge for instance usage or data transfer fees when an
|
@@ -65221,12 +65284,13 @@ module Aws::EC2
|
|
65221
65284
|
#
|
65222
65285
|
#
|
65223
65286
|
#
|
65224
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
65225
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65226
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65227
|
-
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65228
|
-
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65229
|
-
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
65287
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html
|
65288
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
|
65289
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html
|
65290
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html
|
65291
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
65292
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
|
65293
|
+
# [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
|
65230
65294
|
#
|
65231
65295
|
# @option params [required, Array<String>] :instance_ids
|
65232
65296
|
# The IDs of the instances.
|
@@ -66077,7 +66141,7 @@ module Aws::EC2
|
|
66077
66141
|
tracer: tracer
|
66078
66142
|
)
|
66079
66143
|
context[:gem_name] = 'aws-sdk-ec2'
|
66080
|
-
context[:gem_version] = '1.
|
66144
|
+
context[:gem_version] = '1.532.0'
|
66081
66145
|
Seahorse::Client::Request.new(handlers, context)
|
66082
66146
|
end
|
66083
66147
|
|
@@ -175,6 +175,7 @@ module Aws::EC2
|
|
175
175
|
AssociatedNetworkType = Shapes::StringShape.new(name: 'AssociatedNetworkType')
|
176
176
|
AssociatedRole = Shapes::StructureShape.new(name: 'AssociatedRole')
|
177
177
|
AssociatedRolesList = Shapes::ListShape.new(name: 'AssociatedRolesList')
|
178
|
+
AssociatedSubnetList = Shapes::ListShape.new(name: 'AssociatedSubnetList')
|
178
179
|
AssociatedTargetNetwork = Shapes::StructureShape.new(name: 'AssociatedTargetNetwork')
|
179
180
|
AssociatedTargetNetworkSet = Shapes::ListShape.new(name: 'AssociatedTargetNetworkSet')
|
180
181
|
AssociationIdList = Shapes::ListShape.new(name: 'AssociationIdList')
|
@@ -3140,6 +3141,7 @@ module Aws::EC2
|
|
3140
3141
|
SubnetConfiguration = Shapes::StructureShape.new(name: 'SubnetConfiguration')
|
3141
3142
|
SubnetConfigurationsList = Shapes::ListShape.new(name: 'SubnetConfigurationsList')
|
3142
3143
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
3144
|
+
SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
|
3143
3145
|
SubnetIdStringList = Shapes::ListShape.new(name: 'SubnetIdStringList')
|
3144
3146
|
SubnetIpPrefixes = Shapes::StructureShape.new(name: 'SubnetIpPrefixes')
|
3145
3147
|
SubnetIpPrefixesList = Shapes::ListShape.new(name: 'SubnetIpPrefixesList')
|
@@ -3748,6 +3750,7 @@ module Aws::EC2
|
|
3748
3750
|
Address.add_member(:customer_owned_ip, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIp"))
|
3749
3751
|
Address.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIpv4Pool"))
|
3750
3752
|
Address.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
3753
|
+
Address.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
3751
3754
|
Address.add_member(:service_managed, Shapes::ShapeRef.new(shape: ServiceManaged, location_name: "serviceManaged"))
|
3752
3755
|
Address.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
3753
3756
|
Address.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
@@ -4168,6 +4171,8 @@ module Aws::EC2
|
|
4168
4171
|
|
4169
4172
|
AssociatedRolesList.member = Shapes::ShapeRef.new(shape: AssociatedRole, location_name: "item")
|
4170
4173
|
|
4174
|
+
AssociatedSubnetList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "item")
|
4175
|
+
|
4171
4176
|
AssociatedTargetNetwork.add_member(:network_id, Shapes::ShapeRef.new(shape: String, location_name: "networkId"))
|
4172
4177
|
AssociatedTargetNetwork.add_member(:network_type, Shapes::ShapeRef.new(shape: AssociatedNetworkType, location_name: "networkType"))
|
4173
4178
|
AssociatedTargetNetwork.struct_class = Types::AssociatedTargetNetwork
|
@@ -5289,6 +5294,7 @@ module Aws::EC2
|
|
5289
5294
|
CreateFpgaImageResult.struct_class = Types::CreateFpgaImageResult
|
5290
5295
|
|
5291
5296
|
CreateImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5297
|
+
CreateImageRequest.add_member(:snapshot_location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "SnapshotLocation"))
|
5292
5298
|
CreateImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5293
5299
|
CreateImageRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
5294
5300
|
CreateImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
@@ -9261,8 +9267,10 @@ module Aws::EC2
|
|
9261
9267
|
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
9262
9268
|
EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
|
9263
9269
|
EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
9270
|
+
EbsBlockDevice.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
9264
9271
|
EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
9265
9272
|
EbsBlockDevice.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeInitializationRate"))
|
9273
|
+
EbsBlockDevice.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
9266
9274
|
EbsBlockDevice.struct_class = Types::EbsBlockDevice
|
9267
9275
|
|
9268
9276
|
EbsBlockDeviceResponse.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
@@ -12997,6 +13005,7 @@ module Aws::EC2
|
|
12997
13005
|
ModifyNetworkInterfaceAttributeRequest.add_member(:enable_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrimaryIpv6"))
|
12998
13006
|
ModifyNetworkInterfaceAttributeRequest.add_member(:connection_tracking_specification, Shapes::ShapeRef.new(shape: ConnectionTrackingSpecificationRequest, location_name: "ConnectionTrackingSpecification"))
|
12999
13007
|
ModifyNetworkInterfaceAttributeRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
|
13008
|
+
ModifyNetworkInterfaceAttributeRequest.add_member(:associated_subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "AssociatedSubnetId"))
|
13000
13009
|
ModifyNetworkInterfaceAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
13001
13010
|
ModifyNetworkInterfaceAttributeRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "networkInterfaceId"))
|
13002
13011
|
ModifyNetworkInterfaceAttributeRequest.add_member(:description, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "description"))
|
@@ -13751,6 +13760,7 @@ module Aws::EC2
|
|
13751
13760
|
NetworkInterface.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
13752
13761
|
NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
13753
13762
|
NetworkInterface.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
13763
|
+
NetworkInterface.add_member(:associated_subnets, Shapes::ShapeRef.new(shape: AssociatedSubnetList, location_name: "associatedSubnetSet"))
|
13754
13764
|
NetworkInterface.struct_class = Types::NetworkInterface
|
13755
13765
|
|
13756
13766
|
NetworkInterfaceAssociation.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
@@ -16051,6 +16061,7 @@ module Aws::EC2
|
|
16051
16061
|
Subnet.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
16052
16062
|
Subnet.add_member(:private_dns_name_options_on_launch, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsOnLaunch, location_name: "privateDnsNameOptionsOnLaunch"))
|
16053
16063
|
Subnet.add_member(:block_public_access_states, Shapes::ShapeRef.new(shape: BlockPublicAccessStates, location_name: "blockPublicAccessStates"))
|
16064
|
+
Subnet.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
16054
16065
|
Subnet.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
16055
16066
|
Subnet.add_member(:state, Shapes::ShapeRef.new(shape: SubnetState, location_name: "state"))
|
16056
16067
|
Subnet.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
@@ -16089,6 +16100,8 @@ module Aws::EC2
|
|
16089
16100
|
|
16090
16101
|
SubnetConfigurationsList.member = Shapes::ShapeRef.new(shape: SubnetConfiguration, location_name: "item")
|
16091
16102
|
|
16103
|
+
SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "AssociatedSubnetId")
|
16104
|
+
|
16092
16105
|
SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
|
16093
16106
|
|
16094
16107
|
SubnetIpPrefixes.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -345,9 +345,14 @@ module Aws::EC2
|
|
345
345
|
data[:private_dns_name]
|
346
346
|
end
|
347
347
|
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
348
|
+
# The public DNS name assigned to the instance. This name is not
|
349
|
+
# available until the instance enters the `running` state. This name is
|
350
|
+
# only available if you've enabled DNS hostnames for your VPC. The
|
351
|
+
# format of this name depends on the [public hostname type][1].
|
352
|
+
#
|
353
|
+
#
|
354
|
+
#
|
355
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames
|
351
356
|
# @return [String]
|
352
357
|
def public_dns_name
|
353
358
|
data[:public_dns_name]
|
@@ -778,6 +783,7 @@ module Aws::EC2
|
|
778
783
|
# ],
|
779
784
|
# },
|
780
785
|
# ],
|
786
|
+
# snapshot_location: "regional", # accepts regional, local
|
781
787
|
# dry_run: false,
|
782
788
|
# name: "String", # required
|
783
789
|
# description: "String",
|
@@ -793,8 +799,10 @@ module Aws::EC2
|
|
793
799
|
# kms_key_id: "String",
|
794
800
|
# throughput: 1,
|
795
801
|
# outpost_arn: "String",
|
802
|
+
# availability_zone: "String",
|
796
803
|
# encrypted: false,
|
797
804
|
# volume_initialization_rate: 1,
|
805
|
+
# availability_zone_id: "String",
|
798
806
|
# },
|
799
807
|
# no_device: "String",
|
800
808
|
# device_name: "String",
|
@@ -822,6 +830,21 @@ module Aws::EC2
|
|
822
830
|
#
|
823
831
|
#
|
824
832
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
833
|
+
# @option options [String] :snapshot_location
|
834
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance is
|
835
|
+
# not in a Local Zone, omit this parameter.
|
836
|
+
#
|
837
|
+
# </note>
|
838
|
+
#
|
839
|
+
# The Amazon S3 location where the snapshots will be stored.
|
840
|
+
#
|
841
|
+
# * To create local snapshots in the same Local Zone as the source
|
842
|
+
# instance, specify `local`.
|
843
|
+
#
|
844
|
+
# * To create regional snapshots in the parent Region of the Local Zone,
|
845
|
+
# specify `regional` or omit this parameter.
|
846
|
+
#
|
847
|
+
# Default: `regional`
|
825
848
|
# @option options [Boolean] :dry_run
|
826
849
|
# Checks whether you have the required permissions for the action,
|
827
850
|
# without actually making the request, and provides an error response.
|
@@ -234,6 +234,12 @@ module Aws::EC2
|
|
234
234
|
data[:operator]
|
235
235
|
end
|
236
236
|
|
237
|
+
# The subnets associated with this network interface.
|
238
|
+
# @return [Array<String>]
|
239
|
+
def associated_subnets
|
240
|
+
data[:associated_subnets]
|
241
|
+
end
|
242
|
+
|
237
243
|
# @!endgroup
|
238
244
|
|
239
245
|
# @return [Client]
|
@@ -644,6 +650,7 @@ module Aws::EC2
|
|
644
650
|
# udp_timeout: 1,
|
645
651
|
# },
|
646
652
|
# associate_public_ip_address: false,
|
653
|
+
# associated_subnet_ids: ["SubnetId"],
|
647
654
|
# dry_run: false,
|
648
655
|
# description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
649
656
|
# source_dest_check: {
|
@@ -683,6 +690,8 @@ module Aws::EC2
|
|
683
690
|
# Indicates whether to assign a public IPv4 address to a network
|
684
691
|
# interface. This option can be enabled for any network interface but
|
685
692
|
# will only apply to the primary network interface (eth0).
|
693
|
+
# @option options [Array<String>] :associated_subnet_ids
|
694
|
+
# A list of subnet IDs to associate with the network interface.
|
686
695
|
# @option options [Boolean] :dry_run
|
687
696
|
# Checks whether you have the required permissions for the action,
|
688
697
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -93,8 +93,10 @@ module Aws::EC2
|
|
93
93
|
# kms_key_id: "String",
|
94
94
|
# throughput: 1,
|
95
95
|
# outpost_arn: "String",
|
96
|
+
# availability_zone: "String",
|
96
97
|
# encrypted: false,
|
97
98
|
# volume_initialization_rate: 1,
|
99
|
+
# availability_zone_id: "String",
|
98
100
|
# },
|
99
101
|
# no_device: "String",
|
100
102
|
# device_name: "String",
|
@@ -1951,8 +1953,10 @@ module Aws::EC2
|
|
1951
1953
|
# kms_key_id: "String",
|
1952
1954
|
# throughput: 1,
|
1953
1955
|
# outpost_arn: "String",
|
1956
|
+
# availability_zone: "String",
|
1954
1957
|
# encrypted: false,
|
1955
1958
|
# volume_initialization_rate: 1,
|
1959
|
+
# availability_zone_id: "String",
|
1956
1960
|
# },
|
1957
1961
|
# no_device: "String",
|
1958
1962
|
# device_name: "String",
|
@@ -3400,7 +3404,7 @@ module Aws::EC2
|
|
3400
3404
|
# * `interface-type` - The type of network interface
|
3401
3405
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
3402
3406
|
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
3403
|
-
# \| `efs` \| `gateway_load_balancer` \|
|
3407
|
+
# \| `efs` \| `evs` \| `gateway_load_balancer` \|
|
3404
3408
|
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
3405
3409
|
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
3406
3410
|
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -129,7 +129,27 @@ module Aws::EC2
|
|
129
129
|
data[:block_public_access_states]
|
130
130
|
end
|
131
131
|
|
132
|
+
# Indicates if this is a subnet used with Amazon Elastic VMware Service
|
133
|
+
# (EVS). Possible values are `Elastic VMware Service` or no value. For
|
134
|
+
# more information about Amazon EVS, see [ *Amazon Elastic VMware
|
135
|
+
# Service API Reference* ][1].
|
136
|
+
#
|
137
|
+
#
|
138
|
+
#
|
139
|
+
# [1]: https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html
|
140
|
+
# @return [String]
|
141
|
+
def type
|
142
|
+
data[:type]
|
143
|
+
end
|
144
|
+
|
132
145
|
# The current state of the subnet.
|
146
|
+
#
|
147
|
+
# * `failed`: The underlying infrastructure to support the subnet failed
|
148
|
+
# to provision as expected.
|
149
|
+
#
|
150
|
+
# * `failed-insufficient-capacity`: The underlying infrastructure to
|
151
|
+
# support the subnet failed to provision due to a shortage of EC2
|
152
|
+
# instance capacity.
|
133
153
|
# @return [String]
|
134
154
|
def state
|
135
155
|
data[:state]
|
@@ -335,8 +355,10 @@ module Aws::EC2
|
|
335
355
|
# kms_key_id: "String",
|
336
356
|
# throughput: 1,
|
337
357
|
# outpost_arn: "String",
|
358
|
+
# availability_zone: "String",
|
338
359
|
# encrypted: false,
|
339
360
|
# volume_initialization_rate: 1,
|
361
|
+
# availability_zone_id: "String",
|
340
362
|
# },
|
341
363
|
# no_device: "String",
|
342
364
|
# device_name: "String",
|
@@ -1803,7 +1825,7 @@ module Aws::EC2
|
|
1803
1825
|
# * `interface-type` - The type of network interface
|
1804
1826
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
1805
1827
|
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
1806
|
-
# \| `efs` \| `gateway_load_balancer` \|
|
1828
|
+
# \| `efs` \| `evs` \| `gateway_load_balancer` \|
|
1807
1829
|
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
1808
1830
|
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
1809
1831
|
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -828,6 +828,10 @@ module Aws::EC2
|
|
828
828
|
# (for example an EC2 instance).
|
829
829
|
# @return [String]
|
830
830
|
#
|
831
|
+
# @!attribute [rw] subnet_id
|
832
|
+
# The ID of the subnet where the IP address is allocated.
|
833
|
+
# @return [String]
|
834
|
+
#
|
831
835
|
# @!attribute [rw] service_managed
|
832
836
|
# The service that manages the elastic IP address.
|
833
837
|
#
|
@@ -859,6 +863,7 @@ module Aws::EC2
|
|
859
863
|
:customer_owned_ip,
|
860
864
|
:customer_owned_ipv_4_pool,
|
861
865
|
:carrier_ip,
|
866
|
+
:subnet_id,
|
862
867
|
:service_managed,
|
863
868
|
:instance_id,
|
864
869
|
:public_ip)
|
@@ -9462,6 +9467,23 @@ module Aws::EC2
|
|
9462
9467
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
9463
9468
|
# @return [Array<Types::TagSpecification>]
|
9464
9469
|
#
|
9470
|
+
# @!attribute [rw] snapshot_location
|
9471
|
+
# <note markdown="1"> Only supported for instances in Local Zones. If the source instance
|
9472
|
+
# is not in a Local Zone, omit this parameter.
|
9473
|
+
#
|
9474
|
+
# </note>
|
9475
|
+
#
|
9476
|
+
# The Amazon S3 location where the snapshots will be stored.
|
9477
|
+
#
|
9478
|
+
# * To create local snapshots in the same Local Zone as the source
|
9479
|
+
# instance, specify `local`.
|
9480
|
+
#
|
9481
|
+
# * To create regional snapshots in the parent Region of the Local
|
9482
|
+
# Zone, specify `regional` or omit this parameter.
|
9483
|
+
#
|
9484
|
+
# Default: `regional`
|
9485
|
+
# @return [String]
|
9486
|
+
#
|
9465
9487
|
# @!attribute [rw] dry_run
|
9466
9488
|
# Checks whether you have the required permissions for the action,
|
9467
9489
|
# without actually making the request, and provides an error response.
|
@@ -9526,6 +9548,7 @@ module Aws::EC2
|
|
9526
9548
|
#
|
9527
9549
|
class CreateImageRequest < Struct.new(
|
9528
9550
|
:tag_specifications,
|
9551
|
+
:snapshot_location,
|
9529
9552
|
:dry_run,
|
9530
9553
|
:instance_id,
|
9531
9554
|
:name,
|
@@ -12473,7 +12496,7 @@ module Aws::EC2
|
|
12473
12496
|
# * To create local snapshots in the same Local Zone as the source
|
12474
12497
|
# instance, specify `local`.
|
12475
12498
|
#
|
12476
|
-
# * To create
|
12499
|
+
# * To create regional snapshots in the parent Region of the Local
|
12477
12500
|
# Zone, specify `regional` or omit this parameter.
|
12478
12501
|
#
|
12479
12502
|
# Default value: `regional`
|
@@ -26177,7 +26200,7 @@ module Aws::EC2
|
|
26177
26200
|
# * `interface-type` - The type of network interface
|
26178
26201
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
26179
26202
|
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
26180
|
-
# \| `efs` \| `gateway_load_balancer` \|
|
26203
|
+
# \| `efs` \| `evs` \| `gateway_load_balancer` \|
|
26181
26204
|
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed`
|
26182
26205
|
# \| `interface` \| `iot_rules_managed` \| `lambda` \|
|
26183
26206
|
# `load_balancer` \| `nat_gateway` \| `network_load_balancer` \|
|
@@ -34155,6 +34178,21 @@ module Aws::EC2
|
|
34155
34178
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34156
34179
|
# @return [String]
|
34157
34180
|
#
|
34181
|
+
# @!attribute [rw] availability_zone
|
34182
|
+
# The Availability Zone where the EBS volume will be created (for
|
34183
|
+
# example, `us-east-1a`).
|
34184
|
+
#
|
34185
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
34186
|
+
# but not both. If neither is specified, Amazon EC2 automatically
|
34187
|
+
# selects an Availability Zone within the Region.
|
34188
|
+
#
|
34189
|
+
# This parameter is not supported when using [CreateImage][1].
|
34190
|
+
#
|
34191
|
+
#
|
34192
|
+
#
|
34193
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34194
|
+
# @return [String]
|
34195
|
+
#
|
34158
34196
|
# @!attribute [rw] encrypted
|
34159
34197
|
# Indicates whether the encryption state of an EBS volume is changed
|
34160
34198
|
# while being restored from a backing snapshot. The effect of setting
|
@@ -34241,6 +34279,21 @@ module Aws::EC2
|
|
34241
34279
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34242
34280
|
# @return [Integer]
|
34243
34281
|
#
|
34282
|
+
# @!attribute [rw] availability_zone_id
|
34283
|
+
# The ID of the Availability Zone where the EBS volume will be created
|
34284
|
+
# (for example, `use1-az1`).
|
34285
|
+
#
|
34286
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
34287
|
+
# but not both. If neither is specified, Amazon EC2 automatically
|
34288
|
+
# selects an Availability Zone within the Region.
|
34289
|
+
#
|
34290
|
+
# This parameter is not supported when using [CreateImage][1].
|
34291
|
+
#
|
34292
|
+
#
|
34293
|
+
#
|
34294
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34295
|
+
# @return [String]
|
34296
|
+
#
|
34244
34297
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
|
34245
34298
|
#
|
34246
34299
|
class EbsBlockDevice < Struct.new(
|
@@ -34252,8 +34305,10 @@ module Aws::EC2
|
|
34252
34305
|
:kms_key_id,
|
34253
34306
|
:throughput,
|
34254
34307
|
:outpost_arn,
|
34308
|
+
:availability_zone,
|
34255
34309
|
:encrypted,
|
34256
|
-
:volume_initialization_rate
|
34310
|
+
:volume_initialization_rate,
|
34311
|
+
:availability_zone_id)
|
34257
34312
|
SENSITIVE = []
|
34258
34313
|
include Aws::Structure
|
34259
34314
|
end
|
@@ -44248,10 +44303,14 @@ module Aws::EC2
|
|
44248
44303
|
# @return [String]
|
44249
44304
|
#
|
44250
44305
|
# @!attribute [rw] public_dns_name
|
44251
|
-
#
|
44252
|
-
#
|
44253
|
-
#
|
44254
|
-
#
|
44306
|
+
# The public DNS name assigned to the instance. This name is not
|
44307
|
+
# available until the instance enters the `running` state. This name
|
44308
|
+
# is only available if you've enabled DNS hostnames for your VPC. The
|
44309
|
+
# format of this name depends on the [public hostname type][1].
|
44310
|
+
#
|
44311
|
+
#
|
44312
|
+
#
|
44313
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html#public-hostnames
|
44255
44314
|
# @return [String]
|
44256
44315
|
#
|
44257
44316
|
# @!attribute [rw] state_transition_reason
|
@@ -45438,7 +45497,7 @@ module Aws::EC2
|
|
45438
45497
|
# @!attribute [rw] interface_type
|
45439
45498
|
# The type of network interface.
|
45440
45499
|
#
|
45441
|
-
# Valid values: `interface` \| `efa` \| `efa-only` \| `trunk`
|
45500
|
+
# Valid values: `interface` \| `efa` \| `efa-only` \| `evs` \| `trunk`
|
45442
45501
|
# @return [String]
|
45443
45502
|
#
|
45444
45503
|
# @!attribute [rw] ipv_4_prefixes
|
@@ -55234,6 +55293,10 @@ module Aws::EC2
|
|
55234
55293
|
# will only apply to the primary network interface (eth0).
|
55235
55294
|
# @return [Boolean]
|
55236
55295
|
#
|
55296
|
+
# @!attribute [rw] associated_subnet_ids
|
55297
|
+
# A list of subnet IDs to associate with the network interface.
|
55298
|
+
# @return [Array<String>]
|
55299
|
+
#
|
55237
55300
|
# @!attribute [rw] dry_run
|
55238
55301
|
# Checks whether you have the required permissions for the action,
|
55239
55302
|
# without actually making the request, and provides an error response.
|
@@ -55279,6 +55342,7 @@ module Aws::EC2
|
|
55279
55342
|
:enable_primary_ipv_6,
|
55280
55343
|
:connection_tracking_specification,
|
55281
55344
|
:associate_public_ip_address,
|
55345
|
+
:associated_subnet_ids,
|
55282
55346
|
:dry_run,
|
55283
55347
|
:network_interface_id,
|
55284
55348
|
:description,
|
@@ -59320,6 +59384,10 @@ module Aws::EC2
|
|
59320
59384
|
# The service provider that manages the network interface.
|
59321
59385
|
# @return [Types::OperatorResponse]
|
59322
59386
|
#
|
59387
|
+
# @!attribute [rw] associated_subnets
|
59388
|
+
# The subnets associated with this network interface.
|
59389
|
+
# @return [Array<String>]
|
59390
|
+
#
|
59323
59391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface AWS API Documentation
|
59324
59392
|
#
|
59325
59393
|
class NetworkInterface < Struct.new(
|
@@ -59352,7 +59420,8 @@ module Aws::EC2
|
|
59352
59420
|
:deny_all_igw_traffic,
|
59353
59421
|
:ipv_6_native,
|
59354
59422
|
:ipv_6_address,
|
59355
|
-
:operator
|
59423
|
+
:operator,
|
59424
|
+
:associated_subnets)
|
59356
59425
|
SENSITIVE = []
|
59357
59426
|
include Aws::Structure
|
59358
59427
|
end
|
@@ -71684,12 +71753,30 @@ module Aws::EC2
|
|
71684
71753
|
# The state of VPC Block Public Access (BPA).
|
71685
71754
|
# @return [Types::BlockPublicAccessStates]
|
71686
71755
|
#
|
71756
|
+
# @!attribute [rw] type
|
71757
|
+
# Indicates if this is a subnet used with Amazon Elastic VMware
|
71758
|
+
# Service (EVS). Possible values are `Elastic VMware Service` or no
|
71759
|
+
# value. For more information about Amazon EVS, see [ *Amazon Elastic
|
71760
|
+
# VMware Service API Reference* ][1].
|
71761
|
+
#
|
71762
|
+
#
|
71763
|
+
#
|
71764
|
+
# [1]: https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html
|
71765
|
+
# @return [String]
|
71766
|
+
#
|
71687
71767
|
# @!attribute [rw] subnet_id
|
71688
71768
|
# The ID of the subnet.
|
71689
71769
|
# @return [String]
|
71690
71770
|
#
|
71691
71771
|
# @!attribute [rw] state
|
71692
71772
|
# The current state of the subnet.
|
71773
|
+
#
|
71774
|
+
# * `failed`: The underlying infrastructure to support the subnet
|
71775
|
+
# failed to provision as expected.
|
71776
|
+
#
|
71777
|
+
# * `failed-insufficient-capacity`: The underlying infrastructure to
|
71778
|
+
# support the subnet failed to provision due to a shortage of EC2
|
71779
|
+
# instance capacity.
|
71693
71780
|
# @return [String]
|
71694
71781
|
#
|
71695
71782
|
# @!attribute [rw] vpc_id
|
@@ -71745,6 +71832,7 @@ module Aws::EC2
|
|
71745
71832
|
:ipv_6_native,
|
71746
71833
|
:private_dns_name_options_on_launch,
|
71747
71834
|
:block_public_access_states,
|
71835
|
+
:type,
|
71748
71836
|
:subnet_id,
|
71749
71837
|
:state,
|
71750
71838
|
:vpc_id,
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1762,7 +1762,7 @@ module Aws::EC2
|
|
1762
1762
|
# * `interface-type` - The type of network interface
|
1763
1763
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
1764
1764
|
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
1765
|
-
# \| `efs` \| `gateway_load_balancer` \|
|
1765
|
+
# \| `efs` \| `evs` \| `gateway_load_balancer` \|
|
1766
1766
|
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
1767
1767
|
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
1768
1768
|
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
@@ -105,6 +105,12 @@ module Aws::EC2
|
|
105
105
|
data[:carrier_ip]
|
106
106
|
end
|
107
107
|
|
108
|
+
# The ID of the subnet where the IP address is allocated.
|
109
|
+
# @return [String]
|
110
|
+
def subnet_id
|
111
|
+
data[:subnet_id]
|
112
|
+
end
|
113
|
+
|
108
114
|
# The service that manages the elastic IP address.
|
109
115
|
#
|
110
116
|
# <note markdown="1"> The only option supported today is `alb`.
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/classic_address.rbs
CHANGED
@@ -53,6 +53,9 @@ module Aws
|
|
53
53
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#carrier_ip-instance_method
|
54
54
|
def carrier_ip: () -> ::String
|
55
55
|
|
56
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#subnet_id-instance_method
|
57
|
+
def subnet_id: () -> ::String
|
58
|
+
|
56
59
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/ClassicAddress.html#service_managed-instance_method
|
57
60
|
def service_managed: () -> ("alb" | "nlb" | "rnat")
|
58
61
|
|
data/sig/client.rbs
CHANGED
@@ -1718,6 +1718,7 @@ module Aws
|
|
1718
1718
|
]?
|
1719
1719
|
},
|
1720
1720
|
],
|
1721
|
+
?snapshot_location: ("regional" | "local"),
|
1721
1722
|
?dry_run: bool,
|
1722
1723
|
instance_id: ::String,
|
1723
1724
|
name: ::String,
|
@@ -1734,8 +1735,10 @@ module Aws
|
|
1734
1735
|
kms_key_id: ::String?,
|
1735
1736
|
throughput: ::Integer?,
|
1736
1737
|
outpost_arn: ::String?,
|
1738
|
+
availability_zone: ::String?,
|
1737
1739
|
encrypted: bool?,
|
1738
|
-
volume_initialization_rate: ::Integer
|
1740
|
+
volume_initialization_rate: ::Integer?,
|
1741
|
+
availability_zone_id: ::String?
|
1739
1742
|
}?,
|
1740
1743
|
no_device: ::String?,
|
1741
1744
|
device_name: ::String?,
|
@@ -11464,6 +11467,7 @@ module Aws
|
|
11464
11467
|
udp_timeout: ::Integer?
|
11465
11468
|
},
|
11466
11469
|
?associate_public_ip_address: bool,
|
11470
|
+
?associated_subnet_ids: Array[::String],
|
11467
11471
|
?dry_run: bool,
|
11468
11472
|
network_interface_id: ::String,
|
11469
11473
|
?description: untyped,
|
@@ -12612,8 +12616,10 @@ module Aws
|
|
12612
12616
|
kms_key_id: ::String?,
|
12613
12617
|
throughput: ::Integer?,
|
12614
12618
|
outpost_arn: ::String?,
|
12619
|
+
availability_zone: ::String?,
|
12615
12620
|
encrypted: bool?,
|
12616
|
-
volume_initialization_rate: ::Integer
|
12621
|
+
volume_initialization_rate: ::Integer?,
|
12622
|
+
availability_zone_id: ::String?
|
12617
12623
|
}?,
|
12618
12624
|
no_device: ::String?,
|
12619
12625
|
device_name: ::String?,
|
@@ -12939,8 +12945,10 @@ module Aws
|
|
12939
12945
|
kms_key_id: ::String?,
|
12940
12946
|
throughput: ::Integer?,
|
12941
12947
|
outpost_arn: ::String?,
|
12948
|
+
availability_zone: ::String?,
|
12942
12949
|
encrypted: bool?,
|
12943
|
-
volume_initialization_rate: ::Integer
|
12950
|
+
volume_initialization_rate: ::Integer?,
|
12951
|
+
availability_zone_id: ::String?
|
12944
12952
|
}?,
|
12945
12953
|
no_device: ::String?,
|
12946
12954
|
device_name: ::String?,
|
@@ -13251,8 +13259,10 @@ module Aws
|
|
13251
13259
|
kms_key_id: ::String?,
|
13252
13260
|
throughput: ::Integer?,
|
13253
13261
|
outpost_arn: ::String?,
|
13262
|
+
availability_zone: ::String?,
|
13254
13263
|
encrypted: bool?,
|
13255
|
-
volume_initialization_rate: ::Integer
|
13264
|
+
volume_initialization_rate: ::Integer?,
|
13265
|
+
availability_zone_id: ::String?
|
13256
13266
|
}?,
|
13257
13267
|
no_device: ::String?,
|
13258
13268
|
device_name: ::String?,
|
@@ -13646,8 +13656,10 @@ module Aws
|
|
13646
13656
|
kms_key_id: ::String?,
|
13647
13657
|
throughput: ::Integer?,
|
13648
13658
|
outpost_arn: ::String?,
|
13659
|
+
availability_zone: ::String?,
|
13649
13660
|
encrypted: bool?,
|
13650
|
-
volume_initialization_rate: ::Integer
|
13661
|
+
volume_initialization_rate: ::Integer?,
|
13662
|
+
availability_zone_id: ::String?
|
13651
13663
|
}?,
|
13652
13664
|
no_device: ::String?,
|
13653
13665
|
device_name: ::String?,
|
data/sig/instance.rbs
CHANGED
@@ -257,6 +257,7 @@ module Aws
|
|
257
257
|
]?
|
258
258
|
},
|
259
259
|
],
|
260
|
+
?snapshot_location: ("regional" | "local"),
|
260
261
|
?dry_run: bool,
|
261
262
|
name: ::String,
|
262
263
|
?description: ::String,
|
@@ -272,8 +273,10 @@ module Aws
|
|
272
273
|
kms_key_id: ::String?,
|
273
274
|
throughput: ::Integer?,
|
274
275
|
outpost_arn: ::String?,
|
276
|
+
availability_zone: ::String?,
|
275
277
|
encrypted: bool?,
|
276
|
-
volume_initialization_rate: ::Integer
|
278
|
+
volume_initialization_rate: ::Integer?,
|
279
|
+
availability_zone_id: ::String?
|
277
280
|
}?,
|
278
281
|
no_device: ::String?,
|
279
282
|
device_name: ::String?,
|
data/sig/network_interface.rbs
CHANGED
@@ -102,6 +102,9 @@ module Aws
|
|
102
102
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#operator-instance_method
|
103
103
|
def operator: () -> Types::OperatorResponse
|
104
104
|
|
105
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#associated_subnets-instance_method
|
106
|
+
def associated_subnets: () -> ::Array[::String]
|
107
|
+
|
105
108
|
def client: () -> Client
|
106
109
|
|
107
110
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#load-instance_method
|
@@ -200,6 +203,7 @@ module Aws
|
|
200
203
|
udp_timeout: ::Integer?
|
201
204
|
},
|
202
205
|
?associate_public_ip_address: bool,
|
206
|
+
?associated_subnet_ids: Array[::String],
|
203
207
|
?dry_run: bool,
|
204
208
|
?description: untyped,
|
205
209
|
?source_dest_check: {
|
data/sig/resource.rbs
CHANGED
@@ -115,8 +115,10 @@ module Aws
|
|
115
115
|
kms_key_id: ::String?,
|
116
116
|
throughput: ::Integer?,
|
117
117
|
outpost_arn: ::String?,
|
118
|
+
availability_zone: ::String?,
|
118
119
|
encrypted: bool?,
|
119
|
-
volume_initialization_rate: ::Integer
|
120
|
+
volume_initialization_rate: ::Integer?,
|
121
|
+
availability_zone_id: ::String?
|
120
122
|
}?,
|
121
123
|
no_device: ::String?,
|
122
124
|
device_name: ::String?,
|
@@ -726,8 +728,10 @@ module Aws
|
|
726
728
|
kms_key_id: ::String?,
|
727
729
|
throughput: ::Integer?,
|
728
730
|
outpost_arn: ::String?,
|
731
|
+
availability_zone: ::String?,
|
729
732
|
encrypted: bool?,
|
730
|
-
volume_initialization_rate: ::Integer
|
733
|
+
volume_initialization_rate: ::Integer?,
|
734
|
+
availability_zone_id: ::String?
|
731
735
|
}?,
|
732
736
|
no_device: ::String?,
|
733
737
|
device_name: ::String?,
|
data/sig/subnet.rbs
CHANGED
@@ -60,8 +60,11 @@ module Aws
|
|
60
60
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#block_public_access_states-instance_method
|
61
61
|
def block_public_access_states: () -> Types::BlockPublicAccessStates
|
62
62
|
|
63
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#type-instance_method
|
64
|
+
def type: () -> ::String
|
65
|
+
|
63
66
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#state-instance_method
|
64
|
-
def state: () -> ("pending" | "available" | "unavailable")
|
67
|
+
def state: () -> ("pending" | "available" | "unavailable" | "failed" | "failed-insufficient-capacity")
|
65
68
|
|
66
69
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#vpc_id-instance_method
|
67
70
|
def vpc_id: () -> ::String
|
@@ -107,8 +110,10 @@ module Aws
|
|
107
110
|
kms_key_id: ::String?,
|
108
111
|
throughput: ::Integer?,
|
109
112
|
outpost_arn: ::String?,
|
113
|
+
availability_zone: ::String?,
|
110
114
|
encrypted: bool?,
|
111
|
-
volume_initialization_rate: ::Integer
|
115
|
+
volume_initialization_rate: ::Integer?,
|
116
|
+
availability_zone_id: ::String?
|
112
117
|
}?,
|
113
118
|
no_device: ::String?,
|
114
119
|
device_name: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -228,6 +228,7 @@ module Aws::EC2
|
|
228
228
|
attr_accessor customer_owned_ip: ::String
|
229
229
|
attr_accessor customer_owned_ipv_4_pool: ::String
|
230
230
|
attr_accessor carrier_ip: ::String
|
231
|
+
attr_accessor subnet_id: ::String
|
231
232
|
attr_accessor service_managed: ("alb" | "nlb" | "rnat")
|
232
233
|
attr_accessor instance_id: ::String
|
233
234
|
attr_accessor public_ip: ::String
|
@@ -2107,6 +2108,7 @@ module Aws::EC2
|
|
2107
2108
|
|
2108
2109
|
class CreateImageRequest
|
2109
2110
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
2111
|
+
attr_accessor snapshot_location: ("regional" | "local")
|
2110
2112
|
attr_accessor dry_run: bool
|
2111
2113
|
attr_accessor instance_id: ::String
|
2112
2114
|
attr_accessor name: ::String
|
@@ -7541,8 +7543,10 @@ module Aws::EC2
|
|
7541
7543
|
attr_accessor kms_key_id: ::String
|
7542
7544
|
attr_accessor throughput: ::Integer
|
7543
7545
|
attr_accessor outpost_arn: ::String
|
7546
|
+
attr_accessor availability_zone: ::String
|
7544
7547
|
attr_accessor encrypted: bool
|
7545
7548
|
attr_accessor volume_initialization_rate: ::Integer
|
7549
|
+
attr_accessor availability_zone_id: ::String
|
7546
7550
|
SENSITIVE: []
|
7547
7551
|
end
|
7548
7552
|
|
@@ -11911,6 +11915,7 @@ module Aws::EC2
|
|
11911
11915
|
attr_accessor enable_primary_ipv_6: bool
|
11912
11916
|
attr_accessor connection_tracking_specification: Types::ConnectionTrackingSpecificationRequest
|
11913
11917
|
attr_accessor associate_public_ip_address: bool
|
11918
|
+
attr_accessor associated_subnet_ids: ::Array[::String]
|
11914
11919
|
attr_accessor dry_run: bool
|
11915
11920
|
attr_accessor network_interface_id: ::String
|
11916
11921
|
attr_accessor description: Types::AttributeValue
|
@@ -12845,6 +12850,7 @@ module Aws::EC2
|
|
12845
12850
|
attr_accessor ipv_6_native: bool
|
12846
12851
|
attr_accessor ipv_6_address: ::String
|
12847
12852
|
attr_accessor operator: Types::OperatorResponse
|
12853
|
+
attr_accessor associated_subnets: ::Array[::String]
|
12848
12854
|
SENSITIVE: []
|
12849
12855
|
end
|
12850
12856
|
|
@@ -15415,8 +15421,9 @@ module Aws::EC2
|
|
15415
15421
|
attr_accessor ipv_6_native: bool
|
15416
15422
|
attr_accessor private_dns_name_options_on_launch: Types::PrivateDnsNameOptionsOnLaunch
|
15417
15423
|
attr_accessor block_public_access_states: Types::BlockPublicAccessStates
|
15424
|
+
attr_accessor type: ::String
|
15418
15425
|
attr_accessor subnet_id: ::String
|
15419
|
-
attr_accessor state: ("pending" | "available" | "unavailable")
|
15426
|
+
attr_accessor state: ("pending" | "available" | "unavailable" | "failed" | "failed-insufficient-capacity")
|
15420
15427
|
attr_accessor vpc_id: ::String
|
15421
15428
|
attr_accessor cidr_block: ::String
|
15422
15429
|
attr_accessor available_ip_address_count: ::Integer
|
data/sig/vpc_address.rbs
CHANGED
@@ -50,6 +50,9 @@ module Aws
|
|
50
50
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#carrier_ip-instance_method
|
51
51
|
def carrier_ip: () -> ::String
|
52
52
|
|
53
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#subnet_id-instance_method
|
54
|
+
def subnet_id: () -> ::String
|
55
|
+
|
53
56
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#service_managed-instance_method
|
54
57
|
def service_managed: () -> ("alb" | "nlb" | "rnat")
|
55
58
|
|