aws-sdk-ec2 1.336.0 → 1.337.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -841,13 +841,20 @@ module Aws::EC2
841
841
  # @option options [Integer] :ipv_6_address_count
842
842
  # The number of IPv6 addresses to assign to a network interface. Amazon
843
843
  # EC2 automatically selects the IPv6 addresses from the subnet range.
844
- # You can't use this option if specifying specific IPv6 addresses. If
845
- # your subnet has the `AssignIpv6AddressOnCreation` attribute set to
846
- # `true`, you can specify `0` to override this setting.
844
+ #
845
+ # You can't specify a count of IPv6 addresses using this parameter if
846
+ # you've specified one of the following: specific IPv6 addresses,
847
+ # specific IPv6 prefixes, or a count of IPv6 prefixes.
848
+ #
849
+ # If your subnet has the `AssignIpv6AddressOnCreation` attribute set,
850
+ # you can override that setting by specifying 0 as the IPv6 address
851
+ # count.
847
852
  # @option options [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
848
- # One or more specific IPv6 addresses from the IPv6 CIDR block range of
849
- # your subnet. You can't use this option if you're specifying a number
850
- # of IPv6 addresses.
853
+ # The IPv6 addresses from the IPv6 CIDR block range of your subnet.
854
+ #
855
+ # You can't specify IPv6 addresses using this parameter if you've
856
+ # specified one of the following: a count of IPv6 addresses, specific
857
+ # IPv6 prefixes, or a count of IPv6 prefixes.
851
858
  # @option options [String] :private_ip_address
852
859
  # The primary private IPv4 address of the network interface. If you
853
860
  # don't specify an IPv4 address, Amazon EC2 selects one for you from
@@ -855,7 +862,11 @@ module Aws::EC2
855
862
  # cannot indicate any IP addresses specified in `privateIpAddresses` as
856
863
  # primary (only one IP address can be designated as primary).
857
864
  # @option options [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
858
- # One or more private IPv4 addresses.
865
+ # The private IPv4 addresses.
866
+ #
867
+ # You can't specify private IPv4 addresses if you've specified one of
868
+ # the following: a count of private IPv4 addresses, specific IPv4
869
+ # prefixes, or a count of IPv4 prefixes.
859
870
  # @option options [Integer] :secondary_private_ip_address_count
860
871
  # The number of secondary private IPv4 addresses to assign to a network
861
872
  # interface. When you specify a number of secondary IPv4 addresses,
@@ -863,28 +874,35 @@ module Aws::EC2
863
874
  # range. You can't specify this option and specify more than one
864
875
  # private IP address using `privateIpAddresses`.
865
876
  #
866
- # The number of IP addresses you can assign to a network interface
867
- # varies by instance type. For more information, see [IP Addresses Per
868
- # ENI Per Instance Type][1] in the *Amazon Virtual Private Cloud User
869
- # Guide*.
870
- #
871
- #
872
- #
873
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
877
+ # You can't specify a count of private IPv4 addresses if you've
878
+ # specified one of the following: specific private IPv4 addresses,
879
+ # specific IPv4 prefixes, or a count of IPv4 prefixes.
874
880
  # @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
875
- # One or more IPv4 prefixes assigned to the network interface. You
876
- # cannot use this option if you use the `Ipv4PrefixCount` option.
881
+ # The IPv4 prefixes assigned to the network interface.
882
+ #
883
+ # You can't specify IPv4 prefixes if you've specified one of the
884
+ # following: a count of IPv4 prefixes, specific private IPv4 addresses,
885
+ # or a count of private IPv4 addresses.
877
886
  # @option options [Integer] :ipv_4_prefix_count
878
887
  # The number of IPv4 prefixes that Amazon Web Services automatically
879
- # assigns to the network interface. You cannot use this option if you
880
- # use the `Ipv4 Prefixes` option.
888
+ # assigns to the network interface.
889
+ #
890
+ # You can't specify a count of IPv4 prefixes if you've specified one
891
+ # of the following: specific IPv4 prefixes, specific private IPv4
892
+ # addresses, or a count of private IPv4 addresses.
881
893
  # @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
882
- # One or more IPv6 prefixes assigned to the network interface. You
883
- # cannot use this option if you use the `Ipv6PrefixCount` option.
894
+ # The IPv6 prefixes assigned to the network interface.
895
+ #
896
+ # You can't specify IPv6 prefixes if you've specified one of the
897
+ # following: a count of IPv6 prefixes, specific IPv6 addresses, or a
898
+ # count of IPv6 addresses.
884
899
  # @option options [Integer] :ipv_6_prefix_count
