aws-sdk-ec2 1.495.0 → 1.497.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b91628a43eb0e5c4111e4c5e6efd2ca6aa21baaa4cdbe5e3b79a96991740c3f6
4
- data.tar.gz: e14600f1b404b2d1b794b572837674bcc0b680c2f0c8982d14f8f72b7da5a778
3
+ metadata.gz: 8b131fec51e5037c4687703cc3a8a158309d1f9a7f0ecfca6ba4f01b13b82823
4
+ data.tar.gz: f65999a47814628898dd4ee1f6d0b3b54f448cf60a9f7249844431997eaba0af
5
5
  SHA512:
6
- metadata.gz: b99ce34f191ecf76ca9b8f9d9f2f228755a06cca1a5aeaaed378367822a7eda525a5c61aeab11af48e8eb0a56fd1015a6e3f757da5bc45d12ba032c9396174f1
7
- data.tar.gz: ab3fae9b0da5e6aba73d46de62d0070aef196e8a55bbbd3e155351f8ac5e4b024ac307af36b21843d98c23b8fde914d72edcb2c8b7d7f77f344ef3cce988ca6d
6
+ metadata.gz: ed03c11256700c538f2408bb51ea0aeafde75b7db1fcf2eba3768ad90eaf1be2bea58f4d92915390f52e168f65b83d597933430e197f6a30b68b44bda9d7a0ef
7
+ data.tar.gz: 739cf4e23bb311166d9d729aac01e552fa7027fee04738cb617a5fbf3287acbc39fd74c4e8ea54a355f7e023f759d896c7e03f1df3cdaceddc9c2cde6c93fdcc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.497.0 (2024-12-13)
5
+ ------------------
6
+
7
+ * Feature - This release adds GroupId to the response for DeleteSecurityGroup.
8
+
9
+ 1.496.0 (2024-12-09)
10
+ ------------------
11
+
12
+ * Feature - This release includes a new API for modifying instance network-performance-options after launch.
13
+
4
14
  1.495.0 (2024-12-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.495.0
1
+ 1.497.0
@@ -9086,6 +9086,9 @@ module Aws::EC2
9086
9086
  # operator: {
9087
9087
  # principal: "String",
9088
9088
  # },
9089
+ # network_performance_options: {
9090
+ # bandwidth_weighting: "default", # accepts default, vpc-1, ebs-1
9091
+ # },
9089
9092
  # },
9090
9093
  # operator: {
9091
9094
  # principal: "String",
@@ -9505,6 +9508,9 @@ module Aws::EC2
9505
9508
  # operator: {
9506
9509
  # principal: "String",
9507
9510
  # },
9511
+ # network_performance_options: {
9512
+ # bandwidth_weighting: "default", # accepts default, vpc-1, ebs-1
9513
+ # },
9508
9514
  # },
9509
9515
  # resolve_alias: false,
9510
9516
  # })
@@ -9671,6 +9677,7 @@ module Aws::EC2
9671
9677
  # resp.launch_template_version.launch_template_data.disable_api_stop #=> Boolean
9672
9678
  # resp.launch_template_version.launch_template_data.operator.managed #=> Boolean
9673
9679
  # resp.launch_template_version.launch_template_data.operator.principal #=> String
9680
+ # resp.launch_template_version.launch_template_data.network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
9674
9681
  # resp.launch_template_version.operator.managed #=> Boolean
9675
9682
  # resp.launch_template_version.operator.principal #=> String
9676
9683
  # resp.warning.errors #=> Array
@@ -18391,7 +18398,10 @@ module Aws::EC2
18391
18398
  # If you have the required permissions, the error response is
18392
18399
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18393
18400
  #
18394
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
18401
+ # @return [Types::DeleteSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18402
+ #
18403
+ # * {Types::DeleteSecurityGroupResult#return #return} => Boolean
18404
+ # * {Types::DeleteSecurityGroupResult#group_id #group_id} => String
18395
18405
  #
18396
18406
  #
18397
18407
  # @example Example: To delete a security group
@@ -18414,6 +18424,11 @@ module Aws::EC2
18414
18424
  # dry_run: false,
18415
18425
  # })
18416
18426
  #
18427
+ # @example Response structure
18428
+ #
18429
+ # resp.return #=> Boolean
18430
+ # resp.group_id #=> String
18431
+ #
18417
18432
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup AWS API Documentation
18418
18433
  #
18419
18434
  # @overload delete_security_group(params = {})
@@ -26357,7 +26372,7 @@ module Aws::EC2
26357
26372
  # `hpc7g.4xlarge` \| `hpc7g.8xlarge` \| `hpc7g.16xlarge`
26358
26373
  #
26359
26374
  # * `p3dn.24xlarge` \| `p4d.24xlarge` \| `p4de.24xlarge` \|
26360
- # `p5.48xlarge` \| `p5e.48xlarge`
26375
+ # `p5.48xlarge` \| `p5e.48xlarge` \| `p5en.48xlarge`
26361
26376
  #
26362
26377
  # * `trn1.2xlarge` \| `trn1.32xlarge` \| `trn1n.32xlarge`
26363
26378
  #
@@ -26653,6 +26668,10 @@ module Aws::EC2
26653
26668
  #
26654
26669
  # * `memory-info.size-in-mib` - The memory size.
26655
26670
  #
26671
+ # * `network-info.bandwidth-weightings` - For instances that support
26672
+ # bandwidth weighting to boost performance (`default`, `vpc-1`,
26673
+ # `ebs-1`).
26674
+ #
26656
26675
  # * `network-info.efa-info.maximum-efa-interfaces` - The maximum number
26657
26676
  # of Elastic Fabric Adapters (EFAs) per instance.
26658
26677
  #
@@ -26828,6 +26847,8 @@ module Aws::EC2
26828
26847
  # resp.instance_types[0].network_info.efa_info.maximum_efa_interfaces #=> Integer
26829
26848
  # resp.instance_types[0].network_info.encryption_in_transit_supported #=> Boolean
26830
26849
  # resp.instance_types[0].network_info.ena_srd_supported #=> Boolean
26850
+ # resp.instance_types[0].network_info.bandwidth_weightings #=> Array
26851
+ # resp.instance_types[0].network_info.bandwidth_weightings[0] #=> String, one of "default", "vpc-1", "ebs-1"
26831
26852
  # resp.instance_types[0].gpu_info.gpus #=> Array
26832
26853
  # resp.instance_types[0].gpu_info.gpus[0].name #=> String
26833
26854
  # resp.instance_types[0].gpu_info.gpus[0].manufacturer #=> String
@@ -27237,6 +27258,10 @@ module Aws::EC2
27237
27258
  # * `network-interface.vpc-id` - The ID of the VPC for the network
27238
27259
  # interface.
27239
27260
  #
27261
+ # * `network-performance-options.bandwidth-weighting` - Where the
27262
+ # performance boost is applied, if applicable. Valid values:
27263
+ # `default`, `vpc-1`, `ebs-1`.
27264
+ #
27240
27265
  # * `operator.managed` - A Boolean that indicates whether this is a
27241
27266
  # managed instance.
27242
27267
  #
@@ -27598,6 +27623,7 @@ module Aws::EC2
27598
27623
  # resp.reservations[0].instances[0].tpm_support #=> String
27599
27624
  # resp.reservations[0].instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
27600
27625
  # resp.reservations[0].instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
27626
+ # resp.reservations[0].instances[0].network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
27601
27627
  # resp.reservations[0].instances[0].operator.managed #=> Boolean
27602
27628
  # resp.reservations[0].instances[0].operator.principal #=> String
27603
27629
  # resp.reservations[0].instances[0].instance_id #=> String
@@ -28888,6 +28914,7 @@ module Aws::EC2
28888
28914
  # resp.launch_template_versions[0].launch_template_data.disable_api_stop #=> Boolean
28889
28915
  # resp.launch_template_versions[0].launch_template_data.operator.managed #=> Boolean
28890
28916
  # resp.launch_template_versions[0].launch_template_data.operator.principal #=> String
28917
+ # resp.launch_template_versions[0].launch_template_data.network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
28891
28918
  # resp.launch_template_versions[0].operator.managed #=> Boolean
28892
28919
  # resp.launch_template_versions[0].operator.principal #=> String
28893
28920
  # resp.next_token #=> String
@@ -31691,13 +31718,6 @@ module Aws::EC2
31691
31718
  #
31692
31719
  # * `network-interface-id` - The ID of the network interface.
31693
31720
  #
31694
- # * `operator.managed` - A Boolean that indicates whether this is a
31695
- # managed network interface.
31696
- #
31697
- # * `operator.principal` - The principal that manages the network
31698
- # interface. Only valid for managed network interfaces, where
31699
- # `managed` is `true`.
31700
- #
31701
31721
  # * `owner-id` - The Amazon Web Services account ID of the network
31702
31722
  # interface owner.
31703
31723
  #
@@ -45564,6 +45584,7 @@ module Aws::EC2
45564
45584
  # resp.launch_template_data.disable_api_stop #=> Boolean
45565
45585
  # resp.launch_template_data.operator.managed #=> Boolean
45566
45586
  # resp.launch_template_data.operator.principal #=> String
45587
+ # resp.launch_template_data.network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
45567
45588
  #
45568
45589
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
45569
45590
  #
@@ -50653,6 +50674,64 @@ module Aws::EC2
50653
50674
  req.send_request(options)
50654
50675
  end
50655
50676
 
50677
+ # Change the configuration of the network performance options for an
50678
+ # existing instance.
50679
+ #
50680
+ # @option params [required, String] :instance_id
50681
+ # The ID of the instance to update.
50682
+ #
50683
+ # @option params [required, String] :bandwidth_weighting
50684
+ # Specify the bandwidth weighting option to boost the associated type of
50685
+ # baseline bandwidth, as follows:
50686
+ #
50687
+ # default
50688
+ #
50689
+ # : This option uses the standard bandwidth configuration for your
50690
+ # instance type.
50691
+ #
50692
+ # vpc-1
50693
+ #
50694
+ # : This option boosts your networking baseline bandwidth and reduces
50695
+ # your EBS baseline bandwidth.
50696
+ #
50697
+ # ebs-1
50698
+ #
50699
+ # : This option boosts your EBS baseline bandwidth and reduces your
50700
+ # networking baseline bandwidth.
50701
+ #
50702
+ # @option params [Boolean] :dry_run
50703
+ # Checks whether you have the required permissions for the operation,
50704
+ # without actually making the request, and provides an error response.
50705
+ # If you have the required permissions, the error response is
50706
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
50707
+ #
50708
+ # @return [Types::ModifyInstanceNetworkPerformanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
50709
+ #
50710
+ # * {Types::ModifyInstanceNetworkPerformanceResult#instance_id #instance_id} => String
50711
+ # * {Types::ModifyInstanceNetworkPerformanceResult#bandwidth_weighting #bandwidth_weighting} => String
50712
+ #
50713
+ # @example Request syntax with placeholder values
50714
+ #
50715
+ # resp = client.modify_instance_network_performance_options({
50716
+ # instance_id: "InstanceId", # required
50717
+ # bandwidth_weighting: "default", # required, accepts default, vpc-1, ebs-1
50718
+ # dry_run: false,
50719
+ # })
50720
+ #
50721
+ # @example Response structure
50722
+ #
50723
+ # resp.instance_id #=> String
50724
+ # resp.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
50725
+ #
50726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceNetworkPerformanceOptions AWS API Documentation
50727
+ #
50728
+ # @overload modify_instance_network_performance_options(params = {})
50729
+ # @param [Hash] params ({})
50730
+ def modify_instance_network_performance_options(params = {}, options = {})
50731
+ req = build_request(:modify_instance_network_performance_options, params)
50732
+ req.send_request(options)
50733
+ end
50734
+
50656
50735
  # Modifies the placement attributes for a specified instance. You can do
50657
50736
  # the following:
50658
50737
  #
@@ -59898,6 +59977,10 @@ module Aws::EC2
59898
59977
  # first IPv6 GUA address associated with the ENI becomes the primary
59899
59978
  # IPv6 address.
59900
59979
  #
59980
+ # @option params [Types::InstanceNetworkPerformanceOptionsRequest] :network_performance_options
59981
+ # Contains settings for the network performance options for the
59982
+ # instance.
59983
+ #
59901
59984
  # @option params [Types::OperatorRequest] :operator
59902
59985
  # Reserved for internal use.
59903
59986
  #
@@ -60159,6 +60242,9 @@ module Aws::EC2
60159
60242
  # },
60160
60243
  # disable_api_stop: false,
60161
60244
  # enable_primary_ipv_6: false,
60245
+ # network_performance_options: {
60246
+ # bandwidth_weighting: "default", # accepts default, vpc-1, ebs-1
60247
+ # },
60162
60248
  # operator: {
60163
60249
  # principal: "String",
60164
60250
  # },
@@ -60357,6 +60443,7 @@ module Aws::EC2
60357
60443
  # resp.instances[0].tpm_support #=> String
60358
60444
  # resp.instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
60359
60445
  # resp.instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
60446
+ # resp.instances[0].network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
60360
60447
  # resp.instances[0].operator.managed #=> Boolean
60361
60448
  # resp.instances[0].operator.principal #=> String
60362
60449
  # resp.instances[0].instance_id #=> String
@@ -60879,8 +60966,9 @@ module Aws::EC2
60879
60966
  # management account or delegated administrators for the organization.
60880
60967
  #
60881
60968
  # * An S3 bucket must be available before generating the report (you can
60882
- # create a new one or use an existing one), and it must have an
60883
- # appropriate bucket policy. For a sample S3 policy, see *Sample
60969
+ # create a new one or use an existing one), it must be in the same
60970
+ # Region where the report generation request is made, and it must have
60971
+ # an appropriate bucket policy. For a sample S3 policy, see *Sample
60884
60972
  # Amazon S3 policy* under .
60885
60973
  #
60886
60974
  # * Trusted access must be enabled for the service for which the
@@ -60913,7 +61001,9 @@ module Aws::EC2
60913
61001
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
60914
61002
  #
60915
61003
  # @option params [required, String] :s3_bucket
60916
- # The name of the S3 bucket where the report will be saved.
61004
+ # The name of the S3 bucket where the report will be saved. The bucket
61005
+ # must be in the same Region where the report generation request is
61006
+ # made.
60917
61007
  #
60918
61008
  # @option params [String] :s3_prefix
60919
61009
  # The prefix for your S3 object.
@@ -62992,7 +63082,7 @@ module Aws::EC2
62992
63082
  tracer: tracer
62993
63083
  )
