aws-sdk-ec2 1.385.0 → 1.386.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67c02182ef1d93574a31f5c3c7675a17fc8502efa5193ac54a873fe78cc08a09
4
- data.tar.gz: 8b3ad8bec54e246864367ff42d3f82e272b87e8b4830bfa17390128082d9f837
3
+ metadata.gz: ce6d37e0f471d1b7e6070b137047fe091be0cba07fe57d3e7ff272a748d42d37
4
+ data.tar.gz: ad8e6b90d48e864d84c933774fa19e27f79f50359cb3efffd2f01312c11d69af
5
5
  SHA512:
6
- metadata.gz: ff46f8cdbc4e67d6c4576ee73f8e21399c7620d00108786211f0ae983e9860f15d63c58f26bae115dc16feb54d7ad24c0fdf41e721461bae592ed7ae44c3001b
7
- data.tar.gz: efd106c271b5e56f7069e9e63abac6d53eb0e090fdd45fb44e95e4034b6c4bf61ab82f6f0fa6e46415591530b5e76f3b115adce2929d422c57d2642588c0bc44
6
+ metadata.gz: 79c65104cbff4ac3d8cb3a1c5b200913507309d78a81a8761aebd15452ee0f490a694869a06f4b71fe2f304b44033ee77d7ed665742e368de2f61d4574d24785
7
+ data.tar.gz: 58bd9a7fe6f876aaa18088f17fef3f0abf9afdae58a696146fb19b60445cc5dada454fcbd19e315514696f659d07a58858e66dab69c18e2116b7d2b1e7b75097
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.386.0 (2023-06-20)
5
+ ------------------
6
+
7
+ * Feature - Adds support for targeting Dedicated Host allocations by assetIds in AWS Outposts
8
+
4
9
  1.385.0 (2023-06-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.385.0
1
+ 1.386.0
@@ -1010,9 +1010,14 @@ module Aws::EC2
1010
1010
  # cannot specify **InstanceFamily** and **InstanceType** in the same
1011
1011
  # request.
1012
1012
  #
1013
- # @option params [required, Integer] :quantity
1013
+ # @option params [Integer] :quantity
1014
1014
  # The number of Dedicated Hosts to allocate to your account with these
1015
- # parameters.
1015
+ # parameters. If you are allocating the Dedicated Hosts on an Outpost,
1016
+ # and you specify **AssetIds**, you can omit this parameter. In this
1017
+ # case, Amazon EC2 allocates a Dedicated Host on each specified hardware
1018
+ # asset. If you specify both **AssetIds** and **Quantity**, then the
1019
+ # value that you specify for **Quantity** must be equal to the number of
1020
+ # asset IDs specified.
1016
1021
  #
1017
1022
  # @option params [Array<Types::TagSpecification>] :tag_specifications
1018
1023
  # The tags to apply to the Dedicated Host during creation.
@@ -1030,7 +1035,11 @@ module Aws::EC2
1030
1035
  #
1031
1036
  # @option params [String] :outpost_arn
1032
1037
  # The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
1033
- # which to allocate the Dedicated Host.
1038
+ # which to allocate the Dedicated Host. If you specify **OutpostArn**,
1039
+ # you can optionally specify **AssetIds**.
1040
+ #
1041
+ # If you are allocating the Dedicated Host in a Region, omit this
1042
+ # parameter.
1034
1043
  #
1035
1044
  # @option params [String] :host_maintenance
1036
1045
  # Indicates whether to enable or disable host maintenance for the
@@ -1041,6 +1050,20 @@ module Aws::EC2
1041
1050
  #
1042
1051
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
1043
1052
  #
1053
+ # @option params [Array<String>] :asset_ids
1054
+ # The IDs of the Outpost hardware assets on which to allocate the
1055
+ # Dedicated Hosts. Targeting specific hardware assets on an Outpost can
1056
+ # help to minimize latency between your workloads. This parameter is
1057
+ # supported only if you specify **OutpostArn**. If you are allocating
1058
+ # the Dedicated Hosts in a Region, omit this parameter.
1059
+ #
1060
+ # * If you specify this parameter, you can omit **Quantity**. In this
1061
+ # case, Amazon EC2 allocates a Dedicated Host on each specified
1062
+ # hardware asset.
1063
+ #
1064
+ # * If you specify both **AssetIds** and **Quantity**, then the value
1065
+ # for **Quantity** must be equal to the number of asset IDs specified.
1066
+ #
1044
1067
  # @return [Types::AllocateHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1045
1068
  #
1046
1069
  # * {Types::AllocateHostsResult#host_ids #host_ids} => Array&lt;String&gt;
@@ -1053,7 +1076,7 @@ module Aws::EC2
1053
1076
  # client_token: "String",
1054
1077
  # instance_type: "String",
1055
1078
  # instance_family: "String",
1056
- # quantity: 1, # required
1079
+ # quantity: 1,
1057
1080
  # tag_specifications: [
1058
1081
  # {
1059
1082
  # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
@@ -1068,6 +1091,7 @@ module Aws::EC2
1068
1091
  # host_recovery: "on", # accepts on, off
1069
1092
  # outpost_arn: "String",
1070
1093
  # host_maintenance: "on", # accepts on, off
1094
+ # asset_ids: ["AssetId"],
1071
1095
  # })
1072
1096
  #
1073
1097
  # @example Response structure
@@ -6076,11 +6100,12 @@ module Aws::EC2
6076
6100
  req.send_request(options)
6077
6101
  end
6078
6102
 
6079
- # Launches an EC2 Fleet.
6103
+ # Creates an EC2 Fleet that contains the configuration information for
6104
+ # On-Demand Instances and Spot Instances. Instances are launched
6105
+ # immediately if there is available capacity.
6080
6106
  #
6081
- # You can create a single EC2 Fleet that includes multiple launch
6082
- # specifications that vary by instance type, AMI, Availability Zone, or
6083
- # subnet.
6107
+ # A single EC2 Fleet can include multiple launch specifications that
6108
+ # vary by instance type, AMI, Availability Zone, or subnet.
6084
6109
  #
6085
6110
  # For more information, see [EC2 Fleet][1] in the *Amazon EC2 User
6086
6111
  # Guide*.
@@ -14779,7 +14804,7 @@ module Aws::EC2
14779
14804
  # {
14780
14805
  # tunnel_inside_cidr: "String",
14781
14806
  # tunnel_inside_ipv_6_cidr: "String",
14782
- # pre_shared_key: "String",
14807
+ # pre_shared_key: "preSharedKey",
14783
14808
  # phase_1_lifetime_seconds: 1,
14784
14809
  # phase_2_lifetime_seconds: 1,
14785
14810
  # rekey_margin_time_seconds: 1,
@@ -22517,6 +22542,7 @@ module Aws::EC2
22517
22542
  # resp.hosts[0].member_of_service_linked_resource_group #=> Boolean
22518
22543
  # resp.hosts[0].outpost_arn #=> String
22519
22544
  # resp.hosts[0].host_maintenance #=> String, one of "on", "off"
22545
+ # resp.hosts[0].asset_id #=> String
22520
22546
  # resp.next_token #=> String
22521
22547
  #
22522
22548
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts AWS API Documentation
@@ -24303,6 +24329,9 @@ module Aws::EC2
24303
24329
  # * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
24304
24330
  # in GHz.
24305
24331
  #
24332
+ # * `processor-info.supported-features` - The supported CPU features
24333
+ # (`amd-sev-snp`).
24334
+ #
24306
24335
  # * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
24307
24336
  #
24308
24337
  # * `supported-root-device-type` - The root device type (`ebs` \|
@@ -45523,10 +45552,10 @@ module Aws::EC2
45523
45552
  # @option params [String] :tenancy
45524
45553
  # The tenancy for the instance.
45525
45554
  #
45526
- # <note markdown="1"> For T3 instances, you can't change the tenancy from `dedicated` to
45527
- # `host`, or from `host` to `dedicated`. Attempting to make one of these
45528
- # unsupported tenancy changes results in the `InvalidTenancy` error
45529
- # code.
45555
+ # <note markdown="1"> For T3 instances, you must launch the instance on a Dedicated Host to
45556
+ # use a tenancy of `host`. You can't change the tenancy from `host` to
45557
+ # `dedicated` or `default`. Attempting to make one of these unsupported
45558
+ # tenancy changes results in an `InvalidRequest` error code.
45530
45559
  #
45531
45560
  # </note>
45532
45561
  #
@@ -45535,7 +45564,8 @@ module Aws::EC2
45535
45564
  # if the placement group strategy is set to `partition`.
45536
45565
  #
45537
45566
  # @option params [String] :host_resource_group_arn
45538
- # The ARN of the host resource group in which to place the instance.
45567
+ # The ARN of the host resource group in which to place the instance. The
45568
+ # instance must have a tenancy of `host` to specify this parameter.
45539
45569
  #
45540
45570
  # @option params [String] :group_id
45541
45571
  # The Group Id of a placement group. You must specify the Placement
@@ -49231,7 +49261,7 @@ module Aws::EC2
49231
49261
  # tunnel_options: { # required
49232
49262
  # tunnel_inside_cidr: "String",
49233
49263
  # tunnel_inside_ipv_6_cidr: "String",
49234
- # pre_shared_key: "String",
49264
+ # pre_shared_key: "preSharedKey",
49235
49265
  # phase_1_lifetime_seconds: 1,
49236
49266
  # phase_2_lifetime_seconds: 1,
49237
49267
  # rekey_margin_time_seconds: 1,
@@ -53462,11 +53492,18 @@ module Aws::EC2
53462
53492
  # The instance type. For more information, see [Instance types][1] in
53463
53493
  # the *Amazon EC2 User Guide*.
53464
53494
  #
53495
+ # When you change your EBS-backed instance type, instance restart or
53496
+ # replacement behavior depends on the instance type compatibility
53497
+ # between the old and new types. An instance that's backed by an
53498
+ # instance store volume is always replaced. For more information, see
53499
+ # [Change the instance type][2] in the *Amazon EC2 User Guide*.
53500
+ #
53465
53501
  # Default: `m1.small`
53466
53502
  #
53467
53503
  #
53468
53504
  #
53469
53505
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
53506
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
53470
53507
  #
53471
53508
  # @option params [Integer] :ipv_6_address_count
53472
53509
  # The number of IPv6 addresses to associate with the primary network
@@ -56654,7 +56691,7 @@ module Aws::EC2
56654
56691
  params: params,
56655
56692
  config: config)
