aws-sdk-ec2 1.78.0 → 1.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +157 -141
- data/lib/aws-sdk-ec2/client_api.rb +6 -2
- data/lib/aws-sdk-ec2/instance.rb +8 -12
- data/lib/aws-sdk-ec2/placement_group.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +40 -42
- data/lib/aws-sdk-ec2/security_group.rb +10 -14
- data/lib/aws-sdk-ec2/snapshot.rb +8 -4
- data/lib/aws-sdk-ec2/subnet.rb +15 -15
- data/lib/aws-sdk-ec2/types.rb +151 -150
- data/lib/aws-sdk-ec2/volume.rb +8 -9
- data/lib/aws-sdk-ec2/vpc.rb +7 -7
- metadata +2 -2
@@ -930,6 +930,7 @@ module Aws::EC2
|
|
930
930
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
931
931
|
MarketType = Shapes::StringShape.new(name: 'MarketType')
|
932
932
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
933
|
+
MillisecondDateTime = Shapes::TimestampShape.new(name: 'MillisecondDateTime')
|
933
934
|
ModifyCapacityReservationRequest = Shapes::StructureShape.new(name: 'ModifyCapacityReservationRequest')
|
934
935
|
ModifyCapacityReservationResult = Shapes::StructureShape.new(name: 'ModifyCapacityReservationResult')
|
935
936
|
ModifyClientVpnEndpointRequest = Shapes::StructureShape.new(name: 'ModifyClientVpnEndpointRequest')
|
@@ -6661,6 +6662,7 @@ module Aws::EC2
|
|
6661
6662
|
ServiceConfiguration.add_member(:service_state, Shapes::ShapeRef.new(shape: ServiceState, location_name: "serviceState"))
|
6662
6663
|
ServiceConfiguration.add_member(:availability_zones, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "availabilityZoneSet"))
|
6663
6664
|
ServiceConfiguration.add_member(:acceptance_required, Shapes::ShapeRef.new(shape: Boolean, location_name: "acceptanceRequired"))
|
6665
|
+
ServiceConfiguration.add_member(:manages_vpc_endpoints, Shapes::ShapeRef.new(shape: Boolean, location_name: "managesVpcEndpoints"))
|
6664
6666
|
ServiceConfiguration.add_member(:network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "networkLoadBalancerArnSet"))
|
6665
6667
|
ServiceConfiguration.add_member(:base_endpoint_dns_names, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "baseEndpointDnsNameSet"))
|
6666
6668
|
ServiceConfiguration.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "privateDnsName"))
|
@@ -6676,6 +6678,7 @@ module Aws::EC2
|
|
6676
6678
|
ServiceDetail.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "privateDnsName"))
|
6677
6679
|
ServiceDetail.add_member(:vpc_endpoint_policy_supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "vpcEndpointPolicySupported"))
|
6678
6680
|
ServiceDetail.add_member(:acceptance_required, Shapes::ShapeRef.new(shape: Boolean, location_name: "acceptanceRequired"))
|
6681
|
+
ServiceDetail.add_member(:manages_vpc_endpoints, Shapes::ShapeRef.new(shape: Boolean, location_name: "managesVpcEndpoints"))
|
6679
6682
|
ServiceDetail.struct_class = Types::ServiceDetail
|
6680
6683
|
|
6681
6684
|
ServiceDetailSet.member = Shapes::ShapeRef.new(shape: ServiceDetail, location_name: "item")
|
@@ -7425,16 +7428,17 @@ module Aws::EC2
|
|
7425
7428
|
VpcEndpoint.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "subnetIdSet"))
|
7426
7429
|
VpcEndpoint.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierSet, location_name: "groupSet"))
|
7427
7430
|
VpcEndpoint.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "privateDnsEnabled"))
|
7431
|
+
VpcEndpoint.add_member(:requester_managed, Shapes::ShapeRef.new(shape: Boolean, location_name: "requesterManaged"))
|
7428
7432
|
VpcEndpoint.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "networkInterfaceIdSet"))
|
7429
7433
|
VpcEndpoint.add_member(:dns_entries, Shapes::ShapeRef.new(shape: DnsEntrySet, location_name: "dnsEntrySet"))
|
7430
|
-
VpcEndpoint.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape:
|
7434
|
+
VpcEndpoint.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "creationTimestamp"))
|
7431
7435
|
VpcEndpoint.struct_class = Types::VpcEndpoint
|
7432
7436
|
|
7433
7437
|
VpcEndpointConnection.add_member(:service_id, Shapes::ShapeRef.new(shape: String, location_name: "serviceId"))
|
7434
7438
|
VpcEndpointConnection.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcEndpointId"))
|
7435
7439
|
VpcEndpointConnection.add_member(:vpc_endpoint_owner, Shapes::ShapeRef.new(shape: String, location_name: "vpcEndpointOwner"))
|
7436
7440
|
VpcEndpointConnection.add_member(:vpc_endpoint_state, Shapes::ShapeRef.new(shape: State, location_name: "vpcEndpointState"))
|
7437
|
-
VpcEndpointConnection.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape:
|
7441
|
+
VpcEndpointConnection.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "creationTimestamp"))
|
7438
7442
|
VpcEndpointConnection.struct_class = Types::VpcEndpointConnection
|
7439
7443
|
|
7440
7444
|
VpcEndpointConnectionSet.member = Shapes::ShapeRef.new(shape: VpcEndpointConnection, location_name: "item")
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -237,7 +237,7 @@ module Aws::EC2
|
|
237
237
|
data[:root_device_type]
|
238
238
|
end
|
239
239
|
|
240
|
-
#
|
240
|
+
# The security groups for the instance.
|
241
241
|
# @return [Array<Types::GroupIdentifier>]
|
242
242
|
def security_groups
|
243
243
|
data[:security_groups]
|
@@ -636,10 +636,9 @@ module Aws::EC2
|
|
636
636
|
# })
|
637
637
|
# @param [Hash] options ({})
|
638
638
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
639
|
-
#
|
640
|
-
#
|
641
|
-
#
|
642
|
-
# CopyImage action.
|
639
|
+
# Tthe block device mappings. This parameter cannot be used to modify
|
640
|
+
# the encryption status of existing volumes or snapshots. To create an
|
641
|
+
# AMI with encrypted snapshots, use the CopyImage action.
|
643
642
|
# @option options [String] :description
|
644
643
|
# A description for the new image.
|
645
644
|
# @option options [Boolean] :dry_run
|
@@ -998,8 +997,7 @@ module Aws::EC2
|
|
998
997
|
# @option options [Time,DateTime,Date,Integer,String] :end_time
|
999
998
|
# The time at which the reported instance health state ended.
|
1000
999
|
# @option options [required, Array<String>] :reason_codes
|
1001
|
-
#
|
1002
|
-
# instance.
|
1000
|
+
# The reason codes that describe the health state of your instance.
|
1003
1001
|
#
|
1004
1002
|
# * `instance-stuck-in-state`\: My instance is stuck in a state.
|
1005
1003
|
#
|
@@ -1308,7 +1306,7 @@ module Aws::EC2
|
|
1308
1306
|
# })
|
1309
1307
|
# @param [Hash] options ({})
|
1310
1308
|
# @option options [Array<Types::Filter>] :filters
|
1311
|
-
#
|
1309
|
+
# The filters.
|
1312
1310
|
#
|
1313
1311
|
# * `attachment.attach-time` - The time stamp when the attachment
|
1314
1312
|
# initiated.
|
@@ -1356,7 +1354,7 @@ module Aws::EC2
|
|
1356
1354
|
# Throughput Optimized HDD, `sc1` for Cold HDD, or `standard` for
|
1357
1355
|
# Magnetic volumes.
|
1358
1356
|
# @option options [Array<String>] :volume_ids
|
1359
|
-
#
|
1357
|
+
# The volume IDs.
|
1360
1358
|
# @option options [Boolean] :dry_run
|
1361
1359
|
# Checks whether you have the required permissions for the action,
|
1362
1360
|
# without actually making the request, and provides an error response.
|
@@ -1448,9 +1446,7 @@ module Aws::EC2
|
|
1448
1446
|
#
|
1449
1447
|
# Default: Describes all your Elastic IP addresses.
|
1450
1448
|
# @option options [Array<String>] :allocation_ids
|
1451
|
-
# \[EC2-VPC\]
|
1452
|
-
#
|
1453
|
-
# Default: Describes all your Elastic IP addresses.
|
1449
|
+
# \[EC2-VPC\] Information about the allocation IDs.
|
1454
1450
|
# @option options [Boolean] :dry_run
|
1455
1451
|
# Checks whether you have the required permissions for the action,
|
1456
1452
|
# without actually making the request, and provides an error response.
|
@@ -216,7 +216,7 @@ module Aws::EC2
|
|
216
216
|
# })
|
217
217
|
# @param [Hash] options ({})
|
218
218
|
# @option options [Array<Types::Filter>] :filters
|
219
|
-
#
|
219
|
+
# The filters.
|
220
220
|
#
|
221
221
|
# * `affinity` - The affinity setting for an instance running on a
|
222
222
|
# Dedicated Host (`default` \| `host`).
|
@@ -478,7 +478,7 @@ module Aws::EC2
|
|
478
478
|
#
|
479
479
|
# * `vpc-id` - The ID of the VPC that the instance is running in.
|
480
480
|
# @option options [Array<String>] :instance_ids
|
481
|
-
#
|
481
|
+
# The instance IDs.
|
482
482
|
#
|
483
483
|
# Default: Describes all your instances.
|
484
484
|
# @option options [Boolean] :dry_run
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -194,11 +194,11 @@ module Aws::EC2
|
|
194
194
|
# })
|
195
195
|
# @param [Hash] options ({})
|
196
196
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
197
|
+
# The block device mapping entries. You can't specify both a snapshot
|
198
|
+
# ID and an encryption value. This is because only blank volumes can be
|
199
|
+
# encrypted on creation. If a snapshot is the basis for a volume, it is
|
200
|
+
# not blank and its encryption status is used for the volume encryption
|
201
|
+
# status.
|
202
202
|
# @option options [String] :image_id
|
203
203
|
# The ID of the AMI, which you can get by calling DescribeImages. An AMI
|
204
204
|
# is required to launch an instance and must be specified here or in a
|
@@ -223,11 +223,11 @@ module Aws::EC2
|
|
223
223
|
# You cannot specify this option and the network interfaces option in
|
224
224
|
# the same request.
|
225
225
|
# @option options [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
|
226
|
-
# \[EC2-VPC\]
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
226
|
+
# \[EC2-VPC\] The IPv6 addresses from the range of the subnet to
|
227
|
+
# associate with the primary network interface. You cannot specify this
|
228
|
+
# option and the option to assign a number of IPv6 addresses in the same
|
229
|
+
# request. You cannot specify this option if you've specified a minimum
|
230
|
+
# number of instances to launch.
|
231
231
|
#
|
232
232
|
# You cannot specify this option and the network interfaces option in
|
233
233
|
# the same request.
|
@@ -290,7 +290,7 @@ module Aws::EC2
|
|
290
290
|
#
|
291
291
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
292
292
|
# @option options [Array<String>] :security_group_ids
|
293
|
-
#
|
293
|
+
# The IDs of the security groups. You can create a security group using
|
294
294
|
# CreateSecurityGroup.
|
295
295
|
#
|
296
296
|
# Default: Amazon EC2 uses the default security group.
|
@@ -298,7 +298,7 @@ module Aws::EC2
|
|
298
298
|
# You cannot specify this option and the network interfaces option in
|
299
299
|
# the same request.
|
300
300
|
# @option options [Array<String>] :security_groups
|
301
|
-
# \[EC2-Classic, default VPC\]
|
301
|
+
# \[EC2-Classic, default VPC\] The names of the security groups. For a
|
302
302
|
# nondefault VPC, you must use security group IDs instead.
|
303
303
|
#
|
304
304
|
# You cannot specify this option and the network interfaces option in
|
@@ -365,7 +365,7 @@ module Aws::EC2
|
|
365
365
|
#
|
366
366
|
# Default: `stop`
|
367
367
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
368
|
-
#
|
368
|
+
# The network interfaces.
|
369
369
|
#
|
370
370
|
# You cannot specify this option and the network interfaces option in
|
371
371
|
# the same request.
|
@@ -800,7 +800,7 @@ module Aws::EC2
|
|
800
800
|
# If you have the required permissions, the error response is
|
801
801
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
802
802
|
# @option options [required, Array<String>] :resources
|
803
|
-
# The IDs of
|
803
|
+
# The IDs of the resources, separated by spaces.
|
804
804
|
#
|
805
805
|
# Constraints: Up to 1000 resource IDs. We recommend breaking up this
|
806
806
|
# request into smaller batches.
|
@@ -880,7 +880,10 @@ module Aws::EC2
|
|
880
880
|
#
|
881
881
|
# * Key ID
|
882
882
|
#
|
883
|
-
# * Key alias
|
883
|
+
# * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
|
884
|
+
# followed by the region of the CMK, the AWS account ID of the CMK
|
885
|
+
# owner, the `alias` namespace, and then the CMK alias. For example,
|
886
|
+
# arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
|
884
887
|
#
|
885
888
|
# * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
|
886
889
|
# followed by the region of the CMK, the AWS account ID of the CMK
|
@@ -1220,9 +1223,7 @@ module Aws::EC2
|
|
1220
1223
|
#
|
1221
1224
|
# Default: Describes all your Elastic IP addresses.
|
1222
1225
|
# @option options [Array<String>] :allocation_ids
|
1223
|
-
# \[EC2-VPC\]
|
1224
|
-
#
|
1225
|
-
# Default: Describes all your Elastic IP addresses.
|
1226
|
+
# \[EC2-VPC\] Information about the allocation IDs.
|
1226
1227
|
# @option options [Boolean] :dry_run
|
1227
1228
|
# Checks whether you have the required permissions for the action,
|
1228
1229
|
# without actually making the request, and provides an error response.
|
@@ -1490,7 +1491,7 @@ module Aws::EC2
|
|
1490
1491
|
# })
|
1491
1492
|
# @param [Hash] options ({})
|
1492
1493
|
# @option options [Array<Types::Filter>] :filters
|
1493
|
-
#
|
1494
|
+
# The filters.
|
1494
1495
|
#
|
1495
1496
|
# * `affinity` - The affinity setting for an instance running on a
|
1496
1497
|
# Dedicated Host (`default` \| `host`).
|
@@ -1752,7 +1753,7 @@ module Aws::EC2
|
|
1752
1753
|
#
|
1753
1754
|
# * `vpc-id` - The ID of the VPC that the instance is running in.
|
1754
1755
|
# @option options [Array<String>] :instance_ids
|
1755
|
-
#
|
1756
|
+
# The instance IDs.
|
1756
1757
|
#
|
1757
1758
|
# Default: Describes all your instances.
|
1758
1759
|
# @option options [Boolean] :dry_run
|
@@ -1877,13 +1878,13 @@ module Aws::EC2
|
|
1877
1878
|
# })
|
1878
1879
|
# @param [Hash] options ({})
|
1879
1880
|
# @option options [Array<Types::Filter>] :filters
|
1880
|
-
#
|
1881
|
+
# The filters.
|
1881
1882
|
#
|
1882
1883
|
# * `fingerprint` - The fingerprint of the key pair.
|
1883
1884
|
#
|
1884
1885
|
# * `key-name` - The name of the key pair.
|
1885
1886
|
# @option options [Array<String>] :key_names
|
1886
|
-
#
|
1887
|
+
# The key pair names.
|
1887
1888
|
#
|
1888
1889
|
# Default: Describes all your key pairs.
|
1889
1890
|
# @option options [Boolean] :dry_run
|
@@ -2196,7 +2197,7 @@ module Aws::EC2
|
|
2196
2197
|
# })
|
2197
2198
|
# @param [Hash] options ({})
|
2198
2199
|
# @option options [Array<Types::Filter>] :filters
|
2199
|
-
#
|
2200
|
+
# The filters.
|
2200
2201
|
#
|
2201
2202
|
# * `group-name` - The name of the placement group.
|
2202
2203
|
#
|
@@ -2211,7 +2212,7 @@ module Aws::EC2
|
|
2211
2212
|
# If you have the required permissions, the error response is
|
2212
2213
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2213
2214
|
# @option options [Array<String>] :group_names
|
2214
|
-
#
|
2215
|
+
# The names of the placement groups.
|
2215
2216
|
#
|
2216
2217
|
# Default: Describes all your placement groups, or only those otherwise
|
2217
2218
|
# specified.
|
@@ -2386,9 +2387,9 @@ module Aws::EC2
|
|
2386
2387
|
# })
|
2387
2388
|
# @param [Hash] options ({})
|
2388
2389
|
# @option options [Array<Types::Filter>] :filters
|
2389
|
-
#
|
2390
|
-
#
|
2391
|
-
#
|
2390
|
+
# The filters. If using multiple filters for rules, the results include
|
2391
|
+
# security groups for which any combination of rules - not necessarily a
|
2392
|
+
# single rule - match all filters.
|
2392
2393
|
#
|
2393
2394
|
# * `description` - The description of the security group.
|
2394
2395
|
#
|
@@ -2465,12 +2466,12 @@ module Aws::EC2
|
|
2465
2466
|
# * `vpc-id` - The ID of the VPC specified when the security group was
|
2466
2467
|
# created.
|
2467
2468
|
# @option options [Array<String>] :group_ids
|
2468
|
-
#
|
2469
|
+
# The IDs of the security groups. Required for security groups in a
|
2469
2470
|
# nondefault VPC.
|
2470
2471
|
#
|
2471
2472
|
# Default: Describes all your security groups.
|
2472
2473
|
# @option options [Array<String>] :group_names
|
2473
|
-
# \[EC2-Classic and default VPC only\]
|
2474
|
+
# \[EC2-Classic and default VPC only\] The names of the security groups.
|
2474
2475
|
# You can specify either the security group name or the security group
|
2475
2476
|
# ID. For security groups in a nondefault VPC, use the `group-name`
|
2476
2477
|
# filter to describe security groups by name.
|
@@ -2525,14 +2526,14 @@ module Aws::EC2
|
|
2525
2526
|
# })
|
2526
2527
|
# @param [Hash] options ({})
|
2527
2528
|
# @option options [Array<Types::Filter>] :filters
|
2528
|
-
#
|
2529
|
+
# The filters.
|
2529
2530
|
#
|
2530
2531
|
# * `description` - A description of the snapshot.
|
2531
2532
|
#
|
2532
2533
|
# * `owner-alias` - Value from an Amazon-maintained list (`amazon` \|
|
2533
|
-
# `aws-marketplace` \| `microsoft`) of snapshot
|
2534
|
-
# confused with the user-configured AWS account
|
2535
|
-
# from the IAM console.
|
2534
|
+
# `self` \| `all` \| `aws-marketplace` \| `microsoft`) of snapshot
|
2535
|
+
# owners. Not to be confused with the user-configured AWS account
|
2536
|
+
# alias, which is set from the IAM console.
|
2536
2537
|
#
|
2537
2538
|
# * `owner-id` - The ID of the AWS account that owns the snapshot.
|
2538
2539
|
#
|
@@ -2560,12 +2561,11 @@ module Aws::EC2
|
|
2560
2561
|
#
|
2561
2562
|
# * `volume-size` - The size of the volume, in GiB.
|
2562
2563
|
# @option options [Array<String>] :owner_ids
|
2563
|
-
# Describes the snapshots owned by
|
2564
|
+
# Describes the snapshots owned by these owners.
|
2564
2565
|
# @option options [Array<String>] :restorable_by_user_ids
|
2565
|
-
#
|
2566
|
-
# snapshot.
|
2566
|
+
# The IDs of the AWS accounts that can create volumes from the snapshot.
|
2567
2567
|
# @option options [Array<String>] :snapshot_ids
|
2568
|
-
#
|
2568
|
+
# The snapshot IDs.
|
2569
2569
|
#
|
2570
2570
|
# Default: Describes the snapshots for which you have create volume
|
2571
2571
|
# permissions.
|
@@ -2713,7 +2713,7 @@ module Aws::EC2
|
|
2713
2713
|
# })
|
2714
2714
|
# @param [Hash] options ({})
|
2715
2715
|
# @option options [Array<Types::Filter>] :filters
|
2716
|
-
#
|
2716
|
+
# The filters.
|
2717
2717
|
#
|
2718
2718
|
# * `attachment.attach-time` - The time stamp when the attachment
|
2719
2719
|
# initiated.
|
@@ -2761,7 +2761,7 @@ module Aws::EC2
|
|
2761
2761
|
# Throughput Optimized HDD, `sc1` for Cold HDD, or `standard` for
|
2762
2762
|
# Magnetic volumes.
|
2763
2763
|
# @option options [Array<String>] :volume_ids
|
2764
|
-
#
|
2764
|
+
# The volume IDs.
|
2765
2765
|
# @option options [Boolean] :dry_run
|
2766
2766
|
# Checks whether you have the required permissions for the action,
|
2767
2767
|
# without actually making the request, and provides an error response.
|
@@ -2846,9 +2846,7 @@ module Aws::EC2
|
|
2846
2846
|
#
|
2847
2847
|
# Default: Describes all your Elastic IP addresses.
|
2848
2848
|
# @option options [Array<String>] :allocation_ids
|
2849
|
-
# \[EC2-VPC\]
|
2850
|
-
#
|
2851
|
-
# Default: Describes all your Elastic IP addresses.
|
2849
|
+
# \[EC2-VPC\] Information about the allocation IDs.
|
2852
2850
|
# @option options [Boolean] :dry_run
|
2853
2851
|
# Checks whether you have the required permissions for the action,
|
2854
2852
|
# without actually making the request, and provides an error response.
|
@@ -43,7 +43,7 @@ module Aws::EC2
|
|
43
43
|
data[:group_name]
|
44
44
|
end
|
45
45
|
|
46
|
-
#
|
46
|
+
# The inbound rules associated with the security group.
|
47
47
|
# @return [Array<Types::IpPermission>]
|
48
48
|
def ip_permissions
|
49
49
|
data[:ip_permissions]
|
@@ -55,8 +55,7 @@ module Aws::EC2
|
|
55
55
|
data[:owner_id]
|
56
56
|
end
|
57
57
|
|
58
|
-
# \[EC2-VPC\]
|
59
|
-
# group.
|
58
|
+
# \[EC2-VPC\] The outbound rules associated with the security group.
|
60
59
|
# @return [Array<Types::IpPermission>]
|
61
60
|
def ip_permissions_egress
|
62
61
|
data[:ip_permissions_egress]
|
@@ -260,9 +259,8 @@ module Aws::EC2
|
|
260
259
|
# If you have the required permissions, the error response is
|
261
260
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
262
261
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
263
|
-
#
|
264
|
-
#
|
265
|
-
# permissions.
|
262
|
+
# The sets of IP permissions. You can't specify a destination security
|
263
|
+
# group and a CIDR IP address range in the same set of permissions.
|
266
264
|
# @option options [String] :cidr_ip
|
267
265
|
# Not supported. Use a set of IP permissions to specify the CIDR.
|
268
266
|
# @option options [Integer] :from_port
|
@@ -347,8 +345,8 @@ module Aws::EC2
|
|
347
345
|
# specify either the security group ID or the security group name in the
|
348
346
|
# request.
|
349
347
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
350
|
-
#
|
351
|
-
#
|
348
|
+
# The sets of IP permissions. Can be used to specify multiple rules in a
|
349
|
+
# single command.
|
352
350
|
# @option options [String] :ip_protocol
|
353
351
|
# The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
|
354
352
|
# Numbers][1]). (VPC only) Use `-1` to specify all protocols. If you
|
@@ -507,9 +505,8 @@ module Aws::EC2
|
|
507
505
|
# If you have the required permissions, the error response is
|
508
506
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
509
507
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
510
|
-
#
|
511
|
-
#
|
512
|
-
# permissions.
|
508
|
+
# The sets of IP permissions. You can't specify a destination security
|
509
|
+
# group and a CIDR IP address range in the same set of permissions.
|
513
510
|
# @option options [String] :cidr_ip
|
514
511
|
# Not supported. Use a set of IP permissions to specify the CIDR.
|
515
512
|
# @option options [Integer] :from_port
|
@@ -592,9 +589,8 @@ module Aws::EC2
|
|
592
589
|
# specify either the security group ID or the security group name in the
|
593
590
|
# request.
|
594
591
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
595
|
-
#
|
596
|
-
#
|
597
|
-
# permissions.
|
592
|
+
# The sets of IP permissions. You can't specify a source security group
|
593
|
+
# and a CIDR IP address range in the same set of permissions.
|
598
594
|
# @option options [String] :ip_protocol
|
599
595
|
# The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
|
600
596
|
# Numbers][1]). Use `-1` to specify all.
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -112,9 +112,10 @@ module Aws::EC2
|
|
112
112
|
data[:volume_size]
|
113
113
|
end
|
114
114
|
|
115
|
-
# Value from an Amazon-maintained list (`amazon` \| `
|
116
|
-
# `microsoft`) of snapshot owners. Not to be
|
117
|
-
# user-configured AWS account alias, which is set from
|
115
|
+
# Value from an Amazon-maintained list (`amazon` \| `self` \| `all` \|
|
116
|
+
# `aws-marketplace` \| `microsoft`) of snapshot owners. Not to be
|
117
|
+
# confused with the user-configured AWS account alias, which is set from
|
118
|
+
# the IAM console.
|
118
119
|
# @return [String]
|
119
120
|
def owner_alias
|
120
121
|
data[:owner_alias]
|
@@ -323,7 +324,10 @@ module Aws::EC2
|
|
323
324
|
#
|
324
325
|
# * Key ID
|
325
326
|
#
|
326
|
-
# * Key alias
|
327
|
+
# * Key alias. The alias ARN contains the `arn:aws:kms` namespace,
|
328
|
+
# followed by the region of the CMK, the AWS account ID of the CMK
|
329
|
+
# owner, the `alias` namespace, and then the CMK alias. For example,
|
330
|
+
# arn:aws:kms:*us-east-1*\:*012345678910*\:alias/*ExampleAlias*.
|
327
331
|
#
|
328
332
|
# * ARN using key ID. The ID ARN contains the `arn:aws:kms` namespace,
|
329
333
|
# followed by the region of the CMK, the AWS account ID of the CMK
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -389,11 +389,11 @@ module Aws::EC2
|
|
389
389
|
# })
|
390
390
|
# @param [Hash] options ({})
|
391
391
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
392
|
+
# The block device mapping entries. You can't specify both a snapshot
|
393
|
+
# ID and an encryption value. This is because only blank volumes can be
|
394
|
+
# encrypted on creation. If a snapshot is the basis for a volume, it is
|
395
|
+
# not blank and its encryption status is used for the volume encryption
|
396
|
+
# status.
|
397
397
|
# @option options [String] :image_id
|
398
398
|
# The ID of the AMI, which you can get by calling DescribeImages. An AMI
|
399
399
|
# is required to launch an instance and must be specified here or in a
|
@@ -418,11 +418,11 @@ module Aws::EC2
|
|
418
418
|
# You cannot specify this option and the network interfaces option in
|
419
419
|
# the same request.
|
420
420
|
# @option options [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
|
421
|
-
# \[EC2-VPC\]
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
421
|
+
# \[EC2-VPC\] The IPv6 addresses from the range of the subnet to
|
422
|
+
# associate with the primary network interface. You cannot specify this
|
423
|
+
# option and the option to assign a number of IPv6 addresses in the same
|
424
|
+
# request. You cannot specify this option if you've specified a minimum
|
425
|
+
# number of instances to launch.
|
426
426
|
#
|
427
427
|
# You cannot specify this option and the network interfaces option in
|
428
428
|
# the same request.
|
@@ -485,7 +485,7 @@ module Aws::EC2
|
|
485
485
|
#
|
486
486
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
487
487
|
# @option options [Array<String>] :security_group_ids
|
488
|
-
#
|
488
|
+
# The IDs of the security groups. You can create a security group using
|
489
489
|
# CreateSecurityGroup.
|
490
490
|
#
|
491
491
|
# Default: Amazon EC2 uses the default security group.
|
@@ -493,7 +493,7 @@ module Aws::EC2
|
|
493
493
|
# You cannot specify this option and the network interfaces option in
|
494
494
|
# the same request.
|
495
495
|
# @option options [Array<String>] :security_groups
|
496
|
-
# \[EC2-Classic, default VPC\]
|
496
|
+
# \[EC2-Classic, default VPC\] The names of the security groups. For a
|
497
497
|
# nondefault VPC, you must use security group IDs instead.
|
498
498
|
#
|
499
499
|
# You cannot specify this option and the network interfaces option in
|
@@ -555,7 +555,7 @@ module Aws::EC2
|
|
555
555
|
#
|
556
556
|
# Default: `stop`
|
557
557
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
558
|
-
#
|
558
|
+
# The network interfaces.
|
559
559
|
#
|
560
560
|
# You cannot specify this option and the network interfaces option in
|
561
561
|
# the same request.
|
@@ -788,7 +788,7 @@ module Aws::EC2
|
|
788
788
|
# })
|
789
789
|
# @param [Hash] options ({})
|
790
790
|
# @option options [Array<Types::Filter>] :filters
|
791
|
-
#
|
791
|
+
# The filters.
|
792
792
|
#
|
793
793
|
# * `affinity` - The affinity setting for an instance running on a
|
794
794
|
# Dedicated Host (`default` \| `host`).
|
@@ -1050,7 +1050,7 @@ module Aws::EC2
|
|
1050
1050
|
#
|
1051
1051
|
# * `vpc-id` - The ID of the VPC that the instance is running in.
|
1052
1052
|
# @option options [Array<String>] :instance_ids
|
1053
|
-
#
|
1053
|
+
# The instance IDs.
|
1054
1054
|
#
|
1055
1055
|
# Default: Describes all your instances.
|
1056
1056
|
# @option options [Boolean] :dry_run
|