aws-sdk-ec2 1.226.0 → 1.231.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -151,6 +151,9 @@ module Aws::EC2
151
151
  BlockDeviceMappingList = Shapes::ListShape.new(name: 'BlockDeviceMappingList')
152
152
  BlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'BlockDeviceMappingRequestList')
153
153
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
154
+ BootModeType = Shapes::StringShape.new(name: 'BootModeType')
155
+ BootModeTypeList = Shapes::ListShape.new(name: 'BootModeTypeList')
156
+ BootModeValues = Shapes::StringShape.new(name: 'BootModeValues')
154
157
  BundleId = Shapes::StringShape.new(name: 'BundleId')
155
158
  BundleIdStringList = Shapes::ListShape.new(name: 'BundleIdStringList')
156
159
  BundleInstanceRequest = Shapes::StructureShape.new(name: 'BundleInstanceRequest')
@@ -340,6 +343,8 @@ module Aws::EC2
340
343
  CreateNetworkInterfaceResult = Shapes::StructureShape.new(name: 'CreateNetworkInterfaceResult')
341
344
  CreatePlacementGroupRequest = Shapes::StructureShape.new(name: 'CreatePlacementGroupRequest')
342
345
  CreatePlacementGroupResult = Shapes::StructureShape.new(name: 'CreatePlacementGroupResult')
346
+ CreateReplaceRootVolumeTaskRequest = Shapes::StructureShape.new(name: 'CreateReplaceRootVolumeTaskRequest')
347
+ CreateReplaceRootVolumeTaskResult = Shapes::StructureShape.new(name: 'CreateReplaceRootVolumeTaskResult')
343
348
  CreateReservedInstancesListingRequest = Shapes::StructureShape.new(name: 'CreateReservedInstancesListingRequest')
344
349
  CreateReservedInstancesListingResult = Shapes::StructureShape.new(name: 'CreateReservedInstancesListingResult')
345
350
  CreateRouteRequest = Shapes::StructureShape.new(name: 'CreateRouteRequest')
@@ -708,6 +713,9 @@ module Aws::EC2
708
713
  DescribePublicIpv4PoolsResult = Shapes::StructureShape.new(name: 'DescribePublicIpv4PoolsResult')
709
714
  DescribeRegionsRequest = Shapes::StructureShape.new(name: 'DescribeRegionsRequest')
710
715
  DescribeRegionsResult = Shapes::StructureShape.new(name: 'DescribeRegionsResult')
716
+ DescribeReplaceRootVolumeTasksMaxResults = Shapes::IntegerShape.new(name: 'DescribeReplaceRootVolumeTasksMaxResults')
717
+ DescribeReplaceRootVolumeTasksRequest = Shapes::StructureShape.new(name: 'DescribeReplaceRootVolumeTasksRequest')
718
+ DescribeReplaceRootVolumeTasksResult = Shapes::StructureShape.new(name: 'DescribeReplaceRootVolumeTasksResult')
711
719
  DescribeReservedInstancesListingsRequest = Shapes::StructureShape.new(name: 'DescribeReservedInstancesListingsRequest')
712
720
  DescribeReservedInstancesListingsResult = Shapes::StructureShape.new(name: 'DescribeReservedInstancesListingsResult')
713
721
  DescribeReservedInstancesModificationsRequest = Shapes::StructureShape.new(name: 'DescribeReservedInstancesModificationsRequest')
@@ -843,6 +851,8 @@ module Aws::EC2
843
851
  DisableFastSnapshotRestoreSuccessSet = Shapes::ListShape.new(name: 'DisableFastSnapshotRestoreSuccessSet')
844
852
  DisableFastSnapshotRestoresRequest = Shapes::StructureShape.new(name: 'DisableFastSnapshotRestoresRequest')
845
853
  DisableFastSnapshotRestoresResult = Shapes::StructureShape.new(name: 'DisableFastSnapshotRestoresResult')
854
+ DisableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessRequest')
855
+ DisableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessResult')
846
856
  DisableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationRequest')