56656
56693
  context[:gem_name] = 'aws-sdk-ec2'
56657
- context[:gem_version] = '1.385.0'
56694
+ context[:gem_version] = '1.386.0'
56658
56695
  Seahorse::Client::Request.new(handlers, context)
56659
56696
  end
56660
56697
 
@@ -110,6 +110,8 @@ module Aws::EC2
110
110
  ArchitectureTypeSet = Shapes::ListShape.new(name: 'ArchitectureTypeSet')
111
111
  ArchitectureValues = Shapes::StringShape.new(name: 'ArchitectureValues')
112
112
  ArnList = Shapes::ListShape.new(name: 'ArnList')
113
+ AssetId = Shapes::StringShape.new(name: 'AssetId')
114
+ AssetIdList = Shapes::ListShape.new(name: 'AssetIdList')
113
115
  AssignIpv6AddressesRequest = Shapes::StructureShape.new(name: 'AssignIpv6AddressesRequest')
114
116
  AssignIpv6AddressesResult = Shapes::StructureShape.new(name: 'AssignIpv6AddressesResult')
115
117
  AssignPrivateIpAddressesRequest = Shapes::StructureShape.new(name: 'AssignPrivateIpAddressesRequest')
@@ -3018,6 +3020,8 @@ module Aws::EC2
3018
3020
  WithdrawByoipCidrResult = Shapes::StructureShape.new(name: 'WithdrawByoipCidrResult')
