aws-sdk-ec2 1.180.0 → 1.185.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37b4725f174cb33b9486c57433d6dab7907a904228b46b14348afd9d76a0d474
4
- data.tar.gz: d3821c0054a119b288f5479c6f5a46ef490a23bf3afc4f4414c28ddf4fe27944
3
+ metadata.gz: 63f95ae0213d0f4f5b2863e5d8ab26088b57ebdcb90822de26fb07f31bbaee5e
4
+ data.tar.gz: 529571a52f01e96b63ec503b07d45500cdb632a1c7865a46b189cb22b68892da
5
5
  SHA512:
6
- metadata.gz: 779a9a5437089585466a904aaccb54e1b66fad6a32c4446f4a5302aff3e32b402b923f67e186232f5a57fcaf2645a68eabc563e7e2a67a0870cfcf7ca8a08ad7
7
- data.tar.gz: a9c62072b6884d8143ffa9a899ed8597a85018acb776ca3ddfbf784dc4be99b03de7366b56f2b606a70c7c4b92dcbbee7eb58b9d617ea8699ed4e528ae7608a5
6
+ metadata.gz: 1c723c6f37e2a6fc344c0aa88fd84b4c6f1d19ab21da4bc38412f7a1efe8503f1763d426eb71effe40b95ee3b74433e2ccf211f208597d0fec2c969b4b8bf236
7
+ data.tar.gz: b61cd5a797bb48b6c65f749aa83db52fff28e1b16a77a780fe09793630b33b2dedf52816f9b67d05f2498a52781c5f173c518a3ef3b932d2b012a60b6ed37236
@@ -71,6 +71,6 @@ require_relative 'aws-sdk-ec2/customizations'
71
71
  # @service
72
72
  module Aws::EC2
73
73
 
74
- GEM_VERSION = '1.180.0'
74
+ GEM_VERSION = '1.185.0'
75
75
 
76
76
  end
@@ -91,7 +91,8 @@ module Aws::EC2
91
91
  data[:public_ipv_4_pool]
92
92
  end
93
93
 
94
- # The name of the location from which the IP address is advertised.
94
+ # The name of the unique set of Availability Zones, Local Zones, or
95
+ # Wavelength Zones from which AWS advertises IP addresses.
95
96
  # @return [String]
96
97
  def network_border_group
97
98
  data[:network_border_group]
@@ -109,6 +110,14 @@ module Aws::EC2
109
110
  data[:customer_owned_ipv_4_pool]
110
111
  end
111
112
 
113
+ # The carrier IP address associated. This option is only available for
114
+ # network interfaces which reside in a subnet in a Wavelength Zone (for
115
+ # example an EC2 instance).
116
+ # @return [String]
117
+ def carrier_ip
118
+ data[:carrier_ip]
119
+ end
120
+
112
121
  # @!endgroup
113
122
 
114
123
  # @return [Client]
@@ -324,7 +333,8 @@ module Aws::EC2
324
333
  # @option options [String] :allocation_id
325
334
  # \[EC2-VPC\] The allocation ID. Required for EC2-VPC.
326
335
  # @option options [String] :network_border_group
327
- # The location that the IP address is released from.
336
+ # The set of Availability Zones, Local Zones, or Wavelength Zones from
337
+ # which AWS advertises IP addresses.
328
338
  #
329
339
  # If you provide an incorrect network border group, you will receive an
330
340
  # `InvalidAddress.NotFound` error. For more information, see [Error
@@ -659,6 +659,10 @@ module Aws::EC2
659
659
  # For more information, see [Elastic IP Addresses][2] in the *Amazon
660
660
  # Elastic Compute Cloud User Guide*.
661
661
  #
662
+ # You can allocate a carrier IP address which is a public IP address
663
+ # from a telecommunication carrier, to a network interface which resides
664
+ # in a subnet in a Wavelength Zone (for example an EC2 instance).
665
+ #
662
666
  #
663
667
  #
664
668
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html
@@ -682,12 +686,10 @@ module Aws::EC2
682
686
  # instead.
683
687
  #
684
688
  # @option params [String] :network_border_group
685
- # The location from which the IP address is advertised. Use this
686
- # parameter to limit the address to this location.
687
- #
688
- # A network border group is a unique set of Availability Zones or Local
689
- # Zones from where AWS advertises IP addresses and limits the addresses
690
- # to the group. IP addresses cannot move between network border groups.
689
+ # A unique set of Availability Zones, Local Zones, or Wavelength Zones
690
+ # from which AWS advertises IP addresses. Use this parameter to limit
691
+ # the IP address to this location. IP addresses cannot move between
692
+ # network border groups.
691
693
  #
692
694
  # Use [DescribeAvailabilityZones][1] to view the network border groups.
693
695
  #
@@ -723,6 +725,7 @@ module Aws::EC2
723
725
  # * {Types::AllocateAddressResult#domain #domain} => String
724
726
  # * {Types::AllocateAddressResult#customer_owned_ip #customer_owned_ip} => String
725
727
  # * {Types::AllocateAddressResult#customer_owned_ipv_4_pool #customer_owned_ipv_4_pool} => String
728
+ # * {Types::AllocateAddressResult#carrier_ip #carrier_ip} => String
726
729
  #
727
730
  #
728
731
  # @example Example: To allocate an Elastic IP address for EC2-VPC
@@ -773,6 +776,7 @@ module Aws::EC2
773
776
  # resp.domain #=> String, one of "vpc", "standard"
774
777
  # resp.customer_owned_ip #=> String
775
778
  # resp.customer_owned_ipv_4_pool #=> String
779
+ # resp.carrier_ip #=> String
776
780
  #
777
781
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddress AWS API Documentation
778
782
  #
@@ -1099,7 +1103,8 @@ module Aws::EC2
1099
1103
  req.send_request(options)
1100
1104
  end
1101
1105
 
1102
- # Associates an Elastic IP address with an instance or a network
1106
+ # Associates an Elastic IP address, or carrier IP address (for instances
1107
+ # that are in subnets in Wavelength Zones) with an instance or a network
1103
1108
  # interface. Before you can use an Elastic IP address, you must allocate
