aws-sdk-ec2 1.296.0 → 1.300.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +289 -72
- data/lib/aws-sdk-ec2/client_api.rb +55 -0
- data/lib/aws-sdk-ec2/resource.rb +10 -7
- data/lib/aws-sdk-ec2/subnet.rb +10 -7
- data/lib/aws-sdk-ec2/types.rb +328 -71
- data/lib/aws-sdk-ec2/vpc.rb +8 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +4 -4
@@ -1344,6 +1344,8 @@ module Aws::EC2
|
|
1344
1344
|
ImageIdList = Shapes::ListShape.new(name: 'ImageIdList')
|
1345
1345
|
ImageIdStringList = Shapes::ListShape.new(name: 'ImageIdStringList')
|
1346
1346
|
ImageList = Shapes::ListShape.new(name: 'ImageList')
|
1347
|
+
ImageRecycleBinInfo = Shapes::StructureShape.new(name: 'ImageRecycleBinInfo')
|
1348
|
+
ImageRecycleBinInfoList = Shapes::ListShape.new(name: 'ImageRecycleBinInfoList')
|
1347
1349
|
ImageState = Shapes::StringShape.new(name: 'ImageState')
|
1348
1350
|
ImageTypeValues = Shapes::StringShape.new(name: 'ImageTypeValues')
|
1349
1351
|
ImportClientVpnClientCertificateRevocationListRequest = Shapes::StructureShape.new(name: 'ImportClientVpnClientCertificateRevocationListRequest')
|
@@ -1657,6 +1659,9 @@ module Aws::EC2
|
|
1657
1659
|
LicenseConfigurationRequest = Shapes::StructureShape.new(name: 'LicenseConfigurationRequest')
|
1658
1660
|
LicenseList = Shapes::ListShape.new(name: 'LicenseList')
|
1659
1661
|
LicenseSpecificationListRequest = Shapes::ListShape.new(name: 'LicenseSpecificationListRequest')
|
1662
|
+
ListImagesInRecycleBinMaxResults = Shapes::IntegerShape.new(name: 'ListImagesInRecycleBinMaxResults')
|
1663
|
+
ListImagesInRecycleBinRequest = Shapes::StructureShape.new(name: 'ListImagesInRecycleBinRequest')
|
1664
|
+
ListImagesInRecycleBinResult = Shapes::StructureShape.new(name: 'ListImagesInRecycleBinResult')
|
1660
1665
|
ListSnapshotsInRecycleBinMaxResults = Shapes::IntegerShape.new(name: 'ListSnapshotsInRecycleBinMaxResults')
|
1661
1666
|
ListSnapshotsInRecycleBinRequest = Shapes::StructureShape.new(name: 'ListSnapshotsInRecycleBinRequest')
|
1662
1667
|
ListSnapshotsInRecycleBinResult = Shapes::StructureShape.new(name: 'ListSnapshotsInRecycleBinResult')
|
@@ -2179,6 +2184,8 @@ module Aws::EC2
|
|
2179
2184
|
RestorableByStringList = Shapes::ListShape.new(name: 'RestorableByStringList')
|
2180
2185
|
RestoreAddressToClassicRequest = Shapes::StructureShape.new(name: 'RestoreAddressToClassicRequest')
|
2181
2186
|
RestoreAddressToClassicResult = Shapes::StructureShape.new(name: 'RestoreAddressToClassicResult')
|
2187
|
+
RestoreImageFromRecycleBinRequest = Shapes::StructureShape.new(name: 'RestoreImageFromRecycleBinRequest')
|
2188
|
+
RestoreImageFromRecycleBinResult = Shapes::StructureShape.new(name: 'RestoreImageFromRecycleBinResult')
|
2182
2189
|
RestoreManagedPrefixListVersionRequest = Shapes::StructureShape.new(name: 'RestoreManagedPrefixListVersionRequest')
|
2183
2190
|
RestoreManagedPrefixListVersionResult = Shapes::StructureShape.new(name: 'RestoreManagedPrefixListVersionResult')
|
2184
2191
|
RestoreSnapshotFromRecycleBinRequest = Shapes::StructureShape.new(name: 'RestoreSnapshotFromRecycleBinRequest')
|
@@ -8040,6 +8047,15 @@ module Aws::EC2
|
|
8040
8047
|
|
8041
8048
|
ImageList.member = Shapes::ShapeRef.new(shape: Image, location_name: "item")
|
8042
8049
|
|
8050
|
+
ImageRecycleBinInfo.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
8051
|
+
ImageRecycleBinInfo.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
8052
|
+
ImageRecycleBinInfo.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
8053
|
+
ImageRecycleBinInfo.add_member(:recycle_bin_enter_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "recycleBinEnterTime"))
|
8054
|
+
ImageRecycleBinInfo.add_member(:recycle_bin_exit_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "recycleBinExitTime"))
|
8055
|
+
ImageRecycleBinInfo.struct_class = Types::ImageRecycleBinInfo
|
8056
|
+
|
8057
|
+
ImageRecycleBinInfoList.member = Shapes::ShapeRef.new(shape: ImageRecycleBinInfo, location_name: "item")
|
8058
|
+
|
8043
8059
|
ImportClientVpnClientCertificateRevocationListRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
8044
8060
|
ImportClientVpnClientCertificateRevocationListRequest.add_member(:certificate_revocation_list, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CertificateRevocationList"))
|
8045
8061
|
ImportClientVpnClientCertificateRevocationListRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -9250,6 +9266,16 @@ module Aws::EC2
|
|
9250
9266
|
|
9251
9267
|
LicenseSpecificationListRequest.member = Shapes::ShapeRef.new(shape: LicenseConfigurationRequest, location_name: "item")
|
9252
9268
|
|
9269
|
+
ListImagesInRecycleBinRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdStringList, location_name: "ImageId"))
|
9270
|
+
ListImagesInRecycleBinRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
9271
|
+
ListImagesInRecycleBinRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListImagesInRecycleBinMaxResults, location_name: "MaxResults"))
|
9272
|
+
ListImagesInRecycleBinRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9273
|
+
ListImagesInRecycleBinRequest.struct_class = Types::ListImagesInRecycleBinRequest
|
9274
|
+
|
9275
|
+
ListImagesInRecycleBinResult.add_member(:images, Shapes::ShapeRef.new(shape: ImageRecycleBinInfoList, location_name: "imageSet"))
|
9276
|
+
ListImagesInRecycleBinResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
9277
|
+
ListImagesInRecycleBinResult.struct_class = Types::ListImagesInRecycleBinResult
|
9278
|
+
|
9253
9279
|
ListSnapshotsInRecycleBinRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSnapshotsInRecycleBinMaxResults, location_name: "MaxResults"))
|
9254
9280
|
ListSnapshotsInRecycleBinRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
9255
9281
|
ListSnapshotsInRecycleBinRequest.add_member(:snapshot_ids, Shapes::ShapeRef.new(shape: SnapshotIdStringList, location_name: "SnapshotId"))
|
@@ -11263,6 +11289,13 @@ module Aws::EC2
|
|
11263
11289
|
RestoreAddressToClassicResult.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
11264
11290
|
RestoreAddressToClassicResult.struct_class = Types::RestoreAddressToClassicResult
|
11265
11291
|
|
11292
|
+
RestoreImageFromRecycleBinRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
11293
|
+
RestoreImageFromRecycleBinRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
11294
|
+
RestoreImageFromRecycleBinRequest.struct_class = Types::RestoreImageFromRecycleBinRequest
|
11295
|
+
|
11296
|
+
RestoreImageFromRecycleBinResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
11297
|
+
RestoreImageFromRecycleBinResult.struct_class = Types::RestoreImageFromRecycleBinResult
|
11298
|
+
|
11266
11299
|
RestoreManagedPrefixListVersionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
11267
11300
|
RestoreManagedPrefixListVersionRequest.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: PrefixListResourceId, required: true, location_name: "PrefixListId"))
|
11268
11301
|
RestoreManagedPrefixListVersionRequest.add_member(:previous_version, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "PreviousVersion"))
|
@@ -17014,6 +17047,20 @@ module Aws::EC2
|
|
17014
17047
|
o.output = Shapes::ShapeRef.new(shape: ImportVolumeResult)
|
17015
17048
|
end)
|
17016
17049
|
|
17050
|
+
api.add_operation(:list_images_in_recycle_bin, Seahorse::Model::Operation.new.tap do |o|
|
17051
|
+
o.name = "ListImagesInRecycleBin"
|
17052
|
+
o.http_method = "POST"
|
17053
|
+
o.http_request_uri = "/"
|
17054
|
+
o.input = Shapes::ShapeRef.new(shape: ListImagesInRecycleBinRequest)
|
17055
|
+
o.output = Shapes::ShapeRef.new(shape: ListImagesInRecycleBinResult)
|
17056
|
+
o[:pager] = Aws::Pager.new(
|
17057
|
+
limit_key: "max_results",
|
17058
|
+
tokens: {
|
17059
|
+
"next_token" => "next_token"
|
17060
|
+
}
|
17061
|
+
)
|
17062
|
+
end)
|
17063
|
+
|
17017
17064
|
api.add_operation(:list_snapshots_in_recycle_bin, Seahorse::Model::Operation.new.tap do |o|
|
17018
17065
|
o.name = "ListSnapshotsInRecycleBin"
|
17019
17066
|
o.http_method = "POST"
|
@@ -17772,6 +17819,14 @@ module Aws::EC2
|
|
17772
17819
|
o.output = Shapes::ShapeRef.new(shape: RestoreAddressToClassicResult)
|
17773
17820
|
end)
|
17774
17821
|
|
17822
|
+
api.add_operation(:restore_image_from_recycle_bin, Seahorse::Model::Operation.new.tap do |o|
|
17823
|
+
o.name = "RestoreImageFromRecycleBin"
|
17824
|
+
o.http_method = "POST"
|
17825
|
+
o.http_request_uri = "/"
|
17826
|
+
o.input = Shapes::ShapeRef.new(shape: RestoreImageFromRecycleBinRequest)
|
17827
|
+
o.output = Shapes::ShapeRef.new(shape: RestoreImageFromRecycleBinResult)
|
17828
|
+
end)
|
17829
|
+
|
17775
17830
|
api.add_operation(:restore_managed_prefix_list_version, Seahorse::Model::Operation.new.tap do |o|
|
17776
17831
|
o.name = "RestoreManagedPrefixListVersion"
|
17777
17832
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -855,14 +855,9 @@ module Aws::EC2
|
|
855
855
|
# assigns to the network interface. You cannot use this option if you
|
856
856
|
# use the `Ipv6Prefixes` option.
|
857
857
|
# @option options [String] :interface_type
|
858
|
-
#
|
859
|
-
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
860
|
-
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
861
|
-
# To create a trunk network interface, specify `trunk`.
|
858
|
+
# The type of network interface. The default is `interface`.
|
862
859
|
#
|
863
|
-
#
|
864
|
-
#
|
865
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
860
|
+
# The only supported values are `efa` and `trunk`.
|
866
861
|
# @option options [required, String] :subnet_id
|
867
862
|
# The ID of the subnet to associate with the network interface.
|
868
863
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -2828,6 +2823,14 @@ module Aws::EC2
|
|
2828
2823
|
# * `ipv6-addresses.ipv6-address` - An IPv6 address associated with the
|
2829
2824
|
# network interface.
|
2830
2825
|
#
|
2826
|
+
# * `interface-type` - The type of network interface
|
2827
|
+
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
2828
|
+
# `branch` \| `efa` \| `gateway_load_balancer` \|
|
2829
|
+
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
2830
|
+
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
2831
|
+
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
2832
|
+
# `transit_gateway` \| `trunk` \| `vpc_endpoint`).
|
2833
|
+
#
|
2831
2834
|
# * `mac-address` - The MAC address of the network interface.
|
2832
2835
|
#
|
2833
2836
|
# * `network-interface-id` - The ID of the network interface.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -899,14 +899,9 @@ module Aws::EC2
|
|
899
899
|
# assigns to the network interface. You cannot use this option if you
|
900
900
|
# use the `Ipv6Prefixes` option.
|
901
901
|
# @option options [String] :interface_type
|
902
|
-
#
|
903
|
-
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
904
|
-
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
905
|
-
# To create a trunk network interface, specify `trunk`.
|
902
|
+
# The type of network interface. The default is `interface`.
|
906
903
|
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
904
|
+
# The only supported values are `efa` and `trunk`.
|
910
905
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
911
906
|
# The tags to apply to the new network interface.
|
912
907
|
# @option options [String] :client_token
|
@@ -1499,6 +1494,14 @@ module Aws::EC2
|
|
1499
1494
|
# * `ipv6-addresses.ipv6-address` - An IPv6 address associated with the
|
1500
1495
|
# network interface.
|
1501
1496
|
#
|
1497
|
+
# * `interface-type` - The type of network interface
|
1498
|
+
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
1499
|
+
# `branch` \| `efa` \| `gateway_load_balancer` \|
|
1500
|
+
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
1501
|
+
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
1502
|
+
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
1503
|
+
# `transit_gateway` \| `trunk` \| `vpc_endpoint`).
|
1504
|
+
#
|
1502
1505
|
# * `mac-address` - The MAC address of the network interface.
|
1503
1506
|
#
|
1504
1507
|
# * `network-interface-id` - The ID of the network interface.
|