3019
3021
  ZoneIdStringList = Shapes::ListShape.new(name: 'ZoneIdStringList')
3020
3022
  ZoneNameStringList = Shapes::ListShape.new(name: 'ZoneNameStringList')
3023
+ customerGatewayConfiguration = Shapes::StringShape.new(name: 'customerGatewayConfiguration')
3024
+ preSharedKey = Shapes::StringShape.new(name: 'preSharedKey')
3021
3025
  scope = Shapes::StringShape.new(name: 'scope')
3022
3026
  snapshotTierStatusSet = Shapes::ListShape.new(name: 'snapshotTierStatusSet')
3023
3027
  totalFpgaMemory = Shapes::IntegerShape.new(name: 'totalFpgaMemory')
@@ -3240,11 +3244,12 @@ module Aws::EC2
3240
3244
  AllocateHostsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
3241
3245
  AllocateHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
3242
3246
  AllocateHostsRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "InstanceFamily"))
3243
- AllocateHostsRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "quantity"))
3247
+ AllocateHostsRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Integer, location_name: "quantity"))
3244
3248
  AllocateHostsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3245
3249
  AllocateHostsRequest.add_member(:host_recovery, Shapes::ShapeRef.new(shape: HostRecovery, location_name: "HostRecovery"))
3246
3250
  AllocateHostsRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
