aws-sdk-ec2 1.0.0.rc1 → 1.0.0.rc2

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.
@@ -38,7 +38,7 @@ module Aws
38
38
  data.state
39
39
  end
40
40
 
41
- # The CIDR block for the VPC.
41
+ # The IPv4 CIDR block for the VPC.
42
42
  # @return [String]
43
43
  def cidr_block
44
44
  data.cidr_block
@@ -69,6 +69,12 @@ module Aws
69
69
  data.is_default
70
70
  end
71
71
 
72
+ # Information about the IPv6 CIDR blocks associated with the VPC.
73
+ # @return [Array<Types::VpcIpv6CidrBlockAssociation>]
74
+ def ipv_6_cidr_block_association_set
75
+ data.ipv_6_cidr_block_association_set
76
+ end
77
+
72
78
  # @!endgroup
73
79
 
74
80
  # @return [Client]
@@ -313,6 +319,7 @@ module Aws
313
319
  # subnet = vpc.create_subnet({
314
320
  # dry_run: false,
315
321
  # cidr_block: "String", # required
322
+ # ipv_6_cidr_block: "String",
316
323
  # availability_zone: "String",
317
324
  # })
318
325
  # @param [Hash] options ({})
@@ -322,8 +329,11 @@ module Aws
322
329
  # If you have the required permissions, the error response is
323
330
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
324
331
  # @option options [required, String] :cidr_block
325
- # The network range for the subnet, in CIDR notation. For example,
332
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
326
333
  # `10.0.0.0/24`.
334
+ # @option options [String] :ipv_6_cidr_block
335
+ # The IPv6 network range for the subnet, in CIDR notation. The subnet
336
+ # size must use a /64 prefix length.
327
337
  # @option options [String] :availability_zone
328
338
  # The Availability Zone for the subnet.
329
339
  #
@@ -589,7 +599,8 @@ module Aws
589
599
  # @option options [Array<Types::Filter>] :filters
590
600
  # One or more filters.
591
601
  #
592
- # * `accepter-vpc-info.cidr-block` - The CIDR block of the peer VPC.
602
+ # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the peer
603
+ # VPC.
593
604
  #
594
605
  # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
595
606
  # the peer VPC.
@@ -599,8 +610,8 @@ module Aws
599
610
  # * `expiration-time` - The expiration date and time for the VPC peering
600
611
  # connection.
601
612
  #
602
- # * `requester-vpc-info.cidr-block` - The CIDR block of the requester's
603
- # VPC.
613
+ # * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
614
+ # requester's VPC.
604
615
  #
605
616
  # * `requester-vpc-info.owner-id` - The AWS account ID of the owner of
606
617
  # the requester VPC.
@@ -692,6 +703,18 @@ module Aws
692
703
  #
693
704
  # * `architecture` - The instance architecture (`i386` \| `x86_64`).
694
705
  #
706
+ # * `association.public-ip` - The address of the Elastic IP address
707
+ # (IPv4) bound to the network interface.
708
+ #
709
+ # * `association.ip-owner-id` - The owner of the Elastic IP address
710
+ # (IPv4) associated with the network interface.
711
+ #
712
+ # * `association.allocation-id` - The allocation ID returned when you
713
+ # allocated the Elastic IP address (IPv4) for your network interface.
714
+ #
715
+ # * `association.association-id` - The association ID returned when the
716
+ # network interface was associated with an IPv4 address.
717
+ #
695
718
  # * `availability-zone` - The Availability Zone of the instance.
696
719
  #
697
720
  # * `block-device-mapping.attach-time` - The attach time for an EBS
@@ -752,7 +775,7 @@ module Aws
752
775
  # * `instance.group-name` - The name of the security group for the
753
776
  # instance.
754
777
  #
755
- # * `ip-address` - The public IP address of the instance.
778
+ # * `ip-address` - The public IPv4 address of the instance.
756
779
  #
757
780
  # * `kernel-id` - The kernel ID.
758
781
  #
@@ -765,8 +788,91 @@ module Aws
765
788
  #
766
789
  # * `launch-time` - The time when the instance was launched.
767
790
  #