1104
1109
  # it to your account.
1105
1110
  #
@@ -1123,6 +1128,9 @@ module Aws::EC2
1123
1128
  # an instance or network interface that has an existing Elastic IP
1124
1129
  # address.
1125
1130
  #
1131
+ # \[Subnets in Wavelength Zones\] You can associate an IP address from
1132
+ # the telecommunication carrier to the instance or network interface.
1133
+ #
1126
1134
  # You cannot associate an Elastic IP address with an interface in a
1127
1135
  # different network border group.
1128
1136
  #
@@ -1694,7 +1702,7 @@ module Aws::EC2
1694
1702
  #
1695
1703
  # @option params [String] :ipv_6_cidr_block_network_border_group
1696
1704
  # The name of the location from which we advertise the IPV6 CIDR block.
1697
- # Use this parameter to limit the CiDR block to this location.
1705
+ # Use this parameter to limit the CIDR block to this location.
1698
1706
  #
1699
1707
  # You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
1700
1708
  # parameter.
@@ -3526,8 +3534,6 @@ module Aws::EC2
3526
3534
  # idempotency of the request. For more information, see [How to Ensure
3527
3535
  # Idempotency][1].
3528
3536
  #
3529
- # Constraint: Maximum 64 ASCII characters.
3530
- #
3531
3537
  #
3532
3538
  #
3533
3539
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
@@ -3694,6 +3700,80 @@ module Aws::EC2
3694
3700
  req.send_request(options)
3695
3701
  end
3696
3702
 
3703
+ # Creates a carrier gateway. For more information about carrier
3704
+ # gateways, see [Carrier gateways][1] in the *AWS Wavelength Developer
3705
+ # Guide*.
3706
+ #
3707
+ #
3708
+ #
3709
+ # [1]: https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#wavelength-carrier-gateway
3710
+ #
3711
+ # @option params [required, String] :vpc_id
3712
+ # The ID of the VPC to associate with the carrier gateway.
3713
+ #
3714
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
3715
+ # The tags to associate with the carrier gateway.
3716
+ #
3717
+ # @option params [Boolean] :dry_run
3718
+ # Checks whether you have the required permissions for the action,
3719
+ # without actually making the request, and provides an error response.
3720
+ # If you have the required permissions, the error response is
3721
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
3722
+ #
3723
+ # @option params [String] :client_token
3724
+ # Unique, case-sensitive identifier that you provide to ensure the
3725
+ # idempotency of the request. For more information, see [How to Ensure
3726
+ # Idempotency][1].
3727
+ #
3728
+ # **A suitable default value is auto-generated.** You should normally
3729
+ # not need to pass this option.**
3730
+ #
3731
+ #
3732
+ #
3733
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
3734
+ #
3735
+ # @return [Types::CreateCarrierGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3736
+ #
3737
+ # * {Types::CreateCarrierGatewayResult#carrier_gateway #carrier_gateway} => Types::CarrierGateway
3738
+ #
3739
+ # @example Request syntax with placeholder values
3740
+ #
3741
+ # resp = client.create_carrier_gateway({
3742
+ # vpc_id: "VpcId", # required
3743
+ # tag_specifications: [
3744
+ # {
3745
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
3746
+ # tags: [
3747
+ # {
3748
+ # key: "String",
3749
+ # value: "String",
3750
+ # },
3751
+ # ],
3752
+ # },
3753
+ # ],
3754
+ # dry_run: false,
3755
+ # client_token: "String",
3756
+ # })
3757
+ #
3758
+ # @example Response structure
3759
+ #
3760
+ # resp.carrier_gateway.carrier_gateway_id #=> String
3761
+ # resp.carrier_gateway.vpc_id #=> String
3762
+ # resp.carrier_gateway.state #=> String, one of "pending", "available", "deleting", "deleted"
3763
+ # resp.carrier_gateway.owner_id #=> String
3764
+ # resp.carrier_gateway.tags #=> Array
3765
+ # resp.carrier_gateway.tags[0].key #=> String
3766
+ # resp.carrier_gateway.tags[0].value #=> String
3767
+ #
3768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCarrierGateway AWS API Documentation
3769
+ #
3770
+ # @overload create_carrier_gateway(params = {})
3771
+ # @param [Hash] params ({})
3772
+ def create_carrier_gateway(params = {}, options = {})
3773
+ req = build_request(:create_carrier_gateway, params)
3774
+ req.send_request(options)
3775
+ end
3776
+
3697
3777
  # Creates a Client VPN endpoint. A Client VPN endpoint is the resource
3698
3778
  # you create and configure to enable and manage client VPN sessions. It
3699
3779
  # is the destination endpoint at which all client VPN sessions are
@@ -5415,6 +5495,7 @@ module Aws::EC2
5415
5495
  # ],
5416
5496
  # network_interfaces: [
5417
5497
  # {
5498
+ # associate_carrier_ip_address: false,
5418
5499
  # associate_public_ip_address: false,
5419
5500
  # delete_on_termination: false,
5420
5501
  # description: "String",
@@ -5504,6 +5585,7 @@ module Aws::EC2
5504
5585
  # capacity_reservation_preference: "open", # accepts open, none
5505
5586
  # capacity_reservation_target: {
5506
5587
  # capacity_reservation_id: "CapacityReservationId",
5588
+ # capacity_reservation_resource_group_arn: "String",
5507
5589
  # },
5508
5590
  # },
5509
5591
  # license_specifications: [
@@ -5694,6 +5776,7 @@ module Aws::EC2
5694
5776
  # ],
5695
5777
  # network_interfaces: [
5696
5778
  # {
5779
+ # associate_carrier_ip_address: false,
5697
5780
  # associate_public_ip_address: false,
5698
5781
  # delete_on_termination: false,
5699
5782
  # description: "String",
@@ -5783,6 +5866,7 @@ module Aws::EC2
5783
5866
  # capacity_reservation_preference: "open", # accepts open, none
5784
5867
  # capacity_reservation_target: {
5785
5868
  # capacity_reservation_id: "CapacityReservationId",
