aws-sdk-ec2 1.179.0 → 1.184.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: 24d3748359f9da2eec2ade81a6000578aab3de06a0e69898f2ff84a9f6576443
4
- data.tar.gz: 582e364115951e738cc47e5c29702642038c2b2835f222c9a4316ed54082fa1b
3
+ metadata.gz: 66a0c0ebc25f593006eb416244d9d627e25369aec3e492ceebea10c928d59bfc
4
+ data.tar.gz: ba50a8a3265035d75c8f7f136f2be14bd6b21db16a411df5e3e1221b3591467e
5
5
  SHA512:
6
- metadata.gz: ae878e3c811621df51ff898302cf91f7ef73117294f4dca234c8cd2c79bc0b537a9d7894c140f5f99fc8d7f92bd0c4cfb369eeac658f4bd275d34a4ec2d6da52
7
- data.tar.gz: 4a3c06bf85586366f2d901b7dd1c7b3a499cc49b26d46b3149d92e984f4c8ef5f64850b683f885f1bfe4d74dbc9e2f10813a6c9ee5abb1ebc879dbf6bd1dddbb
6
+ metadata.gz: e71057893a1a20ccd2a6d2f1ebdcbeb7ddef4c2fe5ebaf2c99821d331452a5d3b0be06e0b7e79c5a4692f208f54c2088aa5e327b39747922fe2079c470426d6f
7
+ data.tar.gz: 2f4fa637480b4b33a810cbdd176ab4d0287e79cdcecff7f72b59ca389a9162f0a3e859df57ab450a87969521d1bafd941cf02d28782acbfe7792b6e876d364bb
@@ -71,6 +71,6 @@ require_relative 'aws-sdk-ec2/customizations'
71
71
  # @service
72
72
  module Aws::EC2
73
73
 
74
- GEM_VERSION = '1.179.0'
74
+ GEM_VERSION = '1.184.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
@@ -3638,7 +3644,7 @@ module Aws::EC2
3638
3644
  # resp = client.create_capacity_reservation({
3639
3645
  # client_token: "String",
3640
3646
  # instance_type: "String", # required
3641
- # instance_platform: "Linux/UNIX", # required, accepts Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard, Windows with SQL Server Web, Linux with SQL Server Standard, Linux with SQL Server Web, Linux with SQL Server Enterprise
3647
+ # instance_platform: "Linux/UNIX", # required, accepts Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard, Windows with SQL Server Web, Linux with SQL Server Standard, Linux with SQL Server Web, Linux with SQL Server Enterprise, Windows BYOL
3642
3648
  # availability_zone: "String",
3643
3649
  # availability_zone_id: "String",
3644
3650
  # tenancy: "default", # accepts default, dedicated
@@ -3669,7 +3675,7 @@ module Aws::EC2
3669
3675
  # resp.capacity_reservation.capacity_reservation_arn #=> String
3670
3676
  # resp.capacity_reservation.availability_zone_id #=> String
3671
3677
  # resp.capacity_reservation.instance_type #=> String
3672
- # resp.capacity_reservation.instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise"
3678
+ # resp.capacity_reservation.instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise", "Windows BYOL"
3673
3679
  # resp.capacity_reservation.availability_zone #=> String
3674
3680
  # resp.capacity_reservation.tenancy #=> String, one of "default", "dedicated"
3675
3681
  # resp.capacity_reservation.total_instance_count #=> Integer
@@ -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
@@ -3994,6 +4074,9 @@ module Aws::EC2
3994
4074
  # The type of VPN connection that this customer gateway supports
3995
4075
  # (`ipsec.1`).
3996
4076
  #
4077
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4078
+ # The tags to apply to the customer gateway.
4079
+ #
3997
4080
  # @option params [String] :device_name
3998
4081
  # A name for the customer gateway device.
3999
4082
  #
@@ -4038,6 +4121,17 @@ module Aws::EC2
4038
4121
  # public_ip: "String",
4039
4122
  # certificate_arn: "String",
4040
4123
  # type: "ipsec.1", # required, accepts ipsec.1
