aws-sdk-ec2 1.138.0 → 1.143.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
  SHA1:
3
- metadata.gz: 68554d90ac7315195193cf41581b92b583fcc0cc
4
- data.tar.gz: 14f4d6f1f43f984db090ecfde1b9ec26cf38db29
3
+ metadata.gz: 1be7dcbeb0f299ea254ca08700e0fd9412ed0676
4
+ data.tar.gz: 13519daede6fca9cb8d717525a043f8c86863667
5
5
  SHA512:
6
- metadata.gz: 2782ec923ce7922b2e184a35ea5a87550dba3c597e860c9e0ffe644a2d01506d3913d13d9f3492f2d2d91a1d480aa756cb6d7d44c5cf13b33f09b8324c32d1df
7
- data.tar.gz: 5d2285c15684d15c0fc6cd560d97e22444bedb2eaecd13a5140b46026725f2a5b71ec09104634cec7a3e8ff5dfb043abfc8141587ae038d1218a811e1aff479e
6
+ metadata.gz: '095fa7f84c139f26ddab9734f3e6f30886053ed07cc4f675d4b0d673b4de7f2ff17ad8d16101645d5f51a7c8d28cb2648b176028d0232bf57e06d4e87bca7927'
7
+ data.tar.gz: b5a3ba39116cdfbe9bc8aff6f2681ad9eff4739b5bcc70099b7327da507c64f6836f39ac59b37c55ba5d1e6406567ff35d0ef005c2a248a453acc16c75f4b97e
@@ -66,6 +66,6 @@ require_relative 'aws-sdk-ec2/customizations'
66
66
  # @service
67
67
  module Aws::EC2
68
68
 
69
- GEM_VERSION = '1.138.0'
69
+ GEM_VERSION = '1.143.0'
70
70
 
71
71
  end
@@ -884,6 +884,9 @@ module Aws::EC2
884
884
  # see [IP Addresses Per Network Interface Per Instance Type][1] in the
885
885
  # *Amazon Elastic Compute Cloud User Guide*.
886
886
  #
887
+ # You must specify either the IPv6 addresses or the IPv6 address count
888
+ # in the request.
889
+ #
887
890
  #
888
891
  #
889
892
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
@@ -951,6 +954,9 @@ module Aws::EC2
951
954
  # `network/interfaces/macs/mac/local-ipv4s` in the instance metadata to
952
955
  # confirm that the remapping is complete.
953
956
  #
957
+ # You must specify either the IP addresses or the IP address count in
958
+ # the request.
959
+ #
954
960
  #
955
961
  #
956
962
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
@@ -4629,9 +4635,9 @@ module Aws::EC2
4629
4635
  # captured and aggregated into a flow log record. You can specify 60
4630
4636
  # seconds (1 minute) or 600 seconds (10 minutes).
4631
4637
  #
4632
- # For network interfaces attached to [Nitro-based instances][1], the
4633
- # aggregation interval is always 60 seconds, regardless of the value
4634
- # that you specify.
4638
+ # When a network interface is attached to a [Nitro-based instance][1],
4639
+ # the aggregation interval is always 60 seconds or less, regardless of
4640
+ # the value that you specify.
4635
4641
  #
4636
4642
  # Default: 600
4637
4643
  #
@@ -8371,7 +8377,8 @@ module Aws::EC2
8371
8377
  # The Amazon Resource Name (ARN) of the Outpost.
8372
8378
  #
8373
8379
  # @option params [Integer] :size
8374
- # The size of the volume, in GiBs.
8380
+ # The size of the volume, in GiBs. You must specify either a snapshot ID
8381
+ # or a volume size.
8375
8382
  #
8376
8383
  # Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
8377
8384
  # `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
@@ -8381,16 +8388,9 @@ module Aws::EC2
8381
8388
  # Default: If you're creating the volume from a snapshot and don't
8382
8389
  # specify a volume size, the default is the snapshot size.
8383
8390
  #
8384
- # <note markdown="1"> At least one of Size or SnapshotId is required.
8385
- #
8386
- # </note>
8387
- #
8388
8391
  # @option params [String] :snapshot_id