5869
+ # capacity_reservation_resource_group_arn: "String",
5786
5870
  # },
5787
5871
  # },
5788
5872
  # license_specifications: [
@@ -5826,6 +5910,7 @@ module Aws::EC2
5826
5910
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
5827
5911
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].no_device #=> String
5828
5912
  # resp.launch_template_version.launch_template_data.network_interfaces #=> Array
5913
+ # resp.launch_template_version.launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
5829
5914
  # resp.launch_template_version.launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
5830
5915
  # resp.launch_template_version.launch_template_data.network_interfaces[0].delete_on_termination #=> Boolean
5831
5916
  # resp.launch_template_version.launch_template_data.network_interfaces[0].description #=> String
@@ -5884,6 +5969,7 @@ module Aws::EC2
5884
5969
  # resp.launch_template_version.launch_template_data.cpu_options.threads_per_core #=> Integer
5885
5970
  # resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
5886
5971
  # resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
5972
+ # resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
5887
5973
  # resp.launch_template_version.launch_template_data.license_specifications #=> Array
5888
5974
  # resp.launch_template_version.launch_template_data.license_specifications[0].license_configuration_arn #=> String
5889
5975
  # resp.launch_template_version.launch_template_data.hibernation_options.configured #=> Boolean
@@ -6652,6 +6738,7 @@ module Aws::EC2
6652
6738
  # resp.network_interface.association.ip_owner_id #=> String
6653
6739
  # resp.network_interface.association.public_dns_name #=> String
6654
6740
  # resp.network_interface.association.public_ip #=> String
6741
+ # resp.network_interface.association.carrier_ip #=> String
6655
6742
  # resp.network_interface.attachment.attach_time #=> Time
6656
6743
  # resp.network_interface.attachment.attachment_id #=> String
6657
6744
  # resp.network_interface.attachment.delete_on_termination #=> Boolean
@@ -6679,6 +6766,7 @@ module Aws::EC2
6679
6766
  # resp.network_interface.private_ip_addresses[0].association.ip_owner_id #=> String
6680
6767
  # resp.network_interface.private_ip_addresses[0].association.public_dns_name #=> String
6681
6768
  # resp.network_interface.private_ip_addresses[0].association.public_ip #=> String
6769
+ # resp.network_interface.private_ip_addresses[0].association.carrier_ip #=> String
6682
6770
  # resp.network_interface.private_ip_addresses[0].primary #=> Boolean
6683
6771
  # resp.network_interface.private_ip_addresses[0].private_dns_name #=> String
6684
6772
  # resp.network_interface.private_ip_addresses[0].private_ip_address #=> String
@@ -7029,6 +7117,12 @@ module Aws::EC2
7029
7117
  # @option params [String] :local_gateway_id
7030
7118
  # The ID of the local gateway.
7031
7119
  #
7120
+ # @option params [String] :carrier_gateway_id
7121
+ # The ID of the carrier gateway.
7122
+ #
7123
+ # You can only use this option when the VPC contains a subnet which is
7124
+ # associated with a Wavelength Zone.
7125
+ #
7032
7126
  # @option params [String] :network_interface_id
7033
7127
  # The ID of a network interface.
7034
7128
  #
@@ -7067,6 +7161,7 @@ module Aws::EC2
7067
7161
  # nat_gateway_id: "NatGatewayId",
7068
7162
  # transit_gateway_id: "TransitGatewayId",
7069
7163
  # local_gateway_id: "LocalGatewayId",
7164
+ # carrier_gateway_id: "CarrierGatewayId",
7070
7165
  # network_interface_id: "NetworkInterfaceId",
7071
7166
  # route_table_id: "RouteTableId", # required
7072
7167
  # vpc_peering_connection_id: "VpcPeeringConnectionId",
@@ -7183,6 +7278,7 @@ module Aws::EC2
7183
7278
  # resp.route_table.routes[0].nat_gateway_id #=> String
7184
7279
  # resp.route_table.routes[0].transit_gateway_id #=> String
7185
7280
  # resp.route_table.routes[0].local_gateway_id #=> String
7281
+ # resp.route_table.routes[0].carrier_gateway_id #=> String
7186
7282
  # resp.route_table.routes[0].network_interface_id #=> String
7187
7283
  # resp.route_table.routes[0].origin #=> String, one of "CreateRouteTable", "CreateRoute", "EnableVgwRoutePropagation"
7188
7284
  # resp.route_table.routes[0].state #=> String, one of "active", "blackhole"
@@ -9945,6 +10041,55 @@ module Aws::EC2
9945
10041
  req.send_request(options)
9946
10042
  end
9947
10043
 
10044
+ # Deletes a carrier gateway.
10045
+ #
10046
+ # If you do not delete the route that contains the carrier gateway as
10047
+ # the Target, the route is a blackhole route. For information about how
10048
+ # to delete a route, see [DeleteRoute][1].
10049
+ #
10050
+ #
10051
+ #
10052
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteRoute.html
10053
+ #
10054
+ # @option params [required, String] :carrier_gateway_id
10055
+ # The ID of the carrier gateway.
10056
+ #
10057
+ # @option params [Boolean] :dry_run
10058
+ # Checks whether you have the required permissions for the action,
10059
+ # without actually making the request, and provides an error response.
10060
+ # If you have the required permissions, the error response is
10061
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
10062
+ #
10063
+ # @return [Types::DeleteCarrierGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10064
+ #
10065
+ # * {Types::DeleteCarrierGatewayResult#carrier_gateway #carrier_gateway} => Types::CarrierGateway
10066
+ #
10067
+ # @example Request syntax with placeholder values
10068
+ #
10069
+ # resp = client.delete_carrier_gateway({
10070
+ # carrier_gateway_id: "CarrierGatewayId", # required
10071
+ # dry_run: false,
10072
+ # })
10073
+ #
10074
+ # @example Response structure
10075
+ #
10076
+ # resp.carrier_gateway.carrier_gateway_id #=> String
10077
+ # resp.carrier_gateway.vpc_id #=> String
10078
+ # resp.carrier_gateway.state #=> String, one of "pending", "available", "deleting", "deleted"
10079
+ # resp.carrier_gateway.owner_id #=> String
10080
+ # resp.carrier_gateway.tags #=> Array
10081
+ # resp.carrier_gateway.tags[0].key #=> String
10082
+ # resp.carrier_gateway.tags[0].value #=> String
10083
+ #
10084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCarrierGateway AWS API Documentation
10085
+ #
10086
+ # @overload delete_carrier_gateway(params = {})
10087
+ # @param [Hash] params ({})
10088
+ def delete_carrier_gateway(params = {}, options = {})
10089
+ req = build_request(:delete_carrier_gateway, params)
10090
+ req.send_request(options)
10091
+ end
10092
+
9948
10093
  # Deletes the specified Client VPN endpoint. You must disassociate all