62994
63084
  context[:gem_name] = 'aws-sdk-ec2'
62995
- context[:gem_version] = '1.495.0'
63085
+ context[:gem_version] = '1.497.0'
62996
63086
  Seahorse::Client::Request.new(handlers, context)
62997
63087
  end
62998
63088
 
@@ -218,6 +218,8 @@ module Aws::EC2
218
218
  AvailabilityZoneStringList = Shapes::ListShape.new(name: 'AvailabilityZoneStringList')
219
219
  AvailableCapacity = Shapes::StructureShape.new(name: 'AvailableCapacity')
220
220
  AvailableInstanceCapacityList = Shapes::ListShape.new(name: 'AvailableInstanceCapacityList')
221
+ BandwidthWeightingType = Shapes::StringShape.new(name: 'BandwidthWeightingType')
222
+ BandwidthWeightingTypeList = Shapes::ListShape.new(name: 'BandwidthWeightingTypeList')
221
223
  BareMetal = Shapes::StringShape.new(name: 'BareMetal')
222
224
  BareMetalFlag = Shapes::BooleanShape.new(name: 'BareMetalFlag')
223
225
  BaselineBandwidthInGbps = Shapes::FloatShape.new(name: 'BaselineBandwidthInGbps')
@@ -738,6 +740,7 @@ module Aws::EC2
738
740
  DeleteRouteRequest = Shapes::StructureShape.new(name: 'DeleteRouteRequest')
739
741
  DeleteRouteTableRequest = Shapes::StructureShape.new(name: 'DeleteRouteTableRequest')
740
742
  DeleteSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteSecurityGroupRequest')
743
+ DeleteSecurityGroupResult = Shapes::StructureShape.new(name: 'DeleteSecurityGroupResult')
741
744
  DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
742
745
  DeleteSpotDatafeedSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSpotDatafeedSubscriptionRequest')
743
746
  DeleteSubnetCidrReservationRequest = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationRequest')
@@ -1774,6 +1777,7 @@ module Aws::EC2
1774
1777
  InstanceAttribute = Shapes::StructureShape.new(name: 'InstanceAttribute')
1775
1778
  InstanceAttributeName = Shapes::StringShape.new(name: 'InstanceAttributeName')
1776
1779
  InstanceAutoRecoveryState = Shapes::StringShape.new(name: 'InstanceAutoRecoveryState')
1780
+ InstanceBandwidthWeighting = Shapes::StringShape.new(name: 'InstanceBandwidthWeighting')
1777
1781
  InstanceBlockDeviceMapping = Shapes::StructureShape.new(name: 'InstanceBlockDeviceMapping')
1778
1782
  InstanceBlockDeviceMappingList = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappingList')
1779
1783
  InstanceBlockDeviceMappingSpecification = Shapes::StructureShape.new(name: 'InstanceBlockDeviceMappingSpecification')
@@ -1849,6 +1853,8 @@ module Aws::EC2
1849
1853
  InstanceNetworkInterfaceList = Shapes::ListShape.new(name: 'InstanceNetworkInterfaceList')
1850
1854
  InstanceNetworkInterfaceSpecification = Shapes::StructureShape.new(name: 'InstanceNetworkInterfaceSpecification')
1851
1855
  InstanceNetworkInterfaceSpecificationList = Shapes::ListShape.new(name: 'InstanceNetworkInterfaceSpecificationList')
1856
+ InstanceNetworkPerformanceOptions = Shapes::StructureShape.new(name: 'InstanceNetworkPerformanceOptions')
1857
+ InstanceNetworkPerformanceOptionsRequest = Shapes::StructureShape.new(name: 'InstanceNetworkPerformanceOptionsRequest')
1852
1858
  InstancePrivateIpAddress = Shapes::StructureShape.new(name: 'InstancePrivateIpAddress')
1853
1859
  InstancePrivateIpAddressList = Shapes::ListShape.new(name: 'InstancePrivateIpAddressList')
1854
1860
  InstanceRequirements = Shapes::StructureShape.new(name: 'InstanceRequirements')
@@ -2092,6 +2098,8 @@ module Aws::EC2
2092
2098
  LaunchTemplateLicenseSpecificationListRequest = Shapes::ListShape.new(name: 'LaunchTemplateLicenseSpecificationListRequest')
2093
2099
  LaunchTemplateName = Shapes::StringShape.new(name: 'LaunchTemplateName')
2094
2100
  LaunchTemplateNameStringList = Shapes::ListShape.new(name: 'LaunchTemplateNameStringList')
2101
+ LaunchTemplateNetworkPerformanceOptions = Shapes::StructureShape.new(name: 'LaunchTemplateNetworkPerformanceOptions')
2102
+ LaunchTemplateNetworkPerformanceOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateNetworkPerformanceOptionsRequest')
2095
2103
  LaunchTemplateOverrides = Shapes::StructureShape.new(name: 'LaunchTemplateOverrides')
2096
2104
  LaunchTemplateOverridesList = Shapes::ListShape.new(name: 'LaunchTemplateOverridesList')
2097
2105
  LaunchTemplatePlacement = Shapes::StructureShape.new(name: 'LaunchTemplatePlacement')
@@ -2251,6 +2259,8 @@ module Aws::EC2
2251
2259
  ModifyInstanceMetadataDefaultsResult = Shapes::StructureShape.new(name: 'ModifyInstanceMetadataDefaultsResult')
2252
2260
  ModifyInstanceMetadataOptionsRequest = Shapes::StructureShape.new(name: 'ModifyInstanceMetadataOptionsRequest')
2253
2261
  ModifyInstanceMetadataOptionsResult = Shapes::StructureShape.new(name: 'ModifyInstanceMetadataOptionsResult')
2262
+ ModifyInstanceNetworkPerformanceRequest = Shapes::StructureShape.new(name: 'ModifyInstanceNetworkPerformanceRequest')
2263
+ ModifyInstanceNetworkPerformanceResult = Shapes::StructureShape.new(name: 'ModifyInstanceNetworkPerformanceResult')
2254
2264
  ModifyInstancePlacementRequest = Shapes::StructureShape.new(name: 'ModifyInstancePlacementRequest')
2255
2265
  ModifyInstancePlacementResult = Shapes::StructureShape.new(name: 'ModifyInstancePlacementResult')
2256
2266
  ModifyIpamPoolRequest = Shapes::StructureShape.new(name: 'ModifyIpamPoolRequest')
@@ -4158,6 +4168,8 @@ module Aws::EC2
4158
4168
 
4159
4169
  AvailableInstanceCapacityList.member = Shapes::ShapeRef.new(shape: InstanceCapacity, location_name: "item")
4160
4170
 
4171
+ BandwidthWeightingTypeList.member = Shapes::ShapeRef.new(shape: BandwidthWeightingType, location_name: "item")
4172
+
4161
4173
  BaselineEbsBandwidthMbps.add_member(:min, Shapes::ShapeRef.new(shape: Integer, location_name: "min"))
4162
4174
  BaselineEbsBandwidthMbps.add_member(:max, Shapes::ShapeRef.new(shape: Integer, location_name: "max"))
4163
4175
  BaselineEbsBandwidthMbps.struct_class = Types::BaselineEbsBandwidthMbps
@@ -6355,6 +6367,10 @@ module Aws::EC2
6355
6367
  DeleteSecurityGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6356
6368
  DeleteSecurityGroupRequest.struct_class = Types::DeleteSecurityGroupRequest
6357
6369
 
6370
+ DeleteSecurityGroupResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
6371
+ DeleteSecurityGroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "groupId"))
6372
+ DeleteSecurityGroupResult.struct_class = Types::DeleteSecurityGroupResult
6373
+
6358
6374
  DeleteSnapshotRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
6359
6375
  DeleteSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
