aws-sdk-ec2 1.557.0 → 1.559.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +87 -81
- data/lib/aws-sdk-ec2/client_api.rb +42 -0
- data/lib/aws-sdk-ec2/placement_group.rb +10 -9
- data/lib/aws-sdk-ec2/resource.rb +11 -10
- data/lib/aws-sdk-ec2/route.rb +3 -0
- data/lib/aws-sdk-ec2/snapshot.rb +4 -4
- data/lib/aws-sdk-ec2/subnet.rb +11 -10
- data/lib/aws-sdk-ec2/types.rb +212 -52
- data/lib/aws-sdk-ec2/vpc.rb +10 -9
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +24 -16
- data/sig/instance.rbs +1 -1
- data/sig/resource.rbs +1 -1
- data/sig/subnet.rbs +1 -1
- data/sig/types.rbs +53 -25
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7707,9 +7707,9 @@ module Aws::EC2
|
|
7707
7707
|
# @!attribute [rw] encrypted
|
7708
7708
|
# To encrypt a copy of an unencrypted snapshot if encryption by
|
7709
7709
|
# default is not enabled, enable encryption using this parameter.
|
7710
|
-
# Otherwise, omit this parameter.
|
7711
|
-
# even if you omit this parameter and encryption by default
|
7712
|
-
# enabled. You cannot set this parameter to false. For more
|
7710
|
+
# Otherwise, omit this parameter. Copies of encrypted snapshots are
|
7711
|
+
# encrypted, even if you omit this parameter and encryption by default
|
7712
|
+
# is not enabled. You cannot set this parameter to false. For more
|
7713
7713
|
# information, see [Amazon EBS encryption][1] in the *Amazon EBS User
|
7714
7714
|
# Guide*.
|
7715
7715
|
#
|
@@ -15796,6 +15796,38 @@ module Aws::EC2
|
|
15796
15796
|
include Aws::Structure
|
15797
15797
|
end
|
15798
15798
|
|
15799
|
+
# The maximum age for allowed images.
|
15800
|
+
#
|
15801
|
+
# @!attribute [rw] maximum_days_since_created
|
15802
|
+
# The maximum number of days that have elapsed since the image was
|
15803
|
+
# created. For example, a value of `300` allows images that were
|
15804
|
+
# created within the last 300 days.
|
15805
|
+
# @return [Integer]
|
15806
|
+
#
|
15807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreationDateCondition AWS API Documentation
|
15808
|
+
#
|
15809
|
+
class CreationDateCondition < Struct.new(
|
15810
|
+
:maximum_days_since_created)
|
15811
|
+
SENSITIVE = []
|
15812
|
+
include Aws::Structure
|
15813
|
+
end
|
15814
|
+
|
15815
|
+
# The maximum age for allowed images.
|
15816
|
+
#
|
15817
|
+
# @!attribute [rw] maximum_days_since_created
|
15818
|
+
# The maximum number of days that have elapsed since the image was
|
15819
|
+
# created. For example, a value of `300` allows images that were
|
15820
|
+
# created within the last 300 days.
|
15821
|
+
# @return [Integer]
|
15822
|
+
#
|
15823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreationDateConditionRequest AWS API Documentation
|
15824
|
+
#
|
15825
|
+
class CreationDateConditionRequest < Struct.new(
|
15826
|
+
:maximum_days_since_created)
|
15827
|
+
SENSITIVE = []
|
15828
|
+
include Aws::Structure
|
15829
|
+
end
|
15830
|
+
|
15799
15831
|
# Describes the credit option for CPU usage of a T instance.
|
15800
15832
|
#
|
15801
15833
|
# @!attribute [rw] cpu_credits
|
@@ -18941,6 +18973,36 @@ module Aws::EC2
|
|
18941
18973
|
include Aws::Structure
|
18942
18974
|
end
|
18943
18975
|
|
18976
|
+
# The maximum period since deprecation for allowed images.
|
18977
|
+
#
|
18978
|
+
# @!attribute [rw] maximum_days_since_deprecated
|
18979
|
+
# The maximum number of days that have elapsed since the image was
|
18980
|
+
# deprecated. When set to `0`, no deprecated images are allowed.
|
18981
|
+
# @return [Integer]
|
18982
|
+
#
|
18983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprecationTimeCondition AWS API Documentation
|
18984
|
+
#
|
18985
|
+
class DeprecationTimeCondition < Struct.new(
|
18986
|
+
:maximum_days_since_deprecated)
|
18987
|
+
SENSITIVE = []
|
18988
|
+
include Aws::Structure
|
18989
|
+
end
|
18990
|
+
|
18991
|
+
# The maximum period since deprecation for allowed images.
|
18992
|
+
#
|
18993
|
+
# @!attribute [rw] maximum_days_since_deprecated
|
18994
|
+
# The maximum number of days that have elapsed since the image was
|
18995
|
+
# deprecated. Set to `0` to exclude all deprecated images.
|
18996
|
+
# @return [Integer]
|
18997
|
+
#
|
18998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprecationTimeConditionRequest AWS API Documentation
|
18999
|
+
#
|
19000
|
+
class DeprecationTimeConditionRequest < Struct.new(
|
19001
|
+
:maximum_days_since_deprecated)
|
19002
|
+
SENSITIVE = []
|
19003
|
+
include Aws::Structure
|
19004
|
+
end
|
19005
|
+
|
18944
19006
|
# @!attribute [rw] cidr
|
18945
19007
|
# The address range, in CIDR notation. The prefix must be the same
|
18946
19008
|
# prefix that you specified when you provisioned the address range.
|
@@ -22667,7 +22729,7 @@ module Aws::EC2
|
|
22667
22729
|
#
|
22668
22730
|
#
|
22669
22731
|
#
|
22670
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-ami-references-works
|
22732
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ami-references.html#how-ami-references-works
|
22671
22733
|
# @return [Boolean]
|
22672
22734
|
#
|
22673
22735
|
# @!attribute [rw] resource_types
|
@@ -24554,15 +24616,16 @@ module Aws::EC2
|
|
24554
24616
|
#
|
24555
24617
|
# * `platform-details` - The platform (`Linux/UNIX` \| `Red Hat BYOL
|
24556
24618
|
# Linux` \| ` Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
|
24557
|
-
# with HA` \| `Red Hat Enterprise Linux with
|
24558
|
-
#
|
24559
|
-
#
|
24560
|
-
# Hat Enterprise Linux with SQL Server
|
24561
|
-
# Linux with SQL Server
|
24562
|
-
#
|
24563
|
-
#
|
24564
|
-
#
|
24565
|
-
# `Windows with SQL Server
|
24619
|
+
# with HA` \| `Red Hat Enterprise Linux with High Availability` \|
|
24620
|
+
# `Red Hat Enterprise Linux with SQL Server Standard and HA` \| `Red
|
24621
|
+
# Hat Enterprise Linux with SQL Server Enterprise and HA` \| `Red
|
24622
|
+
# Hat Enterprise Linux with SQL Server Standard` \| `Red Hat
|
24623
|
+
# Enterprise Linux with SQL Server Web` \| `Red Hat Enterprise Linux
|
24624
|
+
# with SQL Server Enterprise` \| `SQL Server Enterprise` \| `SQL
|
24625
|
+
# Server Standard` \| `SQL Server Web` \| `SUSE Linux` \| `Ubuntu
|
24626
|
+
# Pro` \| `Windows` \| `Windows BYOL` \| `Windows with SQL Server
|
24627
|
+
# Enterprise` \| `Windows with SQL Server Standard` \| `Windows with
|
24628
|
+
# SQL Server Web`).
|
24566
24629
|
#
|
24567
24630
|
# * `private-dns-name` - The private IPv4 DNS name of the instance.
|
24568
24631
|
#
|
@@ -43722,87 +43785,181 @@ module Aws::EC2
|
|
43722
43785
|
include Aws::Structure
|
43723
43786
|
end
|
43724
43787
|
|
43725
|
-
# The
|
43726
|
-
# discoverable and usable in
|
43727
|
-
# Services Region.
|
43728
|
-
# are AMI providers.
|
43788
|
+
# The criteria that are evaluated to determine which AMIs are
|
43789
|
+
# discoverable and usable in your account for the specified Amazon Web
|
43790
|
+
# Services Region.
|
43729
43791
|
#
|
43730
|
-
#
|
43731
|
-
# of 200 values for all `imageProviders`. For more information, see
|
43732
|
-
# [JSON configuration for the Allowed AMIs criteria][1] in the *Amazon
|
43792
|
+
# For more information, see [How Allowed AMIs works][1] in the *Amazon
|
43733
43793
|
# EC2 User Guide*.
|
43734
43794
|
#
|
43735
43795
|
#
|
43736
43796
|
#
|
43737
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#allowed-amis-
|
43797
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works
|
43738
43798
|
#
|
43739
43799
|
# @!attribute [rw] image_providers
|
43740
|
-
#
|
43741
|
-
# the account. Up to a total of 200 values can be specified.
|
43800
|
+
# The image providers whose images are allowed.
|
43742
43801
|
#
|
43743
43802
|
# Possible values:
|
43744
43803
|
#
|
43745
|
-
# `amazon`: Allow AMIs created by Amazon
|
43804
|
+
# * `amazon`: Allow AMIs created by Amazon or verified providers.
|
43805
|
+
#
|
43806
|
+
# * `aws-marketplace`: Allow AMIs created by verified providers in the
|
43807
|
+
# Amazon Web Services Marketplace.
|
43808
|
+
#
|
43809
|
+
# * `aws-backup-vault`: Allow AMIs created by Amazon Web Services
|
43810
|
+
# Backup.
|
43811
|
+
#
|
43812
|
+
# * 12-digit account ID: Allow AMIs created by this account. One or
|
43813
|
+
# more account IDs can be specified.
|
43814
|
+
#
|
43815
|
+
# * `none`: Allow AMIs created by your own account only.
|
43816
|
+
#
|
43817
|
+
# Maximum: 200 values
|
43818
|
+
# @return [Array<String>]
|
43819
|
+
#
|
43820
|
+
# @!attribute [rw] marketplace_product_codes
|
43821
|
+
# The Amazon Web Services Marketplace product codes for allowed
|
43822
|
+
# images.
|
43823
|
+
#
|
43824
|
+
# Length: 1-25 characters
|
43825
|
+
#
|
43826
|
+
# Valid characters: Letters (`A–Z, a–z`) and numbers (`0–9`)
|
43827
|
+
#
|
43828
|
+
# Maximum: 50 values
|
43829
|
+
# @return [Array<String>]
|
43830
|
+
#
|
43831
|
+
# @!attribute [rw] image_names
|
43832
|
+
# The names of allowed images. Names can include wildcards (`?` and
|
43833
|
+
# `*`).
|
43834
|
+
#
|
43835
|
+
# Length: 1–128 characters. With `?`, the minimum is 3 characters.
|
43836
|
+
#
|
43837
|
+
# Valid characters:
|
43838
|
+
#
|
43839
|
+
# * Letters: `A–Z, a–z`
|
43746
43840
|
#
|
43747
|
-
#
|
43748
|
-
# Amazon Web Services Marketplace.
|
43841
|
+
# * Numbers: `0–9`
|
43749
43842
|
#
|
43750
|
-
# `
|
43751
|
-
# Backup.
|
43843
|
+
# * Special characters: `( ) [ ] . / - ' @ _ * ?`
|
43752
43844
|
#
|
43753
|
-
#
|
43754
|
-
# account IDs can be specified.
|
43845
|
+
# * Spaces
|
43755
43846
|
#
|
43756
|
-
#
|
43847
|
+
# Maximum: 50 values
|
43757
43848
|
# @return [Array<String>]
|
43758
43849
|
#
|
43850
|
+
# @!attribute [rw] deprecation_time_condition
|
43851
|
+
# The maximum period since deprecation for allowed images.
|
43852
|
+
# @return [Types::DeprecationTimeCondition]
|
43853
|
+
#
|
43854
|
+
# @!attribute [rw] creation_date_condition
|
43855
|
+
# The maximum age for allowed images.
|
43856
|
+
# @return [Types::CreationDateCondition]
|
43857
|
+
#
|
43759
43858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageCriterion AWS API Documentation
|
43760
43859
|
#
|
43761
43860
|
class ImageCriterion < Struct.new(
|
43762
|
-
:image_providers
|
43861
|
+
:image_providers,
|
43862
|
+
:marketplace_product_codes,
|
43863
|
+
:image_names,
|
43864
|
+
:deprecation_time_condition,
|
43865
|
+
:creation_date_condition)
|
43763
43866
|
SENSITIVE = []
|
43764
43867
|
include Aws::Structure
|
43765
43868
|
end
|
43766
43869
|
|
43767
|
-
# The
|
43768
|
-
# discoverable and usable in
|
43769
|
-
# Services Region.
|
43770
|
-
#
|
43870
|
+
# The criteria that are evaluated to determine which AMIs are
|
43871
|
+
# discoverable and usable in your account for the specified Amazon Web
|
43872
|
+
# Services Region.
|
43873
|
+
#
|
43874
|
+
# The `ImageCriteria` can include up to:
|
43875
|
+
#
|
43876
|
+
# * 10 `ImageCriterion`
|
43877
|
+
#
|
43878
|
+
# ^
|
43879
|
+
#
|
43880
|
+
# Each `ImageCriterion` can include up to:
|
43881
|
+
#
|
43882
|
+
# * 200 values for `ImageProviders`
|
43883
|
+
#
|
43884
|
+
# * 50 values for `ImageNames`
|
43885
|
+
#
|
43886
|
+
# * 50 values for `MarketplaceProductCodes`
|
43771
43887
|
#
|
43772
|
-
#
|
43773
|
-
# of 200 values for all `imageProviders`. For more information, see
|
43774
|
-
# [JSON configuration for the Allowed AMIs criteria][1] in the *Amazon
|
43888
|
+
# For more information, see [How Allowed AMIs works][1] in the *Amazon
|
43775
43889
|
# EC2 User Guide*.
|
43776
43890
|
#
|
43777
43891
|
#
|
43778
43892
|
#
|
43779
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#allowed-amis-
|
43893
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#how-allowed-amis-works
|
43780
43894
|
#
|
43781
43895
|
# @!attribute [rw] image_providers
|
43782
|
-
#
|
43783
|
-
# the account. Up to a total of 200 values can be specified.
|
43896
|
+
# The image providers whose images are allowed.
|
43784
43897
|
#
|
43785
43898
|
# Possible values:
|
43786
43899
|
#
|
43787
|
-
# `amazon`: Allow AMIs created by Amazon
|
43900
|
+
# * `amazon`: Allow AMIs created by Amazon or verified providers.
|
43788
43901
|
#
|
43789
|
-
# `aws-marketplace`: Allow AMIs created by verified providers in the
|
43790
|
-
#
|
43902
|
+
# * `aws-marketplace`: Allow AMIs created by verified providers in the
|
43903
|
+
# Amazon Web Services Marketplace.
|
43791
43904
|
#
|
43792
|
-
# `aws-backup-vault`: Allow AMIs created by Amazon Web Services
|
43793
|
-
#
|
43905
|
+
# * `aws-backup-vault`: Allow AMIs created by Amazon Web Services
|
43906
|
+
# Backup.
|
43794
43907
|
#
|
43795
|
-
# 12-digit account ID: Allow AMIs created by
|
43796
|
-
#
|
43908
|
+
# * 12-digit account ID: Allow AMIs created by the specified accounts.
|
43909
|
+
# One or more account IDs can be specified.
|
43797
43910
|
#
|
43798
|
-
# `none`: Allow AMIs created by your own account only. When `none`
|
43799
|
-
#
|
43911
|
+
# * `none`: Allow AMIs created by your own account only. When `none`
|
43912
|
+
# is specified, no other values can be specified.
|
43913
|
+
#
|
43914
|
+
# Maximum: 200 values
|
43915
|
+
# @return [Array<String>]
|
43916
|
+
#
|
43917
|
+
# @!attribute [rw] marketplace_product_codes
|
43918
|
+
# The Amazon Web Services Marketplace product codes for allowed
|
43919
|
+
# images.
|
43920
|
+
#
|
43921
|
+
# Length: 1-25 characters
|
43922
|
+
#
|
43923
|
+
# Valid characters: Letters (`A–Z, a–z`) and numbers (`0–9`)
|
43924
|
+
#
|
43925
|
+
# Maximum: 50 values
|
43926
|
+
# @return [Array<String>]
|
43927
|
+
#
|
43928
|
+
# @!attribute [rw] image_names
|
43929
|
+
# The names of allowed images. Names can include wildcards (`?` and
|
43930
|
+
# `*`).
|
43931
|
+
#
|
43932
|
+
# Length: 1–128 characters. With `?`, the minimum is 3 characters.
|
43933
|
+
#
|
43934
|
+
# Valid characters:
|
43935
|
+
#
|
43936
|
+
# * Letters: `A–Z, a–z`
|
43937
|
+
#
|
43938
|
+
# * Numbers: `0–9`
|
43939
|
+
#
|
43940
|
+
# * Special characters: `( ) [ ] . / - ' @ _ * ?`
|
43941
|
+
#
|
43942
|
+
# * Spaces
|
43943
|
+
#
|
43944
|
+
# Maximum: 50 values
|
43800
43945
|
# @return [Array<String>]
|
43801
43946
|
#
|
43947
|
+
# @!attribute [rw] deprecation_time_condition
|
43948
|
+
# The maximum period since deprecation for allowed images.
|
43949
|
+
# @return [Types::DeprecationTimeConditionRequest]
|
43950
|
+
#
|
43951
|
+
# @!attribute [rw] creation_date_condition
|
43952
|
+
# The maximum age for allowed images.
|
43953
|
+
# @return [Types::CreationDateConditionRequest]
|
43954
|
+
#
|
43802
43955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageCriterionRequest AWS API Documentation
|
43803
43956
|
#
|
43804
43957
|
class ImageCriterionRequest < Struct.new(
|
43805
|
-
:image_providers
|
43958
|
+
:image_providers,
|
43959
|
+
:marketplace_product_codes,
|
43960
|
+
:image_names,
|
43961
|
+
:deprecation_time_condition,
|
43962
|
+
:creation_date_condition)
|
43806
43963
|
SENSITIVE = []
|
43807
43964
|
include Aws::Structure
|
43808
43965
|
end
|
@@ -67716,6 +67873,9 @@ module Aws::EC2
|
|
67716
67873
|
#
|
67717
67874
|
# * `EnableVgwRoutePropagation` - The route was propagated by route
|
67718
67875
|
# propagation.
|
67876
|
+
#
|
67877
|
+
# * `Advertisement` - The route was created dynamically by Amazon VPC
|
67878
|
+
# Route Server.
|
67719
67879
|
# @return [String]
|
67720
67880
|
#
|
67721
67881
|
# @!attribute [rw] state
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1373,15 +1373,16 @@ module Aws::EC2
|
|
1373
1373
|
#
|
1374
1374
|
# * `platform-details` - The platform (`Linux/UNIX` \| `Red Hat BYOL
|
1375
1375
|
# Linux` \| ` Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
|
1376
|
-
# with HA` \| `Red Hat Enterprise Linux with
|
1377
|
-
#
|
1378
|
-
#
|
1379
|
-
# Enterprise Linux with SQL Server
|
1380
|
-
# with SQL Server
|
1381
|
-
# Server
|
1382
|
-
# \| `
|
1383
|
-
#
|
1384
|
-
# SQL Server
|
1376
|
+
# with HA` \| `Red Hat Enterprise Linux with High Availability` \|
|
1377
|
+
# `Red Hat Enterprise Linux with SQL Server Standard and HA` \| `Red
|
1378
|
+
# Hat Enterprise Linux with SQL Server Enterprise and HA` \| `Red Hat
|
1379
|
+
# Enterprise Linux with SQL Server Standard` \| `Red Hat Enterprise
|
1380
|
+
# Linux with SQL Server Web` \| `Red Hat Enterprise Linux with SQL
|
1381
|
+
# Server Enterprise` \| `SQL Server Enterprise` \| `SQL Server
|
1382
|
+
# Standard` \| `SQL Server Web` \| `SUSE Linux` \| `Ubuntu Pro` \|
|
1383
|
+
# `Windows` \| `Windows BYOL` \| `Windows with SQL Server Enterprise`
|
1384
|
+
# \| `Windows with SQL Server Standard` \| `Windows with SQL Server
|
1385
|
+
# Web`).
|
1385
1386
|
#
|
1386
1387
|
# * `private-dns-name` - The private IPv4 DNS name of the instance.
|
1387
1388
|
#
|