9949
10094
  # target networks before you can delete a Client VPN endpoint.
9950
10095
  #
@@ -12499,8 +12644,8 @@ module Aws::EC2
12499
12644
  # * `instance-id` - The ID of the instance the address is associated
12500
12645
  # with, if any.
12501
12646
  #
12502
- # * `network-border-group` - The location from where the IP address is
12503
- # advertised.
12647
+ # * `network-border-group` - A unique set of Availability Zones, Local
12648
+ # Zones, or Wavelength Zones from where AWS advertises IP addresses.
12504
12649
  #
12505
12650
  # * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
12506
12651
  # that the address is associated with, if any.
@@ -12510,7 +12655,7 @@ module Aws::EC2
12510
12655
  # * `private-ip-address` - \[EC2-VPC\] The private IP address associated
12511
12656
  # with the Elastic IP address.
12512
12657
  #
12513
- # * `public-ip` - The Elastic IP address.
12658
+ # * `public-ip` - The Elastic IP address, or the carrier IP address.
12514
12659
  #
12515
12660
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
12516
12661
  # the resource. Use the tag key in the filter name and the tag value
@@ -12658,6 +12803,7 @@ module Aws::EC2
12658
12803
  # resp.addresses[0].network_border_group #=> String
12659
12804
  # resp.addresses[0].customer_owned_ip #=> String
12660
12805
  # resp.addresses[0].customer_owned_ipv_4_pool #=> String
12806
+ # resp.addresses[0].carrier_ip #=> String
12661
12807
  #
12662
12808
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses AWS API Documentation
12663
12809
  #
@@ -12722,14 +12868,14 @@ module Aws::EC2
12722
12868
  req.send_request(options)
12723
12869
  end
12724
12870
 
12725
- # Describes the Availability Zones and Local Zones that are available to
12726
- # you. If there is an event impacting an Availability Zone or Local
12727
- # Zone, you can use this request to view the state and any provided
12728
- # messages for that Availability Zone or Local Zone.
12871
+ # Describes the Availability Zones, Local Zones, and Wavelength Zones
12872
+ # that are available to you. If there is an event impacting a zone, you
12873
+ # can use this request to view the state and any provided messages for
12874
+ # that zone.
12729
12875
  #
12730
- # For more information about Availability Zones and Local Zones, see
12731
- # [Regions and Availability Zones][1] in the *Amazon Elastic Compute
12732
- # Cloud User Guide*.
12876
+ # For more information about Availability Zones, Local Zones, and
12877
+ # Wavelength Zones, see [Regions, Zones and Outposts][1] in the *Amazon
12878
+ # Elastic Compute Cloud User Guide*.
12733
12879
  #
12734
12880
  #
12735
12881
  #
@@ -12740,42 +12886,52 @@ module Aws::EC2
12740
12886
  #
12741
12887
  # * `group-name` - For Availability Zones, use the Region name. For
12742
12888
  # Local Zones, use the name of the group associated with the Local
12743
- # Zone (for example, `us-west-2-lax-1`).
12889
+ # Zone (for example, `us-west-2-lax-1`) For Wavelength Zones, use the
12890
+ # name of the group associated with the Wavelength Zone (for example,
12891
+ # `us-east-1-wl1-bos-wlz-1`).
12744
12892
  #
12745
12893
  # * `message` - The Zone message.
12746
12894
  #
12747
- # * `opt-in-status` - The opt in status (`opted-in`, and `not-opted-in`
12895
+ # * `opt-in-status` - The opt-in status (`opted-in`, and `not-opted-in`
12748
12896
  # \| `opt-in-not-required`).
12749
12897
  #
12750
- # * The ID of the zone that handles some of the Local Zone control plane
12751
- # operations, such as API calls.
12898
+ # * `parent-zoneID` - The ID of the zone that handles some of the Local
12899
+ # Zone and Wavelength Zone control plane operations, such as API
12900
+ # calls.
12901
+ #
12902
+ # * `parent-zoneName` - The ID of the zone that handles some of the
12903
+ # Local Zone and Wavelength Zone control plane operations, such as API
12904
+ # calls.
12752
12905
  #
12753
12906
  # * `region-name` - The name of the Region for the Zone (for example,
12754
12907
  # `us-east-1`).
12755
12908
  #
12756
- # * `state` - The state of the Availability Zone or Local Zone
12757
- # (`available` \| `information` \| `impaired` \| `unavailable`).
12909
+ # * `state` - The state of the Availability Zone, the Local Zone, or the
12910
+ # Wavelength Zone (`available` \| `information` \| `impaired` \|
12911
+ # `unavailable`).
12758
12912
  #
12759
12913
  # * `zone-id` - The ID of the Availability Zone (for example,
12760
- # `use1-az1`) or the Local Zone (for example, use `usw2-lax1-az1`).
12914
+ # `use1-az1`), the Local Zone (for example, `usw2-lax1-az1`), or the
12915
+ # Wavelength Zone (for example, `us-east-1-wl1-bos-wlz-1`).
12761
12916
  #
12762
12917
  # * `zone-type` - The type of zone, for example, `local-zone`.
12763
12918
  #
12764
12919
  # * `zone-name` - The name of the Availability Zone (for example,