6360
6376
  DeleteSnapshotRequest.struct_class = Types::DeleteSnapshotRequest
@@ -10600,6 +10616,7 @@ module Aws::EC2
10600
10616
  Instance.add_member(:tpm_support, Shapes::ShapeRef.new(shape: String, location_name: "tpmSupport"))
10601
10617
  Instance.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: InstanceMaintenanceOptions, location_name: "maintenanceOptions"))
10602
10618
  Instance.add_member(:current_instance_boot_mode, Shapes::ShapeRef.new(shape: InstanceBootModeValues, location_name: "currentInstanceBootMode"))
10619
+ Instance.add_member(:network_performance_options, Shapes::ShapeRef.new(shape: InstanceNetworkPerformanceOptions, location_name: "networkPerformanceOptions"))
10603
10620
  Instance.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
10604
10621
  Instance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
10605
10622
  Instance.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
@@ -10896,6 +10913,12 @@ module Aws::EC2
10896
10913
 
10897
10914
  InstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecification, location_name: "item")
10898
10915
 
10916
+ InstanceNetworkPerformanceOptions.add_member(:bandwidth_weighting, Shapes::ShapeRef.new(shape: InstanceBandwidthWeighting, location_name: "bandwidthWeighting"))
10917
+ InstanceNetworkPerformanceOptions.struct_class = Types::InstanceNetworkPerformanceOptions
10918
+
10919
+ InstanceNetworkPerformanceOptionsRequest.add_member(:bandwidth_weighting, Shapes::ShapeRef.new(shape: InstanceBandwidthWeighting, location_name: "BandwidthWeighting"))
10920
+ InstanceNetworkPerformanceOptionsRequest.struct_class = Types::InstanceNetworkPerformanceOptionsRequest
10921
+
10899
10922
  InstancePrivateIpAddress.add_member(:association, Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceAssociation, location_name: "association"))
10900
10923
  InstancePrivateIpAddress.add_member(:primary, Shapes::ShapeRef.new(shape: Boolean, location_name: "primary"))
10901
10924
  InstancePrivateIpAddress.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "privateDnsName"))
@@ -11734,6 +11757,12 @@ module Aws::EC2
11734
11757
 
11735
11758
  LaunchTemplateNameStringList.member = Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "item")
11736
11759
 
11760
+ LaunchTemplateNetworkPerformanceOptions.add_member(:bandwidth_weighting, Shapes::ShapeRef.new(shape: InstanceBandwidthWeighting, location_name: "bandwidthWeighting"))
11761
+ LaunchTemplateNetworkPerformanceOptions.struct_class = Types::LaunchTemplateNetworkPerformanceOptions
11762
+
11763
+ LaunchTemplateNetworkPerformanceOptionsRequest.add_member(:bandwidth_weighting, Shapes::ShapeRef.new(shape: InstanceBandwidthWeighting, location_name: "BandwidthWeighting"))
11764
+ LaunchTemplateNetworkPerformanceOptionsRequest.struct_class = Types::LaunchTemplateNetworkPerformanceOptionsRequest
11765
+
11737
11766
  LaunchTemplateOverrides.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
11738
11767
  LaunchTemplateOverrides.add_member(:spot_price, Shapes::ShapeRef.new(shape: String, location_name: "spotPrice"))
11739
11768
  LaunchTemplateOverrides.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
@@ -12309,6 +12338,15 @@ module Aws::EC2
12309
12338
  ModifyInstanceMetadataOptionsResult.add_member(:instance_metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsResponse, location_name: "instanceMetadataOptions"))
12310
12339
  ModifyInstanceMetadataOptionsResult.struct_class = Types::ModifyInstanceMetadataOptionsResult
12311
12340
 
12341
+ ModifyInstanceNetworkPerformanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
12342
+ ModifyInstanceNetworkPerformanceRequest.add_member(:bandwidth_weighting, Shapes::ShapeRef.new(shape: InstanceBandwidthWeighting, required: true, location_name: "BandwidthWeighting"))
12343
+ ModifyInstanceNetworkPerformanceRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
12344
+ ModifyInstanceNetworkPerformanceRequest.struct_class = Types::ModifyInstanceNetworkPerformanceRequest
12345
+
12346
+ ModifyInstanceNetworkPerformanceResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
12347
+ ModifyInstanceNetworkPerformanceResult.add_member(:bandwidth_weighting, Shapes::ShapeRef.new(shape: InstanceBandwidthWeighting, location_name: "bandwidthWeighting"))
12348
+ ModifyInstanceNetworkPerformanceResult.struct_class = Types::ModifyInstanceNetworkPerformanceResult
12349
+
12312
12350
  ModifyInstancePlacementRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "GroupName"))
12313
12351
  ModifyInstancePlacementRequest.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PartitionNumber"))
12314
12352
  ModifyInstancePlacementRequest.add_member(:host_resource_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "HostResourceGroupArn"))
@@ -13040,6 +13078,7 @@ module Aws::EC2
13040
13078
  NetworkInfo.add_member(:efa_info, Shapes::ShapeRef.new(shape: EfaInfo, location_name: "efaInfo"))
13041
13079
  NetworkInfo.add_member(:encryption_in_transit_supported, Shapes::ShapeRef.new(shape: EncryptionInTransitSupported, location_name: "encryptionInTransitSupported"))
13042
13080
  NetworkInfo.add_member(:ena_srd_supported, Shapes::ShapeRef.new(shape: EnaSrdSupported, location_name: "enaSrdSupported"))
13081
+ NetworkInfo.add_member(:bandwidth_weightings, Shapes::ShapeRef.new(shape: BandwidthWeightingTypeList, location_name: "bandwidthWeightings"))
13043
13082
  NetworkInfo.struct_class = Types::NetworkInfo
13044
13083
 
13045
13084
  NetworkInsightsAccessScope.add_member(:network_insights_access_scope_id, Shapes::ShapeRef.new(shape: NetworkInsightsAccessScopeId, location_name: "networkInsightsAccessScopeId"))
@@ -14085,6 +14124,7 @@ module Aws::EC2
14085
14124
  RequestLaunchTemplateData.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMaintenanceOptionsRequest, location_name: "MaintenanceOptions"))
14086
14125
  RequestLaunchTemplateData.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableApiStop"))
14087
14126
  RequestLaunchTemplateData.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorRequest, location_name: "Operator"))
14127
+ RequestLaunchTemplateData.add_member(:network_performance_options, Shapes::ShapeRef.new(shape: LaunchTemplateNetworkPerformanceOptionsRequest, location_name: "NetworkPerformanceOptions"))
14088
14128
  RequestLaunchTemplateData.struct_class = Types::RequestLaunchTemplateData
14089
14129
 
14090
14130
  RequestSpotFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -14359,6 +14399,7 @@ module Aws::EC2
14359
14399
  ResponseLaunchTemplateData.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMaintenanceOptions, location_name: "maintenanceOptions"))
14360
14400
  ResponseLaunchTemplateData.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableApiStop"))
14361
14401
  ResponseLaunchTemplateData.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
14402
+ ResponseLaunchTemplateData.add_member(:network_performance_options, Shapes::ShapeRef.new(shape: LaunchTemplateNetworkPerformanceOptions, location_name: "networkPerformanceOptions"))
14362
14403
  ResponseLaunchTemplateData.struct_class = Types::ResponseLaunchTemplateData
14363
14404
 
14364
14405
  RestorableByStringList.member = Shapes::ShapeRef.new(shape: String)
@@ -14578,6 +14619,7 @@ module Aws::EC2
14578
14619
  RunInstancesRequest.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: InstanceMaintenanceOptionsRequest, location_name: "MaintenanceOptions"))
14579
14620
  RunInstancesRequest.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableApiStop"))
14580
14621
  RunInstancesRequest.add_member(:enable_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrimaryIpv6"))
14622
+ RunInstancesRequest.add_member(:network_performance_options, Shapes::ShapeRef.new(shape: InstanceNetworkPerformanceOptionsRequest, location_name: "NetworkPerformanceOptions"))
14581
14623
  RunInstancesRequest.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorRequest, location_name: "Operator"))
14582
14624
  RunInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
14583
14625
  RunInstancesRequest.add_member(:disable_api_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableApiTermination"))
@@ -18252,7 +18294,7 @@ module Aws::EC2
18252
18294
  o.http_method = "POST"
18253
18295
  o.http_request_uri = "/"
18254
18296
  o.input = Shapes::ShapeRef.new(shape: DeleteSecurityGroupRequest)
18255
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
18297
+ o.output = Shapes::ShapeRef.new(shape: DeleteSecurityGroupResult)
18256
18298
  end)
18257
18299
 
18258
18300
  api.add_operation(:delete_snapshot, Seahorse::Model::Operation.new.tap do |o|
@@ -21912,6 +21954,14 @@ module Aws::EC2
21912
21954
  o.output = Shapes::ShapeRef.new(shape: ModifyInstanceMetadataOptionsResult)
21913
21955
  end)
21914
21956
 