4124
+ # tag_specifications: [
4125
+ # {
4126
+ # 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
4127
+ # tags: [
4128
+ # {
4129
+ # key: "String",
4130
+ # value: "String",
4131
+ # },
4132
+ # ],
4133
+ # },
4134
+ # ],
4041
4135
  # device_name: "String",
4042
4136
  # dry_run: false,
4043
4137
  # })
@@ -5401,6 +5495,7 @@ module Aws::EC2
5401
5495
  # ],
5402
5496
  # network_interfaces: [
5403
5497
  # {
5498
+ # associate_carrier_ip_address: false,
5404
5499
  # associate_public_ip_address: false,
5405
5500
  # delete_on_termination: false,
5406
5501
  # description: "String",
@@ -5490,6 +5585,7 @@ module Aws::EC2
5490
5585
  # capacity_reservation_preference: "open", # accepts open, none
5491
5586
  # capacity_reservation_target: {
5492
5587
  # capacity_reservation_id: "CapacityReservationId",
5588
+ # capacity_reservation_resource_group_arn: "String",
5493
5589
  # },
5494
5590
  # },
5495
5591
  # license_specifications: [
@@ -5680,6 +5776,7 @@ module Aws::EC2
5680
5776
  # ],
5681
5777
  # network_interfaces: [
5682
5778
  # {
5779
+ # associate_carrier_ip_address: false,
5683
5780
  # associate_public_ip_address: false,
5684
5781
  # delete_on_termination: false,
5685
5782
  # description: "String",
@@ -5769,6 +5866,7 @@ module Aws::EC2
5769
5866
  # capacity_reservation_preference: "open", # accepts open, none
5770
5867
  # capacity_reservation_target: {
5771
5868
  # capacity_reservation_id: "CapacityReservationId",
5869
+ # capacity_reservation_resource_group_arn: "String",
5772
5870
  # },
5773
5871
  # },
5774
5872
  # license_specifications: [
@@ -5812,6 +5910,7 @@ module Aws::EC2
5812
5910
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
5813
5911
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].no_device #=> String
5814
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
5815
5914
  # resp.launch_template_version.launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
5816
5915
  # resp.launch_template_version.launch_template_data.network_interfaces[0].delete_on_termination #=> Boolean
5817
5916
  # resp.launch_template_version.launch_template_data.network_interfaces[0].description #=> String
@@ -5870,6 +5969,7 @@ module Aws::EC2
5870
5969
  # resp.launch_template_version.launch_template_data.cpu_options.threads_per_core #=> Integer
5871
5970
  # resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
5872
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
5873
5973
  # resp.launch_template_version.launch_template_data.license_specifications #=> Array
5874
5974
  # resp.launch_template_version.launch_template_data.license_specifications[0].license_configuration_arn #=> String
5875
5975
  # resp.launch_template_version.launch_template_data.hibernation_options.configured #=> Boolean
@@ -6638,6 +6738,7 @@ module Aws::EC2
6638
6738
  # resp.network_interface.association.ip_owner_id #=> String
6639
6739
  # resp.network_interface.association.public_dns_name #=> String
6640
6740
  # resp.network_interface.association.public_ip #=> String
6741
+ # resp.network_interface.association.carrier_ip #=> String
6641
6742
  # resp.network_interface.attachment.attach_time #=> Time
6642
6743
  # resp.network_interface.attachment.attachment_id #=> String
6643
6744
  # resp.network_interface.attachment.delete_on_termination #=> Boolean
@@ -6665,6 +6766,7 @@ module Aws::EC2
6665
6766
  # resp.network_interface.private_ip_addresses[0].association.ip_owner_id #=> String
6666
6767
  # resp.network_interface.private_ip_addresses[0].association.public_dns_name #=> String
6667
6768
  # resp.network_interface.private_ip_addresses[0].association.public_ip #=> String
6769
+ # resp.network_interface.private_ip_addresses[0].association.carrier_ip #=> String
6668
6770
  # resp.network_interface.private_ip_addresses[0].primary #=> Boolean
6669
6771
  # resp.network_interface.private_ip_addresses[0].private_dns_name #=> String
6670
6772
  # resp.network_interface.private_ip_addresses[0].private_ip_address #=> String
@@ -7015,6 +7117,12 @@ module Aws::EC2
7015
7117
  # @option params [String] :local_gateway_id