768
- # * `monitoring-state` - Indicates whether monitoring is enabled for the
769
- # instance (`disabled` \| `enabled`).
791
+ # * `monitoring-state` - Indicates whether detailed monitoring is
792
+ # enabled (`disabled` \| `enabled`).
793
+ #
794
+ # * `network-interface.addresses.private-ip-address` - The private IPv4
795
+ # address associated with the network interface.
796
+ #
797
+ # * `network-interface.addresses.primary` - Specifies whether the IPv4
798
+ # address of the network interface is the primary private IPv4
799
+ # address.
800
+ #
801
+ # * `network-interface.addresses.association.public-ip` - The ID of the
802
+ # association of an Elastic IP address (IPv4) with a network
803
+ # interface.
804
+ #
805
+ # * `network-interface.addresses.association.ip-owner-id` - The owner ID
806
+ # of the private IPv4 address associated with the network interface.
807
+ #
808
+ # * `network-interface.attachment.attachment-id` - The ID of the
809
+ # interface attachment.
810
+ #
811
+ # * `network-interface.attachment.instance-id` - The ID of the instance
812
+ # to which the network interface is attached.
813
+ #
814
+ # * `network-interface.attachment.instance-owner-id` - The owner ID of
815
+ # the instance to which the network interface is attached.
816
+ #
817
+ # * `network-interface.attachment.device-index` - The device index to
818
+ # which the network interface is attached.
819
+ #
820
+ # * `network-interface.attachment.status` - The status of the attachment
821
+ # (`attaching` \| `attached` \| `detaching` \| `detached`).
822
+ #
823
+ # * `network-interface.attachment.attach-time` - The time that the
824
+ # network interface was attached to an instance.
825
+ #
826
+ # * `network-interface.attachment.delete-on-termination` - Specifies
827
+ # whether the attachment is deleted when an instance is terminated.
828
+ #
829
+ # * `network-interface.availability-zone` - The Availability Zone for
830
+ # the network interface.
831
+ #
832
+ # * `network-interface.description` - The description of the network
833
+ # interface.
834
+ #
835
+ # * `network-interface.group-id` - The ID of a security group associated
836
+ # with the network interface.
837
+ #
838
+ # * `network-interface.group-name` - The name of a security group
839
+ # associated with the network interface.
840
+ #
841
+ # * `network-interface.ipv6-addresses.ipv6-address` - The IPv6 address
842
+ # associated with the network interface.
843
+ #
844
+ # * `network-interface.mac-address` - The MAC address of the network
845
+ # interface.
846
+ #
847
+ # * `network-interface.network-interface-id` - The ID of the network
848
+ # interface.
849
+ #
850
+ # * `network-interface.owner-id` - The ID of the owner of the network
851
+ # interface.
852
+ #
853
+ # * `network-interface.private-dns-name` - The private DNS name of the
854
+ # network interface.
855
+ #
856
+ # * `network-interface.requester-id` - The requester ID for the network
857
+ # interface.
858
+ #
859
+ # * `network-interface.requester-managed` - Indicates whether the
860
+ # network interface is being managed by AWS.
861
+ #
862
+ # * `network-interface.status` - The status of the network interface
863
+ # (`available`) \| `in-use`).
864
+ #
865
+ # * `network-interface.source-dest-check` - Whether the network
866
+ # interface performs source/destination checking. A value of `true`
867
+ # means checking is enabled, and `false` means checking is disabled.
868
+ # The value must be `false` for the network interface to perform
869
+ # network address translation (NAT) in your VPC.
870
+ #
871
+ # * `network-interface.subnet-id` - The ID of the subnet for the network
872
+ # interface.
873
+ #
874
+ # * `network-interface.vpc-id` - The ID of the VPC for the network
875
+ # interface.
770
876
  #
771
877
  # * `owner-id` - The AWS account ID of the instance owner.
772
878
  #
@@ -776,9 +882,9 @@ module Aws
776
882
  # * `platform` - The platform. Use `windows` if you have Windows
777
883
  # instances; otherwise, leave blank.
778
884
  #
779
- # * `private-dns-name` - The private DNS name of the instance.
885
+ # * `private-dns-name` - The private IPv4 DNS name of the instance.
780
886
  #
781
- # * `private-ip-address` - The private IP address of the instance.
887
+ # * `private-ip-address` - The private IPv4 address of the instance.
782
888
  #