21957
+ api.add_operation(:modify_instance_network_performance_options, Seahorse::Model::Operation.new.tap do |o|
21958
+ o.name = "ModifyInstanceNetworkPerformanceOptions"
21959
+ o.http_method = "POST"
21960
+ o.http_request_uri = "/"
21961
+ o.input = Shapes::ShapeRef.new(shape: ModifyInstanceNetworkPerformanceRequest)
21962
+ o.output = Shapes::ShapeRef.new(shape: ModifyInstanceNetworkPerformanceResult)
21963
+ end)
21964
+
21915
21965
  api.add_operation(:modify_instance_placement, Seahorse::Model::Operation.new.tap do |o|
21916
21966
  o.name = "ModifyInstancePlacement"
21917
21967
  o.http_method = "POST"
@@ -306,6 +306,13 @@ module Aws::EC2
306
306
  data[:current_instance_boot_mode]
307
307
  end
308
308
 
309
+ # Contains settings for the network performance options for your
310
+ # instance.
311
+ # @return [Types::InstanceNetworkPerformanceOptions]
312
+ def network_performance_options
313
+ data[:network_performance_options]
314
+ end
315
+
309
316
  # The service provider that manages the instance.
310
317
  # @return [Types::OperatorResponse]
311
318
  def operator
@@ -572,6 +572,10 @@ module Aws::EC2
572
572
  # * `network-interface.vpc-id` - The ID of the VPC for the network
573
573
  # interface.
574
574
  #
575
+ # * `network-performance-options.bandwidth-weighting` - Where the
576
+ # performance boost is applied, if applicable. Valid values:
577
+ # `default`, `vpc-1`, `ebs-1`.
578
+ #
575
579
  # * `operator.managed` - A Boolean that indicates whether this is a
576
580
  # managed instance.
577
581
  #
@@ -212,6 +212,9 @@ module Aws::EC2
212
212
  # },
213
213
  # disable_api_stop: false,
214
214
  # enable_primary_ipv_6: false,
215
+ # network_performance_options: {
216
+ # bandwidth_weighting: "default", # accepts default, vpc-1, ebs-1
217
+ # },
215
218
  # operator: {
216
219
  # principal: "String",
217
220
  # },
@@ -547,6 +550,9 @@ module Aws::EC2
547
550
  # attached to your instance and you enable a primary IPv6 address, the
548
551
  # first IPv6 GUA address associated with the ENI becomes the primary
549
552
  # IPv6 address.
553
+ # @option options [Types::InstanceNetworkPerformanceOptionsRequest] :network_performance_options
554
+ # Contains settings for the network performance options for the
555
+ # instance.
550
556
  # @option options [Types::OperatorRequest] :operator
551
557
  # Reserved for internal use.
552
558
  # @option options [Boolean] :dry_run
@@ -2772,6 +2778,10 @@ module Aws::EC2
2772
2778
  # * `network-interface.vpc-id` - The ID of the VPC for the network
2773
2779
  # interface.
2774
2780
  #
2781
+ # * `network-performance-options.bandwidth-weighting` - Where the
2782
+ # performance boost is applied, if applicable. Valid values:
2783
+ # `default`, `vpc-1`, `ebs-1`.
2784
+ #
2775
2785
  # * `operator.managed` - A Boolean that indicates whether this is a
2776
2786
  # managed instance.
2777
2787
  #
@@ -3358,13 +3368,6 @@ module Aws::EC2
3358
3368
  #
3359
3369
  # * `network-interface-id` - The ID of the network interface.
3360
3370
  #
3361
- # * `operator.managed` - A Boolean that indicates whether this is a
3362
- # managed network interface.
3363
- #
3364
- # * `operator.principal` - The principal that manages the network
3365
- # interface. Only valid for managed network interfaces, where
3366
- # `managed` is `true`.
3367
- #
3368
3371
  # * `owner-id` - The Amazon Web Services account ID of the network
3369
3372
  # interface owner.
3370
3373
  #
@@ -544,7 +544,7 @@ module Aws::EC2
544
544
  # without actually making the request, and provides an error response.
545
545
  # If you have the required permissions, the error response is
546
546
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
547
- # @return [EmptyStructure]
547
+ # @return [Types::DeleteSecurityGroupResult]
548
548
  def delete(options = {})
549
549
  options = options.merge(group_id: @id)
550
550
  resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -453,6 +453,9 @@ module Aws::EC2
453
453
  # },
454
454
  # disable_api_stop: false,
455
455
  # enable_primary_ipv_6: false,
456
+ # network_performance_options: {
457
+ # bandwidth_weighting: "default", # accepts default, vpc-1, ebs-1
458
+ # },
456
459
  # operator: {
457
460
  # principal: "String",
458
461
  # },
@@ -783,6 +786,9 @@ module Aws::EC2
783
786
  # attached to your instance and you enable a primary IPv6 address, the
784
787
  # first IPv6 GUA address associated with the ENI becomes the primary
785
788
  # IPv6 address.
789
+ # @option options [Types::InstanceNetworkPerformanceOptionsRequest] :network_performance_options
790
+ # Contains settings for the network performance options for the
791
+ # instance.
786
792
  # @option options [Types::OperatorRequest] :operator
787
793
  # Reserved for internal use.
788
794
  # @option options [Boolean] :dry_run
@@ -1490,6 +1496,10 @@ module Aws::EC2
1490
1496
  # * `network-interface.vpc-id` - The ID of the VPC for the network
1491
1497
  # interface.
1492
1498
  #
1499
+ # * `network-performance-options.bandwidth-weighting` - Where the
1500
+ # performance boost is applied, if applicable. Valid values:
1501
+ # `default`, `vpc-1`, `ebs-1`.
1502
+ #
1493
1503
  # * `operator.managed` - A Boolean that indicates whether this is a
1494
1504
  # managed instance.
1495
1505
  #
@@ -1808,13 +1818,6 @@ module Aws::EC2
1808
1818
  #
1809
1819
  # * `network-interface-id` - The ID of the network interface.
1810
1820
  #
1811
- # * `operator.managed` - A Boolean that indicates whether this is a
1812
- # managed network interface.
1813
- #
1814
- # * `operator.principal` - The principal that manages the network
1815
- # interface. Only valid for managed network interfaces, where
1816
- # `managed` is `true`.
1817
- #
1818
1821
  # * `owner-id` - The Amazon Web Services account ID of the network
1819
1822
  # interface owner.
1820
1823
  #
@@ -16288,6 +16288,23 @@ module Aws::EC2
16288
16288
  include Aws::Structure
16289
16289
  end
16290
16290
 
16291
+ # @!attribute [rw] return
16292
+ # Returns `true` if the request succeeds; otherwise, returns an error.
16293
+ # @return [Boolean]
16294
+ #
16295
+ # @!attribute [rw] group_id
16296
+ # The ID of the deleted security group.
16297
+ # @return [String]
16298
+ #
16299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroupResult AWS API Documentation
16300
+ #
16301
+ class DeleteSecurityGroupResult < Struct.new(
16302
+ :return,
16303
+ :group_id)
16304
+ SENSITIVE = []
16305
+ include Aws::Structure
16306
+ end
16307
+
16291
16308
  # @!attribute [rw] snapshot_id
16292
16309
  # The ID of the EBS snapshot.
16293
16310
  # @return [String]
@@ -22027,6 +22044,10 @@ module Aws::EC2
22027
22044
  #
22028
22045
  # * `memory-info.size-in-mib` - The memory size.
22029
22046
  #
22047
+ # * `network-info.bandwidth-weightings` - For instances that support
22048
+ # bandwidth weighting to boost performance (`default`, `vpc-1`,
22049
+ # `ebs-1`).
22050
+ #
22030
22051
  # * `network-info.efa-info.maximum-efa-interfaces` - The maximum
22031
22052
  # number of Elastic Fabric Adapters (EFAs) per instance.
22032
22053
  #
@@ -22482,6 +22503,10 @@ module Aws::EC2
22482
22503
  # * `network-interface.vpc-id` - The ID of the VPC for the network
22483
22504
  # interface.
22484
22505
  #
22506
+ # * `network-performance-options.bandwidth-weighting` - Where the
22507
+ # performance boost is applied, if applicable. Valid values:
22508
+ # `default`, `vpc-1`, `ebs-1`.
22509
+ #
22485
22510
  # * `operator.managed` - A Boolean that indicates whether this is a
22486
22511
  # managed instance.
22487
22512
  #
@@ -24917,13 +24942,6 @@ module Aws::EC2
24917
24942
  #
24918
24943
  # * `network-interface-id` - The ID of the network interface.
24919
24944
  #
24920
- # * `operator.managed` - A Boolean that indicates whether this is a
24921
- # managed network interface.
24922
- #
24923
- # * `operator.principal` - The principal that manages the network
24924
- # interface. Only valid for managed network interfaces, where
24925
- # `managed` is `true`.
24926
- #
24927
24945
  # * `owner-id` - The Amazon Web Services account ID of the network
24928
24946
  # interface owner.
24929
24947
  #
@@ -35198,6 +35216,13 @@ module Aws::EC2
35198
35216
  # and the request returns only results that match all of the specified
35199
35217
  # filters.
35200
35218
  #
35219
+ # For more information, see [List and filter using the CLI and API][1]
35220
+ # in the *Amazon EC2 User Guide*.
35221
+ #
35222
+ #
35223
+ #
35224
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Filtering.html#Filtering_Resources_CLI
35225
+ #
35201
35226
  # @!attribute [rw] name
35202
35227
  # The name of the filter. Filter names are case-sensitive.
35203
35228
  # @return [String]
@@ -41939,6 +41964,11 @@ module Aws::EC2
41939
41964
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
41940
41965
  # @return [String]
41941
41966
  #
41967
+ # @!attribute [rw] network_performance_options
41968
+ # Contains settings for the network performance options for your
41969
+ # instance.
41970
+ # @return [Types::InstanceNetworkPerformanceOptions]
41971
+ #
41942
41972
  # @!attribute [rw] operator
41943
41973
  # The service provider that manages the instance.
41944
41974
  # @return [Types::OperatorResponse]
@@ -42085,6 +42115,7 @@ module Aws::EC2
42085
42115
  :tpm_support,
42086
42116
  :maintenance_options,
42087
42117
  :current_instance_boot_mode,
42118
+ :network_performance_options,
42088
42119
  :operator,
42089
42120
  :instance_id,
42090
42121
  :image_id,
@@ -43490,6 +43521,58 @@ module Aws::EC2
43490
43521
  include Aws::Structure
43491
43522
  end
43492
43523
 
43524
+ # With network performance options, you can adjust your bandwidth
43525
+ # preferences to meet the needs of the workload that runs on your
43526
+ # instance.
43527
+ #
43528
+ # @!attribute [rw] bandwidth_weighting
43529
+ # When you configure network bandwidth weighting, you can boost your
43530
+ # baseline bandwidth for either networking or EBS by up to 25%. The
43531
+ # total available baseline bandwidth for your instance remains the
43532
+ # same. The default option uses the standard bandwidth configuration
43533
+ # for your instance type.
43534
+ # @return [String]
43535
+ #
43536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkPerformanceOptions AWS API Documentation
43537
+ #
43538
+ class InstanceNetworkPerformanceOptions < Struct.new(
43539
+ :bandwidth_weighting)
43540
+ SENSITIVE = []
43541
+ include Aws::Structure
43542
+ end
43543
+
43544
+ # Configure network performance options for your instance that are
43545
+ # geared towards performance improvements based on the workload that it
43546
+ # runs.
43547
+ #
43548
+ # @!attribute [rw] bandwidth_weighting
43549
+ # Specify the bandwidth weighting option to boost the associated type
43550
+ # of baseline bandwidth, as follows:
43551
+ #
43552
+ # default
43553
+ #
43554
+ # : This option uses the standard bandwidth configuration for your
43555
+ # instance type.
43556
+ #
43557
+ # vpc-1
43558
+ #
43559
+ # : This option boosts your networking baseline bandwidth and reduces
43560
+ # your EBS baseline bandwidth.
43561
+ #
43562
+ # ebs-1
43563
+ #
43564
+ # : This option boosts your EBS baseline bandwidth and reduces your
43565
+ # networking baseline bandwidth.
43566
+ # @return [String]
43567
+ #
43568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkPerformanceOptionsRequest AWS API Documentation
43569
+ #
43570
+ class InstanceNetworkPerformanceOptionsRequest < Struct.new(
43571
+ :bandwidth_weighting)
43572
+ SENSITIVE = []
43573
+ include Aws::Structure
43574
+ end
43575
+
43493
43576
  # Describes a private IPv4 address.
43494
43577
  #
43495
43578
  # @!attribute [rw] association
@@ -48507,6 +48590,58 @@ module Aws::EC2
48507
48590
  include Aws::Structure
48508
48591
  end
48509
48592
 
48593
+ # With network performance options, you can adjust your bandwidth
48594
+ # preferences to meet the needs of the workload that runs on your
48595
+ # instance at launch.
48596
+ #
48597
+ # @!attribute [rw] bandwidth_weighting
48598
+ # When you configure network bandwidth weighting, you can boost
48599
+ # baseline bandwidth for either networking or EBS by up to 25%. The
48600
+ # total available baseline bandwidth for your instance remains the
48601
+ # same. The default option uses the standard bandwidth configuration
48602
+ # for your instance type.
48603
+ # @return [String]
48604
+ #
48605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateNetworkPerformanceOptions AWS API Documentation
48606
+ #
48607
+ class LaunchTemplateNetworkPerformanceOptions < Struct.new(
48608
+ :bandwidth_weighting)
48609
+ SENSITIVE = []
48610
+ include Aws::Structure
48611
+ end
48612
+
48613
+ # When you configure network performance options in your launch
48614
+ # template, your instance is geared for performance improvements based
48615
+ # on the workload that it runs as soon as it's available.
48616
+ #
48617
+ # @!attribute [rw] bandwidth_weighting
48618
+ # Specify the bandwidth weighting option to boost the associated type
48619
+ # of baseline bandwidth, as follows:
48620
+ #
48621
+ # default
48622
+ #
48623
+ # : This option uses the standard bandwidth configuration for your
48624
+ # instance type.
48625
+ #
48626
+ # vpc-1
48627
+ #
48628
+ # : This option boosts your networking baseline bandwidth and reduces
48629
+ # your EBS baseline bandwidth.
48630
+ #
48631
+ # ebs-1
48632
+ #
48633
+ # : This option boosts your EBS baseline bandwidth and reduces your
48634
+ # networking baseline bandwidth.
48635
+ # @return [String]
48636
+ #
48637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateNetworkPerformanceOptionsRequest AWS API Documentation
48638
+ #
48639
+ class LaunchTemplateNetworkPerformanceOptionsRequest < Struct.new(
48640
+ :bandwidth_weighting)
48641
+ SENSITIVE = []
48642
+ include Aws::Structure
48643
+ end
48644
+
48510
48645
  # Describes overrides for a launch template.
48511
48646
  #
48512
48647
  # @!attribute [rw] instance_type
@@ -51664,6 +51799,65 @@ module Aws::EC2
51664
51799
  include Aws::Structure
51665
51800
  end
51666
51801
 
51802
+ # @!attribute [rw] instance_id
51803
+ # The ID of the instance to update.
51804
+ # @return [String]
51805
+ #
51806
+ # @!attribute [rw] bandwidth_weighting
51807
+ # Specify the bandwidth weighting option to boost the associated type
51808
+ # of baseline bandwidth, as follows:
51809
+ #
51810
+ # default
51811
+ #
51812
+ # : This option uses the standard bandwidth configuration for your
51813
+ # instance type.
51814
+ #
51815
+ # vpc-1
51816
+ #
51817
+ # : This option boosts your networking baseline bandwidth and reduces
51818
+ # your EBS baseline bandwidth.
51819
+ #
51820
+ # ebs-1
51821
+ #
51822
+ # : This option boosts your EBS baseline bandwidth and reduces your
51823
+ # networking baseline bandwidth.
51824
+ # @return [String]
51825
+ #
51826
+ # @!attribute [rw] dry_run
51827
+ # Checks whether you have the required permissions for the operation,
51828
+ # without actually making the request, and provides an error response.
51829
+ # If you have the required permissions, the error response is
51830
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
51831
+ # @return [Boolean]
51832
+ #
51833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceNetworkPerformanceRequest AWS API Documentation
51834
+ #
51835
+ class ModifyInstanceNetworkPerformanceRequest < Struct.new(
51836
+ :instance_id,
51837
+ :bandwidth_weighting,
51838
+ :dry_run)
51839
+ SENSITIVE = []
51840
+ include Aws::Structure
51841
+ end
51842
+
51843
+ # @!attribute [rw] instance_id
51844
+ # The instance ID that was updated.
51845
+ # @return [String]
51846
+ #
51847
+ # @!attribute [rw] bandwidth_weighting
51848
+ # Contains the updated configuration for bandwidth weighting on the
51849
+ # specified instance.
51850
+ # @return [String]
51851
+ #
51852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceNetworkPerformanceResult AWS API Documentation
51853
+ #
51854
+ class ModifyInstanceNetworkPerformanceResult < Struct.new(
51855
+ :instance_id,
51856
+ :bandwidth_weighting)
51857
+ SENSITIVE = []
51858
+ include Aws::Structure
51859
+ end
51860
+
51667
51861
  # @!attribute [rw] group_name
51668
51862
  # The name of the placement group in which to place the instance. For
51669
51863
  # spread placement groups, the instance must have a tenancy of
@@ -55752,6 +55946,11 @@ module Aws::EC2
55752
55946
  # minimize tail latency of network traffic between EC2 instances.
55753
55947
  # @return [Boolean]
55754
55948
  #
55949
+ # @!attribute [rw] bandwidth_weightings
55950
+ # A list of valid settings for configurable bandwidth weighting for
55951
+ # the instance type, if supported.
55952
+ # @return [Array<String>]
55953
+ #
55755
55954
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInfo AWS API Documentation
55756
55955
  #
55757
55956
  class NetworkInfo < Struct.new(
@@ -55767,7 +55966,8 @@ module Aws::EC2
55767
55966
  :efa_supported,
55768
55967
  :efa_info,
55769
55968
  :encryption_in_transit_supported,
55770
- :ena_srd_supported)
55969
+ :ena_srd_supported,
55970
+ :bandwidth_weightings)
55771
55971
  SENSITIVE = []
