aws-sdk-ec2 1.182.0 → 1.183.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a802e63d086b733cac2d1cee900fd33891505713aabe3c985d752fcc4f7c4b9
4
- data.tar.gz: e8f409fa42243a7157cb4dc05f4ba85bdaec9401b04da45b6e6121bc77f4b24e
3
+ metadata.gz: 6868280381866e7052385c6fa36574e1b5be36be035a25a4274000b0a953ba1d
4
+ data.tar.gz: 19b88e9e0e5649abc0a75af7d6ad35123e8df8eecc295ff28d6dfb2eb2ffddce
5
5
  SHA512:
6
- metadata.gz: 0ddd8cdd994ed0c55d8a1a98b284f57ca3833c581d1324b0630c925a98fc8cf8d15443d6b2f1e23ade1621bfc65ec54bcc3b9d3f328c9b7a79dfdbb6c3adb077
7
- data.tar.gz: 35c68ced05c81ce13ad9fda9185b26f0926b8a67e499dd11fe4d657fc1f1cf096005f43cbeef466d88e9d5bdd87a4246582211220a02e6601204d2f97cee5f05
6
+ metadata.gz: 9f7a96636595e3359d88838419ebd3fb9c3be21296c84d43f11b1f3838012a9e2a752ed73aab191170e4349417eacf3a4c1e995c0fcd0d21fc10183bafe823e1
7
+ data.tar.gz: 1dbd4a8acf26420ab00d63692f8a7e17745b4ffa82894dbc7eb8fbb72910be12982d0b63cd7b7c5884cc2d7dbd3942ce684e8fac984a3c239460adc0493f59fd
@@ -71,6 +71,6 @@ require_relative 'aws-sdk-ec2/customizations'
71
71
  # @service
72
72
  module Aws::EC2
73
73
 
74
- GEM_VERSION = '1.182.0'
74
+ GEM_VERSION = '1.183.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.
@@ -3692,6 +3700,80 @@ module Aws::EC2
3692
3700
  req.send_request(options)
3693
3701
  end
3694
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
+
3695
3777
  # Creates a Client VPN endpoint. A Client VPN endpoint is the resource
3696
3778
  # you create and configure to enable and manage client VPN sessions. It
3697
3779
  # is the destination endpoint at which all client VPN sessions are
@@ -5413,6 +5495,7 @@ module Aws::EC2
5413
5495
  # ],
5414
5496
  # network_interfaces: [
5415
5497
  # {
5498
+ # associate_carrier_ip_address: false,
5416
5499
  # associate_public_ip_address: false,
5417
5500
  # delete_on_termination: false,
5418
5501
  # description: "String",
@@ -5693,6 +5776,7 @@ module Aws::EC2
5693
5776
  # ],
5694
5777
  # network_interfaces: [
5695
5778
  # {
5779
+ # associate_carrier_ip_address: false,
5696
5780
  # associate_public_ip_address: false,
5697
5781
  # delete_on_termination: false,
5698
5782
  # description: "String",
@@ -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
@@ -6653,6 +6738,7 @@ module Aws::EC2
6653
6738
  # resp.network_interface.association.ip_owner_id #=> String
6654
6739
  # resp.network_interface.association.public_dns_name #=> String
6655
6740
  # resp.network_interface.association.public_ip #=> String
6741
+ # resp.network_interface.association.carrier_ip #=> String
6656
6742
  # resp.network_interface.attachment.attach_time #=> Time
6657
6743
  # resp.network_interface.attachment.attachment_id #=> String
6658
6744
  # resp.network_interface.attachment.delete_on_termination #=> Boolean
@@ -6680,6 +6766,7 @@ module Aws::EC2
6680
6766
  # resp.network_interface.private_ip_addresses[0].association.ip_owner_id #=> String
6681
6767
  # resp.network_interface.private_ip_addresses[0].association.public_dns_name #=> String
6682
6768
  # resp.network_interface.private_ip_addresses[0].association.public_ip #=> String
6769
+ # resp.network_interface.private_ip_addresses[0].association.carrier_ip #=> String
6683
6770
  # resp.network_interface.private_ip_addresses[0].primary #=> Boolean
