aws-sdk-ec2 1.417.0 → 1.419.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +211 -3
- data/lib/aws-sdk-ec2/client_api.rb +81 -0
- data/lib/aws-sdk-ec2/endpoints.rb +42 -0
- data/lib/aws-sdk-ec2/placement_group.rb +3 -2
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +9 -2
- data/lib/aws-sdk-ec2/subnet.rb +9 -2
- data/lib/aws-sdk-ec2/types.rb +328 -23
- data/lib/aws-sdk-ec2/vpc.rb +3 -2
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -1140,6 +1140,8 @@ module Aws::EC2
|
|
1140
1140
|
DisableIpamOrganizationAdminAccountResult = Shapes::StructureShape.new(name: 'DisableIpamOrganizationAdminAccountResult')
|
1141
1141
|
DisableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessRequest')
|
1142
1142
|
DisableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessResult')
|
1143
|
+
DisableSnapshotBlockPublicAccessRequest = Shapes::StructureShape.new(name: 'DisableSnapshotBlockPublicAccessRequest')
|
1144
|
+
DisableSnapshotBlockPublicAccessResult = Shapes::StructureShape.new(name: 'DisableSnapshotBlockPublicAccessResult')
|
1143
1145
|
DisableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationRequest')
|
1144
1146
|
DisableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationResult')
|
1145
1147
|
DisableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'DisableVgwRoutePropagationRequest')
|
@@ -1236,8 +1238,10 @@ module Aws::EC2
|
|
1236
1238
|
ElasticInferenceAccelerators = Shapes::ListShape.new(name: 'ElasticInferenceAccelerators')
|
1237
1239
|
ElasticIpAssociationId = Shapes::StringShape.new(name: 'ElasticIpAssociationId')
|
1238
1240
|
EnaSrdSpecification = Shapes::StructureShape.new(name: 'EnaSrdSpecification')
|
1241
|
+
EnaSrdSpecificationRequest = Shapes::StructureShape.new(name: 'EnaSrdSpecificationRequest')
|
1239
1242
|
EnaSrdSupported = Shapes::BooleanShape.new(name: 'EnaSrdSupported')
|
1240
1243
|
EnaSrdUdpSpecification = Shapes::StructureShape.new(name: 'EnaSrdUdpSpecification')
|
1244
|
+
EnaSrdUdpSpecificationRequest = Shapes::StructureShape.new(name: 'EnaSrdUdpSpecificationRequest')
|
1241
1245
|
EnaSupport = Shapes::StringShape.new(name: 'EnaSupport')
|
1242
1246
|
EnableAddressTransferRequest = Shapes::StructureShape.new(name: 'EnableAddressTransferRequest')
|
1243
1247
|
EnableAddressTransferResult = Shapes::StructureShape.new(name: 'EnableAddressTransferResult')
|
@@ -1268,6 +1272,8 @@ module Aws::EC2
|
|
1268
1272
|
EnableReachabilityAnalyzerOrganizationSharingResult = Shapes::StructureShape.new(name: 'EnableReachabilityAnalyzerOrganizationSharingResult')
|
1269
1273
|
EnableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessRequest')
|
1270
1274
|
EnableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessResult')
|
1275
|
+
EnableSnapshotBlockPublicAccessRequest = Shapes::StructureShape.new(name: 'EnableSnapshotBlockPublicAccessRequest')
|
1276
|
+
EnableSnapshotBlockPublicAccessResult = Shapes::StructureShape.new(name: 'EnableSnapshotBlockPublicAccessResult')
|
1271
1277
|
EnableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationRequest')
|
1272
1278
|
EnableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationResult')
|
1273
1279
|
EnableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'EnableVgwRoutePropagationRequest')
|
@@ -1459,6 +1465,8 @@ module Aws::EC2
|
|
1459
1465
|
GetSecurityGroupsForVpcResult = Shapes::StructureShape.new(name: 'GetSecurityGroupsForVpcResult')
|
1460
1466
|
GetSerialConsoleAccessStatusRequest = Shapes::StructureShape.new(name: 'GetSerialConsoleAccessStatusRequest')
|
1461
1467
|
GetSerialConsoleAccessStatusResult = Shapes::StructureShape.new(name: 'GetSerialConsoleAccessStatusResult')
|
1468
|
+
GetSnapshotBlockPublicAccessStateRequest = Shapes::StructureShape.new(name: 'GetSnapshotBlockPublicAccessStateRequest')
|
1469
|
+
GetSnapshotBlockPublicAccessStateResult = Shapes::StructureShape.new(name: 'GetSnapshotBlockPublicAccessStateResult')
|
1462
1470
|
GetSpotPlacementScoresRequest = Shapes::StructureShape.new(name: 'GetSpotPlacementScoresRequest')
|
1463
1471
|
GetSpotPlacementScoresResult = Shapes::StructureShape.new(name: 'GetSpotPlacementScoresResult')
|
1464
1472
|
GetSubnetCidrReservationsMaxResults = Shapes::IntegerShape.new(name: 'GetSubnetCidrReservationsMaxResults')
|
@@ -1598,6 +1606,8 @@ module Aws::EC2
|
|
1598
1606
|
InferenceDeviceName = Shapes::StringShape.new(name: 'InferenceDeviceName')
|
1599
1607
|
InsideCidrBlocksStringList = Shapes::ListShape.new(name: 'InsideCidrBlocksStringList')
|
1600
1608
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
1609
|
+
InstanceAttachmentEnaSrdSpecification = Shapes::StructureShape.new(name: 'InstanceAttachmentEnaSrdSpecification')
|
1610
|
+
InstanceAttachmentEnaSrdUdpSpecification = Shapes::StructureShape.new(name: 'InstanceAttachmentEnaSrdUdpSpecification')
|
1601
1611
|
InstanceAttribute = Shapes::StructureShape.new(name: 'InstanceAttribute')
|
1602
1612
|
InstanceAttributeName = Shapes::StringShape.new(name: 'InstanceAttributeName')
|
1603
1613
|
InstanceAutoRecoveryState = Shapes::StringShape.new(name: 'InstanceAutoRecoveryState')
|
@@ -1854,6 +1864,8 @@ module Aws::EC2
|
|
1854
1864
|
LaunchTemplateElasticInferenceAcceleratorList = Shapes::ListShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorList')
|
1855
1865
|
LaunchTemplateElasticInferenceAcceleratorResponse = Shapes::StructureShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorResponse')
|
1856
1866
|
LaunchTemplateElasticInferenceAcceleratorResponseList = Shapes::ListShape.new(name: 'LaunchTemplateElasticInferenceAcceleratorResponseList')
|
1867
|
+
LaunchTemplateEnaSrdSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateEnaSrdSpecification')
|
1868
|
+
LaunchTemplateEnaSrdUdpSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateEnaSrdUdpSpecification')
|
1857
1869
|
LaunchTemplateEnclaveOptions = Shapes::StructureShape.new(name: 'LaunchTemplateEnclaveOptions')
|
1858
1870
|
LaunchTemplateEnclaveOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateEnclaveOptionsRequest')
|
1859
1871
|
LaunchTemplateErrorCode = Shapes::StringShape.new(name: 'LaunchTemplateErrorCode')
|
@@ -2605,6 +2617,7 @@ module Aws::EC2
|
|
2605
2617
|
SlotStartTimeRangeRequest = Shapes::StructureShape.new(name: 'SlotStartTimeRangeRequest')
|
2606
2618
|
Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
|
2607
2619
|
SnapshotAttributeName = Shapes::StringShape.new(name: 'SnapshotAttributeName')
|
2620
|
+
SnapshotBlockPublicAccessState = Shapes::StringShape.new(name: 'SnapshotBlockPublicAccessState')
|
2608
2621
|
SnapshotDetail = Shapes::StructureShape.new(name: 'SnapshotDetail')
|
2609
2622
|
SnapshotDetailList = Shapes::ListShape.new(name: 'SnapshotDetailList')
|
2610
2623
|
SnapshotDiskContainer = Shapes::StructureShape.new(name: 'SnapshotDiskContainer')
|
@@ -7799,6 +7812,12 @@ module Aws::EC2
|
|
7799
7812
|
DisableSerialConsoleAccessResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
|
7800
7813
|
DisableSerialConsoleAccessResult.struct_class = Types::DisableSerialConsoleAccessResult
|
7801
7814
|
|
7815
|
+
DisableSnapshotBlockPublicAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7816
|
+
DisableSnapshotBlockPublicAccessRequest.struct_class = Types::DisableSnapshotBlockPublicAccessRequest
|
7817
|
+
|
7818
|
+
DisableSnapshotBlockPublicAccessResult.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotBlockPublicAccessState, location_name: "state"))
|
7819
|
+
DisableSnapshotBlockPublicAccessResult.struct_class = Types::DisableSnapshotBlockPublicAccessResult
|
7820
|
+
|
7802
7821
|
DisableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableId, required: true, location_name: "TransitGatewayRouteTableId"))
|
7803
7822
|
DisableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "TransitGatewayAttachmentId"))
|
7804
7823
|
DisableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -8099,9 +8118,16 @@ module Aws::EC2
|
|
8099
8118
|
EnaSrdSpecification.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: EnaSrdUdpSpecification, location_name: "EnaSrdUdpSpecification"))
|
8100
8119
|
EnaSrdSpecification.struct_class = Types::EnaSrdSpecification
|
8101
8120
|
|
8121
|
+
EnaSrdSpecificationRequest.add_member(:ena_srd_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnaSrdEnabled"))
|
8122
|
+
EnaSrdSpecificationRequest.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: EnaSrdUdpSpecificationRequest, location_name: "EnaSrdUdpSpecification"))
|
8123
|
+
EnaSrdSpecificationRequest.struct_class = Types::EnaSrdSpecificationRequest
|
8124
|
+
|
8102
8125
|
EnaSrdUdpSpecification.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnaSrdUdpEnabled"))
|
8103
8126
|
EnaSrdUdpSpecification.struct_class = Types::EnaSrdUdpSpecification
|
8104
8127
|
|
8128
|
+
EnaSrdUdpSpecificationRequest.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnaSrdUdpEnabled"))
|
8129
|
+
EnaSrdUdpSpecificationRequest.struct_class = Types::EnaSrdUdpSpecificationRequest
|
8130
|
+
|
8105
8131
|
EnableAddressTransferRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
8106
8132
|
EnableAddressTransferRequest.add_member(:transfer_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransferAccountId"))
|
8107
8133
|
EnableAddressTransferRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -8226,6 +8252,13 @@ module Aws::EC2
|
|
8226
8252
|
EnableSerialConsoleAccessResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
|
8227
8253
|
EnableSerialConsoleAccessResult.struct_class = Types::EnableSerialConsoleAccessResult
|
8228
8254
|
|
8255
|
+
EnableSnapshotBlockPublicAccessRequest.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotBlockPublicAccessState, required: true, location_name: "State"))
|
8256
|
+
EnableSnapshotBlockPublicAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8257
|
+
EnableSnapshotBlockPublicAccessRequest.struct_class = Types::EnableSnapshotBlockPublicAccessRequest
|
8258
|
+
|
8259
|
+
EnableSnapshotBlockPublicAccessResult.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotBlockPublicAccessState, location_name: "state"))
|
8260
|
+
EnableSnapshotBlockPublicAccessResult.struct_class = Types::EnableSnapshotBlockPublicAccessResult
|
8261
|
+
|
8229
8262
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableId, required: true, location_name: "TransitGatewayRouteTableId"))
|
8230
8263
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "TransitGatewayAttachmentId"))
|
8231
8264
|
EnableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -8986,6 +9019,12 @@ module Aws::EC2
|
|
8986
9019
|
GetSerialConsoleAccessStatusResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
|
8987
9020
|
GetSerialConsoleAccessStatusResult.struct_class = Types::GetSerialConsoleAccessStatusResult
|
8988
9021
|
|
9022
|
+
GetSnapshotBlockPublicAccessStateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9023
|
+
GetSnapshotBlockPublicAccessStateRequest.struct_class = Types::GetSnapshotBlockPublicAccessStateRequest
|
9024
|
+
|
9025
|
+
GetSnapshotBlockPublicAccessStateResult.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotBlockPublicAccessState, location_name: "state"))
|
9026
|
+
GetSnapshotBlockPublicAccessStateResult.struct_class = Types::GetSnapshotBlockPublicAccessStateResult
|
9027
|
+
|
8989
9028
|
GetSpotPlacementScoresRequest.add_member(:instance_types, Shapes::ShapeRef.new(shape: InstanceTypes, location_name: "InstanceType"))
|
8990
9029
|
GetSpotPlacementScoresRequest.add_member(:target_capacity, Shapes::ShapeRef.new(shape: SpotPlacementScoresTargetCapacity, required: true, location_name: "TargetCapacity"))
|
8991
9030
|
GetSpotPlacementScoresRequest.add_member(:target_capacity_unit_type, Shapes::ShapeRef.new(shape: TargetCapacityUnitType, location_name: "TargetCapacityUnitType"))
|
@@ -9614,6 +9653,13 @@ module Aws::EC2
|
|
9614
9653
|
Instance.add_member(:current_instance_boot_mode, Shapes::ShapeRef.new(shape: InstanceBootModeValues, location_name: "currentInstanceBootMode"))
|
9615
9654
|
Instance.struct_class = Types::Instance
|
9616
9655
|
|
9656
|
+
InstanceAttachmentEnaSrdSpecification.add_member(:ena_srd_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSrdEnabled"))
|
9657
|
+
InstanceAttachmentEnaSrdSpecification.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: InstanceAttachmentEnaSrdUdpSpecification, location_name: "enaSrdUdpSpecification"))
|
9658
|
+
InstanceAttachmentEnaSrdSpecification.struct_class = Types::InstanceAttachmentEnaSrdSpecification
|
9659
|
+
|
9660
|
+
InstanceAttachmentEnaSrdUdpSpecification.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSrdUdpEnabled"))
|
9661
|
+
InstanceAttachmentEnaSrdUdpSpecification.struct_class = Types::InstanceAttachmentEnaSrdUdpSpecification
|
9662
|
+
|
9617
9663
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
9618
9664
|
InstanceAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappingList, location_name: "blockDeviceMapping"))
|
9619
9665
|
InstanceAttribute.add_member(:disable_api_termination, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "disableApiTermination"))
|
@@ -9825,6 +9871,7 @@ module Aws::EC2
|
|
9825
9871
|
InstanceNetworkInterfaceAttachment.add_member(:device_index, Shapes::ShapeRef.new(shape: Integer, location_name: "deviceIndex"))
|
9826
9872
|
InstanceNetworkInterfaceAttachment.add_member(:status, Shapes::ShapeRef.new(shape: AttachmentStatus, location_name: "status"))
|
9827
9873
|
InstanceNetworkInterfaceAttachment.add_member(:network_card_index, Shapes::ShapeRef.new(shape: Integer, location_name: "networkCardIndex"))
|
9874
|
+
InstanceNetworkInterfaceAttachment.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: InstanceAttachmentEnaSrdSpecification, location_name: "enaSrdSpecification"))
|
9828
9875
|
InstanceNetworkInterfaceAttachment.struct_class = Types::InstanceNetworkInterfaceAttachment
|
9829
9876
|
|
9830
9877
|
InstanceNetworkInterfaceList.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterface, location_name: "item")
|
@@ -9849,6 +9896,7 @@ module Aws::EC2
|
|
9849
9896
|
InstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixList, location_name: "Ipv6Prefix"))
|
9850
9897
|
InstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
9851
9898
|
InstanceNetworkInterfaceSpecification.add_member(:primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrimaryIpv6"))
|
9899
|
+
InstanceNetworkInterfaceSpecification.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: EnaSrdSpecificationRequest, location_name: "EnaSrdSpecification"))
|
9852
9900
|
InstanceNetworkInterfaceSpecification.struct_class = Types::InstanceNetworkInterfaceSpecification
|
9853
9901
|
|
9854
9902
|
InstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecification, location_name: "item")
|
@@ -10466,6 +10514,13 @@ module Aws::EC2
|
|
10466
10514
|
|
10467
10515
|
LaunchTemplateElasticInferenceAcceleratorResponseList.member = Shapes::ShapeRef.new(shape: LaunchTemplateElasticInferenceAcceleratorResponse, location_name: "item")
|
10468
10516
|
|
10517
|
+
LaunchTemplateEnaSrdSpecification.add_member(:ena_srd_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSrdEnabled"))
|
10518
|
+
LaunchTemplateEnaSrdSpecification.add_member(:ena_srd_udp_specification, Shapes::ShapeRef.new(shape: LaunchTemplateEnaSrdUdpSpecification, location_name: "enaSrdUdpSpecification"))
|
10519
|
+
LaunchTemplateEnaSrdSpecification.struct_class = Types::LaunchTemplateEnaSrdSpecification
|
10520
|
+
|
10521
|
+
LaunchTemplateEnaSrdUdpSpecification.add_member(:ena_srd_udp_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enaSrdUdpEnabled"))
|
10522
|
+
LaunchTemplateEnaSrdUdpSpecification.struct_class = Types::LaunchTemplateEnaSrdUdpSpecification
|
10523
|
+
|
10469
10524
|
LaunchTemplateEnclaveOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
10470
10525
|
LaunchTemplateEnclaveOptions.struct_class = Types::LaunchTemplateEnclaveOptions
|
10471
10526
|
|
@@ -10537,6 +10592,7 @@ module Aws::EC2
|
|
10537
10592
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixListResponse, location_name: "ipv6PrefixSet"))
|
10538
10593
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ipv6PrefixCount"))
|
10539
10594
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "primaryIpv6"))
|
10595
|
+
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: LaunchTemplateEnaSrdSpecification, location_name: "enaSrdSpecification"))
|
10540
10596
|
LaunchTemplateInstanceNetworkInterfaceSpecification.struct_class = Types::LaunchTemplateInstanceNetworkInterfaceSpecification
|
10541
10597
|
|
10542
10598
|
LaunchTemplateInstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: LaunchTemplateInstanceNetworkInterfaceSpecification, location_name: "item")
|
@@ -10561,6 +10617,7 @@ module Aws::EC2
|
|
10561
10617
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_6_prefixes, Shapes::ShapeRef.new(shape: Ipv6PrefixList, location_name: "Ipv6Prefix"))
|
10562
10618
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
10563
10619
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrimaryIpv6"))
|
10620
|
+
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:ena_srd_specification, Shapes::ShapeRef.new(shape: EnaSrdSpecificationRequest, location_name: "EnaSrdSpecification"))
|
10564
10621
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.struct_class = Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest
|
10565
10622
|
|
10566
10623
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList.member = Shapes::ShapeRef.new(shape: LaunchTemplateInstanceNetworkInterfaceSpecificationRequest, location_name: "InstanceNetworkInterfaceSpecification")
|
@@ -18872,6 +18929,14 @@ module Aws::EC2
|
|
18872
18929
|
o.output = Shapes::ShapeRef.new(shape: DisableSerialConsoleAccessResult)
|
18873
18930
|
end)
|
18874
18931
|
|
18932
|
+
api.add_operation(:disable_snapshot_block_public_access, Seahorse::Model::Operation.new.tap do |o|
|
18933
|
+
o.name = "DisableSnapshotBlockPublicAccess"
|
18934
|
+
o.http_method = "POST"
|
18935
|
+
o.http_request_uri = "/"
|
18936
|
+
o.input = Shapes::ShapeRef.new(shape: DisableSnapshotBlockPublicAccessRequest)
|
18937
|
+
o.output = Shapes::ShapeRef.new(shape: DisableSnapshotBlockPublicAccessResult)
|
18938
|
+
end)
|
18939
|
+
|
18875
18940
|
api.add_operation(:disable_transit_gateway_route_table_propagation, Seahorse::Model::Operation.new.tap do |o|
|
18876
18941
|
o.name = "DisableTransitGatewayRouteTablePropagation"
|
18877
18942
|
o.http_method = "POST"
|
@@ -19104,6 +19169,14 @@ module Aws::EC2
|
|
19104
19169
|
o.output = Shapes::ShapeRef.new(shape: EnableSerialConsoleAccessResult)
|
19105
19170
|
end)
|
19106
19171
|
|
19172
|
+
api.add_operation(:enable_snapshot_block_public_access, Seahorse::Model::Operation.new.tap do |o|
|
19173
|
+
o.name = "EnableSnapshotBlockPublicAccess"
|
19174
|
+
o.http_method = "POST"
|
19175
|
+
o.http_request_uri = "/"
|
19176
|
+
o.input = Shapes::ShapeRef.new(shape: EnableSnapshotBlockPublicAccessRequest)
|
19177
|
+
o.output = Shapes::ShapeRef.new(shape: EnableSnapshotBlockPublicAccessResult)
|
19178
|
+
end)
|
19179
|
+
|
19107
19180
|
api.add_operation(:enable_transit_gateway_route_table_propagation, Seahorse::Model::Operation.new.tap do |o|
|
19108
19181
|
o.name = "EnableTransitGatewayRouteTablePropagation"
|
19109
19182
|
o.http_method = "POST"
|
@@ -19508,6 +19581,14 @@ module Aws::EC2
|
|
19508
19581
|
o.output = Shapes::ShapeRef.new(shape: GetSerialConsoleAccessStatusResult)
|
19509
19582
|
end)
|
19510
19583
|
|
19584
|
+
api.add_operation(:get_snapshot_block_public_access_state, Seahorse::Model::Operation.new.tap do |o|
|
19585
|
+
o.name = "GetSnapshotBlockPublicAccessState"
|
19586
|
+
o.http_method = "POST"
|
19587
|
+
o.http_request_uri = "/"
|
19588
|
+
o.input = Shapes::ShapeRef.new(shape: GetSnapshotBlockPublicAccessStateRequest)
|
19589
|
+
o.output = Shapes::ShapeRef.new(shape: GetSnapshotBlockPublicAccessStateResult)
|
19590
|
+
end)
|
19591
|
+
|
19511
19592
|
api.add_operation(:get_spot_placement_scores, Seahorse::Model::Operation.new.tap do |o|
|
19512
19593
|
o.name = "GetSpotPlacementScores"
|
19513
19594
|
o.http_method = "POST"
|
@@ -5318,6 +5318,20 @@ module Aws::EC2
|
|
5318
5318
|
end
|
5319
5319
|
end
|
5320
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
|
+
|
5321
5335
|
class DisableTransitGatewayRouteTablePropagation
|
5322
5336
|
def self.build(context)
|
5323
5337
|
unless context.config.regional_endpoint
|
@@ -5724,6 +5738,20 @@ module Aws::EC2
|
|
5724
5738
|
end
|
5725
5739
|
end
|
5726
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
|
+
|
5727
5755
|
class EnableTransitGatewayRouteTablePropagation
|
5728
5756
|
def self.build(context)
|
5729
5757
|
unless context.config.regional_endpoint
|
@@ -6284,6 +6312,20 @@ module Aws::EC2
|
|
6284
6312
|
end
|
6285
6313
|
end
|
6286
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
|
+
|
6287
6329
|
class GetSpotPlacementScores
|
6288
6330
|
def self.build(context)
|
6289
6331
|
unless context.config.regional_endpoint
|
@@ -334,8 +334,9 @@ module Aws::EC2
|
|
334
334
|
#
|
335
335
|
# * `instance-id` - The ID of the instance.
|
336
336
|
#
|
337
|
-
# * `instance-lifecycle` - Indicates whether this is a Spot Instance
|
338
|
-
#
|
337
|
+
# * `instance-lifecycle` - Indicates whether this is a Spot Instance, a
|
338
|
+
# Scheduled Instance, or a Capacity Block (`spot` \| `scheduled` \|
|
339
|
+
# `capacity-block`).
|
339
340
|
#
|
340
341
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
341
342
|
# unsigned integer. The high byte is used for internal purposes and
|
@@ -814,6 +814,8 @@ module Aws::EC2
|
|
814
814
|
Aws::EC2::Endpoints::DisableIpamOrganizationAdminAccount.build(context)
|
815
815
|
when :disable_serial_console_access
|
816
816
|
Aws::EC2::Endpoints::DisableSerialConsoleAccess.build(context)
|
817
|
+
when :disable_snapshot_block_public_access
|
818
|
+
Aws::EC2::Endpoints::DisableSnapshotBlockPublicAccess.build(context)
|
817
819
|
when :disable_transit_gateway_route_table_propagation
|
818
820
|
Aws::EC2::Endpoints::DisableTransitGatewayRouteTablePropagation.build(context)
|
819
821
|
when :disable_vgw_route_propagation
|
@@ -872,6 +874,8 @@ module Aws::EC2
|
|
872
874
|
Aws::EC2::Endpoints::EnableReachabilityAnalyzerOrganizationSharing.build(context)
|
873
875
|
when :enable_serial_console_access
|
874
876
|
Aws::EC2::Endpoints::EnableSerialConsoleAccess.build(context)
|
877
|
+
when :enable_snapshot_block_public_access
|
878
|
+
Aws::EC2::Endpoints::EnableSnapshotBlockPublicAccess.build(context)
|
875
879
|
when :enable_transit_gateway_route_table_propagation
|
876
880
|
Aws::EC2::Endpoints::EnableTransitGatewayRouteTablePropagation.build(context)
|
877
881
|
when :enable_vgw_route_propagation
|
@@ -952,6 +956,8 @@ module Aws::EC2
|
|
952
956
|
Aws::EC2::Endpoints::GetSecurityGroupsForVpc.build(context)
|
953
957
|
when :get_serial_console_access_status
|
954
958
|
Aws::EC2::Endpoints::GetSerialConsoleAccessStatus.build(context)
|
959
|
+
when :get_snapshot_block_public_access_state
|
960
|
+
Aws::EC2::Endpoints::GetSnapshotBlockPublicAccessState.build(context)
|
955
961
|
when :get_spot_placement_scores
|
956
962
|
Aws::EC2::Endpoints::GetSpotPlacementScores.build(context)
|
957
963
|
when :get_subnet_cidr_reservations
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -182,6 +182,12 @@ module Aws::EC2
|
|
182
182
|
# ],
|
183
183
|
# ipv_6_prefix_count: 1,
|
184
184
|
# primary_ipv_6: false,
|
185
|
+
# ena_srd_specification: {
|
186
|
+
# ena_srd_enabled: false,
|
187
|
+
# ena_srd_udp_specification: {
|
188
|
+
# ena_srd_udp_enabled: false,
|
189
|
+
# },
|
190
|
+
# },
|
185
191
|
# },
|
186
192
|
# ],
|
187
193
|
# private_ip_address: "String",
|
@@ -2459,8 +2465,9 @@ module Aws::EC2
|
|
2459
2465
|
#
|
2460
2466
|
# * `instance-id` - The ID of the instance.
|
2461
2467
|
#
|
2462
|
-
# * `instance-lifecycle` - Indicates whether this is a Spot Instance
|
2463
|
-
#
|
2468
|
+
# * `instance-lifecycle` - Indicates whether this is a Spot Instance, a
|
2469
|
+
# Scheduled Instance, or a Capacity Block (`spot` \| `scheduled` \|
|
2470
|
+
# `capacity-block`).
|
2464
2471
|
#
|
2465
2472
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
2466
2473
|
# unsigned integer. The high byte is used for internal purposes and
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -408,6 +408,12 @@ module Aws::EC2
|
|
408
408
|
# ],
|
409
409
|
# ipv_6_prefix_count: 1,
|
410
410
|
# primary_ipv_6: false,
|
411
|
+
# ena_srd_specification: {
|
412
|
+
# ena_srd_enabled: false,
|
413
|
+
# ena_srd_udp_specification: {
|
414
|
+
# ena_srd_udp_enabled: false,
|
415
|
+
# },
|
416
|
+
# },
|
411
417
|
# },
|
412
418
|
# ],
|
413
419
|
# private_ip_address: "String",
|
@@ -1228,8 +1234,9 @@ module Aws::EC2
|
|
1228
1234
|
#
|
1229
1235
|
# * `instance-id` - The ID of the instance.
|
1230
1236
|
#
|
1231
|
-
# * `instance-lifecycle` - Indicates whether this is a Spot Instance
|
1232
|
-
#
|
1237
|
+
# * `instance-lifecycle` - Indicates whether this is a Spot Instance, a
|
1238
|
+
# Scheduled Instance, or a Capacity Block (`spot` \| `scheduled` \|
|
1239
|
+
# `capacity-block`).
|
1233
1240
|
#
|
1234
1241
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
1235
1242
|
# unsigned integer. The high byte is used for internal purposes and
|