12765
- # `us-east-1a`) or the Local Zone (for example, use
12766
- # `us-west-2-lax-1a`).
12920
+ # `us-east-1a`), the Local Zone (for example, `us-west-2-lax-1a`), or
12921
+ # the Wavelength Zone (for example, `us-east-1-wl1-bos-wlz-1`).
12767
12922
  #
12768
12923
  # * `zone-type` - The type of zone, for example, `local-zone`.
12769
12924
  #
12770
12925
  # @option params [Array<String>] :zone_names
12771
- # The names of the Zones.
12926
+ # The names of the Availability Zones, Local Zones, and Wavelength
12927
+ # Zones.
12772
12928
  #
12773
12929
  # @option params [Array<String>] :zone_ids
12774
- # The IDs of the Zones.
12930
+ # The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
12775
12931
  #
12776
12932
  # @option params [Boolean] :all_availability_zones
12777
- # Include all Availability Zones and Local Zones regardless of your opt
12778
- # in status.
12933
+ # Include all Availability Zones, Local Zones, and Wavelength Zones
12934
+ # regardless of your opt-in status.
12779
12935
  #
12780
12936
  # If you do not use this parameter, the results include only the zones
12781
12937
  # for the Regions where you have chosen the option to opt in.
@@ -13029,12 +13185,14 @@ module Aws::EC2
13029
13185
  # The ID of the Capacity Reservation.
13030
13186
  #
13031
13187
  # @option params [String] :next_token
13032
- # The token to retrieve the next page of results.
13188
+ # The token to use to retrieve the next page of results.
13033
13189
  #
13034
13190
  # @option params [Integer] :max_results
13035
13191
  # The maximum number of results to return for the request in a single
13036
13192
  # page. The remaining results can be seen by sending another request
13037
- # with the returned nextToken value.
13193
+ # with the returned `nextToken` value. This value can be between 5 and
13194
+ # 500. If `maxResults` is given a larger value than 500, you receive an
13195
+ # error.
13038
13196
  #
13039
13197
  # @option params [Array<Types::Filter>] :filters
13040
13198
  # One or more filters.
@@ -13177,6 +13335,90 @@ module Aws::EC2
13177
13335
  req.send_request(options)
13178
13336
  end
13179
13337
 
13338
+ # Describes one or more of your carrier gateways.
13339
+ #
13340
+ # @option params [Array<String>] :carrier_gateway_ids
13341
+ # One or more carrier gateway IDs.
13342
+ #
13343
+ # @option params [Array<Types::Filter>] :filters
13344
+ # One or more filters.
13345
+ #
13346
+ # * `carrier-gateway-id` - The ID of the carrier gateway.
13347
+ #
13348
+ # * `state` - The state of the carrier gateway (`pending` \| `failed` \|
13349
+ # `available` \| `deleting` \| `deleted`).
13350
+ #
13351
+ # * `owner-id` - The AWS account ID of the owner of the carrier gateway.
13352
+ #
13353
+ # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
13354
+ # the resource. Use the tag key in the filter name and the tag value
13355
+ # as the filter value. For example, to find all resources that have a
13356
+ # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
13357
+ # for the filter name and `TeamA` for the filter value.
13358
+ #
13359
+ # * `tag-key` - The key of a tag assigned to the resource. Use this
13360
+ # filter to find all resources assigned a tag with a specific key,
13361
+ # regardless of the tag value.
13362
+ #
13363
+ # * `vpc-id` - The ID of the VPC associated with the carrier gateway.
13364
+ #
13365
+ # @option params [Integer] :max_results
13366
+ # The maximum number of results to return with a single call. To
13367
+ # retrieve the remaining results, make another call with the returned
13368
+ # `nextToken` value.
13369
+ #
13370
+ # @option params [String] :next_token
13371
+ # The token for the next page of results.
13372
+ #
13373
+ # @option params [Boolean] :dry_run
13374
+ # Checks whether you have the required permissions for the action,
13375
+ # without actually making the request, and provides an error response.
13376
+ # If you have the required permissions, the error response is
13377
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
13378
+ #
13379
+ # @return [Types::DescribeCarrierGatewaysResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13380
+ #
13381
+ # * {Types::DescribeCarrierGatewaysResult#carrier_gateways #carrier_gateways} => Array&lt;Types::CarrierGateway&gt;
13382
+ # * {Types::DescribeCarrierGatewaysResult#next_token #next_token} => String
13383
+ #
13384
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
13385
+ #
13386
+ # @example Request syntax with placeholder values
13387
+ #
13388
+ # resp = client.describe_carrier_gateways({
13389
+ # carrier_gateway_ids: ["CarrierGatewayId"],
13390
+ # filters: [
13391
+ # {
13392
+ # name: "String",
13393
+ # values: ["String"],
13394
+ # },
13395
+ # ],
13396
+ # max_results: 1,
13397
+ # next_token: "String",
13398
+ # dry_run: false,
13399
+ # })
13400
+ #
13401
+ # @example Response structure
13402
+ #
13403
+ # resp.carrier_gateways #=> Array
13404
+ # resp.carrier_gateways[0].carrier_gateway_id #=> String
13405
+ # resp.carrier_gateways[0].vpc_id #=> String
13406
+ # resp.carrier_gateways[0].state #=> String, one of "pending", "available", "deleting", "deleted"
13407
+ # resp.carrier_gateways[0].owner_id #=> String
13408
+ # resp.carrier_gateways[0].tags #=> Array
13409
+ # resp.carrier_gateways[0].tags[0].key #=> String
13410
+ # resp.carrier_gateways[0].tags[0].value #=> String
13411
+ # resp.next_token #=> String
13412
+ #
13413
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCarrierGateways AWS API Documentation
13414
+ #
13415
+ # @overload describe_carrier_gateways(params = {})
13416
+ # @param [Hash] params ({})
13417
+ def describe_carrier_gateways(params = {}, options = {})
13418
+ req = build_request(:describe_carrier_gateways, params)
13419
+ req.send_request(options)
13420
+ end
13421
+
13180
13422
  # Describes one or more of your linked EC2-Classic instances. This
13181
13423
  # request only returns information about EC2-Classic instances linked to