7016
7118
  # The ID of the local gateway.
7017
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
+ #
7018
7126
  # @option params [String] :network_interface_id
7019
7127
  # The ID of a network interface.
7020
7128
  #
@@ -7053,6 +7161,7 @@ module Aws::EC2
7053
7161
  # nat_gateway_id: "NatGatewayId",
7054
7162
  # transit_gateway_id: "TransitGatewayId",
7055
7163
  # local_gateway_id: "LocalGatewayId",
7164
+ # carrier_gateway_id: "CarrierGatewayId",
7056
7165
  # network_interface_id: "NetworkInterfaceId",
7057
7166
  # route_table_id: "RouteTableId", # required
7058
7167
  # vpc_peering_connection_id: "VpcPeeringConnectionId",
@@ -7169,6 +7278,7 @@ module Aws::EC2
7169
7278
  # resp.route_table.routes[0].nat_gateway_id #=> String
7170
7279
  # resp.route_table.routes[0].transit_gateway_id #=> String
7171
7280
  # resp.route_table.routes[0].local_gateway_id #=> String
7281
+ # resp.route_table.routes[0].carrier_gateway_id #=> String
7172
7282
  # resp.route_table.routes[0].network_interface_id #=> String
7173
7283
  # resp.route_table.routes[0].origin #=> String, one of "CreateRouteTable", "CreateRoute", "EnableVgwRoutePropagation"
7174
7284
  # resp.route_table.routes[0].state #=> String, one of "active", "blackhole"
@@ -9674,6 +9784,9 @@ module Aws::EC2
9674
9784
  # @option params [Types::VpnConnectionOptionsSpecification] :options
9675
9785
  # The options for the VPN connection.
9676
9786
  #
9787
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
9788
+ # The tags to apply to the VPN connection.
9789
+ #
9677
9790
  # @return [Types::CreateVpnConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9678
9791
  #
9679
9792
  # * {Types::CreateVpnConnectionResult#vpn_connection #vpn_connection} => Types::VpnConnection
@@ -9737,6 +9850,17 @@ module Aws::EC2
9737
9850
  # },
9738
9851
  # ],
9739
9852
  # },
9853
+ # tag_specifications: [
9854
+ # {
9855
+ # 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
9856
+ # tags: [
9857
+ # {
9858
+ # key: "String",
9859
+ # value: "String",
9860
+ # },
9861
+ # ],
9862
+ # },
9863
+ # ],
9740
9864
  # })
9741
9865
  #
9742
9866
  # @example Response structure
@@ -9853,6 +9977,9 @@ module Aws::EC2
9853
9977
  # @option params [required, String] :type
9854
9978
  # The type of VPN connection this virtual private gateway supports.
9855
9979
  #
9980
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
9981
+ # The tags to apply to the virtual private gateway.
9982
+ #
9856
9983
  # @option params [Integer] :amazon_side_asn
9857
9984
  # A private Autonomous System Number (ASN) for the Amazon side of a BGP
9858
9985
  # session. If you're using a 16-bit ASN, it must be in the 64512 to
@@ -9876,6 +10003,17 @@ module Aws::EC2
9876
10003
  # resp = client.create_vpn_gateway({
9877
10004
  # availability_zone: "String",
9878
10005
  # type: "ipsec.1", # required, accepts ipsec.1
10006
+ # tag_specifications: [
10007
+ # {
10008
+ # 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
10009
+ # tags: [
10010
+ # {
10011
+ # key: "String",
10012
+ # value: "String",
10013
+ # },
10014
+ # ],
10015
+ # },
10016
+ # ],
9879
10017
  # amazon_side_asn: 1,
9880
10018
  # dry_run: false,
9881
10019
  # })
@@ -9903,6 +10041,55 @@ module Aws::EC2
9903
10041
  req.send_request(options)
9904
10042
  end
9905
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
+
9906
10093
  # Deletes the specified Client VPN endpoint. You must disassociate all
9907
10094
  # target networks before you can delete a Client VPN endpoint.
9908
10095
  #
@@ -12457,8 +12644,8 @@ module Aws::EC2
12457
12644
  # * `instance-id` - The ID of the instance the address is associated
