aws-sdk-ec2 1.335.0 → 1.337.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -321,6 +321,8 @@ module Aws::EC2
321
321
  CoipPoolIdSet = Shapes::ListShape.new(name: 'CoipPoolIdSet')
322
322
  CoipPoolMaxResults = Shapes::IntegerShape.new(name: 'CoipPoolMaxResults')
323
323
  CoipPoolSet = Shapes::ListShape.new(name: 'CoipPoolSet')
324
+ ComponentAccount = Shapes::StringShape.new(name: 'ComponentAccount')
325
+ ComponentRegion = Shapes::StringShape.new(name: 'ComponentRegion')
324
326
  ConfirmProductInstanceRequest = Shapes::StructureShape.new(name: 'ConfirmProductInstanceRequest')
325
327
  ConfirmProductInstanceResult = Shapes::StructureShape.new(name: 'ConfirmProductInstanceResult')
326
328
  ConnectionLogOptions = Shapes::StructureShape.new(name: 'ConnectionLogOptions')
@@ -3041,6 +3043,7 @@ module Aws::EC2
3041
3043
  AnalysisRouteTableRoute.add_member(:origin, Shapes::ShapeRef.new(shape: String, location_name: "origin"))
3042
3044
  AnalysisRouteTableRoute.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayId"))
3043
3045
  AnalysisRouteTableRoute.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
3046
+ AnalysisRouteTableRoute.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "state"))
3044
3047
  AnalysisRouteTableRoute.struct_class = Types::AnalysisRouteTableRoute
3045
3048
 
3046
3049
  AnalysisSecurityGroupRule.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "cidr"))
@@ -7187,7 +7190,7 @@ module Aws::EC2
7187
7190
  EbsBlockDevice.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
7188
7191
  EbsBlockDevice.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
7189
7192
  EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
7190
- EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
7193
+ EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
7191
7194
  EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
7192
7195
  EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
7193
7196
  EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
@@ -7464,6 +7467,8 @@ module Aws::EC2
7464
7467
  Explanation.add_member(:transit_gateway_route_table, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "transitGatewayRouteTable"))
7465
7468
  Explanation.add_member(:transit_gateway_route_table_route, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableRoute, location_name: "transitGatewayRouteTableRoute"))
7466
7469
  Explanation.add_member(:transit_gateway_attachment, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "transitGatewayAttachment"))
7470
+ Explanation.add_member(:component_account, Shapes::ShapeRef.new(shape: ComponentAccount, location_name: "componentAccount"))
7471
+ Explanation.add_member(:component_region, Shapes::ShapeRef.new(shape: ComponentRegion, location_name: "componentRegion"))
7467
7472
  Explanation.struct_class = Types::Explanation
7468
7473
 
7469
7474
  ExplanationList.member = Shapes::ShapeRef.new(shape: Explanation, location_name: "item")
@@ -10740,6 +10745,8 @@ module Aws::EC2
10740
10745
  PathComponent.add_member(:additional_details, Shapes::ShapeRef.new(shape: AdditionalDetailList, location_name: "additionalDetailSet"))
10741
10746
  PathComponent.add_member(:transit_gateway, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "transitGateway"))
10742
10747
  PathComponent.add_member(:transit_gateway_route_table_route, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableRoute, location_name: "transitGatewayRouteTableRoute"))
10748
+ PathComponent.add_member(:explanations, Shapes::ShapeRef.new(shape: ExplanationList, location_name: "explanationSet"))
10749
+ PathComponent.add_member(:elastic_load_balancer_listener, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "elasticLoadBalancerListener"))
10743
10750
  PathComponent.struct_class = Types::PathComponent
10744
10751
 
10745
10752
  PathComponentList.member = Shapes::ShapeRef.new(shape: PathComponent, location_name: "item")
@@ -1010,7 +1010,14 @@ module Aws::EC2
1010
1010
  # You must disable source/destination checks if the instance runs
1011
1011
  # services such as network address translation, routing, or firewalls.
1012
1012
  # @option options [String] :attribute