55772
55972
  include Aws::Structure
55773
55973
  end
@@ -60872,6 +61072,11 @@ module Aws::EC2
60872
61072
  # The entity that manages the launch template.
60873
61073
  # @return [Types::OperatorRequest]
60874
61074
  #
61075
+ # @!attribute [rw] network_performance_options
61076
+ # Contains launch template settings to boost network performance for
61077
+ # the type of workload that runs on your instance.
61078
+ # @return [Types::LaunchTemplateNetworkPerformanceOptionsRequest]
61079
+ #
60875
61080
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData AWS API Documentation
60876
61081
  #
60877
61082
  class RequestLaunchTemplateData < Struct.new(
@@ -60906,7 +61111,8 @@ module Aws::EC2
60906
61111
  :private_dns_name_options,
60907
61112
  :maintenance_options,
60908
61113
  :disable_api_stop,
60909
- :operator)
61114
+ :operator,
61115
+ :network_performance_options)
60910
61116
  SENSITIVE = [:user_data]
60911
61117
  include Aws::Structure
60912
61118
  end
@@ -62272,6 +62478,11 @@ module Aws::EC2
62272
62478
  # The entity that manages the launch template.
62273
62479
  # @return [Types::OperatorResponse]
62274
62480
  #
62481
+ # @!attribute [rw] network_performance_options
62482
+ # Contains the launch template settings for network performance
62483
+ # options for your instance.
62484
+ # @return [Types::LaunchTemplateNetworkPerformanceOptions]
62485
+ #
62275
62486
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
62276
62487
  #
62277
62488
  class ResponseLaunchTemplateData < Struct.new(
@@ -62306,7 +62517,8 @@ module Aws::EC2
62306
62517
  :private_dns_name_options,
62307
62518
  :maintenance_options,
62308
62519
  :disable_api_stop,
62309
- :operator)
62520
+ :operator,
62521
+ :network_performance_options)
62310
62522
  SENSITIVE = [:user_data]
62311
62523
  include Aws::Structure
62312
62524
  end
@@ -63510,6 +63722,11 @@ module Aws::EC2
63510
63722
  # ENI becomes the primary IPv6 address.
63511
63723
  # @return [Boolean]
63512
63724
  #
63725
+ # @!attribute [rw] network_performance_options
63726
+ # Contains settings for the network performance options for the
63727
+ # instance.
63728
+ # @return [Types::InstanceNetworkPerformanceOptionsRequest]
63729
+ #
63513
63730
  # @!attribute [rw] operator
63514
63731
  # Reserved for internal use.
63515
63732
  # @return [Types::OperatorRequest]
@@ -63635,6 +63852,7 @@ module Aws::EC2
63635
63852
  :maintenance_options,
63636
63853
  :disable_api_stop,
63637
63854
  :enable_primary_ipv_6,
63855
+ :network_performance_options,
63638
63856
  :operator,
63639
63857
  :dry_run,
63640
63858
  :disable_api_termination,
@@ -67296,7 +67514,9 @@ module Aws::EC2
67296
67514
  # @return [Boolean]
67297
67515
  #
67298
67516
  # @!attribute [rw] s3_bucket
67299
- # The name of the S3 bucket where the report will be saved.
67517
+ # The name of the S3 bucket where the report will be saved. The bucket
67518
+ # must be in the same Region where the report generation request is
67519
+ # made.
67300
67520
  # @return [String]
67301
67521
  #
67302
67522
  # @!attribute [rw] s3_prefix
@@ -1338,6 +1338,10 @@ module Aws::EC2
1338
1338
  # * `network-interface.vpc-id` - The ID of the VPC for the network
1339
1339
  # interface.
1340
1340
  #
1341
+ # * `network-performance-options.bandwidth-weighting` - Where the
1342
+ # performance boost is applied, if applicable. Valid values:
1343
+ # `default`, `vpc-1`, `ebs-1`.
1344
+ #
1341
1345
  # * `operator.managed` - A Boolean that indicates whether this is a
1342
1346
  # managed instance.
1343
1347
  #
@@ -1762,13 +1766,6 @@ module Aws::EC2
1762
1766
  #
1763
1767
  # * `network-interface-id` - The ID of the network interface.
1764
1768
  #
1765
- # * `operator.managed` - A Boolean that indicates whether this is a
1766
- # managed network interface.
1767
- #
1768
- # * `operator.principal` - The principal that manages the network
1769
- # interface. Only valid for managed network interfaces, where
1770
- # `managed` is `true`.
1771
- #
1772
1769
  # * `owner-id` - The Amazon Web Services account ID of the network
1773
1770
  # interface owner.
1774
1771
  #
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.495.0'
81
+ GEM_VERSION = '1.497.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -2216,6 +2216,9 @@ module Aws
2216
2216
  disable_api_stop: bool?,
2217
2217
  operator: {
2218
2218
  principal: ::String?
2219
+ }?,
2220
+ network_performance_options: {
2221
+ bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")?
2219
2222
  }?
2220
2223
  },
2221
2224
  ?operator: {
@@ -2485,6 +2488,9 @@ module Aws
2485
2488
  disable_api_stop: bool?,
2486
2489
  operator: {
2487
2490
  principal: ::String?
2491
+ }?,
2492
+ network_performance_options: {
2493
+ bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")?
2488
2494
  }?
2489
2495
  },
2490
2496
  ?resolve_alias: bool
@@ -4640,13 +4646,18 @@ module Aws
4640
4646
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4641
4647
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4642
4648
 
4649
+ interface _DeleteSecurityGroupResponseSuccess
4650
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecurityGroupResult]
4651
+ def return: () -> bool
4652
+ def group_id: () -> ::String
4653
+ end
4643
4654
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_security_group-instance_method
4644
4655
  def delete_security_group: (
4645
4656
  ?group_id: ::String,
4646
4657
  ?group_name: ::String,
4647
4658
  ?dry_run: bool
4648
- ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4649
- | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4659
+ ) -> _DeleteSecurityGroupResponseSuccess
4660
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityGroupResponseSuccess
4650
4661
 