12458
12645
  # with, if any.
12459
12646
  #
12460
- # * `network-border-group` - The location from where the IP address is
12461
- # advertised.
12647
+ # * `network-border-group` - A unique set of Availability Zones, Local
12648
+ # Zones, or Wavelength Zones from where AWS advertises IP addresses.
12462
12649
  #
12463
12650
  # * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
12464
12651
  # that the address is associated with, if any.
@@ -12468,7 +12655,7 @@ module Aws::EC2
12468
12655
  # * `private-ip-address` - \[EC2-VPC\] The private IP address associated
12469
12656
  # with the Elastic IP address.
12470
12657
  #
12471
- # * `public-ip` - The Elastic IP address.
12658
+ # * `public-ip` - The Elastic IP address, or the carrier IP address.
12472
12659
  #
12473
12660
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
12474
12661
  # the resource. Use the tag key in the filter name and the tag value
@@ -12616,6 +12803,7 @@ module Aws::EC2
12616
12803
  # resp.addresses[0].network_border_group #=> String
12617
12804
  # resp.addresses[0].customer_owned_ip #=> String
12618
12805
  # resp.addresses[0].customer_owned_ipv_4_pool #=> String
12806
+ # resp.addresses[0].carrier_ip #=> String
12619
12807
  #
12620
12808
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses AWS API Documentation
12621
12809
  #
@@ -12680,14 +12868,14 @@ module Aws::EC2
12680
12868
  req.send_request(options)
12681
12869
  end
12682
12870
 
12683
- # Describes the Availability Zones and Local Zones that are available to
12684
- # you. If there is an event impacting an Availability Zone or Local
12685
- # Zone, you can use this request to view the state and any provided
12686
- # 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.
12687
12875
  #
12688
- # For more information about Availability Zones and Local Zones, see
12689
- # [Regions and Availability Zones][1] in the *Amazon Elastic Compute
12690
- # 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*.
12691
12879
  #
12692
12880
  #
12693
12881
  #
@@ -12698,42 +12886,52 @@ module Aws::EC2
12698
12886
  #
12699
12887
  # * `group-name` - For Availability Zones, use the Region name. For
12700
12888
  # Local Zones, use the name of the group associated with the Local
12701
- # 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`).
12702
12892
  #
12703
12893
  # * `message` - The Zone message.
12704
12894
  #
12705
- # * `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`
12706
12896
  # \| `opt-in-not-required`).
12707
12897
  #
12708
- # * The ID of the zone that handles some of the Local Zone control plane
12709
- # 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.
12710
12905
  #
12711
12906
  # * `region-name` - The name of the Region for the Zone (for example,
12712
12907
  # `us-east-1`).
12713
12908
  #
12714
- # * `state` - The state of the Availability Zone or Local Zone
12715
- # (`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`).
12716
12912
  #
12717
12913
  # * `zone-id` - The ID of the Availability Zone (for example,
12718
- # `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`).
12719
12916
  #
12720
12917
  # * `zone-type` - The type of zone, for example, `local-zone`.
12721
12918
  #
12722
12919
  # * `zone-name` - The name of the Availability Zone (for example,
12723
- # `us-east-1a`) or the Local Zone (for example, use
12724
- # `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`).
12725
12922
  #
12726
12923
  # * `zone-type` - The type of zone, for example, `local-zone`.
12727
12924
  #
12728
12925
  # @option params [Array<String>] :zone_names
12729
- # The names of the Zones.
12926
+ # The names of the Availability Zones, Local Zones, and Wavelength
12927
+ # Zones.
12730
12928
  #
12731
12929
  # @option params [Array<String>] :zone_ids
12732
- # The IDs of the Zones.
12930
+ # The IDs of the Availability Zones, Local Zones, and Wavelength Zones.
12733
12931
  #
12734
12932
  # @option params [Boolean] :all_availability_zones
12735
- # Include all Availability Zones and Local Zones regardless of your opt
12736
- # in status.
12933
+ # Include all Availability Zones, Local Zones, and Wavelength Zones
12934
+ # regardless of your opt-in status.
12737
12935
  #