3247
3251
  AllocateHostsRequest.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "HostMaintenance"))
3252
+ AllocateHostsRequest.add_member(:asset_ids, Shapes::ShapeRef.new(shape: AssetIdList, location_name: "AssetId"))
3248
3253
  AllocateHostsRequest.struct_class = Types::AllocateHostsRequest
3249
3254
 
3250
3255
  AllocateHostsResult.add_member(:host_ids, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "hostIdSet"))
@@ -3355,6 +3360,8 @@ module Aws::EC2
3355
3360
 
3356
3361
  ArnList.member = Shapes::ShapeRef.new(shape: ResourceArn, location_name: "item")
3357
3362
 
3363
+ AssetIdList.member = Shapes::ShapeRef.new(shape: AssetId)
3364
+
3358
3365
  AssignIpv6AddressesRequest.add_member(:ipv_6_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ipv6AddressCount"))
3359
3366
  AssignIpv6AddressesRequest.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6AddressList, location_name: "ipv6Addresses"))
3360
3367
  AssignIpv6AddressesRequest.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
@@ -9067,6 +9074,7 @@ module Aws::EC2
9067
9074
  Host.add_member(:member_of_service_linked_resource_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "memberOfServiceLinkedResourceGroup"))
9068
9075
  Host.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
9069
9076
  Host.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "hostMaintenance"))
9077
+ Host.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "assetId"))
9070
9078
  Host.struct_class = Types::Host
9071
9079
 
9072
9080
  HostInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
@@ -11423,7 +11431,7 @@ module Aws::EC2
11423
11431
 
11424
11432
  ModifyVpnTunnelOptionsSpecification.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideCidr"))
11425
11433
  ModifyVpnTunnelOptionsSpecification.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideIpv6Cidr"))
11426
- ModifyVpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKey"))
11434
+ ModifyVpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: preSharedKey, location_name: "PreSharedKey"))
11427
11435
  ModifyVpnTunnelOptionsSpecification.add_member(:phase_1_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "Phase1LifetimeSeconds"))
11428
11436
  ModifyVpnTunnelOptionsSpecification.add_member(:phase_2_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "Phase2LifetimeSeconds"))
11429
11437
  ModifyVpnTunnelOptionsSpecification.add_member(:rekey_margin_time_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "RekeyMarginTimeSeconds"))
@@ -14282,7 +14290,7 @@ module Aws::EC2
14282
14290
  TunnelOption.add_member(:outside_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "outsideIpAddress"))
14283
14291
  TunnelOption.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "tunnelInsideCidr"))
14284
14292
  TunnelOption.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "tunnelInsideIpv6Cidr"))
14285
- TunnelOption.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: String, location_name: "preSharedKey"))
14293
+ TunnelOption.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: preSharedKey, location_name: "preSharedKey"))
14286
14294
  TunnelOption.add_member(:phase_1_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "phase1LifetimeSeconds"))
14287
14295
  TunnelOption.add_member(:phase_2_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "phase2LifetimeSeconds"))
14288
14296
  TunnelOption.add_member(:rekey_margin_time_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "rekeyMarginTimeSeconds"))