4651
4662
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#delete_snapshot-instance_method
4652
4663
  def delete_snapshot: (
@@ -10703,6 +10714,19 @@ module Aws
10703
10714
  ) -> _ModifyInstanceMetadataOptionsResponseSuccess
10704
10715
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceMetadataOptionsResponseSuccess
10705
10716
 
10717
+ interface _ModifyInstanceNetworkPerformanceOptionsResponseSuccess
10718
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceNetworkPerformanceResult]
10719
+ def instance_id: () -> ::String
10720
+ def bandwidth_weighting: () -> ("default" | "vpc-1" | "ebs-1")
10721
+ end
10722
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_instance_network_performance_options-instance_method
10723
+ def modify_instance_network_performance_options: (
10724
+ instance_id: ::String,
10725
+ bandwidth_weighting: ("default" | "vpc-1" | "ebs-1"),
10726
+ ?dry_run: bool
10727
+ ) -> _ModifyInstanceNetworkPerformanceOptionsResponseSuccess
10728
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceNetworkPerformanceOptionsResponseSuccess
10729
+
10706
10730
  interface _ModifyInstancePlacementResponseSuccess
10707
10731
  include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstancePlacementResult]
10708
10732
  def return: () -> bool
@@ -13168,6 +13192,9 @@ module Aws
13168
13192
  },
13169
13193
  ?disable_api_stop: bool,
13170
13194
  ?enable_primary_ipv_6: bool,
13195
+ ?network_performance_options: {
13196
+ bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")?
13197
+ },
13171
13198
  ?operator: {
13172
13199
  principal: ::String?
13173
13200
  },
data/sig/instance.rbs CHANGED
@@ -126,6 +126,9 @@ module Aws
126
126
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#current_instance_boot_mode-instance_method
127
127
  def current_instance_boot_mode: () -> ("legacy-bios" | "uefi")
128
128
 
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#network_performance_options-instance_method
130
+ def network_performance_options: () -> Types::InstanceNetworkPerformanceOptions
131
+
129
132
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#operator-instance_method
130
133
  def operator: () -> Types::OperatorResponse
131
134
 
data/sig/resource.rbs CHANGED
@@ -232,6 +232,9 @@ module Aws
232
232
  },
233
233
  ?disable_api_stop: bool,
234
234
  ?enable_primary_ipv_6: bool,
235
+ ?network_performance_options: {
236
+ bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")?
237
+ },
235
238
  ?operator: {
236
239
  principal: ::String?
237
240
  },
@@ -202,8 +202,8 @@ module Aws
202
202
  def delete: (
203
203
  ?group_name: ::String,
204
204
  ?dry_run: bool
205
- ) -> ::Aws::EmptyStructure
206
- | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
205
+ ) -> Types::DeleteSecurityGroupResult
206
+ | (?Hash[Symbol, untyped]) -> Types::DeleteSecurityGroupResult
207
207
 
208
208
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/SecurityGroup.html#revoke_egress-instance_method
209
209
  def revoke_egress: (
data/sig/subnet.rbs CHANGED
@@ -225,6 +225,9 @@ module Aws
225
225
  },
226
226
  ?disable_api_stop: bool,
227
227
  ?enable_primary_ipv_6: bool,
228
+ ?network_performance_options: {
229
+ bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")?
230
+ },
228
231
  ?operator: {
229
232
  principal: ::String?
230
233
  },
data/sig/types.rbs CHANGED
@@ -3759,6 +3759,12 @@ module Aws::EC2
3759
3759
  SENSITIVE: []
3760
3760
  end
3761
3761
 
3762
+ class DeleteSecurityGroupResult
3763
+ attr_accessor return: bool
3764
+ attr_accessor group_id: ::String
3765
+ SENSITIVE: []
3766
+ end
3767
+
3762
3768
  class DeleteSnapshotRequest
3763
3769
  attr_accessor snapshot_id: ::String
3764
3770
  attr_accessor dry_run: bool
@@ -9331,6 +9337,7 @@ module Aws::EC2
9331
9337
  attr_accessor tpm_support: ::String
9332
9338
  attr_accessor maintenance_options: Types::InstanceMaintenanceOptions
9333
9339
  attr_accessor current_instance_boot_mode: ("legacy-bios" | "uefi")
9340
+ attr_accessor network_performance_options: Types::InstanceNetworkPerformanceOptions
9334
9341
  attr_accessor operator: Types::OperatorResponse
9335
9342
  attr_accessor instance_id: ::String
9336
9343
  attr_accessor image_id: ::String
@@ -9648,6 +9655,16 @@ module Aws::EC2
9648
9655
  SENSITIVE: []
9649
9656
  end
9650
9657
 
9658
+ class InstanceNetworkPerformanceOptions
9659
+ attr_accessor bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")
9660
+ SENSITIVE: []
9661
+ end
9662
+
9663
+ class InstanceNetworkPerformanceOptionsRequest
9664
+ attr_accessor bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")
9665
+ SENSITIVE: []
9666
+ end
9667
+
9651
9668
  class InstancePrivateIpAddress
9652
9669
  attr_accessor association: Types::InstanceNetworkInterfaceAssociation
9653
9670
  attr_accessor primary: bool
@@ -10532,6 +10549,16 @@ module Aws::EC2
10532
10549
  SENSITIVE: []
10533
10550
  end
10534
10551
 
10552
+ class LaunchTemplateNetworkPerformanceOptions
10553
+ attr_accessor bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")
10554
+ SENSITIVE: []
10555
+ end
10556
+
10557
+ class LaunchTemplateNetworkPerformanceOptionsRequest
10558
+ attr_accessor bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")
10559
+ SENSITIVE: []
10560
+ end
10561
+
10535
10562
  class LaunchTemplateOverrides