13182
13424
  # a VPC through ClassicLink. You cannot use this request to return
@@ -17288,6 +17530,7 @@ module Aws::EC2
17288
17530
  # resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_state #=> String
17289
17531
  # resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
17290
17532
  # resp.reservations[0].instances[0].network_interfaces #=> Array
17533
+ # resp.reservations[0].instances[0].network_interfaces[0].association.carrier_ip #=> String
17291
17534
  # resp.reservations[0].instances[0].network_interfaces[0].association.ip_owner_id #=> String
17292
17535
  # resp.reservations[0].instances[0].network_interfaces[0].association.public_dns_name #=> String
17293
17536
  # resp.reservations[0].instances[0].network_interfaces[0].association.public_ip #=> String
@@ -17308,6 +17551,7 @@ module Aws::EC2
17308
17551
  # resp.reservations[0].instances[0].network_interfaces[0].private_dns_name #=> String
17309
17552
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_address #=> String
17310
17553
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses #=> Array
17554
+ # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
17311
17555
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
17312
17556
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
17313
17557
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
@@ -17339,6 +17583,7 @@ module Aws::EC2
17339
17583
  # resp.reservations[0].instances[0].capacity_reservation_id #=> String
17340
17584
  # resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
17341
17585
  # resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
17586
+ # resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
17342
17587
  # resp.reservations[0].instances[0].hibernation_options.configured #=> Boolean
17343
17588
  # resp.reservations[0].instances[0].licenses #=> Array
17344
17589
  # resp.reservations[0].instances[0].licenses[0].license_configuration_arn #=> String
@@ -17858,6 +18103,7 @@ module Aws::EC2
17858
18103
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
17859
18104
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].no_device #=> String
17860
18105
  # resp.launch_template_versions[0].launch_template_data.network_interfaces #=> Array
18106
+ # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
17861
18107
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
17862
18108
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].delete_on_termination #=> Boolean
17863
18109
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].description #=> String
@@ -17916,6 +18162,7 @@ module Aws::EC2
17916
18162
  # resp.launch_template_versions[0].launch_template_data.cpu_options.threads_per_core #=> Integer
17917
18163
  # resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
17918
18164
  # resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
18165
+ # resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
17919
18166
  # resp.launch_template_versions[0].launch_template_data.license_specifications #=> Array
17920
18167
  # resp.launch_template_versions[0].launch_template_data.license_specifications[0].license_configuration_arn #=> String
17921
18168
  # resp.launch_template_versions[0].launch_template_data.hibernation_options.configured #=> Boolean
@@ -19430,6 +19677,7 @@ module Aws::EC2
19430
19677
  # resp.network_interfaces[0].association.ip_owner_id #=> String
19431
19678
  # resp.network_interfaces[0].association.public_dns_name #=> String
19432
19679
  # resp.network_interfaces[0].association.public_ip #=> String
19680
+ # resp.network_interfaces[0].association.carrier_ip #=> String
19433
19681
  # resp.network_interfaces[0].attachment.attach_time #=> Time
19434
19682
  # resp.network_interfaces[0].attachment.attachment_id #=> String
19435
19683
  # resp.network_interfaces[0].attachment.delete_on_termination #=> Boolean
@@ -19457,6 +19705,7 @@ module Aws::EC2
19457
19705
  # resp.network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
19458
19706
  # resp.network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
19459
19707
  # resp.network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
19708
+ # resp.network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
19460
19709
  # resp.network_interfaces[0].private_ip_addresses[0].primary #=> Boolean
19461
19710
  # resp.network_interfaces[0].private_ip_addresses[0].private_dns_name #=> String
19462
19711
  # resp.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
@@ -20653,6 +20902,7 @@ module Aws::EC2
20653
20902
  # resp.route_tables[0].routes[0].nat_gateway_id #=> String
20654
20903
  # resp.route_tables[0].routes[0].transit_gateway_id #=> String
20655
20904
  # resp.route_tables[0].routes[0].local_gateway_id #=> String
20905
+ # resp.route_tables[0].routes[0].carrier_gateway_id #=> String
20656
20906
  # resp.route_tables[0].routes[0].network_interface_id #=> String
20657
20907
  # resp.route_tables[0].routes[0].origin #=> String, one of "CreateRouteTable", "CreateRoute", "EnableVgwRoutePropagation"
20658
20908
  # resp.route_tables[0].routes[0].state #=> String, one of "active", "blackhole"
@@ -22030,6 +22280,7 @@ module Aws::EC2
22030
22280
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
22031
22281
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].secondary_private_ip_address_count #=> Integer
22032
22282
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].subnet_id #=> String
22283
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].associate_carrier_ip_address #=> Boolean
22033
22284
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].interface_type #=> String
22034
22285
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.availability_zone #=> String
22035
22286
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.group_name #=> String
@@ -22382,6 +22633,7 @@ module Aws::EC2
22382
22633
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
22383
22634
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].secondary_private_ip_address_count #=> Integer
22384
22635
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].subnet_id #=> String
22636
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].associate_carrier_ip_address #=> Boolean
22385
22637
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
22386
22638
  # resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
22387
22639
  # resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
@@ -27315,12 +27567,14 @@ module Aws::EC2
27315
27567
  # The ID of the Capacity Reservation.
27316
27568
  #
27317
27569
  # @option params [String] :next_token
27318
- # The token to retrieve the next page of results.
27570
+ # The token to use to retrieve the next page of results.
27319
27571
  #
27320
27572
  # @option params [Integer] :max_results
27321
27573
  # The maximum number of results to return for the request in a single
27322
27574
  # page. The remaining results can be seen by sending another request
27323
- # with the returned nextToken value.
27575
+ # with the returned `nextToken` value. This value can be between 5 and
27576
+ # 500. If `maxResults` is given a larger value than 500, you receive an
27577
+ # error.
27324
27578
  #
27325
27579
  # Valid range: Minimum value of 1. Maximum value of 1000.
27326
27580
  #
@@ -27703,6 +27957,60 @@ module Aws::EC2
27703
27957
  req.send_request(options)
27704
27958
  end
27705
27959
 
