aws-sdk-ec2 1.675.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +969 -64
- data/lib/aws-sdk-ec2/client_api.rb +110 -0
- data/lib/aws-sdk-ec2/instance.rb +12 -3
- data/lib/aws-sdk-ec2/resource.rb +83 -13
- data/lib/aws-sdk-ec2/subnet.rb +10 -1
- data/lib/aws-sdk-ec2/types.rb +712 -88
- data/lib/aws-sdk-ec2/volume.rb +37 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +48 -5
- data/sig/instance.rbs +10 -1
- data/sig/params.rbs +31 -4
- data/sig/resource.rbs +31 -3
- data/sig/subnet.rbs +10 -1
- data/sig/types.rbs +104 -12
- data/sig/volume.rbs +7 -1
- metadata +1 -1
|
@@ -467,6 +467,7 @@ module Aws::EC2
|
|
|
467
467
|
CarrierGatewayMaxResults = Shapes::IntegerShape.new(name: 'CarrierGatewayMaxResults')
|
|
468
468
|
CarrierGatewaySet = Shapes::ListShape.new(name: 'CarrierGatewaySet')
|
|
469
469
|
CarrierGatewayState = Shapes::StringShape.new(name: 'CarrierGatewayState')
|
|
470
|
+
CatchupProgress = Shapes::IntegerShape.new(name: 'CatchupProgress')
|
|
470
471
|
CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
|
|
471
472
|
CertificateAuthentication = Shapes::StructureShape.new(name: 'CertificateAuthentication')
|
|
472
473
|
CertificateAuthenticationRequest = Shapes::StructureShape.new(name: 'CertificateAuthenticationRequest')
|
|
@@ -1946,6 +1947,11 @@ module Aws::EC2
|
|
|
1946
1947
|
FailedCapacityReservationFleetCancellationResultSet = Shapes::ListShape.new(name: 'FailedCapacityReservationFleetCancellationResultSet')
|
|
1947
1948
|
FailedQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'FailedQueuedPurchaseDeletion')
|
|
1948
1949
|
FailedQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'FailedQueuedPurchaseDeletionSet')
|
|
1950
|
+
FailoverAvailabilityZone = Shapes::StructureShape.new(name: 'FailoverAvailabilityZone')
|
|
1951
|
+
FailoverAvailabilityZoneList = Shapes::ListShape.new(name: 'FailoverAvailabilityZoneList')
|
|
1952
|
+
FailoverReadiness = Shapes::StringShape.new(name: 'FailoverReadiness')
|
|
1953
|
+
FailoverVolumesRequest = Shapes::StructureShape.new(name: 'FailoverVolumesRequest')
|
|
1954
|
+
FailoverVolumesResult = Shapes::StructureShape.new(name: 'FailoverVolumesResult')
|
|
1949
1955
|
FastLaunchImageIdList = Shapes::ListShape.new(name: 'FastLaunchImageIdList')
|
|
1950
1956
|
FastLaunchLaunchTemplateSpecificationRequest = Shapes::StructureShape.new(name: 'FastLaunchLaunchTemplateSpecificationRequest')
|
|
1951
1957
|
FastLaunchLaunchTemplateSpecificationResponse = Shapes::StructureShape.new(name: 'FastLaunchLaunchTemplateSpecificationResponse')
|
|
@@ -3228,6 +3234,11 @@ module Aws::EC2
|
|
|
3228
3234
|
MoveStatus = Shapes::StringShape.new(name: 'MoveStatus')
|
|
3229
3235
|
MovingAddressStatus = Shapes::StructureShape.new(name: 'MovingAddressStatus')
|
|
3230
3236
|
MovingAddressStatusSet = Shapes::ListShape.new(name: 'MovingAddressStatusSet')
|
|
3237
|
+
MultiAvailabilityZoneStatusDetails = Shapes::StructureShape.new(name: 'MultiAvailabilityZoneStatusDetails')
|
|
3238
|
+
MultiAvailabilityZoneVolumeConfiguration = Shapes::StructureShape.new(name: 'MultiAvailabilityZoneVolumeConfiguration')
|
|
3239
|
+
MultiAvailabilityZoneVolumeConfigurationModifyRequest = Shapes::StructureShape.new(name: 'MultiAvailabilityZoneVolumeConfigurationModifyRequest')
|
|
3240
|
+
MultiAvailabilityZoneVolumeConfigurationRequest = Shapes::StructureShape.new(name: 'MultiAvailabilityZoneVolumeConfigurationRequest')
|
|
3241
|
+
MultiAzConfigurationType = Shapes::StringShape.new(name: 'MultiAzConfigurationType')
|
|
3231
3242
|
MulticastSupportValue = Shapes::StringShape.new(name: 'MulticastSupportValue')
|
|
3232
3243
|
MultipathResilienceMode = Shapes::StringShape.new(name: 'MultipathResilienceMode')
|
|
3233
3244
|
MultipathResilienceStatus = Shapes::StringShape.new(name: 'MultipathResilienceStatus')
|
|
@@ -3602,6 +3613,7 @@ module Aws::EC2
|
|
|
3602
3613
|
ReplaceVpnTunnelRequest = Shapes::StructureShape.new(name: 'ReplaceVpnTunnelRequest')
|
|
3603
3614
|
ReplaceVpnTunnelResult = Shapes::StructureShape.new(name: 'ReplaceVpnTunnelResult')
|
|
3604
3615
|
ReplacementStrategy = Shapes::StringShape.new(name: 'ReplacementStrategy')
|
|
3616
|
+
ReplicationDataState = Shapes::StringShape.new(name: 'ReplicationDataState')
|
|
3605
3617
|
ReportInstanceReasonCodes = Shapes::StringShape.new(name: 'ReportInstanceReasonCodes')
|
|
3606
3618
|
ReportInstanceStatusRequest = Shapes::StructureShape.new(name: 'ReportInstanceStatusRequest')
|
|
3607
3619
|
ReportInstanceStatusRequestDescription = Shapes::StringShape.new(name: 'ReportInstanceStatusRequestDescription')
|
|
@@ -4000,6 +4012,10 @@ module Aws::EC2
|
|
|
4000
4012
|
StaleIpPermissionSet = Shapes::ListShape.new(name: 'StaleIpPermissionSet')
|
|
4001
4013
|
StaleSecurityGroup = Shapes::StructureShape.new(name: 'StaleSecurityGroup')
|
|
4002
4014
|
StaleSecurityGroupSet = Shapes::ListShape.new(name: 'StaleSecurityGroupSet')
|
|
4015
|
+
StandbyVolumeAvailabilityZone = Shapes::StructureShape.new(name: 'StandbyVolumeAvailabilityZone')
|
|
4016
|
+
StandbyVolumeAvailabilityZoneList = Shapes::ListShape.new(name: 'StandbyVolumeAvailabilityZoneList')
|
|
4017
|
+
StandbyVolumeAvailabilityZoneRequest = Shapes::StructureShape.new(name: 'StandbyVolumeAvailabilityZoneRequest')
|
|
4018
|
+
StandbyVolumeAvailabilityZonesRequestList = Shapes::ListShape.new(name: 'StandbyVolumeAvailabilityZonesRequestList')
|
|
4003
4019
|
StartDeclarativePoliciesReportRequest = Shapes::StructureShape.new(name: 'StartDeclarativePoliciesReportRequest')
|
|
4004
4020
|
StartDeclarativePoliciesReportResult = Shapes::StructureShape.new(name: 'StartDeclarativePoliciesReportResult')
|
|
4005
4021
|
StartInstancesRequest = Shapes::StructureShape.new(name: 'StartInstancesRequest')
|
|
@@ -4058,6 +4074,8 @@ module Aws::EC2
|
|
|
4058
4074
|
SuccessfulSuppressionResponseObject = Shapes::StructureShape.new(name: 'SuccessfulSuppressionResponseObject')
|
|
4059
4075
|
SuccessfulSuppressionResponseSet = Shapes::ListShape.new(name: 'SuccessfulSuppressionResponseSet')
|
|
4060
4076
|
SummaryStatus = Shapes::StringShape.new(name: 'SummaryStatus')
|
|
4077
|
+
SupplementaryAvailabilityZoneId = Shapes::StringShape.new(name: 'SupplementaryAvailabilityZoneId')
|
|
4078
|
+
SupplementaryAvailabilityZoneName = Shapes::StringShape.new(name: 'SupplementaryAvailabilityZoneName')
|
|
4061
4079
|
SupportabilityInstanceTypeList = Shapes::ListShape.new(name: 'SupportabilityInstanceTypeList')
|
|
4062
4080
|
SupportabilityMarketType = Shapes::StringShape.new(name: 'SupportabilityMarketType')
|
|
4063
4081
|
SupportabilityScore = Shapes::StringShape.new(name: 'SupportabilityScore')
|
|
@@ -4278,6 +4296,8 @@ module Aws::EC2
|
|
|
4278
4296
|
TransitGatewayVpcAttachmentList = Shapes::ListShape.new(name: 'TransitGatewayVpcAttachmentList')
|
|
4279
4297
|
TransitGatewayVpcAttachmentOptions = Shapes::StructureShape.new(name: 'TransitGatewayVpcAttachmentOptions')
|
|
4280
4298
|
TransportProtocol = Shapes::StringShape.new(name: 'TransportProtocol')
|
|
4299
|
+
TrimOnAttach = Shapes::StringShape.new(name: 'TrimOnAttach')
|
|
4300
|
+
TrimState = Shapes::StringShape.new(name: 'TrimState')
|
|
4281
4301
|
TrunkInterfaceAssociation = Shapes::StructureShape.new(name: 'TrunkInterfaceAssociation')
|
|
4282
4302
|
TrunkInterfaceAssociationId = Shapes::StringShape.new(name: 'TrunkInterfaceAssociationId')
|
|
4283
4303
|
TrunkInterfaceAssociationIdList = Shapes::ListShape.new(name: 'TrunkInterfaceAssociationIdList')
|
|
@@ -4468,6 +4488,8 @@ module Aws::EC2
|
|
|
4468
4488
|
VolumeAttachmentState = Shapes::StringShape.new(name: 'VolumeAttachmentState')
|
|
4469
4489
|
VolumeAttributeName = Shapes::StringShape.new(name: 'VolumeAttributeName')
|
|
4470
4490
|
VolumeDetail = Shapes::StructureShape.new(name: 'VolumeDetail')
|
|
4491
|
+
VolumeFailoverInfo = Shapes::StructureShape.new(name: 'VolumeFailoverInfo')
|
|
4492
|
+
VolumeFailoverInfoList = Shapes::ListShape.new(name: 'VolumeFailoverInfoList')
|
|
4471
4493
|
VolumeId = Shapes::StringShape.new(name: 'VolumeId')
|
|
4472
4494
|
VolumeIdStringList = Shapes::ListShape.new(name: 'VolumeIdStringList')
|
|
4473
4495
|
VolumeIdWithResolver = Shapes::StringShape.new(name: 'VolumeIdWithResolver')
|
|
@@ -8051,6 +8073,8 @@ module Aws::EC2
|
|
|
8051
8073
|
CreateVolumeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
8052
8074
|
CreateVolumeRequest.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeInitializationRate"))
|
|
8053
8075
|
CreateVolumeRequest.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorRequest, location_name: "Operator"))
|
|
8076
|
+
CreateVolumeRequest.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfigurationRequest, location_name: "MultiAvailabilityZoneConfiguration"))
|
|
8077
|
+
CreateVolumeRequest.add_member(:trim_on_attach, Shapes::ShapeRef.new(shape: TrimOnAttach, location_name: "TrimOnAttach"))
|
|
8054
8078
|
CreateVolumeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
8055
8079
|
CreateVolumeRequest.struct_class = Types::CreateVolumeRequest
|
|
8056
8080
|
|
|
@@ -12003,6 +12027,7 @@ module Aws::EC2
|
|
|
12003
12027
|
EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
|
|
12004
12028
|
EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
|
12005
12029
|
EbsBlockDevice.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
12030
|
+
EbsBlockDevice.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfiguration, location_name: "multiAvailabilityZoneConfiguration"))
|
|
12006
12031
|
EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
|
12007
12032
|
EbsBlockDevice.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeInitializationRate"))
|
|
12008
12033
|
EbsBlockDevice.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
|
@@ -12017,6 +12042,7 @@ module Aws::EC2
|
|
|
12017
12042
|
EbsBlockDeviceResponse.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
|
|
12018
12043
|
EbsBlockDeviceResponse.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
|
|
12019
12044
|
EbsBlockDeviceResponse.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
|
|
12045
|
+
EbsBlockDeviceResponse.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfiguration, location_name: "multiAvailabilityZoneConfiguration"))
|
|
12020
12046
|
EbsBlockDeviceResponse.struct_class = Types::EbsBlockDeviceResponse
|
|
12021
12047
|
|
|
12022
12048
|
EbsCardInfo.add_member(:ebs_card_index, Shapes::ShapeRef.new(shape: EbsCardIndex, location_name: "ebsCardIndex"))
|
|
@@ -12048,6 +12074,8 @@ module Aws::EC2
|
|
|
12048
12074
|
EbsInstanceBlockDevice.add_member(:volume_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeOwnerId"))
|
|
12049
12075
|
EbsInstanceBlockDevice.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
|
12050
12076
|
EbsInstanceBlockDevice.add_member(:ebs_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "ebsCardIndex"))
|
|
12077
|
+
EbsInstanceBlockDevice.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfiguration, location_name: "multiAvailabilityZoneConfiguration"))
|
|
12078
|
+
EbsInstanceBlockDevice.add_member(:trim_state, Shapes::ShapeRef.new(shape: TrimState, location_name: "trimState"))
|
|
12051
12079
|
EbsInstanceBlockDevice.struct_class = Types::EbsInstanceBlockDevice
|
|
12052
12080
|
|
|
12053
12081
|
EbsInstanceBlockDeviceSpecification.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "volumeId"))
|
|
@@ -12611,6 +12639,22 @@ module Aws::EC2
|
|
|
12611
12639
|
|
|
12612
12640
|
FailedQueuedPurchaseDeletionSet.member = Shapes::ShapeRef.new(shape: FailedQueuedPurchaseDeletion, location_name: "item")
|
|
12613
12641
|
|
|
12642
|
+
FailoverAvailabilityZone.add_member(:availability_zone, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneName, location_name: "availabilityZone"))
|
|
12643
|
+
FailoverAvailabilityZone.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneId, location_name: "availabilityZoneId"))
|
|
12644
|
+
FailoverAvailabilityZone.struct_class = Types::FailoverAvailabilityZone
|
|
12645
|
+
|
|
12646
|
+
FailoverAvailabilityZoneList.member = Shapes::ShapeRef.new(shape: FailoverAvailabilityZone, location_name: "item")
|
|
12647
|
+
|
|
12648
|
+
FailoverVolumesRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId"))
|
|
12649
|
+
FailoverVolumesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdWithVolumeResolver, location_name: "InstanceId"))
|
|
12650
|
+
FailoverVolumesRequest.add_member(:source_active_availability_zone, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneName, location_name: "SourceActiveAvailabilityZone"))
|
|
12651
|
+
FailoverVolumesRequest.add_member(:source_active_availability_zone_id, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneId, location_name: "SourceActiveAvailabilityZoneId"))
|
|
12652
|
+
FailoverVolumesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
12653
|
+
FailoverVolumesRequest.struct_class = Types::FailoverVolumesRequest
|
|
12654
|
+
|
|
12655
|
+
FailoverVolumesResult.add_member(:volume_failovers, Shapes::ShapeRef.new(shape: VolumeFailoverInfoList, location_name: "volumeFailoverSet"))
|
|
12656
|
+
FailoverVolumesResult.struct_class = Types::FailoverVolumesResult
|
|
12657
|
+
|
|
12614
12658
|
FastLaunchImageIdList.member = Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId")
|
|
12615
12659
|
|
|
12616
12660
|
FastLaunchLaunchTemplateSpecificationRequest.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
|
|
@@ -12726,6 +12770,7 @@ module Aws::EC2
|
|
|
12726
12770
|
FleetEbsBlockDeviceRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
|
|
12727
12771
|
FleetEbsBlockDeviceRequest.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeSize"))
|
|
12728
12772
|
FleetEbsBlockDeviceRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
|
12773
|
+
FleetEbsBlockDeviceRequest.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfigurationRequest, location_name: "MultiAvailabilityZoneConfiguration"))
|
|
12729
12774
|
FleetEbsBlockDeviceRequest.struct_class = Types::FleetEbsBlockDeviceRequest
|
|
12730
12775
|
|
|
12731
12776
|
FleetIamInstanceProfileSpecificationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
|
|
@@ -15856,6 +15901,7 @@ module Aws::EC2
|
|
|
15856
15901
|
LaunchTemplateEbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
|
|
15857
15902
|
LaunchTemplateEbsBlockDevice.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeInitializationRate"))
|
|
15858
15903
|
LaunchTemplateEbsBlockDevice.add_member(:ebs_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "ebsCardIndex"))
|
|
15904
|
+
LaunchTemplateEbsBlockDevice.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfiguration, location_name: "multiAvailabilityZoneConfiguration"))
|
|
15859
15905
|
LaunchTemplateEbsBlockDevice.struct_class = Types::LaunchTemplateEbsBlockDevice
|
|
15860
15906
|
|
|
15861
15907
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
|
|
@@ -15868,6 +15914,7 @@ module Aws::EC2
|
|
|
15868
15914
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
|
|
15869
15915
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeInitializationRate"))
|
|
15870
15916
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:ebs_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "EbsCardIndex"))
|
|
15917
|
+
LaunchTemplateEbsBlockDeviceRequest.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfigurationRequest, location_name: "MultiAvailabilityZoneConfiguration"))
|
|
15871
15918
|
LaunchTemplateEbsBlockDeviceRequest.struct_class = Types::LaunchTemplateEbsBlockDeviceRequest
|
|
15872
15919
|
|
|
15873
15920
|
LaunchTemplateElasticInferenceAccelerator.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
|
|
@@ -17399,6 +17446,8 @@ module Aws::EC2
|
|
|
17399
17446
|
ModifyVolumeRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
|
17400
17447
|
ModifyVolumeRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
|
|
17401
17448
|
ModifyVolumeRequest.add_member(:multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAttachEnabled"))
|
|
17449
|
+
ModifyVolumeRequest.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfigurationModifyRequest, location_name: "MultiAvailabilityZoneConfiguration"))
|
|
17450
|
+
ModifyVolumeRequest.add_member(:trim_on_attach, Shapes::ShapeRef.new(shape: TrimOnAttach, location_name: "TrimOnAttach"))
|
|
17402
17451
|
ModifyVolumeRequest.struct_class = Types::ModifyVolumeRequest
|
|
17403
17452
|
|
|
17404
17453
|
ModifyVolumeResult.add_member(:volume_modification, Shapes::ShapeRef.new(shape: VolumeModification, location_name: "volumeModification"))
|
|
@@ -17649,6 +17698,25 @@ module Aws::EC2
|
|
|
17649
17698
|
|
|
17650
17699
|
MovingAddressStatusSet.member = Shapes::ShapeRef.new(shape: MovingAddressStatus, location_name: "item")
|
|
17651
17700
|
|
|
17701
|
+
MultiAvailabilityZoneStatusDetails.add_member(:replication_data_state, Shapes::ShapeRef.new(shape: ReplicationDataState, location_name: "replicationDataState"))
|
|
17702
|
+
MultiAvailabilityZoneStatusDetails.add_member(:failover_readiness, Shapes::ShapeRef.new(shape: FailoverReadiness, location_name: "failoverReadiness"))
|
|
17703
|
+
MultiAvailabilityZoneStatusDetails.add_member(:catchup_progress, Shapes::ShapeRef.new(shape: CatchupProgress, location_name: "catchupProgress"))
|
|
17704
|
+
MultiAvailabilityZoneStatusDetails.add_member(:catchup_total_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "catchupTotalBytes"))
|
|
17705
|
+
MultiAvailabilityZoneStatusDetails.struct_class = Types::MultiAvailabilityZoneStatusDetails
|
|
17706
|
+
|
|
17707
|
+
MultiAvailabilityZoneVolumeConfiguration.add_member(:configuration_type, Shapes::ShapeRef.new(shape: MultiAzConfigurationType, location_name: "configurationType"))
|
|
17708
|
+
MultiAvailabilityZoneVolumeConfiguration.add_member(:standby_availability_zones, Shapes::ShapeRef.new(shape: StandbyVolumeAvailabilityZoneList, location_name: "standbyAvailabilityZoneSet", metadata: {"queryName" => "StandbyAvailabilityZone"}))
|
|
17709
|
+
MultiAvailabilityZoneVolumeConfiguration.struct_class = Types::MultiAvailabilityZoneVolumeConfiguration
|
|
17710
|
+
|
|
17711
|
+
MultiAvailabilityZoneVolumeConfigurationModifyRequest.add_member(:configuration_type, Shapes::ShapeRef.new(shape: MultiAzConfigurationType, location_name: "ConfigurationType"))
|
|
17712
|
+
MultiAvailabilityZoneVolumeConfigurationModifyRequest.add_member(:force_detach_standby, Shapes::ShapeRef.new(shape: Boolean, location_name: "ForceDetachStandby"))
|
|
17713
|
+
MultiAvailabilityZoneVolumeConfigurationModifyRequest.add_member(:standby_availability_zones, Shapes::ShapeRef.new(shape: StandbyVolumeAvailabilityZonesRequestList, location_name: "StandbyAvailabilityZone"))
|
|
17714
|
+
MultiAvailabilityZoneVolumeConfigurationModifyRequest.struct_class = Types::MultiAvailabilityZoneVolumeConfigurationModifyRequest
|
|
17715
|
+
|
|
17716
|
+
MultiAvailabilityZoneVolumeConfigurationRequest.add_member(:configuration_type, Shapes::ShapeRef.new(shape: MultiAzConfigurationType, location_name: "ConfigurationType"))
|
|
17717
|
+
MultiAvailabilityZoneVolumeConfigurationRequest.add_member(:standby_availability_zones, Shapes::ShapeRef.new(shape: StandbyVolumeAvailabilityZonesRequestList, location_name: "StandbyAvailabilityZone"))
|
|
17718
|
+
MultiAvailabilityZoneVolumeConfigurationRequest.struct_class = Types::MultiAvailabilityZoneVolumeConfigurationRequest
|
|
17719
|
+
|
|
17652
17720
|
NatFlexCostAllocationPolicyDocument.add_member(:reporting_granularity, Shapes::ShapeRef.new(shape: FlexCostAllocationReportingGranularityList, required: true, location_name: "ReportingGranularity"))
|
|
17653
17721
|
NatFlexCostAllocationPolicyDocument.add_member(:dimensions, Shapes::ShapeRef.new(shape: FlexCostAllocationCostDimensionList, required: true, location_name: "Dimensions"))
|
|
17654
17722
|
NatFlexCostAllocationPolicyDocument.add_member(:cidr_range_specifications, Shapes::ShapeRef.new(shape: FlexCostAllocationCidrRangeSpecifications, location_name: "CidrRangeSpecifications"))
|
|
@@ -20472,6 +20540,18 @@ module Aws::EC2
|
|
|
20472
20540
|
|
|
20473
20541
|
StaleSecurityGroupSet.member = Shapes::ShapeRef.new(shape: StaleSecurityGroup, location_name: "item")
|
|
20474
20542
|
|
|
20543
|
+
StandbyVolumeAvailabilityZone.add_member(:availability_zone, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneName, location_name: "availabilityZone"))
|
|
20544
|
+
StandbyVolumeAvailabilityZone.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneId, location_name: "availabilityZoneId"))
|
|
20545
|
+
StandbyVolumeAvailabilityZone.struct_class = Types::StandbyVolumeAvailabilityZone
|
|
20546
|
+
|
|
20547
|
+
StandbyVolumeAvailabilityZoneList.member = Shapes::ShapeRef.new(shape: StandbyVolumeAvailabilityZone, location_name: "item")
|
|
20548
|
+
|
|
20549
|
+
StandbyVolumeAvailabilityZoneRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneName, location_name: "AvailabilityZone"))
|
|
20550
|
+
StandbyVolumeAvailabilityZoneRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
|
20551
|
+
StandbyVolumeAvailabilityZoneRequest.struct_class = Types::StandbyVolumeAvailabilityZoneRequest
|
|
20552
|
+
|
|
20553
|
+
StandbyVolumeAvailabilityZonesRequestList.member = Shapes::ShapeRef.new(shape: StandbyVolumeAvailabilityZoneRequest, location_name: "StandbyAvailabilityZone")
|
|
20554
|
+
|
|
20475
20555
|
StartDeclarativePoliciesReportRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
20476
20556
|
StartDeclarativePoliciesReportRequest.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3Bucket"))
|
|
20477
20557
|
StartDeclarativePoliciesReportRequest.add_member(:s3_prefix, Shapes::ShapeRef.new(shape: String, location_name: "S3Prefix"))
|
|
@@ -22030,6 +22110,8 @@ module Aws::EC2
|
|
|
22030
22110
|
Volume.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeInitializationRate"))
|
|
22031
22111
|
Volume.add_member(:volume_arn, Shapes::ShapeRef.new(shape: String, location_name: "volumeArn"))
|
|
22032
22112
|
Volume.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
|
22113
|
+
Volume.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfiguration, location_name: "multiAvailabilityZoneConfiguration"))
|
|
22114
|
+
Volume.add_member(:trim_on_attach, Shapes::ShapeRef.new(shape: TrimOnAttach, location_name: "trimOnAttach"))
|
|
22033
22115
|
Volume.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
|
|
22034
22116
|
Volume.add_member(:size, Shapes::ShapeRef.new(shape: Integer, location_name: "size"))
|
|
22035
22117
|
Volume.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
|
@@ -22045,6 +22127,9 @@ module Aws::EC2
|
|
|
22045
22127
|
VolumeAttachment.add_member(:associated_resource, Shapes::ShapeRef.new(shape: String, location_name: "associatedResource"))
|
|
22046
22128
|
VolumeAttachment.add_member(:instance_owning_service, Shapes::ShapeRef.new(shape: String, location_name: "instanceOwningService"))
|
|
22047
22129
|
VolumeAttachment.add_member(:ebs_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "ebsCardIndex"))
|
|
22130
|
+
VolumeAttachment.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
22131
|
+
VolumeAttachment.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
|
22132
|
+
VolumeAttachment.add_member(:trim_state, Shapes::ShapeRef.new(shape: TrimState, location_name: "trimState"))
|
|
22048
22133
|
VolumeAttachment.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
|
|
22049
22134
|
VolumeAttachment.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
|
22050
22135
|
VolumeAttachment.add_member(:device, Shapes::ShapeRef.new(shape: String, location_name: "device"))
|
|
@@ -22057,6 +22142,17 @@ module Aws::EC2
|
|
|
22057
22142
|
VolumeDetail.add_member(:size, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "size"))
|
|
22058
22143
|
VolumeDetail.struct_class = Types::VolumeDetail
|
|
22059
22144
|
|
|
22145
|
+
VolumeFailoverInfo.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "volumeId"))
|
|
22146
|
+
VolumeFailoverInfo.add_member(:source_active_availability_zone, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneName, location_name: "sourceActiveAvailabilityZone"))
|
|
22147
|
+
VolumeFailoverInfo.add_member(:source_active_availability_zone_id, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneId, location_name: "sourceActiveAvailabilityZoneId"))
|
|
22148
|
+
VolumeFailoverInfo.add_member(:source_standby_availability_zones, Shapes::ShapeRef.new(shape: FailoverAvailabilityZoneList, location_name: "sourceStandbyAvailabilityZoneSet"))
|
|
22149
|
+
VolumeFailoverInfo.add_member(:target_active_availability_zone, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneName, location_name: "targetActiveAvailabilityZone"))
|
|
22150
|
+
VolumeFailoverInfo.add_member(:target_active_availability_zone_id, Shapes::ShapeRef.new(shape: SupplementaryAvailabilityZoneId, location_name: "targetActiveAvailabilityZoneId"))
|
|
22151
|
+
VolumeFailoverInfo.add_member(:target_standby_availability_zones, Shapes::ShapeRef.new(shape: FailoverAvailabilityZoneList, location_name: "targetStandbyAvailabilityZoneSet"))
|
|
22152
|
+
VolumeFailoverInfo.struct_class = Types::VolumeFailoverInfo
|
|
22153
|
+
|
|
22154
|
+
VolumeFailoverInfoList.member = Shapes::ShapeRef.new(shape: VolumeFailoverInfo, location_name: "item")
|
|
22155
|
+
|
|
22060
22156
|
VolumeIdStringList.member = Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId")
|
|
22061
22157
|
|
|
22062
22158
|
VolumeList.member = Shapes::ShapeRef.new(shape: Volume, location_name: "item")
|
|
@@ -22078,6 +22174,10 @@ module Aws::EC2
|
|
|
22078
22174
|
VolumeModification.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
|
|
22079
22175
|
VolumeModification.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
|
|
22080
22176
|
VolumeModification.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
|
22177
|
+
VolumeModification.add_member(:original_multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfiguration, location_name: "originalMultiAvailabilityZoneConfiguration"))
|
|
22178
|
+
VolumeModification.add_member(:target_multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfiguration, location_name: "targetMultiAvailabilityZoneConfiguration"))
|
|
22179
|
+
VolumeModification.add_member(:target_trim_on_attach, Shapes::ShapeRef.new(shape: TrimOnAttach, location_name: "targetTrimOnAttach"))
|
|
22180
|
+
VolumeModification.add_member(:original_trim_on_attach, Shapes::ShapeRef.new(shape: TrimOnAttach, location_name: "originalTrimOnAttach"))
|
|
22081
22181
|
VolumeModification.struct_class = Types::VolumeModification
|
|
22082
22182
|
|
|
22083
22183
|
VolumeModificationList.member = Shapes::ShapeRef.new(shape: VolumeModification, location_name: "item")
|
|
@@ -22097,6 +22197,7 @@ module Aws::EC2
|
|
|
22097
22197
|
VolumeRecycleBinInfo.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "createTime"))
|
|
22098
22198
|
VolumeRecycleBinInfo.add_member(:recycle_bin_enter_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "recycleBinEnterTime"))
|
|
22099
22199
|
VolumeRecycleBinInfo.add_member(:recycle_bin_exit_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "recycleBinExitTime"))
|
|
22200
|
+
VolumeRecycleBinInfo.add_member(:multi_availability_zone_configuration, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneVolumeConfiguration, location_name: "multiAvailabilityZoneConfiguration"))
|
|
22100
22201
|
VolumeRecycleBinInfo.struct_class = Types::VolumeRecycleBinInfo
|
|
22101
22202
|
|
|
22102
22203
|
VolumeRecycleBinInfoList.member = Shapes::ShapeRef.new(shape: VolumeRecycleBinInfo, location_name: "item")
|
|
@@ -22145,6 +22246,7 @@ module Aws::EC2
|
|
|
22145
22246
|
VolumeStatusItem.add_member(:initialization_status_details, Shapes::ShapeRef.new(shape: InitializationStatusDetails, location_name: "initializationStatusDetails"))
|
|
22146
22247
|
VolumeStatusItem.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
|
22147
22248
|
VolumeStatusItem.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
|
22249
|
+
VolumeStatusItem.add_member(:multi_availability_zone_status_details, Shapes::ShapeRef.new(shape: MultiAvailabilityZoneStatusDetails, location_name: "multiAvailabilityZoneStatusDetails"))
|
|
22148
22250
|
VolumeStatusItem.struct_class = Types::VolumeStatusItem
|
|
22149
22251
|
|
|
22150
22252
|
VolumeStatusList.member = Shapes::ShapeRef.new(shape: VolumeStatusItem, location_name: "item")
|
|
@@ -28227,6 +28329,14 @@ module Aws::EC2
|
|
|
28227
28329
|
o.output = Shapes::ShapeRef.new(shape: ExportVerifiedAccessInstanceClientConfigurationResult)
|
|
28228
28330
|
end)
|
|
28229
28331
|
|
|
28332
|
+
api.add_operation(:failover_volumes, Seahorse::Model::Operation.new.tap do |o|
|
|
28333
|
+
o.name = "FailoverVolumes"
|
|
28334
|
+
o.http_method = "POST"
|
|
28335
|
+
o.http_request_uri = "/"
|
|
28336
|
+
o.input = Shapes::ShapeRef.new(shape: FailoverVolumesRequest)
|
|
28337
|
+
o.output = Shapes::ShapeRef.new(shape: FailoverVolumesResult)
|
|
28338
|
+
end)
|
|
28339
|
+
|
|
28230
28340
|
api.add_operation(:get_active_vpn_tunnel_status, Seahorse::Model::Operation.new.tap do |o|
|
|
28231
28341
|
o.name = "GetActiveVpnTunnelStatus"
|
|
28232
28342
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
|
@@ -817,11 +817,20 @@ module Aws::EC2
|
|
|
817
817
|
# iops: 1,
|
|
818
818
|
# snapshot_id: "SnapshotId",
|
|
819
819
|
# volume_size: 1,
|
|
820
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
820
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
|
|
821
821
|
# kms_key_id: "String",
|
|
822
822
|
# throughput: 1,
|
|
823
823
|
# outpost_arn: "String",
|
|
824
824
|
# availability_zone: "String",
|
|
825
|
+
# multi_availability_zone_configuration: {
|
|
826
|
+
# configuration_type: "multi-az-1", # accepts multi-az-1
|
|
827
|
+
# standby_availability_zones: [
|
|
828
|
+
# {
|
|
829
|
+
# availability_zone: "SupplementaryAvailabilityZoneName",
|
|
830
|
+
# availability_zone_id: "SupplementaryAvailabilityZoneId",
|
|
831
|
+
# },
|
|
832
|
+
# ],
|
|
833
|
+
# },
|
|
825
834
|
# encrypted: false,
|
|
826
835
|
# volume_initialization_rate: 1,
|
|
827
836
|
# availability_zone_id: "String",
|
|
@@ -1840,8 +1849,8 @@ module Aws::EC2
|
|
|
1840
1849
|
#
|
|
1841
1850
|
# * `volume-id` - The volume ID.
|
|
1842
1851
|
#
|
|
1843
|
-
# * `volume-type` - The Amazon EBS volume type (`gp2` \| `gp3` \| `
|
|
1844
|
-
# \| `io2` \| `st1` \| `sc1`\| `standard`)
|
|
1852
|
+
# * `volume-type` - The Amazon EBS volume type (`gp2` \| `gp3` \| `gp3a`
|
|
1853
|
+
# \| `io1` \| `io2` \| `io2a` \| `st1` \| `sc1`\| `standard`)
|
|
1845
1854
|
# @return [Volume::Collection]
|
|
1846
1855
|
def volumes(options = {})
|
|
1847
1856
|
batches = Enumerator.new do |y|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -89,11 +89,20 @@ module Aws::EC2
|
|
|
89
89
|
# iops: 1,
|
|
90
90
|
# snapshot_id: "SnapshotId",
|
|
91
91
|
# volume_size: 1,
|
|
92
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
92
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
|
|
93
93
|
# kms_key_id: "String",
|
|
94
94
|
# throughput: 1,
|
|
95
95
|
# outpost_arn: "String",
|
|
96
96
|
# availability_zone: "String",
|
|
97
|
+
# multi_availability_zone_configuration: {
|
|
98
|
+
# configuration_type: "multi-az-1", # accepts multi-az-1
|
|
99
|
+
# standby_availability_zones: [
|
|
100
|
+
# {
|
|
101
|
+
# availability_zone: "SupplementaryAvailabilityZoneName",
|
|
102
|
+
# availability_zone_id: "SupplementaryAvailabilityZoneId",
|
|
103
|
+
# },
|
|
104
|
+
# ],
|
|
105
|
+
# },
|
|
97
106
|
# encrypted: false,
|
|
98
107
|
# volume_initialization_rate: 1,
|
|
99
108
|
# availability_zone_id: "String",
|
|
@@ -1543,7 +1552,7 @@ module Aws::EC2
|
|
|
1543
1552
|
# outpost_arn: "String",
|
|
1544
1553
|
# size: 1,
|
|
1545
1554
|
# snapshot_id: "SnapshotId",
|
|
1546
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
1555
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
|
|
1547
1556
|
# tag_specifications: [
|
|
1548
1557
|
# {
|
|
1549
1558
|
# 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, 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
|
|
@@ -1562,11 +1571,21 @@ module Aws::EC2
|
|
|
1562
1571
|
# operator: {
|
|
1563
1572
|
# principal: "String",
|
|
1564
1573
|
# },
|
|
1574
|
+
# multi_availability_zone_configuration: {
|
|
1575
|
+
# configuration_type: "multi-az-1", # accepts multi-az-1
|
|
1576
|
+
# standby_availability_zones: [
|
|
1577
|
+
# {
|
|
1578
|
+
# availability_zone: "SupplementaryAvailabilityZoneName",
|
|
1579
|
+
# availability_zone_id: "SupplementaryAvailabilityZoneId",
|
|
1580
|
+
# },
|
|
1581
|
+
# ],
|
|
1582
|
+
# },
|
|
1583
|
+
# trim_on_attach: "enabled", # accepts enabled, disabled
|
|
1565
1584
|
# dry_run: false,
|
|
1566
1585
|
# })
|
|
1567
1586
|
# @param [Hash] options ({})
|
|
1568
1587
|
# @option options [String] :availability_zone
|
|
1569
|
-
# The
|
|
1588
|
+
# The name of the Availability Zone in which to create the volume. For
|
|
1570
1589
|
# example, `us-east-1a`.
|
|
1571
1590
|
#
|
|
1572
1591
|
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
|
@@ -1594,17 +1613,21 @@ module Aws::EC2
|
|
|
1594
1613
|
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
|
|
1595
1614
|
# @option options [Integer] :iops
|
|
1596
1615
|
# The number of I/O operations per second (IOPS) to provision for the
|
|
1597
|
-
# volume. Required for `io1` and `
|
|
1598
|
-
# volumes. Omit for all other volume types.
|
|
1616
|
+
# volume. Required for `io1`, `io2`, and `io2a` volumes. Optional for
|
|
1617
|
+
# `gp3` and `gp3a` volumes. Omit for all other volume types.
|
|
1599
1618
|
#
|
|
1600
1619
|
# Valid ranges:
|
|
1601
1620
|
#
|
|
1602
1621
|
# * gp3: `3,000 `(*default*)` - 80,000` IOPS
|
|
1603
1622
|
#
|
|
1623
|
+
# * gp3a: `1,000 - 80,000` IOPS. Default: `3,000`
|
|
1624
|
+
#
|
|
1604
1625
|
# * io1: `100 - 64,000` IOPS
|
|
1605
1626
|
#
|
|
1606
1627
|
# * io2: `100 - 256,000` IOPS
|
|
1607
1628
|
#
|
|
1629
|
+
# * io2a: `100 - 256,000` IOPS
|
|
1630
|
+
#
|
|
1608
1631
|
# <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
|
|
1609
1632
|
# IOPS. Other instances can support up to 32,000 IOPS.
|
|
1610
1633
|
#
|
|
@@ -1654,10 +1677,14 @@ module Aws::EC2
|
|
|
1654
1677
|
#
|
|
1655
1678
|
# * gp3: `1 - 65,536` GiB
|
|
1656
1679
|
#
|
|
1680
|
+
# * gp3a: `1 - 65,536` GiB
|
|
1681
|
+
#
|
|
1657
1682
|
# * io1: `4 - 16,384` GiB
|
|
1658
1683
|
#
|
|
1659
1684
|
# * io2: `4 - 65,536` GiB
|
|
1660
1685
|
#
|
|
1686
|
+
# * io2a: `4 - 65,536` GiB
|
|
1687
|
+
#
|
|
1661
1688
|
# * st1 and sc1: `125 - 16,384` GiB
|
|
1662
1689
|
#
|
|
1663
1690
|
# * standard: `1 - 1024` GiB
|
|
@@ -1669,8 +1696,12 @@ module Aws::EC2
|
|
|
1669
1696
|
#
|
|
1670
1697
|
# * General Purpose SSD: `gp2` \| `gp3`
|
|
1671
1698
|
#
|
|
1699
|
+
# * General Purpose Adaptive SSD: `gp3a`
|
|
1700
|
+
#
|
|
1672
1701
|
# * Provisioned IOPS SSD: `io1` \| `io2`
|
|
1673
1702
|
#
|
|
1703
|
+
# * Provisioned IOPS Adaptive SSD: `io2a`
|
|
1704
|
+
#
|
|
1674
1705
|
# * Throughput Optimized HDD: `st1`
|
|
1675
1706
|
#
|
|
1676
1707
|
# * Cold HDD: `sc1`
|
|
@@ -1694,8 +1725,9 @@ module Aws::EC2
|
|
|
1694
1725
|
# Indicates whether to enable Amazon EBS Multi-Attach. If you enable
|
|
1695
1726
|
# Multi-Attach, you can attach the volume to up to 16 [Instances built
|
|
1696
1727
|
# on the Nitro System][1] in the same Availability Zone. This parameter
|
|
1697
|
-
# is supported with `io1` and `
|
|
1698
|
-
# see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User
|
|
1728
|
+
# is supported with `io1`, `io2`, and `io2a` volumes only. For more
|
|
1729
|
+
# information, see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User
|
|
1730
|
+
# Guide*.
|
|
1699
1731
|
#
|
|
1700
1732
|
#
|
|
1701
1733
|
#
|
|
@@ -1703,7 +1735,7 @@ module Aws::EC2
|
|
|
1703
1735
|
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
|
|
1704
1736
|
# @option options [Integer] :throughput
|
|
1705
1737
|
# The throughput to provision for the volume, in MiB/s. Supported for
|
|
1706
|
-
# `gp3` volumes only. Omit for all other volume types.
|
|
1738
|
+
# `gp3` and `gp3a` volumes only. Omit for all other volume types.
|
|
1707
1739
|
#
|
|
1708
1740
|
# Valid Range: `125 - 2000` MiB/s
|
|
1709
1741
|
# @option options [String] :client_token
|
|
@@ -1747,6 +1779,35 @@ module Aws::EC2
|
|
|
1747
1779
|
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
|
|
1748
1780
|
# @option options [Types::OperatorRequest] :operator
|
|
1749
1781
|
# Reserved for internal use.
|
|
1782
|
+
# @option options [Types::MultiAvailabilityZoneVolumeConfigurationRequest] :multi_availability_zone_configuration
|
|
1783
|
+
# The Multi-Availability Zone configuration for the volume. To create a
|
|
1784
|
+
# Multi-Availability Zone volume, specify the configuration type and the
|
|
1785
|
+
# standby Availability Zone.
|
|
1786
|
+
# @option options [String] :trim_on_attach
|
|
1787
|
+
# Specifies whether the volume reports TRIM support to the operating
|
|
1788
|
+
# system when the volume is attached to an EC2 instance. Amazon EBS
|
|
1789
|
+
# applies this intent only when the volume attaches to an EC2 instance,
|
|
1790
|
+
# and TRIM support on the volume stays the same for the life of the
|
|
1791
|
+
# attachment. To check whether an attached volume is reporting TRIM
|
|
1792
|
+
# support, use `TrimState` in the attachments of the volume using
|
|
1793
|
+
# `DescribeVolumes`. Volumes created from a snapshot don't inherit the
|
|
1794
|
+
# source volume's setting. For more information, see [Amazon EBS
|
|
1795
|
+
# TRIM][1] in the *Amazon EBS User Guide*.
|
|
1796
|
+
#
|
|
1797
|
+
# If you omit this parameter, the default is `enabled` for `gp3a` and
|
|
1798
|
+
# `io2a` volumes, and `disabled` for `gp2`, `gp3`, `io1`, `io2`, `sc1`,
|
|
1799
|
+
# and `st1` volumes.
|
|
1800
|
+
#
|
|
1801
|
+
# Valid values:
|
|
1802
|
+
#
|
|
1803
|
+
# * `enabled`: The volume reports TRIM support to the operating system.
|
|
1804
|
+
#
|
|
1805
|
+
# * `disabled`: The volume does not report TRIM support to the operating
|
|
1806
|
+
# system.
|
|
1807
|
+
#
|
|
1808
|
+
#
|
|
1809
|
+
#
|
|
1810
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-trim.html
|
|
1750
1811
|
# @option options [Boolean] :dry_run
|
|
1751
1812
|
# Checks whether you have the required permissions for the action,
|
|
1752
1813
|
# without actually making the request, and provides an error response.
|
|
@@ -2067,11 +2128,20 @@ module Aws::EC2
|
|
|
2067
2128
|
# iops: 1,
|
|
2068
2129
|
# snapshot_id: "SnapshotId",
|
|
2069
2130
|
# volume_size: 1,
|
|
2070
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
2131
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
|
|
2071
2132
|
# kms_key_id: "String",
|
|
2072
2133
|
# throughput: 1,
|
|
2073
2134
|
# outpost_arn: "String",
|
|
2074
2135
|
# availability_zone: "String",
|
|
2136
|
+
# multi_availability_zone_configuration: {
|
|
2137
|
+
# configuration_type: "multi-az-1", # accepts multi-az-1
|
|
2138
|
+
# standby_availability_zones: [
|
|
2139
|
+
# {
|
|
2140
|
+
# availability_zone: "SupplementaryAvailabilityZoneName",
|
|
2141
|
+
# availability_zone_id: "SupplementaryAvailabilityZoneId",
|
|
2142
|
+
# },
|
|
2143
|
+
# ],
|
|
2144
|
+
# },
|
|
2075
2145
|
# encrypted: false,
|
|
2076
2146
|
# volume_initialization_rate: 1,
|
|
2077
2147
|
# availability_zone_id: "String",
|
|
@@ -2487,8 +2557,8 @@ module Aws::EC2
|
|
|
2487
2557
|
# EBS volume, in GiB.
|
|
2488
2558
|
#
|
|
2489
2559
|
# * `block-device-mapping.volume-type` - The volume type of the Amazon
|
|
2490
|
-
# EBS volume (`io1` \| `io2` \| `
|
|
2491
|
-
# `standard`).
|
|
2560
|
+
# EBS volume (`io1` \| `io2` \| `io2a` \| `gp2` \| `gp3` \| `gp3a` \|
|
|
2561
|
+
# `sc1 `\| `st1` \| `standard`).
|
|
2492
2562
|
#
|
|
2493
2563
|
# * `block-device-mapping.encrypted` - A Boolean that indicates whether
|
|
2494
2564
|
# the Amazon EBS volume is encrypted.
|
|
@@ -4412,8 +4482,8 @@ module Aws::EC2
|
|
|
4412
4482
|
#
|
|
4413
4483
|
# * `volume-id` - The volume ID.
|
|
4414
4484
|
#
|
|
4415
|
-
# * `volume-type` - The Amazon EBS volume type (`gp2` \| `gp3` \| `
|
|
4416
|
-
# \| `io2` \| `st1` \| `sc1`\| `standard`)
|
|
4485
|
+
# * `volume-type` - The Amazon EBS volume type (`gp2` \| `gp3` \| `gp3a`
|
|
4486
|
+
# \| `io1` \| `io2` \| `io2a` \| `st1` \| `sc1`\| `standard`)
|
|
4417
4487
|
# @return [Volume::Collection]
|
|
4418
4488
|
def volumes(options = {})
|
|
4419
4489
|
batches = Enumerator.new do |y|
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
|
@@ -386,11 +386,20 @@ module Aws::EC2
|
|
|
386
386
|
# iops: 1,
|
|
387
387
|
# snapshot_id: "SnapshotId",
|
|
388
388
|
# volume_size: 1,
|
|
389
|
-
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
|
389
|
+
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
|
|
390
390
|
# kms_key_id: "String",
|
|
391
391
|
# throughput: 1,
|
|
392
392
|
# outpost_arn: "String",
|
|
393
393
|
# availability_zone: "String",
|
|
394
|
+
# multi_availability_zone_configuration: {
|
|
395
|
+
# configuration_type: "multi-az-1", # accepts multi-az-1
|
|
396
|
+
# standby_availability_zones: [
|
|
397
|
+
# {
|
|
398
|
+
# availability_zone: "SupplementaryAvailabilityZoneName",
|
|
399
|
+
# availability_zone_id: "SupplementaryAvailabilityZoneId",
|
|
400
|
+
# },
|
|
401
|
+
# ],
|
|
402
|
+
# },
|
|
394
403
|
# encrypted: false,
|
|
395
404
|
# volume_initialization_rate: 1,
|
|
396
405
|
# availability_zone_id: "String",
|