12738
12936
  # If you do not use this parameter, the results include only the zones
12739
12937
  # for the Regions where you have chosen the option to opt in.
@@ -12987,12 +13185,14 @@ module Aws::EC2
12987
13185
  # The ID of the Capacity Reservation.
12988
13186
  #
12989
13187
  # @option params [String] :next_token
12990
- # The token to retrieve the next page of results.
13188
+ # The token to use to retrieve the next page of results.
12991
13189
  #
12992
13190
  # @option params [Integer] :max_results
12993
13191
  # The maximum number of results to return for the request in a single
12994
13192
  # page. The remaining results can be seen by sending another request
12995
- # 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.
12996
13196
  #
12997
13197
  # @option params [Array<Types::Filter>] :filters
12998
13198
  # One or more filters.
@@ -13110,7 +13310,7 @@ module Aws::EC2
13110
13310
  # resp.capacity_reservations[0].capacity_reservation_arn #=> String
13111
13311
  # resp.capacity_reservations[0].availability_zone_id #=> String
13112
13312
  # resp.capacity_reservations[0].instance_type #=> String
13113
- # resp.capacity_reservations[0].instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise"
13313
+ # resp.capacity_reservations[0].instance_platform #=> String, one of "Linux/UNIX", "Red Hat Enterprise Linux", "SUSE Linux", "Windows", "Windows with SQL Server", "Windows with SQL Server Enterprise", "Windows with SQL Server Standard", "Windows with SQL Server Web", "Linux with SQL Server Standard", "Linux with SQL Server Web", "Linux with SQL Server Enterprise", "Windows BYOL"
13114
13314
  # resp.capacity_reservations[0].availability_zone #=> String
13115
13315
  # resp.capacity_reservations[0].tenancy #=> String, one of "default", "dedicated"
13116
13316
  # resp.capacity_reservations[0].total_instance_count #=> Integer
@@ -13135,6 +13335,90 @@ module Aws::EC2
13135
13335
  req.send_request(options)
13136
13336
  end
13137
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
+
13138
13422
  # Describes one or more of your linked EC2-Classic instances. This
13139
13423
  # request only returns information about EC2-Classic instances linked to
13140
13424
  # a VPC through ClassicLink. You cannot use this request to return
@@ -17246,6 +17530,7 @@ module Aws::EC2
17246
17530
  # resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_state #=> String
17247
17531
  # resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
17248
17532
  # resp.reservations[0].instances[0].network_interfaces #=> Array
17533
+ # resp.reservations[0].instances[0].network_interfaces[0].association.carrier_ip #=> String
17249
17534
  # resp.reservations[0].instances[0].network_interfaces[0].association.ip_owner_id #=> String
17250
17535
  # resp.reservations[0].instances[0].network_interfaces[0].association.public_dns_name #=> String
17251
17536
  # resp.reservations[0].instances[0].network_interfaces[0].association.public_ip #=> String
@@ -17266,6 +17551,7 @@ module Aws::EC2
17266
17551
  # resp.reservations[0].instances[0].network_interfaces[0].private_dns_name #=> String
17267
17552
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_address #=> String
17268
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
17269
17555
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
17270
17556
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
17271
17557
  # resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
@@ -17297,6 +17583,7 @@ module Aws::EC2
17297
17583
  # resp.reservations[0].instances[0].capacity_reservation_id #=> String
17298
17584
  # resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
17299
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
17300
17587
  # resp.reservations[0].instances[0].hibernation_options.configured #=> Boolean
17301
17588
  # resp.reservations[0].instances[0].licenses #=> Array
17302
17589
  # resp.reservations[0].instances[0].licenses[0].license_configuration_arn #=> String
@@ -17816,6 +18103,7 @@ module Aws::EC2
17816
18103
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
17817
18104
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].no_device #=> String
17818
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
17819
18107
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
17820
18108
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].delete_on_termination #=> Boolean
17821
18109
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].description #=> String
@@ -17874,6 +18162,7 @@ module Aws::EC2
17874
18162
  # resp.launch_template_versions[0].launch_template_data.cpu_options.threads_per_core #=> Integer
17875
18163
  # resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
17876
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
17877
18166
  # resp.launch_template_versions[0].launch_template_data.license_specifications #=> Array