27960
+ # Lists the resource groups to which a Capacity Reservation has been
27961
+ # added.
27962
+ #
27963
+ # @option params [required, String] :capacity_reservation_id
27964
+ # The ID of the Capacity Reservation.
27965
+ #
27966
+ # @option params [String] :next_token
27967
+ # The token to use to retrieve the next page of results.
27968
+ #
27969
+ # @option params [Integer] :max_results
27970
+ # The maximum number of results to return for the request in a single
27971
+ # page. The remaining results can be seen by sending another request
27972
+ # with the returned `nextToken` value. This value can be between 5 and
27973
+ # 500. If `maxResults` is given a larger value than 500, you receive an
27974
+ # error.
27975
+ #
27976
+ # @option params [Boolean] :dry_run
27977
+ # Checks whether you have the required permissions for the action,
27978
+ # without actually making the request, and provides an error response.
27979
+ # If you have the required permissions, the error response is
27980
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
27981
+ #
27982
+ # @return [Types::GetGroupsForCapacityReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
27983
+ #
27984
+ # * {Types::GetGroupsForCapacityReservationResult#next_token #next_token} => String
27985
+ # * {Types::GetGroupsForCapacityReservationResult#capacity_reservation_groups #capacity_reservation_groups} => Array&lt;Types::CapacityReservationGroup&gt;
27986
+ #
27987
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
27988
+ #
27989
+ # @example Request syntax with placeholder values
27990
+ #
27991
+ # resp = client.get_groups_for_capacity_reservation({
27992
+ # capacity_reservation_id: "CapacityReservationId", # required
27993
+ # next_token: "String",
27994
+ # max_results: 1,
27995
+ # dry_run: false,
27996
+ # })
27997
+ #
27998
+ # @example Response structure
27999
+ #
28000
+ # resp.next_token #=> String
28001
+ # resp.capacity_reservation_groups #=> Array
28002
+ # resp.capacity_reservation_groups[0].group_arn #=> String
28003
+ # resp.capacity_reservation_groups[0].owner_id #=> String
28004
+ #
28005
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetGroupsForCapacityReservation AWS API Documentation
28006
+ #
28007
+ # @overload get_groups_for_capacity_reservation(params = {})
28008
+ # @param [Hash] params ({})
28009
+ def get_groups_for_capacity_reservation(params = {}, options = {})
28010
+ req = build_request(:get_groups_for_capacity_reservation, params)
28011
+ req.send_request(options)
28012
+ end
28013
+
27706
28014
  # Preview a reservation purchase with configurations that match those of
27707
28015
  # your Dedicated Host. You must have active Dedicated Hosts in your
27708
28016
  # account before you purchase a reservation.
@@ -27866,6 +28174,7 @@ module Aws::EC2
27866
28174
  # resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
27867
28175
  # resp.launch_template_data.block_device_mappings[0].no_device #=> String
27868
28176
  # resp.launch_template_data.network_interfaces #=> Array
28177
+ # resp.launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
27869
28178
  # resp.launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
27870
28179
  # resp.launch_template_data.network_interfaces[0].delete_on_termination #=> Boolean
27871
28180
  # resp.launch_template_data.network_interfaces[0].description #=> String
@@ -27924,6 +28233,7 @@ module Aws::EC2
27924
28233
  # resp.launch_template_data.cpu_options.threads_per_core #=> Integer
27925
28234
  # resp.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
27926
28235
  # resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
28236
+ # resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
27927
28237
  # resp.launch_template_data.license_specifications #=> Array
27928
28238
  # resp.launch_template_data.license_specifications[0].license_configuration_arn #=> String
27929
28239
  # resp.launch_template_data.hibernation_options.configured #=> Boolean
@@ -29191,7 +29501,8 @@ module Aws::EC2
29191
29501
  req.send_request(options)
29192
29502
  end
29193
29503
 
29194
- # Enables or disables an Availability Zone group for your account.
29504
+ # Changes the opt-in status of the Local Zone and Wavelength Zone group
29505
+ # for your account.
29195
29506
  #
29196
29507
  # Use [ DescribeAvailabilityZones][1] to view the value for `GroupName`.
29197
29508
  #
@@ -29200,12 +29511,14 @@ module Aws::EC2
29200
29511
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
29201
29512
  #
29202
29513
  # @option params [required, String] :group_name
29203
- # The name of the Availability Zone Group.
29514
+ # The name of the Availability Zone group, Local Zone group, or
29515
+ # Wavelength Zone group.
29204
29516
  #
29205
29517
  # @option params [required, String] :opt_in_status
29206
- # Indicates whether to enable or disable membership. The valid values
29207
- # are `opted-in`. You must contact [AWS Support][1] to disable an
29208
- # Availability Zone group.
29518
+ # Indicates whether you are opted in to the Local Zone group or
29519
+ # Wavelength Zone group. The only valid value is `opted-in`. You must
29520
+ # contact [AWS Support][1] to opt out of a Local Zone group, or
29521
+ # Wavelength Zone group.
29209
29522
  #
29210
29523
  #
29211
29524
  #
@@ -30327,6 +30640,7 @@ module Aws::EC2
30327
30640
  # capacity_reservation_preference: "open", # accepts open, none
30328
30641
  # capacity_reservation_target: {
30329
30642
  # capacity_reservation_id: "CapacityReservationId",
30643
+ # capacity_reservation_resource_group_arn: "String",
30330
30644
  # },
30331
30645
  # },
30332
30646
  # dry_run: false,
@@ -31216,20 +31530,6 @@ module Aws::EC2
31216
31530
  # @option params [required, String] :subnet_id
31217
31531
  # The ID of the subnet.
31218
31532
  #
31219
- # @option params [Types::AttributeBooleanValue] :map_customer_owned_ip_on_launch
31220
- # Specify `true` to indicate that network interfaces attached to
31221
- # instances created in the specified subnet should be assigned a
31222
- # customer-owned IPv4 address.
31223
- #
31224
- # When this value is `true`, you must specify the customer-owned IP pool
31225
- # using `CustomerOwnedIpv4Pool`.
31226
- #
31227
- # @option params [String] :customer_owned_ipv_4_pool
31228
- # The customer-owned IPv4 address pool associated with the subnet.
31229
- #
31230
- # You must set this value when you specify `true` for
31231
- # `MapCustomerOwnedIpOnLaunch`.
31232
- #
31233
31533
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
31234
31534
  #