847
857
  DisableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationResult')
848
858
  DisableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'DisableVgwRoutePropagationRequest')
@@ -892,6 +902,7 @@ module Aws::EC2
892
902
  EbsNvmeSupport = Shapes::StringShape.new(name: 'EbsNvmeSupport')
893
903
  EbsOptimizedInfo = Shapes::StructureShape.new(name: 'EbsOptimizedInfo')
894
904
  EbsOptimizedSupport = Shapes::StringShape.new(name: 'EbsOptimizedSupport')
905
+ EfaInfo = Shapes::StructureShape.new(name: 'EfaInfo')
895
906
  EfaSupportedFlag = Shapes::BooleanShape.new(name: 'EfaSupportedFlag')
896
907
  EgressOnlyInternetGateway = Shapes::StructureShape.new(name: 'EgressOnlyInternetGateway')
897
908
  EgressOnlyInternetGatewayId = Shapes::StringShape.new(name: 'EgressOnlyInternetGatewayId')
@@ -929,6 +940,8 @@ module Aws::EC2
929
940
  EnableFastSnapshotRestoreSuccessSet = Shapes::ListShape.new(name: 'EnableFastSnapshotRestoreSuccessSet')
930
941
  EnableFastSnapshotRestoresRequest = Shapes::StructureShape.new(name: 'EnableFastSnapshotRestoresRequest')
931
942
  EnableFastSnapshotRestoresResult = Shapes::StructureShape.new(name: 'EnableFastSnapshotRestoresResult')
943
+ EnableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessRequest')
944
+ EnableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessResult')
932
945
  EnableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationRequest')
933
946
  EnableTransitGatewayRouteTablePropagationResult = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationResult')
934
947
  EnableVgwRoutePropagationRequest = Shapes::StructureShape.new(name: 'EnableVgwRoutePropagationRequest')
@@ -1066,6 +1079,8 @@ module Aws::EC2
1066
1079
  GetPasswordDataResult = Shapes::StructureShape.new(name: 'GetPasswordDataResult')
1067
1080
  GetReservedInstancesExchangeQuoteRequest = Shapes::StructureShape.new(name: 'GetReservedInstancesExchangeQuoteRequest')
1068
1081
  GetReservedInstancesExchangeQuoteResult = Shapes::StructureShape.new(name: 'GetReservedInstancesExchangeQuoteResult')
1082
+ GetSerialConsoleAccessStatusRequest = Shapes::StructureShape.new(name: 'GetSerialConsoleAccessStatusRequest')
1083
+ GetSerialConsoleAccessStatusResult = Shapes::StructureShape.new(name: 'GetSerialConsoleAccessStatusResult')
1069
1084
  GetTransitGatewayAttachmentPropagationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayAttachmentPropagationsRequest')
1070
1085
  GetTransitGatewayAttachmentPropagationsResult = Shapes::StructureShape.new(name: 'GetTransitGatewayAttachmentPropagationsResult')
1071
1086
  GetTransitGatewayMulticastDomainAssociationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayMulticastDomainAssociationsRequest')
@@ -1404,6 +1419,7 @@ module Aws::EC2
1404
1419
  MaxNetworkInterfaces = Shapes::IntegerShape.new(name: 'MaxNetworkInterfaces')
1405
1420
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
1406
1421
  MaximumBandwidthInMbps = Shapes::IntegerShape.new(name: 'MaximumBandwidthInMbps')
1422
+ MaximumEfaInterfaces = Shapes::IntegerShape.new(name: 'MaximumEfaInterfaces')
1407
1423
  MaximumIops = Shapes::IntegerShape.new(name: 'MaximumIops')
1408
1424
  MaximumNetworkCards = Shapes::IntegerShape.new(name: 'MaximumNetworkCards')
1409
1425
  MaximumThroughputInMBps = Shapes::FloatShape.new(name: 'MaximumThroughputInMBps')
@@ -1723,6 +1739,11 @@ module Aws::EC2
1723
1739
  ReplaceNetworkAclAssociationRequest = Shapes::StructureShape.new(name: 'ReplaceNetworkAclAssociationRequest')