783
889
  # * `product-code` - The product code associated with the AMI used to
784
890
  # launch the instance.
@@ -846,96 +952,6 @@ module Aws
846
952
  # (`paravirtual` \| `hvm`).
847
953
  #
848
954
  # * `vpc-id` - The ID of the VPC that the instance is running in.
849
- #
850
- # * `network-interface.description` - The description of the network
851
- # interface.
852
- #
853
- # * `network-interface.subnet-id` - The ID of the subnet for the network
854
- # interface.
855
- #
856
- # * `network-interface.vpc-id` - The ID of the VPC for the network
857
- # interface.
858
- #
859
- # * `network-interface.network-interface-id` - The ID of the network
860
- # interface.
861
- #
862
- # * `network-interface.owner-id` - The ID of the owner of the network
863
- # interface.
864
- #
865
- # * `network-interface.availability-zone` - The Availability Zone for
866
- # the network interface.
867
- #
868
- # * `network-interface.requester-id` - The requester ID for the network
869
- # interface.
870
- #
871
- # * `network-interface.requester-managed` - Indicates whether the
872
- # network interface is being managed by AWS.
873
- #
874
- # * `network-interface.status` - The status of the network interface
875
- # (`available`) \| `in-use`).
876
- #
877
- # * `network-interface.mac-address` - The MAC address of the network
878
- # interface.
879
- #
880
- # * `network-interface.private-dns-name` - The private DNS name of the
881
- # network interface.
882
- #
883
- # * `network-interface.source-dest-check` - Whether the network
884
- # interface performs source/destination checking. A value of `true`
885
- # means checking is enabled, and `false` means checking is disabled.
886
- # The value must be `false` for the network interface to perform
887
- # network address translation (NAT) in your VPC.
888
- #
889
- # * `network-interface.group-id` - The ID of a security group associated
890
- # with the network interface.
891
- #
892
- # * `network-interface.group-name` - The name of a security group
893
- # associated with the network interface.
894
- #
895
- # * `network-interface.attachment.attachment-id` - The ID of the
896
- # interface attachment.
897
- #
898
- # * `network-interface.attachment.instance-id` - The ID of the instance
899
- # to which the network interface is attached.
900
- #
901
- # * `network-interface.attachment.instance-owner-id` - The owner ID of
902
- # the instance to which the network interface is attached.
903
- #
904
- # * `network-interface.addresses.private-ip-address` - The private IP
905
- # address associated with the network interface.
906
- #
907
- # * `network-interface.attachment.device-index` - The device index to
908
- # which the network interface is attached.
909
- #
910
- # * `network-interface.attachment.status` - The status of the attachment
911
- # (`attaching` \| `attached` \| `detaching` \| `detached`).
912
- #
913
- # * `network-interface.attachment.attach-time` - The time that the
914
- # network interface was attached to an instance.
915
- #
916
- # * `network-interface.attachment.delete-on-termination` - Specifies
917
- # whether the attachment is deleted when an instance is terminated.
918
- #
919
- # * `network-interface.addresses.primary` - Specifies whether the IP
920
- # address of the network interface is the primary private IP address.
921
- #
922
- # * `network-interface.addresses.association.public-ip` - The ID of the
923
- # association of an Elastic IP address with a network interface.
924
- #
925
- # * `network-interface.addresses.association.ip-owner-id` - The owner ID
926
- # of the private IP address associated with the network interface.
927
- #
928
- # * `association.public-ip` - The address of the Elastic IP address
929
- # bound to the network interface.
930
- #
931
- # * `association.ip-owner-id` - The owner of the Elastic IP address
932
- # associated with the network interface.
933
- #
934
- # * `association.allocation-id` - The allocation ID returned when you
935
- # allocated the Elastic IP address for your network interface.
936
- #
937
- # * `association.association-id` - The association ID returned when the
938
- # network interface was associated with an IP address.
939
955
  # @return [Instance::Collection]
940
956
  def instances(options = {})
941
957
  batches = Enumerator.new do |y|
@@ -1065,7 +1081,7 @@ module Aws
1065
1081
  # * `default` - Indicates whether the ACL is the default network ACL for
1066
1082
  # the VPC.
1067
1083
  #