17878
18167
  # resp.launch_template_versions[0].launch_template_data.license_specifications[0].license_configuration_arn #=> String
17879
18168
  # resp.launch_template_versions[0].launch_template_data.hibernation_options.configured #=> Boolean
@@ -19388,6 +19677,7 @@ module Aws::EC2
19388
19677
  # resp.network_interfaces[0].association.ip_owner_id #=> String
19389
19678
  # resp.network_interfaces[0].association.public_dns_name #=> String
19390
19679
  # resp.network_interfaces[0].association.public_ip #=> String
19680
+ # resp.network_interfaces[0].association.carrier_ip #=> String
19391
19681
  # resp.network_interfaces[0].attachment.attach_time #=> Time
19392
19682
  # resp.network_interfaces[0].attachment.attachment_id #=> String
19393
19683
  # resp.network_interfaces[0].attachment.delete_on_termination #=> Boolean
@@ -19415,6 +19705,7 @@ module Aws::EC2
19415
19705
  # resp.network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
19416
19706
  # resp.network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
19417
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
19418
19709
  # resp.network_interfaces[0].private_ip_addresses[0].primary #=> Boolean
19419
19710
  # resp.network_interfaces[0].private_ip_addresses[0].private_dns_name #=> String
19420
19711
  # resp.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
@@ -20611,6 +20902,7 @@ module Aws::EC2
20611
20902
  # resp.route_tables[0].routes[0].nat_gateway_id #=> String
20612
20903
  # resp.route_tables[0].routes[0].transit_gateway_id #=> String
20613
20904
  # resp.route_tables[0].routes[0].local_gateway_id #=> String
20905
+ # resp.route_tables[0].routes[0].carrier_gateway_id #=> String
20614
20906
  # resp.route_tables[0].routes[0].network_interface_id #=> String
20615
20907
  # resp.route_tables[0].routes[0].origin #=> String, one of "CreateRouteTable", "CreateRoute", "EnableVgwRoutePropagation"
20616
20908
  # resp.route_tables[0].routes[0].state #=> String, one of "active", "blackhole"
@@ -21988,6 +22280,7 @@ module Aws::EC2
21988
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
21989
22281
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].secondary_private_ip_address_count #=> Integer
21990
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
21991
22284
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].interface_type #=> String
21992
22285
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.availability_zone #=> String
21993
22286
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.group_name #=> String
@@ -22340,6 +22633,7 @@ module Aws::EC2
22340
22633
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
22341
22634
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].secondary_private_ip_address_count #=> Integer
22342
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
22343
22637
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
22344
22638
  # resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
22345
22639
  # resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
@@ -27273,12 +27567,14 @@ module Aws::EC2
27273
27567
  # The ID of the Capacity Reservation.
27274
27568
  #
27275
27569
  # @option params [String] :next_token
27276
- # The token to retrieve the next page of results.
27570
+ # The token to use to retrieve the next page of results.
27277
27571
  #
27278
27572
  # @option params [Integer] :max_results
27279
27573
  # The maximum number of results to return for the request in a single
27280
27574
  # page. The remaining results can be seen by sending another request
27281
- # 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.
27282
27578
  #
27283
27579
  # Valid range: Minimum value of 1. Maximum value of 1000.
27284
27580
  #
@@ -27661,6 +27957,60 @@ module Aws::EC2
27661
27957
  req.send_request(options)
27662
27958
  end
27663
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
+
27664
28014
  # Preview a reservation purchase with configurations that match those of
27665
28015
  # your Dedicated Host. You must have active Dedicated Hosts in your
27666
28016
  # account before you purchase a reservation.
@@ -27824,6 +28174,7 @@ module Aws::EC2
27824
28174
  # resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "gp2", "sc1", "st1"
27825
28175
  # resp.launch_template_data.block_device_mappings[0].no_device #=> String
27826
28176
  # resp.launch_template_data.network_interfaces #=> Array
28177
+ # resp.launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
27827
28178
  # resp.launch_template_data.network_interfaces[0].associate_public_ip_address #=> Boolean
27828
28179
  # resp.launch_template_data.network_interfaces[0].delete_on_termination #=> Boolean