@@ -14826,7 +14834,7 @@ module Aws::EC2
14826
14834
  VpcPeeringConnectionVpcInfo.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
14827
14835
  VpcPeeringConnectionVpcInfo.struct_class = Types::VpcPeeringConnectionVpcInfo
14828
14836
 
14829
- VpnConnection.add_member(:customer_gateway_configuration, Shapes::ShapeRef.new(shape: String, location_name: "customerGatewayConfiguration"))
14837
+ VpnConnection.add_member(:customer_gateway_configuration, Shapes::ShapeRef.new(shape: customerGatewayConfiguration, location_name: "customerGatewayConfiguration"))
14830
14838
  VpnConnection.add_member(:customer_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "customerGatewayId"))
14831
14839
  VpnConnection.add_member(:category, Shapes::ShapeRef.new(shape: String, location_name: "category"))
14832
14840
  VpnConnection.add_member(:state, Shapes::ShapeRef.new(shape: VpnState, location_name: "state"))
@@ -14907,7 +14915,7 @@ module Aws::EC2
14907
14915
 
14908
14916
  VpnTunnelOptionsSpecification.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideCidr"))
14909
14917
  VpnTunnelOptionsSpecification.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideIpv6Cidr"))
14910
- VpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKey"))
14918
+ VpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: preSharedKey, location_name: "PreSharedKey"))
14911
14919
  VpnTunnelOptionsSpecification.add_member(:phase_1_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "Phase1LifetimeSeconds"))
14912
14920
  VpnTunnelOptionsSpecification.add_member(:phase_2_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "Phase2LifetimeSeconds"))
14913
14921
  VpnTunnelOptionsSpecification.add_member(:rekey_margin_time_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "RekeyMarginTimeSeconds"))
@@ -279,11 +279,18 @@ module Aws::EC2
279
279
  # The instance type. For more information, see [Instance types][1] in
280
280
  # the *Amazon EC2 User Guide*.
281
281
  #
282
+ # When you change your EBS-backed instance type, instance restart or
283
+ # replacement behavior depends on the instance type compatibility
284
+ # between the old and new types. An instance that's backed by an
285
+ # instance store volume is always replaced. For more information, see
286
+ # [Change the instance type][2] in the *Amazon EC2 User Guide*.
287
+ #
282
288
  # Default: `m1.small`
283
289
  #
284
290
  #
285
291
  #
286
292
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
293
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
287
294
  # @option options [Integer] :ipv_6_address_count
288
295
  # The number of IPv6 addresses to associate with the primary network
289
296
  # interface. Amazon EC2 chooses the IPv6 addresses from the range of
@@ -505,11 +505,18 @@ module Aws::EC2
505
505
  # The instance type. For more information, see [Instance types][1] in
506
506
  # the *Amazon EC2 User Guide*.
507
507
  #
508
+ # When you change your EBS-backed instance type, instance restart or
509
+ # replacement behavior depends on the instance type compatibility
510
+ # between the old and new types. An instance that's backed by an
511
+ # instance store volume is always replaced. For more information, see
512
+ # [Change the instance type][2] in the *Amazon EC2 User Guide*.
513
+ #
508
514
  # Default: `m1.small`
509
515
  #
510
516
  #
511
517
  #
512
518
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
519
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
513
520
  # @option options [Integer] :ipv_6_address_count
514
521
  # The number of IPv6 addresses to associate with the primary network
515
522
  # interface. Amazon EC2 chooses the IPv6 addresses from the range of
@@ -992,7 +992,12 @@ module Aws::EC2
992
992
  #
993
993
  # @!attribute [rw] quantity
994
994
  # The number of Dedicated Hosts to allocate to your account with these
995
- # parameters.
995
+ # parameters. If you are allocating the Dedicated Hosts on an Outpost,
996
+ # and you specify **AssetIds**, you can omit this parameter. In this
997
+ # case, Amazon EC2 allocates a Dedicated Host on each specified
998
+ # hardware asset. If you specify both **AssetIds** and **Quantity**,
999
+ # then the value that you specify for **Quantity** must be equal to
1000
+ # the number of asset IDs specified.
996
1001
  # @return [Integer]
997
1002
  #
