aws-sdk-ec2 1.546.0 → 1.547.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 +146 -46
- data/lib/aws-sdk-ec2/client_api.rb +18 -3
- data/lib/aws-sdk-ec2/image.rb +24 -2
- data/lib/aws-sdk-ec2/instance.rb +4 -1
- data/lib/aws-sdk-ec2/placement_group.rb +3 -0
- data/lib/aws-sdk-ec2/resource.rb +19 -2
- data/lib/aws-sdk-ec2/subnet.rb +4 -0
- data/lib/aws-sdk-ec2/types.rb +182 -6
- data/lib/aws-sdk-ec2/volume.rb +6 -0
- data/lib/aws-sdk-ec2/vpc.rb +3 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +17 -6
- data/sig/resource.rbs +3 -1
- data/sig/subnet.rbs +1 -0
- data/sig/types.rbs +15 -0
- data/sig/volume.rbs +3 -0
- metadata +1 -1
@@ -5235,9 +5235,10 @@ module Aws::EC2
|
|
5235
5235
|
CreateCustomerGatewayResult.add_member(:customer_gateway, Shapes::ShapeRef.new(shape: CustomerGateway, location_name: "customerGateway"))
|
5236
5236
|
CreateCustomerGatewayResult.struct_class = Types::CreateCustomerGatewayResult
|
5237
5237
|
|
5238
|
-
CreateDefaultSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName,
|
5238
|
+
CreateDefaultSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZone"))
|
5239
5239
|
CreateDefaultSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5240
5240
|
CreateDefaultSubnetRequest.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "Ipv6Native"))
|
5241
|
+
CreateDefaultSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
5241
5242
|
CreateDefaultSubnetRequest.struct_class = Types::CreateDefaultSubnetRequest
|
5242
5243
|
|
5243
5244
|
CreateDefaultSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -6197,7 +6198,8 @@ module Aws::EC2
|
|
6197
6198
|
CreateVolumePermissionModifications.add_member(:remove, Shapes::ShapeRef.new(shape: CreateVolumePermissionList, location_name: "Remove"))
|
6198
6199
|
CreateVolumePermissionModifications.struct_class = Types::CreateVolumePermissionModifications
|
6199
6200
|
|
6200
|
-
CreateVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName,
|
6201
|
+
CreateVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZone"))
|
6202
|
+
CreateVolumeRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
6201
6203
|
CreateVolumeRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
6202
6204
|
CreateVolumeRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
6203
6205
|
CreateVolumeRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
@@ -8425,6 +8427,7 @@ module Aws::EC2
|
|
8425
8427
|
DescribeSpotInstanceRequestsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
8426
8428
|
DescribeSpotInstanceRequestsResult.struct_class = Types::DescribeSpotInstanceRequestsResult
|
8427
8429
|
|
8430
|
+
DescribeSpotPriceHistoryRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
8428
8431
|
DescribeSpotPriceHistoryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
8429
8432
|
DescribeSpotPriceHistoryRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
|
8430
8433
|
DescribeSpotPriceHistoryRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
|
@@ -11073,6 +11076,7 @@ module Aws::EC2
|
|
11073
11076
|
ImportInstanceTaskDetails.struct_class = Types::ImportInstanceTaskDetails
|
11074
11077
|
|
11075
11078
|
ImportInstanceVolumeDetailItem.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
11079
|
+
ImportInstanceVolumeDetailItem.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
11076
11080
|
ImportInstanceVolumeDetailItem.add_member(:bytes_converted, Shapes::ShapeRef.new(shape: Long, location_name: "bytesConverted"))
|
11077
11081
|
ImportInstanceVolumeDetailItem.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
11078
11082
|
ImportInstanceVolumeDetailItem.add_member(:image, Shapes::ShapeRef.new(shape: DiskImageDescription, location_name: "image"))
|
@@ -11124,8 +11128,9 @@ module Aws::EC2
|
|
11124
11128
|
|
11125
11129
|
ImportTaskIdList.member = Shapes::ShapeRef.new(shape: ImportImageTaskId, location_name: "ImportTaskId")
|
11126
11130
|
|
11131
|
+
ImportVolumeRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
11127
11132
|
ImportVolumeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
11128
|
-
ImportVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String,
|
11133
|
+
ImportVolumeRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
11129
11134
|
ImportVolumeRequest.add_member(:image, Shapes::ShapeRef.new(shape: DiskImageDetail, required: true, location_name: "image"))
|
11130
11135
|
ImportVolumeRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
11131
11136
|
ImportVolumeRequest.add_member(:volume, Shapes::ShapeRef.new(shape: VolumeDetail, required: true, location_name: "volume"))
|
@@ -11135,6 +11140,7 @@ module Aws::EC2
|
|
11135
11140
|
ImportVolumeResult.struct_class = Types::ImportVolumeResult
|
11136
11141
|
|
11137
11142
|
ImportVolumeTaskDetails.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
11143
|
+
ImportVolumeTaskDetails.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
11138
11144
|
ImportVolumeTaskDetails.add_member(:bytes_converted, Shapes::ShapeRef.new(shape: Long, location_name: "bytesConverted"))
|
11139
11145
|
ImportVolumeTaskDetails.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
11140
11146
|
ImportVolumeTaskDetails.add_member(:image, Shapes::ShapeRef.new(shape: DiskImageDescription, location_name: "image"))
|
@@ -11593,6 +11599,7 @@ module Aws::EC2
|
|
11593
11599
|
InstanceStateChangeList.member = Shapes::ShapeRef.new(shape: InstanceStateChange, location_name: "item")
|
11594
11600
|
|
11595
11601
|
InstanceStatus.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
11602
|
+
InstanceStatus.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "availabilityZoneId"))
|
11596
11603
|
InstanceStatus.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
11597
11604
|
InstanceStatus.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
11598
11605
|
InstanceStatus.add_member(:events, Shapes::ShapeRef.new(shape: InstanceStatusEventList, location_name: "eventsSet"))
|
@@ -12370,6 +12377,7 @@ module Aws::EC2
|
|
12370
12377
|
LaunchTemplateOverridesList.member = Shapes::ShapeRef.new(shape: LaunchTemplateOverrides, location_name: "item")
|
12371
12378
|
|
12372
12379
|
LaunchTemplatePlacement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
12380
|
+
LaunchTemplatePlacement.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "availabilityZoneId"))
|
12373
12381
|
LaunchTemplatePlacement.add_member(:affinity, Shapes::ShapeRef.new(shape: String, location_name: "affinity"))
|
12374
12382
|
LaunchTemplatePlacement.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
|
12375
12383
|
LaunchTemplatePlacement.add_member(:host_id, Shapes::ShapeRef.new(shape: String, location_name: "hostId"))
|
@@ -12381,6 +12389,7 @@ module Aws::EC2
|
|
12381
12389
|
LaunchTemplatePlacement.struct_class = Types::LaunchTemplatePlacement
|
12382
12390
|
|
12383
12391
|
LaunchTemplatePlacementRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
12392
|
+
LaunchTemplatePlacementRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
12384
12393
|
LaunchTemplatePlacementRequest.add_member(:affinity, Shapes::ShapeRef.new(shape: String, location_name: "Affinity"))
|
12385
12394
|
LaunchTemplatePlacementRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "GroupName"))
|
12386
12395
|
LaunchTemplatePlacementRequest.add_member(:host_id, Shapes::ShapeRef.new(shape: DedicatedHostId, location_name: "HostId"))
|
@@ -14172,6 +14181,7 @@ module Aws::EC2
|
|
14172
14181
|
Phase2IntegrityAlgorithmsRequestListValue.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
14173
14182
|
Phase2IntegrityAlgorithmsRequestListValue.struct_class = Types::Phase2IntegrityAlgorithmsRequestListValue
|
14174
14183
|
|
14184
|
+
Placement.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "availabilityZoneId"))
|
14175
14185
|
Placement.add_member(:affinity, Shapes::ShapeRef.new(shape: String, location_name: "affinity"))
|
14176
14186
|
Placement.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "groupName"))
|
14177
14187
|
Placement.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "partitionNumber"))
|
@@ -15709,6 +15719,7 @@ module Aws::EC2
|
|
15709
15719
|
ServiceConfiguration.add_member(:service_id, Shapes::ShapeRef.new(shape: String, location_name: "serviceId"))
|
15710
15720
|
ServiceConfiguration.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
|
15711
15721
|
ServiceConfiguration.add_member(:service_state, Shapes::ShapeRef.new(shape: ServiceState, location_name: "serviceState"))
|
15722
|
+
ServiceConfiguration.add_member(:availability_zone_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "availabilityZoneIdSet"))
|
15712
15723
|
ServiceConfiguration.add_member(:availability_zones, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "availabilityZoneSet"))
|
15713
15724
|
ServiceConfiguration.add_member(:acceptance_required, Shapes::ShapeRef.new(shape: Boolean, location_name: "acceptanceRequired"))
|
15714
15725
|
ServiceConfiguration.add_member(:manages_vpc_endpoints, Shapes::ShapeRef.new(shape: Boolean, location_name: "managesVpcEndpoints"))
|
@@ -15730,6 +15741,7 @@ module Aws::EC2
|
|
15730
15741
|
ServiceDetail.add_member(:service_id, Shapes::ShapeRef.new(shape: String, location_name: "serviceId"))
|
15731
15742
|
ServiceDetail.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceTypeDetailSet, location_name: "serviceType"))
|
15732
15743
|
ServiceDetail.add_member(:service_region, Shapes::ShapeRef.new(shape: String, location_name: "serviceRegion"))
|
15744
|
+
ServiceDetail.add_member(:availability_zone_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "availabilityZoneIdSet"))
|
15733
15745
|
ServiceDetail.add_member(:availability_zones, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "availabilityZoneSet"))
|
15734
15746
|
ServiceDetail.add_member(:owner, Shapes::ShapeRef.new(shape: String, location_name: "owner"))
|
15735
15747
|
ServiceDetail.add_member(:base_endpoint_dns_names, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "baseEndpointDnsNameSet"))
|
@@ -15969,6 +15981,7 @@ module Aws::EC2
|
|
15969
15981
|
SpotInstanceRequest.add_member(:launch_group, Shapes::ShapeRef.new(shape: String, location_name: "launchGroup"))
|
15970
15982
|
SpotInstanceRequest.add_member(:launch_specification, Shapes::ShapeRef.new(shape: LaunchSpecification, location_name: "launchSpecification"))
|
15971
15983
|
SpotInstanceRequest.add_member(:launched_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "launchedAvailabilityZone"))
|
15984
|
+
SpotInstanceRequest.add_member(:launched_availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "launchedAvailabilityZoneId"))
|
15972
15985
|
SpotInstanceRequest.add_member(:product_description, Shapes::ShapeRef.new(shape: RIProductDescription, location_name: "productDescription"))
|
15973
15986
|
SpotInstanceRequest.add_member(:spot_instance_request_id, Shapes::ShapeRef.new(shape: String, location_name: "spotInstanceRequestId"))
|
15974
15987
|
SpotInstanceRequest.add_member(:spot_price, Shapes::ShapeRef.new(shape: String, location_name: "spotPrice"))
|
@@ -16037,6 +16050,7 @@ module Aws::EC2
|
|
16037
16050
|
SpotPlacementScores.member = Shapes::ShapeRef.new(shape: SpotPlacementScore, location_name: "item")
|
16038
16051
|
|
16039
16052
|
SpotPrice.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
16053
|
+
SpotPrice.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
16040
16054
|
SpotPrice.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
16041
16055
|
SpotPrice.add_member(:product_description, Shapes::ShapeRef.new(shape: RIProductDescription, location_name: "productDescription"))
|
16042
16056
|
SpotPrice.add_member(:spot_price, Shapes::ShapeRef.new(shape: String, location_name: "spotPrice"))
|
@@ -17213,6 +17227,7 @@ module Aws::EC2
|
|
17213
17227
|
|
17214
17228
|
VirtualizationTypeSet.member = Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "item")
|
17215
17229
|
|
17230
|
+
Volume.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
17216
17231
|
Volume.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
17217
17232
|
Volume.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
|
17218
17233
|
Volume.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -241,12 +241,34 @@ module Aws::EC2
|
|
241
241
|
end
|
242
242
|
|
243
243
|
# The ID of the source AMI from which the AMI was created.
|
244
|
+
#
|
245
|
+
# The ID only appears if the AMI was created using CreateImage,
|
246
|
+
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
247
|
+
# AMI was created using any other API. For some older AMIs, the ID might
|
248
|
+
# not be available. For more information, see [Identify the source AMI
|
249
|
+
# used to create a new Amazon EC2 AMI][1] in the *Amazon EC2 User
|
250
|
+
# Guide*.
|
251
|
+
#
|
252
|
+
#
|
253
|
+
#
|
254
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
244
255
|
# @return [String]
|
245
256
|
def source_image_id
|
246
257
|
data[:source_image_id]
|
247
258
|
end
|
248
259
|
|
249
260
|
# The Region of the source AMI.
|
261
|
+
#
|
262
|
+
# The Region only appears if the AMI was created using CreateImage,
|
263
|
+
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
264
|
+
# the AMI was created using any other API. For some older AMIs, the
|
265
|
+
# Region might not be available. For more information, see [Identify the
|
266
|
+
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon EC2
|
267
|
+
# User Guide*.
|
268
|
+
#
|
269
|
+
#
|
270
|
+
#
|
271
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
250
272
|
# @return [String]
|
251
273
|
def source_image_region
|
252
274
|
data[:source_image_region]
|
@@ -637,8 +659,8 @@ module Aws::EC2
|
|
637
659
|
#
|
638
660
|
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
|
639
661
|
# attribute returns the `Client.AuthFailure` error. To get information
|
640
|
-
# about the block device mappings for an AMI,
|
641
|
-
#
|
662
|
+
# about the block device mappings for an AMI, use the DescribeImages
|
663
|
+
# action.
|
642
664
|
# @option options [Boolean] :dry_run
|
643
665
|
# Checks whether you have the required permissions for the action,
|
644
666
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -897,7 +897,7 @@ module Aws::EC2
|
|
897
897
|
# snapshots. To create an AMI with volumes or snapshots that have a
|
898
898
|
# different encryption status (for example, where the source volume
|
899
899
|
# and snapshots are unencrypted, and you want to create an AMI with
|
900
|
-
# encrypted volumes or snapshots),
|
900
|
+
# encrypted volumes or snapshots), use the CopyImage action.
|
901
901
|
#
|
902
902
|
# * The only option that can be changed for existing mappings or
|
903
903
|
# snapshots is `DeleteOnTermination`.
|
@@ -1728,6 +1728,9 @@ module Aws::EC2
|
|
1728
1728
|
# * `availability-zone` - The Availability Zone in which the volume was
|
1729
1729
|
# created.
|
1730
1730
|
#
|
1731
|
+
# * `availability-zone-id` - The ID of the Availability Zone in which
|
1732
|
+
# the volume was created.
|
1733
|
+
#
|
1731
1734
|
# * `create-time` - The time stamp when the volume was created.
|
1732
1735
|
#
|
1733
1736
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
@@ -272,6 +272,9 @@ module Aws::EC2
|
|
272
272
|
#
|
273
273
|
# * `availability-zone` - The Availability Zone of the instance.
|
274
274
|
#
|
275
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
276
|
+
# instance.
|
277
|
+
#
|
275
278
|
# * `block-device-mapping.attach-time` - The attach time for an EBS
|
276
279
|
# volume mapped to the instance, for example,
|
277
280
|
# `2022-09-15T17:15:20.000Z`.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -120,6 +120,7 @@ module Aws::EC2
|
|
120
120
|
# enabled: false, # required
|
121
121
|
# },
|
122
122
|
# placement: {
|
123
|
+
# availability_zone_id: "AvailabilityZoneId",
|
123
124
|
# affinity: "String",
|
124
125
|
# group_name: "PlacementGroupName",
|
125
126
|
# partition_number: 1,
|
@@ -1447,7 +1448,8 @@ module Aws::EC2
|
|
1447
1448
|
# @example Request syntax with placeholder values
|
1448
1449
|
#
|
1449
1450
|
# volume = ec2.create_volume({
|
1450
|
-
# availability_zone: "AvailabilityZoneName",
|
1451
|
+
# availability_zone: "AvailabilityZoneName",
|
1452
|
+
# availability_zone_id: "AvailabilityZoneId",
|
1451
1453
|
# encrypted: false,
|
1452
1454
|
# iops: 1,
|
1453
1455
|
# kms_key_id: "KmsKeyId",
|
@@ -1476,9 +1478,18 @@ module Aws::EC2
|
|
1476
1478
|
# dry_run: false,
|
1477
1479
|
# })
|
1478
1480
|
# @param [Hash] options ({})
|
1479
|
-
# @option options [
|
1481
|
+
# @option options [String] :availability_zone
|
1480
1482
|
# The ID of the Availability Zone in which to create the volume. For
|
1481
1483
|
# example, `us-east-1a`.
|
1484
|
+
#
|
1485
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
1486
|
+
# but not both.
|
1487
|
+
# @option options [String] :availability_zone_id
|
1488
|
+
# The ID of the Availability Zone in which to create the volume. For
|
1489
|
+
# example, `use1-az1`.
|
1490
|
+
#
|
1491
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
1492
|
+
# but not both.
|
1482
1493
|
# @option options [Boolean] :encrypted
|
1483
1494
|
# Indicates whether the volume should be encrypted. The effect of
|
1484
1495
|
# setting the encryption state to `true` depends on the volume origin
|
@@ -2522,6 +2533,9 @@ module Aws::EC2
|
|
2522
2533
|
#
|
2523
2534
|
# * `availability-zone` - The Availability Zone of the instance.
|
2524
2535
|
#
|
2536
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
2537
|
+
# instance.
|
2538
|
+
#
|
2525
2539
|
# * `block-device-mapping.attach-time` - The attach time for an EBS
|
2526
2540
|
# volume mapped to the instance, for example,
|
2527
2541
|
# `2022-09-15T17:15:20.000Z`.
|
@@ -4137,6 +4151,9 @@ module Aws::EC2
|
|
4137
4151
|
# * `availability-zone` - The Availability Zone in which the volume was
|
4138
4152
|
# created.
|
4139
4153
|
#
|
4154
|
+
# * `availability-zone-id` - The ID of the Availability Zone in which
|
4155
|
+
# the volume was created.
|
4156
|
+
#
|
4140
4157
|
# * `create-time` - The time stamp when the volume was created.
|
4141
4158
|
#
|
4142
4159
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -382,6 +382,7 @@ module Aws::EC2
|
|
382
382
|
# enabled: false, # required
|
383
383
|
# },
|
384
384
|
# placement: {
|
385
|
+
# availability_zone_id: "AvailabilityZoneId",
|
385
386
|
# affinity: "String",
|
386
387
|
# group_name: "PlacementGroupName",
|
387
388
|
# partition_number: 1,
|
@@ -1207,6 +1208,9 @@ module Aws::EC2
|
|
1207
1208
|
#
|
1208
1209
|
# * `availability-zone` - The Availability Zone of the instance.
|
1209
1210
|
#
|
1211
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
1212
|
+
# instance.
|
1213
|
+
#
|
1210
1214
|
# * `block-device-mapping.attach-time` - The attach time for an EBS
|
1211
1215
|
# volume mapped to the instance, for example,
|
1212
1216
|
# `2022-09-15T17:15:20.000Z`.
|