1724
1740
  ReplaceNetworkAclAssociationResult = Shapes::StructureShape.new(name: 'ReplaceNetworkAclAssociationResult')
1725
1741
  ReplaceNetworkAclEntryRequest = Shapes::StructureShape.new(name: 'ReplaceNetworkAclEntryRequest')
1742
+ ReplaceRootVolumeTask = Shapes::StructureShape.new(name: 'ReplaceRootVolumeTask')
1743
+ ReplaceRootVolumeTaskId = Shapes::StringShape.new(name: 'ReplaceRootVolumeTaskId')
1744
+ ReplaceRootVolumeTaskIds = Shapes::ListShape.new(name: 'ReplaceRootVolumeTaskIds')
1745
+ ReplaceRootVolumeTaskState = Shapes::StringShape.new(name: 'ReplaceRootVolumeTaskState')
1746
+ ReplaceRootVolumeTasks = Shapes::ListShape.new(name: 'ReplaceRootVolumeTasks')
1726
1747
  ReplaceRouteRequest = Shapes::StructureShape.new(name: 'ReplaceRouteRequest')
1727
1748
  ReplaceRouteTableAssociationRequest = Shapes::StructureShape.new(name: 'ReplaceRouteTableAssociationRequest')
1728
1749
  ReplaceRouteTableAssociationResult = Shapes::StructureShape.new(name: 'ReplaceRouteTableAssociationResult')
@@ -2712,6 +2733,8 @@ module Aws::EC2
2712
2733
 
2713
2734
  BlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: BlockDeviceMapping, location_name: "BlockDeviceMapping")
2714
2735
 
2736
+ BootModeTypeList.member = Shapes::ShapeRef.new(shape: BootModeType, location_name: "item")
2737
+
2715
2738
  BundleIdStringList.member = Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId")
2716
2739
 
2717
2740
  BundleInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -3383,8 +3406,8 @@ module Aws::EC2
3383
3406
 
3384
3407
  CreateLocalGatewayRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
3385
3408
  CreateLocalGatewayRouteRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
3386
- CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
3387
3409
  CreateLocalGatewayRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3410
+ CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
3388
3411
  CreateLocalGatewayRouteRequest.struct_class = Types::CreateLocalGatewayRouteRequest
3389
3412
 
3390
3413
  CreateLocalGatewayRouteResult.add_member(:route, Shapes::ShapeRef.new(shape: LocalGatewayRoute, location_name: "route"))
@@ -3492,6 +3515,16 @@ module Aws::EC2
3492
3515
  CreatePlacementGroupResult.add_member(:placement_group, Shapes::ShapeRef.new(shape: PlacementGroup, location_name: "placementGroup"))
3493
3516
  CreatePlacementGroupResult.struct_class = Types::CreatePlacementGroupResult
3494
3517
 
3518
+ CreateReplaceRootVolumeTaskRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
3519
+ CreateReplaceRootVolumeTaskRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
3520
+ CreateReplaceRootVolumeTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
3521
+ CreateReplaceRootVolumeTaskRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3522
+ CreateReplaceRootVolumeTaskRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3523
+ CreateReplaceRootVolumeTaskRequest.struct_class = Types::CreateReplaceRootVolumeTaskRequest
3524
+
3525
+ CreateReplaceRootVolumeTaskResult.add_member(:replace_root_volume_task, Shapes::ShapeRef.new(shape: ReplaceRootVolumeTask, location_name: "replaceRootVolumeTask"))
3526
+ CreateReplaceRootVolumeTaskResult.struct_class = Types::CreateReplaceRootVolumeTaskResult
3527
+
3495
3528
  CreateReservedInstancesListingRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clientToken"))
3496
3529
  CreateReservedInstancesListingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "instanceCount"))
3497
3530
  CreateReservedInstancesListingRequest.add_member(:price_schedules, Shapes::ShapeRef.new(shape: PriceScheduleSpecificationList, required: true, location_name: "priceSchedules"))