6684
6771
  # resp.network_interface.private_ip_addresses[0].private_dns_name #=> String
6685
6772
  # resp.network_interface.private_ip_addresses[0].private_ip_address #=> String
@@ -7030,6 +7117,12 @@ module Aws::EC2
7030
7117
  # @option params [String] :local_gateway_id
7031
7118
  # The ID of the local gateway.
7032
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
+ #
7033
7126
  # @option params [String] :network_interface_id
7034
7127
  # The ID of a network interface.
7035
7128
  #
@@ -7068,6 +7161,7 @@ module Aws::EC2
7068
7161
  # nat_gateway_id: "NatGatewayId",
7069
7162
  # transit_gateway_id: "TransitGatewayId",
7070
7163
  # local_gateway_id: "LocalGatewayId",
7164
+ # carrier_gateway_id: "CarrierGatewayId",
7071
7165
  # network_interface_id: "NetworkInterfaceId",
7072
7166
  # route_table_id: "RouteTableId", # required
7073
7167
  # vpc_peering_connection_id: "VpcPeeringConnectionId",
@@ -7184,6 +7278,7 @@ module Aws::EC2
7184
7278
  # resp.route_table.routes[0].nat_gateway_id #=> String
7185
7279
  # resp.route_table.routes[0].transit_gateway_id #=> String
7186
7280
  # resp.route_table.routes[0].local_gateway_id #=> String
7281
+ # resp.route_table.routes[0].carrier_gateway_id #=> String
7187
7282
  # resp.route_table.routes[0].network_interface_id #=> String
7188
7283
  # resp.route_table.routes[0].origin #=> String, one of "CreateRouteTable", "CreateRoute", "EnableVgwRoutePropagation"
7189
7284
  # resp.route_table.routes[0].state #=> String, one of "active", "blackhole"
@@ -9946,6 +10041,55 @@ module Aws::EC2
9946
10041
  req.send_request(options)
9947
10042
  end
9948
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
+
9949
10093
  # Deletes the specified Client VPN endpoint. You must disassociate all
9950
10094
  # target networks before you can delete a Client VPN endpoint.
9951
10095
  #
@@ -12500,8 +12644,8 @@ module Aws::EC2
12500
12644
  # * `instance-id` - The ID of the instance the address is associated
12501
12645
  # with, if any.
12502
12646
  #
12503
- # * `network-border-group` - The location from where the IP address is
12504
- # advertised.
12647
+ # * `network-border-group` - A unique set of Availability Zones, Local
12648
+ # Zones, or Wavelength Zones from where AWS advertises IP addresses.
12505
12649
  #
12506
12650
  # * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
12507
12651
  # that the address is associated with, if any.
@@ -12511,7 +12655,7 @@ module Aws::EC2
12511
12655
  # * `private-ip-address` - \[EC2-VPC\] The private IP address associated
12512
12656
  # with the Elastic IP address.
12513
12657
  #
12514
- # * `public-ip` - The Elastic IP address.
12658
+ # * `public-ip` - The Elastic IP address, or the carrier IP address.
12515
12659
  #
12516
12660
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
12517
12661
  # the resource. Use the tag key in the filter name and the tag value
@@ -12659,6 +12803,7 @@ module Aws::EC2
12659
12803
  # resp.addresses[0].network_border_group #=> String
12660
12804
  # resp.addresses[0].customer_owned_ip #=> String
12661
12805
  # resp.addresses[0].customer_owned_ipv_4_pool #=> String
12806
+ # resp.addresses[0].carrier_ip #=> String
12662
12807
  #
12663
12808
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses AWS API Documentation
12664
12809
  #
@@ -12723,14 +12868,14 @@ module Aws::EC2
12723
12868
  req.send_request(options)
12724
12869
  end
12725
12870
 
12726
- # Describes the Availability Zones and Local Zones that are available to
12727
- # you. If there is an event impacting an Availability Zone or Local
12728
- # Zone, you can use this request to view the state and any provided
12729
- # 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.
12730
12875
  #
