aws-sdk-ec2 1.220.0 → 1.225.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 +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +4 -4
- data/lib/aws-sdk-ec2/client.rb +535 -170
- data/lib/aws-sdk-ec2/client_api.rb +94 -1
- data/lib/aws-sdk-ec2/instance.rb +8 -6
- data/lib/aws-sdk-ec2/network_interface.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +64 -26
- data/lib/aws-sdk-ec2/snapshot.rb +26 -0
- data/lib/aws-sdk-ec2/subnet.rb +14 -16
- data/lib/aws-sdk-ec2/types.rb +528 -176
- data/lib/aws-sdk-ec2/volume.rb +22 -0
- data/lib/aws-sdk-ec2/vpc.rb +9 -8
- data/lib/aws-sdk-ec2/vpc_address.rb +6 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4e5dbc31669f77d1e6bcc75e7650b67283960f25c26858187641fff2d6087f6
|
4
|
+
data.tar.gz: 506af3f6a75654792f1a874c311c4cd31d2475e8f74fbf20eb0a2c5d990d47a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3ec3f3c14675cfe11337832f2a81fe78d389445c3b017400d1824e518138b7f098a56515e489bf2de6e4d723cab5b98e91a1c79c9a713e844f998726a3dfb76
|
7
|
+
data.tar.gz: 07f57e24fce991cd6f4c38dd1748a4449ae17e4517594dc296ee36cc697e83afe0d4ba22a2e243638a33a6d97c3f1f0544ebee1224001a8f7b18f9da7c6dc93f
|
data/lib/aws-sdk-ec2.rb
CHANGED
@@ -266,10 +266,10 @@ module Aws::EC2
|
|
266
266
|
# @option options [String] :allocation_id
|
267
267
|
# \[EC2-VPC\] The allocation ID. This is required for EC2-VPC.
|
268
268
|
# @option options [String] :instance_id
|
269
|
-
# The ID of the instance.
|
270
|
-
# you can specify either the instance ID
|
271
|
-
# but not both.
|
272
|
-
#
|
269
|
+
# The ID of the instance. The instance must have exactly one attached
|
270
|
+
# network interface. For EC2-VPC, you can specify either the instance ID
|
271
|
+
# or the network interface ID, but not both. For EC2-Classic, you must
|
272
|
+
# specify an instance ID and the instance must be in the running state.
|
273
273
|
# @option options [Boolean] :allow_reassociation
|
274
274
|
# \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
|
275
275
|
# an Elastic IP address that is already associated with an instance or
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -877,8 +877,8 @@ module Aws::EC2
|
|
877
877
|
# Indicates whether the host accepts any untargeted instance launches
|
878
878
|
# that match its instance type configuration, or if it only accepts Host
|
879
879
|
# tenancy instance launches that specify its unique host ID. For more
|
880
|
-
# information, see [ Understanding
|
881
|
-
#
|
880
|
+
# information, see [ Understanding auto-placement and affinity][1] in
|
881
|
+
# the *Amazon EC2 User Guide*.
|
882
882
|
#
|
883
883
|
# Default: `on`
|
884
884
|
#
|
@@ -891,7 +891,7 @@ module Aws::EC2
|
|
891
891
|
#
|
892
892
|
# @option params [String] :client_token
|
893
893
|
# Unique, case-sensitive identifier that you provide to ensure the
|
894
|
-
# idempotency of the request. For more information, see [
|
894
|
+
# idempotency of the request. For more information, see [Ensuring
|
895
895
|
# Idempotency][1].
|
896
896
|
#
|
897
897
|
#
|
@@ -928,7 +928,7 @@ module Aws::EC2
|
|
928
928
|
# @option params [String] :host_recovery
|
929
929
|
# Indicates whether to enable or disable host recovery for the Dedicated
|
930
930
|
# Host. Host recovery is disabled by default. For more information, see
|
931
|
-
# [ Host
|
931
|
+
# [ Host recovery][1] in the *Amazon EC2 User Guide*.
|
932
932
|
#
|
933
933
|
# Default: `off`
|
934
934
|
#
|
@@ -1042,10 +1042,12 @@ module Aws::EC2
|
|
1042
1042
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
1043
1043
|
#
|
1044
1044
|
# @option params [Integer] :ipv_6_address_count
|
1045
|
-
# The number of IPv6 addresses to assign to the network
|
1046
|
-
#
|
1047
|
-
#
|
1048
|
-
#
|
1045
|
+
# The number of additional IPv6 addresses to assign to the network
|
1046
|
+
# interface. The specified number of IPv6 addresses are assigned in
|
1047
|
+
# addition to the existing IPv6 addresses that are already assigned to
|
1048
|
+
# the network interface. Amazon EC2 automatically selects the IPv6
|
1049
|
+
# addresses from the subnet range. You can't use this option if
|
1050
|
+
# specifying specific IPv6 addresses.
|
1049
1051
|
#
|
1050
1052
|
# @option params [Array<String>] :ipv_6_addresses
|
1051
1053
|
# One or more specific IPv6 addresses to be assigned to the network
|
@@ -1231,14 +1233,14 @@ module Aws::EC2
|
|
1231
1233
|
# \[EC2-VPC\] The allocation ID. This is required for EC2-VPC.
|
1232
1234
|
#
|
1233
1235
|
# @option params [String] :instance_id
|
1234
|
-
# The ID of the instance.
|
1235
|
-
# you can specify either the instance ID
|
1236
|
-
# but not both.
|
1237
|
-
#
|
1236
|
+
# The ID of the instance. The instance must have exactly one attached
|
1237
|
+
# network interface. For EC2-VPC, you can specify either the instance ID
|
1238
|
+
# or the network interface ID, but not both. For EC2-Classic, you must
|
1239
|
+
# specify an instance ID and the instance must be in the running state.
|
1238
1240
|
#
|
1239
1241
|
# @option params [String] :public_ip
|
1240
|
-
# The Elastic IP address to associate with the instance.
|
1241
|
-
# required for EC2-Classic.
|
1242
|
+
# \[EC2-Classic\] The Elastic IP address to associate with the instance.
|
1243
|
+
# This is required for EC2-Classic.
|
1242
1244
|
#
|
1243
1245
|
# @option params [Boolean] :allow_reassociation
|
1244
1246
|
# \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
|
@@ -2998,7 +3000,7 @@ module Aws::EC2
|
|
2998
3000
|
# Instance Marketplace.
|
2999
3001
|
#
|
3000
3002
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
3001
|
-
# *Amazon
|
3003
|
+
# *Amazon EC2 User Guide*.
|
3002
3004
|
#
|
3003
3005
|
#
|
3004
3006
|
#
|
@@ -3326,31 +3328,46 @@ module Aws::EC2
|
|
3326
3328
|
req.send_request(options)
|
3327
3329
|
end
|
3328
3330
|
|
3329
|
-
# Initiates the copy of an AMI
|
3330
|
-
#
|
3331
|
-
#
|
3331
|
+
# Initiates the copy of an AMI. You can copy an AMI from one Region to
|
3332
|
+
# another, or from a Region to an AWS Outpost. You can't copy an AMI
|
3333
|
+
# from an Outpost to a Region, from one Outpost to another, or within
|
3334
|
+
# the same Outpost.
|
3335
|
+
#
|
3336
|
+
# To copy an AMI from one Region to another, specify the source Region
|
3337
|
+
# using the **SourceRegion** parameter, and specify the destination
|
3338
|
+
# Region using its endpoint. Copies of encrypted backing snapshots for
|
3339
|
+
# the AMI are encrypted. Copies of unencrypted backing snapshots remain
|
3340
|
+
# unencrypted, unless you set `Encrypted` during the copy operation. You
|
3341
|
+
# cannot create an unencrypted copy of an encrypted backing snapshot.
|
3342
|
+
#
|
3343
|
+
# To copy an AMI from a Region to an Outpost, specify the source Region
|
3344
|
+
# using the **SourceRegion** parameter, and specify the ARN of the
|
3345
|
+
# destination Outpost using **DestinationOutpostArn**. Backing snapshots
|
3346
|
+
# copied to an Outpost are encrypted by default using the default
|
3347
|
+
# encryption key for the Region, or a different key that you specify in
|
3348
|
+
# the request using **KmsKeyId**. Outposts do not support unencrypted
|
3349
|
+
# snapshots. For more information, [ Amazon EBS local snapshots on
|
3350
|
+
# Outposts][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
3351
|
+
#
|
3332
3352
|
#
|
3333
|
-
# Copies of encrypted backing snapshots for the AMI are encrypted.
|
3334
|
-
# Copies of unencrypted backing snapshots remain unencrypted, unless you
|
3335
|
-
# set `Encrypted` during the copy operation. You cannot create an
|
3336
|
-
# unencrypted copy of an encrypted backing snapshot.
|
3337
3353
|
#
|
3338
3354
|
# For more information about the prerequisites and limits when copying
|
3339
|
-
# an AMI, see [Copying an AMI][
|
3355
|
+
# an AMI, see [Copying an AMI][2] in the *Amazon Elastic Compute Cloud
|
3340
3356
|
# User Guide*.
|
3341
3357
|
#
|
3342
3358
|
#
|
3343
3359
|
#
|
3344
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
3360
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
3361
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
|
3345
3362
|
#
|
3346
3363
|
# @option params [String] :client_token
|
3347
3364
|
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
3348
|
-
# the request. For more information, see [
|
3349
|
-
#
|
3365
|
+
# the request. For more information, see [Ensuring idempotency][1] in
|
3366
|
+
# the *Amazon EC2 API Reference*.
|
3350
3367
|
#
|
3351
3368
|
#
|
3352
3369
|
#
|
3353
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
3370
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
3354
3371
|
#
|
3355
3372
|
# @option params [String] :description
|
3356
3373
|
# A description for the new AMI in the destination Region.
|
@@ -3403,6 +3420,20 @@ module Aws::EC2
|
|
3403
3420
|
# @option params [required, String] :source_region
|
3404
3421
|
# The name of the Region that contains the AMI to copy.
|
3405
3422
|
#
|
3423
|
+
# @option params [String] :destination_outpost_arn
|
3424
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
3425
|
+
# AMI. Only specify this parameter when copying an AMI from an AWS
|
3426
|
+
# Region to an Outpost. The AMI must be in the Region of the destination
|
3427
|
+
# Outpost. You cannot copy an AMI from an Outpost to a Region, from one
|
3428
|
+
# Outpost to another, or within the same Outpost.
|
3429
|
+
#
|
3430
|
+
# For more information, see [ Copying AMIs from an AWS Region to an
|
3431
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
3432
|
+
#
|
3433
|
+
#
|
3434
|
+
#
|
3435
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis
|
3436
|
+
#
|
3406
3437
|
# @option params [Boolean] :dry_run
|
3407
3438
|
# Checks whether you have the required permissions for the action,
|
3408
3439
|
# without actually making the request, and provides an error response.
|
@@ -3440,6 +3471,7 @@ module Aws::EC2
|
|
3440
3471
|
# name: "String", # required
|
3441
3472
|
# source_image_id: "String", # required
|
3442
3473
|
# source_region: "String", # required
|
3474
|
+
# destination_outpost_arn: "String",
|
3443
3475
|
# dry_run: false,
|
3444
3476
|
# })
|
3445
3477
|
#
|
@@ -3457,33 +3489,58 @@ module Aws::EC2
|
|
3457
3489
|
end
|
3458
3490
|
|
3459
3491
|
# Copies a point-in-time snapshot of an EBS volume and stores it in
|
3460
|
-
# Amazon S3. You can copy
|
3461
|
-
#
|
3462
|
-
#
|
3463
|
-
#
|
3464
|
-
#
|
3465
|
-
#
|
3466
|
-
#
|
3467
|
-
#
|
3468
|
-
#
|
3469
|
-
#
|
3470
|
-
#
|
3471
|
-
#
|
3472
|
-
#
|
3492
|
+
# Amazon S3. You can copy a snapshot within the same Region, from one
|
3493
|
+
# Region to another, or from a Region to an Outpost. You can't copy a
|
3494
|
+
# snapshot from an Outpost to a Region, from one Outpost to another, or
|
3495
|
+
# within the same Outpost.
|
3496
|
+
#
|
3497
|
+
# You can use the snapshot to create EBS volumes or Amazon Machine
|
3498
|
+
# Images (AMIs).
|
3499
|
+
#
|
3500
|
+
# When copying snapshots to a Region, copies of encrypted EBS snapshots
|
3501
|
+
# remain encrypted. Copies of unencrypted snapshots remain unencrypted,
|
3502
|
+
# unless you enable encryption for the snapshot copy operation. By
|
3503
|
+
# default, encrypted snapshot copies use the default AWS Key Management
|
3504
|
+
# Service (AWS KMS) customer master key (CMK); however, you can specify
|
3505
|
+
# a different CMK. To copy an encrypted snapshot that has been shared
|
3506
|
+
# from another account, you must have permissions for the CMK used to
|
3507
|
+
# encrypt the snapshot.
|
3508
|
+
#
|
3509
|
+
# Snapshots copied to an Outpost are encrypted by default using the
|
3510
|
+
# default encryption key for the Region, or a different key that you
|
3511
|
+
# specify in the request using **KmsKeyId**. Outposts do not support
|
3512
|
+
# unencrypted snapshots. For more information, [ Amazon EBS local
|
3513
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
3514
|
+
# Guide*.
|
3473
3515
|
#
|
3474
3516
|
# Snapshots created by copying another snapshot have an arbitrary volume
|
3475
3517
|
# ID that should not be used for any purpose.
|
3476
3518
|
#
|
3477
|
-
# For more information, see [Copying an Amazon EBS snapshot][
|
3519
|
+
# For more information, see [Copying an Amazon EBS snapshot][2] in the
|
3478
3520
|
# *Amazon Elastic Compute Cloud User Guide*.
|
3479
3521
|
#
|
3480
3522
|
#
|
3481
3523
|
#
|
3482
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
3524
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
3525
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-copy-snapshot.html
|
3483
3526
|
#
|
3484
3527
|
# @option params [String] :description
|
3485
3528
|
# A description for the EBS snapshot.
|
3486
3529
|
#
|
3530
|
+
# @option params [String] :destination_outpost_arn
|
3531
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
3532
|
+
# snapshot. Only specify this parameter when copying a snapshot from an
|
3533
|
+
# AWS Region to an Outpost. The snapshot must be in the Region for the
|
3534
|
+
# destination Outpost. You cannot copy a snapshot from an Outpost to a
|
3535
|
+
# Region, from one Outpost to another, or within the same Outpost.
|
3536
|
+
#
|
3537
|
+
# For more information, see [ Copying snapshots from an AWS Region to an
|
3538
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
3539
|
+
#
|
3540
|
+
#
|
3541
|
+
#
|
3542
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
|
3543
|
+
#
|
3487
3544
|
# @option params [String] :destination_region
|
3488
3545
|
# The destination Region to use in the `PresignedUrl` parameter of a
|
3489
3546
|
# snapshot copy operation. This parameter is only valid for specifying
|
@@ -3617,6 +3674,7 @@ module Aws::EC2
|
|
3617
3674
|
#
|
3618
3675
|
# resp = client.copy_snapshot({
|
3619
3676
|
# description: "String",
|
3677
|
+
# destination_outpost_arn: "String",
|
3620
3678
|
# destination_region: "String",
|
3621
3679
|
# encrypted: false,
|
3622
3680
|
# kms_key_id: "KmsKeyId",
|
@@ -3661,8 +3719,8 @@ module Aws::EC2
|
|
3661
3719
|
# still get the Regional RI discounts for that usage. By creating
|
3662
3720
|
# Capacity Reservations, you ensure that you always have access to
|
3663
3721
|
# Amazon EC2 capacity when you need it, for as long as you need it. For
|
3664
|
-
# more information, see [Capacity Reservations][1] in the *Amazon
|
3665
|
-
#
|
3722
|
+
# more information, see [Capacity Reservations][1] in the *Amazon EC2
|
3723
|
+
# User Guide*.
|
3666
3724
|
#
|
3667
3725
|
# Your request to create a Capacity Reservation could fail if Amazon EC2
|
3668
3726
|
# does not have sufficient capacity to fulfill the request. If your
|
@@ -3677,7 +3735,7 @@ module Aws::EC2
|
|
3677
3735
|
# request fails due to limit constraints, increase your On-Demand
|
3678
3736
|
# Instance limit for the required instance type and try again. For more
|
3679
3737
|
# information about increasing your instance limits, see [Amazon EC2
|
3680
|
-
# Service
|
3738
|
+
# Service Quotas][2] in the *Amazon EC2 User Guide*.
|
3681
3739
|
#
|
3682
3740
|
#
|
3683
3741
|
#
|
@@ -3686,7 +3744,7 @@ module Aws::EC2
|
|
3686
3744
|
#
|
3687
3745
|
# @option params [String] :client_token
|
3688
3746
|
# Unique, case-sensitive identifier that you provide to ensure the
|
3689
|
-
# idempotency of the request. For more information, see [
|
3747
|
+
# idempotency of the request. For more information, see [Ensure
|
3690
3748
|
# Idempotency][1].
|
3691
3749
|
#
|
3692
3750
|
#
|
@@ -3695,8 +3753,7 @@ module Aws::EC2
|
|
3695
3753
|
#
|
3696
3754
|
# @option params [required, String] :instance_type
|
3697
3755
|
# The instance type for which to reserve capacity. For more information,
|
3698
|
-
# see [Instance
|
3699
|
-
# Guide*.
|
3756
|
+
# see [Instance types][1] in the *Amazon EC2 User Guide*.
|
3700
3757
|
#
|
3701
3758
|
#
|
3702
3759
|
#
|
@@ -3838,6 +3895,7 @@ module Aws::EC2
|
|
3838
3895
|
# resp.capacity_reservation.ebs_optimized #=> Boolean
|
3839
3896
|
# resp.capacity_reservation.ephemeral_storage #=> Boolean
|
3840
3897
|
# resp.capacity_reservation.state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
3898
|
+
# resp.capacity_reservation.start_date #=> Time
|
3841
3899
|
# resp.capacity_reservation.end_date #=> Time
|
3842
3900
|
# resp.capacity_reservation.end_date_type #=> String, one of "unlimited", "limited"
|
3843
3901
|
# resp.capacity_reservation.instance_match_criteria #=> String, one of "open", "targeted"
|
@@ -4699,7 +4757,7 @@ module Aws::EC2
|
|
4699
4757
|
# subnet.
|
4700
4758
|
#
|
4701
4759
|
# For more information, see [Launching an EC2 Fleet][1] in the *Amazon
|
4702
|
-
#
|
4760
|
+
# EC2 User Guide*.
|
4703
4761
|
#
|
4704
4762
|
#
|
4705
4763
|
#
|
@@ -4744,7 +4802,7 @@ module Aws::EC2
|
|
4744
4802
|
# @option params [String] :type
|
4745
4803
|
# The type of request. The default value is `maintain`.
|
4746
4804
|
#
|
4747
|
-
# * `maintain` - The EC2 Fleet
|
4805
|
+
# * `maintain` - The EC2 Fleet places an asynchronous request for your
|
4748
4806
|
# desired capacity, and continues to maintain your desired Spot
|
4749
4807
|
# capacity by replenishing interrupted Spot Instances.
|
4750
4808
|
#
|
@@ -4758,7 +4816,7 @@ module Aws::EC2
|
|
4758
4816
|
# could not be launched.
|
4759
4817
|
#
|
4760
4818
|
# For more information, see [EC2 Fleet request types][1] in the *Amazon
|
4761
|
-
#
|
4819
|
+
# EC2 User Guide*.
|
4762
4820
|
#
|
4763
4821
|
#
|
4764
4822
|
#
|
@@ -4776,7 +4834,13 @@ module Aws::EC2
|
|
4776
4834
|
# specified, the request remains until you cancel it.
|
4777
4835
|
#
|
4778
4836
|
# @option params [Boolean] :replace_unhealthy_instances
|
4779
|
-
# Indicates whether EC2 Fleet should replace unhealthy
|
4837
|
+
# Indicates whether EC2 Fleet should replace unhealthy Spot Instances.
|
4838
|
+
# Supported only for fleets of type `maintain`. For more information,
|
4839
|
+
# see [EC2 Fleet health checks][1] in the *Amazon EC2 User Guide*.
|
4840
|
+
#
|
4841
|
+
#
|
4842
|
+
#
|
4843
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks
|
4780
4844
|
#
|
4781
4845
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4782
4846
|
# The key-value pair for tagging the EC2 Fleet request on creation. The
|
@@ -5314,6 +5378,7 @@ module Aws::EC2
|
|
5314
5378
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
5315
5379
|
# kms_key_id: "String",
|
5316
5380
|
# throughput: 1,
|
5381
|
+
# outpost_arn: "String",
|
5317
5382
|
# encrypted: false,
|
5318
5383
|
# },
|
5319
5384
|
# no_device: "String",
|
@@ -5366,7 +5431,7 @@ module Aws::EC2
|
|
5366
5431
|
# The maximum length is 255 characters.
|
5367
5432
|
#
|
5368
5433
|
# @option params [required, Types::ExportToS3TaskSpecification] :export_to_s3_task
|
5369
|
-
# The format and location for an instance
|
5434
|
+
# The format and location for an export instance task.
|
5370
5435
|
#
|
5371
5436
|
# @option params [required, String] :instance_id
|
5372
5437
|
# The ID of the instance.
|
@@ -5375,7 +5440,7 @@ module Aws::EC2
|
|
5375
5440
|
# The target virtualization environment.
|
5376
5441
|
#
|
5377
5442
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
5378
|
-
# The tags to apply to the instance
|
5443
|
+
# The tags to apply to the export instance task during creation.
|
5379
5444
|
#
|
5380
5445
|
# @return [Types::CreateInstanceExportTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5381
5446
|
#
|
@@ -7204,8 +7269,8 @@ module Aws::EC2
|
|
7204
7269
|
# instances in different partitions, where instances in one partition do
|
7205
7270
|
# not share the same hardware with instances in another partition.
|
7206
7271
|
#
|
7207
|
-
# For more information, see [Placement groups][1] in the *Amazon
|
7208
|
-
#
|
7272
|
+
# For more information, see [Placement groups][1] in the *Amazon EC2
|
7273
|
+
# User Guide*.
|
7209
7274
|
#
|
7210
7275
|
#
|
7211
7276
|
#
|
@@ -7318,7 +7383,7 @@ module Aws::EC2
|
|
7318
7383
|
# DescribeReservedInstancesListings operation.
|
7319
7384
|
#
|
7320
7385
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
7321
|
-
# *Amazon
|
7386
|
+
# *Amazon EC2 User Guide*.
|
7322
7387
|
#
|
7323
7388
|
#
|
7324
7389
|
#
|
@@ -7777,6 +7842,13 @@ module Aws::EC2
|
|
7777
7842
|
# can use snapshots for backups, to make copies of EBS volumes, and to
|
7778
7843
|
# save data before shutting down an instance.
|
7779
7844
|
#
|
7845
|
+
# You can create snapshots of volumes in a Region and volumes on an
|
7846
|
+
# Outpost. If you create a snapshot of a volume in a Region, the
|
7847
|
+
# snapshot must be stored in the same Region as the volume. If you
|
7848
|
+
# create a snapshot of a volume on an Outpost, the snapshot can be
|
7849
|
+
# stored on the same Outpost as the volume, or in the Region for that
|
7850
|
+
# Outpost.
|
7851
|
+
#
|
7780
7852
|
# When a snapshot is created, any AWS Marketplace product codes that are
|
7781
7853
|
# associated with the source volume are propagated to the snapshot.
|
7782
7854
|
#
|
@@ -7815,6 +7887,28 @@ module Aws::EC2
|
|
7815
7887
|
# @option params [String] :description
|
7816
7888
|
# A description for the snapshot.
|
7817
7889
|
#
|
7890
|
+
# @option params [String] :outpost_arn
|
7891
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
|
7892
|
+
# local snapshot.
|
7893
|
+
#
|
7894
|
+
# * To create a snapshot of a volume in a Region, omit this parameter.
|
7895
|
+
# The snapshot is created in the same Region as the volume.
|
7896
|
+
#
|
7897
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
7898
|
+
# snapshot in the Region, omit this parameter. The snapshot is created
|
7899
|
+
# in the Region for the Outpost.
|
7900
|
+
#
|
7901
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
7902
|
+
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
7903
|
+
# The snapshot must be created on the same Outpost as the volume.
|
7904
|
+
#
|
7905
|
+
# For more information, see [ Creating local snapshots from volumes on
|
7906
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
7907
|
+
#
|
7908
|
+
#
|
7909
|
+
#
|
7910
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
7911
|
+
#
|
7818
7912
|
# @option params [required, String] :volume_id
|
7819
7913
|
# The ID of the EBS volume.
|
7820
7914
|
#
|
@@ -7842,6 +7936,7 @@ module Aws::EC2
|
|
7842
7936
|
# * {Types::Snapshot#volume_id #volume_id} => String
|
7843
7937
|
# * {Types::Snapshot#volume_size #volume_size} => Integer
|
7844
7938
|
# * {Types::Snapshot#owner_alias #owner_alias} => String
|
7939
|
+
# * {Types::Snapshot#outpost_arn #outpost_arn} => String
|
7845
7940
|
# * {Types::Snapshot#tags #tags} => Array<Types::Tag>
|
7846
7941
|
#
|
7847
7942
|
#
|
@@ -7872,6 +7967,7 @@ module Aws::EC2
|
|
7872
7967
|
#
|
7873
7968
|
# resp = client.create_snapshot({
|
7874
7969
|
# description: "String",
|
7970
|
+
# outpost_arn: "String",
|
7875
7971
|
# volume_id: "VolumeId", # required
|
7876
7972
|
# tag_specifications: [
|
7877
7973
|
# {
|
@@ -7902,6 +7998,7 @@ module Aws::EC2
|
|
7902
7998
|
# resp.volume_id #=> String
|
7903
7999
|
# resp.volume_size #=> Integer
|
7904
8000
|
# resp.owner_alias #=> String
|
8001
|
+
# resp.outpost_arn #=> String
|
7905
8002
|
# resp.tags #=> Array
|
7906
8003
|
# resp.tags[0].key #=> String
|
7907
8004
|
# resp.tags[0].value #=> String
|
@@ -7921,6 +8018,13 @@ module Aws::EC2
|
|
7921
8018
|
# crash-consistent across the instance. Boot volumes can be excluded by
|
7922
8019
|
# changing the parameters.
|
7923
8020
|
#
|
8021
|
+
# You can create multi-volume snapshots of instances in a Region and
|
8022
|
+
# instances on an Outpost. If you create snapshots from an instance in a
|
8023
|
+
# Region, the snapshots must be stored in the same Region as the
|
8024
|
+
# instance. If you create snapshots from an instance on an Outpost, the
|
8025
|
+
# snapshots can be stored on the same Outpost as the instance, or in the
|
8026
|
+
# Region for that Outpost.
|
8027
|
+
#
|
7924
8028
|
# @option params [String] :description
|
7925
8029
|
# A description propagated to every snapshot specified by the instance.
|
7926
8030
|
#
|
@@ -7928,6 +8032,30 @@ module Aws::EC2
|
|
7928
8032
|
# The instance to specify which volumes should be included in the
|
7929
8033
|
# snapshots.
|
7930
8034
|
#
|
8035
|
+
# @option params [String] :outpost_arn
|
8036
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create
|
8037
|
+
# the local snapshots.
|
8038
|
+
#
|
8039
|
+
# * To create snapshots from an instance in a Region, omit this
|
8040
|
+
# parameter. The snapshots are created in the same Region as the
|
8041
|
+
# instance.
|
8042
|
+
#
|
8043
|
+
# * To create snapshots from an instance on an Outpost and store the
|
8044
|
+
# snapshots in the Region, omit this parameter. The snapshots are
|
8045
|
+
# created in the Region for the Outpost.
|
8046
|
+
#
|
8047
|
+
# * To create snapshots from an instance on an Outpost and store the
|
8048
|
+
# snapshots on an Outpost, specify the ARN of the destination Outpost.
|
8049
|
+
# The snapshots must be created on the same Outpost as the instance.
|
8050
|
+
#
|
8051
|
+
# For more information, see [ Creating multi-volume local snapshots from
|
8052
|
+
# instances on an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
8053
|
+
# Guide*.
|
8054
|
+
#
|
8055
|
+
#
|
8056
|
+
#
|
8057
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot
|
8058
|
+
#
|
7931
8059
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7932
8060
|
# Tags to apply to every snapshot specified by the instance.
|
7933
8061
|
#
|
@@ -7952,6 +8080,7 @@ module Aws::EC2
|
|
7952
8080
|
# instance_id: "InstanceId",
|
7953
8081
|
# exclude_boot_volume: false,
|
7954
8082
|
# },
|
8083
|
+
# outpost_arn: "String",
|
7955
8084
|
# tag_specifications: [
|
7956
8085
|
# {
|
7957
8086
|
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
@@ -7982,6 +8111,7 @@ module Aws::EC2
|
|
7982
8111
|
# resp.snapshots[0].progress #=> String
|
7983
8112
|
# resp.snapshots[0].owner_id #=> String
|
7984
8113
|
# resp.snapshots[0].snapshot_id #=> String
|
8114
|
+
# resp.snapshots[0].outpost_arn #=> String
|
7985
8115
|
#
|
7986
8116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshots AWS API Documentation
|
7987
8117
|
#
|
@@ -10997,7 +11127,7 @@ module Aws::EC2
|
|
10997
11127
|
# `instant` fleets.
|
10998
11128
|
#
|
10999
11129
|
# For more information, see [Deleting an EC2 Fleet][1] in the *Amazon
|
11000
|
-
#
|
11130
|
+
# EC2 User Guide*.
|
11001
11131
|
#
|
11002
11132
|
#
|
11003
11133
|
#
|
@@ -11803,7 +11933,7 @@ module Aws::EC2
|
|
11803
11933
|
# Deletes the specified placement group. You must terminate all
|
11804
11934
|
# instances in the placement group before you can delete the placement
|
11805
11935
|
# group. For more information, see [Placement groups][1] in the *Amazon
|
11806
|
-
#
|
11936
|
+
# EC2 User Guide*.
|
11807
11937
|
#
|
11808
11938
|
#
|
11809
11939
|
#
|
@@ -12996,12 +13126,28 @@ module Aws::EC2
|
|
12996
13126
|
req.send_request(options)
|
12997
13127
|
end
|
12998
13128
|
|
12999
|
-
# Deletes one or more specified VPC endpoints.
|
13000
|
-
#
|
13001
|
-
#
|
13002
|
-
# Gateway
|
13003
|
-
#
|
13004
|
-
#
|
13129
|
+
# Deletes one or more specified VPC endpoints. You can delete any of the
|
13130
|
+
# following types of VPC endpoints.
|
13131
|
+
#
|
13132
|
+
# * Gateway endpoint,
|
13133
|
+
#
|
13134
|
+
# * Gateway Load Balancer endpoint,
|
13135
|
+
#
|
13136
|
+
# * Interface endpoint
|
13137
|
+
#
|
13138
|
+
# The following rules apply when you delete a VPC endpoint:
|
13139
|
+
#
|
13140
|
+
# * When you delete a gateway endpoint, we delete the endpoint routes in
|
13141
|
+
# the route tables that are associated with the endpoint.
|
13142
|
+
#
|
13143
|
+
# * When you delete a Gateway Load Balancer endpoint, we delete the
|
13144
|
+
# endpoint network interfaces.
|
13145
|
+
#
|
13146
|
+
# You can only delete Gateway Load Balancer endpoints when the routes
|
13147
|
+
# that are associated with the endpoint are deleted.
|
13148
|
+
#
|
13149
|
+
# * When you delete an interface endpoint, we delete the endpoint
|
13150
|
+
# network interfaces.
|
13005
13151
|
#
|
13006
13152
|
# @option params [Boolean] :dry_run
|
13007
13153
|
# Checks whether you have the required permissions for the action,
|
@@ -13752,6 +13898,70 @@ module Aws::EC2
|
|
13752
13898
|
req.send_request(options)
|
13753
13899
|
end
|
13754
13900
|
|
13901
|
+
# Describes the attributes of the specified Elastic IP addresses. For
|
13902
|
+
# requirements, see [Using reverse DNS for email applications][1].
|
13903
|
+
#
|
13904
|
+
#
|
13905
|
+
#
|
13906
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS
|
13907
|
+
#
|
13908
|
+
# @option params [Array<String>] :allocation_ids
|
13909
|
+
# \[EC2-VPC\] The allocation IDs.
|
13910
|
+
#
|
13911
|
+
# @option params [String] :attribute
|
13912
|
+
# The attribute of the IP address.
|
13913
|
+
#
|
13914
|
+
# @option params [String] :next_token
|
13915
|
+
# The token for the next page of results.
|
13916
|
+
#
|
13917
|
+
# @option params [Integer] :max_results
|
13918
|
+
# The maximum number of results to return with a single call. To
|
13919
|
+
# retrieve the remaining results, make another call with the returned
|
13920
|
+
# `nextToken` value.
|
13921
|
+
#
|
13922
|
+
# @option params [Boolean] :dry_run
|
13923
|
+
# Checks whether you have the required permissions for the action,
|
13924
|
+
# without actually making the request, and provides an error response.
|
13925
|
+
# If you have the required permissions, the error response is
|
13926
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
13927
|
+
#
|
13928
|
+
# @return [Types::DescribeAddressesAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13929
|
+
#
|
13930
|
+
# * {Types::DescribeAddressesAttributeResult#addresses #addresses} => Array<Types::AddressAttribute>
|
13931
|
+
# * {Types::DescribeAddressesAttributeResult#next_token #next_token} => String
|
13932
|
+
#
|
13933
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
13934
|
+
#
|
13935
|
+
# @example Request syntax with placeholder values
|
13936
|
+
#
|
13937
|
+
# resp = client.describe_addresses_attribute({
|
13938
|
+
# allocation_ids: ["AllocationId"],
|
13939
|
+
# attribute: "domain-name", # accepts domain-name
|
13940
|
+
# next_token: "NextToken",
|
13941
|
+
# max_results: 1,
|
13942
|
+
# dry_run: false,
|
13943
|
+
# })
|
13944
|
+
#
|
13945
|
+
# @example Response structure
|
13946
|
+
#
|
13947
|
+
# resp.addresses #=> Array
|
13948
|
+
# resp.addresses[0].public_ip #=> String
|
13949
|
+
# resp.addresses[0].allocation_id #=> String
|
13950
|
+
# resp.addresses[0].ptr_record #=> String
|
13951
|
+
# resp.addresses[0].ptr_record_update.value #=> String
|
13952
|
+
# resp.addresses[0].ptr_record_update.status #=> String
|
13953
|
+
# resp.addresses[0].ptr_record_update.reason #=> String
|
13954
|
+
# resp.next_token #=> String
|
13955
|
+
#
|
13956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttribute AWS API Documentation
|
13957
|
+
#
|
13958
|
+
# @overload describe_addresses_attribute(params = {})
|
13959
|
+
# @param [Hash] params ({})
|
13960
|
+
def describe_addresses_attribute(params = {}, options = {})
|
13961
|
+
req = build_request(:describe_addresses_attribute, params)
|
13962
|
+
req.send_request(options)
|
13963
|
+
end
|
13964
|
+
|
13755
13965
|
# Describes the longer ID format settings for all resource types in a
|
13756
13966
|
# specific Region. This request is useful for performing a quick audit
|
13757
13967
|
# to determine whether a specific Region is fully opted in for longer
|
@@ -14169,8 +14379,8 @@ module Aws::EC2
|
|
14169
14379
|
# date and time specified in your request. The reserved capacity is
|
14170
14380
|
# no longer available for your use.
|
14171
14381
|
#
|
14172
|
-
# * `cancelled` - The Capacity Reservation was
|
14173
|
-
#
|
14382
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
14383
|
+
# capacity is no longer available for your use.
|
14174
14384
|
#
|
14175
14385
|
# * `pending` - The Capacity Reservation request was successful but
|
14176
14386
|
# the capacity provisioning is still pending.
|
@@ -14256,6 +14466,7 @@ module Aws::EC2
|
|
14256
14466
|
# resp.capacity_reservations[0].ebs_optimized #=> Boolean
|
14257
14467
|
# resp.capacity_reservations[0].ephemeral_storage #=> Boolean
|
14258
14468
|
# resp.capacity_reservations[0].state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
14469
|
+
# resp.capacity_reservations[0].start_date #=> Time
|
14259
14470
|
# resp.capacity_reservations[0].end_date #=> Time
|
14260
14471
|
# resp.capacity_reservations[0].end_date_type #=> String, one of "unlimited", "limited"
|
14261
14472
|
# resp.capacity_reservations[0].instance_match_criteria #=> String, one of "open", "targeted"
|
@@ -15630,6 +15841,13 @@ module Aws::EC2
|
|
15630
15841
|
# and not miss a recorded event. EC2 Fleet events are available for 48
|
15631
15842
|
# hours.
|
15632
15843
|
#
|
15844
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15845
|
+
# *Amazon EC2 User Guide*.
|
15846
|
+
#
|
15847
|
+
#
|
15848
|
+
#
|
15849
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15850
|
+
#
|
15633
15851
|
# @option params [Boolean] :dry_run
|
15634
15852
|
# Checks whether you have the required permissions for the action,
|
15635
15853
|
# without actually making the request, and provides an error response.
|
@@ -15698,6 +15916,13 @@ module Aws::EC2
|
|
15698
15916
|
|
15699
15917
|
# Describes the running instances for the specified EC2 Fleet.
|
15700
15918
|
#
|
15919
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15920
|
+
# *Amazon EC2 User Guide*.
|
15921
|
+
#
|
15922
|
+
#
|
15923
|
+
#
|
15924
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15925
|
+
#
|
15701
15926
|
# @option params [Boolean] :dry_run
|
15702
15927
|
# Checks whether you have the required permissions for the action,
|
15703
15928
|
# without actually making the request, and provides an error response.
|
@@ -15765,6 +15990,13 @@ module Aws::EC2
|
|
15765
15990
|
|
15766
15991
|
# Describes the specified EC2 Fleets or all of your EC2 Fleets.
|
15767
15992
|
#
|
15993
|
+
# For more information, see [Monitoring your EC2 Fleet][1] in the
|
15994
|
+
# *Amazon EC2 User Guide*.
|
15995
|
+
#
|
15996
|
+
#
|
15997
|
+
#
|
15998
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet
|
15999
|
+
#
|
15768
16000
|
# @option params [Boolean] :dry_run
|
15769
16001
|
# Checks whether you have the required permissions for the action,
|
15770
16002
|
# without actually making the request, and provides an error response.
|
@@ -16191,8 +16423,8 @@ module Aws::EC2
|
|
16191
16423
|
# Region of your Dedicated Hosts. When purchasing an offering, ensure
|
16192
16424
|
# that the instance family and Region of the offering matches that of
|
16193
16425
|
# the Dedicated Hosts with which it is to be associated. For more
|
16194
|
-
# information about supported instance types, see [Dedicated Hosts
|
16195
|
-
#
|
16426
|
+
# information about supported instance types, see [Dedicated Hosts][1]
|
16427
|
+
# in the *Amazon EC2 User Guide*.
|
16196
16428
|
#
|
16197
16429
|
#
|
16198
16430
|
#
|
@@ -16774,6 +17006,7 @@ module Aws::EC2
|
|
16774
17006
|
# resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
16775
17007
|
# resp.block_device_mappings[0].ebs.kms_key_id #=> String
|
16776
17008
|
# resp.block_device_mappings[0].ebs.throughput #=> Integer
|
17009
|
+
# resp.block_device_mappings[0].ebs.outpost_arn #=> String
|
16777
17010
|
# resp.block_device_mappings[0].ebs.encrypted #=> Boolean
|
16778
17011
|
# resp.block_device_mappings[0].no_device #=> String
|
16779
17012
|
# resp.image_id #=> String
|
@@ -16859,13 +17092,14 @@ module Aws::EC2
|
|
16859
17092
|
#
|
16860
17093
|
# * `name` - The name of the AMI (provided during image creation).
|
16861
17094
|
#
|
16862
|
-
# * `owner-alias` - The owner alias
|
16863
|
-
#
|
16864
|
-
# account alias set using the IAM console. We
|
16865
|
-
# the
|
17095
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`). The
|
17096
|
+
# valid aliases are defined in an Amazon-maintained list. This is not
|
17097
|
+
# the AWS account alias that can be set using the IAM console. We
|
17098
|
+
# recommend that you use the **Owner** request parameter instead of
|
17099
|
+
# this filter.
|
16866
17100
|
#
|
16867
17101
|
# * `owner-id` - The AWS account ID of the owner. We recommend that you
|
16868
|
-
# use the
|
17102
|
+
# use the **Owner** request parameter instead of this filter.
|
16869
17103
|
#
|
16870
17104
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
16871
17105
|
# `windows`.
|
@@ -17015,6 +17249,7 @@ module Aws::EC2
|
|
17015
17249
|
# resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
17016
17250
|
# resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
17017
17251
|
# resp.images[0].block_device_mappings[0].ebs.throughput #=> Integer
|
17252
|
+
# resp.images[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
17018
17253
|
# resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
17019
17254
|
# resp.images[0].block_device_mappings[0].no_device #=> String
|
17020
17255
|
# resp.images[0].description #=> String
|
@@ -17388,7 +17623,7 @@ module Aws::EC2
|
|
17388
17623
|
# in an unaffected zone, the call works normally.
|
17389
17624
|
#
|
17390
17625
|
# For more information, see [Burstable performance instances][1] in the
|
17391
|
-
# *Amazon
|
17626
|
+
# *Amazon EC2 User Guide*.
|
17392
17627
|
#
|
17393
17628
|
#
|
17394
17629
|
#
|
@@ -17505,18 +17740,17 @@ module Aws::EC2
|
|
17505
17740
|
# instances to identify hardware and software issues. For more
|
17506
17741
|
# information, see [Status checks for your instances][1] and
|
17507
17742
|
# [Troubleshooting instances with failed status checks][2] in the
|
17508
|
-
# *Amazon
|
17743
|
+
# *Amazon EC2 User Guide*.
|
17509
17744
|
#
|
17510
17745
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
17511
17746
|
# reboot, stop, or terminate) for your instances related to hardware
|
17512
17747
|
# issues, software updates, or system maintenance. For more
|
17513
17748
|
# information, see [Scheduled events for your instances][3] in the
|
17514
|
-
# *Amazon
|
17749
|
+
# *Amazon EC2 User Guide*.
|
17515
17750
|
#
|
17516
17751
|
# * **Instance state** - You can manage your instances from the moment
|
17517
17752
|
# you launch them through their termination. For more information, see
|
17518
|
-
# [Instance lifecycle][4] in the *Amazon
|
17519
|
-
# Guide*.
|
17753
|
+
# [Instance lifecycle][4] in the *Amazon EC2 User Guide*.
|
17520
17754
|
#
|
17521
17755
|
#
|
17522
17756
|
#
|
@@ -17791,8 +18025,8 @@ module Aws::EC2
|
|
17791
18025
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17792
18026
|
#
|
17793
18027
|
# @option params [Array<String>] :instance_types
|
17794
|
-
# The instance types. For more information, see [Instance
|
17795
|
-
# the *Amazon
|
18028
|
+
# The instance types. For more information, see [Instance types][1] in
|
18029
|
+
# the *Amazon EC2 User Guide*.
|
17796
18030
|
#
|
17797
18031
|
#
|
17798
18032
|
#
|
@@ -20919,9 +21153,8 @@ module Aws::EC2
|
|
20919
21153
|
# * `private-dns-name` - The private DNS name of the network interface
|
20920
21154
|
# (IPv4).
|
20921
21155
|
#
|
20922
|
-
# * `requester-id` - The
|
20923
|
-
#
|
20924
|
-
# so on).
|
21156
|
+
# * `requester-id` - The alias or AWS account ID of the principal or
|
21157
|
+
# service that created the network interface.
|
20925
21158
|
#
|
20926
21159
|
# * `requester-managed` - Indicates whether the network interface is
|
20927
21160
|
# being managed by an AWS service (for example, AWS Management
|
@@ -21129,7 +21362,7 @@ module Aws::EC2
|
|
21129
21362
|
|
21130
21363
|
# Describes the specified placement groups or all of your placement
|
21131
21364
|
# groups. For more information, see [Placement groups][1] in the *Amazon
|
21132
|
-
#
|
21365
|
+
# EC2 User Guide*.
|
21133
21366
|
#
|
21134
21367
|
#
|
21135
21368
|
#
|
@@ -21570,7 +21803,7 @@ module Aws::EC2
|
|
21570
21803
|
# Describes one or more of the Reserved Instances that you purchased.
|
21571
21804
|
#
|
21572
21805
|
# For more information about Reserved Instances, see [Reserved
|
21573
|
-
# Instances][1] in the *Amazon
|
21806
|
+
# Instances][1] in the *Amazon EC2 User Guide*.
|
21574
21807
|
#
|
21575
21808
|
#
|
21576
21809
|
#
|
@@ -21726,7 +21959,7 @@ module Aws::EC2
|
|
21726
21959
|
# based on the total price of all of the listings that you purchase.
|
21727
21960
|
#
|
21728
21961
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
21729
|
-
# *Amazon
|
21962
|
+
# *Amazon EC2 User Guide*.
|
21730
21963
|
#
|
21731
21964
|
#
|
21732
21965
|
#
|
@@ -21805,7 +22038,7 @@ module Aws::EC2
|
|
21805
22038
|
# only information about the specific modification is returned.
|
21806
22039
|
#
|
21807
22040
|
# For more information, see [Modifying Reserved Instances][1] in the
|
21808
|
-
# Amazon
|
22041
|
+
# *Amazon EC2 User Guide*.
|
21809
22042
|
#
|
21810
22043
|
#
|
21811
22044
|
#
|
@@ -21918,7 +22151,7 @@ module Aws::EC2
|
|
21918
22151
|
# Instances.
|
21919
22152
|
#
|
21920
22153
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
21921
|
-
# *Amazon
|
22154
|
+
# *Amazon EC2 User Guide*.
|
21922
22155
|
#
|
21923
22156
|
#
|
21924
22157
|
#
|
@@ -21973,8 +22206,8 @@ module Aws::EC2
|
|
21973
22206
|
#
|
21974
22207
|
# @option params [String] :instance_type
|
21975
22208
|
# The instance type that the reservation will cover (for example,
|
21976
|
-
# `m1.small`). For more information, see [Instance
|
21977
|
-
# *Amazon
|
22209
|
+
# `m1.small`). For more information, see [Instance types][1] in the
|
22210
|
+
# *Amazon EC2 User Guide*.
|
21978
22211
|
#
|
21979
22212
|
#
|
21980
22213
|
#
|
@@ -22717,7 +22950,7 @@ module Aws::EC2
|
|
22717
22950
|
# has been referenced in an outbound security group rule.
|
22718
22951
|
#
|
22719
22952
|
# * `egress.ip-permission.group-name` - The name of a security group
|
22720
|
-
# that
|
22953
|
+
# that is referenced in an outbound security group rule.
|
22721
22954
|
#
|
22722
22955
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
22723
22956
|
# outbound security group rule.
|
@@ -22726,7 +22959,8 @@ module Aws::EC2
|
|
22726
22959
|
# which a security group rule allows outbound access.
|
22727
22960
|
#
|
22728
22961
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
22729
|
-
# security group rule (`tcp` \| `udp` \| `icmp
|
22962
|
+
# security group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or
|
22963
|
+
# -1 for all protocols).
|
22730
22964
|
#
|
22731
22965
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
22732
22966
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
@@ -22747,8 +22981,8 @@ module Aws::EC2
|
|
22747
22981
|
# * `ip-permission.group-id` - The ID of a security group that has been
|
22748
22982
|
# referenced in an inbound security group rule.
|
22749
22983
|
#
|
22750
|
-
# * `ip-permission.group-name` - The name of a security group that
|
22751
|
-
#
|
22984
|
+
# * `ip-permission.group-name` - The name of a security group that is
|
22985
|
+
# referenced in an inbound security group rule.
|
22752
22986
|
#
|
22753
22987
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
22754
22988
|
# security group rule.
|
@@ -22757,7 +22991,8 @@ module Aws::EC2
|
|
22757
22991
|
# a security group rule allows inbound access.
|
22758
22992
|
#
|
22759
22993
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
22760
|
-
# group rule (`tcp` \| `udp` \| `icmp
|
22994
|
+
# group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
|
22995
|
+
# all protocols).
|
22761
22996
|
#
|
22762
22997
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
22763
22998
|
# for the TCP and UDP protocols, or an ICMP code.
|
@@ -23247,6 +23482,7 @@ module Aws::EC2
|
|
23247
23482
|
# resp.snapshots[0].volume_id #=> String
|
23248
23483
|
# resp.snapshots[0].volume_size #=> Integer
|
23249
23484
|
# resp.snapshots[0].owner_alias #=> String
|
23485
|
+
# resp.snapshots[0].outpost_arn #=> String
|
23250
23486
|
# resp.snapshots[0].tags #=> Array
|
23251
23487
|
# resp.snapshots[0].tags[0].key #=> String
|
23252
23488
|
# resp.snapshots[0].tags[0].value #=> String
|
@@ -23648,6 +23884,7 @@ module Aws::EC2
|
|
23648
23884
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
23649
23885
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
23650
23886
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.throughput #=> Integer
|
23887
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
23651
23888
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
23652
23889
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
|
23653
23890
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].ebs_optimized #=> Boolean
|
@@ -24004,6 +24241,7 @@ module Aws::EC2
|
|
24004
24241
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
24005
24242
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
24006
24243
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
24244
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
24007
24245
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
24008
24246
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
24009
24247
|
# resp.spot_instance_requests[0].launch_specification.ebs_optimized #=> Boolean
|
@@ -26790,13 +27028,13 @@ module Aws::EC2
|
|
26790
27028
|
|
26791
27029
|
# Describes available services to which you can create a VPC endpoint.
|
26792
27030
|
#
|
26793
|
-
# When the service provider and the consumer have different accounts
|
27031
|
+
# When the service provider and the consumer have different accounts in
|
26794
27032
|
# multiple Availability Zones, and the consumer views the VPC endpoint
|
26795
27033
|
# service information, the response only includes the common
|
26796
27034
|
# Availability Zones. For example, when the service provider account
|
26797
27035
|
# uses `us-east-1a` and `us-east-1c` and the consumer uses `us-east-1a`
|
26798
|
-
# and us-east-
|
26799
|
-
#
|
27036
|
+
# and `us-east-1b`, the response includes the VPC endpoint services in
|
27037
|
+
# the common Availability Zone, `us-east-1a`.
|
26800
27038
|
#
|
26801
27039
|
# @option params [Boolean] :dry_run
|
26802
27040
|
# Checks whether you have the required permissions for the action,
|
@@ -26812,6 +27050,8 @@ module Aws::EC2
|
|
26812
27050
|
#
|
26813
27051
|
# * `service-name` - The name of the service.
|
26814
27052
|
#
|
27053
|
+
# * `service-type` - The type of service (`Interface` \| `Gateway`).
|
27054
|
+
#
|
26815
27055
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
26816
27056
|
# the resource. Use the tag key in the filter name and the tag value
|
26817
27057
|
# as the filter value. For example, to find all resources that have a
|
@@ -29011,7 +29251,7 @@ module Aws::EC2
|
|
29011
29251
|
# the default role is named 'vmimport'.
|
29012
29252
|
#
|
29013
29253
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
29014
|
-
# The tags to apply to the image
|
29254
|
+
# The tags to apply to the export image task during creation.
|
29015
29255
|
#
|
29016
29256
|
# @return [Types::ExportImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
29017
29257
|
#
|
@@ -29424,8 +29664,8 @@ module Aws::EC2
|
|
29424
29664
|
# time during the instance lifecycle. This option is supported on
|
29425
29665
|
# instance types that use the Nitro hypervisor.
|
29426
29666
|
#
|
29427
|
-
# For more information, see [Instance
|
29428
|
-
#
|
29667
|
+
# For more information, see [Instance console output][1] in the *Amazon
|
29668
|
+
# EC2 User Guide*.
|
29429
29669
|
#
|
29430
29670
|
#
|
29431
29671
|
#
|
@@ -29539,7 +29779,7 @@ module Aws::EC2
|
|
29539
29779
|
# performance instance family.
|
29540
29780
|
#
|
29541
29781
|
# For more information, see [Burstable performance instances][1] in the
|
29542
|
-
# *Amazon
|
29782
|
+
# *Amazon EC2 User Guide*.
|
29543
29783
|
#
|
29544
29784
|
#
|
29545
29785
|
#
|
@@ -30071,8 +30311,8 @@ module Aws::EC2
|
|
30071
30311
|
# The Windows password is generated at boot by the `EC2Config` service
|
30072
30312
|
# or `EC2Launch` scripts (Windows Server 2016 and later). This usually
|
30073
30313
|
# only happens the first time an instance is launched. For more
|
30074
|
-
# information, see [EC2Config][1] and [EC2Launch][2] in the Amazon
|
30075
|
-
#
|
30314
|
+
# information, see [EC2Config][1] and [EC2Launch][2] in the *Amazon EC2
|
30315
|
+
# User Guide*.
|
30076
30316
|
#
|
30077
30317
|
# For the `EC2Config` service, the password is not generated for
|
30078
30318
|
# rebundled AMIs unless `Ec2SetPassword` is enabled before bundling.
|
@@ -30749,7 +30989,7 @@ module Aws::EC2
|
|
30749
30989
|
# The ARNs of the license configurations.
|
30750
30990
|
#
|
30751
30991
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
30752
|
-
# The tags to apply to the image
|
30992
|
+
# The tags to apply to the import image task during creation.
|
30753
30993
|
#
|
30754
30994
|
# @return [Types::ImportImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
30755
30995
|
#
|
@@ -31129,7 +31369,7 @@ module Aws::EC2
|
|
31129
31369
|
# 'vmimport'.
|
31130
31370
|
#
|
31131
31371
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
31132
|
-
# The tags to apply to the snapshot
|
31372
|
+
# The tags to apply to the import snapshot task during creation.
|
31133
31373
|
#
|
31134
31374
|
# @return [Types::ImportSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
31135
31375
|
#
|
@@ -31296,6 +31536,55 @@ module Aws::EC2
|
|
31296
31536
|
req.send_request(options)
|
31297
31537
|
end
|
31298
31538
|
|
31539
|
+
# Modifies an attribute of the specified Elastic IP address. For
|
31540
|
+
# requirements, see [Using reverse DNS for email applications][1].
|
31541
|
+
#
|
31542
|
+
#
|
31543
|
+
#
|
31544
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS
|
31545
|
+
#
|
31546
|
+
# @option params [required, String] :allocation_id
|
31547
|
+
# \[EC2-VPC\] The allocation ID.
|
31548
|
+
#
|
31549
|
+
# @option params [String] :domain_name
|
31550
|
+
# The domain name to modify for the IP address.
|
31551
|
+
#
|
31552
|
+
# @option params [Boolean] :dry_run
|
31553
|
+
# Checks whether you have the required permissions for the action,
|
31554
|
+
# without actually making the request, and provides an error response.
|
31555
|
+
# If you have the required permissions, the error response is
|
31556
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
31557
|
+
#
|
31558
|
+
# @return [Types::ModifyAddressAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
31559
|
+
#
|
31560
|
+
# * {Types::ModifyAddressAttributeResult#address #address} => Types::AddressAttribute
|
31561
|
+
#
|
31562
|
+
# @example Request syntax with placeholder values
|
31563
|
+
#
|
31564
|
+
# resp = client.modify_address_attribute({
|
31565
|
+
# allocation_id: "AllocationId", # required
|
31566
|
+
# domain_name: "String",
|
31567
|
+
# dry_run: false,
|
31568
|
+
# })
|
31569
|
+
#
|
31570
|
+
# @example Response structure
|
31571
|
+
#
|
31572
|
+
# resp.address.public_ip #=> String
|
31573
|
+
# resp.address.allocation_id #=> String
|
31574
|
+
# resp.address.ptr_record #=> String
|
31575
|
+
# resp.address.ptr_record_update.value #=> String
|
31576
|
+
# resp.address.ptr_record_update.status #=> String
|
31577
|
+
# resp.address.ptr_record_update.reason #=> String
|
31578
|
+
#
|
31579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttribute AWS API Documentation
|
31580
|
+
#
|
31581
|
+
# @overload modify_address_attribute(params = {})
|
31582
|
+
# @param [Hash] params ({})
|
31583
|
+
def modify_address_attribute(params = {}, options = {})
|
31584
|
+
req = build_request(:modify_address_attribute, params)
|
31585
|
+
req.send_request(options)
|
31586
|
+
end
|
31587
|
+
|
31299
31588
|
# Changes the opt-in status of the Local Zone and Wavelength Zone group
|
31300
31589
|
# for your account.
|
31301
31590
|
#
|
@@ -31391,6 +31680,10 @@ module Aws::EC2
|
|
31391
31680
|
# specified date and time. You must provide an `EndDate` value if
|
31392
31681
|
# `EndDateType` is `limited`.
|
31393
31682
|
#
|
31683
|
+
# @option params [Boolean] :accept
|
31684
|
+
# Reserved. Capacity Reservations you have created are accepted by
|
31685
|
+
# default.
|
31686
|
+
#
|
31394
31687
|
# @option params [Boolean] :dry_run
|
31395
31688
|
# Checks whether you have the required permissions for the action,
|
31396
31689
|
# without actually making the request, and provides an error response.
|
@@ -31408,6 +31701,7 @@ module Aws::EC2
|
|
31408
31701
|
# instance_count: 1,
|
31409
31702
|
# end_date: Time.now,
|
31410
31703
|
# end_date_type: "unlimited", # accepts unlimited, limited
|
31704
|
+
# accept: false,
|
31411
31705
|
# dry_run: false,
|
31412
31706
|
# })
|
31413
31707
|
#
|
@@ -31555,7 +31849,7 @@ module Aws::EC2
|
|
31555
31849
|
# for updates.
|
31556
31850
|
#
|
31557
31851
|
# For more information, see [Burstable performance instances][1] in the
|
31558
|
-
# *Amazon
|
31852
|
+
# *Amazon EC2 User Guide*.
|
31559
31853
|
#
|
31560
31854
|
#
|
31561
31855
|
#
|
@@ -31903,8 +32197,8 @@ module Aws::EC2
|
|
31903
32197
|
#
|
31904
32198
|
# @option params [String] :host_recovery
|
31905
32199
|
# Indicates whether to enable or disable host recovery for the Dedicated
|
31906
|
-
# Host. For more information, see [ Host
|
31907
|
-
#
|
32200
|
+
# Host. For more information, see [ Host recovery][1] in the *Amazon EC2
|
32201
|
+
# User Guide*.
|
31908
32202
|
#
|
31909
32203
|
#
|
31910
32204
|
#
|
@@ -32252,7 +32546,7 @@ module Aws::EC2
|
|
32252
32546
|
#
|
32253
32547
|
# To modify some attributes, the instance must be stopped. For more
|
32254
32548
|
# information, see [Modifying attributes of a stopped instance][1] in
|
32255
|
-
# the *Amazon
|
32549
|
+
# the *Amazon EC2 User Guide*.
|
32256
32550
|
#
|
32257
32551
|
#
|
32258
32552
|
#
|
@@ -32276,7 +32570,7 @@ module Aws::EC2
|
|
32276
32570
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
32277
32571
|
# must add them when you launch the instance. For more information, see
|
32278
32572
|
# [Updating the block device mapping when launching an instance][1] in
|
32279
|
-
# the *Amazon
|
32573
|
+
# the *Amazon EC2 User Guide*.
|
32280
32574
|
#
|
32281
32575
|
#
|
32282
32576
|
#
|
@@ -32322,8 +32616,9 @@ module Aws::EC2
|
|
32322
32616
|
#
|
32323
32617
|
# @option params [Types::AttributeValue] :instance_type
|
32324
32618
|
# Changes the instance type to the specified value. For more
|
32325
|
-
# information, see [Instance types][1]
|
32326
|
-
# valid, the error returned is
|
32619
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
32620
|
+
# If the instance type is not valid, the error returned is
|
32621
|
+
# `InvalidInstanceAttributeValue`.
|
32327
32622
|
#
|
32328
32623
|
#
|
32329
32624
|
#
|
@@ -32504,7 +32799,7 @@ module Aws::EC2
|
|
32504
32799
|
# `unlimited`.
|
32505
32800
|
#
|
32506
32801
|
# For more information, see [Burstable performance instances][1] in the
|
32507
|
-
# *Amazon
|
32802
|
+
# *Amazon EC2 User Guide*.
|
32508
32803
|
#
|
32509
32804
|
#
|
32510
32805
|
#
|
@@ -32619,7 +32914,8 @@ module Aws::EC2
|
|
32619
32914
|
# “pending”. After the parameter modifications are successfully applied
|
32620
32915
|
# to the instance, the state of the modifications changes from “pending”
|
32621
32916
|
# to “applied” in subsequent describe-instances API calls. For more
|
32622
|
-
# information, see [Instance metadata and user data][1]
|
32917
|
+
# information, see [Instance metadata and user data][1] in the *Amazon
|
32918
|
+
# EC2 User Guide*.
|
32623
32919
|
#
|
32624
32920
|
#
|
32625
32921
|
#
|
@@ -33073,7 +33369,7 @@ module Aws::EC2
|
|
33073
33369
|
# Availability Zone, network platform, and instance type.
|
33074
33370
|
#
|
33075
33371
|
# For more information, see [Modifying Reserved Instances][1] in the
|
33076
|
-
# Amazon
|
33372
|
+
# *Amazon EC2 User Guide*.
|
33077
33373
|
#
|
33078
33374
|
#
|
33079
33375
|
#
|
@@ -35160,8 +35456,7 @@ module Aws::EC2
|
|
35160
35456
|
|
35161
35457
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
35162
35458
|
# monitoring is enabled. For more information, see [Monitoring your
|
35163
|
-
# instances and volumes][1] in the *Amazon
|
35164
|
-
# Guide*.
|
35459
|
+
# instances and volumes][1] in the *Amazon EC2 User Guide*.
|
35165
35460
|
#
|
35166
35461
|
# To disable detailed monitoring, see .
|
35167
35462
|
#
|
@@ -35366,7 +35661,7 @@ module Aws::EC2
|
|
35366
35661
|
#
|
35367
35662
|
# @option params [String] :client_token
|
35368
35663
|
# Unique, case-sensitive identifier that you provide to ensure the
|
35369
|
-
# idempotency of the request. For more information, see [
|
35664
|
+
# idempotency of the request. For more information, see [Ensuring
|
35370
35665
|
# Idempotency][1].
|
35371
35666
|
#
|
35372
35667
|
#
|
@@ -35466,8 +35761,7 @@ module Aws::EC2
|
|
35466
35761
|
# current time.
|
35467
35762
|
#
|
35468
35763
|
# For more information, see [Reserved Instances][1] and [Reserved
|
35469
|
-
# Instance Marketplace][2] in the *Amazon
|
35470
|
-
# Guide*.
|
35764
|
+
# Instance Marketplace][2] in the *Amazon EC2 User Guide*.
|
35471
35765
|
#
|
35472
35766
|
#
|
35473
35767
|
#
|
@@ -35660,8 +35954,7 @@ module Aws::EC2
|
|
35660
35954
|
# EC2 performs a hard reboot.
|
35661
35955
|
#
|
35662
35956
|
# For more information about troubleshooting, see [Getting console
|
35663
|
-
# output and rebooting instances][1] in the *Amazon
|
35664
|
-
# Cloud User Guide*.
|
35957
|
+
# output and rebooting instances][1] in the *Amazon EC2 User Guide*.
|
35665
35958
|
#
|
35666
35959
|
#
|
35667
35960
|
#
|
@@ -35720,11 +36013,25 @@ module Aws::EC2
|
|
35720
36013
|
#
|
35721
36014
|
# </note>
|
35722
36015
|
#
|
35723
|
-
#
|
35724
|
-
#
|
35725
|
-
#
|
35726
|
-
#
|
35727
|
-
#
|
36016
|
+
# If needed, you can deregister an AMI at any time. Any modifications
|
36017
|
+
# you make to an AMI backed by an instance store volume invalidates its
|
36018
|
+
# registration. If you make changes to an image, deregister the previous
|
36019
|
+
# image and register the new image.
|
36020
|
+
#
|
36021
|
+
# **Register a snapshot of a root device volume**
|
36022
|
+
#
|
36023
|
+
# You can use `RegisterImage` to create an Amazon EBS-backed Linux AMI
|
36024
|
+
# from a snapshot of a root device volume. You specify the snapshot
|
36025
|
+
# using a block device mapping. You can't set the encryption state of
|
36026
|
+
# the volume using the block device mapping. If the snapshot is
|
36027
|
+
# encrypted, or encryption by default is enabled, the root volume of an
|
36028
|
+
# instance launched from the AMI is encrypted.
|
36029
|
+
#
|
36030
|
+
# For more information, see [Create a Linux AMI from a snapshot][2] and
|
36031
|
+
# [Use encryption with EBS-backed AMIs][3] in the *Amazon Elastic
|
36032
|
+
# Compute Cloud User Guide*.
|
36033
|
+
#
|
36034
|
+
# **AWS Marketplace product codes**
|
35728
36035
|
#
|
35729
36036
|
# If any snapshots have AWS Marketplace product codes, they are copied
|
35730
36037
|
# to the new AMI.
|
@@ -35749,19 +36056,15 @@ module Aws::EC2
|
|
35749
36056
|
# you purchase a Reserved Instance without the matching billing product
|
35750
36057
|
# code, the Reserved Instance will not be applied to the On-Demand
|
35751
36058
|
# Instance. For information about how to obtain the platform details and
|
35752
|
-
# billing information of an AMI, see [Obtaining billing information][
|
36059
|
+
# billing information of an AMI, see [Obtaining billing information][4]
|
35753
36060
|
# in the *Amazon Elastic Compute Cloud User Guide*.
|
35754
36061
|
#
|
35755
|
-
# If needed, you can deregister an AMI at any time. Any modifications
|
35756
|
-
# you make to an AMI backed by an instance store volume invalidates its
|
35757
|
-
# registration. If you make changes to an image, deregister the previous
|
35758
|
-
# image and register the new image.
|
35759
|
-
#
|
35760
36062
|
#
|
35761
36063
|
#
|
35762
36064
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html
|
35763
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
35764
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
36065
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot
|
36066
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html
|
36067
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
|
35765
36068
|
#
|
35766
36069
|
# @option params [String] :image_location
|
35767
36070
|
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
@@ -35782,6 +36085,20 @@ module Aws::EC2
|
|
35782
36085
|
# @option params [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
35783
36086
|
# The block device mapping entries.
|
35784
36087
|
#
|
36088
|
+
# If you specify an EBS volume using the ID of an EBS snapshot, you
|
36089
|
+
# can't specify the encryption state of the volume.
|
36090
|
+
#
|
36091
|
+
# If you create an AMI on an Outpost, then all backing snapshots must be
|
36092
|
+
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
36093
|
+
# Outpost that include local snapshots can be used to launch instances
|
36094
|
+
# on the same Outpost only. For more information, [ Amazon EBS local
|
36095
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
36096
|
+
# Guide*.
|
36097
|
+
#
|
36098
|
+
#
|
36099
|
+
#
|
36100
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
36101
|
+
#
|
35785
36102
|
# @option params [String] :description
|
35786
36103
|
# A description for your AMI.
|
35787
36104
|
#
|
@@ -35855,6 +36172,7 @@ module Aws::EC2
|
|
35855
36172
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
35856
36173
|
# kms_key_id: "String",
|
35857
36174
|
# throughput: 1,
|
36175
|
+
# outpost_arn: "String",
|
35858
36176
|
# encrypted: false,
|
35859
36177
|
# },
|
35860
36178
|
# no_device: "String",
|
@@ -37191,6 +37509,7 @@ module Aws::EC2
|
|
37191
37509
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
37192
37510
|
# kms_key_id: "String",
|
37193
37511
|
# throughput: 1,
|
37512
|
+
# outpost_arn: "String",
|
37194
37513
|
# encrypted: false,
|
37195
37514
|
# },
|
37196
37515
|
# no_device: "String",
|
@@ -37539,6 +37858,7 @@ module Aws::EC2
|
|
37539
37858
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
37540
37859
|
# kms_key_id: "String",
|
37541
37860
|
# throughput: 1,
|
37861
|
+
# outpost_arn: "String",
|
37542
37862
|
# encrypted: false,
|
37543
37863
|
# },
|
37544
37864
|
# no_device: "String",
|
@@ -37637,6 +37957,7 @@ module Aws::EC2
|
|
37637
37957
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
37638
37958
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
37639
37959
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
37960
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
37640
37961
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
37641
37962
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
37642
37963
|
# resp.spot_instance_requests[0].launch_specification.ebs_optimized #=> Boolean
|
@@ -37697,6 +38018,55 @@ module Aws::EC2
|
|
37697
38018
|
req.send_request(options)
|
37698
38019
|
end
|
37699
38020
|
|
38021
|
+
# Resets the attribute of the specified IP address. For requirements,
|
38022
|
+
# see [Using reverse DNS for email applications][1].
|
38023
|
+
#
|
38024
|
+
#
|
38025
|
+
#
|
38026
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS
|
38027
|
+
#
|
38028
|
+
# @option params [required, String] :allocation_id
|
38029
|
+
# \[EC2-VPC\] The allocation ID.
|
38030
|
+
#
|
38031
|
+
# @option params [required, String] :attribute
|
38032
|
+
# The attribute of the IP address.
|
38033
|
+
#
|
38034
|
+
# @option params [Boolean] :dry_run
|
38035
|
+
# Checks whether you have the required permissions for the action,
|
38036
|
+
# without actually making the request, and provides an error response.
|
38037
|
+
# If you have the required permissions, the error response is
|
38038
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
38039
|
+
#
|
38040
|
+
# @return [Types::ResetAddressAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
38041
|
+
#
|
38042
|
+
# * {Types::ResetAddressAttributeResult#address #address} => Types::AddressAttribute
|
38043
|
+
#
|
38044
|
+
# @example Request syntax with placeholder values
|
38045
|
+
#
|
38046
|
+
# resp = client.reset_address_attribute({
|
38047
|
+
# allocation_id: "AllocationId", # required
|
38048
|
+
# attribute: "domain-name", # required, accepts domain-name
|
38049
|
+
# dry_run: false,
|
38050
|
+
# })
|
38051
|
+
#
|
38052
|
+
# @example Response structure
|
38053
|
+
#
|
38054
|
+
# resp.address.public_ip #=> String
|
38055
|
+
# resp.address.allocation_id #=> String
|
38056
|
+
# resp.address.ptr_record #=> String
|
38057
|
+
# resp.address.ptr_record_update.value #=> String
|
38058
|
+
# resp.address.ptr_record_update.status #=> String
|
38059
|
+
# resp.address.ptr_record_update.reason #=> String
|
38060
|
+
#
|
38061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttribute AWS API Documentation
|
38062
|
+
#
|
38063
|
+
# @overload reset_address_attribute(params = {})
|
38064
|
+
# @param [Hash] params ({})
|
38065
|
+
def reset_address_attribute(params = {}, options = {})
|
38066
|
+
req = build_request(:reset_address_attribute, params)
|
38067
|
+
req.send_request(options)
|
38068
|
+
end
|
38069
|
+
|
37700
38070
|
# Resets the default customer master key (CMK) for EBS encryption for
|
37701
38071
|
# your account in this Region to the AWS managed CMK for EBS.
|
37702
38072
|
#
|
@@ -37839,8 +38209,8 @@ module Aws::EC2
|
|
37839
38209
|
# The `sourceDestCheck` attribute controls whether source/destination
|
37840
38210
|
# checking is enabled. The default value is `true`, which means checking
|
37841
38211
|
# is enabled. This value must be `false` for a NAT instance to perform
|
37842
|
-
# NAT. For more information, see [NAT Instances][1] in the *Amazon
|
37843
|
-
#
|
38212
|
+
# NAT. For more information, see [NAT Instances][1] in the *Amazon VPC
|
38213
|
+
# User Guide*.
|
37844
38214
|
#
|
37845
38215
|
#
|
37846
38216
|
#
|
@@ -38512,12 +38882,10 @@ module Aws::EC2
|
|
38512
38882
|
# Linux instances have access to the public key of the key pair at boot.
|
38513
38883
|
# You can use this key to provide secure access to the instance. Amazon
|
38514
38884
|
# EC2 public images use this feature to provide secure access without
|
38515
|
-
# passwords. For more information, see [Key pairs][6]
|
38516
|
-
# Elastic Compute Cloud User Guide*.
|
38885
|
+
# passwords. For more information, see [Key pairs][6].
|
38517
38886
|
#
|
38518
38887
|
# For troubleshooting, see [What to do if an instance immediately
|
38519
|
-
# terminates][7], and [Troubleshooting connecting to your instance][8]
|
38520
|
-
# in the *Amazon Elastic Compute Cloud User Guide*.
|
38888
|
+
# terminates][7], and [Troubleshooting connecting to your instance][8].
|
38521
38889
|
#
|
38522
38890
|
#
|
38523
38891
|
#
|
@@ -38539,7 +38907,7 @@ module Aws::EC2
|
|
38539
38907
|
#
|
38540
38908
|
# @option params [String] :instance_type
|
38541
38909
|
# The instance type. For more information, see [Instance types][1] in
|
38542
|
-
# the *Amazon
|
38910
|
+
# the *Amazon EC2 User Guide*.
|
38543
38911
|
#
|
38544
38912
|
# Default: `m1.small`
|
38545
38913
|
#
|
@@ -38572,8 +38940,8 @@ module Aws::EC2
|
|
38572
38940
|
# The ID of the kernel.
|
38573
38941
|
#
|
38574
38942
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
38575
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
38576
|
-
#
|
38943
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
38944
|
+
# Guide*.
|
38577
38945
|
#
|
38578
38946
|
#
|
38579
38947
|
#
|
@@ -38634,8 +39002,8 @@ module Aws::EC2
|
|
38634
39002
|
# go to the AWS Resource Center and search for the kernel ID.
|
38635
39003
|
#
|
38636
39004
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
38637
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
38638
|
-
#
|
39005
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
39006
|
+
# Guide*.
|
38639
39007
|
#
|
38640
39008
|
#
|
38641
39009
|
#
|
@@ -38731,7 +39099,7 @@ module Aws::EC2
|
|
38731
39099
|
# Default: `false`
|
38732
39100
|
#
|
38733
39101
|
# @option params [Types::IamInstanceProfileSpecification] :iam_instance_profile
|
38734
|
-
# The IAM instance profile.
|
39102
|
+
# The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
38735
39103
|
#
|
38736
39104
|
# @option params [String] :instance_initiated_shutdown_behavior
|
38737
39105
|
# Indicates whether an instance stops or terminates when you initiate
|
@@ -38762,8 +39130,7 @@ module Aws::EC2
|
|
38762
39130
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
38763
39131
|
# resource that you can attach to your Windows instance to accelerate
|
38764
39132
|
# the graphics performance of your applications. For more information,
|
38765
|
-
# see [
|
38766
|
-
# User Guide*.
|
39133
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
38767
39134
|
#
|
38768
39135
|
#
|
38769
39136
|
#
|
@@ -38806,7 +39173,7 @@ module Aws::EC2
|
|
38806
39173
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
38807
39174
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
38808
39175
|
# information, see [Burstable performance instances][2] in the *Amazon
|
38809
|
-
#
|
39176
|
+
# EC2 User Guide*.
|
38810
39177
|
#
|
38811
39178
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
38812
39179
|
#
|
@@ -38817,8 +39184,7 @@ module Aws::EC2
|
|
38817
39184
|
#
|
38818
39185
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
38819
39186
|
# The CPU options for the instance. For more information, see
|
38820
|
-
# [Optimizing CPU options][1] in the *Amazon
|
38821
|
-
# Guide*.
|
39187
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
38822
39188
|
#
|
38823
39189
|
#
|
38824
39190
|
#
|
@@ -38833,8 +39199,8 @@ module Aws::EC2
|
|
38833
39199
|
#
|
38834
39200
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
38835
39201
|
# Indicates whether an instance is enabled for hibernation. For more
|
38836
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
38837
|
-
#
|
39202
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
39203
|
+
# Guide*.
|
38838
39204
|
#
|
38839
39205
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
38840
39206
|
# instance.
|
@@ -38930,6 +39296,7 @@ module Aws::EC2
|
|
38930
39296
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
38931
39297
|
# kms_key_id: "String",
|
38932
39298
|
# throughput: 1,
|
39299
|
+
# outpost_arn: "String",
|
38933
39300
|
# encrypted: false,
|
38934
39301
|
# },
|
38935
39302
|
# no_device: "String",
|
@@ -39220,7 +39587,7 @@ module Aws::EC2
|
|
39220
39587
|
# it as needed. If you terminate a Scheduled Instance before the current
|
39221
39588
|
# scheduled time period ends, you can launch it again after a few
|
39222
39589
|
# minutes. For more information, see [Scheduled Instances][1] in the
|
39223
|
-
# *Amazon
|
39590
|
+
# *Amazon EC2 User Guide*.
|
39224
39591
|
#
|
39225
39592
|
#
|
39226
39593
|
#
|
@@ -39737,8 +40104,8 @@ module Aws::EC2
|
|
39737
40104
|
# Performing this operation on an instance that uses an instance store
|
39738
40105
|
# as its root device returns an error.
|
39739
40106
|
#
|
39740
|
-
# For more information, see [Stopping instances][1] in the *Amazon
|
39741
|
-
#
|
40107
|
+
# For more information, see [Stopping instances][1] in the *Amazon EC2
|
40108
|
+
# User Guide*.
|
39742
40109
|
#
|
39743
40110
|
#
|
39744
40111
|
#
|
@@ -40169,7 +40536,7 @@ module Aws::EC2
|
|
40169
40536
|
# You can use the Stop action to hibernate an instance if the instance
|
40170
40537
|
# is [enabled for hibernation][1] and it meets the [hibernation
|
40171
40538
|
# prerequisites][2]. For more information, see [Hibernate your
|
40172
|
-
# instance][3] in the *Amazon
|
40539
|
+
# instance][3] in the *Amazon EC2 User Guide*.
|
40173
40540
|
#
|
40174
40541
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
40175
40542
|
# however, your root partition Amazon EBS volume remains and continues
|
@@ -40186,7 +40553,7 @@ module Aws::EC2
|
|
40186
40553
|
# can't use the Stop action to hibernate Spot Instances, but you can
|
40187
40554
|
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
40188
40555
|
# interrupted. For more information, see [Hibernating interrupted Spot
|
40189
|
-
# Instances][4] in the *Amazon
|
40556
|
+
# Instances][4] in the *Amazon EC2 User Guide*.
|
40190
40557
|
#
|
40191
40558
|
# When you stop or hibernate an instance, we shut it down. You can
|
40192
40559
|
# restart your instance at any time. Before stopping or hibernating an
|
@@ -40202,13 +40569,13 @@ module Aws::EC2
|
|
40202
40569
|
# devices attached during the instance launch are automatically deleted.
|
40203
40570
|
# For more information about the differences between rebooting,
|
40204
40571
|
# stopping, hibernating, and terminating instances, see [Instance
|
40205
|
-
# lifecycle][5] in the *Amazon
|
40572
|
+
# lifecycle][5] in the *Amazon EC2 User Guide*.
|
40206
40573
|
#
|
40207
40574
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
40208
40575
|
# short while. If your instance appears stuck in the stopping state
|
40209
40576
|
# after a period of time, there may be an issue with the underlying host
|
40210
40577
|
# computer. For more information, see [Troubleshooting stopping your
|
40211
|
-
# instance][6] in the *Amazon
|
40578
|
+
# instance][6] in the *Amazon EC2 User Guide*.
|
40212
40579
|
#
|
40213
40580
|
#
|
40214
40581
|
#
|
@@ -40226,7 +40593,7 @@ module Aws::EC2
|
|
40226
40593
|
# Hibernates the instance if the instance was enabled for hibernation at
|
40227
40594
|
# launch. If the instance cannot hibernate successfully, a normal
|
40228
40595
|
# shutdown occurs. For more information, see [Hibernate your
|
40229
|
-
# instance][1] in the *Amazon
|
40596
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
40230
40597
|
#
|
40231
40598
|
# Default: `false`
|
40232
40599
|
#
|
@@ -40385,12 +40752,10 @@ module Aws::EC2
|
|
40385
40752
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
40386
40753
|
# set to `true` are automatically deleted. For more information about
|
40387
40754
|
# the differences between stopping and terminating instances, see
|
40388
|
-
# [Instance lifecycle][1] in the *Amazon
|
40389
|
-
# Guide*.
|
40755
|
+
# [Instance lifecycle][1] in the *Amazon EC2 User Guide*.
|
40390
40756
|
#
|
40391
40757
|
# For more information about troubleshooting, see [Troubleshooting
|
40392
|
-
# terminating your instance][2] in the *Amazon
|
40393
|
-
# User Guide*.
|
40758
|
+
# terminating your instance][2] in the *Amazon EC2 User Guide*.
|
40394
40759
|
#
|
40395
40760
|
#
|
40396
40761
|
#
|
@@ -40544,7 +40909,7 @@ module Aws::EC2
|
|
40544
40909
|
|
40545
40910
|
# Disables detailed monitoring for a running instance. For more
|
40546
40911
|
# information, see [Monitoring your instances and volumes][1] in the
|
40547
|
-
# *Amazon
|
40912
|
+
# *Amazon EC2 User Guide*.
|
40548
40913
|
#
|
40549
40914
|
#
|
40550
40915
|
#
|
@@ -40871,7 +41236,7 @@ module Aws::EC2
|
|
40871
41236
|
params: params,
|
40872
41237
|
config: config)
|
40873
41238
|
context[:gem_name] = 'aws-sdk-ec2'
|
40874
|
-
context[:gem_version] = '1.
|
41239
|
+
context[:gem_version] = '1.225.0'
|
40875
41240
|
Seahorse::Client::Request.new(handlers, context)
|
40876
41241
|
end
|
40877
41242
|
|