@@ -5069,6 +5102,17 @@ module Aws::EC2
5069
5102
  DescribeRegionsResult.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "regionInfo"))
5070
5103
  DescribeRegionsResult.struct_class = Types::DescribeRegionsResult
5071
5104
 
5105
+ DescribeReplaceRootVolumeTasksRequest.add_member(:replace_root_volume_task_ids, Shapes::ShapeRef.new(shape: ReplaceRootVolumeTaskIds, location_name: "ReplaceRootVolumeTaskId"))
5106
+ DescribeReplaceRootVolumeTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
5107
+ DescribeReplaceRootVolumeTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeReplaceRootVolumeTasksMaxResults, location_name: "MaxResults"))
5108
+ DescribeReplaceRootVolumeTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
5109
+ DescribeReplaceRootVolumeTasksRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5110
+ DescribeReplaceRootVolumeTasksRequest.struct_class = Types::DescribeReplaceRootVolumeTasksRequest
5111
+
5112
+ DescribeReplaceRootVolumeTasksResult.add_member(:replace_root_volume_tasks, Shapes::ShapeRef.new(shape: ReplaceRootVolumeTasks, location_name: "replaceRootVolumeTaskSet"))
5113
+ DescribeReplaceRootVolumeTasksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
5114
+ DescribeReplaceRootVolumeTasksResult.struct_class = Types::DescribeReplaceRootVolumeTasksResult
5115
+
5072
5116
  DescribeReservedInstancesListingsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
5073
5117
  DescribeReservedInstancesListingsRequest.add_member(:reserved_instances_id, Shapes::ShapeRef.new(shape: ReservationId, location_name: "reservedInstancesId"))
5074
5118
  DescribeReservedInstancesListingsRequest.add_member(:reserved_instances_listing_id, Shapes::ShapeRef.new(shape: ReservedInstancesListingId, location_name: "reservedInstancesListingId"))
@@ -5690,6 +5734,12 @@ module Aws::EC2
5690
5734
  DisableFastSnapshotRestoresResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoreErrorSet, location_name: "unsuccessful"))
5691
5735
  DisableFastSnapshotRestoresResult.struct_class = Types::DisableFastSnapshotRestoresResult
5692
5736
 
5737
+ DisableSerialConsoleAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5738
+ DisableSerialConsoleAccessRequest.struct_class = Types::DisableSerialConsoleAccessRequest
5739
+
5740
+ DisableSerialConsoleAccessResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
5741
+ DisableSerialConsoleAccessResult.struct_class = Types::DisableSerialConsoleAccessResult
5742
+
5693
5743
  DisableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableId, required: true, location_name: "TransitGatewayRouteTableId"))
5694
5744
  DisableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
5695
5745
  DisableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -5854,6 +5904,9 @@ module Aws::EC2
5854
5904
  EbsOptimizedInfo.add_member(:maximum_iops, Shapes::ShapeRef.new(shape: MaximumIops, location_name: "maximumIops"))
5855
5905
  EbsOptimizedInfo.struct_class = Types::EbsOptimizedInfo
5856
5906
 
5907
+ EfaInfo.add_member(:maximum_efa_interfaces, Shapes::ShapeRef.new(shape: MaximumEfaInterfaces, location_name: "maximumEfaInterfaces"))
5908
+ EfaInfo.struct_class = Types::EfaInfo
5909
+
5857
5910
  EgressOnlyInternetGateway.add_member(:attachments, Shapes::ShapeRef.new(shape: InternetGatewayAttachmentList, location_name: "attachmentSet"))
5858
5911
  EgressOnlyInternetGateway.add_member(:egress_only_internet_gateway_id, Shapes::ShapeRef.new(shape: EgressOnlyInternetGatewayId, location_name: "egressOnlyInternetGatewayId"))
5859
5912
  EgressOnlyInternetGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
@@ -5959,6 +6012,12 @@ module Aws::EC2
5959
6012
  EnableFastSnapshotRestoresResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoreErrorSet, location_name: "unsuccessful"))