1068
- # * `entry.cidr` - The CIDR range specified in the entry.
1084
+ # * `entry.cidr` - The IPv4 CIDR range specified in the entry.
1069
1085
  #
1070
1086
  # * `entry.egress` - Indicates whether the entry applies to egress
1071
1087
  # traffic.
@@ -1074,6 +1090,8 @@ module Aws
1074
1090
  #
1075
1091
  # * `entry.icmp.type` - The ICMP type specified in the entry, if any.
1076
1092
  #
1093
+ # * `entry.ipv6-cidr` - The IPv6 CIDR range specified in the entry.
1094
+ #
1077
1095
  # * `entry.port-range.from` - The start of the port range specified in
1078
1096
  # the entry.
1079
1097
  #
@@ -1152,32 +1170,33 @@ module Aws
1152
1170
  # @option options [Array<Types::Filter>] :filters
1153
1171
  # One or more filters.
1154
1172
  #
1155
- # * `addresses.private-ip-address` - The private IP addresses associated
1156
- # with the network interface.
1173
+ # * `addresses.private-ip-address` - The private IPv4 addresses
1174
+ # associated with the network interface.
1157
1175
  #
1158
- # * `addresses.primary` - Whether the private IP address is the primary
1159
- # IP address associated with the network interface.
1176
+ # * `addresses.primary` - Whether the private IPv4 address is the
1177
+ # primary IP address associated with the network interface.
1160
1178
  #
1161
1179
  # * `addresses.association.public-ip` - The association ID returned when
1162
- # the network interface was associated with the Elastic IP address.
1180
+ # the network interface was associated with the Elastic IP address
1181
+ # (IPv4).
1163
1182
  #
1164
1183
  # * `addresses.association.owner-id` - The owner ID of the addresses
1165
1184
  # associated with the network interface.
1166
1185
  #
1167
1186
  # * `association.association-id` - The association ID returned when the
1168
- # network interface was associated with an IP address.
1187
+ # network interface was associated with an IPv4 address.
1169
1188
  #
1170
1189
  # * `association.allocation-id` - The allocation ID returned when you
1171
- # allocated the Elastic IP address for your network interface.
1190
+ # allocated the Elastic IP address (IPv4) for your network interface.
1172
1191
  #
1173
1192
  # * `association.ip-owner-id` - The owner of the Elastic IP address
1174
- # associated with the network interface.
1193
+ # (IPv4) associated with the network interface.
1175
1194
  #
1176
1195
  # * `association.public-ip` - The address of the Elastic IP address
1177
- # bound to the network interface.
1196
+ # (IPv4) bound to the network interface.
1178
1197
  #
1179
1198
  # * `association.public-dns-name` - The public DNS name for the network
1180
- # interface.
1199
+ # interface (IPv4).
1181
1200
  #
1182
1201
  # * `attachment.attachment-id` - The ID of the interface attachment.
1183
1202
  #
@@ -1213,16 +1232,20 @@ module Aws
1213
1232
  # * `group-name` - The name of a security group associated with the
1214
1233
  # network interface.
1215
1234
  #
1235
+ # * `ipv6-addresses.ipv6-address` - An IPv6 address associated with the
1236
+ # network interface.
1237
+ #
1216
1238
  # * `mac-address` - The MAC address of the network interface.
1217
1239
  #
1218
1240
  # * `network-interface-id` - The ID of the network interface.
1219
1241
  #
1220
1242
  # * `owner-id` - The AWS account ID of the network interface owner.
1221
1243
  #
1222
- # * `private-ip-address` - The private IP address or addresses of the
1244
+ # * `private-ip-address` - The private IPv4 address or addresses of the
1223
1245
  # network interface.
1224
1246
  #
1225
- # * `private-dns-name` - The private DNS name of the network interface.
1247
+ # * `private-dns-name` - The private DNS name of the network interface
1248
+ # (IPv4).
1226
1249
  #
1227
1250
  # * `requester-id` - The ID of the entity that launched the instance on
1228
1251
  # your behalf (for example, AWS Management Console, Auto Scaling, and
@@ -1306,7 +1329,8 @@ module Aws
1306
1329
  # @option options [Array<Types::Filter>] :filters
1307
1330
  # One or more filters.
1308
1331
  #