8389
- # The snapshot from which to create the volume.
8390
- #
8391
- # <note markdown="1"> At least one of Size or SnapshotId are required.
8392
- #
8393
- # </note>
8392
+ # The snapshot from which to create the volume. You must specify either
8393
+ # a snapshot ID or a volume size.
8394
8394
  #
8395
8395
  # @option params [String] :volume_type
8396
8396
  # The volume type. This can be `gp2` for General Purpose SSD, `io1` for
@@ -8408,6 +8408,18 @@ module Aws::EC2
8408
8408
  # @option params [Array<Types::TagSpecification>] :tag_specifications
8409
8409
  # The tags to apply to the volume during creation.
8410
8410
  #
8411
+ # @option params [Boolean] :multi_attach_enabled
8412
+ # Specifies whether to enable Amazon EBS Multi-Attach. If you enable
8413
+ # Multi-Attach, you can attach the volume to up to 16 [Nitro-based
8414
+ # instances][1] in the same Availability Zone. For more information, see
8415
+ # [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
8416
+ # User Guide*.
8417
+ #
8418
+ #
8419
+ #
8420
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
8421
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html
8422
+ #
8411
8423
  # @return [Types::Volume] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8412
8424
  #
8413
8425
  # * {Types::Volume#attachments #attachments} => Array&lt;Types::VolumeAttachment&gt;
@@ -8424,6 +8436,7 @@ module Aws::EC2
8424
8436
  # * {Types::Volume#tags #tags} => Array&lt;Types::Tag&gt;
8425
8437
  # * {Types::Volume#volume_type #volume_type} => String
8426
8438
  # * {Types::Volume#fast_restored #fast_restored} => Boolean
8439
+ # * {Types::Volume#multi_attach_enabled #multi_attach_enabled} => Boolean
8427
8440
  #
8428
8441
  #
8429
8442
  # @example Example: To create a new volume
@@ -8500,6 +8513,7 @@ module Aws::EC2
8500
8513
  # ],
8501
8514
  # },
8502
8515
  # ],
8516
+ # multi_attach_enabled: false,
8503
8517
  # })
8504
8518
  #
8505
8519
  # @example Response structure
@@ -8526,6 +8540,7 @@ module Aws::EC2
8526
8540
  # resp.tags[0].value #=> String
8527
8541
  # resp.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
8528
8542
  # resp.fast_restored #=> Boolean
8543
+ # resp.multi_attach_enabled #=> Boolean
8529
8544
  #
8530
8545
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume AWS API Documentation
8531
8546
  #
@@ -8763,6 +8778,9 @@ module Aws::EC2
8763
8778
  #
8764
8779
  # Default: `true`
8765
8780
  #
8781
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
8782
+ # The tags to associate with the endpoint.
8783
+ #
8766
8784
  # @return [Types::CreateVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8767
8785
  #
8768
8786
  # * {Types::CreateVpcEndpointResult#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
@@ -8781,6 +8799,17 @@ module Aws::EC2
8781
8799
  # security_group_ids: ["String"],
8782
8800
  # client_token: "String",
8783
8801
  # private_dns_enabled: false,
8802
+ # tag_specifications: [
8803
+ # {
8804
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
8805
+ # tags: [
8806
+ # {
8807
+ # key: "String",
8808
+ # value: "String",
8809
+ # },
8810
+ # ],
8811
+ # },
8812
+ # ],
8784
8813
  # })
8785
8814
  #
8786
8815
  # @example Response structure
@@ -8947,6 +8976,9 @@ module Aws::EC2
8947
8976
  #
8948
8977
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
8949
8978
  #
8979
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
8980
+ # The tags to associate with the service.
8981
+ #
8950
8982
  # @return [Types::CreateVpcEndpointServiceConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8951
8983
  #
8952
8984
  # * {Types::CreateVpcEndpointServiceConfigurationResult#service_configuration #service_configuration} => Types::ServiceConfiguration