5960
6013
  EnableFastSnapshotRestoresResult.struct_class = Types::EnableFastSnapshotRestoresResult
5961
6014
 
6015
+ EnableSerialConsoleAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6016
+ EnableSerialConsoleAccessRequest.struct_class = Types::EnableSerialConsoleAccessRequest
6017
+
6018
+ EnableSerialConsoleAccessResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
6019
+ EnableSerialConsoleAccessResult.struct_class = Types::EnableSerialConsoleAccessResult
6020
+
5962
6021
  EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_route_table_id, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableId, required: true, location_name: "TransitGatewayRouteTableId"))
5963
6022
  EnableTransitGatewayRouteTablePropagationRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
5964
6023
  EnableTransitGatewayRouteTablePropagationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -6474,6 +6533,12 @@ module Aws::EC2
6474
6533
  GetReservedInstancesExchangeQuoteResult.add_member(:validation_failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "validationFailureReason"))
6475
6534
  GetReservedInstancesExchangeQuoteResult.struct_class = Types::GetReservedInstancesExchangeQuoteResult
6476
6535
 
6536
+ GetSerialConsoleAccessStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6537
+ GetSerialConsoleAccessStatusRequest.struct_class = Types::GetSerialConsoleAccessStatusRequest
6538
+
6539
+ GetSerialConsoleAccessStatusResult.add_member(:serial_console_access_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "serialConsoleAccessEnabled"))
6540
+ GetSerialConsoleAccessStatusResult.struct_class = Types::GetSerialConsoleAccessStatusResult
6541
+
6477
6542
  GetTransitGatewayAttachmentPropagationsRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
6478
6543
  GetTransitGatewayAttachmentPropagationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
6479
6544
  GetTransitGatewayAttachmentPropagationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TransitGatewayMaxResults, location_name: "MaxResults"))
@@ -6708,6 +6773,7 @@ module Aws::EC2
6708
6773
  Image.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "stateReason"))
6709
6774
  Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
6710
6775
  Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
6776
+ Image.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
6711
6777
  Image.struct_class = Types::Image
6712
6778
 
6713
6779
  ImageAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
@@ -6718,6 +6784,7 @@ module Aws::EC2
6718
6784
  ImageAttribute.add_member(:kernel_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "kernel"))
6719
6785
  ImageAttribute.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "ramdisk"))
6720
6786
  ImageAttribute.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "sriovNetSupport"))
6787
+ ImageAttribute.add_member(:boot_mode, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "bootMode"))
6721
6788
  ImageAttribute.struct_class = Types::ImageAttribute
6722
6789
 
6723
6790
  ImageDiskContainer.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
@@ -6962,6 +7029,7 @@ module Aws::EC2
6962
7029
  Instance.add_member(:licenses, Shapes::ShapeRef.new(shape: LicenseList, location_name: "licenseSet"))
6963
7030
  Instance.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsResponse, location_name: "metadataOptions"))
6964
7031
  Instance.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptions, location_name: "enclaveOptions"))
7032
+ Instance.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
6965
7033
  Instance.struct_class = Types::Instance
6966
7034
 
6967
7035
  InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
@@ -7208,6 +7276,7 @@ module Aws::EC2
7208
7276
  InstanceTypeInfo.add_member(:burstable_performance_supported, Shapes::ShapeRef.new(shape: BurstablePerformanceFlag, location_name: "burstablePerformanceSupported"))
7209
7277
  InstanceTypeInfo.add_member(:dedicated_hosts_supported, Shapes::ShapeRef.new(shape: DedicatedHostFlag, location_name: "dedicatedHostsSupported"))
7210
7278
  InstanceTypeInfo.add_member(:auto_recovery_supported, Shapes::ShapeRef.new(shape: AutoRecoveryFlag, location_name: "autoRecoverySupported"))
7279
+ InstanceTypeInfo.add_member(:supported_boot_modes, Shapes::ShapeRef.new(shape: BootModeTypeList, location_name: "supportedBootModes"))
7211
7280
  InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