885
900
  # The number of IPv6 prefixes that Amazon Web Services automatically
886
- # assigns to the network interface. You cannot use this option if you
887
- # use the `Ipv6Prefixes` option.
901
+ # assigns to the network interface.
902
+ #
903
+ # You can't specify a count of IPv6 prefixes if you've specified one
904
+ # of the following: specific IPv6 prefixes, specific IPv6 addresses, or
905
+ # a count of IPv6 addresses.
888
906
  # @option options [String] :interface_type
889
907
  # The type of network interface. The default is `interface`.
890
908
  #
@@ -2135,13 +2153,12 @@ module Aws::EC2
2135
2153
  # results include all images for which you have launch permissions,
2136
2154
  # regardless of ownership.
2137
2155
  # @option options [Boolean] :include_deprecated
2138
- # If `true`, all deprecated AMIs are included in the response. If
2139
- # `false`, no deprecated AMIs are included in the response. If no value
2140
- # is specified, the default value is `false`.
2156
+ # Specifies whether to include deprecated AMIs.
2157
+ #
2158
+ # Default: No deprecated AMIs are included in the response.
2141
2159
  #
2142
2160
  # <note markdown="1"> If you are the AMI owner, all deprecated AMIs appear in the response
2143
- # regardless of the value (`true` or `false`) that you set for this
2144
- # parameter.
2161
+ # regardless of what you specify for this parameter.
2145
2162
  #
2146
2163
  # </note>
2147
2164
  # @option options [Boolean] :dry_run
@@ -2969,7 +2986,7 @@ module Aws::EC2
2969
2986
  # If you have the required permissions, the error response is
2970
2987
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2971
2988
  # @option options [Array<String>] :network_interface_ids
2972
- # One or more network interface IDs.
2989
+ # The network interface IDs.
2973
2990
  #
2974
2991
  # Default: Describes all your network interfaces.
2975
2992
  # @return [NetworkInterface::Collection]
@@ -379,7 +379,8 @@ module Aws::EC2
379
379
  # @option options [String] :group_name
380
380
  # \[EC2-Classic, default VPC\] The name of the security group. You must
381
381
  # specify either the security group ID or the security group name in the
382
- # request.
382
+ # request. For security groups in a nondefault VPC, you must specify the
383
+ # security group ID.
383
384
  # @option options [Array<Types::IpPermission>] :ip_permissions
384
385
  # The sets of IP permissions.
385
386
  # @option options [String] :ip_protocol
@@ -525,7 +526,9 @@ module Aws::EC2
525
526
  # @param [Hash] options ({})
526
527
  # @option options [String] :group_name
527
528
  # \[EC2-Classic, default VPC\] The name of the security group. You can
528
- # specify either the security group name or the security group ID.
529
+ # specify either the security group name or the security group ID. For
530
+ # security groups in a nondefault VPC, you must specify the security
531
+ # group ID.
529
532
  # @option options [Boolean] :dry_run
530
533
  # Checks whether you have the required permissions for the action,
531
534
  # without actually making the request, and provides an error response.
@@ -678,7 +681,8 @@ module Aws::EC2
678
681
  # @option options [String] :group_name
679
682
  # \[EC2-Classic, default VPC\] The name of the security group. You must
680
683
  # specify either the security group ID or the security group name in the
681
- # request.
684
+ # request. For security groups in a nondefault VPC, you must specify the
685
+ # security group ID.
682
686
  # @option options [Array<Types::IpPermission>] :ip_permissions
683
687
  # The sets of IP permissions. You can't specify a source security group
684
688
  # and a CIDR IP address range in the same set of permissions.
@@ -880,13 +880,20 @@ module Aws::EC2
880
880
  # @option options [Integer] :ipv_6_address_count
881
881
  # The number of IPv6 addresses to assign to a network interface. Amazon
882
882
  # EC2 automatically selects the IPv6 addresses from the subnet range.
883
- # You can't use this option if specifying specific IPv6 addresses. If
884
- # your subnet has the `AssignIpv6AddressOnCreation` attribute set to
885
- # `true`, you can specify `0` to override this setting.
883
+ #
884
+ # You can't specify a count of IPv6 addresses using this parameter if
885
+ # you've specified one of the following: specific IPv6 addresses,
886
+ # specific IPv6 prefixes, or a count of IPv6 prefixes.
887
+ #
888
+ # If your subnet has the `AssignIpv6AddressOnCreation` attribute set,
889
+ # you can override that setting by specifying 0 as the IPv6 address
890
+ # count.
886
891
  # @option options [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