10536
10563
  attr_accessor instance_type: ("a1.medium" | "a1.large" | "a1.xlarge" | "a1.2xlarge" | "a1.4xlarge" | "a1.metal" | "c1.medium" | "c1.xlarge" | "c3.large" | "c3.xlarge" | "c3.2xlarge" | "c3.4xlarge" | "c3.8xlarge" | "c4.large" | "c4.xlarge" | "c4.2xlarge" | "c4.4xlarge" | "c4.8xlarge" | "c5.large" | "c5.xlarge" | "c5.2xlarge" | "c5.4xlarge" | "c5.9xlarge" | "c5.12xlarge" | "c5.18xlarge" | "c5.24xlarge" | "c5.metal" | "c5a.large" | "c5a.xlarge" | "c5a.2xlarge" | "c5a.4xlarge" | "c5a.8xlarge" | "c5a.12xlarge" | "c5a.16xlarge" | "c5a.24xlarge" | "c5ad.large" | "c5ad.xlarge" | "c5ad.2xlarge" | "c5ad.4xlarge" | "c5ad.8xlarge" | "c5ad.12xlarge" | "c5ad.16xlarge" | "c5ad.24xlarge" | "c5d.large" | "c5d.xlarge" | "c5d.2xlarge" | "c5d.4xlarge" | "c5d.9xlarge" | "c5d.12xlarge" | "c5d.18xlarge" | "c5d.24xlarge" | "c5d.metal" | "c5n.large" | "c5n.xlarge" | "c5n.2xlarge" | "c5n.4xlarge" | "c5n.9xlarge" | "c5n.18xlarge" | "c5n.metal" | "c6g.medium" | "c6g.large" | "c6g.xlarge" | "c6g.2xlarge" | "c6g.4xlarge" | "c6g.8xlarge" | "c6g.12xlarge" | "c6g.16xlarge" | "c6g.metal" | "c6gd.medium" | "c6gd.large" | "c6gd.xlarge" | "c6gd.2xlarge" | "c6gd.4xlarge" | "c6gd.8xlarge" | "c6gd.12xlarge" | "c6gd.16xlarge" | "c6gd.metal" | "c6gn.medium" | "c6gn.large" | "c6gn.xlarge" | "c6gn.2xlarge" | "c6gn.4xlarge" | "c6gn.8xlarge" | "c6gn.12xlarge" | "c6gn.16xlarge" | "c6i.large" | "c6i.xlarge" | "c6i.2xlarge" | "c6i.4xlarge" | "c6i.8xlarge" | "c6i.12xlarge" | "c6i.16xlarge" | "c6i.24xlarge" | "c6i.32xlarge" | "c6i.metal" | "cc1.4xlarge" | "cc2.8xlarge" | "cg1.4xlarge" | "cr1.8xlarge" | "d2.xlarge" | "d2.2xlarge" | "d2.4xlarge" | "d2.8xlarge" | "d3.xlarge" | "d3.2xlarge" | "d3.4xlarge" | "d3.8xlarge" | "d3en.xlarge" | "d3en.2xlarge" | "d3en.4xlarge" | "d3en.6xlarge" | "d3en.8xlarge" | "d3en.12xlarge" | "dl1.24xlarge" | "f1.2xlarge" | "f1.4xlarge" | "f1.16xlarge" | "g2.2xlarge" | "g2.8xlarge" | "g3.4xlarge" | "g3.8xlarge" | "g3.16xlarge" | "g3s.xlarge" | "g4ad.xlarge" | "g4ad.2xlarge" | "g4ad.4xlarge" | "g4ad.8xlarge" | "g4ad.16xlarge" | "g4dn.xlarge" | "g4dn.2xlarge" | "g4dn.4xlarge" | "g4dn.8xlarge" | "g4dn.12xlarge" | "g4dn.16xlarge" | "g4dn.metal" | "g5.xlarge" | "g5.2xlarge" | "g5.4xlarge" | "g5.8xlarge" | "g5.12xlarge" | "g5.16xlarge" | "g5.24xlarge" | "g5.48xlarge" | "g5g.xlarge" | "g5g.2xlarge" | "g5g.4xlarge" | "g5g.8xlarge" | "g5g.16xlarge" | "g5g.metal" | "hi1.4xlarge" | "hpc6a.48xlarge" | "hs1.8xlarge" | "h1.2xlarge" | "h1.4xlarge" | "h1.8xlarge" | "h1.16xlarge" | "i2.xlarge" | "i2.2xlarge" | "i2.4xlarge" | "i2.8xlarge" | "i3.large" | "i3.xlarge" | "i3.2xlarge" | "i3.4xlarge" | "i3.8xlarge" | "i3.16xlarge" | "i3.metal" | "i3en.large" | "i3en.xlarge" | "i3en.2xlarge" | "i3en.3xlarge" | "i3en.6xlarge" | "i3en.12xlarge" | "i3en.24xlarge" | "i3en.metal" | "im4gn.large" | "im4gn.xlarge" | "im4gn.2xlarge" | "im4gn.4xlarge" | "im4gn.8xlarge" | "im4gn.16xlarge" | "inf1.xlarge" | "inf1.2xlarge" | "inf1.6xlarge" | "inf1.24xlarge" | "is4gen.medium" | "is4gen.large" | "is4gen.xlarge" | "is4gen.2xlarge" | "is4gen.4xlarge" | "is4gen.8xlarge" | "m1.small" | "m1.medium" | "m1.large" | "m1.xlarge" | "m2.xlarge" | "m2.2xlarge" | "m2.4xlarge" | "m3.medium" | "m3.large" | "m3.xlarge" | "m3.2xlarge" | "m4.large" | "m4.xlarge" | "m4.2xlarge" | "m4.4xlarge" | "m4.10xlarge" | "m4.16xlarge" | "m5.large" | "m5.xlarge" | "m5.2xlarge" | "m5.4xlarge" | "m5.8xlarge" | "m5.12xlarge" | "m5.16xlarge" | "m5.24xlarge" | "m5.metal" | "m5a.large" | "m5a.xlarge" | "m5a.2xlarge" | "m5a.4xlarge" | "m5a.8xlarge" | "m5a.12xlarge" | "m5a.16xlarge" | "m5a.24xlarge" | "m5ad.large" | "m5ad.xlarge" | "m5ad.2xlarge" | "m5ad.4xlarge" | "m5ad.8xlarge" | "m5ad.12xlarge" | "m5ad.16xlarge" | "m5ad.24xlarge" | "m5d.large" | "m5d.xlarge" | "m5d.2xlarge" | "m5d.4xlarge" | "m5d.8xlarge" | "m5d.12xlarge" | "m5d.16xlarge" | "m5d.24xlarge" | "m5d.metal" | "m5dn.large" | "m5dn.xlarge" | "m5dn.2xlarge" | "m5dn.4xlarge" | "m5dn.8xlarge" | "m5dn.12xlarge" | "m5dn.16xlarge" | "m5dn.24xlarge" | "m5dn.metal" | "m5n.large" | "m5n.xlarge" | "m5n.2xlarge" | "m5n.4xlarge" | "m5n.8xlarge" | "m5n.12xlarge" | "m5n.16xlarge" | "m5n.24xlarge" | "m5n.metal" | "m5zn.large" | "m5zn.xlarge" | "m5zn.2xlarge" | "m5zn.3xlarge" | "m5zn.6xlarge" | "m5zn.12xlarge" | "m5zn.metal" | "m6a.large" | "m6a.xlarge" | "m6a.2xlarge" | "m6a.4xlarge" | "m6a.8xlarge" | "m6a.12xlarge" | "m6a.16xlarge" | "m6a.24xlarge" | "m6a.32xlarge" | "m6a.48xlarge" | "m6g.metal" | "m6g.medium" | "m6g.large" | "m6g.xlarge" | "m6g.2xlarge" | "m6g.4xlarge" | "m6g.8xlarge" | "m6g.12xlarge" | "m6g.16xlarge" | "m6gd.metal" | "m6gd.medium" | "m6gd.large" | "m6gd.xlarge" | "m6gd.2xlarge" | "m6gd.4xlarge" | "m6gd.8xlarge" | "m6gd.12xlarge" | "m6gd.16xlarge" | "m6i.large" | "m6i.xlarge" | "m6i.2xlarge" | "m6i.4xlarge" | "m6i.8xlarge" | "m6i.12xlarge" | "m6i.16xlarge" | "m6i.24xlarge" | "m6i.32xlarge" | "m6i.metal" | "mac1.metal" | "p2.xlarge" | "p2.8xlarge" | "p2.16xlarge" | "p3.2xlarge" | "p3.8xlarge" | "p3.16xlarge" | "p3dn.24xlarge" | "p4d.24xlarge" | "r3.large" | "r3.xlarge" | "r3.2xlarge" | "r3.4xlarge" | "r3.8xlarge" | "r4.large" | "r4.xlarge" | "r4.2xlarge" | "r4.4xlarge" | "r4.8xlarge" | "r4.16xlarge" | "r5.large" | "r5.xlarge" | "r5.2xlarge" | "r5.4xlarge" | "r5.8xlarge" | "r5.12xlarge" | "r5.16xlarge" | "r5.24xlarge" | "r5.metal" | "r5a.large" | "r5a.xlarge" | "r5a.2xlarge" | "r5a.4xlarge" | "r5a.8xlarge" | "r5a.12xlarge" | "r5a.16xlarge" | "r5a.24xlarge" | "r5ad.large" | "r5ad.xlarge" | "r5ad.2xlarge" | "r5ad.4xlarge" | "r5ad.8xlarge" | "r5ad.12xlarge" | "r5ad.16xlarge" | "r5ad.24xlarge" | "r5b.large" | "r5b.xlarge" | "r5b.2xlarge" | "r5b.4xlarge" | "r5b.8xlarge" | "r5b.12xlarge" | "r5b.16xlarge" | "r5b.24xlarge" | "r5b.metal" | "r5d.large" | "r5d.xlarge" | "r5d.2xlarge" | "r5d.4xlarge" | "r5d.8xlarge" | "r5d.12xlarge" | "r5d.16xlarge" | "r5d.24xlarge" | "r5d.metal" | "r5dn.large" | "r5dn.xlarge" | "r5dn.2xlarge" | "r5dn.4xlarge" | "r5dn.8xlarge" | "r5dn.12xlarge" | "r5dn.16xlarge" | "r5dn.24xlarge" | "r5dn.metal" | "r5n.large" | "r5n.xlarge" | "r5n.2xlarge" | "r5n.4xlarge" | "r5n.8xlarge" | "r5n.12xlarge" | "r5n.16xlarge" | "r5n.24xlarge" | "r5n.metal" | "r6g.medium" | "r6g.large" | "r6g.xlarge" | "r6g.2xlarge" | "r6g.4xlarge" | "r6g.8xlarge" | "r6g.12xlarge" | "r6g.16xlarge" | "r6g.metal" | "r6gd.medium" | "r6gd.large" | "r6gd.xlarge" | "r6gd.2xlarge" | "r6gd.4xlarge" | "r6gd.8xlarge" | "r6gd.12xlarge" | "r6gd.16xlarge" | "r6gd.metal" | "r6i.large" | "r6i.xlarge" | "r6i.2xlarge" | "r6i.4xlarge" | "r6i.8xlarge" | "r6i.12xlarge" | "r6i.16xlarge" | "r6i.24xlarge" | "r6i.32xlarge" | "r6i.metal" | "t1.micro" | "t2.nano" | "t2.micro" | "t2.small" | "t2.medium" | "t2.large" | "t2.xlarge" | "t2.2xlarge" | "t3.nano" | "t3.micro" | "t3.small" | "t3.medium" | "t3.large" | "t3.xlarge" | "t3.2xlarge" | "t3a.nano" | "t3a.micro" | "t3a.small" | "t3a.medium" | "t3a.large" | "t3a.xlarge" | "t3a.2xlarge" | "t4g.nano" | "t4g.micro" | "t4g.small" | "t4g.medium" | "t4g.large" | "t4g.xlarge" | "t4g.2xlarge" | "u-6tb1.56xlarge" | "u-6tb1.112xlarge" | "u-9tb1.112xlarge" | "u-12tb1.112xlarge" | "u-6tb1.metal" | "u-9tb1.metal" | "u-12tb1.metal" | "u-18tb1.metal" | "u-24tb1.metal" | "vt1.3xlarge" | "vt1.6xlarge" | "vt1.24xlarge" | "x1.16xlarge" | "x1.32xlarge" | "x1e.xlarge" | "x1e.2xlarge" | "x1e.4xlarge" | "x1e.8xlarge" | "x1e.16xlarge" | "x1e.32xlarge" | "x2iezn.2xlarge" | "x2iezn.4xlarge" | "x2iezn.6xlarge" | "x2iezn.8xlarge" | "x2iezn.12xlarge" | "x2iezn.metal" | "x2gd.medium" | "x2gd.large" | "x2gd.xlarge" | "x2gd.2xlarge" | "x2gd.4xlarge" | "x2gd.8xlarge" | "x2gd.12xlarge" | "x2gd.16xlarge" | "x2gd.metal" | "z1d.large" | "z1d.xlarge" | "z1d.2xlarge" | "z1d.3xlarge" | "z1d.6xlarge" | "z1d.12xlarge" | "z1d.metal" | "x2idn.16xlarge" | "x2idn.24xlarge" | "x2idn.32xlarge" | "x2iedn.xlarge" | "x2iedn.2xlarge" | "x2iedn.4xlarge" | "x2iedn.8xlarge" | "x2iedn.16xlarge" | "x2iedn.24xlarge" | "x2iedn.32xlarge" | "c6a.large" | "c6a.xlarge" | "c6a.2xlarge" | "c6a.4xlarge" | "c6a.8xlarge" | "c6a.12xlarge" | "c6a.16xlarge" | "c6a.24xlarge" | "c6a.32xlarge" | "c6a.48xlarge" | "c6a.metal" | "m6a.metal" | "i4i.large" | "i4i.xlarge" | "i4i.2xlarge" | "i4i.4xlarge" | "i4i.8xlarge" | "i4i.16xlarge" | "i4i.32xlarge" | "i4i.metal" | "x2idn.metal" | "x2iedn.metal" | "c7g.medium" | "c7g.large" | "c7g.xlarge" | "c7g.2xlarge" | "c7g.4xlarge" | "c7g.8xlarge" | "c7g.12xlarge" | "c7g.16xlarge" | "mac2.metal" | "c6id.large" | "c6id.xlarge" | "c6id.2xlarge" | "c6id.4xlarge" | "c6id.8xlarge" | "c6id.12xlarge" | "c6id.16xlarge" | "c6id.24xlarge" | "c6id.32xlarge" | "c6id.metal" | "m6id.large" | "m6id.xlarge" | "m6id.2xlarge" | "m6id.4xlarge" | "m6id.8xlarge" | "m6id.12xlarge" | "m6id.16xlarge" | "m6id.24xlarge" | "m6id.32xlarge" | "m6id.metal" | "r6id.large" | "r6id.xlarge" | "r6id.2xlarge" | "r6id.4xlarge" | "r6id.8xlarge" | "r6id.12xlarge" | "r6id.16xlarge" | "r6id.24xlarge" | "r6id.32xlarge" | "r6id.metal" | "r6a.large" | "r6a.xlarge" | "r6a.2xlarge" | "r6a.4xlarge" | "r6a.8xlarge" | "r6a.12xlarge" | "r6a.16xlarge" | "r6a.24xlarge" | "r6a.32xlarge" | "r6a.48xlarge" | "r6a.metal" | "p4de.24xlarge" | "u-3tb1.56xlarge" | "u-18tb1.112xlarge" | "u-24tb1.112xlarge" | "trn1.2xlarge" | "trn1.32xlarge" | "hpc6id.32xlarge" | "c6in.large" | "c6in.xlarge" | "c6in.2xlarge" | "c6in.4xlarge" | "c6in.8xlarge" | "c6in.12xlarge" | "c6in.16xlarge" | "c6in.24xlarge" | "c6in.32xlarge" | "m6in.large" | "m6in.xlarge" | "m6in.2xlarge" | "m6in.4xlarge" | "m6in.8xlarge" | "m6in.12xlarge" | "m6in.16xlarge" | "m6in.24xlarge" | "m6in.32xlarge" | "m6idn.large" | "m6idn.xlarge" | "m6idn.2xlarge" | "m6idn.4xlarge" | "m6idn.8xlarge" | "m6idn.12xlarge" | "m6idn.16xlarge" | "m6idn.24xlarge" | "m6idn.32xlarge" | "r6in.large" | "r6in.xlarge" | "r6in.2xlarge" | "r6in.4xlarge" | "r6in.8xlarge" | "r6in.12xlarge" | "r6in.16xlarge" | "r6in.24xlarge" | "r6in.32xlarge" | "r6idn.large" | "r6idn.xlarge" | "r6idn.2xlarge" | "r6idn.4xlarge" | "r6idn.8xlarge" | "r6idn.12xlarge" | "r6idn.16xlarge" | "r6idn.24xlarge" | "r6idn.32xlarge" | "c7g.metal" | "m7g.medium" | "m7g.large" | "m7g.xlarge" | "m7g.2xlarge" | "m7g.4xlarge" | "m7g.8xlarge" | "m7g.12xlarge" | "m7g.16xlarge" | "m7g.metal" | "r7g.medium" | "r7g.large" | "r7g.xlarge" | "r7g.2xlarge" | "r7g.4xlarge" | "r7g.8xlarge" | "r7g.12xlarge" | "r7g.16xlarge" | "r7g.metal" | "c6in.metal" | "m6in.metal" | "m6idn.metal" | "r6in.metal" | "r6idn.metal" | "inf2.xlarge" | "inf2.8xlarge" | "inf2.24xlarge" | "inf2.48xlarge" | "trn1n.32xlarge" | "i4g.large" | "i4g.xlarge" | "i4g.2xlarge" | "i4g.4xlarge" | "i4g.8xlarge" | "i4g.16xlarge" | "hpc7g.4xlarge" | "hpc7g.8xlarge" | "hpc7g.16xlarge" | "c7gn.medium" | "c7gn.large" | "c7gn.xlarge" | "c7gn.2xlarge" | "c7gn.4xlarge" | "c7gn.8xlarge" | "c7gn.12xlarge" | "c7gn.16xlarge" | "p5.48xlarge" | "m7i.large" | "m7i.xlarge" | "m7i.2xlarge" | "m7i.4xlarge" | "m7i.8xlarge" | "m7i.12xlarge" | "m7i.16xlarge" | "m7i.24xlarge" | "m7i.48xlarge" | "m7i-flex.large" | "m7i-flex.xlarge" | "m7i-flex.2xlarge" | "m7i-flex.4xlarge" | "m7i-flex.8xlarge" | "m7a.medium" | "m7a.large" | "m7a.xlarge" | "m7a.2xlarge" | "m7a.4xlarge" | "m7a.8xlarge" | "m7a.12xlarge" | "m7a.16xlarge" | "m7a.24xlarge" | "m7a.32xlarge" | "m7a.48xlarge" | "m7a.metal-48xl" | "hpc7a.12xlarge" | "hpc7a.24xlarge" | "hpc7a.48xlarge" | "hpc7a.96xlarge" | "c7gd.medium" | "c7gd.large" | "c7gd.xlarge" | "c7gd.2xlarge" | "c7gd.4xlarge" | "c7gd.8xlarge" | "c7gd.12xlarge" | "c7gd.16xlarge" | "m7gd.medium" | "m7gd.large" | "m7gd.xlarge" | "m7gd.2xlarge" | "m7gd.4xlarge" | "m7gd.8xlarge" | "m7gd.12xlarge" | "m7gd.16xlarge" | "r7gd.medium" | "r7gd.large" | "r7gd.xlarge" | "r7gd.2xlarge" | "r7gd.4xlarge" | "r7gd.8xlarge" | "r7gd.12xlarge" | "r7gd.16xlarge" | "r7a.medium" | "r7a.large" | "r7a.xlarge" | "r7a.2xlarge" | "r7a.4xlarge" | "r7a.8xlarge" | "r7a.12xlarge" | "r7a.16xlarge" | "r7a.24xlarge" | "r7a.32xlarge" | "r7a.48xlarge" | "c7i.large" | "c7i.xlarge" | "c7i.2xlarge" | "c7i.4xlarge" | "c7i.8xlarge" | "c7i.12xlarge" | "c7i.16xlarge" | "c7i.24xlarge" | "c7i.48xlarge" | "mac2-m2pro.metal" | "r7iz.large" | "r7iz.xlarge" | "r7iz.2xlarge" | "r7iz.4xlarge" | "r7iz.8xlarge" | "r7iz.12xlarge" | "r7iz.16xlarge" | "r7iz.32xlarge" | "c7a.medium" | "c7a.large" | "c7a.xlarge" | "c7a.2xlarge" | "c7a.4xlarge" | "c7a.8xlarge" | "c7a.12xlarge" | "c7a.16xlarge" | "c7a.24xlarge" | "c7a.32xlarge" | "c7a.48xlarge" | "c7a.metal-48xl" | "r7a.metal-48xl" | "r7i.large" | "r7i.xlarge" | "r7i.2xlarge" | "r7i.4xlarge" | "r7i.8xlarge" | "r7i.12xlarge" | "r7i.16xlarge" | "r7i.24xlarge" | "r7i.48xlarge" | "dl2q.24xlarge" | "mac2-m2.metal" | "i4i.12xlarge" | "i4i.24xlarge" | "c7i.metal-24xl" | "c7i.metal-48xl" | "m7i.metal-24xl" | "m7i.metal-48xl" | "r7i.metal-24xl" | "r7i.metal-48xl" | "r7iz.metal-16xl" | "r7iz.metal-32xl" | "c7gd.metal" | "m7gd.metal" | "r7gd.metal" | "g6.xlarge" | "g6.2xlarge" | "g6.4xlarge" | "g6.8xlarge" | "g6.12xlarge" | "g6.16xlarge" | "g6.24xlarge" | "g6.48xlarge" | "gr6.4xlarge" | "gr6.8xlarge" | "c7i-flex.large" | "c7i-flex.xlarge" | "c7i-flex.2xlarge" | "c7i-flex.4xlarge" | "c7i-flex.8xlarge" | "u7i-12tb.224xlarge" | "u7in-16tb.224xlarge" | "u7in-24tb.224xlarge" | "u7in-32tb.224xlarge" | "u7ib-12tb.224xlarge" | "c7gn.metal" | "r8g.medium" | "r8g.large" | "r8g.xlarge" | "r8g.2xlarge" | "r8g.4xlarge" | "r8g.8xlarge" | "r8g.12xlarge" | "r8g.16xlarge" | "r8g.24xlarge" | "r8g.48xlarge" | "r8g.metal-24xl" | "r8g.metal-48xl" | "mac2-m1ultra.metal" | "g6e.xlarge" | "g6e.2xlarge" | "g6e.4xlarge" | "g6e.8xlarge" | "g6e.12xlarge" | "g6e.16xlarge" | "g6e.24xlarge" | "g6e.48xlarge" | "c8g.medium" | "c8g.large" | "c8g.xlarge" | "c8g.2xlarge" | "c8g.4xlarge" | "c8g.8xlarge" | "c8g.12xlarge" | "c8g.16xlarge" | "c8g.24xlarge" | "c8g.48xlarge" | "c8g.metal-24xl" | "c8g.metal-48xl" | "m8g.medium" | "m8g.large" | "m8g.xlarge" | "m8g.2xlarge" | "m8g.4xlarge" | "m8g.8xlarge" | "m8g.12xlarge" | "m8g.16xlarge" | "m8g.24xlarge" | "m8g.48xlarge" | "m8g.metal-24xl" | "m8g.metal-48xl" | "x8g.medium" | "x8g.large" | "x8g.xlarge" | "x8g.2xlarge" | "x8g.4xlarge" | "x8g.8xlarge" | "x8g.12xlarge" | "x8g.16xlarge" | "x8g.24xlarge" | "x8g.48xlarge" | "x8g.metal-24xl" | "x8g.metal-48xl" | "i7ie.large" | "i7ie.xlarge" | "i7ie.2xlarge" | "i7ie.3xlarge" | "i7ie.6xlarge" | "i7ie.12xlarge" | "i7ie.18xlarge" | "i7ie.24xlarge" | "i7ie.48xlarge" | "i8g.large" | "i8g.xlarge" | "i8g.2xlarge" | "i8g.4xlarge" | "i8g.8xlarge" | "i8g.12xlarge" | "i8g.16xlarge" | "i8g.24xlarge" | "i8g.metal-24xl")