@@ -8960,6 +8992,17 @@ module Aws::EC2
8960
8992
  # private_dns_name: "String",
8961
8993
  # network_load_balancer_arns: ["String"], # required
8962
8994
  # client_token: "String",
8995
+ # tag_specifications: [
8996
+ # {
8997
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
8998
+ # tags: [
8999
+ # {
9000
+ # key: "String",
9001
+ # value: "String",
9002
+ # },
9003
+ # ],
9004
+ # },
9005
+ # ],
8963
9006
  # })
8964
9007
  #
8965
9008
  # @example Response structure
@@ -14962,6 +15005,8 @@ module Aws::EC2
14962
15005
  # resp.images[0].kernel_id #=> String
14963
15006
  # resp.images[0].owner_id #=> String
14964
15007
  # resp.images[0].platform #=> String, one of "Windows"
15008
+ # resp.images[0].platform_details #=> String
15009
+ # resp.images[0].usage_operation #=> String
14965
15010
  # resp.images[0].product_codes #=> Array
14966
15011
  # resp.images[0].product_codes[0].product_code_id #=> String
14967
15012
  # resp.images[0].product_codes[0].product_code_type #=> String, one of "devpay", "marketplace"
@@ -18542,6 +18587,19 @@ module Aws::EC2
18542
18587
  # retrieve the remaining results, make another call with the returned
18543
18588
  # `nextToken` value.
18544
18589
  #
18590
+ # @option params [Array<Types::Filter>] :filters
18591
+ # One or more filters.
18592
+ #
18593
+ # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
18594
+ # the resource. Use the tag key in the filter name and the tag value
18595
+ # as the filter value. For example, to find all resources that have a
18596
+ # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
18597
+ # for the filter name and `TeamA` for the filter value.
18598
+ #
18599
+ # * `tag-key` - The key of a tag assigned to the resource. Use this
18600
+ # filter to find all resources assigned a tag with a specific key,
18601
+ # regardless of the tag value.
18602
+ #
18545
18603
  # @return [Types::DescribePublicIpv4PoolsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18546
18604
  #
18547
18605
  # * {Types::DescribePublicIpv4PoolsResult#public_ipv_4_pools #public_ipv_4_pools} => Array&lt;Types::PublicIpv4Pool&gt;
@@ -18553,6 +18611,12 @@ module Aws::EC2
18553
18611
  # pool_ids: ["String"],
18554
18612
  # next_token: "NextToken",
18555
18613
  # max_results: 1,
18614
+ # filters: [
18615
+ # {
18616
+ # name: "String",
18617
+ # values: ["String"],
18618
+ # },
18619
+ # ],
18556
18620
  # })
18557
18621
  #
18558
18622
  # @example Response structure
@@ -18567,6 +18631,9 @@ module Aws::EC2
18567
18631
  # resp.public_ipv_4_pools[0].pool_address_ranges[0].available_address_count #=> Integer
18568
18632
  # resp.public_ipv_4_pools[0].total_address_count #=> Integer
18569
18633
  # resp.public_ipv_4_pools[0].total_available_address_count #=> Integer
18634
+ # resp.public_ipv_4_pools[0].tags #=> Array
18635
+ # resp.public_ipv_4_pools[0].tags[0].key #=> String
18636
+ # resp.public_ipv_4_pools[0].tags[0].value #=> String
18570
18637
  # resp.next_token #=> String
18571
18638
  #
18572
18639
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePublicIpv4Pools AWS API Documentation
@@ -20153,7 +20220,7 @@ module Aws::EC2
20153
20220
  # * *implicit*\: An AWS account has implicit create volume permissions
20154
20221
  # for all snapshots it owns.
20155
20222
  #
20156
- # The list of snapshots returned can be modified by specifying snapshot
20223
+ # The list of snapshots returned can be filtered by specifying snapshot
20157
20224
  # IDs, snapshot owners, or AWS accounts with create volume permissions.
20158
20225
  # If no options are specified, Amazon EC2 returns all snapshots for
20159
20226
  # which you have create volume permissions.
