aws-sdk-ec2 1.219.0 → 1.224.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +496 -131
- data/lib/aws-sdk-ec2/client_api.rb +94 -0
- data/lib/aws-sdk-ec2/instance.rb +8 -6
- data/lib/aws-sdk-ec2/resource.rb +51 -17
- data/lib/aws-sdk-ec2/snapshot.rb +26 -0
- data/lib/aws-sdk-ec2/subnet.rb +11 -12
- data/lib/aws-sdk-ec2/types.rb +498 -109
- data/lib/aws-sdk-ec2/volume.rb +22 -0
- 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: f79d886db40447854b308edc88847d586595376b521dc7f33dd7036f1c9f6d96
|
4
|
+
data.tar.gz: d494d78a4c9c91dfd8a9ffcf135050eab1adf9a05b7db86bac5f21a4acd13e57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2cb64d16186746f2eee70535b4d9301f7862bdafcaba2e4290cac16719aa112a6118fe1093affd87d27a21f880413f935b8dd56ba6fa2d871571927735e3fa5
|
7
|
+
data.tar.gz: 16ccbd2cf6daaa5a9a400d07eb4c233f297cd3b9c1962eaa594b35c6b1ba3225f44fba293b723b38473309afbf5b6b20875bc9edb876a9f17ddc7ed3fc3870be
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -784,6 +784,9 @@ module Aws::EC2
|
|
784
784
|
# If you have the required permissions, the error response is
|
785
785
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
786
786
|
#
|
787
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
788
|
+
# The tags to assign to the Elastic IP address.
|
789
|
+
#
|
787
790
|
# @return [Types::AllocateAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
788
791
|
#
|
789
792
|
# * {Types::AllocateAddressResult#public_ip #public_ip} => String
|
@@ -833,6 +836,17 @@ module Aws::EC2
|
|
833
836
|
# network_border_group: "String",
|
834
837
|
# customer_owned_ipv_4_pool: "String",
|
835
838
|
# dry_run: false,
|
839
|
+
# tag_specifications: [
|
840
|
+
# {
|
841
|
+
# 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
|
842
|
+
# tags: [
|
843
|
+
# {
|
844
|
+
# key: "String",
|
845
|
+
# value: "String",
|
846
|
+
# },
|
847
|
+
# ],
|
848
|
+
# },
|
849
|
+
# ],
|
836
850
|
# })
|
837
851
|
#
|
838
852
|
# @example Response structure
|
@@ -863,8 +877,8 @@ module Aws::EC2
|
|
863
877
|
# Indicates whether the host accepts any untargeted instance launches
|
864
878
|
# that match its instance type configuration, or if it only accepts Host
|
865
879
|
# tenancy instance launches that specify its unique host ID. For more
|
866
|
-
# information, see [ Understanding
|
867
|
-
#
|
880
|
+
# information, see [ Understanding auto-placement and affinity][1] in
|
881
|
+
# the *Amazon EC2 User Guide*.
|
868
882
|
#
|
869
883
|
# Default: `on`
|
870
884
|
#
|
@@ -877,7 +891,7 @@ module Aws::EC2
|
|
877
891
|
#
|
878
892
|
# @option params [String] :client_token
|
879
893
|
# Unique, case-sensitive identifier that you provide to ensure the
|
880
|
-
# idempotency of the request. For more information, see [
|
894
|
+
# idempotency of the request. For more information, see [Ensuring
|
881
895
|
# Idempotency][1].
|
882
896
|
#
|
883
897
|
#
|
@@ -914,7 +928,7 @@ module Aws::EC2
|
|
914
928
|
# @option params [String] :host_recovery
|
915
929
|
# Indicates whether to enable or disable host recovery for the Dedicated
|
916
930
|
# Host. Host recovery is disabled by default. For more information, see
|
917
|
-
# [ Host
|
931
|
+
# [ Host recovery][1] in the *Amazon EC2 User Guide*.
|
918
932
|
#
|
919
933
|
# Default: `off`
|
920
934
|
#
|
@@ -2984,7 +2998,7 @@ module Aws::EC2
|
|
2984
2998
|
# Instance Marketplace.
|
2985
2999
|
#
|
2986
3000
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
2987
|
-
# *Amazon
|
3001
|
+
# *Amazon EC2 User Guide*.
|
2988
3002
|
#
|
2989
3003
|
#
|
2990
3004
|
#
|
@@ -3312,22 +3326,37 @@ module Aws::EC2
|
|
3312
3326
|
req.send_request(options)
|
3313
3327
|
end
|
3314
3328
|
|
3315
|
-
# Initiates the copy of an AMI
|
3316
|
-
#
|
3317
|
-
#
|
3329
|
+
# Initiates the copy of an AMI. You can copy an AMI from one Region to
|
3330
|
+
# another, or from a Region to an AWS Outpost. You can't copy an AMI
|
3331
|
+
# from an Outpost to a Region, from one Outpost to another, or within
|
3332
|
+
# the same Outpost.
|
3333
|
+
#
|
3334
|
+
# To copy an AMI from one Region to another, specify the source Region
|
3335
|
+
# using the **SourceRegion** parameter, and specify the destination
|
3336
|
+
# Region using its endpoint. Copies of encrypted backing snapshots for
|
3337
|
+
# the AMI are encrypted. Copies of unencrypted backing snapshots remain
|
3338
|
+
# unencrypted, unless you set `Encrypted` during the copy operation. You
|
3339
|
+
# cannot create an unencrypted copy of an encrypted backing snapshot.
|
3340
|
+
#
|
3341
|
+
# To copy an AMI from a Region to an Outpost, specify the source Region
|
3342
|
+
# using the **SourceRegion** parameter, and specify the ARN of the
|
3343
|
+
# destination Outpost using **DestinationOutpostArn**. Backing snapshots
|
3344
|
+
# copied to an Outpost are encrypted by default using the default
|
3345
|
+
# encryption key for the Region, or a different key that you specify in
|
3346
|
+
# the request using **KmsKeyId**. Outposts do not support unencrypted
|
3347
|
+
# snapshots. For more information, [ Amazon EBS local snapshots on
|
3348
|
+
# Outposts][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
3349
|
+
#
|
3318
3350
|
#
|
3319
|
-
# Copies of encrypted backing snapshots for the AMI are encrypted.
|
3320
|
-
# Copies of unencrypted backing snapshots remain unencrypted, unless you
|
3321
|
-
# set `Encrypted` during the copy operation. You cannot create an
|
3322
|
-
# unencrypted copy of an encrypted backing snapshot.
|
3323
3351
|
#
|
3324
3352
|
# For more information about the prerequisites and limits when copying
|
3325
|
-
# an AMI, see [Copying an AMI][
|
3353
|
+
# an AMI, see [Copying an AMI][2] in the *Amazon Elastic Compute Cloud
|
3326
3354
|
# User Guide*.
|
3327
3355
|
#
|
3328
3356
|
#
|
3329
3357
|
#
|
3330
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
3358
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
3359
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html
|
3331
3360
|
#
|
3332
3361
|
# @option params [String] :client_token
|
3333
3362
|
# Unique, case-sensitive identifier you provide to ensure idempotency of
|
@@ -3389,6 +3418,20 @@ module Aws::EC2
|
|
3389
3418
|
# @option params [required, String] :source_region
|
3390
3419
|
# The name of the Region that contains the AMI to copy.
|
3391
3420
|
#
|
3421
|
+
# @option params [String] :destination_outpost_arn
|
3422
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
3423
|
+
# AMI. Only specify this parameter when copying an AMI from an AWS
|
3424
|
+
# Region to an Outpost. The AMI must be in the Region of the destination
|
3425
|
+
# Outpost. You cannot copy an AMI from an Outpost to a Region, from one
|
3426
|
+
# Outpost to another, or within the same Outpost.
|
3427
|
+
#
|
3428
|
+
# For more information, see [ Copying AMIs from an AWS Region to an
|
3429
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
3430
|
+
#
|
3431
|
+
#
|
3432
|
+
#
|
3433
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis
|
3434
|
+
#
|
3392
3435
|
# @option params [Boolean] :dry_run
|
3393
3436
|
# Checks whether you have the required permissions for the action,
|
3394
3437
|
# without actually making the request, and provides an error response.
|
@@ -3426,6 +3469,7 @@ module Aws::EC2
|
|
3426
3469
|
# name: "String", # required
|
3427
3470
|
# source_image_id: "String", # required
|
3428
3471
|
# source_region: "String", # required
|
3472
|
+
# destination_outpost_arn: "String",
|
3429
3473
|
# dry_run: false,
|
3430
3474
|
# })
|
3431
3475
|
#
|
@@ -3443,33 +3487,58 @@ module Aws::EC2
|
|
3443
3487
|
end
|
3444
3488
|
|
3445
3489
|
# Copies a point-in-time snapshot of an EBS volume and stores it in
|
3446
|
-
# Amazon S3. You can copy
|
3447
|
-
#
|
3448
|
-
#
|
3449
|
-
#
|
3450
|
-
#
|
3451
|
-
#
|
3452
|
-
#
|
3453
|
-
#
|
3454
|
-
#
|
3455
|
-
#
|
3456
|
-
#
|
3457
|
-
#
|
3458
|
-
#
|
3490
|
+
# Amazon S3. You can copy a snapshot within the same Region, from one
|
3491
|
+
# Region to another, or from a Region to an Outpost. You can't copy a
|
3492
|
+
# snapshot from an Outpost to a Region, from one Outpost to another, or
|
3493
|
+
# within the same Outpost.
|
3494
|
+
#
|
3495
|
+
# You can use the snapshot to create EBS volumes or Amazon Machine
|
3496
|
+
# Images (AMIs).
|
3497
|
+
#
|
3498
|
+
# When copying snapshots to a Region, copies of encrypted EBS snapshots
|
3499
|
+
# remain encrypted. Copies of unencrypted snapshots remain unencrypted,
|
3500
|
+
# unless you enable encryption for the snapshot copy operation. By
|
3501
|
+
# default, encrypted snapshot copies use the default AWS Key Management
|
3502
|
+
# Service (AWS KMS) customer master key (CMK); however, you can specify
|
3503
|
+
# a different CMK. To copy an encrypted snapshot that has been shared
|
3504
|
+
# from another account, you must have permissions for the CMK used to
|
3505
|
+
# encrypt the snapshot.
|
3506
|
+
#
|
3507
|
+
# Snapshots copied to an Outpost are encrypted by default using the
|
3508
|
+
# default encryption key for the Region, or a different key that you
|
3509
|
+
# specify in the request using **KmsKeyId**. Outposts do not support
|
3510
|
+
# unencrypted snapshots. For more information, [ Amazon EBS local
|
3511
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
3512
|
+
# Guide*.
|
3459
3513
|
#
|
3460
3514
|
# Snapshots created by copying another snapshot have an arbitrary volume
|
3461
3515
|
# ID that should not be used for any purpose.
|
3462
3516
|
#
|
3463
|
-
# For more information, see [Copying an Amazon EBS snapshot][
|
3517
|
+
# For more information, see [Copying an Amazon EBS snapshot][2] in the
|
3464
3518
|
# *Amazon Elastic Compute Cloud User Guide*.
|
3465
3519
|
#
|
3466
3520
|
#
|
3467
3521
|
#
|
3468
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
3522
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
3523
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-copy-snapshot.html
|
3469
3524
|
#
|
3470
3525
|
# @option params [String] :description
|
3471
3526
|
# A description for the EBS snapshot.
|
3472
3527
|
#
|
3528
|
+
# @option params [String] :destination_outpost_arn
|
3529
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
3530
|
+
# snapshot. Only specify this parameter when copying a snapshot from an
|
3531
|
+
# AWS Region to an Outpost. The snapshot must be in the Region for the
|
3532
|
+
# destination Outpost. You cannot copy a snapshot from an Outpost to a
|
3533
|
+
# Region, from one Outpost to another, or within the same Outpost.
|
3534
|
+
#
|
3535
|
+
# For more information, see [ Copying snapshots from an AWS Region to an
|
3536
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
3537
|
+
#
|
3538
|
+
#
|
3539
|
+
#
|
3540
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
|
3541
|
+
#
|
3473
3542
|
# @option params [String] :destination_region
|
3474
3543
|
# The destination Region to use in the `PresignedUrl` parameter of a
|
3475
3544
|
# snapshot copy operation. This parameter is only valid for specifying
|
@@ -3603,6 +3672,7 @@ module Aws::EC2
|
|
3603
3672
|
#
|
3604
3673
|
# resp = client.copy_snapshot({
|
3605
3674
|
# description: "String",
|
3675
|
+
# destination_outpost_arn: "String",
|
3606
3676
|
# destination_region: "String",
|
3607
3677
|
# encrypted: false,
|
3608
3678
|
# kms_key_id: "KmsKeyId",
|
@@ -3647,8 +3717,8 @@ module Aws::EC2
|
|
3647
3717
|
# still get the Regional RI discounts for that usage. By creating
|
3648
3718
|
# Capacity Reservations, you ensure that you always have access to
|
3649
3719
|
# Amazon EC2 capacity when you need it, for as long as you need it. For
|
3650
|
-
# more information, see [Capacity Reservations][1] in the *Amazon
|
3651
|
-
#
|
3720
|
+
# more information, see [Capacity Reservations][1] in the *Amazon EC2
|
3721
|
+
# User Guide*.
|
3652
3722
|
#
|
3653
3723
|
# Your request to create a Capacity Reservation could fail if Amazon EC2
|
3654
3724
|
# does not have sufficient capacity to fulfill the request. If your
|
@@ -3663,7 +3733,7 @@ module Aws::EC2
|
|
3663
3733
|
# request fails due to limit constraints, increase your On-Demand
|
3664
3734
|
# Instance limit for the required instance type and try again. For more
|
3665
3735
|
# information about increasing your instance limits, see [Amazon EC2
|
3666
|
-
# Service
|
3736
|
+
# Service Quotas][2] in the *Amazon EC2 User Guide*.
|
3667
3737
|
#
|
3668
3738
|
#
|
3669
3739
|
#
|
@@ -3672,7 +3742,7 @@ module Aws::EC2
|
|
3672
3742
|
#
|
3673
3743
|
# @option params [String] :client_token
|
3674
3744
|
# Unique, case-sensitive identifier that you provide to ensure the
|
3675
|
-
# idempotency of the request. For more information, see [
|
3745
|
+
# idempotency of the request. For more information, see [Ensure
|
3676
3746
|
# Idempotency][1].
|
3677
3747
|
#
|
3678
3748
|
#
|
@@ -3681,8 +3751,7 @@ module Aws::EC2
|
|
3681
3751
|
#
|
3682
3752
|
# @option params [required, String] :instance_type
|
3683
3753
|
# The instance type for which to reserve capacity. For more information,
|
3684
|
-
# see [Instance
|
3685
|
-
# Guide*.
|
3754
|
+
# see [Instance types][1] in the *Amazon EC2 User Guide*.
|
3686
3755
|
#
|
3687
3756
|
#
|
3688
3757
|
#
|
@@ -3824,6 +3893,7 @@ module Aws::EC2
|
|
3824
3893
|
# resp.capacity_reservation.ebs_optimized #=> Boolean
|
3825
3894
|
# resp.capacity_reservation.ephemeral_storage #=> Boolean
|
3826
3895
|
# resp.capacity_reservation.state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
3896
|
+
# resp.capacity_reservation.start_date #=> Time
|
3827
3897
|
# resp.capacity_reservation.end_date #=> Time
|
3828
3898
|
# resp.capacity_reservation.end_date_type #=> String, one of "unlimited", "limited"
|
3829
3899
|
# resp.capacity_reservation.instance_match_criteria #=> String, one of "open", "targeted"
|
@@ -4685,7 +4755,7 @@ module Aws::EC2
|
|
4685
4755
|
# subnet.
|
4686
4756
|
#
|
4687
4757
|
# For more information, see [Launching an EC2 Fleet][1] in the *Amazon
|
4688
|
-
#
|
4758
|
+
# EC2 User Guide*.
|
4689
4759
|
#
|
4690
4760
|
#
|
4691
4761
|
#
|
@@ -4730,7 +4800,7 @@ module Aws::EC2
|
|
4730
4800
|
# @option params [String] :type
|
4731
4801
|
# The type of request. The default value is `maintain`.
|
4732
4802
|
#
|
4733
|
-
# * `maintain` - The EC2 Fleet
|
4803
|
+
# * `maintain` - The EC2 Fleet places an asynchronous request for your
|
4734
4804
|
# desired capacity, and continues to maintain your desired Spot
|
4735
4805
|
# capacity by replenishing interrupted Spot Instances.
|
4736
4806
|
#
|
@@ -4744,7 +4814,7 @@ module Aws::EC2
|
|
4744
4814
|
# could not be launched.
|
4745
4815
|
#
|
4746
4816
|
# For more information, see [EC2 Fleet request types][1] in the *Amazon
|
4747
|
-
#
|
4817
|
+
# EC2 User Guide*.
|
4748
4818
|
#
|
4749
4819
|
#
|
4750
4820
|
#
|
@@ -4762,7 +4832,13 @@ module Aws::EC2
|
|
4762
4832
|
# specified, the request remains until you cancel it.
|
4763
4833
|
#
|
4764
4834
|
# @option params [Boolean] :replace_unhealthy_instances
|
4765
|
-
# Indicates whether EC2 Fleet should replace unhealthy
|
4835
|
+
# Indicates whether EC2 Fleet should replace unhealthy Spot Instances.
|
4836
|
+
# Supported only for fleets of type `maintain`. For more information,
|
4837
|
+
# see [EC2 Fleet health checks][1] in the *Amazon EC2 User Guide*.
|
4838
|
+
#
|
4839
|
+
#
|
4840
|
+
#
|
4841
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks
|
4766
4842
|
#
|
4767
4843
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
4768
4844
|
# The key-value pair for tagging the EC2 Fleet request on creation. The
|
@@ -5300,6 +5376,7 @@ module Aws::EC2
|
|
5300
5376
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
5301
5377
|
# kms_key_id: "String",
|
5302
5378
|
# throughput: 1,
|
5379
|
+
# outpost_arn: "String",
|
5303
5380
|
# encrypted: false,
|
5304
5381
|
# },
|
5305
5382
|
# no_device: "String",
|
@@ -7190,8 +7267,8 @@ module Aws::EC2
|
|
7190
7267
|
# instances in different partitions, where instances in one partition do
|
7191
7268
|
# not share the same hardware with instances in another partition.
|
7192
7269
|
#
|
7193
|
-
# For more information, see [Placement groups][1] in the *Amazon
|
7194
|
-
#
|
7270
|
+
# For more information, see [Placement groups][1] in the *Amazon EC2
|
7271
|
+
# User Guide*.
|
7195
7272
|
#
|
7196
7273
|
#
|
7197
7274
|
#
|
@@ -7304,7 +7381,7 @@ module Aws::EC2
|
|
7304
7381
|
# DescribeReservedInstancesListings operation.
|
7305
7382
|
#
|
7306
7383
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
7307
|
-
# *Amazon
|
7384
|
+
# *Amazon EC2 User Guide*.
|
7308
7385
|
#
|
7309
7386
|
#
|
7310
7387
|
#
|
@@ -7763,6 +7840,13 @@ module Aws::EC2
|
|
7763
7840
|
# can use snapshots for backups, to make copies of EBS volumes, and to
|
7764
7841
|
# save data before shutting down an instance.
|
7765
7842
|
#
|
7843
|
+
# You can create snapshots of volumes in a Region and volumes on an
|
7844
|
+
# Outpost. If you create a snapshot of a volume in a Region, the
|
7845
|
+
# snapshot must be stored in the same Region as the volume. If you
|
7846
|
+
# create a snapshot of a volume on an Outpost, the snapshot can be
|
7847
|
+
# stored on the same Outpost as the volume, or in the Region for that
|
7848
|
+
# Outpost.
|
7849
|
+
#
|
7766
7850
|
# When a snapshot is created, any AWS Marketplace product codes that are
|
7767
7851
|
# associated with the source volume are propagated to the snapshot.
|
7768
7852
|
#
|
@@ -7801,6 +7885,28 @@ module Aws::EC2
|
|
7801
7885
|
# @option params [String] :description
|
7802
7886
|
# A description for the snapshot.
|
7803
7887
|
#
|
7888
|
+
# @option params [String] :outpost_arn
|
7889
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
|
7890
|
+
# local snapshot.
|
7891
|
+
#
|
7892
|
+
# * To create a snapshot of a volume in a Region, omit this parameter.
|
7893
|
+
# The snapshot is created in the same Region as the volume.
|
7894
|
+
#
|
7895
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
7896
|
+
# snapshot in the Region, omit this parameter. The snapshot is created
|
7897
|
+
# in the Region for the Outpost.
|
7898
|
+
#
|
7899
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
7900
|
+
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
7901
|
+
# The snapshot must be created on the same Outpost as the volume.
|
7902
|
+
#
|
7903
|
+
# For more information, see [ Creating local snapshots from volumes on
|
7904
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
7905
|
+
#
|
7906
|
+
#
|
7907
|
+
#
|
7908
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
7909
|
+
#
|
7804
7910
|
# @option params [required, String] :volume_id
|
7805
7911
|
# The ID of the EBS volume.
|
7806
7912
|
#
|
@@ -7828,6 +7934,7 @@ module Aws::EC2
|
|
7828
7934
|
# * {Types::Snapshot#volume_id #volume_id} => String
|
7829
7935
|
# * {Types::Snapshot#volume_size #volume_size} => Integer
|
7830
7936
|
# * {Types::Snapshot#owner_alias #owner_alias} => String
|
7937
|
+
# * {Types::Snapshot#outpost_arn #outpost_arn} => String
|
7831
7938
|
# * {Types::Snapshot#tags #tags} => Array<Types::Tag>
|
7832
7939
|
#
|
7833
7940
|
#
|
@@ -7858,6 +7965,7 @@ module Aws::EC2
|
|
7858
7965
|
#
|
7859
7966
|
# resp = client.create_snapshot({
|
7860
7967
|
# description: "String",
|
7968
|
+
# outpost_arn: "String",
|
7861
7969
|
# volume_id: "VolumeId", # required
|
7862
7970
|
# tag_specifications: [
|
7863
7971
|
# {
|
@@ -7888,6 +7996,7 @@ module Aws::EC2
|
|
7888
7996
|
# resp.volume_id #=> String
|
7889
7997
|
# resp.volume_size #=> Integer
|
7890
7998
|
# resp.owner_alias #=> String
|
7999
|
+
# resp.outpost_arn #=> String
|
7891
8000
|
# resp.tags #=> Array
|
7892
8001
|
# resp.tags[0].key #=> String
|
7893
8002
|
# resp.tags[0].value #=> String
|
@@ -7907,6 +8016,13 @@ module Aws::EC2
|
|
7907
8016
|
# crash-consistent across the instance. Boot volumes can be excluded by
|
7908
8017
|
# changing the parameters.
|
7909
8018
|
#
|
8019
|
+
# You can create multi-volume snapshots of instances in a Region and
|
8020
|
+
# instances on an Outpost. If you create snapshots from an instance in a
|
8021
|
+
# Region, the snapshots must be stored in the same Region as the
|
8022
|
+
# instance. If you create snapshots from an instance on an Outpost, the
|
8023
|
+
# snapshots can be stored on the same Outpost as the instance, or in the
|
8024
|
+
# Region for that Outpost.
|
8025
|
+
#
|
7910
8026
|
# @option params [String] :description
|
7911
8027
|
# A description propagated to every snapshot specified by the instance.
|
7912
8028
|
#
|
@@ -7914,6 +8030,30 @@ module Aws::EC2
|
|
7914
8030
|
# The instance to specify which volumes should be included in the
|
7915
8031
|
# snapshots.
|
7916
8032
|
#
|
8033
|
+
# @option params [String] :outpost_arn
|
8034
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create
|
8035
|
+
# the local snapshots.
|
8036
|
+
#
|
8037
|
+
# * To create snapshots from an instance in a Region, omit this
|
8038
|
+
# parameter. The snapshots are created in the same Region as the
|
8039
|
+
# instance.
|
8040
|
+
#
|
8041
|
+
# * To create snapshots from an instance on an Outpost and store the
|
8042
|
+
# snapshots in the Region, omit this parameter. The snapshots are
|
8043
|
+
# created in the Region for the Outpost.
|
8044
|
+
#
|
8045
|
+
# * To create snapshots from an instance on an Outpost and store the
|
8046
|
+
# snapshots on an Outpost, specify the ARN of the destination Outpost.
|
8047
|
+
# The snapshots must be created on the same Outpost as the instance.
|
8048
|
+
#
|
8049
|
+
# For more information, see [ Creating multi-volume local snapshots from
|
8050
|
+
# instances on an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
8051
|
+
# Guide*.
|
8052
|
+
#
|
8053
|
+
#
|
8054
|
+
#
|
8055
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot
|
8056
|
+
#
|
7917
8057
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7918
8058
|
# Tags to apply to every snapshot specified by the instance.
|
7919
8059
|
#
|
@@ -7938,6 +8078,7 @@ module Aws::EC2
|
|
7938
8078
|
# instance_id: "InstanceId",
|
7939
8079
|
# exclude_boot_volume: false,
|
7940
8080
|
# },
|
8081
|
+
# outpost_arn: "String",
|
7941
8082
|
# tag_specifications: [
|
7942
8083
|
# {
|
7943
8084
|
# 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
|
@@ -7968,6 +8109,7 @@ module Aws::EC2
|
|
7968
8109
|
# resp.snapshots[0].progress #=> String
|
7969
8110
|
# resp.snapshots[0].owner_id #=> String
|
7970
8111
|
# resp.snapshots[0].snapshot_id #=> String
|
8112
|
+
# resp.snapshots[0].outpost_arn #=> String
|
7971
8113
|
#
|
7972
8114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshots AWS API Documentation
|
7973
8115
|
#
|
@@ -9991,7 +10133,9 @@ module Aws::EC2
|
|
9991
10133
|
# attributes to `true`\: `enableDnsHostnames` and `enableDnsSupport`.
|
9992
10134
|
# Use ModifyVpcAttribute to set the VPC attributes.
|
9993
10135
|
#
|
9994
|
-
#
|
10136
|
+
# Private DNS is not supported for Amazon S3 interface endpoints.
|
10137
|
+
#
|
10138
|
+
# Default: `true` for supported endpoints
|
9995
10139
|
#
|
9996
10140
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
9997
10141
|
# The tags to associate with the endpoint.
|
@@ -10983,7 +11127,7 @@ module Aws::EC2
|
|
10983
11127
|
# `instant` fleets.
|
10984
11128
|
#
|
10985
11129
|
# For more information, see [Deleting an EC2 Fleet][1] in the *Amazon
|
10986
|
-
#
|
11130
|
+
# EC2 User Guide*.
|
10987
11131
|
#
|
10988
11132
|
#
|
10989
11133
|
#
|
@@ -11789,7 +11933,7 @@ module Aws::EC2
|
|
11789
11933
|
# Deletes the specified placement group. You must terminate all
|
11790
11934
|
# instances in the placement group before you can delete the placement
|
11791
11935
|
# group. For more information, see [Placement groups][1] in the *Amazon
|
11792
|
-
#
|
11936
|
+
# EC2 User Guide*.
|
11793
11937
|
#
|
11794
11938
|
#
|
11795
11939
|
#
|
@@ -12982,12 +13126,28 @@ module Aws::EC2
|
|
12982
13126
|
req.send_request(options)
|
12983
13127
|
end
|
12984
13128
|
|
12985
|
-
# Deletes one or more specified VPC endpoints.
|
12986
|
-
#
|
12987
|
-
#
|
12988
|
-
# Gateway
|
12989
|
-
#
|
12990
|
-
#
|
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.
|
12991
13151
|
#
|
12992
13152
|
# @option params [Boolean] :dry_run
|
12993
13153
|
# Checks whether you have the required permissions for the action,
|
@@ -13738,6 +13898,70 @@ module Aws::EC2
|
|
13738
13898
|
req.send_request(options)
|
13739
13899
|
end
|
13740
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
|
+
|
13741
13965
|
# Describes the longer ID format settings for all resource types in a
|
13742
13966
|
# specific Region. This request is useful for performing a quick audit
|
13743
13967
|
# to determine whether a specific Region is fully opted in for longer
|
@@ -14155,8 +14379,8 @@ module Aws::EC2
|
|
14155
14379
|
# date and time specified in your request. The reserved capacity is
|
14156
14380
|
# no longer available for your use.
|
14157
14381
|
#
|
14158
|
-
# * `cancelled` - The Capacity Reservation was
|
14159
|
-
#
|
14382
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
14383
|
+
# capacity is no longer available for your use.
|
14160
14384
|
#
|
14161
14385
|
# * `pending` - The Capacity Reservation request was successful but
|
14162
14386
|
# the capacity provisioning is still pending.
|
@@ -14242,6 +14466,7 @@ module Aws::EC2
|
|
14242
14466
|
# resp.capacity_reservations[0].ebs_optimized #=> Boolean
|
14243
14467
|
# resp.capacity_reservations[0].ephemeral_storage #=> Boolean
|
14244
14468
|
# resp.capacity_reservations[0].state #=> String, one of "active", "expired", "cancelled", "pending", "failed"
|
14469
|
+
# resp.capacity_reservations[0].start_date #=> Time
|
14245
14470
|
# resp.capacity_reservations[0].end_date #=> Time
|
14246
14471
|
# resp.capacity_reservations[0].end_date_type #=> String, one of "unlimited", "limited"
|
14247
14472
|
# resp.capacity_reservations[0].instance_match_criteria #=> String, one of "open", "targeted"
|
@@ -15616,6 +15841,13 @@ module Aws::EC2
|
|
15616
15841
|
# and not miss a recorded event. EC2 Fleet events are available for 48
|
15617
15842
|
# hours.
|
15618
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
|
+
#
|
15619
15851
|
# @option params [Boolean] :dry_run
|
15620
15852
|
# Checks whether you have the required permissions for the action,
|
15621
15853
|
# without actually making the request, and provides an error response.
|
@@ -15684,6 +15916,13 @@ module Aws::EC2
|
|
15684
15916
|
|
15685
15917
|
# Describes the running instances for the specified EC2 Fleet.
|
15686
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
|
+
#
|
15687
15926
|
# @option params [Boolean] :dry_run
|
15688
15927
|
# Checks whether you have the required permissions for the action,
|
15689
15928
|
# without actually making the request, and provides an error response.
|
@@ -15751,6 +15990,13 @@ module Aws::EC2
|
|
15751
15990
|
|
15752
15991
|
# Describes the specified EC2 Fleets or all of your EC2 Fleets.
|
15753
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
|
+
#
|
15754
16000
|
# @option params [Boolean] :dry_run
|
15755
16001
|
# Checks whether you have the required permissions for the action,
|
15756
16002
|
# without actually making the request, and provides an error response.
|
@@ -16177,8 +16423,8 @@ module Aws::EC2
|
|
16177
16423
|
# Region of your Dedicated Hosts. When purchasing an offering, ensure
|
16178
16424
|
# that the instance family and Region of the offering matches that of
|
16179
16425
|
# the Dedicated Hosts with which it is to be associated. For more
|
16180
|
-
# information about supported instance types, see [Dedicated Hosts
|
16181
|
-
#
|
16426
|
+
# information about supported instance types, see [Dedicated Hosts][1]
|
16427
|
+
# in the *Amazon EC2 User Guide*.
|
16182
16428
|
#
|
16183
16429
|
#
|
16184
16430
|
#
|
@@ -16760,6 +17006,7 @@ module Aws::EC2
|
|
16760
17006
|
# resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
16761
17007
|
# resp.block_device_mappings[0].ebs.kms_key_id #=> String
|
16762
17008
|
# resp.block_device_mappings[0].ebs.throughput #=> Integer
|
17009
|
+
# resp.block_device_mappings[0].ebs.outpost_arn #=> String
|
16763
17010
|
# resp.block_device_mappings[0].ebs.encrypted #=> Boolean
|
16764
17011
|
# resp.block_device_mappings[0].no_device #=> String
|
16765
17012
|
# resp.image_id #=> String
|
@@ -16845,13 +17092,14 @@ module Aws::EC2
|
|
16845
17092
|
#
|
16846
17093
|
# * `name` - The name of the AMI (provided during image creation).
|
16847
17094
|
#
|
16848
|
-
# * `owner-alias` - The owner alias
|
16849
|
-
#
|
16850
|
-
# account alias set using the IAM console. We
|
16851
|
-
# 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.
|
16852
17100
|
#
|
16853
17101
|
# * `owner-id` - The AWS account ID of the owner. We recommend that you
|
16854
|
-
# use the
|
17102
|
+
# use the **Owner** request parameter instead of this filter.
|
16855
17103
|
#
|
16856
17104
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
16857
17105
|
# `windows`.
|
@@ -17001,6 +17249,7 @@ module Aws::EC2
|
|
17001
17249
|
# resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
17002
17250
|
# resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
17003
17251
|
# resp.images[0].block_device_mappings[0].ebs.throughput #=> Integer
|
17252
|
+
# resp.images[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
17004
17253
|
# resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
17005
17254
|
# resp.images[0].block_device_mappings[0].no_device #=> String
|
17006
17255
|
# resp.images[0].description #=> String
|
@@ -17374,7 +17623,7 @@ module Aws::EC2
|
|
17374
17623
|
# in an unaffected zone, the call works normally.
|
17375
17624
|
#
|
17376
17625
|
# For more information, see [Burstable performance instances][1] in the
|
17377
|
-
# *Amazon
|
17626
|
+
# *Amazon EC2 User Guide*.
|
17378
17627
|
#
|
17379
17628
|
#
|
17380
17629
|
#
|
@@ -17491,18 +17740,17 @@ module Aws::EC2
|
|
17491
17740
|
# instances to identify hardware and software issues. For more
|
17492
17741
|
# information, see [Status checks for your instances][1] and
|
17493
17742
|
# [Troubleshooting instances with failed status checks][2] in the
|
17494
|
-
# *Amazon
|
17743
|
+
# *Amazon EC2 User Guide*.
|
17495
17744
|
#
|
17496
17745
|
# * **Scheduled events** - Amazon EC2 can schedule events (such as
|
17497
17746
|
# reboot, stop, or terminate) for your instances related to hardware
|
17498
17747
|
# issues, software updates, or system maintenance. For more
|
17499
17748
|
# information, see [Scheduled events for your instances][3] in the
|
17500
|
-
# *Amazon
|
17749
|
+
# *Amazon EC2 User Guide*.
|
17501
17750
|
#
|
17502
17751
|
# * **Instance state** - You can manage your instances from the moment
|
17503
17752
|
# you launch them through their termination. For more information, see
|
17504
|
-
# [Instance lifecycle][4] in the *Amazon
|
17505
|
-
# Guide*.
|
17753
|
+
# [Instance lifecycle][4] in the *Amazon EC2 User Guide*.
|
17506
17754
|
#
|
17507
17755
|
#
|
17508
17756
|
#
|
@@ -17777,8 +18025,8 @@ module Aws::EC2
|
|
17777
18025
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
17778
18026
|
#
|
17779
18027
|
# @option params [Array<String>] :instance_types
|
17780
|
-
# The instance types. For more information, see [Instance
|
17781
|
-
# the *Amazon
|
18028
|
+
# The instance types. For more information, see [Instance types][1] in
|
18029
|
+
# the *Amazon EC2 User Guide*.
|
17782
18030
|
#
|
17783
18031
|
#
|
17784
18032
|
#
|
@@ -21115,7 +21363,7 @@ module Aws::EC2
|
|
21115
21363
|
|
21116
21364
|
# Describes the specified placement groups or all of your placement
|
21117
21365
|
# groups. For more information, see [Placement groups][1] in the *Amazon
|
21118
|
-
#
|
21366
|
+
# EC2 User Guide*.
|
21119
21367
|
#
|
21120
21368
|
#
|
21121
21369
|
#
|
@@ -21556,7 +21804,7 @@ module Aws::EC2
|
|
21556
21804
|
# Describes one or more of the Reserved Instances that you purchased.
|
21557
21805
|
#
|
21558
21806
|
# For more information about Reserved Instances, see [Reserved
|
21559
|
-
# Instances][1] in the *Amazon
|
21807
|
+
# Instances][1] in the *Amazon EC2 User Guide*.
|
21560
21808
|
#
|
21561
21809
|
#
|
21562
21810
|
#
|
@@ -21712,7 +21960,7 @@ module Aws::EC2
|
|
21712
21960
|
# based on the total price of all of the listings that you purchase.
|
21713
21961
|
#
|
21714
21962
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
21715
|
-
# *Amazon
|
21963
|
+
# *Amazon EC2 User Guide*.
|
21716
21964
|
#
|
21717
21965
|
#
|
21718
21966
|
#
|
@@ -21791,7 +22039,7 @@ module Aws::EC2
|
|
21791
22039
|
# only information about the specific modification is returned.
|
21792
22040
|
#
|
21793
22041
|
# For more information, see [Modifying Reserved Instances][1] in the
|
21794
|
-
# Amazon
|
22042
|
+
# *Amazon EC2 User Guide*.
|
21795
22043
|
#
|
21796
22044
|
#
|
21797
22045
|
#
|
@@ -21904,7 +22152,7 @@ module Aws::EC2
|
|
21904
22152
|
# Instances.
|
21905
22153
|
#
|
21906
22154
|
# For more information, see [Reserved Instance Marketplace][1] in the
|
21907
|
-
# *Amazon
|
22155
|
+
# *Amazon EC2 User Guide*.
|
21908
22156
|
#
|
21909
22157
|
#
|
21910
22158
|
#
|
@@ -21959,8 +22207,8 @@ module Aws::EC2
|
|
21959
22207
|
#
|
21960
22208
|
# @option params [String] :instance_type
|
21961
22209
|
# The instance type that the reservation will cover (for example,
|
21962
|
-
# `m1.small`). For more information, see [Instance
|
21963
|
-
# *Amazon
|
22210
|
+
# `m1.small`). For more information, see [Instance types][1] in the
|
22211
|
+
# *Amazon EC2 User Guide*.
|
21964
22212
|
#
|
21965
22213
|
#
|
21966
22214
|
#
|
@@ -23233,6 +23481,7 @@ module Aws::EC2
|
|
23233
23481
|
# resp.snapshots[0].volume_id #=> String
|
23234
23482
|
# resp.snapshots[0].volume_size #=> Integer
|
23235
23483
|
# resp.snapshots[0].owner_alias #=> String
|
23484
|
+
# resp.snapshots[0].outpost_arn #=> String
|
23236
23485
|
# resp.snapshots[0].tags #=> Array
|
23237
23486
|
# resp.snapshots[0].tags[0].key #=> String
|
23238
23487
|
# resp.snapshots[0].tags[0].value #=> String
|
@@ -23634,6 +23883,7 @@ module Aws::EC2
|
|
23634
23883
|
# 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"
|
23635
23884
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
|
23636
23885
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.throughput #=> Integer
|
23886
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.outpost_arn #=> String
|
23637
23887
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
|
23638
23888
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].no_device #=> String
|
23639
23889
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].ebs_optimized #=> Boolean
|
@@ -23990,6 +24240,7 @@ module Aws::EC2
|
|
23990
24240
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
23991
24241
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
23992
24242
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
24243
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
23993
24244
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
23994
24245
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
23995
24246
|
# resp.spot_instance_requests[0].launch_specification.ebs_optimized #=> Boolean
|
@@ -26776,13 +27027,13 @@ module Aws::EC2
|
|
26776
27027
|
|
26777
27028
|
# Describes available services to which you can create a VPC endpoint.
|
26778
27029
|
#
|
26779
|
-
# When the service provider and the consumer have different accounts
|
27030
|
+
# When the service provider and the consumer have different accounts in
|
26780
27031
|
# multiple Availability Zones, and the consumer views the VPC endpoint
|
26781
27032
|
# service information, the response only includes the common
|
26782
27033
|
# Availability Zones. For example, when the service provider account
|
26783
27034
|
# uses `us-east-1a` and `us-east-1c` and the consumer uses `us-east-1a`
|
26784
|
-
# and us-east-
|
26785
|
-
#
|
27035
|
+
# and `us-east-1b`, the response includes the VPC endpoint services in
|
27036
|
+
# the common Availability Zone, `us-east-1a`.
|
26786
27037
|
#
|
26787
27038
|
# @option params [Boolean] :dry_run
|
26788
27039
|
# Checks whether you have the required permissions for the action,
|
@@ -29410,8 +29661,8 @@ module Aws::EC2
|
|
29410
29661
|
# time during the instance lifecycle. This option is supported on
|
29411
29662
|
# instance types that use the Nitro hypervisor.
|
29412
29663
|
#
|
29413
|
-
# For more information, see [Instance
|
29414
|
-
#
|
29664
|
+
# For more information, see [Instance console output][1] in the *Amazon
|
29665
|
+
# EC2 User Guide*.
|
29415
29666
|
#
|
29416
29667
|
#
|
29417
29668
|
#
|
@@ -29525,7 +29776,7 @@ module Aws::EC2
|
|
29525
29776
|
# performance instance family.
|
29526
29777
|
#
|
29527
29778
|
# For more information, see [Burstable performance instances][1] in the
|
29528
|
-
# *Amazon
|
29779
|
+
# *Amazon EC2 User Guide*.
|
29529
29780
|
#
|
29530
29781
|
#
|
29531
29782
|
#
|
@@ -30057,8 +30308,8 @@ module Aws::EC2
|
|
30057
30308
|
# The Windows password is generated at boot by the `EC2Config` service
|
30058
30309
|
# or `EC2Launch` scripts (Windows Server 2016 and later). This usually
|
30059
30310
|
# only happens the first time an instance is launched. For more
|
30060
|
-
# information, see [EC2Config][1] and [EC2Launch][2] in the Amazon
|
30061
|
-
#
|
30311
|
+
# information, see [EC2Config][1] and [EC2Launch][2] in the *Amazon EC2
|
30312
|
+
# User Guide*.
|
30062
30313
|
#
|
30063
30314
|
# For the `EC2Config` service, the password is not generated for
|
30064
30315
|
# rebundled AMIs unless `Ec2SetPassword` is enabled before bundling.
|
@@ -31282,6 +31533,55 @@ module Aws::EC2
|
|
31282
31533
|
req.send_request(options)
|
31283
31534
|
end
|
31284
31535
|
|
31536
|
+
# Modifies an attribute of the specified Elastic IP address. For
|
31537
|
+
# requirements, see [Using reverse DNS for email applications][1].
|
31538
|
+
#
|
31539
|
+
#
|
31540
|
+
#
|
31541
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS
|
31542
|
+
#
|
31543
|
+
# @option params [required, String] :allocation_id
|
31544
|
+
# \[EC2-VPC\] The allocation ID.
|
31545
|
+
#
|
31546
|
+
# @option params [String] :domain_name
|
31547
|
+
# The domain name to modify for the IP address.
|
31548
|
+
#
|
31549
|
+
# @option params [Boolean] :dry_run
|
31550
|
+
# Checks whether you have the required permissions for the action,
|
31551
|
+
# without actually making the request, and provides an error response.
|
31552
|
+
# If you have the required permissions, the error response is
|
31553
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
31554
|
+
#
|
31555
|
+
# @return [Types::ModifyAddressAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
31556
|
+
#
|
31557
|
+
# * {Types::ModifyAddressAttributeResult#address #address} => Types::AddressAttribute
|
31558
|
+
#
|
31559
|
+
# @example Request syntax with placeholder values
|
31560
|
+
#
|
31561
|
+
# resp = client.modify_address_attribute({
|
31562
|
+
# allocation_id: "AllocationId", # required
|
31563
|
+
# domain_name: "String",
|
31564
|
+
# dry_run: false,
|
31565
|
+
# })
|
31566
|
+
#
|
31567
|
+
# @example Response structure
|
31568
|
+
#
|
31569
|
+
# resp.address.public_ip #=> String
|
31570
|
+
# resp.address.allocation_id #=> String
|
31571
|
+
# resp.address.ptr_record #=> String
|
31572
|
+
# resp.address.ptr_record_update.value #=> String
|
31573
|
+
# resp.address.ptr_record_update.status #=> String
|
31574
|
+
# resp.address.ptr_record_update.reason #=> String
|
31575
|
+
#
|
31576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttribute AWS API Documentation
|
31577
|
+
#
|
31578
|
+
# @overload modify_address_attribute(params = {})
|
31579
|
+
# @param [Hash] params ({})
|
31580
|
+
def modify_address_attribute(params = {}, options = {})
|
31581
|
+
req = build_request(:modify_address_attribute, params)
|
31582
|
+
req.send_request(options)
|
31583
|
+
end
|
31584
|
+
|
31285
31585
|
# Changes the opt-in status of the Local Zone and Wavelength Zone group
|
31286
31586
|
# for your account.
|
31287
31587
|
#
|
@@ -31377,6 +31677,10 @@ module Aws::EC2
|
|
31377
31677
|
# specified date and time. You must provide an `EndDate` value if
|
31378
31678
|
# `EndDateType` is `limited`.
|
31379
31679
|
#
|
31680
|
+
# @option params [Boolean] :accept
|
31681
|
+
# Reserved. Capacity Reservations you have created are accepted by
|
31682
|
+
# default.
|
31683
|
+
#
|
31380
31684
|
# @option params [Boolean] :dry_run
|
31381
31685
|
# Checks whether you have the required permissions for the action,
|
31382
31686
|
# without actually making the request, and provides an error response.
|
@@ -31394,6 +31698,7 @@ module Aws::EC2
|
|
31394
31698
|
# instance_count: 1,
|
31395
31699
|
# end_date: Time.now,
|
31396
31700
|
# end_date_type: "unlimited", # accepts unlimited, limited
|
31701
|
+
# accept: false,
|
31397
31702
|
# dry_run: false,
|
31398
31703
|
# })
|
31399
31704
|
#
|
@@ -31541,7 +31846,7 @@ module Aws::EC2
|
|
31541
31846
|
# for updates.
|
31542
31847
|
#
|
31543
31848
|
# For more information, see [Burstable performance instances][1] in the
|
31544
|
-
# *Amazon
|
31849
|
+
# *Amazon EC2 User Guide*.
|
31545
31850
|
#
|
31546
31851
|
#
|
31547
31852
|
#
|
@@ -31889,8 +32194,8 @@ module Aws::EC2
|
|
31889
32194
|
#
|
31890
32195
|
# @option params [String] :host_recovery
|
31891
32196
|
# Indicates whether to enable or disable host recovery for the Dedicated
|
31892
|
-
# Host. For more information, see [ Host
|
31893
|
-
#
|
32197
|
+
# Host. For more information, see [ Host recovery][1] in the *Amazon EC2
|
32198
|
+
# User Guide*.
|
31894
32199
|
#
|
31895
32200
|
#
|
31896
32201
|
#
|
@@ -32238,7 +32543,7 @@ module Aws::EC2
|
|
32238
32543
|
#
|
32239
32544
|
# To modify some attributes, the instance must be stopped. For more
|
32240
32545
|
# information, see [Modifying attributes of a stopped instance][1] in
|
32241
|
-
# the *Amazon
|
32546
|
+
# the *Amazon EC2 User Guide*.
|
32242
32547
|
#
|
32243
32548
|
#
|
32244
32549
|
#
|
@@ -32262,7 +32567,7 @@ module Aws::EC2
|
|
32262
32567
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
32263
32568
|
# must add them when you launch the instance. For more information, see
|
32264
32569
|
# [Updating the block device mapping when launching an instance][1] in
|
32265
|
-
# the *Amazon
|
32570
|
+
# the *Amazon EC2 User Guide*.
|
32266
32571
|
#
|
32267
32572
|
#
|
32268
32573
|
#
|
@@ -32308,8 +32613,9 @@ module Aws::EC2
|
|
32308
32613
|
#
|
32309
32614
|
# @option params [Types::AttributeValue] :instance_type
|
32310
32615
|
# Changes the instance type to the specified value. For more
|
32311
|
-
# information, see [Instance types][1]
|
32312
|
-
# valid, the error returned is
|
32616
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
32617
|
+
# If the instance type is not valid, the error returned is
|
32618
|
+
# `InvalidInstanceAttributeValue`.
|
32313
32619
|
#
|
32314
32620
|
#
|
32315
32621
|
#
|
@@ -32490,7 +32796,7 @@ module Aws::EC2
|
|
32490
32796
|
# `unlimited`.
|
32491
32797
|
#
|
32492
32798
|
# For more information, see [Burstable performance instances][1] in the
|
32493
|
-
# *Amazon
|
32799
|
+
# *Amazon EC2 User Guide*.
|
32494
32800
|
#
|
32495
32801
|
#
|
32496
32802
|
#
|
@@ -32605,7 +32911,8 @@ module Aws::EC2
|
|
32605
32911
|
# “pending”. After the parameter modifications are successfully applied
|
32606
32912
|
# to the instance, the state of the modifications changes from “pending”
|
32607
32913
|
# to “applied” in subsequent describe-instances API calls. For more
|
32608
|
-
# information, see [Instance metadata and user data][1]
|
32914
|
+
# information, see [Instance metadata and user data][1] in the *Amazon
|
32915
|
+
# EC2 User Guide*.
|
32609
32916
|
#
|
32610
32917
|
#
|
32611
32918
|
#
|
@@ -33059,7 +33366,7 @@ module Aws::EC2
|
|
33059
33366
|
# Availability Zone, network platform, and instance type.
|
33060
33367
|
#
|
33061
33368
|
# For more information, see [Modifying Reserved Instances][1] in the
|
33062
|
-
# Amazon
|
33369
|
+
# *Amazon EC2 User Guide*.
|
33063
33370
|
#
|
33064
33371
|
#
|
33065
33372
|
#
|
@@ -34273,6 +34580,8 @@ module Aws::EC2
|
|
34273
34580
|
# (Interface endpoint) Indicates whether a private hosted zone is
|
34274
34581
|
# associated with the VPC.
|
34275
34582
|
#
|
34583
|
+
# Private DNS is not supported for Amazon S3 interface endpoints.
|
34584
|
+
#
|
34276
34585
|
# @return [Types::ModifyVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
34277
34586
|
#
|
34278
34587
|
# * {Types::ModifyVpcEndpointResult#return #return} => Boolean
|
@@ -35146,8 +35455,7 @@ module Aws::EC2
|
|
35146
35455
|
|
35147
35456
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
35148
35457
|
# monitoring is enabled. For more information, see [Monitoring your
|
35149
|
-
# instances and volumes][1] in the *Amazon
|
35150
|
-
# Guide*.
|
35458
|
+
# instances and volumes][1] in the *Amazon EC2 User Guide*.
|
35151
35459
|
#
|
35152
35460
|
# To disable detailed monitoring, see .
|
35153
35461
|
#
|
@@ -35352,7 +35660,7 @@ module Aws::EC2
|
|
35352
35660
|
#
|
35353
35661
|
# @option params [String] :client_token
|
35354
35662
|
# Unique, case-sensitive identifier that you provide to ensure the
|
35355
|
-
# idempotency of the request. For more information, see [
|
35663
|
+
# idempotency of the request. For more information, see [Ensuring
|
35356
35664
|
# Idempotency][1].
|
35357
35665
|
#
|
35358
35666
|
#
|
@@ -35452,8 +35760,7 @@ module Aws::EC2
|
|
35452
35760
|
# current time.
|
35453
35761
|
#
|
35454
35762
|
# For more information, see [Reserved Instances][1] and [Reserved
|
35455
|
-
# Instance Marketplace][2] in the *Amazon
|
35456
|
-
# Guide*.
|
35763
|
+
# Instance Marketplace][2] in the *Amazon EC2 User Guide*.
|
35457
35764
|
#
|
35458
35765
|
#
|
35459
35766
|
#
|
@@ -35646,8 +35953,7 @@ module Aws::EC2
|
|
35646
35953
|
# EC2 performs a hard reboot.
|
35647
35954
|
#
|
35648
35955
|
# For more information about troubleshooting, see [Getting console
|
35649
|
-
# output and rebooting instances][1] in the *Amazon
|
35650
|
-
# Cloud User Guide*.
|
35956
|
+
# output and rebooting instances][1] in the *Amazon EC2 User Guide*.
|
35651
35957
|
#
|
35652
35958
|
#
|
35653
35959
|
#
|
@@ -35768,6 +36074,17 @@ module Aws::EC2
|
|
35768
36074
|
# @option params [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
35769
36075
|
# The block device mapping entries.
|
35770
36076
|
#
|
36077
|
+
# If you create an AMI on an Outpost, then all backing snapshots must be
|
36078
|
+
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
36079
|
+
# Outpost that include local snapshots can be used to launch instances
|
36080
|
+
# on the same Outpost only. For more information, [ Amazon EBS local
|
36081
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
36082
|
+
# Guide*.
|
36083
|
+
#
|
36084
|
+
#
|
36085
|
+
#
|
36086
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
36087
|
+
#
|
35771
36088
|
# @option params [String] :description
|
35772
36089
|
# A description for your AMI.
|
35773
36090
|
#
|
@@ -35841,6 +36158,7 @@ module Aws::EC2
|
|
35841
36158
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
35842
36159
|
# kms_key_id: "String",
|
35843
36160
|
# throughput: 1,
|
36161
|
+
# outpost_arn: "String",
|
35844
36162
|
# encrypted: false,
|
35845
36163
|
# },
|
35846
36164
|
# no_device: "String",
|
@@ -37177,6 +37495,7 @@ module Aws::EC2
|
|
37177
37495
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
37178
37496
|
# kms_key_id: "String",
|
37179
37497
|
# throughput: 1,
|
37498
|
+
# outpost_arn: "String",
|
37180
37499
|
# encrypted: false,
|
37181
37500
|
# },
|
37182
37501
|
# no_device: "String",
|
@@ -37525,6 +37844,7 @@ module Aws::EC2
|
|
37525
37844
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
37526
37845
|
# kms_key_id: "String",
|
37527
37846
|
# throughput: 1,
|
37847
|
+
# outpost_arn: "String",
|
37528
37848
|
# encrypted: false,
|
37529
37849
|
# },
|
37530
37850
|
# no_device: "String",
|
@@ -37623,6 +37943,7 @@ module Aws::EC2
|
|
37623
37943
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
|
37624
37944
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
|
37625
37945
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
|
37946
|
+
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
|
37626
37947
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
|
37627
37948
|
# resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].no_device #=> String
|
37628
37949
|
# resp.spot_instance_requests[0].launch_specification.ebs_optimized #=> Boolean
|
@@ -37683,6 +38004,55 @@ module Aws::EC2
|
|
37683
38004
|
req.send_request(options)
|
37684
38005
|
end
|
37685
38006
|
|
38007
|
+
# Resets the attribute of the specified IP address. For requirements,
|
38008
|
+
# see [Using reverse DNS for email applications][1].
|
38009
|
+
#
|
38010
|
+
#
|
38011
|
+
#
|
38012
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#Using_Elastic_Addressing_Reverse_DNS
|
38013
|
+
#
|
38014
|
+
# @option params [required, String] :allocation_id
|
38015
|
+
# \[EC2-VPC\] The allocation ID.
|
38016
|
+
#
|
38017
|
+
# @option params [required, String] :attribute
|
38018
|
+
# The attribute of the IP address.
|
38019
|
+
#
|
38020
|
+
# @option params [Boolean] :dry_run
|
38021
|
+
# Checks whether you have the required permissions for the action,
|
38022
|
+
# without actually making the request, and provides an error response.
|
38023
|
+
# If you have the required permissions, the error response is
|
38024
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
38025
|
+
#
|
38026
|
+
# @return [Types::ResetAddressAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
38027
|
+
#
|
38028
|
+
# * {Types::ResetAddressAttributeResult#address #address} => Types::AddressAttribute
|
38029
|
+
#
|
38030
|
+
# @example Request syntax with placeholder values
|
38031
|
+
#
|
38032
|
+
# resp = client.reset_address_attribute({
|
38033
|
+
# allocation_id: "AllocationId", # required
|
38034
|
+
# attribute: "domain-name", # required, accepts domain-name
|
38035
|
+
# dry_run: false,
|
38036
|
+
# })
|
38037
|
+
#
|
38038
|
+
# @example Response structure
|
38039
|
+
#
|
38040
|
+
# resp.address.public_ip #=> String
|
38041
|
+
# resp.address.allocation_id #=> String
|
38042
|
+
# resp.address.ptr_record #=> String
|
38043
|
+
# resp.address.ptr_record_update.value #=> String
|
38044
|
+
# resp.address.ptr_record_update.status #=> String
|
38045
|
+
# resp.address.ptr_record_update.reason #=> String
|
38046
|
+
#
|
38047
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttribute AWS API Documentation
|
38048
|
+
#
|
38049
|
+
# @overload reset_address_attribute(params = {})
|
38050
|
+
# @param [Hash] params ({})
|
38051
|
+
def reset_address_attribute(params = {}, options = {})
|
38052
|
+
req = build_request(:reset_address_attribute, params)
|
38053
|
+
req.send_request(options)
|
38054
|
+
end
|
38055
|
+
|
37686
38056
|
# Resets the default customer master key (CMK) for EBS encryption for
|
37687
38057
|
# your account in this Region to the AWS managed CMK for EBS.
|
37688
38058
|
#
|
@@ -37825,8 +38195,8 @@ module Aws::EC2
|
|
37825
38195
|
# The `sourceDestCheck` attribute controls whether source/destination
|
37826
38196
|
# checking is enabled. The default value is `true`, which means checking
|
37827
38197
|
# is enabled. This value must be `false` for a NAT instance to perform
|
37828
|
-
# NAT. For more information, see [NAT Instances][1] in the *Amazon
|
37829
|
-
#
|
38198
|
+
# NAT. For more information, see [NAT Instances][1] in the *Amazon VPC
|
38199
|
+
# User Guide*.
|
37830
38200
|
#
|
37831
38201
|
#
|
37832
38202
|
#
|
@@ -38498,12 +38868,10 @@ module Aws::EC2
|
|
38498
38868
|
# Linux instances have access to the public key of the key pair at boot.
|
38499
38869
|
# You can use this key to provide secure access to the instance. Amazon
|
38500
38870
|
# EC2 public images use this feature to provide secure access without
|
38501
|
-
# passwords. For more information, see [Key pairs][6]
|
38502
|
-
# Elastic Compute Cloud User Guide*.
|
38871
|
+
# passwords. For more information, see [Key pairs][6].
|
38503
38872
|
#
|
38504
38873
|
# For troubleshooting, see [What to do if an instance immediately
|
38505
|
-
# terminates][7], and [Troubleshooting connecting to your instance][8]
|
38506
|
-
# in the *Amazon Elastic Compute Cloud User Guide*.
|
38874
|
+
# terminates][7], and [Troubleshooting connecting to your instance][8].
|
38507
38875
|
#
|
38508
38876
|
#
|
38509
38877
|
#
|
@@ -38525,7 +38893,7 @@ module Aws::EC2
|
|
38525
38893
|
#
|
38526
38894
|
# @option params [String] :instance_type
|
38527
38895
|
# The instance type. For more information, see [Instance types][1] in
|
38528
|
-
# the *Amazon
|
38896
|
+
# the *Amazon EC2 User Guide*.
|
38529
38897
|
#
|
38530
38898
|
# Default: `m1.small`
|
38531
38899
|
#
|
@@ -38558,8 +38926,8 @@ module Aws::EC2
|
|
38558
38926
|
# The ID of the kernel.
|
38559
38927
|
#
|
38560
38928
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
38561
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
38562
|
-
#
|
38929
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
38930
|
+
# Guide*.
|
38563
38931
|
#
|
38564
38932
|
#
|
38565
38933
|
#
|
@@ -38620,8 +38988,8 @@ module Aws::EC2
|
|
38620
38988
|
# go to the AWS Resource Center and search for the kernel ID.
|
38621
38989
|
#
|
38622
38990
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
38623
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
38624
|
-
#
|
38991
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
38992
|
+
# Guide*.
|
38625
38993
|
#
|
38626
38994
|
#
|
38627
38995
|
#
|
@@ -38748,8 +39116,7 @@ module Aws::EC2
|
|
38748
39116
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
38749
39117
|
# resource that you can attach to your Windows instance to accelerate
|
38750
39118
|
# the graphics performance of your applications. For more information,
|
38751
|
-
# see [
|
38752
|
-
# User Guide*.
|
39119
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
38753
39120
|
#
|
38754
39121
|
#
|
38755
39122
|
#
|
@@ -38792,7 +39159,7 @@ module Aws::EC2
|
|
38792
39159
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
38793
39160
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
38794
39161
|
# information, see [Burstable performance instances][2] in the *Amazon
|
38795
|
-
#
|
39162
|
+
# EC2 User Guide*.
|
38796
39163
|
#
|
38797
39164
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
38798
39165
|
#
|
@@ -38803,8 +39170,7 @@ module Aws::EC2
|
|
38803
39170
|
#
|
38804
39171
|
# @option params [Types::CpuOptionsRequest] :cpu_options
|
38805
39172
|
# The CPU options for the instance. For more information, see
|
38806
|
-
# [Optimizing CPU options][1] in the *Amazon
|
38807
|
-
# Guide*.
|
39173
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
38808
39174
|
#
|
38809
39175
|
#
|
38810
39176
|
#
|
@@ -38819,8 +39185,8 @@ module Aws::EC2
|
|
38819
39185
|
#
|
38820
39186
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
38821
39187
|
# Indicates whether an instance is enabled for hibernation. For more
|
38822
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
38823
|
-
#
|
39188
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
39189
|
+
# Guide*.
|
38824
39190
|
#
|
38825
39191
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
38826
39192
|
# instance.
|
@@ -38916,6 +39282,7 @@ module Aws::EC2
|
|
38916
39282
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
38917
39283
|
# kms_key_id: "String",
|
38918
39284
|
# throughput: 1,
|
39285
|
+
# outpost_arn: "String",
|
38919
39286
|
# encrypted: false,
|
38920
39287
|
# },
|
38921
39288
|
# no_device: "String",
|
@@ -39206,7 +39573,7 @@ module Aws::EC2
|
|
39206
39573
|
# it as needed. If you terminate a Scheduled Instance before the current
|
39207
39574
|
# scheduled time period ends, you can launch it again after a few
|
39208
39575
|
# minutes. For more information, see [Scheduled Instances][1] in the
|
39209
|
-
# *Amazon
|
39576
|
+
# *Amazon EC2 User Guide*.
|
39210
39577
|
#
|
39211
39578
|
#
|
39212
39579
|
#
|
@@ -39723,8 +40090,8 @@ module Aws::EC2
|
|
39723
40090
|
# Performing this operation on an instance that uses an instance store
|
39724
40091
|
# as its root device returns an error.
|
39725
40092
|
#
|
39726
|
-
# For more information, see [Stopping instances][1] in the *Amazon
|
39727
|
-
#
|
40093
|
+
# For more information, see [Stopping instances][1] in the *Amazon EC2
|
40094
|
+
# User Guide*.
|
39728
40095
|
#
|
39729
40096
|
#
|
39730
40097
|
#
|
@@ -40155,7 +40522,7 @@ module Aws::EC2
|
|
40155
40522
|
# You can use the Stop action to hibernate an instance if the instance
|
40156
40523
|
# is [enabled for hibernation][1] and it meets the [hibernation
|
40157
40524
|
# prerequisites][2]. For more information, see [Hibernate your
|
40158
|
-
# instance][3] in the *Amazon
|
40525
|
+
# instance][3] in the *Amazon EC2 User Guide*.
|
40159
40526
|
#
|
40160
40527
|
# We don't charge usage for a stopped instance, or data transfer fees;
|
40161
40528
|
# however, your root partition Amazon EBS volume remains and continues
|
@@ -40172,7 +40539,7 @@ module Aws::EC2
|
|
40172
40539
|
# can't use the Stop action to hibernate Spot Instances, but you can
|
40173
40540
|
# specify that Amazon EC2 should hibernate Spot Instances when they are
|
40174
40541
|
# interrupted. For more information, see [Hibernating interrupted Spot
|
40175
|
-
# Instances][4] in the *Amazon
|
40542
|
+
# Instances][4] in the *Amazon EC2 User Guide*.
|
40176
40543
|
#
|
40177
40544
|
# When you stop or hibernate an instance, we shut it down. You can
|
40178
40545
|
# restart your instance at any time. Before stopping or hibernating an
|
@@ -40188,13 +40555,13 @@ module Aws::EC2
|
|
40188
40555
|
# devices attached during the instance launch are automatically deleted.
|
40189
40556
|
# For more information about the differences between rebooting,
|
40190
40557
|
# stopping, hibernating, and terminating instances, see [Instance
|
40191
|
-
# lifecycle][5] in the *Amazon
|
40558
|
+
# lifecycle][5] in the *Amazon EC2 User Guide*.
|
40192
40559
|
#
|
40193
40560
|
# When you stop an instance, we attempt to shut it down forcibly after a
|
40194
40561
|
# short while. If your instance appears stuck in the stopping state
|
40195
40562
|
# after a period of time, there may be an issue with the underlying host
|
40196
40563
|
# computer. For more information, see [Troubleshooting stopping your
|
40197
|
-
# instance][6] in the *Amazon
|
40564
|
+
# instance][6] in the *Amazon EC2 User Guide*.
|
40198
40565
|
#
|
40199
40566
|
#
|
40200
40567
|
#
|
@@ -40212,7 +40579,7 @@ module Aws::EC2
|
|
40212
40579
|
# Hibernates the instance if the instance was enabled for hibernation at
|
40213
40580
|
# launch. If the instance cannot hibernate successfully, a normal
|
40214
40581
|
# shutdown occurs. For more information, see [Hibernate your
|
40215
|
-
# instance][1] in the *Amazon
|
40582
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
40216
40583
|
#
|
40217
40584
|
# Default: `false`
|
40218
40585
|
#
|
@@ -40371,12 +40738,10 @@ module Aws::EC2
|
|
40371
40738
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
40372
40739
|
# set to `true` are automatically deleted. For more information about
|
40373
40740
|
# the differences between stopping and terminating instances, see
|
40374
|
-
# [Instance lifecycle][1] in the *Amazon
|
40375
|
-
# Guide*.
|
40741
|
+
# [Instance lifecycle][1] in the *Amazon EC2 User Guide*.
|
40376
40742
|
#
|
40377
40743
|
# For more information about troubleshooting, see [Troubleshooting
|
40378
|
-
# terminating your instance][2] in the *Amazon
|
40379
|
-
# User Guide*.
|
40744
|
+
# terminating your instance][2] in the *Amazon EC2 User Guide*.
|
40380
40745
|
#
|
40381
40746
|
#
|
40382
40747
|
#
|
@@ -40530,7 +40895,7 @@ module Aws::EC2
|
|
40530
40895
|
|
40531
40896
|
# Disables detailed monitoring for a running instance. For more
|
40532
40897
|
# information, see [Monitoring your instances and volumes][1] in the
|
40533
|
-
# *Amazon
|
40898
|
+
# *Amazon EC2 User Guide*.
|
40534
40899
|
#
|
40535
40900
|
#
|
40536
40901
|
#
|
@@ -40857,7 +41222,7 @@ module Aws::EC2
|
|
40857
41222
|
params: params,
|
40858
41223
|
config: config)
|
40859
41224
|
context[:gem_name] = 'aws-sdk-ec2'
|
40860
|
-
context[:gem_version] = '1.
|
41225
|
+
context[:gem_version] = '1.224.0'
|
40861
41226
|
Seahorse::Client::Request.new(handlers, context)
|
40862
41227
|
end
|
40863
41228
|
|