10537
10564
  attr_accessor spot_price: ::String
@@ -11219,6 +11246,19 @@ module Aws::EC2
11219
11246
  SENSITIVE: []
11220
11247
  end
11221
11248
 
11249
+ class ModifyInstanceNetworkPerformanceRequest
11250
+ attr_accessor instance_id: ::String
11251
+ attr_accessor bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")
11252
+ attr_accessor dry_run: bool
11253
+ SENSITIVE: []
11254
+ end
11255
+
11256
+ class ModifyInstanceNetworkPerformanceResult
11257
+ attr_accessor instance_id: ::String
11258
+ attr_accessor bandwidth_weighting: ("default" | "vpc-1" | "ebs-1")
11259
+ SENSITIVE: []
11260
+ end
11261
+
11222
11262
  class ModifyInstancePlacementRequest
11223
11263
  attr_accessor group_name: ::String
11224
11264
  attr_accessor partition_number: ::Integer
@@ -12163,6 +12203,7 @@ module Aws::EC2
12163
12203
  attr_accessor efa_info: Types::EfaInfo
12164
12204
  attr_accessor encryption_in_transit_supported: bool
12165
12205
  attr_accessor ena_srd_supported: bool
12206
+ attr_accessor bandwidth_weightings: ::Array[("default" | "vpc-1" | "ebs-1")]
12166
12207
  SENSITIVE: []
12167
12208
  end
12168
12209
 
@@ -13338,6 +13379,7 @@ module Aws::EC2
13338
13379
  attr_accessor maintenance_options: Types::LaunchTemplateInstanceMaintenanceOptionsRequest
13339
13380
  attr_accessor disable_api_stop: bool
13340
13381
  attr_accessor operator: Types::OperatorRequest
13382
+ attr_accessor network_performance_options: Types::LaunchTemplateNetworkPerformanceOptionsRequest
13341
13383
  SENSITIVE: [:user_data]
13342
13384
  end
13343
13385
 
@@ -13634,6 +13676,7 @@ module Aws::EC2
13634
13676
  attr_accessor maintenance_options: Types::LaunchTemplateInstanceMaintenanceOptions
13635
13677
  attr_accessor disable_api_stop: bool
13636
13678
  attr_accessor operator: Types::OperatorResponse
13679
+ attr_accessor network_performance_options: Types::LaunchTemplateNetworkPerformanceOptions
13637
13680
  SENSITIVE: [:user_data]
13638
13681
  end
13639
13682
 
@@ -13885,6 +13928,7 @@ module Aws::EC2
13885
13928
  attr_accessor maintenance_options: Types::InstanceMaintenanceOptionsRequest
13886
13929
  attr_accessor disable_api_stop: bool
13887
13930
  attr_accessor enable_primary_ipv_6: bool
13931
+ attr_accessor network_performance_options: Types::InstanceNetworkPerformanceOptionsRequest
13888
13932
  attr_accessor operator: Types::OperatorRequest
13889
13933
  attr_accessor dry_run: bool
13890
13934
  attr_accessor disable_api_termination: bool
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.495.0
4
+ version: 1.497.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-02 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core