@@ -20182,6 +20249,9 @@ module Aws::EC2
20182
20249
  # to a subsequent `DescribeSnapshots` request to retrieve the remaining
20183
20250
  # results.
20184
20251
  #
20252
+ # To get the state of fast snapshot restores for a snapshot, use
20253
+ # DescribeFastSnapshotRestores.
20254
+ #
20185
20255
  # For more information about EBS snapshots, see [Amazon EBS
20186
20256
  # Snapshots][1] in the *Amazon Elastic Compute Cloud User Guide*.
20187
20257
  #
@@ -20826,8 +20896,16 @@ module Aws::EC2
20826
20896
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups #=> Array
20827
20897
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
20828
20898
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
20899
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
20900
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "elastic-ip", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "natgateway", "network-acl", "network-interface", "placement-group", "reserved-instances", "route-table", "security-group", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway"
20901
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
20902
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
20903
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
20829
20904
  # resp.spot_fleet_request_configs[0].spot_fleet_request_id #=> String
20830
20905
  # resp.spot_fleet_request_configs[0].spot_fleet_request_state #=> String, one of "submitted", "active", "cancelled", "failed", "cancelled_running", "cancelled_terminating", "modifying"
20906
+ # resp.spot_fleet_request_configs[0].tags #=> Array
20907
+ # resp.spot_fleet_request_configs[0].tags[0].key #=> String
20908
+ # resp.spot_fleet_request_configs[0].tags[0].value #=> String
20831
20909
  #
20832
20910
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests AWS API Documentation
20833
20911
  #
@@ -22498,7 +22576,7 @@ module Aws::EC2
22498
22576
  #
22499
22577
  # resp = client.describe_volume_attribute({
22500
22578
  # attribute: "autoEnableIO", # required, accepts autoEnableIO, productCodes
22501
- # volume_id: "String", # required
22579
+ # volume_id: "VolumeId", # required
22502
22580
  # dry_run: false,
22503
22581
  # })
22504
22582
  #
@@ -22704,7 +22782,7 @@ module Aws::EC2
22704
22782
  # ],
22705
22783
  # max_results: 1,
22706
22784
  # next_token: "String",
22707
- # volume_ids: ["String"],
22785
+ # volume_ids: ["VolumeId"],
22708
22786
  # dry_run: false,
22709
22787
  # })
22710
22788
  #
@@ -22725,11 +22803,15 @@ module Aws::EC2
22725
22803
  # resp.volume_statuses[0].events[0].event_type #=> String
22726
22804
  # resp.volume_statuses[0].events[0].not_after #=> Time
22727
22805
  # resp.volume_statuses[0].events[0].not_before #=> Time
22806
+ # resp.volume_statuses[0].events[0].instance_id #=> String
22728
22807
  # resp.volume_statuses[0].volume_id #=> String
22729
22808
  # resp.volume_statuses[0].volume_status.details #=> Array
22730
22809
  # resp.volume_statuses[0].volume_status.details[0].name #=> String, one of "io-enabled", "io-performance"
22731
22810
  # resp.volume_statuses[0].volume_status.details[0].status #=> String
22732
22811
  # resp.volume_statuses[0].volume_status.status #=> String, one of "ok", "impaired", "insufficient-data"
22812
+ # resp.volume_statuses[0].attachment_statuses #=> Array
22813
+ # resp.volume_statuses[0].attachment_statuses[0].io_performance #=> String
22814
+ # resp.volume_statuses[0].attachment_statuses[0].instance_id #=> String
22733
22815
  #
22734
22816
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus AWS API Documentation
22735
22817
  #
@@ -22783,6 +22865,13 @@ module Aws::EC2
22783
22865
  # * `encrypted` - Indicates whether the volume is encrypted (`true` \|
22784
22866
  # `false`)
22785
22867
  #
22868
+ # * `multi-attach-enabled` - Indicates whether the volume is enabled for
22869
+ # Multi-Attach (`true` \| `false`)
22870
+ #
22871
+ # * `fast-restored` - Indicates whether the volume was created from a
22872
+ # snapshot that is enabled for fast snapshot restore (`true` \|
22873
+ # `false`).
22874
+ #
22786
22875
  # * `size` - The size of the volume, in GiB.
