aws-sdk-ec2 1.561.0 → 1.562.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +202 -33
- data/lib/aws-sdk-ec2/client_api.rb +25 -0
- data/lib/aws-sdk-ec2/resource.rb +21 -28
- data/lib/aws-sdk-ec2/types.rb +161 -31
- data/lib/aws-sdk-ec2/volume.rb +7 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +29 -0
- data/sig/types.rbs +20 -1
- data/sig/volume.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: fc7b99f043b53ff75496d814390ca40fa24859fbc0421b3baee182c95de63a4e
|
4
|
+
data.tar.gz: ecbfb1686aaa531209a98762876d63f506cd3c097d54b0974edd7c408d178917
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d894fe1141408c6ee8f0fc42c495ec545e34f5badf8e65c5766ff82abc789368d4010d4db8526bc7caf2c3a002f562437696bc70de9d4168831034cdf5b4757
|
7
|
+
data.tar.gz: 4569cf2cc5a0fccaa65cf9721adedb25c123c7df53efd3bb5159b4d9d5aea2da70816cda7e1cc1dda9324dcd2c595ba37c773f767df08267cbf8a1452ef31177
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.562.0 (2025-10-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for creating instant, point-in-time copies of EBS volumes within the same Availability Zone
|
8
|
+
|
4
9
|
1.561.0 (2025-10-13)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.562.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -5390,6 +5390,178 @@ module Aws::EC2
|
|
5390
5390
|
req.send_request(options)
|
5391
5391
|
end
|
5392
5392
|
|
5393
|
+
# Creates a crash-consistent, point-in-time copy of an existing Amazon
|
5394
|
+
# EBS volume within the same Availability Zone. The volume copy can be
|
5395
|
+
# attached to an Amazon EC2 instance once it reaches the `available`
|
5396
|
+
# state. For more information, see [Copy an Amazon EBS volume][1].
|
5397
|
+
#
|
5398
|
+
#
|
5399
|
+
#
|
5400
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-copying-volume.html
|
5401
|
+
#
|
5402
|
+
# @option params [required, String] :source_volume_id
|
5403
|
+
# The ID of the source EBS volume to copy.
|
5404
|
+
#
|
5405
|
+
# @option params [Integer] :iops
|
5406
|
+
# The number of I/O operations per second (IOPS) to provision for the
|
5407
|
+
# volume copy. Required for `io1` and `io2` volumes. Optional for `gp3`
|
5408
|
+
# volumes. Omit for all other volume types. Full provisioned IOPS
|
5409
|
+
# performance can be achieved only once the volume copy is fully
|
5410
|
+
# initialized.
|
5411
|
+
#
|
5412
|
+
# Valid ranges:
|
5413
|
+
#
|
5414
|
+
# * gp3: `3,000 `(*default*)` - 80,000` IOPS
|
5415
|
+
#
|
5416
|
+
# * io1: `100 - 64,000` IOPS
|
5417
|
+
#
|
5418
|
+
# * io2: `100 - 256,000` IOPS
|
5419
|
+
#
|
5420
|
+
# <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
|
5421
|
+
# IOPS. Other instances can support up to 32,000 IOPS.
|
5422
|
+
#
|
5423
|
+
# </note>
|
5424
|
+
#
|
5425
|
+
#
|
5426
|
+
#
|
5427
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html
|
5428
|
+
#
|
5429
|
+
# @option params [Integer] :size
|
5430
|
+
# The size of the volume copy, in GiBs. The size must be equal to or
|
5431
|
+
# greater than the size of the source volume. If not specified, the size
|
5432
|
+
# defaults to the size of the source volume.
|
5433
|
+
#
|
5434
|
+
# Maximum supported sizes:
|
5435
|
+
#
|
5436
|
+
# * gp2: `16,384` GiB
|
5437
|
+
#
|
5438
|
+
# * gp3: `65,536` GiB
|
5439
|
+
#
|
5440
|
+
# * io1: `16,384` GiB
|
5441
|
+
#
|
5442
|
+
# * io2: `65,536` GiB
|
5443
|
+
#
|
5444
|
+
# * st1 and sc1: `16,384` GiB
|
5445
|
+
#
|
5446
|
+
# * standard: `1024` GiB
|
5447
|
+
#
|
5448
|
+
# @option params [String] :volume_type
|
5449
|
+
# The volume type for the volume copy. If not specified, the volume type
|
5450
|
+
# defaults to `gp2`.
|
5451
|
+
#
|
5452
|
+
# @option params [Boolean] :dry_run
|
5453
|
+
# Checks whether you have the required permissions for the action,
|
5454
|
+
# without actually making the request, and provides an error response.
|
5455
|
+
# If you have the required permissions, the error response is
|
5456
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
5457
|
+
#
|
5458
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
5459
|
+
# The tags to apply to the volume copy during creation.
|
5460
|
+
#
|
5461
|
+
# @option params [Boolean] :multi_attach_enabled
|
5462
|
+
# Indicates whether to enable Amazon EBS Multi-Attach for the volume
|
5463
|
+
# copy. If you enable Multi-Attach, you can attach the volume to up to
|
5464
|
+
# 16 Nitro instances in the same Availability Zone simultaneously.
|
5465
|
+
# Supported with `io1` and `io2` volumes only. For more information, see
|
5466
|
+
# [ Amazon EBS Multi-Attach][1].
|
5467
|
+
#
|
5468
|
+
#
|
5469
|
+
#
|
5470
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
|
5471
|
+
#
|
5472
|
+
# @option params [Integer] :throughput
|
5473
|
+
# The throughput to provision for the volume copy, in MiB/s. Supported
|
5474
|
+
# for `gp3` volumes only. Omit for all other volume types. Full
|
5475
|
+
# provisioned throughput performance can be achieved only once the
|
5476
|
+
# volume copy is fully initialized.
|
5477
|
+
#
|
5478
|
+
# Valid Range: `125 - 2000` MiB/s
|
5479
|
+
#
|
5480
|
+
# @option params [String] :client_token
|
5481
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
5482
|
+
# idempotency of the request. For more information, see [ Ensure
|
5483
|
+
# Idempotency][1].
|
5484
|
+
#
|
5485
|
+
# **A suitable default value is auto-generated.** You should normally
|
5486
|
+
# not need to pass this option.**
|
5487
|
+
#
|
5488
|
+
#
|
5489
|
+
#
|
5490
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
5491
|
+
#
|
5492
|
+
# @return [Types::CopyVolumesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5493
|
+
#
|
5494
|
+
# * {Types::CopyVolumesResult#volumes #volumes} => Array<Types::Volume>
|
5495
|
+
#
|
5496
|
+
# @example Request syntax with placeholder values
|
5497
|
+
#
|
5498
|
+
# resp = client.copy_volumes({
|
5499
|
+
# source_volume_id: "VolumeId", # required
|
5500
|
+
# iops: 1,
|
5501
|
+
# size: 1,
|
5502
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
5503
|
+
# dry_run: false,
|
5504
|
+
# tag_specifications: [
|
5505
|
+
# {
|
5506
|
+
# resource_type: "capacity-reservation", # accepts 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, 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-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, 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
|
5507
|
+
# tags: [
|
5508
|
+
# {
|
5509
|
+
# key: "String",
|
5510
|
+
# value: "String",
|
5511
|
+
# },
|
5512
|
+
# ],
|
5513
|
+
# },
|
5514
|
+
# ],
|
5515
|
+
# multi_attach_enabled: false,
|
5516
|
+
# throughput: 1,
|
5517
|
+
# client_token: "String",
|
5518
|
+
# })
|
5519
|
+
#
|
5520
|
+
# @example Response structure
|
5521
|
+
#
|
5522
|
+
# resp.volumes #=> Array
|
5523
|
+
# resp.volumes[0].availability_zone_id #=> String
|
5524
|
+
# resp.volumes[0].outpost_arn #=> String
|
5525
|
+
# resp.volumes[0].source_volume_id #=> String
|
5526
|
+
# resp.volumes[0].iops #=> Integer
|
5527
|
+
# resp.volumes[0].tags #=> Array
|
5528
|
+
# resp.volumes[0].tags[0].key #=> String
|
5529
|
+
# resp.volumes[0].tags[0].value #=> String
|
5530
|
+
# resp.volumes[0].volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
5531
|
+
# resp.volumes[0].fast_restored #=> Boolean
|
5532
|
+
# resp.volumes[0].multi_attach_enabled #=> Boolean
|
5533
|
+
# resp.volumes[0].throughput #=> Integer
|
5534
|
+
# resp.volumes[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
|
5535
|
+
# resp.volumes[0].operator.managed #=> Boolean
|
5536
|
+
# resp.volumes[0].operator.principal #=> String
|
5537
|
+
# resp.volumes[0].volume_initialization_rate #=> Integer
|
5538
|
+
# resp.volumes[0].volume_id #=> String
|
5539
|
+
# resp.volumes[0].size #=> Integer
|
5540
|
+
# resp.volumes[0].snapshot_id #=> String
|
5541
|
+
# resp.volumes[0].availability_zone #=> String
|
5542
|
+
# resp.volumes[0].state #=> String, one of "creating", "available", "in-use", "deleting", "deleted", "error"
|
5543
|
+
# resp.volumes[0].create_time #=> Time
|
5544
|
+
# resp.volumes[0].attachments #=> Array
|
5545
|
+
# resp.volumes[0].attachments[0].delete_on_termination #=> Boolean
|
5546
|
+
# resp.volumes[0].attachments[0].associated_resource #=> String
|
5547
|
+
# resp.volumes[0].attachments[0].instance_owning_service #=> String
|
5548
|
+
# resp.volumes[0].attachments[0].volume_id #=> String
|
5549
|
+
# resp.volumes[0].attachments[0].instance_id #=> String
|
5550
|
+
# resp.volumes[0].attachments[0].device #=> String
|
5551
|
+
# resp.volumes[0].attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached", "busy"
|
5552
|
+
# resp.volumes[0].attachments[0].attach_time #=> Time
|
5553
|
+
# resp.volumes[0].encrypted #=> Boolean
|
5554
|
+
# resp.volumes[0].kms_key_id #=> String
|
5555
|
+
#
|
5556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyVolumes AWS API Documentation
|
5557
|
+
#
|
5558
|
+
# @overload copy_volumes(params = {})
|
5559
|
+
# @param [Hash] params ({})
|
5560
|
+
def copy_volumes(params = {}, options = {})
|
5561
|
+
req = build_request(:copy_volumes, params)
|
5562
|
+
req.send_request(options)
|
5563
|
+
end
|
5564
|
+
|
5393
5565
|
# Creates a new Capacity Reservation with the specified attributes.
|
5394
5566
|
# Capacity Reservations enable you to reserve capacity for your Amazon
|
5395
5567
|
# EC2 instances in a specific Availability Zone for any duration.
|
@@ -16265,27 +16437,22 @@ module Aws::EC2
|
|
16265
16437
|
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
|
16266
16438
|
#
|
16267
16439
|
# @option params [Integer] :iops
|
16268
|
-
# The number of I/O operations per second (IOPS)
|
16269
|
-
#
|
16270
|
-
#
|
16271
|
-
# performance of the volume and the rate at which the volume accumulates
|
16272
|
-
# I/O credits for bursting.
|
16440
|
+
# The number of I/O operations per second (IOPS) to provision for the
|
16441
|
+
# volume. Required for `io1` and `io2` volumes. Optional for `gp3`
|
16442
|
+
# volumes. Omit for all other volume types.
|
16273
16443
|
#
|
16274
|
-
#
|
16444
|
+
# Valid ranges:
|
16275
16445
|
#
|
16276
|
-
# *
|
16446
|
+
# * gp3: `3,000 `(*default*)` - 80,000` IOPS
|
16277
16447
|
#
|
16278
|
-
# *
|
16448
|
+
# * io1: `100 - 64,000` IOPS
|
16279
16449
|
#
|
16280
|
-
# *
|
16450
|
+
# * io2: `100 - 256,000` IOPS
|
16281
16451
|
#
|
16282
|
-
#
|
16283
|
-
#
|
16284
|
-
# performance up to 32,000 IOPS.
|
16452
|
+
# <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
|
16453
|
+
# IOPS. Other instances can support up to 32,000 IOPS.
|
16285
16454
|
#
|
16286
|
-
#
|
16287
|
-
# for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
|
16288
|
-
# `gp2`, `st1`, `sc1`, or `standard` volumes.
|
16455
|
+
# </note>
|
16289
16456
|
#
|
16290
16457
|
#
|
16291
16458
|
#
|
@@ -16325,22 +16492,22 @@ module Aws::EC2
|
|
16325
16492
|
# @option params [Integer] :size
|
16326
16493
|
# The size of the volume, in GiBs. You must specify either a snapshot ID
|
16327
16494
|
# or a volume size. If you specify a snapshot, the default is the
|
16328
|
-
# snapshot size
|
16495
|
+
# snapshot size, and you can specify a volume size that is equal to or
|
16329
16496
|
# larger than the snapshot size.
|
16330
16497
|
#
|
16331
|
-
#
|
16498
|
+
# Valid sizes:
|
16332
16499
|
#
|
16333
|
-
# *
|
16500
|
+
# * gp2: `1 - 16,384` GiB
|
16334
16501
|
#
|
16335
|
-
# *
|
16502
|
+
# * gp3: `1 - 65,536` GiB
|
16336
16503
|
#
|
16337
|
-
# *
|
16504
|
+
# * io1: `4 - 16,384` GiB
|
16338
16505
|
#
|
16339
|
-
# *
|
16506
|
+
# * io2: `4 - 65,536` GiB
|
16340
16507
|
#
|
16341
|
-
# *
|
16508
|
+
# * st1 and sc1: `125 - 16,384` GiB
|
16342
16509
|
#
|
16343
|
-
# *
|
16510
|
+
# * standard: `1 - 1024` GiB
|
16344
16511
|
#
|
16345
16512
|
# @option params [String] :snapshot_id
|
16346
16513
|
# The snapshot from which to create the volume. You must specify either
|
@@ -16387,12 +16554,10 @@ module Aws::EC2
|
|
16387
16554
|
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
|
16388
16555
|
#
|
16389
16556
|
# @option params [Integer] :throughput
|
16390
|
-
# The throughput to provision for
|
16391
|
-
#
|
16557
|
+
# The throughput to provision for the volume, in MiB/s. Supported for
|
16558
|
+
# `gp3` volumes only. Omit for all other volume types.
|
16392
16559
|
#
|
16393
|
-
#
|
16394
|
-
#
|
16395
|
-
# Valid Range: Minimum value of 125. Maximum value of 2,000.
|
16560
|
+
# Valid Range: `125 - 2000` MiB/s
|
16396
16561
|
#
|
16397
16562
|
# @option params [String] :client_token
|
16398
16563
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -16451,6 +16616,7 @@ module Aws::EC2
|
|
16451
16616
|
#
|
16452
16617
|
# * {Types::Volume#availability_zone_id #availability_zone_id} => String
|
16453
16618
|
# * {Types::Volume#outpost_arn #outpost_arn} => String
|
16619
|
+
# * {Types::Volume#source_volume_id #source_volume_id} => String
|
16454
16620
|
# * {Types::Volume#iops #iops} => Integer
|
16455
16621
|
# * {Types::Volume#tags #tags} => Array<Types::Tag>
|
16456
16622
|
# * {Types::Volume#volume_type #volume_type} => String
|
@@ -16559,6 +16725,7 @@ module Aws::EC2
|
|
16559
16725
|
#
|
16560
16726
|
# resp.availability_zone_id #=> String
|
16561
16727
|
# resp.outpost_arn #=> String
|
16728
|
+
# resp.source_volume_id #=> String
|
16562
16729
|
# resp.iops #=> Integer
|
16563
16730
|
# resp.tags #=> Array
|
16564
16731
|
# resp.tags[0].key #=> String
|
@@ -41180,7 +41347,7 @@ module Aws::EC2
|
|
41180
41347
|
# resp.volume_statuses[0].attachment_statuses #=> Array
|
41181
41348
|
# resp.volume_statuses[0].attachment_statuses[0].io_performance #=> String
|
41182
41349
|
# resp.volume_statuses[0].attachment_statuses[0].instance_id #=> String
|
41183
|
-
# resp.volume_statuses[0].initialization_status_details.initialization_type #=> String, one of "default", "provisioned-rate"
|
41350
|
+
# resp.volume_statuses[0].initialization_status_details.initialization_type #=> String, one of "default", "provisioned-rate", "volume-copy"
|
41184
41351
|
# resp.volume_statuses[0].initialization_status_details.progress #=> Integer
|
41185
41352
|
# resp.volume_statuses[0].initialization_status_details.estimated_time_to_complete_in_seconds #=> Integer
|
41186
41353
|
# resp.volume_statuses[0].availability_zone_id #=> String
|
@@ -41413,6 +41580,7 @@ module Aws::EC2
|
|
41413
41580
|
# resp.volumes #=> Array
|
41414
41581
|
# resp.volumes[0].availability_zone_id #=> String
|
41415
41582
|
# resp.volumes[0].outpost_arn #=> String
|
41583
|
+
# resp.volumes[0].source_volume_id #=> String
|
41416
41584
|
# resp.volumes[0].iops #=> Integer
|
41417
41585
|
# resp.volumes[0].tags #=> Array
|
41418
41586
|
# resp.volumes[0].tags[0].key #=> String
|
@@ -57597,9 +57765,10 @@ module Aws::EC2
|
|
57597
57765
|
#
|
57598
57766
|
# * `io2`: 100 - 256,000 IOPS
|
57599
57767
|
#
|
57600
|
-
#
|
57601
|
-
#
|
57602
|
-
#
|
57768
|
+
# <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
|
57769
|
+
# IOPS. Other instances can support up to 32,000 IOPS.
|
57770
|
+
#
|
57771
|
+
# </note>
|
57603
57772
|
#
|
57604
57773
|
# Default: The existing value is retained if you keep the same volume
|
57605
57774
|
# type. If you change the volume type to `io1`, `io2`, or `gp3`, the
|
@@ -67168,7 +67337,7 @@ module Aws::EC2
|
|
67168
67337
|
tracer: tracer
|
67169
67338
|
)
|
67170
67339
|
context[:gem_name] = 'aws-sdk-ec2'
|
67171
|
-
context[:gem_version] = '1.
|
67340
|
+
context[:gem_version] = '1.562.0'
|
67172
67341
|
Seahorse::Client::Request.new(handlers, context)
|
67173
67342
|
end
|
67174
67343
|
|
@@ -449,6 +449,8 @@ module Aws::EC2
|
|
449
449
|
CopySnapshotRequestPSU = Shapes::StringShape.new(name: 'CopySnapshotRequestPSU')
|
450
450
|
CopySnapshotResult = Shapes::StructureShape.new(name: 'CopySnapshotResult')
|
451
451
|
CopyTagsFromSource = Shapes::StringShape.new(name: 'CopyTagsFromSource')
|
452
|
+
CopyVolumesRequest = Shapes::StructureShape.new(name: 'CopyVolumesRequest')
|
453
|
+
CopyVolumesResult = Shapes::StructureShape.new(name: 'CopyVolumesResult')
|
452
454
|
CoreCount = Shapes::IntegerShape.new(name: 'CoreCount')
|
453
455
|
CoreCountList = Shapes::ListShape.new(name: 'CoreCountList')
|
454
456
|
CoreNetworkArn = Shapes::StringShape.new(name: 'CoreNetworkArn')
|
@@ -5153,6 +5155,20 @@ module Aws::EC2
|
|
5153
5155
|
CopySnapshotResult.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
5154
5156
|
CopySnapshotResult.struct_class = Types::CopySnapshotResult
|
5155
5157
|
|
5158
|
+
CopyVolumesRequest.add_member(:source_volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "SourceVolumeId"))
|
5159
|
+
CopyVolumesRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
5160
|
+
CopyVolumesRequest.add_member(:size, Shapes::ShapeRef.new(shape: Integer, location_name: "Size"))
|
5161
|
+
CopyVolumesRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
5162
|
+
CopyVolumesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5163
|
+
CopyVolumesRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5164
|
+
CopyVolumesRequest.add_member(:multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAttachEnabled"))
|
5165
|
+
CopyVolumesRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
|
5166
|
+
CopyVolumesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
5167
|
+
CopyVolumesRequest.struct_class = Types::CopyVolumesRequest
|
5168
|
+
|
5169
|
+
CopyVolumesResult.add_member(:volumes, Shapes::ShapeRef.new(shape: VolumeList, location_name: "volumeSet"))
|
5170
|
+
CopyVolumesResult.struct_class = Types::CopyVolumesResult
|
5171
|
+
|
5156
5172
|
CoreCountList.member = Shapes::ShapeRef.new(shape: CoreCount, location_name: "item")
|
5157
5173
|
|
5158
5174
|
CpuManufacturerSet.member = Shapes::ShapeRef.new(shape: CpuManufacturer, location_name: "item")
|
@@ -17490,6 +17506,7 @@ module Aws::EC2
|
|
17490
17506
|
|
17491
17507
|
Volume.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
17492
17508
|
Volume.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
17509
|
+
Volume.add_member(:source_volume_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceVolumeId"))
|
17493
17510
|
Volume.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
|
17494
17511
|
Volume.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
17495
17512
|
Volume.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
|
@@ -18414,6 +18431,14 @@ module Aws::EC2
|
|
18414
18431
|
o.output = Shapes::ShapeRef.new(shape: CopySnapshotResult)
|
18415
18432
|
end)
|
18416
18433
|
|
18434
|
+
api.add_operation(:copy_volumes, Seahorse::Model::Operation.new.tap do |o|
|
18435
|
+
o.name = "CopyVolumes"
|
18436
|
+
o.http_method = "POST"
|
18437
|
+
o.http_request_uri = "/"
|
18438
|
+
o.input = Shapes::ShapeRef.new(shape: CopyVolumesRequest)
|
18439
|
+
o.output = Shapes::ShapeRef.new(shape: CopyVolumesResult)
|
18440
|
+
end)
|
18441
|
+
|
18417
18442
|
api.add_operation(:create_capacity_reservation, Seahorse::Model::Operation.new.tap do |o|
|
18418
18443
|
o.name = "CreateCapacityReservation"
|
18419
18444
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1506,27 +1506,22 @@ module Aws::EC2
|
|
1506
1506
|
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default
|
1507
1507
|
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
|
1508
1508
|
# @option options [Integer] :iops
|
1509
|
-
# The number of I/O operations per second (IOPS)
|
1510
|
-
#
|
1511
|
-
#
|
1512
|
-
# performance of the volume and the rate at which the volume accumulates
|
1513
|
-
# I/O credits for bursting.
|
1509
|
+
# The number of I/O operations per second (IOPS) to provision for the
|
1510
|
+
# volume. Required for `io1` and `io2` volumes. Optional for `gp3`
|
1511
|
+
# volumes. Omit for all other volume types.
|
1514
1512
|
#
|
1515
|
-
#
|
1513
|
+
# Valid ranges:
|
1516
1514
|
#
|
1517
|
-
# *
|
1515
|
+
# * gp3: `3,000 `(*default*)` - 80,000` IOPS
|
1518
1516
|
#
|
1519
|
-
# *
|
1517
|
+
# * io1: `100 - 64,000` IOPS
|
1520
1518
|
#
|
1521
|
-
# *
|
1519
|
+
# * io2: `100 - 256,000` IOPS
|
1522
1520
|
#
|
1523
|
-
#
|
1524
|
-
#
|
1525
|
-
# performance up to 32,000 IOPS.
|
1521
|
+
# <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
|
1522
|
+
# IOPS. Other instances can support up to 32,000 IOPS.
|
1526
1523
|
#
|
1527
|
-
#
|
1528
|
-
# for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
|
1529
|
-
# `gp2`, `st1`, `sc1`, or `standard` volumes.
|
1524
|
+
# </note>
|
1530
1525
|
#
|
1531
1526
|
#
|
1532
1527
|
#
|
@@ -1563,22 +1558,22 @@ module Aws::EC2
|
|
1563
1558
|
# @option options [Integer] :size
|
1564
1559
|
# The size of the volume, in GiBs. You must specify either a snapshot ID
|
1565
1560
|
# or a volume size. If you specify a snapshot, the default is the
|
1566
|
-
# snapshot size
|
1561
|
+
# snapshot size, and you can specify a volume size that is equal to or
|
1567
1562
|
# larger than the snapshot size.
|
1568
1563
|
#
|
1569
|
-
#
|
1564
|
+
# Valid sizes:
|
1570
1565
|
#
|
1571
|
-
# *
|
1566
|
+
# * gp2: `1 - 16,384` GiB
|
1572
1567
|
#
|
1573
|
-
# *
|
1568
|
+
# * gp3: `1 - 65,536` GiB
|
1574
1569
|
#
|
1575
|
-
# *
|
1570
|
+
# * io1: `4 - 16,384` GiB
|
1576
1571
|
#
|
1577
|
-
# *
|
1572
|
+
# * io2: `4 - 65,536` GiB
|
1578
1573
|
#
|
1579
|
-
# *
|
1574
|
+
# * st1 and sc1: `125 - 16,384` GiB
|
1580
1575
|
#
|
1581
|
-
# *
|
1576
|
+
# * standard: `1 - 1024` GiB
|
1582
1577
|
# @option options [String] :snapshot_id
|
1583
1578
|
# The snapshot from which to create the volume. You must specify either
|
1584
1579
|
# a snapshot ID or a volume size.
|
@@ -1620,12 +1615,10 @@ module Aws::EC2
|
|
1620
1615
|
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html
|
1621
1616
|
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
|
1622
1617
|
# @option options [Integer] :throughput
|
1623
|
-
# The throughput to provision for
|
1624
|
-
#
|
1625
|
-
#
|
1626
|
-
# This parameter is valid only for `gp3` volumes.
|
1618
|
+
# The throughput to provision for the volume, in MiB/s. Supported for
|
1619
|
+
# `gp3` volumes only. Omit for all other volume types.
|
1627
1620
|
#
|
1628
|
-
# Valid Range:
|
1621
|
+
# Valid Range: `125 - 2000` MiB/s
|
1629
1622
|
# @option options [String] :client_token
|
1630
1623
|
# Unique, case-sensitive identifier that you provide to ensure the
|
1631
1624
|
# idempotency of the request. For more information, see [Ensure
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7848,6 +7848,133 @@ module Aws::EC2
|
|
7848
7848
|
include Aws::Structure
|
7849
7849
|
end
|
7850
7850
|
|
7851
|
+
# @!attribute [rw] source_volume_id
|
7852
|
+
# The ID of the source EBS volume to copy.
|
7853
|
+
# @return [String]
|
7854
|
+
#
|
7855
|
+
# @!attribute [rw] iops
|
7856
|
+
# The number of I/O operations per second (IOPS) to provision for the
|
7857
|
+
# volume copy. Required for `io1` and `io2` volumes. Optional for
|
7858
|
+
# `gp3` volumes. Omit for all other volume types. Full provisioned
|
7859
|
+
# IOPS performance can be achieved only once the volume copy is fully
|
7860
|
+
# initialized.
|
7861
|
+
#
|
7862
|
+
# Valid ranges:
|
7863
|
+
#
|
7864
|
+
# * gp3: `3,000 `(*default*)` - 80,000` IOPS
|
7865
|
+
#
|
7866
|
+
# * io1: `100 - 64,000` IOPS
|
7867
|
+
#
|
7868
|
+
# * io2: `100 - 256,000` IOPS
|
7869
|
+
#
|
7870
|
+
# <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
|
7871
|
+
# IOPS. Other instances can support up to 32,000 IOPS.
|
7872
|
+
#
|
7873
|
+
# </note>
|
7874
|
+
#
|
7875
|
+
#
|
7876
|
+
#
|
7877
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html
|
7878
|
+
# @return [Integer]
|
7879
|
+
#
|
7880
|
+
# @!attribute [rw] size
|
7881
|
+
# The size of the volume copy, in GiBs. The size must be equal to or
|
7882
|
+
# greater than the size of the source volume. If not specified, the
|
7883
|
+
# size defaults to the size of the source volume.
|
7884
|
+
#
|
7885
|
+
# Maximum supported sizes:
|
7886
|
+
#
|
7887
|
+
# * gp2: `16,384` GiB
|
7888
|
+
#
|
7889
|
+
# * gp3: `65,536` GiB
|
7890
|
+
#
|
7891
|
+
# * io1: `16,384` GiB
|
7892
|
+
#
|
7893
|
+
# * io2: `65,536` GiB
|
7894
|
+
#
|
7895
|
+
# * st1 and sc1: `16,384` GiB
|
7896
|
+
#
|
7897
|
+
# * standard: `1024` GiB
|
7898
|
+
# @return [Integer]
|
7899
|
+
#
|
7900
|
+
# @!attribute [rw] volume_type
|
7901
|
+
# The volume type for the volume copy. If not specified, the volume
|
7902
|
+
# type defaults to `gp2`.
|
7903
|
+
# @return [String]
|
7904
|
+
#
|
7905
|
+
# @!attribute [rw] dry_run
|
7906
|
+
# Checks whether you have the required permissions for the action,
|
7907
|
+
# without actually making the request, and provides an error response.
|
7908
|
+
# If you have the required permissions, the error response is
|
7909
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7910
|
+
# @return [Boolean]
|
7911
|
+
#
|
7912
|
+
# @!attribute [rw] tag_specifications
|
7913
|
+
# The tags to apply to the volume copy during creation.
|
7914
|
+
# @return [Array<Types::TagSpecification>]
|
7915
|
+
#
|
7916
|
+
# @!attribute [rw] multi_attach_enabled
|
7917
|
+
# Indicates whether to enable Amazon EBS Multi-Attach for the volume
|
7918
|
+
# copy. If you enable Multi-Attach, you can attach the volume to up to
|
7919
|
+
# 16 Nitro instances in the same Availability Zone simultaneously.
|
7920
|
+
# Supported with `io1` and `io2` volumes only. For more information,
|
7921
|
+
# see [ Amazon EBS Multi-Attach][1].
|
7922
|
+
#
|
7923
|
+
#
|
7924
|
+
#
|
7925
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
|
7926
|
+
# @return [Boolean]
|
7927
|
+
#
|
7928
|
+
# @!attribute [rw] throughput
|
7929
|
+
# The throughput to provision for the volume copy, in MiB/s. Supported
|
7930
|
+
# for `gp3` volumes only. Omit for all other volume types. Full
|
7931
|
+
# provisioned throughput performance can be achieved only once the
|
7932
|
+
# volume copy is fully initialized.
|
7933
|
+
#
|
7934
|
+
# Valid Range: `125 - 2000` MiB/s
|
7935
|
+
# @return [Integer]
|
7936
|
+
#
|
7937
|
+
# @!attribute [rw] client_token
|
7938
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
7939
|
+
# idempotency of the request. For more information, see [ Ensure
|
7940
|
+
# Idempotency][1].
|
7941
|
+
#
|
7942
|
+
# **A suitable default value is auto-generated.** You should normally
|
7943
|
+
# not need to pass this option.
|
7944
|
+
#
|
7945
|
+
#
|
7946
|
+
#
|
7947
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
7948
|
+
# @return [String]
|
7949
|
+
#
|
7950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyVolumesRequest AWS API Documentation
|
7951
|
+
#
|
7952
|
+
class CopyVolumesRequest < Struct.new(
|
7953
|
+
:source_volume_id,
|
7954
|
+
:iops,
|
7955
|
+
:size,
|
7956
|
+
:volume_type,
|
7957
|
+
:dry_run,
|
7958
|
+
:tag_specifications,
|
7959
|
+
:multi_attach_enabled,
|
7960
|
+
:throughput,
|
7961
|
+
:client_token)
|
7962
|
+
SENSITIVE = []
|
7963
|
+
include Aws::Structure
|
7964
|
+
end
|
7965
|
+
|
7966
|
+
# @!attribute [rw] volumes
|
7967
|
+
# Information about the volume copy.
|
7968
|
+
# @return [Array<Types::Volume>]
|
7969
|
+
#
|
7970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyVolumesResult AWS API Documentation
|
7971
|
+
#
|
7972
|
+
class CopyVolumesResult < Struct.new(
|
7973
|
+
:volumes)
|
7974
|
+
SENSITIVE = []
|
7975
|
+
include Aws::Structure
|
7976
|
+
end
|
7977
|
+
|
7851
7978
|
# The CPU options for the instance.
|
7852
7979
|
#
|
7853
7980
|
# @!attribute [rw] core_count
|
@@ -14887,27 +15014,22 @@ module Aws::EC2
|
|
14887
15014
|
# @return [Boolean]
|
14888
15015
|
#
|
14889
15016
|
# @!attribute [rw] iops
|
14890
|
-
# The number of I/O operations per second (IOPS)
|
14891
|
-
# and `io2` volumes
|
14892
|
-
#
|
14893
|
-
# baseline performance of the volume and the rate at which the volume
|
14894
|
-
# accumulates I/O credits for bursting.
|
15017
|
+
# The number of I/O operations per second (IOPS) to provision for the
|
15018
|
+
# volume. Required for `io1` and `io2` volumes. Optional for `gp3`
|
15019
|
+
# volumes. Omit for all other volume types.
|
14895
15020
|
#
|
14896
|
-
#
|
15021
|
+
# Valid ranges:
|
14897
15022
|
#
|
14898
|
-
# *
|
15023
|
+
# * gp3: `3,000 `(*default*)` - 80,000` IOPS
|
14899
15024
|
#
|
14900
|
-
# *
|
15025
|
+
# * io1: `100 - 64,000` IOPS
|
14901
15026
|
#
|
14902
|
-
# *
|
15027
|
+
# * io2: `100 - 256,000` IOPS
|
14903
15028
|
#
|
14904
|
-
#
|
14905
|
-
#
|
14906
|
-
# performance up to 32,000 IOPS.
|
15029
|
+
# <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
|
15030
|
+
# IOPS. Other instances can support up to 32,000 IOPS.
|
14907
15031
|
#
|
14908
|
-
#
|
14909
|
-
# for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
|
14910
|
-
# `gp2`, `st1`, `sc1`, or `standard` volumes.
|
15032
|
+
# </note>
|
14911
15033
|
#
|
14912
15034
|
#
|
14913
15035
|
#
|
@@ -14951,22 +15073,22 @@ module Aws::EC2
|
|
14951
15073
|
# @!attribute [rw] size
|
14952
15074
|
# The size of the volume, in GiBs. You must specify either a snapshot
|
14953
15075
|
# ID or a volume size. If you specify a snapshot, the default is the
|
14954
|
-
# snapshot size
|
15076
|
+
# snapshot size, and you can specify a volume size that is equal to or
|
14955
15077
|
# larger than the snapshot size.
|
14956
15078
|
#
|
14957
|
-
#
|
15079
|
+
# Valid sizes:
|
14958
15080
|
#
|
14959
|
-
# *
|
15081
|
+
# * gp2: `1 - 16,384` GiB
|
14960
15082
|
#
|
14961
|
-
# *
|
15083
|
+
# * gp3: `1 - 65,536` GiB
|
14962
15084
|
#
|
14963
|
-
# *
|
15085
|
+
# * io1: `4 - 16,384` GiB
|
14964
15086
|
#
|
14965
|
-
# *
|
15087
|
+
# * io2: `4 - 65,536` GiB
|
14966
15088
|
#
|
14967
|
-
# *
|
15089
|
+
# * st1 and sc1: `125 - 16,384` GiB
|
14968
15090
|
#
|
14969
|
-
# *
|
15091
|
+
# * standard: `1 - 1024` GiB
|
14970
15092
|
# @return [Integer]
|
14971
15093
|
#
|
14972
15094
|
# @!attribute [rw] snapshot_id
|
@@ -15019,12 +15141,10 @@ module Aws::EC2
|
|
15019
15141
|
# @return [Boolean]
|
15020
15142
|
#
|
15021
15143
|
# @!attribute [rw] throughput
|
15022
|
-
# The throughput to provision for
|
15023
|
-
#
|
15144
|
+
# The throughput to provision for the volume, in MiB/s. Supported for
|
15145
|
+
# `gp3` volumes only. Omit for all other volume types.
|
15024
15146
|
#
|
15025
|
-
#
|
15026
|
-
#
|
15027
|
-
# Valid Range: Minimum value of 125. Maximum value of 2,000.
|
15147
|
+
# Valid Range: `125 - 2000` MiB/s
|
15028
15148
|
# @return [Integer]
|
15029
15149
|
#
|
15030
15150
|
# @!attribute [rw] client_token
|
@@ -45376,6 +45496,9 @@ module Aws::EC2
|
|
45376
45496
|
#
|
45377
45497
|
# * `provisioned-rate` - Volume initialized using an Amazon EBS
|
45378
45498
|
# Provisioned Rate for Volume Initialization.
|
45499
|
+
#
|
45500
|
+
# * `volume-copy` - Volume copy initialized at the rate for volume
|
45501
|
+
# copies.
|
45379
45502
|
# @return [String]
|
45380
45503
|
#
|
45381
45504
|
# @!attribute [rw] progress
|
@@ -58637,9 +58760,10 @@ module Aws::EC2
|
|
58637
58760
|
#
|
58638
58761
|
# * `io2`: 100 - 256,000 IOPS
|
58639
58762
|
#
|
58640
|
-
#
|
58641
|
-
#
|
58642
|
-
#
|
58763
|
+
# <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
|
58764
|
+
# IOPS. Other instances can support up to 32,000 IOPS.
|
58765
|
+
#
|
58766
|
+
# </note>
|
58643
58767
|
#
|
58644
58768
|
# Default: The existing value is retained if you keep the same volume
|
58645
58769
|
# type. If you change the volume type to `io1`, `io2`, or `gp3`, the
|
@@ -77924,6 +78048,11 @@ module Aws::EC2
|
|
77924
78048
|
# The Amazon Resource Name (ARN) of the Outpost.
|
77925
78049
|
# @return [String]
|
77926
78050
|
#
|
78051
|
+
# @!attribute [rw] source_volume_id
|
78052
|
+
# The ID of the source volume from which the volume copy was created.
|
78053
|
+
# Only for volume copies.
|
78054
|
+
# @return [String]
|
78055
|
+
#
|
77927
78056
|
# @!attribute [rw] iops
|
77928
78057
|
# The number of I/O operations per second (IOPS). For `gp3`, `io1`,
|
77929
78058
|
# and `io2` volumes, this represents the number of IOPS that are
|
@@ -78022,6 +78151,7 @@ module Aws::EC2
|
|
78022
78151
|
class Volume < Struct.new(
|
78023
78152
|
:availability_zone_id,
|
78024
78153
|
:outpost_arn,
|
78154
|
+
:source_volume_id,
|
78025
78155
|
:iops,
|
78026
78156
|
:tags,
|
78027
78157
|
:volume_type,
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -47,6 +47,13 @@ module Aws::EC2
|
|
47
47
|
data[:outpost_arn]
|
48
48
|
end
|
49
49
|
|
50
|
+
# The ID of the source volume from which the volume copy was created.
|
51
|
+
# Only for volume copies.
|
52
|
+
# @return [String]
|
53
|
+
def source_volume_id
|
54
|
+
data[:source_volume_id]
|
55
|
+
end
|
56
|
+
|
50
57
|
# The number of I/O operations per second (IOPS). For `gp3`, `io1`, and
|
51
58
|
# `io2` volumes, this represents the number of IOPS that are provisioned
|
52
59
|
# for the volume. For `gp2` volumes, this represents the baseline
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1085,6 +1085,34 @@ module Aws
|
|
1085
1085
|
) -> _CopySnapshotResponseSuccess
|
1086
1086
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopySnapshotResponseSuccess
|
1087
1087
|
|
1088
|
+
interface _CopyVolumesResponseSuccess
|
1089
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CopyVolumesResult]
|
1090
|
+
def volumes: () -> ::Array[Types::Volume]
|
1091
|
+
end
|
1092
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#copy_volumes-instance_method
|
1093
|
+
def copy_volumes: (
|
1094
|
+
source_volume_id: ::String,
|
1095
|
+
?iops: ::Integer,
|
1096
|
+
?size: ::Integer,
|
1097
|
+
?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
|
1098
|
+
?dry_run: bool,
|
1099
|
+
?tag_specifications: Array[
|
1100
|
+
{
|
1101
|
+
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" | "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-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" | "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")?,
|
1102
|
+
tags: Array[
|
1103
|
+
{
|
1104
|
+
key: ::String?,
|
1105
|
+
value: ::String?
|
1106
|
+
},
|
1107
|
+
]?
|
1108
|
+
},
|
1109
|
+
],
|
1110
|
+
?multi_attach_enabled: bool,
|
1111
|
+
?throughput: ::Integer,
|
1112
|
+
?client_token: ::String
|
1113
|
+
) -> _CopyVolumesResponseSuccess
|
1114
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyVolumesResponseSuccess
|
1115
|
+
|
1088
1116
|
interface _CreateCapacityReservationResponseSuccess
|
1089
1117
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCapacityReservationResult]
|
1090
1118
|
def capacity_reservation: () -> Types::CapacityReservation
|
@@ -4150,6 +4178,7 @@ module Aws
|
|
4150
4178
|
include ::Seahorse::Client::_ResponseSuccess[Types::Volume]
|
4151
4179
|
def availability_zone_id: () -> ::String
|
4152
4180
|
def outpost_arn: () -> ::String
|
4181
|
+
def source_volume_id: () -> ::String
|
4153
4182
|
def iops: () -> ::Integer
|
4154
4183
|
def tags: () -> ::Array[Types::Tag]
|
4155
4184
|
def volume_type: () -> ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
|
data/sig/types.rbs
CHANGED
@@ -1805,6 +1805,24 @@ module Aws::EC2
|
|
1805
1805
|
SENSITIVE: []
|
1806
1806
|
end
|
1807
1807
|
|
1808
|
+
class CopyVolumesRequest
|
1809
|
+
attr_accessor source_volume_id: ::String
|
1810
|
+
attr_accessor iops: ::Integer
|
1811
|
+
attr_accessor size: ::Integer
|
1812
|
+
attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
|
1813
|
+
attr_accessor dry_run: bool
|
1814
|
+
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
1815
|
+
attr_accessor multi_attach_enabled: bool
|
1816
|
+
attr_accessor throughput: ::Integer
|
1817
|
+
attr_accessor client_token: ::String
|
1818
|
+
SENSITIVE: []
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
class CopyVolumesResult
|
1822
|
+
attr_accessor volumes: ::Array[Types::Volume]
|
1823
|
+
SENSITIVE: []
|
1824
|
+
end
|
1825
|
+
|
1808
1826
|
class CpuOptions
|
1809
1827
|
attr_accessor core_count: ::Integer
|
1810
1828
|
attr_accessor threads_per_core: ::Integer
|
@@ -9999,7 +10017,7 @@ module Aws::EC2
|
|
9999
10017
|
end
|
10000
10018
|
|
10001
10019
|
class InitializationStatusDetails
|
10002
|
-
attr_accessor initialization_type: ("default" | "provisioned-rate")
|
10020
|
+
attr_accessor initialization_type: ("default" | "provisioned-rate" | "volume-copy")
|
10003
10021
|
attr_accessor progress: ::Integer
|
10004
10022
|
attr_accessor estimated_time_to_complete_in_seconds: ::Integer
|
10005
10023
|
SENSITIVE: []
|
@@ -16857,6 +16875,7 @@ module Aws::EC2
|
|
16857
16875
|
class Volume
|
16858
16876
|
attr_accessor availability_zone_id: ::String
|
16859
16877
|
attr_accessor outpost_arn: ::String
|
16878
|
+
attr_accessor source_volume_id: ::String
|
16860
16879
|
attr_accessor iops: ::Integer
|
16861
16880
|
attr_accessor tags: ::Array[Types::Tag]
|
16862
16881
|
attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
|
data/sig/volume.rbs
CHANGED
@@ -24,6 +24,9 @@ module Aws
|
|
24
24
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#outpost_arn-instance_method
|
25
25
|
def outpost_arn: () -> ::String
|
26
26
|
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#source_volume_id-instance_method
|
28
|
+
def source_volume_id: () -> ::String
|
29
|
+
|
27
30
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#iops-instance_method
|
28
31
|
def iops: () -> ::Integer
|
29
32
|
|