27829
28180
  # resp.launch_template_data.network_interfaces[0].description #=> String
@@ -27882,6 +28233,7 @@ module Aws::EC2
27882
28233
  # resp.launch_template_data.cpu_options.threads_per_core #=> Integer
27883
28234
  # resp.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
27884
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
27885
28237
  # resp.launch_template_data.license_specifications #=> Array
27886
28238
  # resp.launch_template_data.license_specifications[0].license_configuration_arn #=> String
27887
28239
  # resp.launch_template_data.hibernation_options.configured #=> Boolean
@@ -29149,7 +29501,8 @@ module Aws::EC2
29149
29501
  req.send_request(options)
29150
29502
  end
29151
29503
 
29152
- # 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.
29153
29506
  #
29154
29507
  # Use [ DescribeAvailabilityZones][1] to view the value for `GroupName`.
29155
29508
  #
@@ -29158,12 +29511,14 @@ module Aws::EC2
29158
29511
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
29159
29512
  #
29160
29513
  # @option params [required, String] :group_name
29161
- # The name of the Availability Zone Group.
29514
+ # The name of the Availability Zone group, Local Zone group, or
29515
+ # Wavelength Zone group.
29162
29516
  #
29163
29517
  # @option params [required, String] :opt_in_status
29164
- # Indicates whether to enable or disable membership. The valid values
29165
- # are `opted-in`. You must contact [AWS Support][1] to disable an
29166
- # 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.
29167
29522
  #
29168
29523
  #
29169
29524
  #
@@ -30285,6 +30640,7 @@ module Aws::EC2
30285
30640
  # capacity_reservation_preference: "open", # accepts open, none
30286
30641
  # capacity_reservation_target: {
30287
30642
  # capacity_reservation_id: "CapacityReservationId",
30643
+ # capacity_reservation_resource_group_arn: "String",
30288
30644
  # },
30289
30645
  # },
30290
30646
  # dry_run: false,
@@ -31174,20 +31530,6 @@ module Aws::EC2
31174
31530
  # @option params [required, String] :subnet_id
31175
31531
  # The ID of the subnet.
31176
31532
  #
31177
- # @option params [Types::AttributeBooleanValue] :map_customer_owned_ip_on_launch
31178
- # Specify `true` to indicate that network interfaces attached to
31179
- # instances created in the specified subnet should be assigned a
31180
- # customer-owned IPv4 address.
31181
- #
31182
- # When this value is `true`, you must specify the customer-owned IP pool
31183
- # using `CustomerOwnedIpv4Pool`.
31184
- #
31185
- # @option params [String] :customer_owned_ipv_4_pool
31186
- # The customer-owned IPv4 address pool associated with the subnet.
31187
- #
31188
- # You must set this value when you specify `true` for
31189
- # `MapCustomerOwnedIpOnLaunch`.
31190
- #
31191
31533
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
31192
31534
  #
31193
31535
  #
@@ -31213,10 +31555,6 @@ module Aws::EC2
31213
31555
  # value: false,
31214
31556
  # },
31215
31557
  # subnet_id: "SubnetId", # required
31216
- # map_customer_owned_ip_on_launch: {
31217
- # value: false,
31218
- # },
31219
- # customer_owned_ipv_4_pool: "CoipPoolId",
31220
31558
  # })
31221
31559
  #
31222
31560
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute AWS API Documentation
@@ -33703,7 +34041,8 @@ module Aws::EC2
33703
34041
  # \[EC2-Classic\] The Elastic IP address. Required for EC2-Classic.
33704
34042
  #
33705
34043
  # @option params [String] :network_border_group
33706
- # 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.
33707
34046
  #
33708
34047
  # If you provide an incorrect network border group, you will receive an
33709
34048
  # `InvalidAddress.NotFound` error. For more information, see [Error
@@ -34076,6 +34415,9 @@ module Aws::EC2
34076
34415
  # @option params [String] :local_gateway_id
34077
34416
  # The ID of the local gateway.
34078
34417
  #
34418
+ # @option params [String] :carrier_gateway_id
34419
+ # \[IPv4 traffic only\] The ID of a carrier gateway.
34420
+ #
34079
34421
  # @option params [String] :network_interface_id