887
- # One or more specific IPv6 addresses from the IPv6 CIDR block range of
888
- # your subnet. You can't use this option if you're specifying a number
889
- # of IPv6 addresses.
892
+ # The IPv6 addresses from the IPv6 CIDR block range of your subnet.
893
+ #
894
+ # You can't specify IPv6 addresses using this parameter if you've
895
+ # specified one of the following: a count of IPv6 addresses, specific
896
+ # IPv6 prefixes, or a count of IPv6 prefixes.
890
897
  # @option options [String] :private_ip_address
891
898
  # The primary private IPv4 address of the network interface. If you
892
899
  # don't specify an IPv4 address, Amazon EC2 selects one for you from
@@ -894,7 +901,11 @@ module Aws::EC2
894
901
  # cannot indicate any IP addresses specified in `privateIpAddresses` as
895
902
  # primary (only one IP address can be designated as primary).
896
903
  # @option options [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
897
- # One or more private IPv4 addresses.
904
+ # The private IPv4 addresses.
905
+ #
906
+ # You can't specify private IPv4 addresses if you've specified one of
907
+ # the following: a count of private IPv4 addresses, specific IPv4
908
+ # prefixes, or a count of IPv4 prefixes.
898
909
  # @option options [Integer] :secondary_private_ip_address_count
899
910
  # The number of secondary private IPv4 addresses to assign to a network
900
911
  # interface. When you specify a number of secondary IPv4 addresses,
@@ -902,28 +913,35 @@ module Aws::EC2
902
913
  # range. You can't specify this option and specify more than one
903
914
  # private IP address using `privateIpAddresses`.
904
915
  #
905
- # The number of IP addresses you can assign to a network interface
906
- # varies by instance type. For more information, see [IP Addresses Per
907
- # ENI Per Instance Type][1] in the *Amazon Virtual Private Cloud User
908
- # Guide*.
909
- #
910
- #
911
- #
912
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
916
+ # You can't specify a count of private IPv4 addresses if you've
917
+ # specified one of the following: specific private IPv4 addresses,
918
+ # specific IPv4 prefixes, or a count of IPv4 prefixes.
913
919
  # @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
914
- # One or more IPv4 prefixes assigned to the network interface. You
915
- # cannot use this option if you use the `Ipv4PrefixCount` option.
920
+ # The IPv4 prefixes assigned to the network interface.
921
+ #
922
+ # You can't specify IPv4 prefixes if you've specified one of the
923
+ # following: a count of IPv4 prefixes, specific private IPv4 addresses,
924
+ # or a count of private IPv4 addresses.
916
925
  # @option options [Integer] :ipv_4_prefix_count
917
926
  # The number of IPv4 prefixes that Amazon Web Services automatically
918
- # assigns to the network interface. You cannot use this option if you
919
- # use the `Ipv4 Prefixes` option.
927
+ # assigns to the network interface.
928
+ #
929
+ # You can't specify a count of IPv4 prefixes if you've specified one
930
+ # of the following: specific IPv4 prefixes, specific private IPv4
931
+ # addresses, or a count of private IPv4 addresses.
920
932
  # @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
921
- # One or more IPv6 prefixes assigned to the network interface. You
922
- # cannot use this option if you use the `Ipv6PrefixCount` option.
933
+ # The IPv6 prefixes assigned to the network interface.
934
+ #
935
+ # You can't specify IPv6 prefixes if you've specified one of the
936
+ # following: a count of IPv6 prefixes, specific IPv6 addresses, or a
937
+ # count of IPv6 addresses.
923
938
  # @option options [Integer] :ipv_6_prefix_count
924
939
  # The number of IPv6 prefixes that Amazon Web Services automatically
925
- # assigns to the network interface. You cannot use this option if you
926
- # use the `Ipv6Prefixes` option.
940
+ # assigns to the network interface.
941
+ #
942
+ # You can't specify a count of IPv6 prefixes if you've specified one
943
+ # of the following: specific IPv6 prefixes, specific IPv6 addresses, or
944
+ # a count of IPv6 addresses.
927
945
  # @option options [String] :interface_type
928
946
  # The type of network interface. The default is `interface`.
929
947
  #
@@ -1581,7 +1599,7 @@ module Aws::EC2
1581
1599
  # If you have the required permissions, the error response is
1582
1600
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1583
1601
  # @option options [Array<String>] :network_interface_ids
1584
- # One or more network interface IDs.
1602
+ # The network interface IDs.
1585
1603
  #
1586
1604
  # Default: Describes all your network interfaces.
1587
1605
  # @return [NetworkInterface::Collection]