998
1003
  # @!attribute [rw] tag_specifications
@@ -1013,7 +1018,11 @@ module Aws::EC2
1013
1018
  #
1014
1019
  # @!attribute [rw] outpost_arn
1015
1020
  # The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
1016
- # which to allocate the Dedicated Host.
1021
+ # which to allocate the Dedicated Host. If you specify **OutpostArn**,
1022
+ # you can optionally specify **AssetIds**.
1023
+ #
1024
+ # If you are allocating the Dedicated Host in a Region, omit this
1025
+ # parameter.
1017
1026
  # @return [String]
1018
1027
  #
1019
1028
  # @!attribute [rw] host_maintenance
@@ -1026,6 +1035,22 @@ module Aws::EC2
1026
1035
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
1027
1036
  # @return [String]
1028
1037
  #
1038
+ # @!attribute [rw] asset_ids
1039
+ # The IDs of the Outpost hardware assets on which to allocate the
1040
+ # Dedicated Hosts. Targeting specific hardware assets on an Outpost
1041
+ # can help to minimize latency between your workloads. This parameter
1042
+ # is supported only if you specify **OutpostArn**. If you are
1043
+ # allocating the Dedicated Hosts in a Region, omit this parameter.
1044
+ #
1045
+ # * If you specify this parameter, you can omit **Quantity**. In this
1046
+ # case, Amazon EC2 allocates a Dedicated Host on each specified
1047
+ # hardware asset.
1048
+ #
1049
+ # * If you specify both **AssetIds** and **Quantity**, then the value
1050
+ # for **Quantity** must be equal to the number of asset IDs
1051
+ # specified.
1052
+ # @return [Array<String>]
1053
+ #
1029
1054
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest AWS API Documentation
1030
1055
  #
1031
1056
  class AllocateHostsRequest < Struct.new(
@@ -1038,7 +1063,8 @@ module Aws::EC2
1038
1063
  :tag_specifications,
1039
1064
  :host_recovery,
1040
1065
  :outpost_arn,
1041
- :host_maintenance)
1066
+ :host_maintenance,
1067
+ :asset_ids)
1042
1068
  SENSITIVE = []
1043
1069
  include Aws::Structure
1044
1070
  end
@@ -6189,7 +6215,12 @@ module Aws::EC2
6189
6215
  # @return [Integer]
6190
6216
  #
6191
6217
  # @!attribute [rw] amd_sev_snp
6192
- # Indicates whether the instance is enabled for AMD SEV-SNP.
6218
+ # Indicates whether the instance is enabled for AMD SEV-SNP. For more
6219
+ # information, see [AMD SEV-SNP][1].
6220
+ #
6221
+ #
6222
+ #
6223
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
6193
6224
  # @return [String]
6194
6225
  #
6195
6226
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptions AWS API Documentation
@@ -6217,7 +6248,12 @@ module Aws::EC2
6217
6248
  #
6218
6249
  # @!attribute [rw] amd_sev_snp
6219
6250
  # Indicates whether to enable the instance for AMD SEV-SNP. AMD
6220
- # SEV-SNP is supported with M6a, R6a, and C6a instance types only.
6251
+ # SEV-SNP is supported with M6a, R6a, and C6a instance types only. For
6252
+ # more information, see [AMD SEV-SNP][1].
6253
+ #
6254
+ #
6255
+ #
6256
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
6221
6257
  # @return [String]
6222
6258
  #
6223
6259
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptionsRequest AWS API Documentation
@@ -19368,6 +19404,9 @@ module Aws::EC2
19368
19404
  # * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock
19369
19405
  # speed, in GHz.
19370
19406
  #
19407
+ # * `processor-info.supported-features` - The supported CPU features
19408
+ # (`amd-sev-snp`).
19409
+ #
19371
19410
  # * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
19372
19411
  #
19373
19412
  # * `supported-root-device-type` - The root device type (`ebs` \|
@@ -19427,9 +19466,16 @@ module Aws::EC2
19427
19466
  # The instance type. For more information, see [Instance types][1] in
19428
19467
  # the *Amazon EC2 User Guide*.
19429
19468
  #
