aws-sdk-ec2 1.149.0 → 1.151.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 +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +182 -58
- data/lib/aws-sdk-ec2/client_api.rb +31 -28
- data/lib/aws-sdk-ec2/instance.rb +3 -2
- data/lib/aws-sdk-ec2/placement_group.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +11 -7
- data/lib/aws-sdk-ec2/subnet.rb +8 -4
- data/lib/aws-sdk-ec2/types.rb +167 -48
- data/lib/aws-sdk-ec2/vpc.rb +1 -0
- metadata +3 -4
@@ -182,6 +182,7 @@ module Aws::EC2
|
|
182
182
|
ClientCertificateRevocationListStatus = Shapes::StructureShape.new(name: 'ClientCertificateRevocationListStatus')
|
183
183
|
ClientCertificateRevocationListStatusCode = Shapes::StringShape.new(name: 'ClientCertificateRevocationListStatusCode')
|
184
184
|
ClientData = Shapes::StructureShape.new(name: 'ClientData')
|
185
|
+
ClientVpnAssociationId = Shapes::StringShape.new(name: 'ClientVpnAssociationId')
|
185
186
|
ClientVpnAuthentication = Shapes::StructureShape.new(name: 'ClientVpnAuthentication')
|
186
187
|
ClientVpnAuthenticationList = Shapes::ListShape.new(name: 'ClientVpnAuthenticationList')
|
187
188
|
ClientVpnAuthenticationRequest = Shapes::StructureShape.new(name: 'ClientVpnAuthenticationRequest')
|
@@ -865,6 +866,7 @@ module Aws::EC2
|
|
865
866
|
ExportToS3TaskSpecification = Shapes::StructureShape.new(name: 'ExportToS3TaskSpecification')
|
866
867
|
ExportTransitGatewayRoutesRequest = Shapes::StructureShape.new(name: 'ExportTransitGatewayRoutesRequest')
|
867
868
|
ExportTransitGatewayRoutesResult = Shapes::StructureShape.new(name: 'ExportTransitGatewayRoutesResult')
|
869
|
+
ExportVmTaskId = Shapes::StringShape.new(name: 'ExportVmTaskId')
|
868
870
|
FailedQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'FailedQueuedPurchaseDeletion')
|
869
871
|
FailedQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'FailedQueuedPurchaseDeletionSet')
|
870
872
|
FastSnapshotRestoreStateCode = Shapes::StringShape.new(name: 'FastSnapshotRestoreStateCode')
|
@@ -875,8 +877,8 @@ module Aws::EC2
|
|
875
877
|
FleetData = Shapes::StructureShape.new(name: 'FleetData')
|
876
878
|
FleetEventType = Shapes::StringShape.new(name: 'FleetEventType')
|
877
879
|
FleetExcessCapacityTerminationPolicy = Shapes::StringShape.new(name: 'FleetExcessCapacityTerminationPolicy')
|
880
|
+
FleetId = Shapes::StringShape.new(name: 'FleetId')
|
878
881
|
FleetIdSet = Shapes::ListShape.new(name: 'FleetIdSet')
|
879
|
-
FleetIdentifier = Shapes::StringShape.new(name: 'FleetIdentifier')
|
880
882
|
FleetLaunchTemplateConfig = Shapes::StructureShape.new(name: 'FleetLaunchTemplateConfig')
|
881
883
|
FleetLaunchTemplateConfigList = Shapes::ListShape.new(name: 'FleetLaunchTemplateConfigList')
|
882
884
|
FleetLaunchTemplateConfigListRequest = Shapes::ListShape.new(name: 'FleetLaunchTemplateConfigListRequest')
|
@@ -1810,6 +1812,7 @@ module Aws::EC2
|
|
1810
1812
|
TrafficMirrorTargetType = Shapes::StringShape.new(name: 'TrafficMirrorTargetType')
|
1811
1813
|
TrafficMirroringMaxResults = Shapes::IntegerShape.new(name: 'TrafficMirroringMaxResults')
|
1812
1814
|
TrafficType = Shapes::StringShape.new(name: 'TrafficType')
|
1815
|
+
TransitAssociationGatewayId = Shapes::StringShape.new(name: 'TransitAssociationGatewayId')
|
1813
1816
|
TransitGateway = Shapes::StructureShape.new(name: 'TransitGateway')
|
1814
1817
|
TransitGatewayAssociation = Shapes::StructureShape.new(name: 'TransitGatewayAssociation')
|
1815
1818
|
TransitGatewayAssociationState = Shapes::StringShape.new(name: 'TransitGatewayAssociationState')
|
@@ -2112,7 +2115,7 @@ module Aws::EC2
|
|
2112
2115
|
AllocateHostsResult.add_member(:host_ids, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "hostIdSet"))
|
2113
2116
|
AllocateHostsResult.struct_class = Types::AllocateHostsResult
|
2114
2117
|
|
2115
|
-
AllocationIdList.member = Shapes::ShapeRef.new(shape:
|
2118
|
+
AllocationIdList.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId")
|
2116
2119
|
|
2117
2120
|
AllowedPrincipal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "principalType"))
|
2118
2121
|
AllowedPrincipal.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
@@ -2430,7 +2433,7 @@ module Aws::EC2
|
|
2430
2433
|
CancelConversionRequest.add_member(:reason_message, Shapes::ShapeRef.new(shape: String, location_name: "reasonMessage"))
|
2431
2434
|
CancelConversionRequest.struct_class = Types::CancelConversionRequest
|
2432
2435
|
|
2433
|
-
CancelExportTaskRequest.add_member(:export_task_id, Shapes::ShapeRef.new(shape:
|
2436
|
+
CancelExportTaskRequest.add_member(:export_task_id, Shapes::ShapeRef.new(shape: ExportVmTaskId, required: true, location_name: "exportTaskId"))
|
2434
2437
|
CancelExportTaskRequest.struct_class = Types::CancelExportTaskRequest
|
2435
2438
|
|
2436
2439
|
CancelImportTaskRequest.add_member(:cancel_reason, Shapes::ShapeRef.new(shape: String, location_name: "CancelReason"))
|
@@ -2508,7 +2511,7 @@ module Aws::EC2
|
|
2508
2511
|
CapacityReservation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
2509
2512
|
CapacityReservation.struct_class = Types::CapacityReservation
|
2510
2513
|
|
2511
|
-
CapacityReservationIdSet.member = Shapes::ShapeRef.new(shape:
|
2514
|
+
CapacityReservationIdSet.member = Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "item")
|
2512
2515
|
|
2513
2516
|
CapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: FleetCapacityReservationUsageStrategy, location_name: "usageStrategy"))
|
2514
2517
|
CapacityReservationOptions.struct_class = Types::CapacityReservationOptions
|
@@ -2660,7 +2663,7 @@ module Aws::EC2
|
|
2660
2663
|
ClientVpnRouteStatus.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
2661
2664
|
ClientVpnRouteStatus.struct_class = Types::ClientVpnRouteStatus
|
2662
2665
|
|
2663
|
-
ClientVpnSecurityGroupIdSet.member = Shapes::ShapeRef.new(shape:
|
2666
|
+
ClientVpnSecurityGroupIdSet.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "item")
|
2664
2667
|
|
2665
2668
|
CoipAddressUsage.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
2666
2669
|
CoipAddressUsage.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: String, location_name: "awsAccountId"))
|
@@ -2676,7 +2679,7 @@ module Aws::EC2
|
|
2676
2679
|
CoipPool.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
2677
2680
|
CoipPool.struct_class = Types::CoipPool
|
2678
2681
|
|
2679
|
-
CoipPoolIdSet.member = Shapes::ShapeRef.new(shape:
|
2682
|
+
CoipPoolIdSet.member = Shapes::ShapeRef.new(shape: CoipPoolId, location_name: "item")
|
2680
2683
|
|
2681
2684
|
CoipPoolSet.member = Shapes::ShapeRef.new(shape: CoipPool, location_name: "item")
|
2682
2685
|
|
@@ -2893,7 +2896,7 @@ module Aws::EC2
|
|
2893
2896
|
CreateFleetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2894
2897
|
CreateFleetRequest.struct_class = Types::CreateFleetRequest
|
2895
2898
|
|
2896
|
-
CreateFleetResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
2899
|
+
CreateFleetResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "fleetId"))
|
2897
2900
|
CreateFleetResult.add_member(:errors, Shapes::ShapeRef.new(shape: CreateFleetErrorsSet, location_name: "errorSet"))
|
2898
2901
|
CreateFleetResult.add_member(:instances, Shapes::ShapeRef.new(shape: CreateFleetInstancesSet, location_name: "fleetInstanceSet"))
|
2899
2902
|
CreateFleetResult.struct_class = Types::CreateFleetResult
|
@@ -3209,7 +3212,7 @@ module Aws::EC2
|
|
3209
3212
|
CreateTransitGatewayMulticastDomainResult.struct_class = Types::CreateTransitGatewayMulticastDomainResult
|
3210
3213
|
|
3211
3214
|
CreateTransitGatewayPeeringAttachmentRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, required: true, location_name: "TransitGatewayId"))
|
3212
|
-
CreateTransitGatewayPeeringAttachmentRequest.add_member(:peer_transit_gateway_id, Shapes::ShapeRef.new(shape:
|
3215
|
+
CreateTransitGatewayPeeringAttachmentRequest.add_member(:peer_transit_gateway_id, Shapes::ShapeRef.new(shape: TransitAssociationGatewayId, required: true, location_name: "PeerTransitGatewayId"))
|
3213
3216
|
CreateTransitGatewayPeeringAttachmentRequest.add_member(:peer_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PeerAccountId"))
|
3214
3217
|
CreateTransitGatewayPeeringAttachmentRequest.add_member(:peer_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PeerRegion"))
|
3215
3218
|
CreateTransitGatewayPeeringAttachmentRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
@@ -3427,14 +3430,14 @@ module Aws::EC2
|
|
3427
3430
|
DeleteFleetError.struct_class = Types::DeleteFleetError
|
3428
3431
|
|
3429
3432
|
DeleteFleetErrorItem.add_member(:error, Shapes::ShapeRef.new(shape: DeleteFleetError, location_name: "error"))
|
3430
|
-
DeleteFleetErrorItem.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
3433
|
+
DeleteFleetErrorItem.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "fleetId"))
|
3431
3434
|
DeleteFleetErrorItem.struct_class = Types::DeleteFleetErrorItem
|
3432
3435
|
|
3433
3436
|
DeleteFleetErrorSet.member = Shapes::ShapeRef.new(shape: DeleteFleetErrorItem, location_name: "item")
|
3434
3437
|
|
3435
3438
|
DeleteFleetSuccessItem.add_member(:current_fleet_state, Shapes::ShapeRef.new(shape: FleetStateCode, location_name: "currentFleetState"))
|
3436
3439
|
DeleteFleetSuccessItem.add_member(:previous_fleet_state, Shapes::ShapeRef.new(shape: FleetStateCode, location_name: "previousFleetState"))
|
3437
|
-
DeleteFleetSuccessItem.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
3440
|
+
DeleteFleetSuccessItem.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "fleetId"))
|
3438
3441
|
DeleteFleetSuccessItem.struct_class = Types::DeleteFleetSuccessItem
|
3439
3442
|
|
3440
3443
|
DeleteFleetSuccessSet.member = Shapes::ShapeRef.new(shape: DeleteFleetSuccessItem, location_name: "item")
|
@@ -3987,27 +3990,27 @@ module Aws::EC2
|
|
3987
3990
|
DescribeFleetHistoryRequest.add_member(:event_type, Shapes::ShapeRef.new(shape: FleetEventType, location_name: "EventType"))
|
3988
3991
|
DescribeFleetHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
3989
3992
|
DescribeFleetHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
3990
|
-
DescribeFleetHistoryRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
3993
|
+
DescribeFleetHistoryRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location_name: "FleetId"))
|
3991
3994
|
DescribeFleetHistoryRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "StartTime"))
|
3992
3995
|
DescribeFleetHistoryRequest.struct_class = Types::DescribeFleetHistoryRequest
|
3993
3996
|
|
3994
3997
|
DescribeFleetHistoryResult.add_member(:history_records, Shapes::ShapeRef.new(shape: HistoryRecordSet, location_name: "historyRecordSet"))
|
3995
3998
|
DescribeFleetHistoryResult.add_member(:last_evaluated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastEvaluatedTime"))
|
3996
3999
|
DescribeFleetHistoryResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
3997
|
-
DescribeFleetHistoryResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
4000
|
+
DescribeFleetHistoryResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "fleetId"))
|
3998
4001
|
DescribeFleetHistoryResult.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
|
3999
4002
|
DescribeFleetHistoryResult.struct_class = Types::DescribeFleetHistoryResult
|
4000
4003
|
|
4001
4004
|
DescribeFleetInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4002
4005
|
DescribeFleetInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
4003
4006
|
DescribeFleetInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
4004
|
-
DescribeFleetInstancesRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
4007
|
+
DescribeFleetInstancesRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location_name: "FleetId"))
|
4005
4008
|
DescribeFleetInstancesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
4006
4009
|
DescribeFleetInstancesRequest.struct_class = Types::DescribeFleetInstancesRequest
|
4007
4010
|
|
4008
4011
|
DescribeFleetInstancesResult.add_member(:active_instances, Shapes::ShapeRef.new(shape: ActiveInstanceSet, location_name: "activeInstanceSet"))
|
4009
4012
|
DescribeFleetInstancesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
4010
|
-
DescribeFleetInstancesResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
4013
|
+
DescribeFleetInstancesResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "fleetId"))
|
4011
4014
|
DescribeFleetInstancesResult.struct_class = Types::DescribeFleetInstancesResult
|
4012
4015
|
|
4013
4016
|
DescribeFleetsErrorSet.member = Shapes::ShapeRef.new(shape: DescribeFleetError, location_name: "item")
|
@@ -4824,7 +4827,7 @@ module Aws::EC2
|
|
4824
4827
|
DescribeVolumesResult.struct_class = Types::DescribeVolumesResult
|
4825
4828
|
|
4826
4829
|
DescribeVpcAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: VpcAttributeName, required: true, location_name: "Attribute"))
|
4827
|
-
DescribeVpcAttributeRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape:
|
4830
|
+
DescribeVpcAttributeRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
4828
4831
|
DescribeVpcAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4829
4832
|
DescribeVpcAttributeRequest.struct_class = Types::DescribeVpcAttributeRequest
|
4830
4833
|
|
@@ -5086,7 +5089,7 @@ module Aws::EC2
|
|
5086
5089
|
DisassociateAddressRequest.struct_class = Types::DisassociateAddressRequest
|
5087
5090
|
|
5088
5091
|
DisassociateClientVpnTargetNetworkRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
5089
|
-
DisassociateClientVpnTargetNetworkRequest.add_member(:association_id, Shapes::ShapeRef.new(shape:
|
5092
|
+
DisassociateClientVpnTargetNetworkRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: ClientVpnAssociationId, required: true, location_name: "AssociationId"))
|
5090
5093
|
DisassociateClientVpnTargetNetworkRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5091
5094
|
DisassociateClientVpnTargetNetworkRequest.struct_class = Types::DisassociateClientVpnTargetNetworkRequest
|
5092
5095
|
|
@@ -5399,7 +5402,7 @@ module Aws::EC2
|
|
5399
5402
|
ExportTask.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
5400
5403
|
ExportTask.struct_class = Types::ExportTask
|
5401
5404
|
|
5402
|
-
ExportTaskIdStringList.member = Shapes::ShapeRef.new(shape:
|
5405
|
+
ExportTaskIdStringList.member = Shapes::ShapeRef.new(shape: ExportTaskId, location_name: "ExportTaskId")
|
5403
5406
|
|
5404
5407
|
ExportTaskList.member = Shapes::ShapeRef.new(shape: ExportTask, location_name: "item")
|
5405
5408
|
|
@@ -5446,7 +5449,7 @@ module Aws::EC2
|
|
5446
5449
|
|
5447
5450
|
FleetData.add_member(:activity_status, Shapes::ShapeRef.new(shape: FleetActivityStatus, location_name: "activityStatus"))
|
5448
5451
|
FleetData.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "createTime"))
|
5449
|
-
FleetData.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
5452
|
+
FleetData.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "fleetId"))
|
5450
5453
|
FleetData.add_member(:fleet_state, Shapes::ShapeRef.new(shape: FleetStateCode, location_name: "fleetState"))
|
5451
5454
|
FleetData.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
5452
5455
|
FleetData.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "excessCapacityTerminationPolicy"))
|
@@ -5466,7 +5469,7 @@ module Aws::EC2
|
|
5466
5469
|
FleetData.add_member(:instances, Shapes::ShapeRef.new(shape: DescribeFleetsInstancesSet, location_name: "fleetInstanceSet"))
|
5467
5470
|
FleetData.struct_class = Types::FleetData
|
5468
5471
|
|
5469
|
-
FleetIdSet.member = Shapes::ShapeRef.new(shape:
|
5472
|
+
FleetIdSet.member = Shapes::ShapeRef.new(shape: FleetId)
|
5470
5473
|
|
5471
5474
|
FleetLaunchTemplateConfig.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: FleetLaunchTemplateSpecification, location_name: "launchTemplateSpecification"))
|
5472
5475
|
FleetLaunchTemplateConfig.add_member(:overrides, Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverridesList, location_name: "overrides"))
|
@@ -6026,7 +6029,7 @@ module Aws::EC2
|
|
6026
6029
|
ImportInstanceLaunchSpecification.add_member(:monitoring, Shapes::ShapeRef.new(shape: Boolean, location_name: "monitoring"))
|
6027
6030
|
ImportInstanceLaunchSpecification.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
|
6028
6031
|
ImportInstanceLaunchSpecification.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
|
6029
|
-
ImportInstanceLaunchSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape:
|
6032
|
+
ImportInstanceLaunchSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
|
6030
6033
|
ImportInstanceLaunchSpecification.add_member(:user_data, Shapes::ShapeRef.new(shape: UserData, location_name: "userData"))
|
6031
6034
|
ImportInstanceLaunchSpecification.struct_class = Types::ImportInstanceLaunchSpecification
|
6032
6035
|
|
@@ -6597,7 +6600,7 @@ module Aws::EC2
|
|
6597
6600
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
|
6598
6601
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteOnTermination"))
|
6599
6602
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
6600
|
-
LaunchTemplateEbsBlockDeviceRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape:
|
6603
|
+
LaunchTemplateEbsBlockDeviceRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
6601
6604
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
|
6602
6605
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "VolumeSize"))
|
6603
6606
|
LaunchTemplateEbsBlockDeviceRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
@@ -6939,7 +6942,7 @@ module Aws::EC2
|
|
6939
6942
|
|
6940
6943
|
ModifyFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6941
6944
|
ModifyFleetRequest.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "ExcessCapacityTerminationPolicy"))
|
6942
|
-
ModifyFleetRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape:
|
6945
|
+
ModifyFleetRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location_name: "FleetId"))
|
6943
6946
|
ModifyFleetRequest.add_member(:target_capacity_specification, Shapes::ShapeRef.new(shape: TargetCapacitySpecificationRequest, required: true, location_name: "TargetCapacitySpecification"))
|
6944
6947
|
ModifyFleetRequest.struct_class = Types::ModifyFleetRequest
|
6945
6948
|
|
@@ -8321,16 +8324,16 @@ module Aws::EC2
|
|
8321
8324
|
RunInstancesRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
|
8322
8325
|
RunInstancesRequest.add_member(:ipv_6_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6AddressCount"))
|
8323
8326
|
RunInstancesRequest.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: InstanceIpv6AddressList, location_name: "Ipv6Address"))
|
8324
|
-
RunInstancesRequest.add_member(:kernel_id, Shapes::ShapeRef.new(shape:
|
8327
|
+
RunInstancesRequest.add_member(:kernel_id, Shapes::ShapeRef.new(shape: KernelId, location_name: "KernelId"))
|
8325
8328
|
RunInstancesRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: KeyPairName, location_name: "KeyName"))
|
8326
8329
|
RunInstancesRequest.add_member(:max_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MaxCount"))
|
8327
8330
|
RunInstancesRequest.add_member(:min_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MinCount"))
|
8328
8331
|
RunInstancesRequest.add_member(:monitoring, Shapes::ShapeRef.new(shape: RunInstancesMonitoringEnabled, location_name: "Monitoring"))
|
8329
8332
|
RunInstancesRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
|
8330
|
-
RunInstancesRequest.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape:
|
8333
|
+
RunInstancesRequest.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: RamdiskId, location_name: "RamdiskId"))
|
8331
8334
|
RunInstancesRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdStringList, location_name: "SecurityGroupId"))
|
8332
8335
|
RunInstancesRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroupStringList, location_name: "SecurityGroup"))
|
8333
|
-
RunInstancesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape:
|
8336
|
+
RunInstancesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
8334
8337
|
RunInstancesRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: String, location_name: "UserData"))
|
8335
8338
|
RunInstancesRequest.add_member(:additional_info, Shapes::ShapeRef.new(shape: String, location_name: "additionalInfo"))
|
8336
8339
|
RunInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -8984,7 +8987,7 @@ module Aws::EC2
|
|
8984
8987
|
TargetReservationValueSet.member = Shapes::ShapeRef.new(shape: TargetReservationValue, location_name: "item")
|
8985
8988
|
|
8986
8989
|
TerminateClientVpnConnectionsRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
8987
|
-
TerminateClientVpnConnectionsRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape:
|
8990
|
+
TerminateClientVpnConnectionsRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, location_name: "ConnectionId"))
|
8988
8991
|
TerminateClientVpnConnectionsRequest.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
|
8989
8992
|
TerminateClientVpnConnectionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8990
8993
|
TerminateClientVpnConnectionsRequest.struct_class = Types::TerminateClientVpnConnectionsRequest
|
@@ -9159,7 +9162,7 @@ module Aws::EC2
|
|
9159
9162
|
TransitGatewayMulticastDomainAssociations.add_member(:subnets, Shapes::ShapeRef.new(shape: SubnetAssociationList, location_name: "subnets"))
|
9160
9163
|
TransitGatewayMulticastDomainAssociations.struct_class = Types::TransitGatewayMulticastDomainAssociations
|
9161
9164
|
|
9162
|
-
TransitGatewayMulticastDomainIdStringList.member = Shapes::ShapeRef.new(shape:
|
9165
|
+
TransitGatewayMulticastDomainIdStringList.member = Shapes::ShapeRef.new(shape: TransitGatewayMulticastDomainId, location_name: "item")
|
9163
9166
|
|
9164
9167
|
TransitGatewayMulticastDomainList.member = Shapes::ShapeRef.new(shape: TransitGatewayMulticastDomain, location_name: "item")
|
9165
9168
|
|
@@ -9259,7 +9262,7 @@ module Aws::EC2
|
|
9259
9262
|
|
9260
9263
|
TransitGatewayRouteTableAssociationList.member = Shapes::ShapeRef.new(shape: TransitGatewayRouteTableAssociation, location_name: "item")
|
9261
9264
|
|
9262
|
-
TransitGatewayRouteTableIdStringList.member = Shapes::ShapeRef.new(shape:
|
9265
|
+
TransitGatewayRouteTableIdStringList.member = Shapes::ShapeRef.new(shape: TransitGatewayRouteTableId, location_name: "item")
|
9263
9266
|
|
9264
9267
|
TransitGatewayRouteTableList.member = Shapes::ShapeRef.new(shape: TransitGatewayRouteTable, location_name: "item")
|
9265
9268
|
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -196,7 +196,8 @@ module Aws::EC2
|
|
196
196
|
data[:ena_support]
|
197
197
|
end
|
198
198
|
|
199
|
-
# The hypervisor type of the instance.
|
199
|
+
# The hypervisor type of the instance. The value `xen` is used for both
|
200
|
+
# Xen and Nitro hypervisors.
|
200
201
|
# @return [String]
|
201
202
|
def hypervisor
|
202
203
|
data[:hypervisor]
|
@@ -1470,7 +1471,7 @@ module Aws::EC2
|
|
1470
1471
|
# },
|
1471
1472
|
# ],
|
1472
1473
|
# public_ips: ["String"],
|
1473
|
-
# allocation_ids: ["
|
1474
|
+
# allocation_ids: ["AllocationId"],
|
1474
1475
|
# dry_run: false,
|
1475
1476
|
# })
|
1476
1477
|
# @param [Hash] options ({})
|
@@ -274,6 +274,7 @@ module Aws::EC2
|
|
274
274
|
# running, if applicable.
|
275
275
|
#
|
276
276
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
277
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
277
278
|
#
|
278
279
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
279
280
|
# the instance. Specified as an ARN.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -84,7 +84,7 @@ module Aws::EC2
|
|
84
84
|
# ipv_6_address: "String",
|
85
85
|
# },
|
86
86
|
# ],
|
87
|
-
# kernel_id: "
|
87
|
+
# kernel_id: "KernelId",
|
88
88
|
# key_name: "KeyPairName",
|
89
89
|
# max_count: 1, # required
|
90
90
|
# min_count: 1, # required
|
@@ -101,10 +101,10 @@ module Aws::EC2
|
|
101
101
|
# spread_domain: "String",
|
102
102
|
# host_resource_group_arn: "String",
|
103
103
|
# },
|
104
|
-
# ramdisk_id: "
|
104
|
+
# ramdisk_id: "RamdiskId",
|
105
105
|
# security_group_ids: ["SecurityGroupId"],
|
106
106
|
# security_groups: ["SecurityGroupName"],
|
107
|
-
# subnet_id: "
|
107
|
+
# subnet_id: "SubnetId",
|
108
108
|
# user_data: "String",
|
109
109
|
# additional_info: "String",
|
110
110
|
# client_token: "String",
|
@@ -346,8 +346,11 @@ module Aws::EC2
|
|
346
346
|
# Reserved.
|
347
347
|
# @option options [String] :client_token
|
348
348
|
# Unique, case-sensitive identifier you provide to ensure the
|
349
|
-
# idempotency of the request.
|
350
|
-
#
|
349
|
+
# idempotency of the request. If you do not specify a client token, a
|
350
|
+
# randomly generated token is used for the request to ensure
|
351
|
+
# idempotency.
|
352
|
+
#
|
353
|
+
# For more information, see [Ensuring Idempotency][1].
|
351
354
|
#
|
352
355
|
# Constraints: Maximum 64 ASCII characters
|
353
356
|
#
|
@@ -1363,7 +1366,7 @@ module Aws::EC2
|
|
1363
1366
|
# },
|
1364
1367
|
# ],
|
1365
1368
|
# public_ips: ["String"],
|
1366
|
-
# allocation_ids: ["
|
1369
|
+
# allocation_ids: ["AllocationId"],
|
1367
1370
|
# dry_run: false,
|
1368
1371
|
# })
|
1369
1372
|
# @param [Hash] options ({})
|
@@ -1722,6 +1725,7 @@ module Aws::EC2
|
|
1722
1725
|
# running, if applicable.
|
1723
1726
|
#
|
1724
1727
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
1728
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
1725
1729
|
#
|
1726
1730
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
1727
1731
|
# the instance. Specified as an ARN.
|
@@ -3091,7 +3095,7 @@ module Aws::EC2
|
|
3091
3095
|
# },
|
3092
3096
|
# ],
|
3093
3097
|
# public_ips: ["String"],
|
3094
|
-
# allocation_ids: ["
|
3098
|
+
# allocation_ids: ["AllocationId"],
|
3095
3099
|
# dry_run: false,
|
3096
3100
|
# })
|
3097
3101
|
# @param [Hash] options ({})
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -281,7 +281,7 @@ module Aws::EC2
|
|
281
281
|
# ipv_6_address: "String",
|
282
282
|
# },
|
283
283
|
# ],
|
284
|
-
# kernel_id: "
|
284
|
+
# kernel_id: "KernelId",
|
285
285
|
# key_name: "KeyPairName",
|
286
286
|
# max_count: 1, # required
|
287
287
|
# min_count: 1, # required
|
@@ -298,7 +298,7 @@ module Aws::EC2
|
|
298
298
|
# spread_domain: "String",
|
299
299
|
# host_resource_group_arn: "String",
|
300
300
|
# },
|
301
|
-
# ramdisk_id: "
|
301
|
+
# ramdisk_id: "RamdiskId",
|
302
302
|
# security_group_ids: ["SecurityGroupId"],
|
303
303
|
# security_groups: ["SecurityGroupName"],
|
304
304
|
# user_data: "String",
|
@@ -537,8 +537,11 @@ module Aws::EC2
|
|
537
537
|
# Reserved.
|
538
538
|
# @option options [String] :client_token
|
539
539
|
# Unique, case-sensitive identifier you provide to ensure the
|
540
|
-
# idempotency of the request.
|
541
|
-
#
|
540
|
+
# idempotency of the request. If you do not specify a client token, a
|
541
|
+
# randomly generated token is used for the request to ensure
|
542
|
+
# idempotency.
|
543
|
+
#
|
544
|
+
# For more information, see [Ensuring Idempotency][1].
|
542
545
|
#
|
543
546
|
# Constraints: Maximum 64 ASCII characters
|
544
547
|
#
|
@@ -932,6 +935,7 @@ module Aws::EC2
|
|
932
935
|
# running, if applicable.
|
933
936
|
#
|
934
937
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
938
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
935
939
|
#
|
936
940
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
937
941
|
# the instance. Specified as an ARN.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -436,7 +436,13 @@ module Aws::EC2
|
|
436
436
|
# The location from which the IP address is advertised. Use this
|
437
437
|
# parameter to limit the address to this location.
|
438
438
|
#
|
439
|
-
#
|
439
|
+
# A network border group is a unique set of Availability Zones or
|
440
|
+
# Local Zones from where AWS advertises IP addresses and limits the
|
441
|
+
# addresses to the group. IP addresses cannot move between network
|
442
|
+
# border groups.
|
443
|
+
#
|
444
|
+
# Use [DescribeAvailabilityZones][1] to view the network border
|
445
|
+
# groups.
|
440
446
|
#
|
441
447
|
# <note markdown="1"> You cannot use a network border group with EC2 Classic. If you
|
442
448
|
# attempt this operation on EC2 classic, you will receive an
|
@@ -447,7 +453,7 @@ module Aws::EC2
|
|
447
453
|
#
|
448
454
|
#
|
449
455
|
#
|
450
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
456
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
|
451
457
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
|
452
458
|
# @return [String]
|
453
459
|
#
|
@@ -667,7 +673,7 @@ module Aws::EC2
|
|
667
673
|
# {
|
668
674
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
669
675
|
# vpc_id: "VpcId", # required
|
670
|
-
# security_group_ids: ["
|
676
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
671
677
|
# dry_run: false,
|
672
678
|
# }
|
673
679
|
#
|
@@ -2481,7 +2487,7 @@ module Aws::EC2
|
|
2481
2487
|
# data as a hash:
|
2482
2488
|
#
|
2483
2489
|
# {
|
2484
|
-
# export_task_id: "
|
2490
|
+
# export_task_id: "ExportVmTaskId", # required
|
2485
2491
|
# }
|
2486
2492
|
#
|
2487
2493
|
# @!attribute [rw] export_task_id
|
@@ -4632,7 +4638,7 @@ module Aws::EC2
|
|
4632
4638
|
# ],
|
4633
4639
|
# },
|
4634
4640
|
# ],
|
4635
|
-
# security_group_ids: ["
|
4641
|
+
# security_group_ids: ["SecurityGroupId"],
|
4636
4642
|
# vpc_id: "VpcId",
|
4637
4643
|
# }
|
4638
4644
|
#
|
@@ -5925,7 +5931,7 @@ module Aws::EC2
|
|
5925
5931
|
# encrypted: false,
|
5926
5932
|
# delete_on_termination: false,
|
5927
5933
|
# iops: 1,
|
5928
|
-
# kms_key_id: "
|
5934
|
+
# kms_key_id: "KmsKeyId",
|
5929
5935
|
# snapshot_id: "SnapshotId",
|
5930
5936
|
# volume_size: 1,
|
5931
5937
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
@@ -6136,7 +6142,7 @@ module Aws::EC2
|
|
6136
6142
|
# encrypted: false,
|
6137
6143
|
# delete_on_termination: false,
|
6138
6144
|
# iops: 1,
|
6139
|
-
# kms_key_id: "
|
6145
|
+
# kms_key_id: "KmsKeyId",
|
6140
6146
|
# snapshot_id: "SnapshotId",
|
6141
6147
|
# volume_size: 1,
|
6142
6148
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
@@ -7941,7 +7947,7 @@ module Aws::EC2
|
|
7941
7947
|
#
|
7942
7948
|
# {
|
7943
7949
|
# transit_gateway_id: "TransitGatewayId", # required
|
7944
|
-
# peer_transit_gateway_id: "
|
7950
|
+
# peer_transit_gateway_id: "TransitAssociationGatewayId", # required
|
7945
7951
|
# peer_account_id: "String", # required
|
7946
7952
|
# peer_region: "String", # required
|
7947
7953
|
# tag_specifications: [
|
@@ -9511,7 +9517,7 @@ module Aws::EC2
|
|
9511
9517
|
#
|
9512
9518
|
# {
|
9513
9519
|
# dry_run: false,
|
9514
|
-
# fleet_ids: ["
|
9520
|
+
# fleet_ids: ["FleetId"], # required
|
9515
9521
|
# terminate_instances: false, # required
|
9516
9522
|
# }
|
9517
9523
|
#
|
@@ -11332,7 +11338,7 @@ module Aws::EC2
|
|
11332
11338
|
# },
|
11333
11339
|
# ],
|
11334
11340
|
# public_ips: ["String"],
|
11335
|
-
# allocation_ids: ["
|
11341
|
+
# allocation_ids: ["AllocationId"],
|
11336
11342
|
# dry_run: false,
|
11337
11343
|
# }
|
11338
11344
|
#
|
@@ -11668,7 +11674,7 @@ module Aws::EC2
|
|
11668
11674
|
# data as a hash:
|
11669
11675
|
#
|
11670
11676
|
# {
|
11671
|
-
# capacity_reservation_ids: ["
|
11677
|
+
# capacity_reservation_ids: ["CapacityReservationId"],
|
11672
11678
|
# next_token: "String",
|
11673
11679
|
# max_results: 1,
|
11674
11680
|
# filters: [
|
@@ -11696,6 +11702,85 @@ module Aws::EC2
|
|
11696
11702
|
#
|
11697
11703
|
# @!attribute [rw] filters
|
11698
11704
|
# One or more filters.
|
11705
|
+
#
|
11706
|
+
# * `instance-type` - The type of instance for which the Capacity
|
11707
|
+
# Reservation reserves capacity.
|
11708
|
+
#
|
11709
|
+
# * `owner-id` - The ID of the AWS account that owns the Capacity
|
11710
|
+
# Reservation.
|
11711
|
+
#
|
11712
|
+
# * `availability-zone-id` - The Availability Zone ID of the Capacity
|
11713
|
+
# Reservation.
|
11714
|
+
#
|
11715
|
+
# * `instance-platform` - The type of operating system for which the
|
11716
|
+
# Capacity Reservation reserves capacity.
|
11717
|
+
#
|
11718
|
+
# * `availability-zone` - The Availability Zone ID of the Capacity
|
11719
|
+
# Reservation.
|
11720
|
+
#
|
11721
|
+
# * `tenancy` - Indicates the tenancy of the Capacity Reservation. A
|
11722
|
+
# Capacity Reservation can have one of the following tenancy
|
11723
|
+
# settings:
|
11724
|
+
#
|
11725
|
+
# * `default` - The Capacity Reservation is created on hardware that
|
11726
|
+
# is shared with other AWS accounts.
|
11727
|
+
#
|
11728
|
+
# * `dedicated` - The Capacity Reservation is created on
|
11729
|
+
# single-tenant hardware that is dedicated to a single AWS
|
11730
|
+
# account.
|
11731
|
+
#
|
11732
|
+
# * `state` - The current state of the Capacity Reservation. A
|
11733
|
+
# Capacity Reservation can be in one of the following states:
|
11734
|
+
#
|
11735
|
+
# * `active`- The Capacity Reservation is active and the capacity is
|
11736
|
+
# available for your use.
|
11737
|
+
#
|
11738
|
+
# * `expired` - The Capacity Reservation expired automatically at
|
11739
|
+
# the date and time specified in your request. The reserved
|
11740
|
+
# capacity is no longer available for your use.
|
11741
|
+
#
|
11742
|
+
# * `cancelled` - The Capacity Reservation was manually cancelled.
|
11743
|
+
# The reserved capacity is no longer available for your use.
|
11744
|
+
#
|
11745
|
+
# * `pending` - The Capacity Reservation request was successful but
|
11746
|
+
# the capacity provisioning is still pending.
|
11747
|
+
#
|
11748
|
+
# * `failed` - The Capacity Reservation request has failed. A
|
11749
|
+
# request might fail due to invalid request parameters, capacity
|
11750
|
+
# constraints, or instance limit constraints. Failed requests are
|
11751
|
+
# retained for 60 minutes.
|
11752
|
+
#
|
11753
|
+
# * `end-date` - The date and time at which the Capacity Reservation
|
11754
|
+
# expires. When a Capacity Reservation expires, the reserved
|
11755
|
+
# capacity is released and you can no longer launch instances into
|
11756
|
+
# it. The Capacity Reservation's state changes to expired when it
|
11757
|
+
# reaches its end date and time.
|
11758
|
+
#
|
11759
|
+
# * `end-date-type` - Indicates the way in which the Capacity
|
11760
|
+
# Reservation ends. A Capacity Reservation can have one of the
|
11761
|
+
# following end types:
|
11762
|
+
#
|
11763
|
+
# * `unlimited` - The Capacity Reservation remains active until you
|
11764
|
+
# explicitly cancel it.
|
11765
|
+
#
|
11766
|
+
# * `limited` - The Capacity Reservation expires automatically at a
|
11767
|
+
# specified date and time.
|
11768
|
+
#
|
11769
|
+
# * `instance-match-criteria` - Indicates the type of instance
|
11770
|
+
# launches that the Capacity Reservation accepts. The options
|
11771
|
+
# include:
|
11772
|
+
#
|
11773
|
+
# * `open` - The Capacity Reservation accepts all instances that
|
11774
|
+
# have matching attributes (instance type, platform, and
|
11775
|
+
# Availability Zone). Instances that have matching attributes
|
11776
|
+
# launch into the Capacity Reservation automatically without
|
11777
|
+
# specifying any additional parameters.
|
11778
|
+
#
|
11779
|
+
# * `targeted` - The Capacity Reservation only accepts instances
|
11780
|
+
# that have matching attributes (instance type, platform, and
|
11781
|
+
# Availability Zone), and explicitly target the Capacity
|
11782
|
+
# Reservation. This ensures that only permitted instances can use
|
11783
|
+
# the reserved capacity.
|
11699
11784
|
# @return [Array<Types::Filter>]
|
11700
11785
|
#
|
11701
11786
|
# @!attribute [rw] dry_run
|
@@ -12213,7 +12298,7 @@ module Aws::EC2
|
|
12213
12298
|
# data as a hash:
|
12214
12299
|
#
|
12215
12300
|
# {
|
12216
|
-
# pool_ids: ["
|
12301
|
+
# pool_ids: ["CoipPoolId"],
|
12217
12302
|
# filters: [
|
12218
12303
|
# {
|
12219
12304
|
# name: "String",
|
@@ -12738,7 +12823,7 @@ module Aws::EC2
|
|
12738
12823
|
# data as a hash:
|
12739
12824
|
#
|
12740
12825
|
# {
|
12741
|
-
# export_task_ids: ["
|
12826
|
+
# export_task_ids: ["ExportTaskId"],
|
12742
12827
|
# filters: [
|
12743
12828
|
# {
|
12744
12829
|
# name: "String",
|
@@ -12974,7 +13059,7 @@ module Aws::EC2
|
|
12974
13059
|
# event_type: "instance-change", # accepts instance-change, fleet-change, service-error
|
12975
13060
|
# max_results: 1,
|
12976
13061
|
# next_token: "String",
|
12977
|
-
# fleet_id: "
|
13062
|
+
# fleet_id: "FleetId", # required
|
12978
13063
|
# start_time: Time.now, # required
|
12979
13064
|
# }
|
12980
13065
|
#
|
@@ -13066,7 +13151,7 @@ module Aws::EC2
|
|
13066
13151
|
# dry_run: false,
|
13067
13152
|
# max_results: 1,
|
13068
13153
|
# next_token: "String",
|
13069
|
-
# fleet_id: "
|
13154
|
+
# fleet_id: "FleetId", # required
|
13070
13155
|
# filters: [
|
13071
13156
|
# {
|
13072
13157
|
# name: "String",
|
@@ -13182,7 +13267,7 @@ module Aws::EC2
|
|
13182
13267
|
# dry_run: false,
|
13183
13268
|
# max_results: 1,
|
13184
13269
|
# next_token: "String",
|
13185
|
-
# fleet_ids: ["
|
13270
|
+
# fleet_ids: ["FleetId"],
|
13186
13271
|
# filters: [
|
13187
13272
|
# {
|
13188
13273
|
# name: "String",
|
@@ -14620,10 +14705,10 @@ module Aws::EC2
|
|
14620
14705
|
# `false`)
|
14621
14706
|
#
|
14622
14707
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
14623
|
-
# type is EBS-optimized. (`
|
14708
|
+
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
14624
14709
|
#
|
14625
14710
|
# * `ebs-info.encryption-support` - Indicates whether EBS encryption
|
14626
|
-
# is supported. (`
|
14711
|
+
# is supported. (`supported` \| `unsupported`)
|
14627
14712
|
#
|
14628
14713
|
# * `free-tier-eligible` - Indicates whether the instance type is
|
14629
14714
|
# eligible to use in the free tier. (`true` \| `false`)
|
@@ -14787,7 +14872,8 @@ module Aws::EC2
|
|
14787
14872
|
# running, if applicable.
|
14788
14873
|
#
|
14789
14874
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \|
|
14790
|
-
# `xen`).
|
14875
|
+
# `xen`). The value `xen` is used for both Xen and Nitro
|
14876
|
+
# hypervisors.
|
14791
14877
|
#
|
14792
14878
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
14793
14879
|
# the instance. Specified as an ARN.
|
@@ -19295,7 +19381,7 @@ module Aws::EC2
|
|
19295
19381
|
# data as a hash:
|
19296
19382
|
#
|
19297
19383
|
# {
|
19298
|
-
# transit_gateway_multicast_domain_ids: ["
|
19384
|
+
# transit_gateway_multicast_domain_ids: ["TransitGatewayMulticastDomainId"],
|
19299
19385
|
# filters: [
|
19300
19386
|
# {
|
19301
19387
|
# name: "String",
|
@@ -19389,7 +19475,22 @@ module Aws::EC2
|
|
19389
19475
|
# @return [Array<String>]
|
19390
19476
|
#
|
19391
19477
|
# @!attribute [rw] filters
|
19392
|
-
# One or more filters.
|
19478
|
+
# One or more filters. The possible values are:
|
19479
|
+
#
|
19480
|
+
# * `transit-gateway-attachment-id` - The ID of the transit gateway
|
19481
|
+
# attachment.
|
19482
|
+
#
|
19483
|
+
# * `local-owner-id` - The ID of your AWS account.
|
19484
|
+
#
|
19485
|
+
# * `remote-owner-id` - The ID of the AWS account in the remote Region
|
19486
|
+
# that owns the transit gateway.
|
19487
|
+
#
|
19488
|
+
# * `state` - The state of the peering attachment (`available` \|
|
19489
|
+
# `deleted` \| `deleting` \| `failed` \| `modifying` \|
|
19490
|
+
# `pendingAcceptance` \| `pending` \| `rollingBack` \| `rejected` \|
|
19491
|
+
# `rejecting`).
|
19492
|
+
#
|
19493
|
+
# * `transit-gateway-id` - The ID of the transit gateway.
|
19393
19494
|
# @return [Array<Types::Filter>]
|
19394
19495
|
#
|
19395
19496
|
# @!attribute [rw] max_results
|
@@ -19441,7 +19542,7 @@ module Aws::EC2
|
|
19441
19542
|
# data as a hash:
|
19442
19543
|
#
|
19443
19544
|
# {
|
19444
|
-
# transit_gateway_route_table_ids: ["
|
19545
|
+
# transit_gateway_route_table_ids: ["TransitGatewayRouteTableId"],
|
19445
19546
|
# filters: [
|
19446
19547
|
# {
|
19447
19548
|
# name: "String",
|
@@ -20089,7 +20190,7 @@ module Aws::EC2
|
|
20089
20190
|
#
|
20090
20191
|
# {
|
20091
20192
|
# attribute: "enableDnsSupport", # required, accepts enableDnsSupport, enableDnsHostnames
|
20092
|
-
# vpc_id: "
|
20193
|
+
# vpc_id: "VpcId", # required
|
20093
20194
|
# dry_run: false,
|
20094
20195
|
# }
|
20095
20196
|
#
|
@@ -21880,7 +21981,7 @@ module Aws::EC2
|
|
21880
21981
|
#
|
21881
21982
|
# {
|
21882
21983
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
21883
|
-
# association_id: "
|
21984
|
+
# association_id: "ClientVpnAssociationId", # required
|
21884
21985
|
# dry_run: false,
|
21885
21986
|
# }
|
21886
21987
|
#
|
@@ -26935,7 +27036,7 @@ module Aws::EC2
|
|
26935
27036
|
# host_resource_group_arn: "String",
|
26936
27037
|
# },
|
26937
27038
|
# private_ip_address: "String",
|
26938
|
-
# subnet_id: "
|
27039
|
+
# subnet_id: "SubnetId",
|
26939
27040
|
# user_data: {
|
26940
27041
|
# data: "String",
|
26941
27042
|
# },
|
@@ -27049,7 +27150,7 @@ module Aws::EC2
|
|
27049
27150
|
# host_resource_group_arn: "String",
|
27050
27151
|
# },
|
27051
27152
|
# private_ip_address: "String",
|
27052
|
-
# subnet_id: "
|
27153
|
+
# subnet_id: "SubnetId",
|
27053
27154
|
# user_data: {
|
27054
27155
|
# data: "String",
|
27055
27156
|
# },
|
@@ -27646,7 +27747,8 @@ module Aws::EC2
|
|
27646
27747
|
# @return [Boolean]
|
27647
27748
|
#
|
27648
27749
|
# @!attribute [rw] hypervisor
|
27649
|
-
# The hypervisor type of the instance.
|
27750
|
+
# The hypervisor type of the instance. The value `xen` is used for
|
27751
|
+
# both Xen and Nitro hypervisors.
|
27650
27752
|
# @return [String]
|
27651
27753
|
#
|
27652
27754
|
# @!attribute [rw] iam_instance_profile
|
@@ -29662,7 +29764,7 @@ module Aws::EC2
|
|
29662
29764
|
# encrypted: false,
|
29663
29765
|
# delete_on_termination: false,
|
29664
29766
|
# iops: 1,
|
29665
|
-
# kms_key_id: "
|
29767
|
+
# kms_key_id: "KmsKeyId",
|
29666
29768
|
# snapshot_id: "SnapshotId",
|
29667
29769
|
# volume_size: 1,
|
29668
29770
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
@@ -29912,7 +30014,7 @@ module Aws::EC2
|
|
29912
30014
|
# encrypted: false,
|
29913
30015
|
# delete_on_termination: false,
|
29914
30016
|
# iops: 1,
|
29915
|
-
# kms_key_id: "
|
30017
|
+
# kms_key_id: "KmsKeyId",
|
29916
30018
|
# snapshot_id: "SnapshotId",
|
29917
30019
|
# volume_size: 1,
|
29918
30020
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
@@ -31400,12 +31502,17 @@ module Aws::EC2
|
|
31400
31502
|
# }
|
31401
31503
|
#
|
31402
31504
|
# @!attribute [rw] group_name
|
31403
|
-
# The
|
31505
|
+
# The name of the Availability Zone Group.
|
31404
31506
|
# @return [String]
|
31405
31507
|
#
|
31406
31508
|
# @!attribute [rw] opt_in_status
|
31407
|
-
# Indicates whether to enable or disable
|
31408
|
-
#
|
31509
|
+
# Indicates whether to enable or disable membership. The valid values
|
31510
|
+
# are `opted-in`. You must contact [AWS Support][1] to disable an
|
31511
|
+
# Availability Zone group.
|
31512
|
+
#
|
31513
|
+
#
|
31514
|
+
#
|
31515
|
+
# [1]: https://console.aws.amazon.com/support/home#/case/create%3FissueType=customer-service%26serviceCode=general-info%26getting-started%26categoryCode=using-aws%26services
|
31409
31516
|
# @return [String]
|
31410
31517
|
#
|
31411
31518
|
# @!attribute [rw] dry_run
|
@@ -31532,7 +31639,7 @@ module Aws::EC2
|
|
31532
31639
|
# description: "String",
|
31533
31640
|
# split_tunnel: false,
|
31534
31641
|
# dry_run: false,
|
31535
|
-
# security_group_ids: ["
|
31642
|
+
# security_group_ids: ["SecurityGroupId"],
|
31536
31643
|
# vpc_id: "VpcId",
|
31537
31644
|
# }
|
31538
31645
|
#
|
@@ -31747,7 +31854,7 @@ module Aws::EC2
|
|
31747
31854
|
# {
|
31748
31855
|
# dry_run: false,
|
31749
31856
|
# excess_capacity_termination_policy: "no-termination", # accepts no-termination, termination
|
31750
|
-
# fleet_id: "
|
31857
|
+
# fleet_id: "FleetId", # required
|
31751
31858
|
# target_capacity_specification: { # required
|
31752
31859
|
# total_target_capacity: 1, # required
|
31753
31860
|
# on_demand_target_capacity: 1,
|
@@ -37583,7 +37690,7 @@ module Aws::EC2
|
|
37583
37690
|
# encrypted: false,
|
37584
37691
|
# delete_on_termination: false,
|
37585
37692
|
# iops: 1,
|
37586
|
-
# kms_key_id: "
|
37693
|
+
# kms_key_id: "KmsKeyId",
|
37587
37694
|
# snapshot_id: "SnapshotId",
|
37588
37695
|
# volume_size: 1,
|
37589
37696
|
# volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
|
@@ -40030,7 +40137,7 @@ module Aws::EC2
|
|
40030
40137
|
# ipv_6_address: "String",
|
40031
40138
|
# },
|
40032
40139
|
# ],
|
40033
|
-
# kernel_id: "
|
40140
|
+
# kernel_id: "KernelId",
|
40034
40141
|
# key_name: "KeyPairName",
|
40035
40142
|
# max_count: 1, # required
|
40036
40143
|
# min_count: 1, # required
|
@@ -40047,10 +40154,10 @@ module Aws::EC2
|
|
40047
40154
|
# spread_domain: "String",
|
40048
40155
|
# host_resource_group_arn: "String",
|
40049
40156
|
# },
|
40050
|
-
# ramdisk_id: "
|
40157
|
+
# ramdisk_id: "RamdiskId",
|
40051
40158
|
# security_group_ids: ["SecurityGroupId"],
|
40052
40159
|
# security_groups: ["SecurityGroupName"],
|
40053
|
-
# subnet_id: "
|
40160
|
+
# subnet_id: "SubnetId",
|
40054
40161
|
# user_data: "String",
|
40055
40162
|
# additional_info: "String",
|
40056
40163
|
# client_token: "String",
|
@@ -40327,8 +40434,11 @@ module Aws::EC2
|
|
40327
40434
|
#
|
40328
40435
|
# @!attribute [rw] client_token
|
40329
40436
|
# Unique, case-sensitive identifier you provide to ensure the
|
40330
|
-
# idempotency of the request.
|
40331
|
-
#
|
40437
|
+
# idempotency of the request. If you do not specify a client token, a
|
40438
|
+
# randomly generated token is used for the request to ensure
|
40439
|
+
# idempotency.
|
40440
|
+
#
|
40441
|
+
# For more information, see [Ensuring Idempotency][1].
|
40332
40442
|
#
|
40333
40443
|
# Constraints: Maximum 64 ASCII characters
|
40334
40444
|
#
|
@@ -43078,13 +43188,16 @@ module Aws::EC2
|
|
43078
43188
|
# The key-value pair for tagging the Spot Fleet request on creation.
|
43079
43189
|
# The value for `ResourceType` must be `spot-fleet-request`, otherwise
|
43080
43190
|
# the Spot Fleet request fails. To tag instances at launch, specify
|
43081
|
-
# the tags in the [launch template][1]
|
43082
|
-
#
|
43191
|
+
# the tags in the [launch template][1] (valid only if you use
|
43192
|
+
# `LaunchTemplateConfigs`) or in the [ `SpotFleetTagSpecification`
|
43193
|
+
# ][2] (valid only if you use `LaunchSpecifications`). For information
|
43194
|
+
# about tagging after launch, see [Tagging Your Resources][3].
|
43083
43195
|
#
|
43084
43196
|
#
|
43085
43197
|
#
|
43086
43198
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
|
43087
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/
|
43199
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html
|
43200
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
|
43088
43201
|
# @return [Array<Types::TagSpecification>]
|
43089
43202
|
#
|
43090
43203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData AWS API Documentation
|
@@ -43132,8 +43245,14 @@ module Aws::EC2
|
|
43132
43245
|
# }
|
43133
43246
|
#
|
43134
43247
|
# @!attribute [rw] resource_type
|
43135
|
-
# The type of resource. Currently, the only resource
|
43136
|
-
# supported
|
43248
|
+
# The type of resource. Currently, the only resource type that is
|
43249
|
+
# supported is `instance`. To tag the Spot Fleet request on creation,
|
43250
|
+
# use the `TagSpecifications` parameter in [
|
43251
|
+
# `SpotFleetRequestConfigData` ][1].
|
43252
|
+
#
|
43253
|
+
#
|
43254
|
+
#
|
43255
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html
|
43137
43256
|
# @return [String]
|
43138
43257
|
#
|
43139
43258
|
# @!attribute [rw] tags
|
@@ -44192,8 +44311,8 @@ module Aws::EC2
|
|
44192
44311
|
# The type of resource to tag. Currently, the resource types that
|
44193
44312
|
# support tagging on creation are: `capacity-reservation` \|
|
44194
44313
|
# `client-vpn-endpoint` \| `dedicated-host` \| `fleet` \| `fpga-image`
|
44195
|
-
# \| `instance` \| `key-pair` \| `launch-template` \|
|
44196
|
-
# `spot-fleet-request` \| `placement-group` \| `snapshot` \|
|
44314
|
+
# \| `instance` \| `key-pair` \| `launch-template` \| \| `natgateway`
|
44315
|
+
# \| `spot-fleet-request` \| `placement-group` \| `snapshot` \|
|
44197
44316
|
# `traffic-mirror-filter` \| `traffic-mirror-session` \|
|
44198
44317
|
# `traffic-mirror-target` \| `transit-gateway` \|
|
44199
44318
|
# `transit-gateway-attachment` \| `transit-gateway-route-table` \|
|
@@ -44481,7 +44600,7 @@ module Aws::EC2
|
|
44481
44600
|
#
|
44482
44601
|
# {
|
44483
44602
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
44484
|
-
# connection_id: "
|
44603
|
+
# connection_id: "VpnConnectionId",
|
44485
44604
|
# username: "String",
|
44486
44605
|
# dry_run: false,
|
44487
44606
|
# }
|