34080
34422
  # The ID of a network interface.
34081
34423
  #
@@ -34113,6 +34455,7 @@ module Aws::EC2
34113
34455
  # nat_gateway_id: "NatGatewayId",
34114
34456
  # transit_gateway_id: "TransitGatewayId",
34115
34457
  # local_gateway_id: "LocalGatewayId",
34458
+ # carrier_gateway_id: "CarrierGatewayId",
34116
34459
  # network_interface_id: "NetworkInterfaceId",
34117
34460
  # route_table_id: "RouteTableId", # required
34118
34461
  # vpc_peering_connection_id: "VpcPeeringConnectionId",
@@ -34603,6 +34946,7 @@ module Aws::EC2
34603
34946
  # ],
34604
34947
  # secondary_private_ip_address_count: 1,
34605
34948
  # subnet_id: "String",
34949
+ # associate_carrier_ip_address: false,
34606
34950
  # interface_type: "String",
34607
34951
  # },
34608
34952
  # ],
@@ -34938,6 +35282,7 @@ module Aws::EC2
34938
35282
  # ],
34939
35283
  # secondary_private_ip_address_count: 1,
34940
35284
  # subnet_id: "String",
35285
+ # associate_carrier_ip_address: false,
34941
35286
  # interface_type: "String",
34942
35287
  # },
34943
35288
  # ],
@@ -35019,6 +35364,7 @@ module Aws::EC2
35019
35364
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
35020
35365
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].secondary_private_ip_address_count #=> Integer
35021
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
35022
35368
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
35023
35369
  # resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
35024
35370
  # resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
@@ -36268,6 +36614,7 @@ module Aws::EC2
36268
36614
  # ],
36269
36615
  # secondary_private_ip_address_count: 1,
36270
36616
  # subnet_id: "String",
36617
+ # associate_carrier_ip_address: false,
36271
36618
  # interface_type: "String",
36272
36619
  # },
36273
36620
  # ],
@@ -36320,6 +36667,7 @@ module Aws::EC2
36320
36667
  # capacity_reservation_preference: "open", # accepts open, none
36321
36668
  # capacity_reservation_target: {
36322
36669
  # capacity_reservation_id: "CapacityReservationId",
36670
+ # capacity_reservation_resource_group_arn: "String",
36323
36671
  # },
36324
36672
  # },
36325
36673
  # hibernation_options: {
@@ -36398,6 +36746,7 @@ module Aws::EC2
36398
36746
  # resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_state #=> String
36399
36747
  # resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
36400
36748
  # resp.instances[0].network_interfaces #=> Array
36749
+ # resp.instances[0].network_interfaces[0].association.carrier_ip #=> String
36401
36750
  # resp.instances[0].network_interfaces[0].association.ip_owner_id #=> String
36402
36751
  # resp.instances[0].network_interfaces[0].association.public_dns_name #=> String
36403
36752
  # resp.instances[0].network_interfaces[0].association.public_ip #=> String
@@ -36418,6 +36767,7 @@ module Aws::EC2
36418
36767
  # resp.instances[0].network_interfaces[0].private_dns_name #=> String
36419
36768
  # resp.instances[0].network_interfaces[0].private_ip_address #=> String
36420
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
36421
36771
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
36422
36772
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
36423
36773
  # resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
@@ -36449,6 +36799,7 @@ module Aws::EC2
36449
36799
  # resp.instances[0].capacity_reservation_id #=> String
36450
36800
  # resp.instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
36451
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
36452
36803
  # resp.instances[0].hibernation_options.configured #=> Boolean
36453
36804
  # resp.instances[0].licenses #=> Array
36454
36805
  # resp.instances[0].licenses[0].license_configuration_arn #=> String
@@ -37820,7 +38171,7 @@ module Aws::EC2
37820
38171
  params: params,
37821
38172
  config: config)
37822
38173
  context[:gem_name] = 'aws-sdk-ec2'
37823
- context[:gem_version] = '1.179.0'
38174
+ context[:gem_version] = '1.184.0'
37824
38175
  Seahorse::Client::Request.new(handlers, context)
37825
38176
  end
37826
38177