19469
+ # When you change your EBS-backed instance type, instance restart or
19470
+ # replacement behavior depends on the instance type compatibility
19471
+ # between the old and new types. An instance that's backed by an
19472
+ # instance store volume is always replaced. For more information, see
19473
+ # [Change the instance type][2] in the *Amazon EC2 User Guide*.
19474
+ #
19430
19475
  #
19431
19476
  #
19432
19477
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
19478
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
19433
19479
  # @return [Array<Types::InstanceTypeInfo>]
19434
19480
  #
19435
19481
  # @!attribute [rw] next_token
@@ -31567,8 +31613,10 @@ module Aws::EC2
31567
31613
  # @return [Types::InstanceRequirements]
31568
31614
  #
31569
31615
  # @!attribute [rw] image_id
31570
- # The ID of the AMI. An AMI is required to launch an instance. The AMI
31571
- # ID must be specified here or in the launch template.
31616
+ # The ID of the AMI. An AMI is required to launch an instance. This
31617
+ # parameter is only available for fleets of type `instant`. For fleets
31618
+ # of type `maintain` and `request`, you must specify the AMI ID in the
31619
+ # launch template.
31572
31620
  # @return [String]
31573
31621
  #
31574
31622
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateOverrides AWS API Documentation
@@ -31660,8 +31708,10 @@ module Aws::EC2
31660
31708
  # @return [Types::InstanceRequirementsRequest]
31661
31709
  #
31662
31710
  # @!attribute [rw] image_id
31663
- # The ID of the AMI. An AMI is required to launch an instance. The AMI
31664
- # ID must be specified here or in the launch template.
31711
+ # The ID of the AMI. An AMI is required to launch an instance. This
31712
+ # parameter is only available for fleets of type `instant`. For fleets
31713
+ # of type `maintain` and `request`, you must specify the AMI ID in the
31714
+ # launch template.
31665
31715
  # @return [String]
31666
31716
  #
31667
31717
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateOverridesRequest AWS API Documentation
@@ -34912,6 +34962,11 @@ module Aws::EC2
34912
34962
  # Dedicated Host.
34913
34963
  # @return [String]
34914
34964
  #
34965
+ # @!attribute [rw] asset_id
34966
+ # The ID of the Outpost hardware asset on which the Dedicated Host is
34967
+ # allocated.
34968
+ # @return [String]
34969
+ #
34915
34970
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
34916
34971
  #
34917
34972
  class Host < Struct.new(
@@ -34933,7 +34988,8 @@ module Aws::EC2
34933
34988
  :availability_zone_id,
34934
34989
  :member_of_service_linked_resource_group,
34935
34990
  :outpost_arn,
34936
- :host_maintenance)
34991
+ :host_maintenance,
34992
+ :asset_id)
34937
34993
  SENSITIVE = []
34938
34994
  include Aws::Structure
34939
34995
  end
@@ -41430,7 +41486,9 @@ module Aws::EC2
41430
41486
  # Describes a launch template and overrides.
41431
41487
  #
41432
41488
  # @!attribute [rw] launch_template_specification
41433
- # The launch template.
41489
+ # The launch template to use. Make sure that the launch template does
41490
+ # not contain the `NetworkInterfaceId` parameter because you can't
41491
+ # specify a network interface ID in a Spot Fleet.
41434
41492
  # @return [Types::FleetLaunchTemplateSpecification]
41435
41493
  #
41436
41494
  # @!attribute [rw] overrides
@@ -45023,10 +45081,11 @@ module Aws::EC2
45023
45081
  # @!attribute [rw] tenancy
45024
45082
  # The tenancy for the instance.
45025
45083
  #
45026
- # <note markdown="1"> For T3 instances, you can't change the tenancy from `dedicated` to
45027
- # `host`, or from `host` to `dedicated`. Attempting to make one of
45028
- # these unsupported tenancy changes results in the `InvalidTenancy`
45029
- # error code.
45084
+ # <note markdown="1"> For T3 instances, you must launch the instance on a Dedicated Host
45085
+ # to use a tenancy of `host`. You can't change the tenancy from
45086
+ # `host` to `dedicated` or `default`. Attempting to make one of these
45087
+ # unsupported tenancy changes results in an `InvalidRequest` error
45088
+ # code.
45030
45089
  #