7212
7281
 
7213
7282
  InstanceTypeInfoList.member = Shapes::ShapeRef.new(shape: InstanceTypeInfo, location_name: "item")
@@ -8311,6 +8380,7 @@ module Aws::EC2
8311
8380
  NetworkInfo.add_member(:ipv_6_supported, Shapes::ShapeRef.new(shape: Ipv6Flag, location_name: "ipv6Supported"))
8312
8381
  NetworkInfo.add_member(:ena_support, Shapes::ShapeRef.new(shape: EnaSupport, location_name: "enaSupport"))
8313
8382
  NetworkInfo.add_member(:efa_supported, Shapes::ShapeRef.new(shape: EfaSupportedFlag, location_name: "efaSupported"))
8383
+ NetworkInfo.add_member(:efa_info, Shapes::ShapeRef.new(shape: EfaInfo, location_name: "efaInfo"))
8314
8384
  NetworkInfo.struct_class = Types::NetworkInfo
8315
8385
 
8316
8386
  NetworkInsightsAnalysis.add_member(:network_insights_analysis_id, Shapes::ShapeRef.new(shape: NetworkInsightsAnalysisId, location_name: "networkInsightsAnalysisId"))
@@ -8827,6 +8897,7 @@ module Aws::EC2
8827
8897
  RegisterImageRequest.add_member(:root_device_name, Shapes::ShapeRef.new(shape: String, location_name: "rootDeviceName"))
8828
8898
  RegisterImageRequest.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: String, location_name: "sriovNetSupport"))
8829
8899
  RegisterImageRequest.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: String, location_name: "virtualizationType"))
8900
+ RegisterImageRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "BootMode"))
8830
8901
  RegisterImageRequest.struct_class = Types::RegisterImageRequest
8831
8902
 
8832
8903
  RegisterImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
@@ -8944,6 +9015,18 @@ module Aws::EC2
8944
9015
  ReplaceNetworkAclEntryRequest.add_member(:rule_number, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ruleNumber"))
8945
9016
  ReplaceNetworkAclEntryRequest.struct_class = Types::ReplaceNetworkAclEntryRequest
8946
9017
 
9018
+ ReplaceRootVolumeTask.add_member(:replace_root_volume_task_id, Shapes::ShapeRef.new(shape: ReplaceRootVolumeTaskId, location_name: "replaceRootVolumeTaskId"))
9019
+ ReplaceRootVolumeTask.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
9020
+ ReplaceRootVolumeTask.add_member(:task_state, Shapes::ShapeRef.new(shape: ReplaceRootVolumeTaskState, location_name: "taskState"))
9021
+ ReplaceRootVolumeTask.add_member(:start_time, Shapes::ShapeRef.new(shape: String, location_name: "startTime"))
9022
+ ReplaceRootVolumeTask.add_member(:complete_time, Shapes::ShapeRef.new(shape: String, location_name: "completeTime"))
9023
+ ReplaceRootVolumeTask.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
9024
+ ReplaceRootVolumeTask.struct_class = Types::ReplaceRootVolumeTask
9025
+
9026
+ ReplaceRootVolumeTaskIds.member = Shapes::ShapeRef.new(shape: ReplaceRootVolumeTaskId, location_name: "ReplaceRootVolumeTaskId")
9027
+
9028
+ ReplaceRootVolumeTasks.member = Shapes::ShapeRef.new(shape: ReplaceRootVolumeTask, location_name: "item")
9029
+
8947
9030
  ReplaceRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationCidrBlock"))
8948
9031
  ReplaceRouteRequest.add_member(:destination_ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "destinationIpv6CidrBlock"))
8949
9032
  ReplaceRouteRequest.add_member(:destination_prefix_list_id, Shapes::ShapeRef.new(shape: PrefixListResourceId, location_name: "DestinationPrefixListId"))
@@ -11508,6 +11591,14 @@ module Aws::EC2
11508
11591
  o.output = Shapes::ShapeRef.new(shape: CreatePlacementGroupResult)