22787
22876
  #
22788
22877
  # * `snapshot-id` - The snapshot from which the volume was created.
@@ -22930,7 +23019,7 @@ module Aws::EC2
22930
23019
  # values: ["String"],
22931
23020
  # },
22932
23021
  # ],
22933
- # volume_ids: ["String"],
23022
+ # volume_ids: ["VolumeId"],
22934
23023
  # dry_run: false,
22935
23024
  # max_results: 1,
22936
23025
  # next_token: "String",
@@ -22961,6 +23050,7 @@ module Aws::EC2
22961
23050
  # resp.volumes[0].tags[0].value #=> String
22962
23051
  # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
22963
23052
  # resp.volumes[0].fast_restored #=> Boolean
23053
+ # resp.volumes[0].multi_attach_enabled #=> Boolean
22964
23054
  # resp.next_token #=> String
22965
23055
  #
22966
23056
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumes AWS API Documentation
@@ -23004,9 +23094,11 @@ module Aws::EC2
23004
23094
  # described.
23005
23095
  #
23006
23096
  # @option params [Array<Types::Filter>] :filters
23007
- # The filters. Supported filters: `volume-id`, `modification-state`,
23008
- # `target-size`, `target-iops`, `target-volume-type`, `original-size`,
23009
- # `original-iops`, `original-volume-type`, `start-time`.
23097
+ # The filters. Supported filters: `volume-id` \| `modification-state` \|
23098
+ # `target-size` \| `target-iops` \| `target-volume-type` \|
23099
+ # `original-size` \| `original-iops` \| `original-volume-type` \|
23100
+ # `start-time` \| `originalMultiAttachEnabled` \|
23101
+ # `targetMultiAttachEnabled`.
23010
23102
  #
23011
23103
  # @option params [String] :next_token
23012
23104
  # The `nextToken` value returned by a previous paginated request.
@@ -23024,7 +23116,7 @@ module Aws::EC2
23024
23116
  #
23025
23117
  # resp = client.describe_volumes_modifications({
23026
23118
  # dry_run: false,
23027
- # volume_ids: ["String"],
23119
+ # volume_ids: ["VolumeId"],
23028
23120
  # filters: [
23029
23121
  # {
23030
23122
  # name: "String",
@@ -24474,7 +24566,8 @@ module Aws::EC2
24474
24566
  # procedures.
24475
24567
  #
24476
24568
  # @option params [String] :instance_id
24477
- # The ID of the instance.
24569
+ # The ID of the instance. If you are detaching a Multi-Attach enabled
24570
+ # volume, you must specify an instance ID.
24478
24571
  #
24479
24572
  # @option params [required, String] :volume_id
24480
24573
  # The ID of the volume.
@@ -25297,6 +25390,13 @@ module Aws::EC2
25297
25390
  # restores, use DescribeFastSnapshotRestores. To disable fast snapshot
25298
25391
  # restores, use DisableFastSnapshotRestores.
25299
25392
  #
25393
+ # For more information, see [Amazon EBS Fast Snapshot Restore][1] in the
25394
+ # *Amazon Elastic Compute Cloud User Guide*.
25395
+ #
25396
+ #
25397
+ #
25398
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-fast-snapshot-restore.html
25399
+ #
25300
25400
  # @option params [required, Array<String>] :availability_zones
25301
25401
  # One or more Availability Zones. For example, `us-east-2a`.
25302
25402
  #
@@ -31402,22 +31502,24 @@ module Aws::EC2
31402
31502
  # (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
31403
31503
  # product code associated with an AMI to verify the subscription status
31404
31504
  # for package updates. To create a new AMI for operating systems that
31405
- # require a billing product code, do the following:
31505
+ # require a billing product code, instead of registering the AMI, do the
31506
+ # following to preserve the billing product code association:
31406
31507
  #
31407
31508
  # 1. Launch an instance from an existing AMI with that billing product