1013
- # The name of the attribute.
1013
+ # The name of the attribute to modify.
1014
+ #
1015
+ # You can modify the following attributes only: `disableApiTermination`
1016
+ # \| `instanceType` \| `kernel` \| `ramdisk` \|
1017
+ # `instanceInitiatedShutdownBehavior` \| `blockDeviceMapping` \|
1018
+ # `userData` \| `sourceDestCheck` \| `groupSet` \| `ebsOptimized` \|
1019
+ # `sriovNetSupport` \| `enaSupport` \| `nvmeSupport` \| `disableApiStop`
1020
+ # \| `enclaveOptions`
1014
1021
  # @option options [Array<Types::InstanceBlockDeviceMappingSpecification>] :block_device_mappings
1015
1022
  # Modifies the `DeleteOnTermination` attribute for volumes that are
1016
1023
  # currently attached. The volume must be owned by the caller. If no
@@ -337,9 +337,9 @@ module Aws::EC2
337
337
  # another network interface or instance to be reassigned to the
338
338
  # specified network interface.
339
339
  # @option options [Array<String>] :private_ip_addresses
340
- # One or more IP addresses to be assigned as a secondary private IP
341
- # address to the network interface. You can't specify this parameter
342
- # when also specifying a number of secondary IP addresses.
340
+ # The IP addresses to be assigned as a secondary private IP address to
341
+ # the network interface. You can't specify this parameter when also
342
+ # specifying a number of secondary IP addresses.
343
343
  #
344
344
  # If you don't specify an IP address, Amazon EC2 automatically selects
345
345
  # an IP address within the subnet range.
@@ -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]
@@ -3479,10 +3496,22 @@ module Aws::EC2
3479
3496
  # to be returned for the subnet. You can also use `cidr` or
3480
3497
  # `cidrBlock` as the filter names.
3481
3498
  #
3499
+ # * `customer-owned-ipv4-pool` - The customer-owned IPv4 address pool
3500
+ # associated with the subnet.
3501
+ #
3482
3502
  # * `default-for-az` - Indicates whether this is the default subnet for
3483
3503
  # the Availability Zone (`true` \| `false`). You can also use
3484
3504
  # `defaultForAz` as the filter name.
3485
3505
  #
3506
+ # * `enable-dns64` - Indicates whether DNS queries made to the
3507
+ # Amazon-provided DNS Resolver in this subnet should return synthetic
3508
+ # IPv6 addresses for IPv4-only destinations.
3509
+ #
3510
+ # * `enable-lni-at-device-index` - Indicates the device position for
3511
+ # local network interfaces in this subnet. For example, `1` indicates
3512
+ # local network interfaces in this subnet are the secondary network
3513
+ # interface (eth1).
3514
+ #
3486
3515
  # * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
3487
3516
  # associated with the subnet.
3488
3517
  #
@@ -3495,11 +3524,33 @@ module Aws::EC2
3495
3524
  # * `ipv6-native` - Indicates whether this is an IPv6 only subnet
3496
3525
  # (`true` \| `false`).
3497
3526
  #
3527
+ # * `map-customer-owned-ip-on-launch` - Indicates whether a network
3528
+ # interface created in this subnet (including a network interface
3529
+ # created by RunInstances) receives a customer-owned IPv4 address.
3530
+ #
3531
+ # * `map-public-ip-on-launch` - Indicates whether instances launched in
3532
+ # this subnet receive a public IPv4 address.
3533
+ #
3498
3534
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
3499
3535
  #
3500
3536
  # * `owner-id` - The ID of the Amazon Web Services account that owns the
3501
3537
  # subnet.
3502
3538
  #
3539
+ # * `private-dns-name-options-on-launch.hostname-type` - The type of
3540
+ # hostname to assign to instances in the subnet at launch. For
3541
+ # IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS
3542
+ # name can be based on the instance IPv4 address (ip-name) or the
3543
+ # instance ID (resource-name). For IPv6 only subnets, an instance DNS
3544
+ # name must be based on the instance ID (resource-name).
3545
+ #
3546
+ # * `private-dns-name-options-on-launch.enable-resource-name-dns-a-record`
3547
+ # - Indicates whether to respond to DNS queries for instance hostnames
3548
+ # with DNS A records.
3549
+ #
3550
+ # * `private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record`
3551
+ # - Indicates whether to respond to DNS queries for instance hostnames
3552
+ # with DNS AAAA records.
3553
+ #
3503
3554
  # * `state` - The state of the subnet (`pending` \| `available`).
3504
3555
  #
3505
3556
  # * `subnet-arn` - The Amazon Resource Name (ARN) of the subnet.
@@ -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]