11509
11592
  end)
11510
11593
 
11594
+ api.add_operation(:create_replace_root_volume_task, Seahorse::Model::Operation.new.tap do |o|
11595
+ o.name = "CreateReplaceRootVolumeTask"
11596
+ o.http_method = "POST"
11597
+ o.http_request_uri = "/"
11598
+ o.input = Shapes::ShapeRef.new(shape: CreateReplaceRootVolumeTaskRequest)
11599
+ o.output = Shapes::ShapeRef.new(shape: CreateReplaceRootVolumeTaskResult)
11600
+ end)
11601
+
11511
11602
  api.add_operation(:create_reserved_instances_listing, Seahorse::Model::Operation.new.tap do |o|
11512
11603
  o.name = "CreateReservedInstancesListing"
11513
11604
  o.http_method = "POST"
@@ -13104,6 +13195,20 @@ module Aws::EC2
13104
13195
  o.output = Shapes::ShapeRef.new(shape: DescribeRegionsResult)
13105
13196
  end)
13106
13197
 
13198
+ api.add_operation(:describe_replace_root_volume_tasks, Seahorse::Model::Operation.new.tap do |o|
13199
+ o.name = "DescribeReplaceRootVolumeTasks"
13200
+ o.http_method = "POST"
13201
+ o.http_request_uri = "/"
13202
+ o.input = Shapes::ShapeRef.new(shape: DescribeReplaceRootVolumeTasksRequest)
13203
+ o.output = Shapes::ShapeRef.new(shape: DescribeReplaceRootVolumeTasksResult)
13204
+ o[:pager] = Aws::Pager.new(
13205
+ limit_key: "max_results",
13206
+ tokens: {
13207
+ "next_token" => "next_token"
13208
+ }
13209
+ )
13210
+ end)
13211
+
13107
13212
  api.add_operation(:describe_reserved_instances, Seahorse::Model::Operation.new.tap do |o|
13108
13213
  o.name = "DescribeReservedInstances"
13109
13214
  o.http_method = "POST"
@@ -13753,6 +13858,14 @@ module Aws::EC2
13753
13858
  o.output = Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoresResult)
13754
13859
  end)
13755
13860
 
13861
+ api.add_operation(:disable_serial_console_access, Seahorse::Model::Operation.new.tap do |o|
13862
+ o.name = "DisableSerialConsoleAccess"
13863
+ o.http_method = "POST"
13864
+ o.http_request_uri = "/"
13865
+ o.input = Shapes::ShapeRef.new(shape: DisableSerialConsoleAccessRequest)
13866
+ o.output = Shapes::ShapeRef.new(shape: DisableSerialConsoleAccessResult)
13867
+ end)
13868
+
13756
13869
  api.add_operation(:disable_transit_gateway_route_table_propagation, Seahorse::Model::Operation.new.tap do |o|
13757
13870
  o.name = "DisableTransitGatewayRouteTablePropagation"
13758
13871
  o.http_method = "POST"
@@ -13873,6 +13986,14 @@ module Aws::EC2
13873
13986
  o.output = Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoresResult)
13874
13987
  end)
13875
13988
 
13989
+ api.add_operation(:enable_serial_console_access, Seahorse::Model::Operation.new.tap do |o|
13990
+ o.name = "EnableSerialConsoleAccess"
13991
+ o.http_method = "POST"
13992
+ o.http_request_uri = "/"
13993
+ o.input = Shapes::ShapeRef.new(shape: EnableSerialConsoleAccessRequest)
13994
+ o.output = Shapes::ShapeRef.new(shape: EnableSerialConsoleAccessResult)
13995
+ end)
13996
+
13876
13997
  api.add_operation(:enable_transit_gateway_route_table_propagation, Seahorse::Model::Operation.new.tap do |o|
13877
13998
  o.name = "EnableTransitGatewayRouteTablePropagation"
13878
13999
  o.http_method = "POST"
@@ -14097,6 +14218,14 @@ module Aws::EC2
14097
14218
  o.output = Shapes::ShapeRef.new(shape: GetReservedInstancesExchangeQuoteResult)
14098
14219
  end)
