aws-sdk-ec2 1.480.0 → 1.481.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +307 -35
- data/lib/aws-sdk-ec2/client_api.rb +122 -0
- data/lib/aws-sdk-ec2/endpoints.rb +55 -0
- data/lib/aws-sdk-ec2/instance.rb +6 -4
- data/lib/aws-sdk-ec2/placement_group.rb +0 -3
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-ec2/resource.rb +4 -12
- data/lib/aws-sdk-ec2/subnet.rb +1 -9
- data/lib/aws-sdk-ec2/types.rb +369 -90
- data/lib/aws-sdk-ec2/vpc.rb +0 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +67 -0
- data/sig/types.rbs +81 -0
- metadata +2 -2
@@ -26,6 +26,8 @@ module Aws::EC2
|
|
26
26
|
AcceleratorTypeSet = Shapes::ListShape.new(name: 'AcceleratorTypeSet')
|
27
27
|
AcceptAddressTransferRequest = Shapes::StructureShape.new(name: 'AcceptAddressTransferRequest')
|
28
28
|
AcceptAddressTransferResult = Shapes::StructureShape.new(name: 'AcceptAddressTransferResult')
|
29
|
+
AcceptCapacityReservationBillingOwnershipRequest = Shapes::StructureShape.new(name: 'AcceptCapacityReservationBillingOwnershipRequest')
|
30
|
+
AcceptCapacityReservationBillingOwnershipResult = Shapes::StructureShape.new(name: 'AcceptCapacityReservationBillingOwnershipResult')
|
29
31
|
AcceptReservedInstancesExchangeQuoteRequest = Shapes::StructureShape.new(name: 'AcceptReservedInstancesExchangeQuoteRequest')
|
30
32
|
AcceptReservedInstancesExchangeQuoteResult = Shapes::StructureShape.new(name: 'AcceptReservedInstancesExchangeQuoteResult')
|
31
33
|
AcceptTransitGatewayMulticastDomainAssociationsRequest = Shapes::StructureShape.new(name: 'AcceptTransitGatewayMulticastDomainAssociationsRequest')
|
@@ -50,6 +52,7 @@ module Aws::EC2
|
|
50
52
|
AccountAttributeNameStringList = Shapes::ListShape.new(name: 'AccountAttributeNameStringList')
|
51
53
|
AccountAttributeValue = Shapes::StructureShape.new(name: 'AccountAttributeValue')
|
52
54
|
AccountAttributeValueList = Shapes::ListShape.new(name: 'AccountAttributeValueList')
|
55
|
+
AccountID = Shapes::StringShape.new(name: 'AccountID')
|
53
56
|
ActiveInstance = Shapes::StructureShape.new(name: 'ActiveInstance')
|
54
57
|
ActiveInstanceSet = Shapes::ListShape.new(name: 'ActiveInstanceSet')
|
55
58
|
ActivityStatus = Shapes::StringShape.new(name: 'ActivityStatus')
|
@@ -128,6 +131,8 @@ module Aws::EC2
|
|
128
131
|
AssignedPrivateIpAddressList = Shapes::ListShape.new(name: 'AssignedPrivateIpAddressList')
|
129
132
|
AssociateAddressRequest = Shapes::StructureShape.new(name: 'AssociateAddressRequest')
|
130
133
|
AssociateAddressResult = Shapes::StructureShape.new(name: 'AssociateAddressResult')
|
134
|
+
AssociateCapacityReservationBillingOwnerRequest = Shapes::StructureShape.new(name: 'AssociateCapacityReservationBillingOwnerRequest')
|
135
|
+
AssociateCapacityReservationBillingOwnerResult = Shapes::StructureShape.new(name: 'AssociateCapacityReservationBillingOwnerResult')
|
131
136
|
AssociateClientVpnTargetNetworkRequest = Shapes::StructureShape.new(name: 'AssociateClientVpnTargetNetworkRequest')
|
132
137
|
AssociateClientVpnTargetNetworkResult = Shapes::StructureShape.new(name: 'AssociateClientVpnTargetNetworkResult')
|
133
138
|
AssociateDhcpOptionsRequest = Shapes::StructureShape.new(name: 'AssociateDhcpOptionsRequest')
|
@@ -242,6 +247,7 @@ module Aws::EC2
|
|
242
247
|
ByoipCidr = Shapes::StructureShape.new(name: 'ByoipCidr')
|
243
248
|
ByoipCidrSet = Shapes::ListShape.new(name: 'ByoipCidrSet')
|
244
249
|
ByoipCidrState = Shapes::StringShape.new(name: 'ByoipCidrState')
|
250
|
+
CallerRole = Shapes::StringShape.new(name: 'CallerRole')
|
245
251
|
CancelBatchErrorCode = Shapes::StringShape.new(name: 'CancelBatchErrorCode')
|
246
252
|
CancelBundleTaskRequest = Shapes::StructureShape.new(name: 'CancelBundleTaskRequest')
|
247
253
|
CancelBundleTaskResult = Shapes::StructureShape.new(name: 'CancelBundleTaskResult')
|
@@ -277,6 +283,9 @@ module Aws::EC2
|
|
277
283
|
CapacityBlockOffering = Shapes::StructureShape.new(name: 'CapacityBlockOffering')
|
278
284
|
CapacityBlockOfferingSet = Shapes::ListShape.new(name: 'CapacityBlockOfferingSet')
|
279
285
|
CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
|
286
|
+
CapacityReservationBillingRequest = Shapes::StructureShape.new(name: 'CapacityReservationBillingRequest')
|
287
|
+
CapacityReservationBillingRequestSet = Shapes::ListShape.new(name: 'CapacityReservationBillingRequestSet')
|
288
|
+
CapacityReservationBillingRequestStatus = Shapes::StringShape.new(name: 'CapacityReservationBillingRequestStatus')
|
280
289
|
CapacityReservationFleet = Shapes::StructureShape.new(name: 'CapacityReservationFleet')
|
281
290
|
CapacityReservationFleetCancellationState = Shapes::StructureShape.new(name: 'CapacityReservationFleetCancellationState')
|
282
291
|
CapacityReservationFleetCancellationStateSet = Shapes::ListShape.new(name: 'CapacityReservationFleetCancellationStateSet')
|
@@ -288,6 +297,7 @@ module Aws::EC2
|
|
288
297
|
CapacityReservationGroupSet = Shapes::ListShape.new(name: 'CapacityReservationGroupSet')
|
289
298
|
CapacityReservationId = Shapes::StringShape.new(name: 'CapacityReservationId')
|
290
299
|
CapacityReservationIdSet = Shapes::ListShape.new(name: 'CapacityReservationIdSet')
|
300
|
+
CapacityReservationInfo = Shapes::StructureShape.new(name: 'CapacityReservationInfo')
|
291
301
|
CapacityReservationInstancePlatform = Shapes::StringShape.new(name: 'CapacityReservationInstancePlatform')
|
292
302
|
CapacityReservationOptions = Shapes::StructureShape.new(name: 'CapacityReservationOptions')
|
293
303
|
CapacityReservationOptionsRequest = Shapes::StructureShape.new(name: 'CapacityReservationOptionsRequest')
|
@@ -790,6 +800,9 @@ module Aws::EC2
|
|
790
800
|
DescribeCapacityBlockOfferingsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityBlockOfferingsMaxResults')
|
791
801
|
DescribeCapacityBlockOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityBlockOfferingsRequest')
|
792
802
|
DescribeCapacityBlockOfferingsResult = Shapes::StructureShape.new(name: 'DescribeCapacityBlockOfferingsResult')
|
803
|
+
DescribeCapacityReservationBillingRequestsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationBillingRequestsRequest')
|
804
|
+
DescribeCapacityReservationBillingRequestsRequestMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityReservationBillingRequestsRequestMaxResults')
|
805
|
+
DescribeCapacityReservationBillingRequestsResult = Shapes::StructureShape.new(name: 'DescribeCapacityReservationBillingRequestsResult')
|
793
806
|
DescribeCapacityReservationFleetsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityReservationFleetsMaxResults')
|
794
807
|
DescribeCapacityReservationFleetsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationFleetsRequest')
|
795
808
|
DescribeCapacityReservationFleetsResult = Shapes::StructureShape.new(name: 'DescribeCapacityReservationFleetsResult')
|
@@ -1197,6 +1210,8 @@ module Aws::EC2
|
|
1197
1210
|
DisableVpcClassicLinkRequest = Shapes::StructureShape.new(name: 'DisableVpcClassicLinkRequest')
|
1198
1211
|
DisableVpcClassicLinkResult = Shapes::StructureShape.new(name: 'DisableVpcClassicLinkResult')
|
1199
1212
|
DisassociateAddressRequest = Shapes::StructureShape.new(name: 'DisassociateAddressRequest')
|
1213
|
+
DisassociateCapacityReservationBillingOwnerRequest = Shapes::StructureShape.new(name: 'DisassociateCapacityReservationBillingOwnerRequest')
|
1214
|
+
DisassociateCapacityReservationBillingOwnerResult = Shapes::StructureShape.new(name: 'DisassociateCapacityReservationBillingOwnerResult')
|
1200
1215
|
DisassociateClientVpnTargetNetworkRequest = Shapes::StructureShape.new(name: 'DisassociateClientVpnTargetNetworkRequest')
|
1201
1216
|
DisassociateClientVpnTargetNetworkResult = Shapes::StructureShape.new(name: 'DisassociateClientVpnTargetNetworkResult')
|
1202
1217
|
DisassociateEnclaveCertificateIamRoleRequest = Shapes::StructureShape.new(name: 'DisassociateEnclaveCertificateIamRoleRequest')
|
@@ -2517,6 +2532,8 @@ module Aws::EC2
|
|
2517
2532
|
RegisterTransitGatewayMulticastGroupMembersResult = Shapes::StructureShape.new(name: 'RegisterTransitGatewayMulticastGroupMembersResult')
|
2518
2533
|
RegisterTransitGatewayMulticastGroupSourcesRequest = Shapes::StructureShape.new(name: 'RegisterTransitGatewayMulticastGroupSourcesRequest')
|
2519
2534
|
RegisterTransitGatewayMulticastGroupSourcesResult = Shapes::StructureShape.new(name: 'RegisterTransitGatewayMulticastGroupSourcesResult')
|
2535
|
+
RejectCapacityReservationBillingOwnershipRequest = Shapes::StructureShape.new(name: 'RejectCapacityReservationBillingOwnershipRequest')
|
2536
|
+
RejectCapacityReservationBillingOwnershipResult = Shapes::StructureShape.new(name: 'RejectCapacityReservationBillingOwnershipResult')
|
2520
2537
|
RejectTransitGatewayMulticastDomainAssociationsRequest = Shapes::StructureShape.new(name: 'RejectTransitGatewayMulticastDomainAssociationsRequest')
|
2521
2538
|
RejectTransitGatewayMulticastDomainAssociationsResult = Shapes::StructureShape.new(name: 'RejectTransitGatewayMulticastDomainAssociationsResult')
|
2522
2539
|
RejectTransitGatewayPeeringAttachmentRequest = Shapes::StructureShape.new(name: 'RejectTransitGatewayPeeringAttachmentRequest')
|
@@ -3257,6 +3274,13 @@ module Aws::EC2
|
|
3257
3274
|
AcceptAddressTransferResult.add_member(:address_transfer, Shapes::ShapeRef.new(shape: AddressTransfer, location_name: "addressTransfer"))
|
3258
3275
|
AcceptAddressTransferResult.struct_class = Types::AcceptAddressTransferResult
|
3259
3276
|
|
3277
|
+
AcceptCapacityReservationBillingOwnershipRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3278
|
+
AcceptCapacityReservationBillingOwnershipRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
|
3279
|
+
AcceptCapacityReservationBillingOwnershipRequest.struct_class = Types::AcceptCapacityReservationBillingOwnershipRequest
|
3280
|
+
|
3281
|
+
AcceptCapacityReservationBillingOwnershipResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
3282
|
+
AcceptCapacityReservationBillingOwnershipResult.struct_class = Types::AcceptCapacityReservationBillingOwnershipResult
|
3283
|
+
|
3260
3284
|
AcceptReservedInstancesExchangeQuoteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3261
3285
|
AcceptReservedInstancesExchangeQuoteRequest.add_member(:reserved_instance_ids, Shapes::ShapeRef.new(shape: ReservedInstanceIdSet, required: true, location_name: "ReservedInstanceId"))
|
3262
3286
|
AcceptReservedInstancesExchangeQuoteRequest.add_member(:target_configurations, Shapes::ShapeRef.new(shape: TargetConfigurationRequestSet, location_name: "TargetConfiguration"))
|
@@ -3630,6 +3654,14 @@ module Aws::EC2
|
|
3630
3654
|
AssociateAddressResult.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
|
3631
3655
|
AssociateAddressResult.struct_class = Types::AssociateAddressResult
|
3632
3656
|
|
3657
|
+
AssociateCapacityReservationBillingOwnerRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3658
|
+
AssociateCapacityReservationBillingOwnerRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
|
3659
|
+
AssociateCapacityReservationBillingOwnerRequest.add_member(:unused_reservation_billing_owner_id, Shapes::ShapeRef.new(shape: AccountID, required: true, location_name: "UnusedReservationBillingOwnerId"))
|
3660
|
+
AssociateCapacityReservationBillingOwnerRequest.struct_class = Types::AssociateCapacityReservationBillingOwnerRequest
|
3661
|
+
|
3662
|
+
AssociateCapacityReservationBillingOwnerResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
3663
|
+
AssociateCapacityReservationBillingOwnerResult.struct_class = Types::AssociateCapacityReservationBillingOwnerResult
|
3664
|
+
|
3633
3665
|
AssociateClientVpnTargetNetworkRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
3634
3666
|
AssociateClientVpnTargetNetworkRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
3635
3667
|
AssociateClientVpnTargetNetworkRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -4155,8 +4187,20 @@ module Aws::EC2
|
|
4155
4187
|
CapacityReservation.add_member(:placement_group_arn, Shapes::ShapeRef.new(shape: PlacementGroupArn, location_name: "placementGroupArn"))
|
4156
4188
|
CapacityReservation.add_member(:capacity_allocations, Shapes::ShapeRef.new(shape: CapacityAllocations, location_name: "capacityAllocationSet"))
|
4157
4189
|
CapacityReservation.add_member(:reservation_type, Shapes::ShapeRef.new(shape: CapacityReservationType, location_name: "reservationType"))
|
4190
|
+
CapacityReservation.add_member(:unused_reservation_billing_owner_id, Shapes::ShapeRef.new(shape: AccountID, location_name: "unusedReservationBillingOwnerId"))
|
4158
4191
|
CapacityReservation.struct_class = Types::CapacityReservation
|
4159
4192
|
|
4193
|
+
CapacityReservationBillingRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
4194
|
+
CapacityReservationBillingRequest.add_member(:requested_by, Shapes::ShapeRef.new(shape: String, location_name: "requestedBy"))
|
4195
|
+
CapacityReservationBillingRequest.add_member(:unused_reservation_billing_owner_id, Shapes::ShapeRef.new(shape: AccountID, location_name: "unusedReservationBillingOwnerId"))
|
4196
|
+
CapacityReservationBillingRequest.add_member(:last_update_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "lastUpdateTime"))
|
4197
|
+
CapacityReservationBillingRequest.add_member(:status, Shapes::ShapeRef.new(shape: CapacityReservationBillingRequestStatus, location_name: "status"))
|
4198
|
+
CapacityReservationBillingRequest.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
4199
|
+
CapacityReservationBillingRequest.add_member(:capacity_reservation_info, Shapes::ShapeRef.new(shape: CapacityReservationInfo, location_name: "capacityReservationInfo"))
|
4200
|
+
CapacityReservationBillingRequest.struct_class = Types::CapacityReservationBillingRequest
|
4201
|
+
|
4202
|
+
CapacityReservationBillingRequestSet.member = Shapes::ShapeRef.new(shape: CapacityReservationBillingRequest, location_name: "item")
|
4203
|
+
|
4160
4204
|
CapacityReservationFleet.add_member(:capacity_reservation_fleet_id, Shapes::ShapeRef.new(shape: CapacityReservationFleetId, location_name: "capacityReservationFleetId"))
|
4161
4205
|
CapacityReservationFleet.add_member(:capacity_reservation_fleet_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationFleetArn"))
|
4162
4206
|
CapacityReservationFleet.add_member(:state, Shapes::ShapeRef.new(shape: CapacityReservationFleetState, location_name: "state"))
|
@@ -4190,6 +4234,11 @@ module Aws::EC2
|
|
4190
4234
|
|
4191
4235
|
CapacityReservationIdSet.member = Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "item")
|
4192
4236
|
|
4237
|
+
CapacityReservationInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
4238
|
+
CapacityReservationInfo.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "availabilityZone"))
|
4239
|
+
CapacityReservationInfo.add_member(:tenancy, Shapes::ShapeRef.new(shape: CapacityReservationTenancy, location_name: "tenancy"))
|
4240
|
+
CapacityReservationInfo.struct_class = Types::CapacityReservationInfo
|
4241
|
+
|
4193
4242
|
CapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: FleetCapacityReservationUsageStrategy, location_name: "usageStrategy"))
|
4194
4243
|
CapacityReservationOptions.struct_class = Types::CapacityReservationOptions
|
4195
4244
|
|
@@ -6364,6 +6413,18 @@ module Aws::EC2
|
|
6364
6413
|
DescribeCapacityBlockOfferingsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6365
6414
|
DescribeCapacityBlockOfferingsResult.struct_class = Types::DescribeCapacityBlockOfferingsResult
|
6366
6415
|
|
6416
|
+
DescribeCapacityReservationBillingRequestsRequest.add_member(:capacity_reservation_ids, Shapes::ShapeRef.new(shape: CapacityReservationIdSet, location_name: "CapacityReservationId"))
|
6417
|
+
DescribeCapacityReservationBillingRequestsRequest.add_member(:role, Shapes::ShapeRef.new(shape: CallerRole, required: true, location_name: "Role"))
|
6418
|
+
DescribeCapacityReservationBillingRequestsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
6419
|
+
DescribeCapacityReservationBillingRequestsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityReservationBillingRequestsRequestMaxResults, location_name: "MaxResults"))
|
6420
|
+
DescribeCapacityReservationBillingRequestsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
6421
|
+
DescribeCapacityReservationBillingRequestsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6422
|
+
DescribeCapacityReservationBillingRequestsRequest.struct_class = Types::DescribeCapacityReservationBillingRequestsRequest
|
6423
|
+
|
6424
|
+
DescribeCapacityReservationBillingRequestsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6425
|
+
DescribeCapacityReservationBillingRequestsResult.add_member(:capacity_reservation_billing_requests, Shapes::ShapeRef.new(shape: CapacityReservationBillingRequestSet, location_name: "capacityReservationBillingRequestSet"))
|
6426
|
+
DescribeCapacityReservationBillingRequestsResult.struct_class = Types::DescribeCapacityReservationBillingRequestsResult
|
6427
|
+
|
6367
6428
|
DescribeCapacityReservationFleetsRequest.add_member(:capacity_reservation_fleet_ids, Shapes::ShapeRef.new(shape: CapacityReservationFleetIdSet, location_name: "CapacityReservationFleetId"))
|
6368
6429
|
DescribeCapacityReservationFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
6369
6430
|
DescribeCapacityReservationFleetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityReservationFleetsMaxResults, location_name: "MaxResults"))
|
@@ -8183,6 +8244,14 @@ module Aws::EC2
|
|
8183
8244
|
DisassociateAddressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
8184
8245
|
DisassociateAddressRequest.struct_class = Types::DisassociateAddressRequest
|
8185
8246
|
|
8247
|
+
DisassociateCapacityReservationBillingOwnerRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8248
|
+
DisassociateCapacityReservationBillingOwnerRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
|
8249
|
+
DisassociateCapacityReservationBillingOwnerRequest.add_member(:unused_reservation_billing_owner_id, Shapes::ShapeRef.new(shape: AccountID, required: true, location_name: "UnusedReservationBillingOwnerId"))
|
8250
|
+
DisassociateCapacityReservationBillingOwnerRequest.struct_class = Types::DisassociateCapacityReservationBillingOwnerRequest
|
8251
|
+
|
8252
|
+
DisassociateCapacityReservationBillingOwnerResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
8253
|
+
DisassociateCapacityReservationBillingOwnerResult.struct_class = Types::DisassociateCapacityReservationBillingOwnerResult
|
8254
|
+
|
8186
8255
|
DisassociateClientVpnTargetNetworkRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
8187
8256
|
DisassociateClientVpnTargetNetworkRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AssociationId"))
|
8188
8257
|
DisassociateClientVpnTargetNetworkRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -13157,6 +13226,13 @@ module Aws::EC2
|
|
13157
13226
|
RegisterTransitGatewayMulticastGroupSourcesResult.add_member(:registered_multicast_group_sources, Shapes::ShapeRef.new(shape: TransitGatewayMulticastRegisteredGroupSources, location_name: "registeredMulticastGroupSources"))
|
13158
13227
|
RegisterTransitGatewayMulticastGroupSourcesResult.struct_class = Types::RegisterTransitGatewayMulticastGroupSourcesResult
|
13159
13228
|
|
13229
|
+
RejectCapacityReservationBillingOwnershipRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
13230
|
+
RejectCapacityReservationBillingOwnershipRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
|
13231
|
+
RejectCapacityReservationBillingOwnershipRequest.struct_class = Types::RejectCapacityReservationBillingOwnershipRequest
|
13232
|
+
|
13233
|
+
RejectCapacityReservationBillingOwnershipResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
13234
|
+
RejectCapacityReservationBillingOwnershipResult.struct_class = Types::RejectCapacityReservationBillingOwnershipResult
|
13235
|
+
|
13160
13236
|
RejectTransitGatewayMulticastDomainAssociationsRequest.add_member(:transit_gateway_multicast_domain_id, Shapes::ShapeRef.new(shape: TransitGatewayMulticastDomainId, location_name: "TransitGatewayMulticastDomainId"))
|
13161
13237
|
RejectTransitGatewayMulticastDomainAssociationsRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "TransitGatewayAttachmentId"))
|
13162
13238
|
RejectTransitGatewayMulticastDomainAssociationsRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "SubnetIds"))
|
@@ -15892,6 +15968,14 @@ module Aws::EC2
|
|
15892
15968
|
o.output = Shapes::ShapeRef.new(shape: AcceptAddressTransferResult)
|
15893
15969
|
end)
|
15894
15970
|
|
15971
|
+
api.add_operation(:accept_capacity_reservation_billing_ownership, Seahorse::Model::Operation.new.tap do |o|
|
15972
|
+
o.name = "AcceptCapacityReservationBillingOwnership"
|
15973
|
+
o.http_method = "POST"
|
15974
|
+
o.http_request_uri = "/"
|
15975
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptCapacityReservationBillingOwnershipRequest)
|
15976
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptCapacityReservationBillingOwnershipResult)
|
15977
|
+
end)
|
15978
|
+
|
15895
15979
|
api.add_operation(:accept_reserved_instances_exchange_quote, Seahorse::Model::Operation.new.tap do |o|
|
15896
15980
|
o.name = "AcceptReservedInstancesExchangeQuote"
|
15897
15981
|
o.http_method = "POST"
|
@@ -16012,6 +16096,14 @@ module Aws::EC2
|
|
16012
16096
|
o.output = Shapes::ShapeRef.new(shape: AssociateAddressResult)
|
16013
16097
|
end)
|
16014
16098
|
|
16099
|
+
api.add_operation(:associate_capacity_reservation_billing_owner, Seahorse::Model::Operation.new.tap do |o|
|
16100
|
+
o.name = "AssociateCapacityReservationBillingOwner"
|
16101
|
+
o.http_method = "POST"
|
16102
|
+
o.http_request_uri = "/"
|
16103
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateCapacityReservationBillingOwnerRequest)
|
16104
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateCapacityReservationBillingOwnerResult)
|
16105
|
+
end)
|
16106
|
+
|
16015
16107
|
api.add_operation(:associate_client_vpn_target_network, Seahorse::Model::Operation.new.tap do |o|
|
16016
16108
|
o.name = "AssociateClientVpnTargetNetwork"
|
16017
16109
|
o.http_method = "POST"
|
@@ -17770,6 +17862,20 @@ module Aws::EC2
|
|
17770
17862
|
)
|
17771
17863
|
end)
|
17772
17864
|
|
17865
|
+
api.add_operation(:describe_capacity_reservation_billing_requests, Seahorse::Model::Operation.new.tap do |o|
|
17866
|
+
o.name = "DescribeCapacityReservationBillingRequests"
|
17867
|
+
o.http_method = "POST"
|
17868
|
+
o.http_request_uri = "/"
|
17869
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCapacityReservationBillingRequestsRequest)
|
17870
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCapacityReservationBillingRequestsResult)
|
17871
|
+
o[:pager] = Aws::Pager.new(
|
17872
|
+
limit_key: "max_results",
|
17873
|
+
tokens: {
|
17874
|
+
"next_token" => "next_token"
|
17875
|
+
}
|
17876
|
+
)
|
17877
|
+
end)
|
17878
|
+
|
17773
17879
|
api.add_operation(:describe_capacity_reservation_fleets, Seahorse::Model::Operation.new.tap do |o|
|
17774
17880
|
o.name = "DescribeCapacityReservationFleets"
|
17775
17881
|
o.http_method = "POST"
|
@@ -19743,6 +19849,14 @@ module Aws::EC2
|
|
19743
19849
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
19744
19850
|
end)
|
19745
19851
|
|
19852
|
+
api.add_operation(:disassociate_capacity_reservation_billing_owner, Seahorse::Model::Operation.new.tap do |o|
|
19853
|
+
o.name = "DisassociateCapacityReservationBillingOwner"
|
19854
|
+
o.http_method = "POST"
|
19855
|
+
o.http_request_uri = "/"
|
19856
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateCapacityReservationBillingOwnerRequest)
|
19857
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateCapacityReservationBillingOwnerResult)
|
19858
|
+
end)
|
19859
|
+
|
19746
19860
|
api.add_operation(:disassociate_client_vpn_target_network, Seahorse::Model::Operation.new.tap do |o|
|
19747
19861
|
o.name = "DisassociateClientVpnTargetNetwork"
|
19748
19862
|
o.http_method = "POST"
|
@@ -21303,6 +21417,14 @@ module Aws::EC2
|
|
21303
21417
|
o.output = Shapes::ShapeRef.new(shape: RegisterTransitGatewayMulticastGroupSourcesResult)
|
21304
21418
|
end)
|
21305
21419
|
|
21420
|
+
api.add_operation(:reject_capacity_reservation_billing_ownership, Seahorse::Model::Operation.new.tap do |o|
|
21421
|
+
o.name = "RejectCapacityReservationBillingOwnership"
|
21422
|
+
o.http_method = "POST"
|
21423
|
+
o.http_request_uri = "/"
|
21424
|
+
o.input = Shapes::ShapeRef.new(shape: RejectCapacityReservationBillingOwnershipRequest)
|
21425
|
+
o.output = Shapes::ShapeRef.new(shape: RejectCapacityReservationBillingOwnershipResult)
|
21426
|
+
end)
|
21427
|
+
|
21306
21428
|
api.add_operation(:reject_transit_gateway_multicast_domain_associations, Seahorse::Model::Operation.new.tap do |o|
|
21307
21429
|
o.name = "RejectTransitGatewayMulticastDomainAssociations"
|
21308
21430
|
o.http_method = "POST"
|
@@ -23,6 +23,17 @@ module Aws::EC2
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
+
class AcceptCapacityReservationBillingOwnership
|
27
|
+
def self.build(context)
|
28
|
+
Aws::EC2::EndpointParameters.new(
|
29
|
+
region: context.config.region,
|
30
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
31
|
+
use_fips: context.config.use_fips_endpoint,
|
32
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
33
|
+
)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
26
37
|
class AcceptReservedInstancesExchangeQuote
|
27
38
|
def self.build(context)
|
28
39
|
Aws::EC2::EndpointParameters.new(
|
@@ -188,6 +199,17 @@ module Aws::EC2
|
|
188
199
|
end
|
189
200
|
end
|
190
201
|
|
202
|
+
class AssociateCapacityReservationBillingOwner
|
203
|
+
def self.build(context)
|
204
|
+
Aws::EC2::EndpointParameters.new(
|
205
|
+
region: context.config.region,
|
206
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
207
|
+
use_fips: context.config.use_fips_endpoint,
|
208
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
209
|
+
)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
191
213
|
class AssociateClientVpnTargetNetwork
|
192
214
|
def self.build(context)
|
193
215
|
Aws::EC2::EndpointParameters.new(
|
@@ -2564,6 +2586,17 @@ module Aws::EC2
|
|
2564
2586
|
end
|
2565
2587
|
end
|
2566
2588
|
|
2589
|
+
class DescribeCapacityReservationBillingRequests
|
2590
|
+
def self.build(context)
|
2591
|
+
Aws::EC2::EndpointParameters.new(
|
2592
|
+
region: context.config.region,
|
2593
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2594
|
+
use_fips: context.config.use_fips_endpoint,
|
2595
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2596
|
+
)
|
2597
|
+
end
|
2598
|
+
end
|
2599
|
+
|
2567
2600
|
class DescribeCapacityReservationFleets
|
2568
2601
|
def self.build(context)
|
2569
2602
|
Aws::EC2::EndpointParameters.new(
|
@@ -4379,6 +4412,17 @@ module Aws::EC2
|
|
4379
4412
|
end
|
4380
4413
|
end
|
4381
4414
|
|
4415
|
+
class DisassociateCapacityReservationBillingOwner
|
4416
|
+
def self.build(context)
|
4417
|
+
Aws::EC2::EndpointParameters.new(
|
4418
|
+
region: context.config.region,
|
4419
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
4420
|
+
use_fips: context.config.use_fips_endpoint,
|
4421
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
4422
|
+
)
|
4423
|
+
end
|
4424
|
+
end
|
4425
|
+
|
4382
4426
|
class DisassociateClientVpnTargetNetwork
|
4383
4427
|
def self.build(context)
|
4384
4428
|
Aws::EC2::EndpointParameters.new(
|
@@ -6326,6 +6370,17 @@ module Aws::EC2
|
|
6326
6370
|
end
|
6327
6371
|
end
|
6328
6372
|
|
6373
|
+
class RejectCapacityReservationBillingOwnership
|
6374
|
+
def self.build(context)
|
6375
|
+
Aws::EC2::EndpointParameters.new(
|
6376
|
+
region: context.config.region,
|
6377
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
6378
|
+
use_fips: context.config.use_fips_endpoint,
|
6379
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
6380
|
+
)
|
6381
|
+
end
|
6382
|
+
end
|
6383
|
+
|
6329
6384
|
class RejectTransitGatewayMulticastDomainAssociations
|
6330
6385
|
def self.build(context)
|
6331
6386
|
Aws::EC2::EndpointParameters.new(
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -91,9 +91,7 @@ module Aws::EC2
|
|
91
91
|
|
92
92
|
# Deprecated.
|
93
93
|
#
|
94
|
-
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
95
|
-
# workloads that require graphics acceleration, we recommend that you
|
96
|
-
# use Amazon EC2 G4ad, G4dn, or G5 instances.
|
94
|
+
# <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
|
97
95
|
#
|
98
96
|
# </note>
|
99
97
|
# @return [Array<Types::ElasticGpuAssociation>]
|
@@ -101,7 +99,11 @@ module Aws::EC2
|
|
101
99
|
data[:elastic_gpu_associations]
|
102
100
|
end
|
103
101
|
|
104
|
-
#
|
102
|
+
# Deprecated
|
103
|
+
#
|
104
|
+
# <note markdown="1"> Amazon Elastic Inference is no longer available.
|
105
|
+
#
|
106
|
+
# </note>
|
105
107
|
# @return [Array<Types::ElasticInferenceAcceleratorAssociation>]
|
106
108
|
def elastic_inference_accelerator_associations
|
107
109
|
data[:elastic_inference_accelerator_associations]
|
@@ -336,9 +336,6 @@ module Aws::EC2
|
|
336
336
|
# * `iam-instance-profile.id` - The instance profile associated with the
|
337
337
|
# instance. Specified as an ID.
|
338
338
|
#
|
339
|
-
# * `iam-instance-profile.name` - The instance profile associated with
|
340
|
-
# the instance. Specified as an name.
|
341
|
-
#
|
342
339
|
# * `image-id` - The ID of the image used to launch the instance.
|
343
340
|
#
|
344
341
|
# * `instance-id` - The ID of the instance.
|
@@ -72,6 +72,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
72
72
|
case context.operation_name
|
73
73
|
when :accept_address_transfer
|
74
74
|
Aws::EC2::Endpoints::AcceptAddressTransfer.build(context)
|
75
|
+
when :accept_capacity_reservation_billing_ownership
|
76
|
+
Aws::EC2::Endpoints::AcceptCapacityReservationBillingOwnership.build(context)
|
75
77
|
when :accept_reserved_instances_exchange_quote
|
76
78
|
Aws::EC2::Endpoints::AcceptReservedInstancesExchangeQuote.build(context)
|
77
79
|
when :accept_transit_gateway_multicast_domain_associations
|
@@ -102,6 +104,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
102
104
|
Aws::EC2::Endpoints::AssignPrivateNatGatewayAddress.build(context)
|
103
105
|
when :associate_address
|
104
106
|
Aws::EC2::Endpoints::AssociateAddress.build(context)
|
107
|
+
when :associate_capacity_reservation_billing_owner
|
108
|
+
Aws::EC2::Endpoints::AssociateCapacityReservationBillingOwner.build(context)
|
105
109
|
when :associate_client_vpn_target_network
|
106
110
|
Aws::EC2::Endpoints::AssociateClientVpnTargetNetwork.build(context)
|
107
111
|
when :associate_dhcp_options
|
@@ -534,6 +538,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
534
538
|
Aws::EC2::Endpoints::DescribeByoipCidrs.build(context)
|
535
539
|
when :describe_capacity_block_offerings
|
536
540
|
Aws::EC2::Endpoints::DescribeCapacityBlockOfferings.build(context)
|
541
|
+
when :describe_capacity_reservation_billing_requests
|
542
|
+
Aws::EC2::Endpoints::DescribeCapacityReservationBillingRequests.build(context)
|
537
543
|
when :describe_capacity_reservation_fleets
|
538
544
|
Aws::EC2::Endpoints::DescribeCapacityReservationFleets.build(context)
|
539
545
|
when :describe_capacity_reservations
|
@@ -864,6 +870,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
864
870
|
Aws::EC2::Endpoints::DisableVpcClassicLinkDnsSupport.build(context)
|
865
871
|
when :disassociate_address
|
866
872
|
Aws::EC2::Endpoints::DisassociateAddress.build(context)
|
873
|
+
when :disassociate_capacity_reservation_billing_owner
|
874
|
+
Aws::EC2::Endpoints::DisassociateCapacityReservationBillingOwner.build(context)
|
867
875
|
when :disassociate_client_vpn_target_network
|
868
876
|
Aws::EC2::Endpoints::DisassociateClientVpnTargetNetwork.build(context)
|
869
877
|
when :disassociate_enclave_certificate_iam_role
|
@@ -1218,6 +1226,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
1218
1226
|
Aws::EC2::Endpoints::RegisterTransitGatewayMulticastGroupMembers.build(context)
|
1219
1227
|
when :register_transit_gateway_multicast_group_sources
|
1220
1228
|
Aws::EC2::Endpoints::RegisterTransitGatewayMulticastGroupSources.build(context)
|
1229
|
+
when :reject_capacity_reservation_billing_ownership
|
1230
|
+
Aws::EC2::Endpoints::RejectCapacityReservationBillingOwnership.build(context)
|
1221
1231
|
when :reject_transit_gateway_multicast_domain_associations
|
1222
1232
|
Aws::EC2::Endpoints::RejectTransitGatewayMulticastDomainAssociations.build(context)
|
1223
1233
|
when :reject_transit_gateway_peering_attachment
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -420,14 +420,9 @@ module Aws::EC2
|
|
420
420
|
# @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
|
421
421
|
# An elastic inference accelerator to associate with the instance.
|
422
422
|
#
|
423
|
-
# <note markdown="1"> Amazon Elastic Inference
|
424
|
-
# For more information, see [Amazon Elastic Inference FAQs][1].
|
423
|
+
# <note markdown="1"> Amazon Elastic Inference is no longer available.
|
425
424
|
#
|
426
425
|
# </note>
|
427
|
-
#
|
428
|
-
#
|
429
|
-
#
|
430
|
-
# [1]: http://aws.amazon.com/machine-learning/elastic-inference/faqs/
|
431
426
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
432
427
|
# The tags to apply to the resources that are created during instance
|
433
428
|
# launch.
|
@@ -780,7 +775,7 @@ module Aws::EC2
|
|
780
775
|
#
|
781
776
|
#
|
782
777
|
#
|
783
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-
|
778
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
|
784
779
|
# @option options [Array<String>] :secondary_private_ip_addresses
|
785
780
|
# Secondary private IPv4 addresses. For more information about secondary
|
786
781
|
# addresses, see [Create a NAT gateway][1] in the *Amazon VPC User
|
@@ -788,7 +783,7 @@ module Aws::EC2
|
|
788
783
|
#
|
789
784
|
#
|
790
785
|
#
|
791
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-
|
786
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
|
792
787
|
# @option options [Integer] :secondary_private_ip_address_count
|
793
788
|
# \[Private NAT gateway only\] The number of secondary private IPv4
|
794
789
|
# addresses you want to assign to the NAT gateway. For more information
|
@@ -797,7 +792,7 @@ module Aws::EC2
|
|
797
792
|
#
|
798
793
|
#
|
799
794
|
#
|
800
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-
|
795
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating
|
801
796
|
# @return [NatGateway]
|
802
797
|
def create_nat_gateway(options = {})
|
803
798
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -2514,9 +2509,6 @@ module Aws::EC2
|
|
2514
2509
|
# * `iam-instance-profile.id` - The instance profile associated with the
|
2515
2510
|
# instance. Specified as an ID.
|
2516
2511
|
#
|
2517
|
-
# * `iam-instance-profile.name` - The instance profile associated with
|
2518
|
-
# the instance. Specified as an name.
|
2519
|
-
#
|
2520
2512
|
# * `image-id` - The ID of the image used to launch the instance.
|
2521
2513
|
#
|
2522
2514
|
# * `instance-id` - The ID of the instance.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -650,14 +650,9 @@ module Aws::EC2
|
|
650
650
|
# @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
|
651
651
|
# An elastic inference accelerator to associate with the instance.
|
652
652
|
#
|
653
|
-
# <note markdown="1"> Amazon Elastic Inference
|
654
|
-
# For more information, see [Amazon Elastic Inference FAQs][1].
|
653
|
+
# <note markdown="1"> Amazon Elastic Inference is no longer available.
|
655
654
|
#
|
656
655
|
# </note>
|
657
|
-
#
|
658
|
-
#
|
659
|
-
#
|
660
|
-
# [1]: http://aws.amazon.com/machine-learning/elastic-inference/faqs/
|
661
656
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
662
657
|
# The tags to apply to the resources that are created during instance
|
663
658
|
# launch.
|
@@ -1238,9 +1233,6 @@ module Aws::EC2
|
|
1238
1233
|
# * `iam-instance-profile.id` - The instance profile associated with the
|
1239
1234
|
# instance. Specified as an ID.
|
1240
1235
|
#
|
1241
|
-
# * `iam-instance-profile.name` - The instance profile associated with
|
1242
|
-
# the instance. Specified as an name.
|
1243
|
-
#
|
1244
1236
|
# * `image-id` - The ID of the image used to launch the instance.
|
1245
1237
|
#
|
1246
1238
|
# * `instance-id` - The ID of the instance.
|