45031
45090
  # </note>
45032
45091
  # @return [String]
@@ -45038,6 +45097,8 @@ module Aws::EC2
45038
45097
  #
45039
45098
  # @!attribute [rw] host_resource_group_arn
45040
45099
  # The ARN of the host resource group in which to place the instance.
45100
+ # The instance must have a tenancy of `host` to specify this
45101
+ # parameter.
45041
45102
  # @return [String]
45042
45103
  #
45043
45104
  # @!attribute [rw] group_id
@@ -47696,7 +47757,7 @@ module Aws::EC2
47696
47757
  :tunnel_options,
47697
47758
  :dry_run,
47698
47759
  :skip_tunnel_replacement)
47699
- SENSITIVE = []
47760
+ SENSITIVE = [:tunnel_options]
47700
47761
  include Aws::Structure
47701
47762
  end
47702
47763
 
@@ -47911,7 +47972,7 @@ module Aws::EC2
47911
47972
  :startup_action,
47912
47973
  :log_options,
47913
47974
  :enable_tunnel_lifecycle_control)
47914
- SENSITIVE = []
47975
+ SENSITIVE = [:pre_shared_key]
47915
47976
  include Aws::Structure
47916
47977
  end
47917
47978
 
@@ -50646,7 +50707,11 @@ module Aws::EC2
50646
50707
  # @!attribute [rw] supported_features
50647
50708
  # Indicates whether the instance type supports AMD SEV-SNP. If the
50648
50709
  # request returns `amd-sev-snp`, AMD SEV-SNP is supported. Otherwise,
50649
- # it is not supported.
50710
+ # it is not supported. For more information, see [ AMD SEV-SNP][1].
50711
+ #
50712
+ #
50713
+ #
50714
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
50650
50715
  # @return [Array<String>]
50651
50716
  #
50652
50717
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProcessorInfo AWS API Documentation
@@ -55178,11 +55243,18 @@ module Aws::EC2
55178
55243
  # The instance type. For more information, see [Instance types][1] in
55179
55244
  # the *Amazon EC2 User Guide*.
55180
55245
  #
55246
+ # When you change your EBS-backed instance type, instance restart or
55247
+ # replacement behavior depends on the instance type compatibility
55248
+ # between the old and new types. An instance that's backed by an
55249
+ # instance store volume is always replaced. For more information, see
55250
+ # [Change the instance type][2] in the *Amazon EC2 User Guide*.
55251
+ #
55181
55252
  # Default: `m1.small`
55182
55253
  #
55183
55254
  #
55184
55255
  #
55185
55256
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
55257
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
55186
55258
  # @return [String]
55187
55259
  #
55188
55260
  # @!attribute [rw] ipv_6_address_count
@@ -62148,7 +62220,7 @@ module Aws::EC2
62148
62220
  :startup_action,
62149
62221
  :log_options,
62150
62222
  :enable_tunnel_lifecycle_control)
62151
- SENSITIVE = []
62223
+ SENSITIVE = [:pre_shared_key]
62152
62224
  include Aws::Structure
62153
62225
  end
62154
62226
 
@@ -64433,7 +64505,7 @@ module Aws::EC2
64433
64505
  :routes,
64434
64506
  :tags,
64435
64507
  :vgw_telemetry)
64436
- SENSITIVE = []
64508
+ SENSITIVE = [:customer_gateway_configuration]
64437
64509
  include Aws::Structure
64438
64510
  end
64439
64511
 
@@ -64923,7 +64995,7 @@ module Aws::EC2
64923
64995
  :startup_action,
64924
64996
  :log_options,
64925
64997
  :enable_tunnel_lifecycle_control)
64926
- SENSITIVE = []
64998
+ SENSITIVE = [:pre_shared_key]
64927
64999
  include Aws::Structure
64928
65000
  end
64929
65001
 
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.385.0'
79
+ GEM_VERSION = '1.386.0'
80
80
 
81
81
  end
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.385.0
4
+ version: 1.386.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: 2023-06-19 00:00:00.000000000 Z
11
+ date: 2023-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4