12731
- # For more information about Availability Zones and Local Zones, see
12732
- # [Regions and Availability Zones][1] in the *Amazon Elastic Compute
12733
- # 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*.
12734
12879
  #
12735
12880
  #
12736
12881
  #
@@ -12741,42 +12886,52 @@ module Aws::EC2
12741
12886
  #
12742
12887
  # * `group-name` - For Availability Zones, use the Region name. For
12743
12888
  # Local Zones, use the name of the group associated with the Local
12744
- # 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`).
12745
12892
  #
12746
12893
  # * `message` - The Zone message.
12747
12894
  #
12748
- # * `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`
12749
12896
  # \| `opt-in-not-required`).
12750
12897
  #
12751
- # * The ID of the zone that handles some of the Local Zone control plane
12752
- # 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.
12753
12905
  #
12754
12906
  # * `region-name` - The name of the Region for the Zone (for example,
12755
12907
  # `us-east-1`).
12756
12908
  #
12757
- # * `state` - The state of the Availability Zone or Local Zone
12758
- # (`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`).
12759
12912
  #
12760
12913
  # * `zone-id` - The ID of the Availability Zone (for example,
12761
- # `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`).
12762
12916
  #
12763
12917
  # * `zone-type` - The type of zone, for example, `local-zone`.
12764
12918
  #
12765
12919
  # * `zone-name` - The name of the Availability Zone (for example,
12766
- # `us-east-1a`) or the Local Zone (for example, use
12767
- # `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`).
12768
12922
  #
12769
12923
  # * `zone-type` - The type of zone, for example, `local-zone`.
12770
12924
  #
12771
12925
  # @option params [Array<String>] :zone_names
12772
- # The names of the Zones.
12926
+ # The names of the Availability Zones, Local Zones, and Wavelength
12927
+ # Zones.
12773
12928
  #
12774
12929
  # @option params [Array<String>] :zone_ids
12775
- # The IDs of the Zones.
12930
+ # The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
12776
12931
  #
12777
12932
  # @option params [Boolean] :all_availability_zones
12778
- # Include all Availability Zones and Local Zones regardless of your opt
12779
- # in status.
12933
+ # Include all Availability Zones, Local Zones, and Wavelength Zones
12934
+ # regardless of your opt-in status.
12780
12935
  #
12781
12936
  # If you do not use this parameter, the results include only the zones
12782
12937
  # for the Regions where you have chosen the option to opt in.
@@ -13180,6 +13335,90 @@ module Aws::EC2
13180
13335
  req.send_request(options)
13181
13336
  end
13182
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
+
13183
13422
  # Describes one or more of your linked EC2-Classic instances. This
13184
13423
  # request only returns information about EC2-Classic instances linked to
13185
13424
  # a VPC through ClassicLink. You cannot use this request to return
@@ -17291,6 +17530,7 @@ module Aws::EC2
17291
17530
  # resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_state #=> String
17292
17531
  # resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
17293
17532
  # resp.reservations[0].instances[0].network_interfaces #=> Array
17533
+ # resp.reservations[0].instances[0].network_interfaces[0].association.carrier_ip #=> String
17294
17534
  # resp.reservations[0].instances[0].network_interfaces[0].association.ip_owner_id #=> String
17295
17535
  # resp.reservations[0].instances[0].network_interfaces[0].association.public_dns_name #=> String
17296
17536
  # resp.reservations[0].instances[0].network_interfaces[0].association.public_ip #=> String
@@ -17311,6 +17551,7 @@ module Aws::EC2
17311
17551
  # resp.reservations[0].instances[0].network_interfaces[0].private_dns_name #=> String
17312
17552
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_address #=> String
17313
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
17314
17555
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
17315
17556
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
17316
17557
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
@@ -17862,6 +18103,7 @@ module Aws::EC2
17862
18103
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
17863
18104
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].no_device #=> String
17864
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
17865
18107
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
17866
18108
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].delete_on_termination #=> Boolean
17867
18109
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].description #=> String
@@ -19435,6 +19677,7 @@ module Aws::EC2
19435
19677
  # resp.network_interfaces[0].association.ip_owner_id #=> String