1309
- # * `accepter-vpc-info.cidr-block` - The CIDR block of the peer VPC.
1332
+ # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the peer
1333
+ # VPC.
1310
1334
  #
1311
1335
  # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
1312
1336
  # the peer VPC.
@@ -1316,8 +1340,8 @@ module Aws
1316
1340
  # * `expiration-time` - The expiration date and time for the VPC peering
1317
1341
  # connection.
1318
1342
  #
1319
- # * `requester-vpc-info.cidr-block` - The CIDR block of the requester's
1320
- # VPC.
1343
+ # * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
1344
+ # requester's VPC.
1321
1345
  #
1322
1346
  # * `requester-vpc-info.owner-id` - The AWS account ID of the owner of
1323
1347
  # the requester VPC.
@@ -1406,12 +1430,18 @@ module Aws
1406
1430
  #
1407
1431
  # * `route-table-id` - The ID of the route table.
1408
1432
  #
1409
- # * `route.destination-cidr-block` - The CIDR range specified in a route
1410
- # in the table.
1433
+ # * `route.destination-cidr-block` - The IPv4 CIDR range specified in a
1434
+ # route in the table.
1435
+ #
1436
+ # * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
1437
+ # in a route in the route table.
1411
1438
  #
1412
1439
  # * `route.destination-prefix-list-id` - The ID (prefix) of the AWS
1413
1440
  # service specified in a route in the table.
1414
1441
  #
1442
+ # * `route.egress-only-internet-gateway-id` - The ID of an egress-only
1443
+ # Internet gateway specified in a route in the route table.
1444
+ #
1415
1445
  # * `route.gateway-id` - The ID of a gateway specified in a route in the
1416
1446
  # table.
1417
1447
  #
@@ -1517,8 +1547,8 @@ module Aws
1517
1547
  #
1518
1548
  # * `group-name` - The name of the security group.
1519
1549
  #
1520
- # * `ip-permission.cidr` - A CIDR range that has been granted
1521
- # permission.
1550
+ # * `ip-permission.cidr` - An IPv4 CIDR range that has been granted
1551
+ # permission in a security group rule.
1522
1552
  #
1523
1553
  # * `ip-permission.from-port` - The start of port range for the TCP and
1524
1554
  # UDP protocols, or an ICMP type number.
@@ -1529,6 +1559,9 @@ module Aws
1529
1559
  # * `ip-permission.group-name` - The name of a security group that has
1530
1560
  # been granted permission.
1531
1561
  #
1562
+ # * `ip-permission.ipv6-cidr` - An IPv6 CIDR range that has been granted
1563
+ # permission in a security group rule.
1564
+ #
1532
1565
  # * `ip-permission.protocol` - The IP protocol for the permission (`tcp`
1533
1566
  # \| `udp` \| `icmp` or a protocol number).
1534
1567
  #
@@ -1595,10 +1628,10 @@ module Aws
1595
1628
  # * `availabilityZone` - The Availability Zone for the subnet. You can
1596
1629
  # also use `availability-zone` as the filter name.
1597
1630
  #
1598
- # * `available-ip-address-count` - The number of IP addresses in the
1631
+ # * `available-ip-address-count` - The number of IPv4 addresses in the
1599
1632
  # subnet that are available.
1600
1633
  #
1601
- # * `cidrBlock` - The CIDR block of the subnet. The CIDR block you
1634
+ # * `cidrBlock` - The IPv4 CIDR block of the subnet. The CIDR block you
1602
1635
  # specify must exactly match the subnet's CIDR block for information
1603
1636
  # to be returned for the subnet. You can also use `cidr` or
1604
1637
  # `cidr-block` as the filter names.
@@ -1607,6 +1640,15 @@ module Aws
1607
1640
  # the Availability Zone. You can also use `default-for-az` as the
1608
1641
  # filter name.
1609
1642
  #
1643
+ # * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
1644
+ # associated with the subnet.
1645
+ #
1646
+ # * `ipv6-cidr-block-association.association-id` - An association ID for
1647
+ # an IPv6 CIDR block associated with the subnet.
1648
+ #
1649
+ # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
1650
+ # block associated with the subnet.
1651
+ #
1610
1652
  # * `state` - The state of the subnet (`pending` \| `available`).
1611
1653
  #
1612
1654
  # * `subnet-id` - The ID of the subnet.