31235
31535
  #
@@ -31255,10 +31555,6 @@ module Aws::EC2
31255
31555
  # value: false,
31256
31556
  # },
31257
31557
  # subnet_id: "SubnetId", # required
31258
- # map_customer_owned_ip_on_launch: {
31259
- # value: false,
31260
- # },
31261
- # customer_owned_ipv_4_pool: "CoipPoolId",
31262
31558
  # })
31263
31559
  #
31264
31560
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute AWS API Documentation
@@ -33745,7 +34041,8 @@ module Aws::EC2
33745
34041
  # \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
33746
34042
  #
33747
34043
  # @option params [String] :network_border_group
33748
- # The location that the IP address is released from.
34044
+ # The set of Availability Zones, Local Zones, or Wavelength Zones from
34045
+ # which AWS advertises IP addresses.
33749
34046
  #
33750
34047
  # If you provide an incorrect network border group, you will receive an
33751
34048
  # `InvalidAddress.NotFound` error. For more information, see [Error
@@ -34118,6 +34415,9 @@ module Aws::EC2
34118
34415
  # @option params [String] :local_gateway_id
34119
34416
  # The ID of the local gateway.
34120
34417
  #
34418
+ # @option params [String] :carrier_gateway_id
34419
+ # \[IPv4 traffic only\] The ID of a carrier gateway.
34420
+ #
34121
34421
  # @option params [String] :network_interface_id
34122
34422
  # The ID of a network interface.
34123
34423
  #
@@ -34155,6 +34455,7 @@ module Aws::EC2
34155
34455
  # nat_gateway_id: "NatGatewayId",
34156
34456
  # transit_gateway_id: "TransitGatewayId",
34157
34457
  # local_gateway_id: "LocalGatewayId",
34458
+ # carrier_gateway_id: "CarrierGatewayId",
34158
34459
  # network_interface_id: "NetworkInterfaceId",
34159
34460
  # route_table_id: "RouteTableId", # required
34160
34461
  # vpc_peering_connection_id: "VpcPeeringConnectionId",
@@ -34645,6 +34946,7 @@ module Aws::EC2
34645
34946
  # ],
34646
34947
  # secondary_private_ip_address_count: 1,
34647
34948
  # subnet_id: "String",
34949
+ # associate_carrier_ip_address: false,
34648
34950
  # interface_type: "String",
34649
34951
  # },
34650
34952
  # ],
@@ -34980,6 +35282,7 @@ module Aws::EC2
34980
35282
  # ],
34981
35283
  # secondary_private_ip_address_count: 1,
34982
35284
  # subnet_id: "String",
35285
+ # associate_carrier_ip_address: false,
34983
35286
  # interface_type: "String",
34984
35287
  # },
34985
35288
  # ],
@@ -35061,6 +35364,7 @@ module Aws::EC2
35061
35364
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
35062
35365
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].secondary_private_ip_address_count #=> Integer
35063
35366
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].subnet_id #=> String
35367
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].associate_carrier_ip_address #=> Boolean
35064
35368
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
35065
35369
  # resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
35066
35370
  # resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
@@ -36310,6 +36614,7 @@ module Aws::EC2
36310
36614
  # ],
36311
36615
  # secondary_private_ip_address_count: 1,
36312
36616
  # subnet_id: "String",
36617
+ # associate_carrier_ip_address: false,
36313
36618
  # interface_type: "String",
36314
36619
  # },
36315
36620
  # ],
@@ -36362,6 +36667,7 @@ module Aws::EC2
36362
36667
  # capacity_reservation_preference: "open", # accepts open, none
36363
36668
  # capacity_reservation_target: {
36364
36669
  # capacity_reservation_id: "CapacityReservationId",
36670
+ # capacity_reservation_resource_group_arn: "String",
36365
36671
  # },
36366
36672
  # },
36367
36673
  # hibernation_options: {
@@ -36440,6 +36746,7 @@ module Aws::EC2
36440
36746
  # resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_state #=> String
36441
36747
  # resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
36442
36748
  # resp.instances[0].network_interfaces #=> Array
36749
+ # resp.instances[0].network_interfaces[0].association.carrier_ip #=> String
36443
36750
  # resp.instances[0].network_interfaces[0].association.ip_owner_id #=> String
36444
36751
  # resp.instances[0].network_interfaces[0].association.public_dns_name #=> String
36445
36752
  # resp.instances[0].network_interfaces[0].association.public_ip #=> String
@@ -36460,6 +36767,7 @@ module Aws::EC2
36460
36767
  # resp.instances[0].network_interfaces[0].private_dns_name #=> String
36461
36768
  # resp.instances[0].network_interfaces[0].private_ip_address #=> String
36462
36769
  # resp.instances[0].network_interfaces[0].private_ip_addresses #=> Array
36770
+ # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
36463
36771
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
36464
36772
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
36465
36773
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
@@ -36491,6 +36799,7 @@ module Aws::EC2
36491
36799
  # resp.instances[0].capacity_reservation_id #=> String
36492
36800
  # resp.instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
36493
36801
  # resp.instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
36802
+ # resp.instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
36494
36803
  # resp.instances[0].hibernation_options.configured #=> Boolean
36495
36804
  # resp.instances[0].licenses #=> Array
36496
36805
  # resp.instances[0].licenses[0].license_configuration_arn #=> String
@@ -37862,7 +38171,7 @@ module Aws::EC2
37862
38171
  params: params,
37863
38172
  config: config)
37864
38173
  context[:gem_name] = 'aws-sdk-ec2'
37865
- context[:gem_version] = '1.180.0'
38174
+ context[:gem_version] = '1.185.0'
37866
38175
  Seahorse::Client::Request.new(handlers, context)
37867
38176
  end
37868
38177