aws-sdk-ec2 1.674.0 → 1.676.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 +5594 -491
- data/lib/aws-sdk-ec2/client_api.rb +1237 -2
- data/lib/aws-sdk-ec2/instance.rb +13 -4
- data/lib/aws-sdk-ec2/resource.rb +108 -30
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +20 -3
- data/lib/aws-sdk-ec2/types.rb +6474 -2177
- data/lib/aws-sdk-ec2/volume.rb +38 -6
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2/waiters.rb +621 -45
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +945 -132
- data/sig/instance.rbs +11 -2
- data/sig/params.rbs +41 -6
- data/sig/resource.rbs +57 -21
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +1 -1
- data/sig/subnet.rbs +21 -4
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +912 -49
- data/sig/volume.rbs +8 -2
- data/sig/vpc.rbs +5 -5
- data/sig/waiters.rbs +228 -0
- metadata +1 -1
data/sig/instance.rbs
CHANGED
|
@@ -255,7 +255,7 @@ module Aws
|
|
|
255
255
|
def create_image: (
|
|
256
256
|
?tag_specifications: Array[
|
|
257
257
|
{
|
|
258
|
-
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "declarative-policies-report" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fca-policy" | "fleet" | "fpga-image" | "host-reservation" | "image" | "image-usage-report" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "outpost-lag" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "service-link-virtual-interface" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-metering-policy" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "vpc-encryption-control" | "route-server" | "route-server-endpoint" | "route-server-peer" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "verified-access-endpoint-target" | "ipam-external-resource-verification-token" | "capacity-block" | "mac-modification-task" | "ipam-prefix-list-resolver" | "ipam-policy" | "ipam-prefix-list-resolver-target" | "ipam-internet-registry-association" | "secondary-interface" | "secondary-network" | "secondary-subnet" | "capacity-manager-data-export" | "vpn-concentrator" | "ipam-pool-allocation" | "capacity-reservation-cancellation-quote" | "application-status-check" | "capacity-reservation-modification-quote" | "metric-category")?,
|
|
258
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "declarative-policies-report" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fca-policy" | "fleet" | "fpga-image" | "host-reservation" | "image" | "image-usage-report" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "outpost-lag" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "service-link-virtual-interface" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-metering-policy" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "vpc-encryption-control" | "route-server" | "route-server-endpoint" | "route-server-peer" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "verified-access-endpoint-target" | "ipam-external-resource-verification-token" | "capacity-block" | "mac-modification-task" | "ipam-prefix-list-resolver" | "ipam-policy" | "ipam-prefix-list-resolver-target" | "ipam-internet-registry-association" | "secondary-interface" | "secondary-network" | "secondary-subnet" | "capacity-manager-data-export" | "vpn-concentrator" | "ipam-pool-allocation" | "capacity-reservation-cancellation-quote" | "application-status-check" | "capacity-reservation-modification-quote" | "secondary-network-acl" | "secondary-network-acl-association" | "metric-category" | "virtual-edge-network-gateway" | "virtual-edge-network-gateway-route-table" | "virtual-edge-network-gateway-route-table-association" | "virtual-edge-network-route-server-peer")?,
|
|
259
259
|
tags: Array[
|
|
260
260
|
{
|
|
261
261
|
key: ::String?,
|
|
@@ -277,11 +277,20 @@ module Aws
|
|
|
277
277
|
iops: ::Integer?,
|
|
278
278
|
snapshot_id: ::String?,
|
|
279
279
|
volume_size: ::Integer?,
|
|
280
|
-
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
|
|
280
|
+
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
|
|
281
281
|
kms_key_id: ::String?,
|
|
282
282
|
throughput: ::Integer?,
|
|
283
283
|
outpost_arn: ::String?,
|
|
284
284
|
availability_zone: ::String?,
|
|
285
|
+
multi_availability_zone_configuration: {
|
|
286
|
+
configuration_type: ("multi-az-1")?,
|
|
287
|
+
standby_availability_zones: Array[
|
|
288
|
+
{
|
|
289
|
+
availability_zone: ::String?,
|
|
290
|
+
availability_zone_id: ::String?
|
|
291
|
+
}
|
|
292
|
+
]?
|
|
293
|
+
}?,
|
|
285
294
|
encrypted: bool?,
|
|
286
295
|
volume_initialization_rate: ::Integer?,
|
|
287
296
|
availability_zone_id: ::String?,
|
data/sig/params.rbs
CHANGED
|
@@ -192,7 +192,16 @@ module Aws
|
|
|
192
192
|
kms_key_id: ::String?,
|
|
193
193
|
snapshot_id: ::String?,
|
|
194
194
|
volume_size: ::Integer?,
|
|
195
|
-
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
|
|
195
|
+
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
|
|
196
|
+
multi_availability_zone_configuration: {
|
|
197
|
+
configuration_type: ("multi-az-1")?,
|
|
198
|
+
standby_availability_zones: Array[
|
|
199
|
+
{
|
|
200
|
+
availability_zone: ::String?,
|
|
201
|
+
availability_zone_id: ::String?
|
|
202
|
+
}
|
|
203
|
+
]?
|
|
204
|
+
}?
|
|
196
205
|
}
|
|
197
206
|
|
|
198
207
|
type fleet_block_device_mapping_request = {
|
|
@@ -207,11 +216,20 @@ module Aws
|
|
|
207
216
|
iops: ::Integer?,
|
|
208
217
|
snapshot_id: ::String?,
|
|
209
218
|
volume_size: ::Integer?,
|
|
210
|
-
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
|
|
219
|
+
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
|
|
211
220
|
kms_key_id: ::String?,
|
|
212
221
|
throughput: ::Integer?,
|
|
213
222
|
outpost_arn: ::String?,
|
|
214
223
|
availability_zone: ::String?,
|
|
224
|
+
multi_availability_zone_configuration: {
|
|
225
|
+
configuration_type: ("multi-az-1")?,
|
|
226
|
+
standby_availability_zones: Array[
|
|
227
|
+
{
|
|
228
|
+
availability_zone: ::String?,
|
|
229
|
+
availability_zone_id: ::String?
|
|
230
|
+
}
|
|
231
|
+
]?
|
|
232
|
+
}?,
|
|
215
233
|
encrypted: bool?,
|
|
216
234
|
volume_initialization_rate: ::Integer?,
|
|
217
235
|
availability_zone_id: ::String?,
|
|
@@ -299,7 +317,7 @@ module Aws
|
|
|
299
317
|
user_data: ::String?,
|
|
300
318
|
tag_specifications: Array[
|
|
301
319
|
{
|
|
302
|
-
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "declarative-policies-report" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fca-policy" | "fleet" | "fpga-image" | "host-reservation" | "image" | "image-usage-report" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "outpost-lag" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "service-link-virtual-interface" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-metering-policy" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "vpc-encryption-control" | "route-server" | "route-server-endpoint" | "route-server-peer" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "verified-access-endpoint-target" | "ipam-external-resource-verification-token" | "capacity-block" | "mac-modification-task" | "ipam-prefix-list-resolver" | "ipam-policy" | "ipam-prefix-list-resolver-target" | "ipam-internet-registry-association" | "secondary-interface" | "secondary-network" | "secondary-subnet" | "capacity-manager-data-export" | "vpn-concentrator" | "ipam-pool-allocation" | "capacity-reservation-cancellation-quote" | "application-status-check" | "capacity-reservation-modification-quote" | "metric-category")?,
|
|
320
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "declarative-policies-report" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fca-policy" | "fleet" | "fpga-image" | "host-reservation" | "image" | "image-usage-report" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "outpost-lag" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "service-link-virtual-interface" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-metering-policy" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "vpc-encryption-control" | "route-server" | "route-server-endpoint" | "route-server-peer" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "verified-access-endpoint-target" | "ipam-external-resource-verification-token" | "capacity-block" | "mac-modification-task" | "ipam-prefix-list-resolver" | "ipam-policy" | "ipam-prefix-list-resolver-target" | "ipam-internet-registry-association" | "secondary-interface" | "secondary-network" | "secondary-subnet" | "capacity-manager-data-export" | "vpn-concentrator" | "ipam-pool-allocation" | "capacity-reservation-cancellation-quote" | "application-status-check" | "capacity-reservation-modification-quote" | "secondary-network-acl" | "secondary-network-acl-association" | "metric-category" | "virtual-edge-network-gateway" | "virtual-edge-network-gateway-route-table" | "virtual-edge-network-gateway-route-table-association" | "virtual-edge-network-route-server-peer")?,
|
|
303
321
|
tags: Array[
|
|
304
322
|
{
|
|
305
323
|
key: ::String?,
|
|
@@ -384,10 +402,19 @@ module Aws
|
|
|
384
402
|
kms_key_id: ::String?,
|
|
385
403
|
snapshot_id: ::String?,
|
|
386
404
|
volume_size: ::Integer?,
|
|
387
|
-
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
|
|
405
|
+
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
|
|
388
406
|
throughput: ::Integer?,
|
|
389
407
|
volume_initialization_rate: ::Integer?,
|
|
390
|
-
ebs_card_index: ::Integer
|
|
408
|
+
ebs_card_index: ::Integer?,
|
|
409
|
+
multi_availability_zone_configuration: {
|
|
410
|
+
configuration_type: ("multi-az-1")?,
|
|
411
|
+
standby_availability_zones: Array[
|
|
412
|
+
{
|
|
413
|
+
availability_zone: ::String?,
|
|
414
|
+
availability_zone_id: ::String?
|
|
415
|
+
}
|
|
416
|
+
]?
|
|
417
|
+
}?
|
|
391
418
|
}
|
|
392
419
|
|
|
393
420
|
type launch_template_block_device_mapping_request = {
|
|
@@ -460,7 +487,15 @@ module Aws
|
|
|
460
487
|
private_ip_address_count: ::Integer?,
|
|
461
488
|
secondary_subnet_id: ::String?,
|
|
462
489
|
interface_type: ("secondary")?,
|
|
463
|
-
network_card_index: ::Integer
|
|
490
|
+
network_card_index: ::Integer?,
|
|
491
|
+
ipv_6_addresses: Array[
|
|
492
|
+
{
|
|
493
|
+
ipv_6_address: ::String?
|
|
494
|
+
}
|
|
495
|
+
]?,
|
|
496
|
+
ipv_6_address_count: ::Integer?,
|
|
497
|
+
ena_queue_count: ::Integer?,
|
|
498
|
+
vlan_mode: ("access")?
|
|
464
499
|
}
|
|
465
500
|
|
|
466
501
|
type packet_header_statement_request = {
|