aws-sdk-ec2 1.220.0 → 1.225.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/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
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -123,6 +123,18 @@ module Aws::EC2
|
|
123
123
|
data[:owner_alias]
|
124
124
|
end
|
125
125
|
|
126
|
+
# The ARN of the AWS Outpost on which the snapshot is stored. For more
|
127
|
+
# information, see [EBS Local Snapshot on Outposts][1] in the *Amazon
|
128
|
+
# Elastic Compute Cloud User Guide*.
|
129
|
+
#
|
130
|
+
#
|
131
|
+
#
|
132
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
|
133
|
+
# @return [String]
|
134
|
+
def outpost_arn
|
135
|
+
data[:outpost_arn]
|
136
|
+
end
|
137
|
+
|
126
138
|
# Any tags assigned to the snapshot.
|
127
139
|
# @return [Array<Types::Tag>]
|
128
140
|
def tags
|
@@ -285,6 +297,7 @@ module Aws::EC2
|
|
285
297
|
#
|
286
298
|
# snapshot.copy({
|
287
299
|
# description: "String",
|
300
|
+
# destination_outpost_arn: "String",
|
288
301
|
# destination_region: "String",
|
289
302
|
# encrypted: false,
|
290
303
|
# kms_key_id: "KmsKeyId",
|
@@ -306,6 +319,19 @@ module Aws::EC2
|
|
306
319
|
# @param [Hash] options ({})
|
307
320
|
# @option options [String] :description
|
308
321
|
# A description for the EBS snapshot.
|
322
|
+
# @option options [String] :destination_outpost_arn
|
323
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
324
|
+
# snapshot. Only specify this parameter when copying a snapshot from an
|
325
|
+
# AWS Region to an Outpost. The snapshot must be in the Region for the
|
326
|
+
# destination Outpost. You cannot copy a snapshot from an Outpost to a
|
327
|
+
# Region, from one Outpost to another, or within the same Outpost.
|
328
|
+
#
|
329
|
+
# For more information, see [ Copying snapshots from an AWS Region to an
|
330
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
331
|
+
#
|
332
|
+
#
|
333
|
+
#
|
334
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
|
309
335
|
# @option options [String] :destination_region
|
310
336
|
# The destination Region to use in the `PresignedUrl` parameter of a
|
311
337
|
# snapshot copy operation. This parameter is only valid for specifying
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -287,6 +287,7 @@ module Aws::EC2
|
|
287
287
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
288
288
|
# kms_key_id: "String",
|
289
289
|
# throughput: 1,
|
290
|
+
# outpost_arn: "String",
|
290
291
|
# encrypted: false,
|
291
292
|
# },
|
292
293
|
# no_device: "String",
|
@@ -436,7 +437,7 @@ module Aws::EC2
|
|
436
437
|
# must be specified here or in a launch template.
|
437
438
|
# @option options [String] :instance_type
|
438
439
|
# The instance type. For more information, see [Instance types][1] in
|
439
|
-
# the *Amazon
|
440
|
+
# the *Amazon EC2 User Guide*.
|
440
441
|
#
|
441
442
|
# Default: `m1.small`
|
442
443
|
#
|
@@ -466,8 +467,8 @@ module Aws::EC2
|
|
466
467
|
# The ID of the kernel.
|
467
468
|
#
|
468
469
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
469
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
470
|
-
#
|
470
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
471
|
+
# Guide*.
|
471
472
|
#
|
472
473
|
#
|
473
474
|
#
|
@@ -522,8 +523,8 @@ module Aws::EC2
|
|
522
523
|
# go to the AWS Resource Center and search for the kernel ID.
|
523
524
|
#
|
524
525
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
525
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
526
|
-
#
|
526
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
527
|
+
# Guide*.
|
527
528
|
#
|
528
529
|
#
|
529
530
|
#
|
@@ -601,7 +602,7 @@ module Aws::EC2
|
|
601
602
|
#
|
602
603
|
# Default: `false`
|
603
604
|
# @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
|
604
|
-
# The IAM instance profile.
|
605
|
+
# The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
605
606
|
# @option options [String] :instance_initiated_shutdown_behavior
|
606
607
|
# Indicates whether an instance stops or terminates when you initiate
|
607
608
|
# shutdown from the instance (using the operating system command for
|
@@ -628,8 +629,7 @@ module Aws::EC2
|
|
628
629
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
629
630
|
# resource that you can attach to your Windows instance to accelerate
|
630
631
|
# the graphics performance of your applications. For more information,
|
631
|
-
# see [
|
632
|
-
# User Guide*.
|
632
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
633
633
|
#
|
634
634
|
#
|
635
635
|
#
|
@@ -667,7 +667,7 @@ module Aws::EC2
|
|
667
667
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
668
668
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
669
669
|
# information, see [Burstable performance instances][2] in the *Amazon
|
670
|
-
#
|
670
|
+
# EC2 User Guide*.
|
671
671
|
#
|
672
672
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
673
673
|
#
|
@@ -677,8 +677,7 @@ module Aws::EC2
|
|
677
677
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
678
678
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
679
679
|
# The CPU options for the instance. For more information, see
|
680
|
-
# [Optimizing CPU options][1] in the *Amazon
|
681
|
-
# Guide*.
|
680
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
682
681
|
#
|
683
682
|
#
|
684
683
|
#
|
@@ -691,8 +690,8 @@ module Aws::EC2
|
|
691
690
|
# platform, Availability Zone).
|
692
691
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
693
692
|
# Indicates whether an instance is enabled for hibernation. For more
|
694
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
695
|
-
#
|
693
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
694
|
+
# Guide*.
|
696
695
|
#
|
697
696
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
698
697
|
# instance.
|
@@ -1407,9 +1406,8 @@ module Aws::EC2
|
|
1407
1406
|
# * `private-dns-name` - The private DNS name of the network interface
|
1408
1407
|
# (IPv4).
|
1409
1408
|
#
|
1410
|
-
# * `requester-id` - The
|
1411
|
-
#
|
1412
|
-
# so on).
|
1409
|
+
# * `requester-id` - The alias or AWS account ID of the principal or
|
1410
|
+
# service that created the network interface.
|
1413
1411
|
#
|
1414
1412
|
# * `requester-managed` - Indicates whether the network interface is
|
1415
1413
|
# being managed by an AWS service (for example, AWS Management
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -467,6 +467,35 @@ module Aws::EC2
|
|
467
467
|
include Aws::Structure
|
468
468
|
end
|
469
469
|
|
470
|
+
# The attributes associated with an Elastic IP address.
|
471
|
+
#
|
472
|
+
# @!attribute [rw] public_ip
|
473
|
+
# The public IP address.
|
474
|
+
# @return [String]
|
475
|
+
#
|
476
|
+
# @!attribute [rw] allocation_id
|
477
|
+
# \[EC2-VPC\] The allocation ID.
|
478
|
+
# @return [String]
|
479
|
+
#
|
480
|
+
# @!attribute [rw] ptr_record
|
481
|
+
# The pointer (PTR) record for the IP address.
|
482
|
+
# @return [String]
|
483
|
+
#
|
484
|
+
# @!attribute [rw] ptr_record_update
|
485
|
+
# The updated PTR record for the IP address.
|
486
|
+
# @return [Types::PtrUpdateStatus]
|
487
|
+
#
|
488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AddressAttribute AWS API Documentation
|
489
|
+
#
|
490
|
+
class AddressAttribute < Struct.new(
|
491
|
+
:public_ip,
|
492
|
+
:allocation_id,
|
493
|
+
:ptr_record,
|
494
|
+
:ptr_record_update)
|
495
|
+
SENSITIVE = []
|
496
|
+
include Aws::Structure
|
497
|
+
end
|
498
|
+
|
470
499
|
# @note When making an API call, you may pass AdvertiseByoipCidrRequest
|
471
500
|
# data as a hash:
|
472
501
|
#
|
@@ -685,8 +714,8 @@ module Aws::EC2
|
|
685
714
|
# Indicates whether the host accepts any untargeted instance launches
|
686
715
|
# that match its instance type configuration, or if it only accepts
|
687
716
|
# Host tenancy instance launches that specify its unique host ID. For
|
688
|
-
# more information, see [ Understanding
|
689
|
-
#
|
717
|
+
# more information, see [ Understanding auto-placement and
|
718
|
+
# affinity][1] in the *Amazon EC2 User Guide*.
|
690
719
|
#
|
691
720
|
# Default: `on`
|
692
721
|
#
|
@@ -701,7 +730,7 @@ module Aws::EC2
|
|
701
730
|
#
|
702
731
|
# @!attribute [rw] client_token
|
703
732
|
# Unique, case-sensitive identifier that you provide to ensure the
|
704
|
-
# idempotency of the request. For more information, see [
|
733
|
+
# idempotency of the request. For more information, see [Ensuring
|
705
734
|
# Idempotency][1].
|
706
735
|
#
|
707
736
|
#
|
@@ -743,8 +772,7 @@ module Aws::EC2
|
|
743
772
|
# @!attribute [rw] host_recovery
|
744
773
|
# Indicates whether to enable or disable host recovery for the
|
745
774
|
# Dedicated Host. Host recovery is disabled by default. For more
|
746
|
-
# information, see [ Host
|
747
|
-
# Cloud User Guide*.
|
775
|
+
# information, see [ Host recovery][1] in the *Amazon EC2 User Guide*.
|
748
776
|
#
|
749
777
|
# Default: `off`
|
750
778
|
#
|
@@ -1139,10 +1167,12 @@ module Aws::EC2
|
|
1139
1167
|
# }
|
1140
1168
|
#
|
1141
1169
|
# @!attribute [rw] ipv_6_address_count
|
1142
|
-
# The number of IPv6 addresses to assign to the network
|
1143
|
-
#
|
1144
|
-
#
|
1145
|
-
#
|
1170
|
+
# The number of additional IPv6 addresses to assign to the network
|
1171
|
+
# interface. The specified number of IPv6 addresses are assigned in
|
1172
|
+
# addition to the existing IPv6 addresses that are already assigned to
|
1173
|
+
# the network interface. Amazon EC2 automatically selects the IPv6
|
1174
|
+
# addresses from the subnet range. You can't use this option if
|
1175
|
+
# specifying specific IPv6 addresses.
|
1146
1176
|
# @return [Integer]
|
1147
1177
|
#
|
1148
1178
|
# @!attribute [rw] ipv_6_addresses
|
@@ -1166,7 +1196,9 @@ module Aws::EC2
|
|
1166
1196
|
end
|
1167
1197
|
|
1168
1198
|
# @!attribute [rw] assigned_ipv_6_addresses
|
1169
|
-
# The IPv6 addresses assigned to the network interface.
|
1199
|
+
# The new IPv6 addresses assigned to the network interface. Existing
|
1200
|
+
# IPv6 addresses that were assigned to the network interface before
|
1201
|
+
# the request are not included.
|
1170
1202
|
# @return [Array<String>]
|
1171
1203
|
#
|
1172
1204
|
# @!attribute [rw] network_interface_id
|
@@ -1279,15 +1311,16 @@ module Aws::EC2
|
|
1279
1311
|
# @return [String]
|
1280
1312
|
#
|
1281
1313
|
# @!attribute [rw] instance_id
|
1282
|
-
# The ID of the instance.
|
1283
|
-
# EC2-VPC, you can specify either the instance
|
1284
|
-
# interface ID, but not both.
|
1285
|
-
# instance ID
|
1314
|
+
# The ID of the instance. The instance must have exactly one attached
|
1315
|
+
# network interface. For EC2-VPC, you can specify either the instance
|
1316
|
+
# ID or the network interface ID, but not both. For EC2-Classic, you
|
1317
|
+
# must specify an instance ID and the instance must be in the running
|
1318
|
+
# state.
|
1286
1319
|
# @return [String]
|
1287
1320
|
#
|
1288
1321
|
# @!attribute [rw] public_ip
|
1289
|
-
# The Elastic IP address to associate with the
|
1290
|
-
# required for EC2-Classic.
|
1322
|
+
# \[EC2-Classic\] The Elastic IP address to associate with the
|
1323
|
+
# instance. This is required for EC2-Classic.
|
1291
1324
|
# @return [String]
|
1292
1325
|
#
|
1293
1326
|
# @!attribute [rw] allow_reassociation
|
@@ -1494,7 +1527,7 @@ module Aws::EC2
|
|
1494
1527
|
# @!attribute [rw] certificate_s3_object_key
|
1495
1528
|
# The Amazon S3 object key where the certificate, certificate chain,
|
1496
1529
|
# and encrypted private key bundle are stored. The object key is
|
1497
|
-
# formatted as follows: `certificate_arn
|
1530
|
+
# formatted as follows: `role_arn`/`certificate_arn`.
|
1498
1531
|
# @return [String]
|
1499
1532
|
#
|
1500
1533
|
# @!attribute [rw] encryption_kms_key_id
|
@@ -1852,7 +1885,7 @@ module Aws::EC2
|
|
1852
1885
|
# @!attribute [rw] certificate_s3_object_key
|
1853
1886
|
# The key of the Amazon S3 object ey where the certificate,
|
1854
1887
|
# certificate chain, and encrypted private key bundle is stored. The
|
1855
|
-
# object key is formated as follows: `certificate_arn
|
1888
|
+
# object key is formated as follows: `role_arn`/`certificate_arn`.
|
1856
1889
|
# @return [String]
|
1857
1890
|
#
|
1858
1891
|
# @!attribute [rw] encryption_kms_key_id
|
@@ -2749,6 +2782,7 @@ module Aws::EC2
|
|
2749
2782
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
2750
2783
|
# kms_key_id: "String",
|
2751
2784
|
# throughput: 1,
|
2785
|
+
# outpost_arn: "String",
|
2752
2786
|
# encrypted: false,
|
2753
2787
|
# },
|
2754
2788
|
# no_device: "String",
|
@@ -2782,8 +2816,8 @@ module Aws::EC2
|
|
2782
2816
|
# @return [Types::EbsBlockDevice]
|
2783
2817
|
#
|
2784
2818
|
# @!attribute [rw] no_device
|
2785
|
-
#
|
2786
|
-
#
|
2819
|
+
# To omit the device from the block device mapping, specify an empty
|
2820
|
+
# string.
|
2787
2821
|
# @return [String]
|
2788
2822
|
#
|
2789
2823
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlockDeviceMapping AWS API Documentation
|
@@ -3454,8 +3488,8 @@ module Aws::EC2
|
|
3454
3488
|
# date and time specified in your request. The reserved capacity is
|
3455
3489
|
# no longer available for your use.
|
3456
3490
|
#
|
3457
|
-
# * `cancelled` - The Capacity Reservation was
|
3458
|
-
#
|
3491
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
3492
|
+
# capacity is no longer available for your use.
|
3459
3493
|
#
|
3460
3494
|
# * `pending` - The Capacity Reservation request was successful but
|
3461
3495
|
# the capacity provisioning is still pending.
|
@@ -3466,6 +3500,10 @@ module Aws::EC2
|
|
3466
3500
|
# retained for 60 minutes.
|
3467
3501
|
# @return [String]
|
3468
3502
|
#
|
3503
|
+
# @!attribute [rw] start_date
|
3504
|
+
# The date and time at which the Capacity Reservation was started.
|
3505
|
+
# @return [Time]
|
3506
|
+
#
|
3469
3507
|
# @!attribute [rw] end_date
|
3470
3508
|
# The date and time at which the Capacity Reservation expires. When a
|
3471
3509
|
# Capacity Reservation expires, the reserved capacity is released and
|
@@ -3526,6 +3564,7 @@ module Aws::EC2
|
|
3526
3564
|
:ebs_optimized,
|
3527
3565
|
:ephemeral_storage,
|
3528
3566
|
:state,
|
3567
|
+
:start_date,
|
3529
3568
|
:end_date,
|
3530
3569
|
:end_date_type,
|
3531
3570
|
:instance_match_criteria,
|
@@ -3563,10 +3602,9 @@ module Aws::EC2
|
|
3563
3602
|
# </note>
|
3564
3603
|
#
|
3565
3604
|
# For more information about Capacity Reservations, see [On-Demand
|
3566
|
-
# Capacity Reservations][1] in the *Amazon
|
3567
|
-
#
|
3568
|
-
#
|
3569
|
-
# Compute Cloud User Guide*.
|
3605
|
+
# Capacity Reservations][1] in the *Amazon EC2 User Guide*. For examples
|
3606
|
+
# of using Capacity Reservations in an EC2 Fleet, see [EC2 Fleet example
|
3607
|
+
# configurations][2] in the *Amazon EC2 User Guide*.
|
3570
3608
|
#
|
3571
3609
|
#
|
3572
3610
|
#
|
@@ -3607,10 +3645,9 @@ module Aws::EC2
|
|
3607
3645
|
# </note>
|
3608
3646
|
#
|
3609
3647
|
# For more information about Capacity Reservations, see [On-Demand
|
3610
|
-
# Capacity Reservations][1] in the *Amazon
|
3611
|
-
#
|
3612
|
-
#
|
3613
|
-
# Compute Cloud User Guide*.
|
3648
|
+
# Capacity Reservations][1] in the *Amazon EC2 User Guide*. For examples
|
3649
|
+
# of using Capacity Reservations in an EC2 Fleet, see [EC2 Fleet example
|
3650
|
+
# configurations][2] in the *Amazon EC2 User Guide*.
|
3614
3651
|
#
|
3615
3652
|
#
|
3616
3653
|
#
|
@@ -4935,17 +4972,18 @@ module Aws::EC2
|
|
4935
4972
|
# name: "String", # required
|
4936
4973
|
# source_image_id: "String", # required
|
4937
4974
|
# source_region: "String", # required
|
4975
|
+
# destination_outpost_arn: "String",
|
4938
4976
|
# dry_run: false,
|
4939
4977
|
# }
|
4940
4978
|
#
|
4941
4979
|
# @!attribute [rw] client_token
|
4942
4980
|
# Unique, case-sensitive identifier you provide to ensure idempotency
|
4943
|
-
# of the request. For more information, see [
|
4944
|
-
#
|
4981
|
+
# of the request. For more information, see [Ensuring idempotency][1]
|
4982
|
+
# in the *Amazon EC2 API Reference*.
|
4945
4983
|
#
|
4946
4984
|
#
|
4947
4985
|
#
|
4948
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
4986
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
4949
4987
|
# @return [String]
|
4950
4988
|
#
|
4951
4989
|
# @!attribute [rw] description
|
@@ -5006,6 +5044,21 @@ module Aws::EC2
|
|
5006
5044
|
# The name of the Region that contains the AMI to copy.
|
5007
5045
|
# @return [String]
|
5008
5046
|
#
|
5047
|
+
# @!attribute [rw] destination_outpost_arn
|
5048
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
5049
|
+
# AMI. Only specify this parameter when copying an AMI from an AWS
|
5050
|
+
# Region to an Outpost. The AMI must be in the Region of the
|
5051
|
+
# destination Outpost. You cannot copy an AMI from an Outpost to a
|
5052
|
+
# Region, from one Outpost to another, or within the same Outpost.
|
5053
|
+
#
|
5054
|
+
# For more information, see [ Copying AMIs from an AWS Region to an
|
5055
|
+
# Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
5056
|
+
#
|
5057
|
+
#
|
5058
|
+
#
|
5059
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis
|
5060
|
+
# @return [String]
|
5061
|
+
#
|
5009
5062
|
# @!attribute [rw] dry_run
|
5010
5063
|
# Checks whether you have the required permissions for the action,
|
5011
5064
|
# without actually making the request, and provides an error response.
|
@@ -5023,6 +5076,7 @@ module Aws::EC2
|
|
5023
5076
|
:name,
|
5024
5077
|
:source_image_id,
|
5025
5078
|
:source_region,
|
5079
|
+
:destination_outpost_arn,
|
5026
5080
|
:dry_run)
|
5027
5081
|
SENSITIVE = []
|
5028
5082
|
include Aws::Structure
|
@@ -5047,6 +5101,7 @@ module Aws::EC2
|
|
5047
5101
|
#
|
5048
5102
|
# {
|
5049
5103
|
# description: "String",
|
5104
|
+
# destination_outpost_arn: "String",
|
5050
5105
|
# destination_region: "String",
|
5051
5106
|
# encrypted: false,
|
5052
5107
|
# kms_key_id: "KmsKeyId",
|
@@ -5071,6 +5126,22 @@ module Aws::EC2
|
|
5071
5126
|
# A description for the EBS snapshot.
|
5072
5127
|
# @return [String]
|
5073
5128
|
#
|
5129
|
+
# @!attribute [rw] destination_outpost_arn
|
5130
|
+
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
5131
|
+
# snapshot. Only specify this parameter when copying a snapshot from
|
5132
|
+
# an AWS Region to an Outpost. The snapshot must be in the Region for
|
5133
|
+
# the destination Outpost. You cannot copy a snapshot from an Outpost
|
5134
|
+
# to a Region, from one Outpost to another, or within the same
|
5135
|
+
# Outpost.
|
5136
|
+
#
|
5137
|
+
# For more information, see [ Copying snapshots from an AWS Region to
|
5138
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
5139
|
+
#
|
5140
|
+
#
|
5141
|
+
#
|
5142
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
|
5143
|
+
# @return [String]
|
5144
|
+
#
|
5074
5145
|
# @!attribute [rw] destination_region
|
5075
5146
|
# The destination Region to use in the `PresignedUrl` parameter of a
|
5076
5147
|
# snapshot copy operation. This parameter is only valid for specifying
|
@@ -5167,6 +5238,7 @@ module Aws::EC2
|
|
5167
5238
|
#
|
5168
5239
|
class CopySnapshotRequest < Struct.new(
|
5169
5240
|
:description,
|
5241
|
+
:destination_outpost_arn,
|
5170
5242
|
:destination_region,
|
5171
5243
|
:encrypted,
|
5172
5244
|
:kms_key_id,
|
@@ -5277,7 +5349,7 @@ module Aws::EC2
|
|
5277
5349
|
#
|
5278
5350
|
# @!attribute [rw] client_token
|
5279
5351
|
# Unique, case-sensitive identifier that you provide to ensure the
|
5280
|
-
# idempotency of the request. For more information, see [
|
5352
|
+
# idempotency of the request. For more information, see [Ensure
|
5281
5353
|
# Idempotency][1].
|
5282
5354
|
#
|
5283
5355
|
#
|
@@ -5287,8 +5359,7 @@ module Aws::EC2
|
|
5287
5359
|
#
|
5288
5360
|
# @!attribute [rw] instance_type
|
5289
5361
|
# The instance type for which to reserve capacity. For more
|
5290
|
-
# information, see [Instance
|
5291
|
-
# Cloud User Guide*.
|
5362
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
5292
5363
|
#
|
5293
5364
|
#
|
5294
5365
|
#
|
@@ -6329,7 +6400,7 @@ module Aws::EC2
|
|
6329
6400
|
# @!attribute [rw] type
|
6330
6401
|
# The type of request. The default value is `maintain`.
|
6331
6402
|
#
|
6332
|
-
# * `maintain` - The EC2 Fleet
|
6403
|
+
# * `maintain` - The EC2 Fleet places an asynchronous request for your
|
6333
6404
|
# desired capacity, and continues to maintain your desired Spot
|
6334
6405
|
# capacity by replenishing interrupted Spot Instances.
|
6335
6406
|
#
|
@@ -6343,7 +6414,7 @@ module Aws::EC2
|
|
6343
6414
|
# that could not be launched.
|
6344
6415
|
#
|
6345
6416
|
# For more information, see [EC2 Fleet request types][1] in the
|
6346
|
-
# *Amazon
|
6417
|
+
# *Amazon EC2 User Guide*.
|
6347
6418
|
#
|
6348
6419
|
#
|
6349
6420
|
#
|
@@ -6364,7 +6435,13 @@ module Aws::EC2
|
|
6364
6435
|
# @return [Time]
|
6365
6436
|
#
|
6366
6437
|
# @!attribute [rw] replace_unhealthy_instances
|
6367
|
-
# Indicates whether EC2 Fleet should replace unhealthy
|
6438
|
+
# Indicates whether EC2 Fleet should replace unhealthy Spot Instances.
|
6439
|
+
# Supported only for fleets of type `maintain`. For more information,
|
6440
|
+
# see [EC2 Fleet health checks][1] in the *Amazon EC2 User Guide*.
|
6441
|
+
#
|
6442
|
+
#
|
6443
|
+
#
|
6444
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks
|
6368
6445
|
# @return [Boolean]
|
6369
6446
|
#
|
6370
6447
|
# @!attribute [rw] tag_specifications
|
@@ -6730,6 +6807,7 @@ module Aws::EC2
|
|
6730
6807
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
6731
6808
|
# kms_key_id: "String",
|
6732
6809
|
# throughput: 1,
|
6810
|
+
# outpost_arn: "String",
|
6733
6811
|
# encrypted: false,
|
6734
6812
|
# },
|
6735
6813
|
# no_device: "String",
|
@@ -6869,7 +6947,7 @@ module Aws::EC2
|
|
6869
6947
|
# @return [String]
|
6870
6948
|
#
|
6871
6949
|
# @!attribute [rw] export_to_s3_task
|
6872
|
-
# The format and location for an instance
|
6950
|
+
# The format and location for an export instance task.
|
6873
6951
|
# @return [Types::ExportToS3TaskSpecification]
|
6874
6952
|
#
|
6875
6953
|
# @!attribute [rw] instance_id
|
@@ -6881,7 +6959,7 @@ module Aws::EC2
|
|
6881
6959
|
# @return [String]
|
6882
6960
|
#
|
6883
6961
|
# @!attribute [rw] tag_specifications
|
6884
|
-
# The tags to apply to the instance
|
6962
|
+
# The tags to apply to the export instance task during creation.
|
6885
6963
|
# @return [Array<Types::TagSpecification>]
|
6886
6964
|
#
|
6887
6965
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTaskRequest AWS API Documentation
|
@@ -6897,7 +6975,7 @@ module Aws::EC2
|
|
6897
6975
|
end
|
6898
6976
|
|
6899
6977
|
# @!attribute [rw] export_task
|
6900
|
-
# Information about the instance
|
6978
|
+
# Information about the export instance task.
|
6901
6979
|
# @return [Types::ExportTask]
|
6902
6980
|
#
|
6903
6981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTaskResult AWS API Documentation
|
@@ -8650,6 +8728,7 @@ module Aws::EC2
|
|
8650
8728
|
#
|
8651
8729
|
# {
|
8652
8730
|
# description: "String",
|
8731
|
+
# outpost_arn: "String",
|
8653
8732
|
# volume_id: "VolumeId", # required
|
8654
8733
|
# tag_specifications: [
|
8655
8734
|
# {
|
@@ -8669,6 +8748,30 @@ module Aws::EC2
|
|
8669
8748
|
# A description for the snapshot.
|
8670
8749
|
# @return [String]
|
8671
8750
|
#
|
8751
|
+
# @!attribute [rw] outpost_arn
|
8752
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create
|
8753
|
+
# a local snapshot.
|
8754
|
+
#
|
8755
|
+
# * To create a snapshot of a volume in a Region, omit this parameter.
|
8756
|
+
# The snapshot is created in the same Region as the volume.
|
8757
|
+
#
|
8758
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
8759
|
+
# snapshot in the Region, omit this parameter. The snapshot is
|
8760
|
+
# created in the Region for the Outpost.
|
8761
|
+
#
|
8762
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
8763
|
+
# snapshot on an Outpost, specify the ARN of the destination
|
8764
|
+
# Outpost. The snapshot must be created on the same Outpost as the
|
8765
|
+
# volume.
|
8766
|
+
#
|
8767
|
+
# For more information, see [ Creating local snapshots from volumes on
|
8768
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
8769
|
+
#
|
8770
|
+
#
|
8771
|
+
#
|
8772
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
8773
|
+
# @return [String]
|
8774
|
+
#
|
8672
8775
|
# @!attribute [rw] volume_id
|
8673
8776
|
# The ID of the EBS volume.
|
8674
8777
|
# @return [String]
|
@@ -8688,6 +8791,7 @@ module Aws::EC2
|
|
8688
8791
|
#
|
8689
8792
|
class CreateSnapshotRequest < Struct.new(
|
8690
8793
|
:description,
|
8794
|
+
:outpost_arn,
|
8691
8795
|
:volume_id,
|
8692
8796
|
:tag_specifications,
|
8693
8797
|
:dry_run)
|
@@ -8704,6 +8808,7 @@ module Aws::EC2
|
|
8704
8808
|
# instance_id: "InstanceId",
|
8705
8809
|
# exclude_boot_volume: false,
|
8706
8810
|
# },
|
8811
|
+
# outpost_arn: "String",
|
8707
8812
|
# tag_specifications: [
|
8708
8813
|
# {
|
8709
8814
|
# 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
|
@@ -8729,6 +8834,32 @@ module Aws::EC2
|
|
8729
8834
|
# snapshots.
|
8730
8835
|
# @return [Types::InstanceSpecification]
|
8731
8836
|
#
|
8837
|
+
# @!attribute [rw] outpost_arn
|
8838
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create
|
8839
|
+
# the local snapshots.
|
8840
|
+
#
|
8841
|
+
# * To create snapshots from an instance in a Region, omit this
|
8842
|
+
# parameter. The snapshots are created in the same Region as the
|
8843
|
+
# instance.
|
8844
|
+
#
|
8845
|
+
# * To create snapshots from an instance on an Outpost and store the
|
8846
|
+
# snapshots in the Region, omit this parameter. The snapshots are
|
8847
|
+
# created in the Region for the Outpost.
|
8848
|
+
#
|
8849
|
+
# * To create snapshots from an instance on an Outpost and store the
|
8850
|
+
# snapshots on an Outpost, specify the ARN of the destination
|
8851
|
+
# Outpost. The snapshots must be created on the same Outpost as the
|
8852
|
+
# instance.
|
8853
|
+
#
|
8854
|
+
# For more information, see [ Creating multi-volume local snapshots
|
8855
|
+
# from instances on an Outpost][1] in the *Amazon Elastic Compute
|
8856
|
+
# Cloud User Guide*.
|
8857
|
+
#
|
8858
|
+
#
|
8859
|
+
#
|
8860
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot
|
8861
|
+
# @return [String]
|
8862
|
+
#
|
8732
8863
|
# @!attribute [rw] tag_specifications
|
8733
8864
|
# Tags to apply to every snapshot specified by the instance.
|
8734
8865
|
# @return [Array<Types::TagSpecification>]
|
@@ -8749,6 +8880,7 @@ module Aws::EC2
|
|
8749
8880
|
class CreateSnapshotsRequest < Struct.new(
|
8750
8881
|
:description,
|
8751
8882
|
:instance_specification,
|
8883
|
+
:outpost_arn,
|
8752
8884
|
:tag_specifications,
|
8753
8885
|
:dry_run,
|
8754
8886
|
:copy_tags_from_source)
|
@@ -13784,6 +13916,72 @@ module Aws::EC2
|
|
13784
13916
|
include Aws::Structure
|
13785
13917
|
end
|
13786
13918
|
|
13919
|
+
# @note When making an API call, you may pass DescribeAddressesAttributeRequest
|
13920
|
+
# data as a hash:
|
13921
|
+
#
|
13922
|
+
# {
|
13923
|
+
# allocation_ids: ["AllocationId"],
|
13924
|
+
# attribute: "domain-name", # accepts domain-name
|
13925
|
+
# next_token: "NextToken",
|
13926
|
+
# max_results: 1,
|
13927
|
+
# dry_run: false,
|
13928
|
+
# }
|
13929
|
+
#
|
13930
|
+
# @!attribute [rw] allocation_ids
|
13931
|
+
# \[EC2-VPC\] The allocation IDs.
|
13932
|
+
# @return [Array<String>]
|
13933
|
+
#
|
13934
|
+
# @!attribute [rw] attribute
|
13935
|
+
# The attribute of the IP address.
|
13936
|
+
# @return [String]
|
13937
|
+
#
|
13938
|
+
# @!attribute [rw] next_token
|
13939
|
+
# The token for the next page of results.
|
13940
|
+
# @return [String]
|
13941
|
+
#
|
13942
|
+
# @!attribute [rw] max_results
|
13943
|
+
# The maximum number of results to return with a single call. To
|
13944
|
+
# retrieve the remaining results, make another call with the returned
|
13945
|
+
# `nextToken` value.
|
13946
|
+
# @return [Integer]
|
13947
|
+
#
|
13948
|
+
# @!attribute [rw] dry_run
|
13949
|
+
# Checks whether you have the required permissions for the action,
|
13950
|
+
# without actually making the request, and provides an error response.
|
13951
|
+
# If you have the required permissions, the error response is
|
13952
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
13953
|
+
# @return [Boolean]
|
13954
|
+
#
|
13955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttributeRequest AWS API Documentation
|
13956
|
+
#
|
13957
|
+
class DescribeAddressesAttributeRequest < Struct.new(
|
13958
|
+
:allocation_ids,
|
13959
|
+
:attribute,
|
13960
|
+
:next_token,
|
13961
|
+
:max_results,
|
13962
|
+
:dry_run)
|
13963
|
+
SENSITIVE = []
|
13964
|
+
include Aws::Structure
|
13965
|
+
end
|
13966
|
+
|
13967
|
+
# @!attribute [rw] addresses
|
13968
|
+
# Information about the IP addresses.
|
13969
|
+
# @return [Array<Types::AddressAttribute>]
|
13970
|
+
#
|
13971
|
+
# @!attribute [rw] next_token
|
13972
|
+
# The token to use to retrieve the next page of results. This value is
|
13973
|
+
# `null` when there are no more results to return.
|
13974
|
+
# @return [String]
|
13975
|
+
#
|
13976
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttributeResult AWS API Documentation
|
13977
|
+
#
|
13978
|
+
class DescribeAddressesAttributeResult < Struct.new(
|
13979
|
+
:addresses,
|
13980
|
+
:next_token)
|
13981
|
+
SENSITIVE = []
|
13982
|
+
include Aws::Structure
|
13983
|
+
end
|
13984
|
+
|
13787
13985
|
# @note When making an API call, you may pass DescribeAddressesRequest
|
13788
13986
|
# data as a hash:
|
13789
13987
|
#
|
@@ -14227,8 +14425,8 @@ module Aws::EC2
|
|
14227
14425
|
# the date and time specified in your request. The reserved
|
14228
14426
|
# capacity is no longer available for your use.
|
14229
14427
|
#
|
14230
|
-
# * `cancelled` - The Capacity Reservation was
|
14231
|
-
#
|
14428
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The
|
14429
|
+
# reserved capacity is no longer available for your use.
|
14232
14430
|
#
|
14233
14431
|
# * `pending` - The Capacity Reservation request was successful but
|
14234
14432
|
# the capacity provisioning is still pending.
|
@@ -16749,13 +16947,14 @@ module Aws::EC2
|
|
16749
16947
|
#
|
16750
16948
|
# * `name` - The name of the AMI (provided during image creation).
|
16751
16949
|
#
|
16752
|
-
# * `owner-alias` - The owner alias
|
16753
|
-
#
|
16754
|
-
# AWS account alias set using the IAM
|
16755
|
-
#
|
16950
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`).
|
16951
|
+
# The valid aliases are defined in an Amazon-maintained list. This
|
16952
|
+
# is not the AWS account alias that can be set using the IAM
|
16953
|
+
# console. We recommend that you use the **Owner** request parameter
|
16954
|
+
# instead of this filter.
|
16756
16955
|
#
|
16757
16956
|
# * `owner-id` - The AWS account ID of the owner. We recommend that
|
16758
|
-
# you use the
|
16957
|
+
# you use the **Owner** request parameter instead of this filter.
|
16759
16958
|
#
|
16760
16959
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
16761
16960
|
# `windows`.
|
@@ -17370,8 +17569,8 @@ module Aws::EC2
|
|
17370
17569
|
# @return [Boolean]
|
17371
17570
|
#
|
17372
17571
|
# @!attribute [rw] instance_types
|
17373
|
-
# The instance types. For more information, see [Instance
|
17374
|
-
# the *Amazon
|
17572
|
+
# The instance types. For more information, see [Instance types][1] in
|
17573
|
+
# the *Amazon EC2 User Guide*.
|
17375
17574
|
#
|
17376
17575
|
#
|
17377
17576
|
#
|
@@ -17535,8 +17734,8 @@ module Aws::EC2
|
|
17535
17734
|
end
|
17536
17735
|
|
17537
17736
|
# @!attribute [rw] instance_types
|
17538
|
-
# The instance type. For more information, see [Instance
|
17539
|
-
# the *Amazon
|
17737
|
+
# The instance type. For more information, see [Instance types][1] in
|
17738
|
+
# the *Amazon EC2 User Guide*.
|
17540
17739
|
#
|
17541
17740
|
#
|
17542
17741
|
#
|
@@ -19663,9 +19862,8 @@ module Aws::EC2
|
|
19663
19862
|
# * `private-dns-name` - The private DNS name of the network interface
|
19664
19863
|
# (IPv4).
|
19665
19864
|
#
|
19666
|
-
# * `requester-id` - The
|
19667
|
-
#
|
19668
|
-
# and so on).
|
19865
|
+
# * `requester-id` - The alias or AWS account ID of the principal or
|
19866
|
+
# service that created the network interface.
|
19669
19867
|
#
|
19670
19868
|
# * `requester-managed` - Indicates whether the network interface is
|
19671
19869
|
# being managed by an AWS service (for example, AWS Management
|
@@ -20355,8 +20553,8 @@ module Aws::EC2
|
|
20355
20553
|
#
|
20356
20554
|
# @!attribute [rw] instance_type
|
20357
20555
|
# The instance type that the reservation will cover (for example,
|
20358
|
-
# `m1.small`). For more information, see [Instance
|
20359
|
-
# *Amazon
|
20556
|
+
# `m1.small`). For more information, see [Instance types][1] in the
|
20557
|
+
# *Amazon EC2 User Guide*.
|
20360
20558
|
#
|
20361
20559
|
#
|
20362
20560
|
#
|
@@ -21030,7 +21228,7 @@ module Aws::EC2
|
|
21030
21228
|
# has been referenced in an outbound security group rule.
|
21031
21229
|
#
|
21032
21230
|
# * `egress.ip-permission.group-name` - The name of a security group
|
21033
|
-
# that
|
21231
|
+
# that is referenced in an outbound security group rule.
|
21034
21232
|
#
|
21035
21233
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
21036
21234
|
# outbound security group rule.
|
@@ -21039,8 +21237,8 @@ module Aws::EC2
|
|
21039
21237
|
# which a security group rule allows outbound access.
|
21040
21238
|
#
|
21041
21239
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
21042
|
-
# security group rule (`tcp` \| `udp` \| `icmp
|
21043
|
-
#
|
21240
|
+
# security group rule (`tcp` \| `udp` \| `icmp`, a protocol number,
|
21241
|
+
# or -1 for all protocols).
|
21044
21242
|
#
|
21045
21243
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
21046
21244
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
@@ -21061,8 +21259,8 @@ module Aws::EC2
|
|
21061
21259
|
# * `ip-permission.group-id` - The ID of a security group that has
|
21062
21260
|
# been referenced in an inbound security group rule.
|
21063
21261
|
#
|
21064
|
-
# * `ip-permission.group-name` - The name of a security group that
|
21065
|
-
#
|
21262
|
+
# * `ip-permission.group-name` - The name of a security group that is
|
21263
|
+
# referenced in an inbound security group rule.
|
21066
21264
|
#
|
21067
21265
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
21068
21266
|
# security group rule.
|
@@ -21071,7 +21269,8 @@ module Aws::EC2
|
|
21071
21269
|
# which a security group rule allows inbound access.
|
21072
21270
|
#
|
21073
21271
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
21074
|
-
# group rule (`tcp` \| `udp` \| `icmp
|
21272
|
+
# group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
|
21273
|
+
# all protocols).
|
21075
21274
|
#
|
21076
21275
|
# * `ip-permission.to-port` - For an inbound rule, the end of port
|
21077
21276
|
# range for the TCP and UDP protocols, or an ICMP code.
|
@@ -24134,6 +24333,8 @@ module Aws::EC2
|
|
24134
24333
|
#
|
24135
24334
|
# * `service-name` - The name of the service.
|
24136
24335
|
#
|
24336
|
+
# * `service-type` - The type of service (`Interface` \| `Gateway`).
|
24337
|
+
#
|
24137
24338
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
24138
24339
|
# to the resource. Use the tag key in the filter name and the tag
|
24139
24340
|
# value as the filter value. For example, to find all resources that
|
@@ -26006,13 +26207,14 @@ module Aws::EC2
|
|
26006
26207
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
26007
26208
|
# kms_key_id: "String",
|
26008
26209
|
# throughput: 1,
|
26210
|
+
# outpost_arn: "String",
|
26009
26211
|
# encrypted: false,
|
26010
26212
|
# }
|
26011
26213
|
#
|
26012
26214
|
# @!attribute [rw] delete_on_termination
|
26013
26215
|
# Indicates whether the EBS volume is deleted on instance termination.
|
26014
26216
|
# For more information, see [Preserving Amazon EBS volumes on instance
|
26015
|
-
# termination][1] in the Amazon
|
26217
|
+
# termination][1] in the *Amazon EC2 User Guide*.
|
26016
26218
|
#
|
26017
26219
|
#
|
26018
26220
|
#
|
@@ -26063,18 +26265,15 @@ module Aws::EC2
|
|
26063
26265
|
#
|
26064
26266
|
# * `io1` and `io2`\: 4-16,384
|
26065
26267
|
#
|
26066
|
-
# * `st1`\:
|
26067
|
-
#
|
26068
|
-
# * `sc1`\: 500-16,384
|
26268
|
+
# * `st1` and `sc1`\: 125-16,384
|
26069
26269
|
#
|
26070
26270
|
# * `standard`\: 1-1,024
|
26071
26271
|
# @return [Integer]
|
26072
26272
|
#
|
26073
26273
|
# @!attribute [rw] volume_type
|
26074
26274
|
# The volume type. For more information, see [Amazon EBS volume
|
26075
|
-
# types][1] in the *Amazon
|
26076
|
-
#
|
26077
|
-
# volume supports.
|
26275
|
+
# types][1] in the *Amazon EC2 User Guide*. If the volume type is
|
26276
|
+
# `io1` or `io2`, you must specify the IOPS that the volume supports.
|
26078
26277
|
#
|
26079
26278
|
#
|
26080
26279
|
#
|
@@ -26104,13 +26303,17 @@ module Aws::EC2
|
|
26104
26303
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
26105
26304
|
# @return [Integer]
|
26106
26305
|
#
|
26306
|
+
# @!attribute [rw] outpost_arn
|
26307
|
+
# The ARN of the Outpost on which the snapshot is stored.
|
26308
|
+
# @return [String]
|
26309
|
+
#
|
26107
26310
|
# @!attribute [rw] encrypted
|
26108
26311
|
# Indicates whether the encryption state of an EBS volume is changed
|
26109
26312
|
# while being restored from a backing snapshot. The effect of setting
|
26110
26313
|
# the encryption state to `true` depends on the volume origin (new or
|
26111
26314
|
# from a snapshot), starting encryption state, ownership, and whether
|
26112
26315
|
# encryption by default is enabled. For more information, see [Amazon
|
26113
|
-
# EBS
|
26316
|
+
# EBS encryption][1] in the *Amazon EC2 User Guide*.
|
26114
26317
|
#
|
26115
26318
|
# In no case can you remove encryption from an encrypted volume.
|
26116
26319
|
#
|
@@ -26136,6 +26339,7 @@ module Aws::EC2
|
|
26136
26339
|
:volume_type,
|
26137
26340
|
:kms_key_id,
|
26138
26341
|
:throughput,
|
26342
|
+
:outpost_arn,
|
26139
26343
|
:encrypted)
|
26140
26344
|
SENSITIVE = []
|
26141
26345
|
include Aws::Structure
|
@@ -26145,8 +26349,8 @@ module Aws::EC2
|
|
26145
26349
|
#
|
26146
26350
|
# @!attribute [rw] ebs_optimized_support
|
26147
26351
|
# Indicates whether the instance type is Amazon EBS-optimized. For
|
26148
|
-
# more information, see [Amazon EBS-
|
26149
|
-
# EC2 User Guide
|
26352
|
+
# more information, see [Amazon EBS-optimized instances][1] in *Amazon
|
26353
|
+
# EC2 User Guide*.
|
26150
26354
|
#
|
26151
26355
|
#
|
26152
26356
|
#
|
@@ -27446,7 +27650,7 @@ module Aws::EC2
|
|
27446
27650
|
# @return [String]
|
27447
27651
|
#
|
27448
27652
|
# @!attribute [rw] tag_specifications
|
27449
|
-
# The tags to apply to the image
|
27653
|
+
# The tags to apply to the export image task during creation.
|
27450
27654
|
# @return [Array<Types::TagSpecification>]
|
27451
27655
|
#
|
27452
27656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportImageRequest AWS API Documentation
|
@@ -27503,7 +27707,7 @@ module Aws::EC2
|
|
27503
27707
|
# @return [String]
|
27504
27708
|
#
|
27505
27709
|
# @!attribute [rw] tags
|
27506
|
-
# Any tags assigned to the image
|
27710
|
+
# Any tags assigned to the export image task.
|
27507
27711
|
# @return [Array<Types::Tag>]
|
27508
27712
|
#
|
27509
27713
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportImageResult AWS API Documentation
|
@@ -27555,7 +27759,7 @@ module Aws::EC2
|
|
27555
27759
|
# @return [String]
|
27556
27760
|
#
|
27557
27761
|
# @!attribute [rw] tags
|
27558
|
-
# Any tags assigned to the image
|
27762
|
+
# Any tags assigned to the export image task.
|
27559
27763
|
# @return [Array<Types::Tag>]
|
27560
27764
|
#
|
27561
27765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportImageTask AWS API Documentation
|
@@ -27573,7 +27777,7 @@ module Aws::EC2
|
|
27573
27777
|
include Aws::Structure
|
27574
27778
|
end
|
27575
27779
|
|
27576
|
-
# Describes an instance
|
27780
|
+
# Describes an export instance task.
|
27577
27781
|
#
|
27578
27782
|
# @!attribute [rw] description
|
27579
27783
|
# A description of the resource being exported.
|
@@ -27663,7 +27867,7 @@ module Aws::EC2
|
|
27663
27867
|
include Aws::Structure
|
27664
27868
|
end
|
27665
27869
|
|
27666
|
-
# Describes the format and location for
|
27870
|
+
# Describes the format and location for the export task.
|
27667
27871
|
#
|
27668
27872
|
# @!attribute [rw] container_format
|
27669
27873
|
# The container format used to combine disk images with metadata (such
|
@@ -27695,7 +27899,7 @@ module Aws::EC2
|
|
27695
27899
|
include Aws::Structure
|
27696
27900
|
end
|
27697
27901
|
|
27698
|
-
# Describes an instance
|
27902
|
+
# Describes an export instance task.
|
27699
27903
|
#
|
27700
27904
|
# @note When making an API call, you may pass ExportToS3TaskSpecification
|
27701
27905
|
# data as a hash:
|
@@ -27894,28 +28098,7 @@ module Aws::EC2
|
|
27894
28098
|
# A filter name and value pair that is used to return a more specific
|
27895
28099
|
# list of results from a describe operation. Filters can be used to
|
27896
28100
|
# match a set of resources by specific criteria, such as tags,
|
27897
|
-
# attributes, or IDs.
|
27898
|
-
# documented with the describe operation. For example:
|
27899
|
-
#
|
27900
|
-
# * DescribeAvailabilityZones
|
27901
|
-
#
|
27902
|
-
# * DescribeImages
|
27903
|
-
#
|
27904
|
-
# * DescribeInstances
|
27905
|
-
#
|
27906
|
-
# * DescribeKeyPairs
|
27907
|
-
#
|
27908
|
-
# * DescribeSecurityGroups
|
27909
|
-
#
|
27910
|
-
# * DescribeSnapshots
|
27911
|
-
#
|
27912
|
-
# * DescribeSubnets
|
27913
|
-
#
|
27914
|
-
# * DescribeTags
|
27915
|
-
#
|
27916
|
-
# * DescribeVolumes
|
27917
|
-
#
|
27918
|
-
# * DescribeVpcs
|
28101
|
+
# attributes, or IDs.
|
27919
28102
|
#
|
27920
28103
|
# @note When making an API call, you may pass Filter
|
27921
28104
|
# data as a hash:
|
@@ -28036,7 +28219,13 @@ module Aws::EC2
|
|
28036
28219
|
# @return [Time]
|
28037
28220
|
#
|
28038
28221
|
# @!attribute [rw] replace_unhealthy_instances
|
28039
|
-
# Indicates whether EC2 Fleet should replace unhealthy
|
28222
|
+
# Indicates whether EC2 Fleet should replace unhealthy Spot Instances.
|
28223
|
+
# Supported only for fleets of type `maintain`. For more information,
|
28224
|
+
# see [EC2 Fleet health checks][1] in the *Amazon EC2 User Guide*.
|
28225
|
+
#
|
28226
|
+
#
|
28227
|
+
#
|
28228
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#ec2-fleet-health-checks
|
28040
28229
|
# @return [Boolean]
|
28041
28230
|
#
|
28042
28231
|
# @!attribute [rw] spot_options
|
@@ -28340,8 +28529,7 @@ module Aws::EC2
|
|
28340
28529
|
# Describes the Amazon EC2 launch template and the launch template
|
28341
28530
|
# version that can be used by an EC2 Fleet to configure Amazon EC2
|
28342
28531
|
# instances. For information about launch templates, see [Launching an
|
28343
|
-
# instance from a launch template][1] in the *Amazon
|
28344
|
-
# Cloud User Guide*.
|
28532
|
+
# instance from a launch template][1] in the *Amazon EC2 User Guide*.
|
28345
28533
|
#
|
28346
28534
|
#
|
28347
28535
|
#
|
@@ -28415,7 +28603,7 @@ module Aws::EC2
|
|
28415
28603
|
# The Spot Instance replacement strategy to use when Amazon EC2 emits a
|
28416
28604
|
# signal that your Spot Instance is at an elevated risk of being
|
28417
28605
|
# interrupted. For more information, see [Capacity rebalancing][1] in
|
28418
|
-
# the *Amazon
|
28606
|
+
# the *Amazon EC2 User Guide*.
|
28419
28607
|
#
|
28420
28608
|
#
|
28421
28609
|
#
|
@@ -28989,8 +29177,8 @@ module Aws::EC2
|
|
28989
29177
|
# date and time specified in your request. The reserved capacity is
|
28990
29178
|
# no longer available for your use.
|
28991
29179
|
#
|
28992
|
-
# * `cancelled` - The Capacity Reservation was
|
28993
|
-
#
|
29180
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
29181
|
+
# capacity is no longer available for your use.
|
28994
29182
|
#
|
28995
29183
|
# * `pending` - The Capacity Reservation request was successful but
|
28996
29184
|
# the capacity provisioning is still pending.
|
@@ -30267,7 +30455,7 @@ module Aws::EC2
|
|
30267
30455
|
# Indicates whether your instance is configured for hibernation. This
|
30268
30456
|
# parameter is valid only if the instance meets the [hibernation
|
30269
30457
|
# prerequisites][1]. For more information, see [Hibernate your
|
30270
|
-
# instance][2] in the *Amazon
|
30458
|
+
# instance][2] in the *Amazon EC2 User Guide*.
|
30271
30459
|
#
|
30272
30460
|
#
|
30273
30461
|
#
|
@@ -30290,7 +30478,7 @@ module Aws::EC2
|
|
30290
30478
|
# Indicates whether your instance is configured for hibernation. This
|
30291
30479
|
# parameter is valid only if the instance meets the [hibernation
|
30292
30480
|
# prerequisites][1]. For more information, see [Hibernate your
|
30293
|
-
# instance][2] in the *Amazon
|
30481
|
+
# instance][2] in the *Amazon EC2 User Guide*.
|
30294
30482
|
#
|
30295
30483
|
#
|
30296
30484
|
#
|
@@ -30394,7 +30582,7 @@ module Aws::EC2
|
|
30394
30582
|
#
|
30395
30583
|
# @!attribute [rw] client_token
|
30396
30584
|
# Unique, case-sensitive identifier that you provide to ensure the
|
30397
|
-
# idempotency of the request. For more information, see [
|
30585
|
+
# idempotency of the request. For more information, see [Ensuring
|
30398
30586
|
# Idempotency][1].
|
30399
30587
|
#
|
30400
30588
|
#
|
@@ -30444,10 +30632,10 @@ module Aws::EC2
|
|
30444
30632
|
#
|
30445
30633
|
# @!attribute [rw] allows_multiple_instance_types
|
30446
30634
|
# Indicates whether the Dedicated Host supports multiple instance
|
30447
|
-
# types of the same instance family
|
30448
|
-
#
|
30449
|
-
#
|
30450
|
-
#
|
30635
|
+
# types of the same instance family. If the value is `on`, the
|
30636
|
+
# Dedicated Host supports multiple instance types in the instance
|
30637
|
+
# family. If the value is `off`, the Dedicated Host supports a single
|
30638
|
+
# instance type only.
|
30451
30639
|
# @return [String]
|
30452
30640
|
#
|
30453
30641
|
# @!attribute [rw] owner_id
|
@@ -31097,7 +31285,7 @@ module Aws::EC2
|
|
31097
31285
|
# @!attribute [rw] format
|
31098
31286
|
# The format of the disk image being imported.
|
31099
31287
|
#
|
31100
|
-
# Valid values: `OVA` \| `VHD` \| `VHDX`
|
31288
|
+
# Valid values: `OVA` \| `VHD` \| `VHDX` \| `VMDK` \| `RAW`
|
31101
31289
|
# @return [String]
|
31102
31290
|
#
|
31103
31291
|
# @!attribute [rw] snapshot_id
|
@@ -31386,7 +31574,7 @@ module Aws::EC2
|
|
31386
31574
|
# @return [Array<Types::ImportImageLicenseConfigurationRequest>]
|
31387
31575
|
#
|
31388
31576
|
# @!attribute [rw] tag_specifications
|
31389
|
-
# The tags to apply to the image
|
31577
|
+
# The tags to apply to the import image task during creation.
|
31390
31578
|
# @return [Array<Types::TagSpecification>]
|
31391
31579
|
#
|
31392
31580
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageRequest AWS API Documentation
|
@@ -31469,7 +31657,7 @@ module Aws::EC2
|
|
31469
31657
|
# @return [Array<Types::ImportImageLicenseConfigurationResponse>]
|
31470
31658
|
#
|
31471
31659
|
# @!attribute [rw] tags
|
31472
|
-
# Any tags assigned to the image
|
31660
|
+
# Any tags assigned to the import image task.
|
31473
31661
|
# @return [Array<Types::Tag>]
|
31474
31662
|
#
|
31475
31663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageResult AWS API Documentation
|
@@ -32048,7 +32236,7 @@ module Aws::EC2
|
|
32048
32236
|
# @return [String]
|
32049
32237
|
#
|
32050
32238
|
# @!attribute [rw] tag_specifications
|
32051
|
-
# The tags to apply to the snapshot
|
32239
|
+
# The tags to apply to the import snapshot task during creation.
|
32052
32240
|
# @return [Array<Types::TagSpecification>]
|
32053
32241
|
#
|
32054
32242
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotRequest AWS API Documentation
|
@@ -32080,7 +32268,7 @@ module Aws::EC2
|
|
32080
32268
|
# @return [Types::SnapshotTaskDetail]
|
32081
32269
|
#
|
32082
32270
|
# @!attribute [rw] tags
|
32083
|
-
# Any tags assigned to the snapshot
|
32271
|
+
# Any tags assigned to the import snapshot task.
|
32084
32272
|
# @return [Array<Types::Tag>]
|
32085
32273
|
#
|
32086
32274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotResult AWS API Documentation
|
@@ -32435,7 +32623,7 @@ module Aws::EC2
|
|
32435
32623
|
# the instance. A value of `true` means that checking is enabled, and
|
32436
32624
|
# `false` means that checking is disabled. The value must be `false`
|
32437
32625
|
# for the instance to perform NAT. For more information, see [NAT
|
32438
|
-
#
|
32626
|
+
# instances][1] in the *Amazon VPC User Guide*.
|
32439
32627
|
#
|
32440
32628
|
#
|
32441
32629
|
#
|
@@ -33717,8 +33905,8 @@ module Aws::EC2
|
|
33717
33905
|
# Describes the instance type.
|
33718
33906
|
#
|
33719
33907
|
# @!attribute [rw] instance_type
|
33720
|
-
# The instance type. For more information, see [Instance
|
33721
|
-
# the *Amazon
|
33908
|
+
# The instance type. For more information, see [Instance types][1] in
|
33909
|
+
# the *Amazon EC2 User Guide*.
|
33722
33910
|
#
|
33723
33911
|
#
|
33724
33912
|
#
|
@@ -33849,8 +34037,8 @@ module Aws::EC2
|
|
33849
34037
|
# The instance types offered.
|
33850
34038
|
#
|
33851
34039
|
# @!attribute [rw] instance_type
|
33852
|
-
# The instance type. For more information, see [Instance
|
33853
|
-
# the *Amazon
|
34040
|
+
# The instance type. For more information, see [Instance types][1] in
|
34041
|
+
# the *Amazon EC2 User Guide*.
|
33854
34042
|
#
|
33855
34043
|
#
|
33856
34044
|
#
|
@@ -34278,6 +34466,9 @@ module Aws::EC2
|
|
34278
34466
|
#
|
34279
34467
|
# @!attribute [rw] user_id
|
34280
34468
|
# The AWS account ID.
|
34469
|
+
#
|
34470
|
+
# Constraints: Up to 10 000 account IDs can be specified in a single
|
34471
|
+
# request.
|
34281
34472
|
# @return [String]
|
34282
34473
|
#
|
34283
34474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchPermission AWS API Documentation
|
@@ -34503,8 +34694,8 @@ module Aws::EC2
|
|
34503
34694
|
# @return [Types::LaunchTemplateEbsBlockDevice]
|
34504
34695
|
#
|
34505
34696
|
# @!attribute [rw] no_device
|
34506
|
-
#
|
34507
|
-
#
|
34697
|
+
# To omit the device from the block device mapping, specify an empty
|
34698
|
+
# string.
|
34508
34699
|
# @return [String]
|
34509
34700
|
#
|
34510
34701
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateBlockDeviceMapping AWS API Documentation
|
@@ -34558,8 +34749,8 @@ module Aws::EC2
|
|
34558
34749
|
# @return [Types::LaunchTemplateEbsBlockDeviceRequest]
|
34559
34750
|
#
|
34560
34751
|
# @!attribute [rw] no_device
|
34561
|
-
#
|
34562
|
-
#
|
34752
|
+
# To omit the device from the block device mapping, specify an empty
|
34753
|
+
# string.
|
34563
34754
|
# @return [String]
|
34564
34755
|
#
|
34565
34756
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateBlockDeviceMappingRequest AWS API Documentation
|
@@ -34834,9 +35025,9 @@ module Aws::EC2
|
|
34834
35025
|
# [Instances built on the Nitro System][1]. Other instance families
|
34835
35026
|
# guarantee performance up to 32,000 IOPS.
|
34836
35027
|
#
|
34837
|
-
# This parameter is
|
34838
|
-
#
|
34839
|
-
# `
|
35028
|
+
# This parameter is supported for `io1`, `io2`, and `gp3` volumes
|
35029
|
+
# only. This parameter is not supported for `gp2`, `st1`, `sc1`, or
|
35030
|
+
# `standard` volumes.
|
34840
35031
|
#
|
34841
35032
|
#
|
34842
35033
|
#
|
@@ -34854,11 +35045,8 @@ module Aws::EC2
|
|
34854
35045
|
#
|
34855
35046
|
# @!attribute [rw] volume_size
|
34856
35047
|
# The size of the volume, in GiBs. You must specify either a snapshot
|
34857
|
-
# ID or a volume size.
|
34858
|
-
#
|
34859
|
-
# larger than the snapshot size.
|
34860
|
-
#
|
34861
|
-
# The following are the supported volumes sizes for each volume type:
|
35048
|
+
# ID or a volume size. The following are the supported volumes sizes
|
35049
|
+
# for each volume type:
|
34862
35050
|
#
|
34863
35051
|
# * `gp2` and `gp3`\: 1-16,384
|
34864
35052
|
#
|
@@ -34870,9 +35058,8 @@ module Aws::EC2
|
|
34870
35058
|
# @return [Integer]
|
34871
35059
|
#
|
34872
35060
|
# @!attribute [rw] volume_type
|
34873
|
-
# The volume type.
|
34874
|
-
#
|
34875
|
-
# User Guide*.
|
35061
|
+
# The volume type. For more information, see [Amazon EBS volume
|
35062
|
+
# types][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
34876
35063
|
#
|
34877
35064
|
#
|
34878
35065
|
#
|
@@ -36550,6 +36737,52 @@ module Aws::EC2
|
|
36550
36737
|
include Aws::Structure
|
36551
36738
|
end
|
36552
36739
|
|
36740
|
+
# @note When making an API call, you may pass ModifyAddressAttributeRequest
|
36741
|
+
# data as a hash:
|
36742
|
+
#
|
36743
|
+
# {
|
36744
|
+
# allocation_id: "AllocationId", # required
|
36745
|
+
# domain_name: "String",
|
36746
|
+
# dry_run: false,
|
36747
|
+
# }
|
36748
|
+
#
|
36749
|
+
# @!attribute [rw] allocation_id
|
36750
|
+
# \[EC2-VPC\] The allocation ID.
|
36751
|
+
# @return [String]
|
36752
|
+
#
|
36753
|
+
# @!attribute [rw] domain_name
|
36754
|
+
# The domain name to modify for the IP address.
|
36755
|
+
# @return [String]
|
36756
|
+
#
|
36757
|
+
# @!attribute [rw] dry_run
|
36758
|
+
# Checks whether you have the required permissions for the action,
|
36759
|
+
# without actually making the request, and provides an error response.
|
36760
|
+
# If you have the required permissions, the error response is
|
36761
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36762
|
+
# @return [Boolean]
|
36763
|
+
#
|
36764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttributeRequest AWS API Documentation
|
36765
|
+
#
|
36766
|
+
class ModifyAddressAttributeRequest < Struct.new(
|
36767
|
+
:allocation_id,
|
36768
|
+
:domain_name,
|
36769
|
+
:dry_run)
|
36770
|
+
SENSITIVE = []
|
36771
|
+
include Aws::Structure
|
36772
|
+
end
|
36773
|
+
|
36774
|
+
# @!attribute [rw] address
|
36775
|
+
# Information about the Elastic IP address.
|
36776
|
+
# @return [Types::AddressAttribute]
|
36777
|
+
#
|
36778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttributeResult AWS API Documentation
|
36779
|
+
#
|
36780
|
+
class ModifyAddressAttributeResult < Struct.new(
|
36781
|
+
:address)
|
36782
|
+
SENSITIVE = []
|
36783
|
+
include Aws::Structure
|
36784
|
+
end
|
36785
|
+
|
36553
36786
|
# @note When making an API call, you may pass ModifyAvailabilityZoneGroupRequest
|
36554
36787
|
# data as a hash:
|
36555
36788
|
#
|
@@ -36612,6 +36845,7 @@ module Aws::EC2
|
|
36612
36845
|
# instance_count: 1,
|
36613
36846
|
# end_date: Time.now,
|
36614
36847
|
# end_date_type: "unlimited", # accepts unlimited, limited
|
36848
|
+
# accept: false,
|
36615
36849
|
# dry_run: false,
|
36616
36850
|
# }
|
36617
36851
|
#
|
@@ -36652,6 +36886,11 @@ module Aws::EC2
|
|
36652
36886
|
# `EndDateType` is `limited`.
|
36653
36887
|
# @return [String]
|
36654
36888
|
#
|
36889
|
+
# @!attribute [rw] accept
|
36890
|
+
# Reserved. Capacity Reservations you have created are accepted by
|
36891
|
+
# default.
|
36892
|
+
# @return [Boolean]
|
36893
|
+
#
|
36655
36894
|
# @!attribute [rw] dry_run
|
36656
36895
|
# Checks whether you have the required permissions for the action,
|
36657
36896
|
# without actually making the request, and provides an error response.
|
@@ -36666,6 +36905,7 @@ module Aws::EC2
|
|
36666
36905
|
:instance_count,
|
36667
36906
|
:end_date,
|
36668
36907
|
:end_date_type,
|
36908
|
+
:accept,
|
36669
36909
|
:dry_run)
|
36670
36910
|
SENSITIVE = []
|
36671
36911
|
include Aws::Structure
|
@@ -37154,8 +37394,8 @@ module Aws::EC2
|
|
37154
37394
|
#
|
37155
37395
|
# @!attribute [rw] host_recovery
|
37156
37396
|
# Indicates whether to enable or disable host recovery for the
|
37157
|
-
# Dedicated Host. For more information, see [ Host
|
37158
|
-
# *Amazon
|
37397
|
+
# Dedicated Host. For more information, see [ Host recovery][1] in the
|
37398
|
+
# *Amazon EC2 User Guide*.
|
37159
37399
|
#
|
37160
37400
|
#
|
37161
37401
|
#
|
@@ -37458,7 +37698,7 @@ module Aws::EC2
|
|
37458
37698
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
37459
37699
|
# must add them when you launch the instance. For more information,
|
37460
37700
|
# see [Updating the block device mapping when launching an
|
37461
|
-
# instance][1] in the *Amazon
|
37701
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
37462
37702
|
#
|
37463
37703
|
#
|
37464
37704
|
#
|
@@ -37514,8 +37754,9 @@ module Aws::EC2
|
|
37514
37754
|
#
|
37515
37755
|
# @!attribute [rw] instance_type
|
37516
37756
|
# Changes the instance type to the specified value. For more
|
37517
|
-
# information, see [Instance types][1]
|
37518
|
-
# valid, the error returned is
|
37757
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
37758
|
+
# If the instance type is not valid, the error returned is
|
37759
|
+
# `InvalidInstanceAttributeValue`.
|
37519
37760
|
#
|
37520
37761
|
#
|
37521
37762
|
#
|
@@ -40792,8 +41033,8 @@ module Aws::EC2
|
|
40792
41033
|
# @return [Array<Types::NetworkInterfacePrivateIpAddress>]
|
40793
41034
|
#
|
40794
41035
|
# @!attribute [rw] requester_id
|
40795
|
-
# The
|
40796
|
-
#
|
41036
|
+
# The alias or AWS account ID of the principal or service that created
|
41037
|
+
# the network interface.
|
40797
41038
|
# @return [String]
|
40798
41039
|
#
|
40799
41040
|
# @!attribute [rw] requester_managed
|
@@ -42371,6 +42612,31 @@ module Aws::EC2
|
|
42371
42612
|
include Aws::Structure
|
42372
42613
|
end
|
42373
42614
|
|
42615
|
+
# The status of an updated pointer (PTR) record for an Elastic IP
|
42616
|
+
# address.
|
42617
|
+
#
|
42618
|
+
# @!attribute [rw] value
|
42619
|
+
# The value for the PTR record update.
|
42620
|
+
# @return [String]
|
42621
|
+
#
|
42622
|
+
# @!attribute [rw] status
|
42623
|
+
# The status of the PTR record update.
|
42624
|
+
# @return [String]
|
42625
|
+
#
|
42626
|
+
# @!attribute [rw] reason
|
42627
|
+
# The reason for the PTR record update.
|
42628
|
+
# @return [String]
|
42629
|
+
#
|
42630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PtrUpdateStatus AWS API Documentation
|
42631
|
+
#
|
42632
|
+
class PtrUpdateStatus < Struct.new(
|
42633
|
+
:value,
|
42634
|
+
:status,
|
42635
|
+
:reason)
|
42636
|
+
SENSITIVE = []
|
42637
|
+
include Aws::Structure
|
42638
|
+
end
|
42639
|
+
|
42374
42640
|
# Describes an IPv4 address pool.
|
42375
42641
|
#
|
42376
42642
|
# @!attribute [rw] pool_id
|
@@ -42521,7 +42787,7 @@ module Aws::EC2
|
|
42521
42787
|
#
|
42522
42788
|
# @!attribute [rw] client_token
|
42523
42789
|
# Unique, case-sensitive identifier that you provide to ensure the
|
42524
|
-
# idempotency of the request. For more information, see [
|
42790
|
+
# idempotency of the request. For more information, see [Ensuring
|
42525
42791
|
# Idempotency][1].
|
42526
42792
|
#
|
42527
42793
|
#
|
@@ -42573,7 +42839,7 @@ module Aws::EC2
|
|
42573
42839
|
|
42574
42840
|
# @!attribute [rw] client_token
|
42575
42841
|
# Unique, case-sensitive identifier that you provide to ensure the
|
42576
|
-
# idempotency of the request. For more information, see [
|
42842
|
+
# idempotency of the request. For more information, see [Ensuring
|
42577
42843
|
# Idempotency][1].
|
42578
42844
|
#
|
42579
42845
|
#
|
@@ -42862,6 +43128,7 @@ module Aws::EC2
|
|
42862
43128
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
42863
43129
|
# kms_key_id: "String",
|
42864
43130
|
# throughput: 1,
|
43131
|
+
# outpost_arn: "String",
|
42865
43132
|
# encrypted: false,
|
42866
43133
|
# },
|
42867
43134
|
# no_device: "String",
|
@@ -42900,6 +43167,20 @@ module Aws::EC2
|
|
42900
43167
|
#
|
42901
43168
|
# @!attribute [rw] block_device_mappings
|
42902
43169
|
# The block device mapping entries.
|
43170
|
+
#
|
43171
|
+
# If you specify an EBS volume using the ID of an EBS snapshot, you
|
43172
|
+
# can't specify the encryption state of the volume.
|
43173
|
+
#
|
43174
|
+
# If you create an AMI on an Outpost, then all backing snapshots must
|
43175
|
+
# be on the same Outpost or in the Region of that Outpost. AMIs on an
|
43176
|
+
# Outpost that include local snapshots can be used to launch instances
|
43177
|
+
# on the same Outpost only. For more information, [ Amazon EBS local
|
43178
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
43179
|
+
# Guide*.
|
43180
|
+
#
|
43181
|
+
#
|
43182
|
+
#
|
43183
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
42903
43184
|
# @return [Array<Types::BlockDeviceMapping>]
|
42904
43185
|
#
|
42905
43186
|
# @!attribute [rw] description
|
@@ -44175,7 +44456,7 @@ module Aws::EC2
|
|
44175
44456
|
# @return [Boolean]
|
44176
44457
|
#
|
44177
44458
|
# @!attribute [rw] iam_instance_profile
|
44178
|
-
# The IAM instance profile.
|
44459
|
+
# The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
44179
44460
|
# @return [Types::LaunchTemplateIamInstanceProfileSpecificationRequest]
|
44180
44461
|
#
|
44181
44462
|
# @!attribute [rw] block_device_mappings
|
@@ -44445,6 +44726,7 @@ module Aws::EC2
|
|
44445
44726
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
44446
44727
|
# kms_key_id: "String",
|
44447
44728
|
# throughput: 1,
|
44729
|
+
# outpost_arn: "String",
|
44448
44730
|
# encrypted: false,
|
44449
44731
|
# },
|
44450
44732
|
# no_device: "String",
|
@@ -44636,6 +44918,7 @@ module Aws::EC2
|
|
44636
44918
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
44637
44919
|
# kms_key_id: "String",
|
44638
44920
|
# throughput: 1,
|
44921
|
+
# outpost_arn: "String",
|
44639
44922
|
# encrypted: false,
|
44640
44923
|
# },
|
44641
44924
|
# no_device: "String",
|
@@ -44896,6 +45179,7 @@ module Aws::EC2
|
|
44896
45179
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
44897
45180
|
# kms_key_id: "String",
|
44898
45181
|
# throughput: 1,
|
45182
|
+
# outpost_arn: "String",
|
44899
45183
|
# encrypted: false,
|
44900
45184
|
# },
|
44901
45185
|
# no_device: "String",
|
@@ -45580,6 +45864,52 @@ module Aws::EC2
|
|
45580
45864
|
include Aws::Structure
|
45581
45865
|
end
|
45582
45866
|
|
45867
|
+
# @note When making an API call, you may pass ResetAddressAttributeRequest
|
45868
|
+
# data as a hash:
|
45869
|
+
#
|
45870
|
+
# {
|
45871
|
+
# allocation_id: "AllocationId", # required
|
45872
|
+
# attribute: "domain-name", # required, accepts domain-name
|
45873
|
+
# dry_run: false,
|
45874
|
+
# }
|
45875
|
+
#
|
45876
|
+
# @!attribute [rw] allocation_id
|
45877
|
+
# \[EC2-VPC\] The allocation ID.
|
45878
|
+
# @return [String]
|
45879
|
+
#
|
45880
|
+
# @!attribute [rw] attribute
|
45881
|
+
# The attribute of the IP address.
|
45882
|
+
# @return [String]
|
45883
|
+
#
|
45884
|
+
# @!attribute [rw] dry_run
|
45885
|
+
# Checks whether you have the required permissions for the action,
|
45886
|
+
# without actually making the request, and provides an error response.
|
45887
|
+
# If you have the required permissions, the error response is
|
45888
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
45889
|
+
# @return [Boolean]
|
45890
|
+
#
|
45891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttributeRequest AWS API Documentation
|
45892
|
+
#
|
45893
|
+
class ResetAddressAttributeRequest < Struct.new(
|
45894
|
+
:allocation_id,
|
45895
|
+
:attribute,
|
45896
|
+
:dry_run)
|
45897
|
+
SENSITIVE = []
|
45898
|
+
include Aws::Structure
|
45899
|
+
end
|
45900
|
+
|
45901
|
+
# @!attribute [rw] address
|
45902
|
+
# Information about the IP address.
|
45903
|
+
# @return [Types::AddressAttribute]
|
45904
|
+
#
|
45905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttributeResult AWS API Documentation
|
45906
|
+
#
|
45907
|
+
class ResetAddressAttributeResult < Struct.new(
|
45908
|
+
:address)
|
45909
|
+
SENSITIVE = []
|
45910
|
+
include Aws::Structure
|
45911
|
+
end
|
45912
|
+
|
45583
45913
|
# @note When making an API call, you may pass ResetEbsDefaultKmsKeyIdRequest
|
45584
45914
|
# data as a hash:
|
45585
45915
|
#
|
@@ -46674,6 +47004,7 @@ module Aws::EC2
|
|
46674
47004
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
46675
47005
|
# kms_key_id: "String",
|
46676
47006
|
# throughput: 1,
|
47007
|
+
# outpost_arn: "String",
|
46677
47008
|
# encrypted: false,
|
46678
47009
|
# },
|
46679
47010
|
# no_device: "String",
|
@@ -46828,7 +47159,7 @@ module Aws::EC2
|
|
46828
47159
|
#
|
46829
47160
|
# @!attribute [rw] instance_type
|
46830
47161
|
# The instance type. For more information, see [Instance types][1] in
|
46831
|
-
# the *Amazon
|
47162
|
+
# the *Amazon EC2 User Guide*.
|
46832
47163
|
#
|
46833
47164
|
# Default: `m1.small`
|
46834
47165
|
#
|
@@ -46864,8 +47195,8 @@ module Aws::EC2
|
|
46864
47195
|
# The ID of the kernel.
|
46865
47196
|
#
|
46866
47197
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
46867
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
46868
|
-
#
|
47198
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
47199
|
+
# Guide*.
|
46869
47200
|
#
|
46870
47201
|
#
|
46871
47202
|
#
|
@@ -46933,8 +47264,8 @@ module Aws::EC2
|
|
46933
47264
|
# kernel ID.
|
46934
47265
|
#
|
46935
47266
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
46936
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
46937
|
-
#
|
47267
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
47268
|
+
# Guide*.
|
46938
47269
|
#
|
46939
47270
|
#
|
46940
47271
|
#
|
@@ -47041,7 +47372,7 @@ module Aws::EC2
|
|
47041
47372
|
# @return [Boolean]
|
47042
47373
|
#
|
47043
47374
|
# @!attribute [rw] iam_instance_profile
|
47044
|
-
# The IAM instance profile.
|
47375
|
+
# The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
47045
47376
|
# @return [Types::IamInstanceProfileSpecification]
|
47046
47377
|
#
|
47047
47378
|
# @!attribute [rw] instance_initiated_shutdown_behavior
|
@@ -47076,8 +47407,8 @@ module Aws::EC2
|
|
47076
47407
|
# An elastic GPU to associate with the instance. An Elastic GPU is a
|
47077
47408
|
# GPU resource that you can attach to your Windows instance to
|
47078
47409
|
# accelerate the graphics performance of your applications. For more
|
47079
|
-
# information, see [
|
47080
|
-
#
|
47410
|
+
# information, see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2
|
47411
|
+
# User Guide*.
|
47081
47412
|
#
|
47082
47413
|
#
|
47083
47414
|
#
|
@@ -47125,8 +47456,7 @@ module Aws::EC2
|
|
47125
47456
|
# instance. Valid values are `standard` and `unlimited`. To change
|
47126
47457
|
# this attribute after launch, use [
|
47127
47458
|
# ModifyInstanceCreditSpecification][1]. For more information, see
|
47128
|
-
# [Burstable performance instances][2] in the *Amazon
|
47129
|
-
# Cloud User Guide*.
|
47459
|
+
# [Burstable performance instances][2] in the *Amazon EC2 User Guide*.
|
47130
47460
|
#
|
47131
47461
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
47132
47462
|
#
|
@@ -47138,8 +47468,7 @@ module Aws::EC2
|
|
47138
47468
|
#
|
47139
47469
|
# @!attribute [rw] cpu_options
|
47140
47470
|
# The CPU options for the instance. For more information, see
|
47141
|
-
# [Optimizing CPU options][1] in the *Amazon
|
47142
|
-
# User Guide*.
|
47471
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
47143
47472
|
#
|
47144
47473
|
#
|
47145
47474
|
#
|
@@ -47156,8 +47485,8 @@ module Aws::EC2
|
|
47156
47485
|
#
|
47157
47486
|
# @!attribute [rw] hibernation_options
|
47158
47487
|
# Indicates whether an instance is enabled for hibernation. For more
|
47159
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
47160
|
-
#
|
47488
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2
|
47489
|
+
# User Guide*.
|
47161
47490
|
#
|
47162
47491
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
47163
47492
|
# instance.
|
@@ -47709,8 +48038,8 @@ module Aws::EC2
|
|
47709
48038
|
# @return [Types::ScheduledInstancesEbs]
|
47710
48039
|
#
|
47711
48040
|
# @!attribute [rw] no_device
|
47712
|
-
#
|
47713
|
-
#
|
48041
|
+
# To omit the device from the block device mapping, specify an empty
|
48042
|
+
# string.
|
47714
48043
|
# @return [String]
|
47715
48044
|
#
|
47716
48045
|
# @!attribute [rw] virtual_name
|
@@ -47766,9 +48095,9 @@ module Aws::EC2
|
|
47766
48095
|
# `io1` or `io2` volume, with a maximum ratio of 50 IOPS/GiB for
|
47767
48096
|
# `io1`, and 500 IOPS/GiB for `io2`. Range is 100 to 64,000 IOPS for
|
47768
48097
|
# volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only
|
47769
|
-
# on [Nitro
|
47770
|
-
# performance up to 32,000 IOPS. For more information, see
|
47771
|
-
#
|
48098
|
+
# on [instances built on the Nitro System][1]. Other instance families
|
48099
|
+
# guarantee performance up to 32,000 IOPS. For more information, see
|
48100
|
+
# [Amazon EBS volume types][2] in the *Amazon EC2 User Guide*.
|
47772
48101
|
#
|
47773
48102
|
# This parameter is valid only for Provisioned IOPS SSD (`io1` and
|
47774
48103
|
# `io2`) volumes.
|
@@ -48887,6 +49216,16 @@ module Aws::EC2
|
|
48887
49216
|
# console.
|
48888
49217
|
# @return [String]
|
48889
49218
|
#
|
49219
|
+
# @!attribute [rw] outpost_arn
|
49220
|
+
# The ARN of the AWS Outpost on which the snapshot is stored. For more
|
49221
|
+
# information, see [EBS Local Snapshot on Outposts][1] in the *Amazon
|
49222
|
+
# Elastic Compute Cloud User Guide*.
|
49223
|
+
#
|
49224
|
+
#
|
49225
|
+
#
|
49226
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
|
49227
|
+
# @return [String]
|
49228
|
+
#
|
48890
49229
|
# @!attribute [rw] tags
|
48891
49230
|
# Any tags assigned to the snapshot.
|
48892
49231
|
# @return [Array<Types::Tag>]
|
@@ -48907,6 +49246,7 @@ module Aws::EC2
|
|
48907
49246
|
:volume_id,
|
48908
49247
|
:volume_size,
|
48909
49248
|
:owner_alias,
|
49249
|
+
:outpost_arn,
|
48910
49250
|
:tags)
|
48911
49251
|
SENSITIVE = []
|
48912
49252
|
include Aws::Structure
|
@@ -48993,7 +49333,7 @@ module Aws::EC2
|
|
48993
49333
|
# @!attribute [rw] format
|
48994
49334
|
# The format of the disk image being imported.
|
48995
49335
|
#
|
48996
|
-
# Valid values: `VHD` \| `VMDK`
|
49336
|
+
# Valid values: `VHD` \| `VMDK` \| `RAW`
|
48997
49337
|
# @return [String]
|
48998
49338
|
#
|
48999
49339
|
# @!attribute [rw] url
|
@@ -49060,6 +49400,16 @@ module Aws::EC2
|
|
49060
49400
|
# Snapshot id that can be used to describe this snapshot.
|
49061
49401
|
# @return [String]
|
49062
49402
|
#
|
49403
|
+
# @!attribute [rw] outpost_arn
|
49404
|
+
# The ARN of the AWS Outpost on which the snapshot is stored. For more
|
49405
|
+
# information, see [EBS Local Snapshot on Outposts][1] in the *Amazon
|
49406
|
+
# Elastic Compute Cloud User Guide*.
|
49407
|
+
#
|
49408
|
+
#
|
49409
|
+
#
|
49410
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
|
49411
|
+
# @return [String]
|
49412
|
+
#
|
49063
49413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotInfo AWS API Documentation
|
49064
49414
|
#
|
49065
49415
|
class SnapshotInfo < Struct.new(
|
@@ -49072,7 +49422,8 @@ module Aws::EC2
|
|
49072
49422
|
:start_time,
|
49073
49423
|
:progress,
|
49074
49424
|
:owner_id,
|
49075
|
-
:snapshot_id
|
49425
|
+
:snapshot_id,
|
49426
|
+
:outpost_arn)
|
49076
49427
|
SENSITIVE = []
|
49077
49428
|
include Aws::Structure
|
49078
49429
|
end
|
@@ -49250,6 +49601,7 @@ module Aws::EC2
|
|
49250
49601
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
49251
49602
|
# kms_key_id: "String",
|
49252
49603
|
# throughput: 1,
|
49604
|
+
# outpost_arn: "String",
|
49253
49605
|
# encrypted: false,
|
49254
49606
|
# },
|
49255
49607
|
# no_device: "String",
|
@@ -49562,6 +49914,7 @@ module Aws::EC2
|
|
49562
49914
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
49563
49915
|
# kms_key_id: "String",
|
49564
49916
|
# throughput: 1,
|
49917
|
+
# outpost_arn: "String",
|
49565
49918
|
# encrypted: false,
|
49566
49919
|
# },
|
49567
49920
|
# no_device: "String",
|
@@ -50193,9 +50546,8 @@ module Aws::EC2
|
|
50193
50546
|
#
|
50194
50547
|
# @!attribute [rw] spot_instance_type
|
50195
50548
|
# The Spot Instance request type. For [RunInstances][1], persistent
|
50196
|
-
# Spot Instance requests are only supported when
|
50197
|
-
#
|
50198
|
-
# `stop`.
|
50549
|
+
# Spot Instance requests are only supported when the instance
|
50550
|
+
# interruption behavior is either `hibernate` or `stop`.
|
50199
50551
|
#
|
50200
50552
|
#
|
50201
50553
|
#
|
@@ -50822,7 +51174,7 @@ module Aws::EC2
|
|
50822
51174
|
# Hibernates the instance if the instance was enabled for hibernation
|
50823
51175
|
# at launch. If the instance cannot hibernate successfully, a normal
|
50824
51176
|
# shutdown occurs. For more information, see [Hibernate your
|
50825
|
-
# instance][1] in the *Amazon
|
51177
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
50826
51178
|
#
|
50827
51179
|
# Default: `false`
|
50828
51180
|
#
|
@@ -51252,7 +51604,7 @@ module Aws::EC2
|
|
51252
51604
|
# willing to pay. When the maximum amount you're willing to pay is
|
51253
51605
|
# reached, the fleet stops launching instances even if it hasn’t met the
|
51254
51606
|
# target capacity. The `MaxTotalPrice` parameters are located in
|
51255
|
-
# [OnDemandOptions][1] and [SpotOptions][2]
|
51607
|
+
# [OnDemandOptions][1] and [SpotOptions][2].
|
51256
51608
|
#
|
51257
51609
|
#
|
51258
51610
|
#
|