19436
19678
  # resp.network_interfaces[0].association.public_dns_name #=> String
19437
19679
  # resp.network_interfaces[0].association.public_ip #=> String
19680
+ # resp.network_interfaces[0].association.carrier_ip #=> String
19438
19681
  # resp.network_interfaces[0].attachment.attach_time #=> Time
19439
19682
  # resp.network_interfaces[0].attachment.attachment_id #=> String
19440
19683
  # resp.network_interfaces[0].attachment.delete_on_termination #=> Boolean
@@ -19462,6 +19705,7 @@ module Aws::EC2
19462
19705
  # resp.network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
19463
19706
  # resp.network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
19464
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
19465
19709
  # resp.network_interfaces[0].private_ip_addresses[0].primary #=> Boolean
19466
19710
  # resp.network_interfaces[0].private_ip_addresses[0].private_dns_name #=> String
19467
19711
  # resp.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
@@ -20658,6 +20902,7 @@ module Aws::EC2
20658
20902
  # resp.route_tables[0].routes[0].nat_gateway_id #=> String
20659
20903
  # resp.route_tables[0].routes[0].transit_gateway_id #=> String
20660
20904
  # resp.route_tables[0].routes[0].local_gateway_id #=> String
20905
+ # resp.route_tables[0].routes[0].carrier_gateway_id #=> String
20661
20906
  # resp.route_tables[0].routes[0].network_interface_id #=> String
20662
20907
  # resp.route_tables[0].routes[0].origin #=> String, one of "CreateRouteTable", "CreateRoute", "EnableVgwRoutePropagation"
20663
20908
  # resp.route_tables[0].routes[0].state #=> String, one of "active", "blackhole"
@@ -22035,6 +22280,7 @@ module Aws::EC2
22035
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
22036
22281
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].secondary_private_ip_address_count #=> Integer
22037
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
22038
22284
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].interface_type #=> String
22039
22285
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.availability_zone #=> String
22040
22286
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.group_name #=> String
@@ -22387,6 +22633,7 @@ module Aws::EC2
22387
22633
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
22388
22634
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].secondary_private_ip_address_count #=> Integer
22389
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
22390
22637
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
22391
22638
  # resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
22392
22639
  # resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
@@ -27927,6 +28174,7 @@ module Aws::EC2
27927
28174
  # resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
27928
28175
  # resp.launch_template_data.block_device_mappings[0].no_device #=> String
27929
28176
  # resp.launch_template_data.network_interfaces #=> Array
28177
+ # resp.launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
27930
28178
  # resp.launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
27931
28179
  # resp.launch_template_data.network_interfaces[0].delete_on_termination #=> Boolean
27932
28180
  # resp.launch_template_data.network_interfaces[0].description #=> String
@@ -29253,7 +29501,8 @@ module Aws::EC2
29253
29501
  req.send_request(options)
29254
29502
  end
29255
29503
 
29256
- # 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.
29257
29506
  #
29258
29507
  # Use [ DescribeAvailabilityZones][1] to view the value for `GroupName`.
29259
29508
  #
@@ -29262,12 +29511,14 @@ module Aws::EC2
29262
29511
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
29263
29512
  #
29264
29513
  # @option params [required, String] :group_name
29265
- # The name of the Availability Zone Group.
29514
+ # The name of the Availability Zone group, Local Zone group, or
29515
+ # Wavelength Zone group.
29266
29516
  #
29267
29517
  # @option params [required, String] :opt_in_status
29268
- # Indicates whether to enable or disable membership. The valid values
29269
- # are `opted-in`. You must contact [AWS Support][1] to disable an
29270
- # 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.
29271
29522
  #
29272
29523
  #
29273
29524
  #
@@ -33808,7 +34059,8 @@ module Aws::EC2
33808
34059
  # \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
33809
34060
  #
33810
34061
  # @option params [String] :network_border_group
33811
- # The location that the IP address is released from.
34062
+ # The set of Availability Zones, Local Zones, or Wavelength Zones from
34063
+ # which AWS advertises IP addresses.
33812
34064
  #