31408
31509
  # code.
31409
31510
  #
31410
31511
  # 2. Customize the instance.
31411
31512
  #
31412
- # 3. Create a new AMI from the instance using CreateImage to preserve
31413
- # the billing product code association.
31513
+ # 3. Create an AMI from the instance using CreateImage.
31414
31514
  #
31415
31515
  # If you purchase a Reserved Instance to apply to an On-Demand Instance
31416
31516
  # that was launched from an AMI with a billing product code, make sure
31417
31517
  # that the Reserved Instance has the matching billing product code. If
31418
31518
  # you purchase a Reserved Instance without the matching billing product
31419
31519
  # code, the Reserved Instance will not be applied to the On-Demand
31420
- # Instance.
31520
+ # Instance. For information about how to obtain the platform details and
31521
+ # billing information of an AMI, see [Obtaining Billing Information][3]
31522
+ # in the *Amazon Elastic Compute Cloud User Guide*.
31421
31523
  #
31422
31524
  # If needed, you can deregister an AMI at any time. Any modifications
31423
31525
  # you make to an AMI backed by an instance store volume invalidates its
@@ -31428,6 +31530,7 @@ module Aws::EC2
31428
31530
  #
31429
31531
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html
31430
31532
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-launch-snapshot.html
31533
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
31431
31534
  #
31432
31535
  # @option params [String] :image_location
31433
31536
  # The full path to your AMI manifest in Amazon S3 storage. The specified
@@ -32531,9 +32634,9 @@ module Aws::EC2
32531
32634
  # are in different Spot pools, you can improve the availability of your
32532
32635
  # fleet.
32533
32636
  #
32534
- # You can specify tags for the Spot Instances. You cannot tag other
32535
- # resource types in a Spot Fleet request because only the `instance`
32536
- # resource type is supported.
32637
+ # You can specify tags for the Spot Fleet and Spot Instances. You cannot
32638
+ # tag other resource types in a Spot Fleet request because only the
32639
+ # `spot-fleet-request` and `instance` resource types are supported.
32537
32640
  #
32538
32641
  # For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
32539
32642
  # User Guide for Linux Instances*.
@@ -32851,6 +32954,17 @@ module Aws::EC2
32851
32954
  # },
32852
32955
  # },
32853
32956
  # instance_pools_to_use_count: 1,
32957
+ # tag_specifications: [
32958
+ # {
32959
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
32960
+ # tags: [
32961
+ # {
32962
+ # key: "String",
32963
+ # value: "String",
32964
+ # },
32965
+ # ],
32966
+ # },
32967
+ # ],
32854
32968
  # },
32855
32969
  # })
32856
32970
  #
@@ -35206,11 +35320,10 @@ module Aws::EC2
35206
35320
  # EC2 charges a one-minute minimum for instance usage, and thereafter
35207
35321
  # charges per second for instance usage.
35208
35322
  #
35209
- # You can't start, stop, or hibernate Spot Instances, and you can't
35210
- # stop or hibernate instance store-backed instances. For information
35211
- # about using hibernation for Spot Instances, see [Hibernating
35212
- # Interrupted Spot Instances][4] in the *Amazon Elastic Compute Cloud
35213
- # User Guide*.
35323
+ # You can't hibernate Spot Instances, and you can't stop or hibernate
35324
+ # instance store-backed instances. For information about using
35325
+ # hibernation for Spot Instances, see [Hibernating Interrupted Spot
35326
+ # Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
35214
35327
  #
35215
35328
  # When you stop or hibernate an instance, we shut it down. You can
35216
35329
  # restart your instance at any time. Before stopping or hibernating an
@@ -35895,7 +36008,7 @@ module Aws::EC2
35895
36008
  params: params,
35896
36009
  config: config)
35897
36010
  context[:gem_name] = 'aws-sdk-ec2'
35898
- context[:gem_version] = '1.138.0'
36011
+ context[:gem_version] = '1.143.0'
35899
36012
  Seahorse::Client::Request.new(handlers, context)
35900
36013
  end
35901
36014