14099
14220
 
14221
+ api.add_operation(:get_serial_console_access_status, Seahorse::Model::Operation.new.tap do |o|
14222
+ o.name = "GetSerialConsoleAccessStatus"
14223
+ o.http_method = "POST"
14224
+ o.http_request_uri = "/"
14225
+ o.input = Shapes::ShapeRef.new(shape: GetSerialConsoleAccessStatusRequest)
14226
+ o.output = Shapes::ShapeRef.new(shape: GetSerialConsoleAccessStatusResult)
14227
+ end)
14228
+
14100
14229
  api.add_operation(:get_transit_gateway_attachment_propagations, Seahorse::Model::Operation.new.tap do |o|
14101
14230
  o.name = "GetTransitGatewayAttachmentPropagations"
14102
14231
  o.http_method = "POST"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -211,6 +211,17 @@ module Aws::EC2
211
211
  data[:virtualization_type]
212
212
  end
213
213
 
214
+ # The boot mode of the image. For more information, see [Boot modes][1]
215
+ # in the *Amazon Elastic Compute Cloud User Guide*.
216
+ #
217
+ #
218
+ #
219
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
220
+ # @return [String]
221
+ def boot_mode
222
+ data[:boot_mode]
223
+ end
224
+
214
225
  # @!endgroup
215
226
 
216
227
  # @return [Client]
@@ -478,7 +489,7 @@ module Aws::EC2
478
489
  # @example Request syntax with placeholder values
479
490
  #
480
491
  # image.describe_attribute({
481
- # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport
492
+ # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode
482
493
  # dry_run: false,
483
494
  # })
484
495
  # @param [Hash] options ({})
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -258,16 +258,7 @@ module Aws::EC2
258
258
  data[:security_groups]
259
259
  end
260
260
 
261
- # Specifies whether to enable an instance launched in a VPC to perform
262
- # NAT. This controls whether source/destination checking is enabled on
263
- # the instance. A value of `true` means that checking is enabled, and
264
- # `false` means that checking is disabled. The value must be `false` for
265
- # the instance to perform NAT. For more information, see [NAT
266
- # instances][1] in the *Amazon VPC User Guide*.
267
- #
268
- #
269
- #
270
- # [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
261
+ # Indicates whether source/destination checking is enabled.
271
262
  # @return [Boolean]
272
263
  def source_dest_check
273
264
  data[:source_dest_check]
@@ -346,6 +337,17 @@ module Aws::EC2
346
337
  data[:enclave_options]
347
338
  end
348
339
 
340
+ # The boot mode of the instance. For more information, see [Boot
341
+ # modes][1] in the *Amazon EC2 User Guide*.
342
+ #
343
+ #
344
+ #
345
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
346
+ # @return [String]
347
+ def boot_mode
348
+ data[:boot_mode]
349
+ end
350
+
349
351
  # @!endgroup
350
352
 
351
353
  # @return [Client]
@@ -928,10 +930,12 @@ module Aws::EC2
928
930
  # })
929
931
  # @param [Hash] options ({})
930
932
  # @option options [Types::AttributeBooleanValue] :source_dest_check
931
- # Specifies whether source/destination checking is enabled. A value of
932
- # `true` means that checking is enabled, and `false` means that checking
933
- # is disabled. This value must be `false` for a NAT instance to perform
934
- # NAT.
933
+ # Enable or disable source/destination checks, which ensure that the
934
+ # instance is either the source or the destination of any traffic that
935
+ # it receives. If the value is `true`, source/destination checks are
936
+ # enabled; otherwise, they are disabled. The default value is `true`.
937
+ # You must disable source/destination checks if the instance runs
938
+ # services such as network address translation, routing, or firewalls.
935
939
  # @option options [String] :attribute
936
940
  # The name of the attribute.
937
941
  # @option options [Array<Types::InstanceBlockDeviceMappingSpecification>] :block_device_mappings
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9