33813
34065
  # If you provide an incorrect network border group, you will receive an
33814
34066
  # `InvalidAddress.NotFound` error. For more information, see [Error
@@ -34181,6 +34433,9 @@ module Aws::EC2
34181
34433
  # @option params [String] :local_gateway_id
34182
34434
  # The ID of the local gateway.
34183
34435
  #
34436
+ # @option params [String] :carrier_gateway_id
34437
+ # \[IPv4 traffic only\] The ID of a carrier gateway.
34438
+ #
34184
34439
  # @option params [String] :network_interface_id
34185
34440
  # The ID of a network interface.
34186
34441
  #
@@ -34218,6 +34473,7 @@ module Aws::EC2
34218
34473
  # nat_gateway_id: "NatGatewayId",
34219
34474
  # transit_gateway_id: "TransitGatewayId",
34220
34475
  # local_gateway_id: "LocalGatewayId",
34476
+ # carrier_gateway_id: "CarrierGatewayId",
34221
34477
  # network_interface_id: "NetworkInterfaceId",
34222
34478
  # route_table_id: "RouteTableId", # required
34223
34479
  # vpc_peering_connection_id: "VpcPeeringConnectionId",
@@ -34708,6 +34964,7 @@ module Aws::EC2
34708
34964
  # ],
34709
34965
  # secondary_private_ip_address_count: 1,
34710
34966
  # subnet_id: "String",
34967
+ # associate_carrier_ip_address: false,
34711
34968
  # interface_type: "String",
34712
34969
  # },
34713
34970
  # ],
@@ -35043,6 +35300,7 @@ module Aws::EC2
35043
35300
  # ],
35044
35301
  # secondary_private_ip_address_count: 1,
35045
35302
  # subnet_id: "String",
35303
+ # associate_carrier_ip_address: false,
35046
35304
  # interface_type: "String",
35047
35305
  # },
35048
35306
  # ],
@@ -35124,6 +35382,7 @@ module Aws::EC2
35124
35382
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
35125
35383
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].secondary_private_ip_address_count #=> Integer
35126
35384
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].subnet_id #=> String
35385
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].associate_carrier_ip_address #=> Boolean
35127
35386
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
35128
35387
  # resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
35129
35388
  # resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
@@ -36373,6 +36632,7 @@ module Aws::EC2
36373
36632
  # ],
36374
36633
  # secondary_private_ip_address_count: 1,
36375
36634
  # subnet_id: "String",
36635
+ # associate_carrier_ip_address: false,
36376
36636
  # interface_type: "String",
36377
36637
  # },
36378
36638
  # ],
@@ -36504,6 +36764,7 @@ module Aws::EC2
36504
36764
  # resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_state #=> String
36505
36765
  # resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
36506
36766
  # resp.instances[0].network_interfaces #=> Array
36767
+ # resp.instances[0].network_interfaces[0].association.carrier_ip #=> String
36507
36768
  # resp.instances[0].network_interfaces[0].association.ip_owner_id #=> String
36508
36769
  # resp.instances[0].network_interfaces[0].association.public_dns_name #=> String
36509
36770
  # resp.instances[0].network_interfaces[0].association.public_ip #=> String
@@ -36524,6 +36785,7 @@ module Aws::EC2
36524
36785
  # resp.instances[0].network_interfaces[0].private_dns_name #=> String
36525
36786
  # resp.instances[0].network_interfaces[0].private_ip_address #=> String
36526
36787
  # resp.instances[0].network_interfaces[0].private_ip_addresses #=> Array
36788
+ # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
36527
36789
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
36528
36790
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
36529
36791
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
@@ -37927,7 +38189,7 @@ module Aws::EC2
37927
38189
  params: params,
37928
38190
  config: config)
37929
38191
  context[:gem_name] = 'aws-sdk-ec2'
37930
- context[:gem_version] = '1.182.0'
38192
+ context[:gem_version] = '1.183.0'
37931
38193
  Seahorse::Client::Request.new(handlers, context)
37932
38194
  end
37933
38195