aws-sdk-ec2 1.416.0 → 1.418.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +342 -16
- data/lib/aws-sdk-ec2/client_api.rb +118 -0
- data/lib/aws-sdk-ec2/endpoints.rb +70 -0
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-ec2/resource.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +313 -7
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -263,6 +263,8 @@ module Aws::EC2
|
|
263
263
|
CancelledSpotInstanceRequestList = Shapes::ListShape.new(name: 'CancelledSpotInstanceRequestList')
|
264
264
|
CapacityAllocation = Shapes::StructureShape.new(name: 'CapacityAllocation')
|
265
265
|
CapacityAllocations = Shapes::ListShape.new(name: 'CapacityAllocations')
|
266
|
+
CapacityBlockOffering = Shapes::StructureShape.new(name: 'CapacityBlockOffering')
|
267
|
+
CapacityBlockOfferingSet = Shapes::ListShape.new(name: 'CapacityBlockOfferingSet')
|
266
268
|
CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
|
267
269
|
CapacityReservationFleet = Shapes::StructureShape.new(name: 'CapacityReservationFleet')
|
268
270
|
CapacityReservationFleetCancellationState = Shapes::StructureShape.new(name: 'CapacityReservationFleetCancellationState')
|
@@ -286,6 +288,7 @@ module Aws::EC2
|
|
286
288
|
CapacityReservationTarget = Shapes::StructureShape.new(name: 'CapacityReservationTarget')
|
287
289
|
CapacityReservationTargetResponse = Shapes::StructureShape.new(name: 'CapacityReservationTargetResponse')
|
288
290
|
CapacityReservationTenancy = Shapes::StringShape.new(name: 'CapacityReservationTenancy')
|
291
|
+
CapacityReservationType = Shapes::StringShape.new(name: 'CapacityReservationType')
|
289
292
|
CarrierGateway = Shapes::StructureShape.new(name: 'CarrierGateway')
|
290
293
|
CarrierGatewayId = Shapes::StringShape.new(name: 'CarrierGatewayId')
|
291
294
|
CarrierGatewayIdSet = Shapes::ListShape.new(name: 'CarrierGatewayIdSet')
|
@@ -757,6 +760,9 @@ module Aws::EC2
|
|
757
760
|
DescribeByoipCidrsMaxResults = Shapes::IntegerShape.new(name: 'DescribeByoipCidrsMaxResults')
|
758
761
|
DescribeByoipCidrsRequest = Shapes::StructureShape.new(name: 'DescribeByoipCidrsRequest')
|
759
762
|
DescribeByoipCidrsResult = Shapes::StructureShape.new(name: 'DescribeByoipCidrsResult')
|
763
|
+
DescribeCapacityBlockOfferingsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityBlockOfferingsMaxResults')
|
764
|
+
DescribeCapacityBlockOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityBlockOfferingsRequest')
|
765
|
+
DescribeCapacityBlockOfferingsResult = Shapes::StructureShape.new(name: 'DescribeCapacityBlockOfferingsResult')
|
760
766
|
DescribeCapacityReservationFleetsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityReservationFleetsMaxResults')
|
761
767
|
DescribeCapacityReservationFleetsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationFleetsRequest')
|
762
768
|
DescribeCapacityReservationFleetsResult = Shapes::StructureShape.new(name: 'DescribeCapacityReservationFleetsResult')
|
@@ -1134,6 +1140,8 @@ module Aws::EC2
|
|
1134
1140
|
DisableIpamOrganizationAdminAccountResult = Shapes::StructureShape.new(name: 'DisableIpamOrganizationAdminAccountResult')
|
1135
1141
|
DisableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessRequest')
|
1136
1142
|
DisableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessResult')
|
1143
|
+
DisableSnapshotBlockPublicAccessRequest = Shapes::StructureShape.new(name: 'DisableSnapshotBlockPublicAccessRequest')
|
1144
|
+
DisableSnapshotBlockPublicAccessResult = Shapes::StructureShape.new(name: 'DisableSnapshotBlockPublicAccessResult')
|
1137
1145
|
DisableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationRequest')
|
1138
1146
|
DisableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationResult')
|
1139
1147
|
DisableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'DisableVgwRoutePropagationRequest')
|
@@ -1262,6 +1270,8 @@ module Aws::EC2
|
|
1262
1270
|
EnableReachabilityAnalyzerOrganizationSharingResult = Shapes::StructureShape.new(name: 'EnableReachabilityAnalyzerOrganizationSharingResult')
|
1263
1271
|
EnableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessRequest')
|
1264
1272
|
EnableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessResult')
|
1273
|
+
EnableSnapshotBlockPublicAccessRequest = Shapes::StructureShape.new(name: 'EnableSnapshotBlockPublicAccessRequest')
|
1274
|
+
EnableSnapshotBlockPublicAccessResult = Shapes::StructureShape.new(name: 'EnableSnapshotBlockPublicAccessResult')
|
1265
1275
|
EnableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationRequest')
|
1266
1276
|
EnableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationResult')
|
1267
1277
|
EnableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'EnableVgwRoutePropagationRequest')
|
@@ -1453,6 +1463,8 @@ module Aws::EC2
|
|
1453
1463
|
GetSecurityGroupsForVpcResult = Shapes::StructureShape.new(name: 'GetSecurityGroupsForVpcResult')
|
1454
1464
|
GetSerialConsoleAccessStatusRequest = Shapes::StructureShape.new(name: 'GetSerialConsoleAccessStatusRequest')
|
1455
1465
|
GetSerialConsoleAccessStatusResult = Shapes::StructureShape.new(name: 'GetSerialConsoleAccessStatusResult')
|
1466
|
+
GetSnapshotBlockPublicAccessStateRequest = Shapes::StructureShape.new(name: 'GetSnapshotBlockPublicAccessStateRequest')
|
1467
|
+
GetSnapshotBlockPublicAccessStateResult = Shapes::StructureShape.new(name: 'GetSnapshotBlockPublicAccessStateResult')
|
1456
1468
|
GetSpotPlacementScoresRequest = Shapes::StructureShape.new(name: 'GetSpotPlacementScoresRequest')
|
1457
1469
|
GetSpotPlacementScoresResult = Shapes::StructureShape.new(name: 'GetSpotPlacementScoresResult')
|
1458
1470
|
GetSubnetCidrReservationsMaxResults = Shapes::IntegerShape.new(name: 'GetSubnetCidrReservationsMaxResults')
|
@@ -2336,6 +2348,8 @@ module Aws::EC2
|
|
2336
2348
|
PublicIpv4PoolRangeSet = Shapes::ListShape.new(name: 'PublicIpv4PoolRangeSet')
|
2337
2349
|
PublicIpv4PoolSet = Shapes::ListShape.new(name: 'PublicIpv4PoolSet')
|
2338
2350
|
Purchase = Shapes::StructureShape.new(name: 'Purchase')
|
2351
|
+
PurchaseCapacityBlockRequest = Shapes::StructureShape.new(name: 'PurchaseCapacityBlockRequest')
|
2352
|
+
PurchaseCapacityBlockResult = Shapes::StructureShape.new(name: 'PurchaseCapacityBlockResult')
|
2339
2353
|
PurchaseHostReservationRequest = Shapes::StructureShape.new(name: 'PurchaseHostReservationRequest')
|
2340
2354
|
PurchaseHostReservationResult = Shapes::StructureShape.new(name: 'PurchaseHostReservationResult')
|
2341
2355
|
PurchaseRequest = Shapes::StructureShape.new(name: 'PurchaseRequest')
|
@@ -2597,6 +2611,7 @@ module Aws::EC2
|
|
2597
2611
|
SlotStartTimeRangeRequest = Shapes::StructureShape.new(name: 'SlotStartTimeRangeRequest')
|
2598
2612
|
Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
|
2599
2613
|
SnapshotAttributeName = Shapes::StringShape.new(name: 'SnapshotAttributeName')
|
2614
|
+
SnapshotBlockPublicAccessState = Shapes::StringShape.new(name: 'SnapshotBlockPublicAccessState')
|
2600
2615
|
SnapshotDetail = Shapes::StructureShape.new(name: 'SnapshotDetail')
|
2601
2616
|
SnapshotDetailList = Shapes::ListShape.new(name: 'SnapshotDetailList')
|
2602
2617
|
SnapshotDiskContainer = Shapes::StructureShape.new(name: 'SnapshotDiskContainer')
|
@@ -3918,6 +3933,20 @@ module Aws::EC2
|
|
3918
3933
|
|
3919
3934
|
CapacityAllocations.member = Shapes::ShapeRef.new(shape: CapacityAllocation, location_name: "item")
|
3920
3935
|
|
3936
|
+
CapacityBlockOffering.add_member(:capacity_block_offering_id, Shapes::ShapeRef.new(shape: OfferingId, location_name: "capacityBlockOfferingId"))
|
3937
|
+
CapacityBlockOffering.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
3938
|
+
CapacityBlockOffering.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
3939
|
+
CapacityBlockOffering.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
|
3940
|
+
CapacityBlockOffering.add_member(:start_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "startDate"))
|
3941
|
+
CapacityBlockOffering.add_member(:end_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "endDate"))
|
3942
|
+
CapacityBlockOffering.add_member(:capacity_block_duration_hours, Shapes::ShapeRef.new(shape: Integer, location_name: "capacityBlockDurationHours"))
|
3943
|
+
CapacityBlockOffering.add_member(:upfront_fee, Shapes::ShapeRef.new(shape: String, location_name: "upfrontFee"))
|
3944
|
+
CapacityBlockOffering.add_member(:currency_code, Shapes::ShapeRef.new(shape: String, location_name: "currencyCode"))
|
3945
|
+
CapacityBlockOffering.add_member(:tenancy, Shapes::ShapeRef.new(shape: CapacityReservationTenancy, location_name: "tenancy"))
|
3946
|
+
CapacityBlockOffering.struct_class = Types::CapacityBlockOffering
|
3947
|
+
|
3948
|
+
CapacityBlockOfferingSet.member = Shapes::ShapeRef.new(shape: CapacityBlockOffering, location_name: "item")
|
3949
|
+
|
3921
3950
|
CapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
3922
3951
|
CapacityReservation.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
3923
3952
|
CapacityReservation.add_member(:capacity_reservation_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationArn"))
|
@@ -3941,6 +3970,7 @@ module Aws::EC2
|
|
3941
3970
|
CapacityReservation.add_member(:capacity_reservation_fleet_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationFleetId"))
|
3942
3971
|
CapacityReservation.add_member(:placement_group_arn, Shapes::ShapeRef.new(shape: PlacementGroupArn, location_name: "placementGroupArn"))
|
3943
3972
|
CapacityReservation.add_member(:capacity_allocations, Shapes::ShapeRef.new(shape: CapacityAllocations, location_name: "capacityAllocationSet"))
|
3973
|
+
CapacityReservation.add_member(:reservation_type, Shapes::ShapeRef.new(shape: CapacityReservationType, location_name: "reservationType"))
|
3944
3974
|
CapacityReservation.struct_class = Types::CapacityReservation
|
3945
3975
|
|
3946
3976
|
CapacityReservationFleet.add_member(:capacity_reservation_fleet_id, Shapes::ShapeRef.new(shape: CapacityReservationFleetId, location_name: "capacityReservationFleetId"))
|
@@ -6059,6 +6089,20 @@ module Aws::EC2
|
|
6059
6089
|
DescribeByoipCidrsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6060
6090
|
DescribeByoipCidrsResult.struct_class = Types::DescribeByoipCidrsResult
|
6061
6091
|
|
6092
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6093
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
|
6094
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InstanceCount"))
|
6095
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:start_date_range, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "StartDateRange"))
|
6096
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:end_date_range, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "EndDateRange"))
|
6097
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:capacity_duration_hours, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "CapacityDurationHours"))
|
6098
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
6099
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityBlockOfferingsMaxResults, location_name: "MaxResults"))
|
6100
|
+
DescribeCapacityBlockOfferingsRequest.struct_class = Types::DescribeCapacityBlockOfferingsRequest
|
6101
|
+
|
6102
|
+
DescribeCapacityBlockOfferingsResult.add_member(:capacity_block_offerings, Shapes::ShapeRef.new(shape: CapacityBlockOfferingSet, location_name: "capacityBlockOfferingSet"))
|
6103
|
+
DescribeCapacityBlockOfferingsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6104
|
+
DescribeCapacityBlockOfferingsResult.struct_class = Types::DescribeCapacityBlockOfferingsResult
|
6105
|
+
|
6062
6106
|
DescribeCapacityReservationFleetsRequest.add_member(:capacity_reservation_fleet_ids, Shapes::ShapeRef.new(shape: CapacityReservationFleetIdSet, location_name: "CapacityReservationFleetId"))
|
6063
6107
|
DescribeCapacityReservationFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
6064
6108
|
DescribeCapacityReservationFleetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityReservationFleetsMaxResults, location_name: "MaxResults"))
|
@@ -7762,6 +7806,12 @@ module Aws::EC2
|
|
7762
7806
|
DisableSerialConsoleAccessResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
|
7763
7807
|
DisableSerialConsoleAccessResult.struct_class = Types::DisableSerialConsoleAccessResult
|
7764
7808
|
|
7809
|
+
DisableSnapshotBlockPublicAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7810
|
+
DisableSnapshotBlockPublicAccessRequest.struct_class = Types::DisableSnapshotBlockPublicAccessRequest
|
7811
|
+
|
7812
|
+
DisableSnapshotBlockPublicAccessResult.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotBlockPublicAccessState, location_name: "state"))
|
7813
|
+
DisableSnapshotBlockPublicAccessResult.struct_class = Types::DisableSnapshotBlockPublicAccessResult
|
7814
|
+
|
7765
7815
|
DisableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableId, required: true, location_name: "TransitGatewayRouteTableId"))
|
7766
7816
|
DisableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "TransitGatewayAttachmentId"))
|
7767
7817
|
DisableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -8189,6 +8239,13 @@ module Aws::EC2
|
|
8189
8239
|
EnableSerialConsoleAccessResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
|
8190
8240
|
EnableSerialConsoleAccessResult.struct_class = Types::EnableSerialConsoleAccessResult
|
8191
8241
|
|
8242
|
+
EnableSnapshotBlockPublicAccessRequest.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotBlockPublicAccessState, required: true, location_name: "State"))
|
8243
|
+
EnableSnapshotBlockPublicAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8244
|
+
EnableSnapshotBlockPublicAccessRequest.struct_class = Types::EnableSnapshotBlockPublicAccessRequest
|
8245
|
+
|
8246
|
+
EnableSnapshotBlockPublicAccessResult.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotBlockPublicAccessState, location_name: "state"))
|
8247
|
+
EnableSnapshotBlockPublicAccessResult.struct_class = Types::EnableSnapshotBlockPublicAccessResult
|
8248
|
+
|
8192
8249
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableId, required: true, location_name: "TransitGatewayRouteTableId"))
|
8193
8250
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "TransitGatewayAttachmentId"))
|
8194
8251
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -8949,6 +9006,12 @@ module Aws::EC2
|
|
8949
9006
|
GetSerialConsoleAccessStatusResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
|
8950
9007
|
GetSerialConsoleAccessStatusResult.struct_class = Types::GetSerialConsoleAccessStatusResult
|
8951
9008
|
|
9009
|
+
GetSnapshotBlockPublicAccessStateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9010
|
+
GetSnapshotBlockPublicAccessStateRequest.struct_class = Types::GetSnapshotBlockPublicAccessStateRequest
|
9011
|
+
|
9012
|
+
GetSnapshotBlockPublicAccessStateResult.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotBlockPublicAccessState, location_name: "state"))
|
9013
|
+
GetSnapshotBlockPublicAccessStateResult.struct_class = Types::GetSnapshotBlockPublicAccessStateResult
|
9014
|
+
|
8952
9015
|
GetSpotPlacementScoresRequest.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypes, location_name: "InstanceType"))
|
8953
9016
|
GetSpotPlacementScoresRequest.add_member(:target_capacity, Shapes::ShapeRef.new(shape: SpotPlacementScoresTargetCapacity, required: true, location_name: "TargetCapacity"))
|
8954
9017
|
GetSpotPlacementScoresRequest.add_member(:target_capacity_unit_type, Shapes::ShapeRef.new(shape: TargetCapacityUnitType, location_name: "TargetCapacityUnitType"))
|
@@ -12296,6 +12359,15 @@ module Aws::EC2
|
|
12296
12359
|
Purchase.add_member(:upfront_price, Shapes::ShapeRef.new(shape: String, location_name: "upfrontPrice"))
|
12297
12360
|
Purchase.struct_class = Types::Purchase
|
12298
12361
|
|
12362
|
+
PurchaseCapacityBlockRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12363
|
+
PurchaseCapacityBlockRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
12364
|
+
PurchaseCapacityBlockRequest.add_member(:capacity_block_offering_id, Shapes::ShapeRef.new(shape: OfferingId, required: true, location_name: "CapacityBlockOfferingId"))
|
12365
|
+
PurchaseCapacityBlockRequest.add_member(:instance_platform, Shapes::ShapeRef.new(shape: CapacityReservationInstancePlatform, required: true, location_name: "InstancePlatform"))
|
12366
|
+
PurchaseCapacityBlockRequest.struct_class = Types::PurchaseCapacityBlockRequest
|
12367
|
+
|
12368
|
+
PurchaseCapacityBlockResult.add_member(:capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "capacityReservation"))
|
12369
|
+
PurchaseCapacityBlockResult.struct_class = Types::PurchaseCapacityBlockResult
|
12370
|
+
|
12299
12371
|
PurchaseHostReservationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
12300
12372
|
PurchaseHostReservationRequest.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCodeValues, location_name: "CurrencyCode"))
|
12301
12373
|
PurchaseHostReservationRequest.add_member(:host_id_set, Shapes::ShapeRef.new(shape: RequestHostIdSet, required: true, location_name: "HostIdSet"))
|
@@ -16955,6 +17027,20 @@ module Aws::EC2
|
|
16955
17027
|
)
|
16956
17028
|
end)
|
16957
17029
|
|
17030
|
+
api.add_operation(:describe_capacity_block_offerings, Seahorse::Model::Operation.new.tap do |o|
|
17031
|
+
o.name = "DescribeCapacityBlockOfferings"
|
17032
|
+
o.http_method = "POST"
|
17033
|
+
o.http_request_uri = "/"
|
17034
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCapacityBlockOfferingsRequest)
|
17035
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCapacityBlockOfferingsResult)
|
17036
|
+
o[:pager] = Aws::Pager.new(
|
17037
|
+
limit_key: "max_results",
|
17038
|
+
tokens: {
|
17039
|
+
"next_token" => "next_token"
|
17040
|
+
}
|
17041
|
+
)
|
17042
|
+
end)
|
17043
|
+
|
16958
17044
|
api.add_operation(:describe_capacity_reservation_fleets, Seahorse::Model::Operation.new.tap do |o|
|
16959
17045
|
o.name = "DescribeCapacityReservationFleets"
|
16960
17046
|
o.http_method = "POST"
|
@@ -18812,6 +18898,14 @@ module Aws::EC2
|
|
18812
18898
|
o.output = Shapes::ShapeRef.new(shape: DisableSerialConsoleAccessResult)
|
18813
18899
|
end)
|
18814
18900
|
|
18901
|
+
api.add_operation(:disable_snapshot_block_public_access, Seahorse::Model::Operation.new.tap do |o|
|
18902
|
+
o.name = "DisableSnapshotBlockPublicAccess"
|
18903
|
+
o.http_method = "POST"
|
18904
|
+
o.http_request_uri = "/"
|
18905
|
+
o.input = Shapes::ShapeRef.new(shape: DisableSnapshotBlockPublicAccessRequest)
|
18906
|
+
o.output = Shapes::ShapeRef.new(shape: DisableSnapshotBlockPublicAccessResult)
|
18907
|
+
end)
|
18908
|
+
|
18815
18909
|
api.add_operation(:disable_transit_gateway_route_table_propagation, Seahorse::Model::Operation.new.tap do |o|
|
18816
18910
|
o.name = "DisableTransitGatewayRouteTablePropagation"
|
18817
18911
|
o.http_method = "POST"
|
@@ -19044,6 +19138,14 @@ module Aws::EC2
|
|
19044
19138
|
o.output = Shapes::ShapeRef.new(shape: EnableSerialConsoleAccessResult)
|
19045
19139
|
end)
|
19046
19140
|
|
19141
|
+
api.add_operation(:enable_snapshot_block_public_access, Seahorse::Model::Operation.new.tap do |o|
|
19142
|
+
o.name = "EnableSnapshotBlockPublicAccess"
|
19143
|
+
o.http_method = "POST"
|
19144
|
+
o.http_request_uri = "/"
|
19145
|
+
o.input = Shapes::ShapeRef.new(shape: EnableSnapshotBlockPublicAccessRequest)
|
19146
|
+
o.output = Shapes::ShapeRef.new(shape: EnableSnapshotBlockPublicAccessResult)
|
19147
|
+
end)
|
19148
|
+
|
19047
19149
|
api.add_operation(:enable_transit_gateway_route_table_propagation, Seahorse::Model::Operation.new.tap do |o|
|
19048
19150
|
o.name = "EnableTransitGatewayRouteTablePropagation"
|
19049
19151
|
o.http_method = "POST"
|
@@ -19448,6 +19550,14 @@ module Aws::EC2
|
|
19448
19550
|
o.output = Shapes::ShapeRef.new(shape: GetSerialConsoleAccessStatusResult)
|
19449
19551
|
end)
|
19450
19552
|
|
19553
|
+
api.add_operation(:get_snapshot_block_public_access_state, Seahorse::Model::Operation.new.tap do |o|
|
19554
|
+
o.name = "GetSnapshotBlockPublicAccessState"
|
19555
|
+
o.http_method = "POST"
|
19556
|
+
o.http_request_uri = "/"
|
19557
|
+
o.input = Shapes::ShapeRef.new(shape: GetSnapshotBlockPublicAccessStateRequest)
|
19558
|
+
o.output = Shapes::ShapeRef.new(shape: GetSnapshotBlockPublicAccessStateResult)
|
19559
|
+
end)
|
19560
|
+
|
19451
19561
|
api.add_operation(:get_spot_placement_scores, Seahorse::Model::Operation.new.tap do |o|
|
19452
19562
|
o.name = "GetSpotPlacementScores"
|
19453
19563
|
o.http_method = "POST"
|
@@ -20244,6 +20354,14 @@ module Aws::EC2
|
|
20244
20354
|
o.output = Shapes::ShapeRef.new(shape: ProvisionPublicIpv4PoolCidrResult)
|
20245
20355
|
end)
|
20246
20356
|
|
20357
|
+
api.add_operation(:purchase_capacity_block, Seahorse::Model::Operation.new.tap do |o|
|
20358
|
+
o.name = "PurchaseCapacityBlock"
|
20359
|
+
o.http_method = "POST"
|
20360
|
+
o.http_request_uri = "/"
|
20361
|
+
o.input = Shapes::ShapeRef.new(shape: PurchaseCapacityBlockRequest)
|
20362
|
+
o.output = Shapes::ShapeRef.new(shape: PurchaseCapacityBlockResult)
|
20363
|
+
end)
|
20364
|
+
|
20247
20365
|
api.add_operation(:purchase_host_reservation, Seahorse::Model::Operation.new.tap do |o|
|
20248
20366
|
o.name = "PurchaseHostReservation"
|
20249
20367
|
o.http_method = "POST"
|
@@ -3176,6 +3176,20 @@ module Aws::EC2
|
|
3176
3176
|
end
|
3177
3177
|
end
|
3178
3178
|
|
3179
|
+
class DescribeCapacityBlockOfferings
|
3180
|
+
def self.build(context)
|
3181
|
+
unless context.config.regional_endpoint
|
3182
|
+
endpoint = context.config.endpoint.to_s
|
3183
|
+
end
|
3184
|
+
Aws::EC2::EndpointParameters.new(
|
3185
|
+
region: context.config.region,
|
3186
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
3187
|
+
use_fips: context.config.use_fips_endpoint,
|
3188
|
+
endpoint: endpoint,
|
3189
|
+
)
|
3190
|
+
end
|
3191
|
+
end
|
3192
|
+
|
3179
3193
|
class DescribeCapacityReservationFleets
|
3180
3194
|
def self.build(context)
|
3181
3195
|
unless context.config.regional_endpoint
|
@@ -5304,6 +5318,20 @@ module Aws::EC2
|
|
5304
5318
|
end
|
5305
5319
|
end
|
5306
5320
|
|
5321
|
+
class DisableSnapshotBlockPublicAccess
|
5322
|
+
def self.build(context)
|
5323
|
+
unless context.config.regional_endpoint
|
5324
|
+
endpoint = context.config.endpoint.to_s
|
5325
|
+
end
|
5326
|
+
Aws::EC2::EndpointParameters.new(
|
5327
|
+
region: context.config.region,
|
5328
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
5329
|
+
use_fips: context.config.use_fips_endpoint,
|
5330
|
+
endpoint: endpoint,
|
5331
|
+
)
|
5332
|
+
end
|
5333
|
+
end
|
5334
|
+
|
5307
5335
|
class DisableTransitGatewayRouteTablePropagation
|
5308
5336
|
def self.build(context)
|
5309
5337
|
unless context.config.regional_endpoint
|
@@ -5710,6 +5738,20 @@ module Aws::EC2
|
|
5710
5738
|
end
|
5711
5739
|
end
|
5712
5740
|
|
5741
|
+
class EnableSnapshotBlockPublicAccess
|
5742
|
+
def self.build(context)
|
5743
|
+
unless context.config.regional_endpoint
|
5744
|
+
endpoint = context.config.endpoint.to_s
|
5745
|
+
end
|
5746
|
+
Aws::EC2::EndpointParameters.new(
|
5747
|
+
region: context.config.region,
|
5748
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
5749
|
+
use_fips: context.config.use_fips_endpoint,
|
5750
|
+
endpoint: endpoint,
|
5751
|
+
)
|
5752
|
+
end
|
5753
|
+
end
|
5754
|
+
|
5713
5755
|
class EnableTransitGatewayRouteTablePropagation
|
5714
5756
|
def self.build(context)
|
5715
5757
|
unless context.config.regional_endpoint
|
@@ -6270,6 +6312,20 @@ module Aws::EC2
|
|
6270
6312
|
end
|
6271
6313
|
end
|
6272
6314
|
|
6315
|
+
class GetSnapshotBlockPublicAccessState
|
6316
|
+
def self.build(context)
|
6317
|
+
unless context.config.regional_endpoint
|
6318
|
+
endpoint = context.config.endpoint.to_s
|
6319
|
+
end
|
6320
|
+
Aws::EC2::EndpointParameters.new(
|
6321
|
+
region: context.config.region,
|
6322
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
6323
|
+
use_fips: context.config.use_fips_endpoint,
|
6324
|
+
endpoint: endpoint,
|
6325
|
+
)
|
6326
|
+
end
|
6327
|
+
end
|
6328
|
+
|
6273
6329
|
class GetSpotPlacementScores
|
6274
6330
|
def self.build(context)
|
6275
6331
|
unless context.config.regional_endpoint
|
@@ -7558,6 +7614,20 @@ module Aws::EC2
|
|
7558
7614
|
end
|
7559
7615
|
end
|
7560
7616
|
|
7617
|
+
class PurchaseCapacityBlock
|
7618
|
+
def self.build(context)
|
7619
|
+
unless context.config.regional_endpoint
|
7620
|
+
endpoint = context.config.endpoint.to_s
|
7621
|
+
end
|
7622
|
+
Aws::EC2::EndpointParameters.new(
|
7623
|
+
region: context.config.region,
|
7624
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
7625
|
+
use_fips: context.config.use_fips_endpoint,
|
7626
|
+
endpoint: endpoint,
|
7627
|
+
)
|
7628
|
+
end
|
7629
|
+
end
|
7630
|
+
|
7561
7631
|
class PurchaseHostReservation
|
7562
7632
|
def self.build(context)
|
7563
7633
|
unless context.config.regional_endpoint
|
@@ -508,6 +508,8 @@ module Aws::EC2
|
|
508
508
|
Aws::EC2::Endpoints::DescribeBundleTasks.build(context)
|
509
509
|
when :describe_byoip_cidrs
|
510
510
|
Aws::EC2::Endpoints::DescribeByoipCidrs.build(context)
|
511
|
+
when :describe_capacity_block_offerings
|
512
|
+
Aws::EC2::Endpoints::DescribeCapacityBlockOfferings.build(context)
|
511
513
|
when :describe_capacity_reservation_fleets
|
512
514
|
Aws::EC2::Endpoints::DescribeCapacityReservationFleets.build(context)
|
513
515
|
when :describe_capacity_reservations
|
@@ -812,6 +814,8 @@ module Aws::EC2
|
|
812
814
|
Aws::EC2::Endpoints::DisableIpamOrganizationAdminAccount.build(context)
|
813
815
|
when :disable_serial_console_access
|
814
816
|
Aws::EC2::Endpoints::DisableSerialConsoleAccess.build(context)
|
817
|
+
when :disable_snapshot_block_public_access
|
818
|
+
Aws::EC2::Endpoints::DisableSnapshotBlockPublicAccess.build(context)
|
815
819
|
when :disable_transit_gateway_route_table_propagation
|
816
820
|
Aws::EC2::Endpoints::DisableTransitGatewayRouteTablePropagation.build(context)
|
817
821
|
when :disable_vgw_route_propagation
|
@@ -870,6 +874,8 @@ module Aws::EC2
|
|
870
874
|
Aws::EC2::Endpoints::EnableReachabilityAnalyzerOrganizationSharing.build(context)
|
871
875
|
when :enable_serial_console_access
|
872
876
|
Aws::EC2::Endpoints::EnableSerialConsoleAccess.build(context)
|
877
|
+
when :enable_snapshot_block_public_access
|
878
|
+
Aws::EC2::Endpoints::EnableSnapshotBlockPublicAccess.build(context)
|
873
879
|
when :enable_transit_gateway_route_table_propagation
|
874
880
|
Aws::EC2::Endpoints::EnableTransitGatewayRouteTablePropagation.build(context)
|
875
881
|
when :enable_vgw_route_propagation
|
@@ -950,6 +956,8 @@ module Aws::EC2
|
|
950
956
|
Aws::EC2::Endpoints::GetSecurityGroupsForVpc.build(context)
|
951
957
|
when :get_serial_console_access_status
|
952
958
|
Aws::EC2::Endpoints::GetSerialConsoleAccessStatus.build(context)
|
959
|
+
when :get_snapshot_block_public_access_state
|
960
|
+
Aws::EC2::Endpoints::GetSnapshotBlockPublicAccessState.build(context)
|
953
961
|
when :get_spot_placement_scores
|
954
962
|
Aws::EC2::Endpoints::GetSpotPlacementScores.build(context)
|
955
963
|
when :get_subnet_cidr_reservations
|
@@ -1134,6 +1142,8 @@ module Aws::EC2
|
|
1134
1142
|
Aws::EC2::Endpoints::ProvisionIpamPoolCidr.build(context)
|
1135
1143
|
when :provision_public_ipv_4_pool_cidr
|
1136
1144
|
Aws::EC2::Endpoints::ProvisionPublicIpv4PoolCidr.build(context)
|
1145
|
+
when :purchase_capacity_block
|
1146
|
+
Aws::EC2::Endpoints::PurchaseCapacityBlock.build(context)
|
1137
1147
|
when :purchase_host_reservation
|
1138
1148
|
Aws::EC2::Endpoints::PurchaseHostReservation.build(context)
|
1139
1149
|
when :purchase_reserved_instances_offering
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -213,7 +213,7 @@ module Aws::EC2
|
|
213
213
|
# version: "String",
|
214
214
|
# },
|
215
215
|
# instance_market_options: {
|
216
|
-
# market_type: "spot", # accepts spot
|
216
|
+
# market_type: "spot", # accepts spot, capacity-block
|
217
217
|
# spot_options: {
|
218
218
|
# max_price: "String",
|
219
219
|
# spot_instance_type: "one-time", # accepts one-time, persistent
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -439,7 +439,7 @@ module Aws::EC2
|
|
439
439
|
# version: "String",
|
440
440
|
# },
|
441
441
|
# instance_market_options: {
|
442
|
-
# market_type: "spot", # accepts spot
|
442
|
+
# market_type: "spot", # accepts spot, capacity-block
|
443
443
|
# spot_options: {
|
444
444
|
# max_price: "String",
|
445
445
|
# spot_instance_type: "one-time", # accepts one-time, persistent
|