aws-sdk-ec2 1.247.0 → 1.251.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: 52c8453e5c1f2b261667ca3f5435131cb226f3fb6f7d645eb08cc3394e125abe
4
- data.tar.gz: 36a70e27065fb9d3043ce85d7702475fde6c95ed4b22f34365092abdddeb5b3e
3
+ metadata.gz: 6b547bf8c9cdd5c8449cb12697413c4104ce8f9ebebb943fc825f04bfad270bb
4
+ data.tar.gz: 769c7b099848c23974b09816c9c96da4f087552193b801026b268e22acee9cf1
5
5
  SHA512:
6
- metadata.gz: 11d662d714667d6e365442629b309967c6479b67de6a215858bdc4815e5c7bb0e3cdf18964933392a902f78c6bc01aa51ae69e40d243cb786aa19f68eaf39795
7
- data.tar.gz: d167276fe0356e710da30414f5591b63be1e5d563cd1884b25d134fff834337cd4c2a8b90dd45decb689f7cd139035d69f2470bff3364f3320d88ea9009ced7c
6
+ metadata.gz: 3deadbfb54763f40456ce907e029c47f837d2c4cf5a5c01de77e0dcd766f8c4d356b93d0922f080676a363f324ef1349d86db0cecdc6f75e3d1dd8fcf7cf74a9
7
+ data.tar.gz: f2dc57853511fd13ce3f37288c2a73b256ad470bda3b4fd603d7bbb25adbcd23d176ebf82aa087e0e363b9b5afb17980631b906b7d435dda944065ff7f082493
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.251.0 (2021-07-22)
5
+ ------------------
6
+
7
+ * Feature - This release allows customers to assign prefixes to their elastic network interface and to reserve IP blocks in their subnet CIDRs. These reserved blocks can be used to assign prefixes to elastic network interfaces or be excluded from auto-assignment.
8
+
9
+ 1.250.0 (2021-07-20)
10
+ ------------------
11
+
12
+ * Feature - Added idempotency to the CreateVolume API using the ClientToken request parameter
13
+
14
+ 1.249.0 (2021-07-15)
15
+ ------------------
16
+
17
+ * Feature - This feature enables customers to specify weekly recurring time window(s) for scheduled events that reboot, stop or terminate EC2 instances.
18
+
19
+ 1.248.0 (2021-07-07)
20
+ ------------------
21
+
22
+ * Feature - This release adds resource ids and tagging support for VPC security group rules.
23
+
4
24
  1.247.0 (2021-07-02)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.247.0
1
+ 1.251.0
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.247.0'
75
+ GEM_VERSION = '1.251.0'
76
76
 
77
77
  end
@@ -842,7 +842,7 @@ module Aws::EC2
842
842
  # dry_run: false,
843
843
  # tag_specifications: [
844
844
  # {
845
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
845
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
846
846
  # tags: [
847
847
  # {
848
848
  # key: "String",
@@ -955,7 +955,7 @@ module Aws::EC2
955
955
  # quantity: 1, # required
956
956
  # tag_specifications: [
957
957
  # {
958
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
958
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
959
959
  # tags: [
960
960
  # {
961
961
  # key: "String",
@@ -1041,9 +1041,15 @@ module Aws::EC2
1041
1041
  # You must specify either the IPv6 addresses or the IPv6 address count
1042
1042
  # in the request.
1043
1043
  #
1044
+ # You can optionally use Prefix Delegation on the network interface. You
1045
+ # must specify either the IPV6 Prefix Delegation prefixes, or the IPv6
1046
+ # Prefix Delegation count. For information, see [Prefix Delegation][2]
1047
+ # in the *Amazon Elastic Compute Cloud User Guide*.
1048
+ #
1044
1049
  #
1045
1050
  #
1046
1051
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
1052
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation
1047
1053
  #
1048
1054
  # @option params [Integer] :ipv_6_address_count
1049
1055
  # The number of additional IPv6 addresses to assign to the network
@@ -1058,12 +1064,23 @@ module Aws::EC2
1058
1064
  # interface. You can't use this option if you're specifying a number
1059
1065
  # of IPv6 addresses.
1060
1066
  #
1067
+ # @option params [Integer] :ipv_6_prefix_count
1068
+ # The number of IPv6 Prefix Delegation prefixes that AWS automatically
1069
+ # assigns to the network interface. You cannot use this option if you
1070
+ # use the `Ipv6Prefixes` option.
1071
+ #
1072
+ # @option params [Array<String>] :ipv_6_prefixes
1073
+ # One or more IPv6 Prefix Delegation prefixes assigned to the network
1074
+ # interface. You cannot use this option if you use the `Ipv6PrefixCount`
1075
+ # option.
1076
+ #
1061
1077
  # @option params [required, String] :network_interface_id
1062
1078
  # The ID of the network interface.
1063
1079
  #
1064
1080
  # @return [Types::AssignIpv6AddressesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1065
1081
  #
1066
1082
  # * {Types::AssignIpv6AddressesResult#assigned_ipv_6_addresses #assigned_ipv_6_addresses} => Array&lt;String&gt;
1083
+ # * {Types::AssignIpv6AddressesResult#assigned_ipv_6_prefixes #assigned_ipv_6_prefixes} => Array&lt;String&gt;
1067
1084
  # * {Types::AssignIpv6AddressesResult#network_interface_id #network_interface_id} => String
1068
1085
  #
1069
1086
  # @example Request syntax with placeholder values
@@ -1071,6 +1088,8 @@ module Aws::EC2
1071
1088
  # resp = client.assign_ipv_6_addresses({
1072
1089
  # ipv_6_address_count: 1,
1073
1090
  # ipv_6_addresses: ["String"],
1091
+ # ipv_6_prefix_count: 1,
1092
+ # ipv_6_prefixes: ["String"],
1074
1093
  # network_interface_id: "NetworkInterfaceId", # required
1075
1094
  # })
1076
1095
  #
@@ -1078,6 +1097,8 @@ module Aws::EC2
1078
1097
  #
1079
1098
  # resp.assigned_ipv_6_addresses #=> Array
1080
1099
  # resp.assigned_ipv_6_addresses[0] #=> String
1100
+ # resp.assigned_ipv_6_prefixes #=> Array
1101
+ # resp.assigned_ipv_6_prefixes[0] #=> String
1081
1102
  # resp.network_interface_id #=> String
1082
1103
  #
1083
1104
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6Addresses AWS API Documentation
@@ -1113,10 +1134,16 @@ module Aws::EC2
1113
1134
  # You must specify either the IP addresses or the IP address count in
1114
1135
  # the request.
1115
1136
  #
1137
+ # You can optionally use Prefix Delegation on the network interface. You
1138
+ # must specify either the IPv4 Prefix Delegation prefixes, or the IPv4
1139
+ # Prefix Delegation count. For information, see [Prefix Delegation][3]
1140
+ # in the *Amazon Elastic Compute Cloud User Guide*.
1141
+ #
1116
1142
  #
1117
1143
  #
1118
1144
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
1119
1145
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
1146
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation
1120
1147
  #
1121
1148
  # @option params [Boolean] :allow_reassignment
1122
1149
  # Indicates whether to allow an IP address that is already assigned to
@@ -1139,10 +1166,21 @@ module Aws::EC2
1139
1166
  # interface. You can't specify this parameter when also specifying
1140
1167
  # private IP addresses.
1141
1168
  #
1169
+ # @option params [Array<String>] :ipv_4_prefixes
1170
+ # One or more IPv4 Prefix Delegation prefixes assigned to the network
1171
+ # interface. You cannot use this option if you use the `Ipv4PrefixCount`
1172
+ # option.
1173
+ #
1174
+ # @option params [Integer] :ipv_4_prefix_count
1175
+ # The number of IPv4 Prefix Delegation prefixes that AWS automatically
1176
+ # assigns to the network interface. You cannot use this option if you
1177
+ # use the `Ipv4 Prefixes` option.
1178
+ #
1142
1179
  # @return [Types::AssignPrivateIpAddressesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1143
1180
  #
1144
1181
  # * {Types::AssignPrivateIpAddressesResult#network_interface_id #network_interface_id} => String
1145
1182
  # * {Types::AssignPrivateIpAddressesResult#assigned_private_ip_addresses #assigned_private_ip_addresses} => Array&lt;Types::AssignedPrivateIpAddress&gt;
1183
+ # * {Types::AssignPrivateIpAddressesResult#assigned_ipv_4_prefixes #assigned_ipv_4_prefixes} => Array&lt;Types::Ipv4PrefixSpecification&gt;
1146
1184
  #
1147
1185
  #
1148
1186
  # @example Example: To assign a specific secondary private IP address to an interface
@@ -1174,6 +1212,8 @@ module Aws::EC2
1174
1212
  # network_interface_id: "NetworkInterfaceId", # required
1175
1213
  # private_ip_addresses: ["String"],
1176
1214
  # secondary_private_ip_address_count: 1,
1215
+ # ipv_4_prefixes: ["String"],
1216
+ # ipv_4_prefix_count: 1,
1177
1217
  # })
1178
1218
  #
1179
1219
  # @example Response structure
@@ -1181,6 +1221,8 @@ module Aws::EC2
1181
1221
  # resp.network_interface_id #=> String
1182
1222
  # resp.assigned_private_ip_addresses #=> Array
1183
1223
  # resp.assigned_private_ip_addresses[0].private_ip_address #=> String
1224
+ # resp.assigned_ipv_4_prefixes #=> Array
1225
+ # resp.assigned_ipv_4_prefixes[0].ipv_4_prefix #=> String
1184
1226
  #
1185
1227
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddresses AWS API Documentation
1186
1228
  #
@@ -1416,7 +1458,7 @@ module Aws::EC2
1416
1458
  # the instance renews its DHCP lease. You can explicitly renew the lease
1417
1459
  # using the operating system on the instance.
1418
1460
  #
1419
- # For more information, see [DHCP Options Sets][1] in the *Amazon
1461
+ # For more information, see [DHCP options sets][1] in the *Amazon
1420
1462
  # Virtual Private Cloud User Guide*.
1421
1463
  #
1422
1464
  #
@@ -1474,26 +1516,26 @@ module Aws::EC2
1474
1516
  req.send_request(options)
1475
1517
  end
1476
1518
 
1477
- # Associates an AWS Identity and Access Management (IAM) role with an
1478
- # AWS Certificate Manager (ACM) certificate. This enables the
1479
- # certificate to be used by the ACM for Nitro Enclaves application
1480
- # inside an enclave. For more information, see [AWS Certificate Manager
1481
- # for Nitro Enclaves][1] in the *AWS Nitro Enclaves User Guide*.
1519
+ # Associates an Identity and Access Management (IAM) role with an
1520
+ # Certificate Manager (ACM) certificate. This enables the certificate to
1521
+ # be used by the ACM for Nitro Enclaves application inside an enclave.
1522
+ # For more information, see [Certificate Manager for Nitro Enclaves][1]
1523
+ # in the *Amazon Web Services Nitro Enclaves User Guide*.
1482
1524
  #
1483
1525
  # When the IAM role is associated with the ACM certificate, the
1484
1526
  # certificate, certificate chain, and encrypted private key are placed
1485
1527
  # in an Amazon S3 bucket that only the associated IAM role can access.
1486
- # The private key of the certificate is encrypted with an AWS-managed
1487
- # KMS customer master (CMK) that has an attached attestation-based CMK
1528
+ # The private key of the certificate is encrypted with an Amazon Web
1529
+ # Services managed key that has an attached attestation-based key
1488
1530
  # policy.
1489
1531
  #
1490
1532
  # To enable the IAM role to access the Amazon S3 object, you must grant
1491
1533
  # it permission to call `s3:GetObject` on the Amazon S3 bucket returned
1492
- # by the command. To enable the IAM role to access the AWS KMS CMK, you
1493
- # must grant it permission to call `kms:Decrypt` on the AWS KMS CMK
1494
- # returned by the command. For more information, see [ Grant the role
1495
- # permission to access the certificate and encryption key][2] in the
1496
- # *AWS Nitro Enclaves User Guide*.
1534
+ # by the command. To enable the IAM role to access the KMS key, you must
1535
+ # grant it permission to call `kms:Decrypt` on the KMS key returned by
1536
+ # the command. For more information, see [ Grant the role permission to
1537
+ # access the certificate and encryption key][2] in the *Amazon Web
1538
+ # Services Nitro Enclaves User Guide*.
1497
1539
  #
1498
1540
  #
1499
1541
  #
@@ -1609,6 +1651,81 @@ module Aws::EC2
1609
1651
  req.send_request(options)
1610
1652
  end
1611
1653
 
1654
+ # Associates one or more targets with an event window. Only one type of
1655
+ # target (instance IDs, Dedicated Host IDs, or tags) can be specified
1656
+ # with an event window.
1657
+ #
1658
+ # For more information, see [Define event windows for scheduled
1659
+ # events][1] in the *Amazon EC2 User Guide*.
1660
+ #
1661
+ #
1662
+ #
1663
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html
1664
+ #
1665
+ # @option params [Boolean] :dry_run
1666
+ # Checks whether you have the required permissions for the action,
1667
+ # without actually making the request, and provides an error response.
1668
+ # If you have the required permissions, the error response is
1669
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1670
+ #
1671
+ # @option params [required, String] :instance_event_window_id
1672
+ # The ID of the event window.
1673
+ #
1674
+ # @option params [required, Types::InstanceEventWindowAssociationRequest] :association_target
1675
+ # One or more targets associated with the specified event window.
1676
+ #
1677
+ # @return [Types::AssociateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1678
+ #
1679
+ # * {Types::AssociateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
1680
+ #
1681
+ # @example Request syntax with placeholder values
1682
+ #
1683
+ # resp = client.associate_instance_event_window({
1684
+ # dry_run: false,
1685
+ # instance_event_window_id: "InstanceEventWindowId", # required
1686
+ # association_target: { # required
1687
+ # instance_ids: ["InstanceId"],
1688
+ # instance_tags: [
1689
+ # {
1690
+ # key: "String",
1691
+ # value: "String",
1692
+ # },
1693
+ # ],
1694
+ # dedicated_host_ids: ["DedicatedHostId"],
1695
+ # },
1696
+ # })
1697
+ #
1698
+ # @example Response structure
1699
+ #
1700
+ # resp.instance_event_window.instance_event_window_id #=> String
1701
+ # resp.instance_event_window.time_ranges #=> Array
1702
+ # resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
1703
+ # resp.instance_event_window.time_ranges[0].start_hour #=> Integer
1704
+ # resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
1705
+ # resp.instance_event_window.time_ranges[0].end_hour #=> Integer
1706
+ # resp.instance_event_window.name #=> String
1707
+ # resp.instance_event_window.cron_expression #=> String
1708
+ # resp.instance_event_window.association_target.instance_ids #=> Array
1709
+ # resp.instance_event_window.association_target.instance_ids[0] #=> String
1710
+ # resp.instance_event_window.association_target.tags #=> Array
1711
+ # resp.instance_event_window.association_target.tags[0].key #=> String
1712
+ # resp.instance_event_window.association_target.tags[0].value #=> String
1713
+ # resp.instance_event_window.association_target.dedicated_host_ids #=> Array
1714
+ # resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
1715
+ # resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
1716
+ # resp.instance_event_window.tags #=> Array
1717
+ # resp.instance_event_window.tags[0].key #=> String
1718
+ # resp.instance_event_window.tags[0].value #=> String
1719
+ #
1720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateInstanceEventWindow AWS API Documentation
1721
+ #
1722
+ # @overload associate_instance_event_window(params = {})
1723
+ # @param [Hash] params ({})
1724
+ def associate_instance_event_window(params = {}, options = {})
1725
+ req = build_request(:associate_instance_event_window, params)
1726
+ req.send_request(options)
1727
+ end
1728
+
1612
1729
  # Associates a subnet in your VPC or an internet gateway or virtual
1613
1730
  # private gateway attached to your VPC with a route table in your VPC.
1614
1731
  # This association causes traffic from the subnet or gateway to be
@@ -1616,7 +1733,7 @@ module Aws::EC2
1616
1733
  # an association ID, which you need in order to disassociate the route
1617
1734
  # table later. A route table can be associated with multiple subnets.
1618
1735
  #
1619
- # For more information, see [Route Tables][1] in the *Amazon Virtual
1736
+ # For more information, see [Route tables][1] in the *Amazon Virtual
1620
1737
  # Private Cloud User Guide*.
1621
1738
  #
1622
1739
  #
@@ -1922,7 +2039,7 @@ module Aws::EC2
1922
2039
  # block, an IPv6 pool, or an Amazon-provided IPv6 CIDR block.
1923
2040
  #
1924
2041
  # For more information about associating CIDR blocks with your VPC and
1925
- # applicable restrictions, see [VPC and Subnet Sizing][2] in the *Amazon
2042
+ # applicable restrictions, see [VPC and subnet sizing][2] in the *Amazon
1926
2043
  # Virtual Private Cloud User Guide*.
1927
2044
  #
1928
2045
  #
@@ -2182,13 +2299,13 @@ module Aws::EC2
2182
2299
  # encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
2183
2300
  #
2184
2301
  # After you attach an EBS volume, you must make it available. For more
2185
- # information, see [Making an EBS volume available for use][2].
2302
+ # information, see [Make an EBS volume available for use][2].
2186
2303
  #
2187
- # If a volume has an AWS Marketplace product code:
2304
+ # If a volume has an Marketplace product code:
2188
2305
  #
2189
2306
  # * The volume can be attached only to a stopped instance.
2190
2307
  #
2191
- # * AWS Marketplace product codes are copied from the volume to the
2308
+ # * Marketplace product codes are copied from the volume to the
2192
2309
  # instance.
2193
2310
  #
2194
2311
  # * You must be subscribed to the product.
@@ -2197,8 +2314,8 @@ module Aws::EC2
2197
2314
  # the product. For example, you can't detach a volume from a Windows
2198
2315
  # instance and attach it to a Linux instance.
2199
2316
  #
2200
- # For more information, see [Attaching Amazon EBS volumes][3] in the
2201
- # *Amazon Elastic Compute Cloud User Guide*.
2317
+ # For more information, see [Attach an Amazon EBS volume to an
2318
+ # instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
2202
2319
  #
2203
2320
  #
2204
2321
  #
@@ -2400,12 +2517,12 @@ module Aws::EC2
2400
2517
  req.send_request(options)
2401
2518
  end
2402
2519
 
2403
- # \[VPC only\] Adds the specified egress rules to a security group for
2404
- # use with a VPC.
2520
+ # \[VPC only\] Adds the specified outbound (egress) rules to a security
2521
+ # group for use with a VPC.
2405
2522
  #
2406
2523
  # An outbound rule permits instances to send traffic to the specified
2407
- # IPv4 or IPv6 CIDR address ranges, or to the instances associated with
2408
- # the specified destination security groups.
2524
+ # IPv4 or IPv6 CIDR address ranges, or to the instances that are
2525
+ # associated with the specified destination security groups.
2409
2526
  #
2410
2527
  # You specify a protocol for each rule (for example, TCP). For the TCP
2411
2528
  # and UDP protocols, you must also specify the destination port or port
@@ -2416,8 +2533,8 @@ module Aws::EC2
2416
2533
  # Rule changes are propagated to affected instances as quickly as
2417
2534
  # possible. However, a small delay might occur.
2418
2535
  #
2419
- # For more information about VPC security group limits, see [Amazon VPC
2420
- # Limits][1].
2536
+ # For information about VPC security group quotas, see [Amazon VPC
2537
+ # quotas][1].
2421
2538
  #
2422
2539
  #
2423
2540
  #
@@ -2436,6 +2553,9 @@ module Aws::EC2
2436
2553
  # The sets of IP permissions. You can't specify a destination security
2437
2554
  # group and a CIDR IP address range in the same set of permissions.
2438
2555
  #
2556
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
2557
+ # The tags applied to the security group rule.
2558
+ #
2439
2559
  # @option params [String] :cidr_ip
2440
2560
  # Not supported. Use a set of IP permissions to specify the CIDR.
2441
2561
  #
@@ -2457,7 +2577,10 @@ module Aws::EC2
2457
2577
  # Not supported. Use a set of IP permissions to specify a destination
2458
2578
  # security group.
2459
2579
  #
2460
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2580
+ # @return [Types::AuthorizeSecurityGroupEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2581
+ #
2582
+ # * {Types::AuthorizeSecurityGroupEgressResult#return #return} => Boolean
2583
+ # * {Types::AuthorizeSecurityGroupEgressResult#security_group_rules #security_group_rules} => Array&lt;Types::SecurityGroupRule&gt;
2461
2584
  #
2462
2585
  #
2463
2586
  # @example Example: To add a rule that allows outbound traffic to a specific address range
@@ -2549,6 +2672,17 @@ module Aws::EC2
2549
2672
  # ],
2550
2673
  # },
2551
2674
  # ],
2675
+ # tag_specifications: [
2676
+ # {
2677
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
2678
+ # tags: [
2679
+ # {
2680
+ # key: "String",
2681
+ # value: "String",
2682
+ # },
2683
+ # ],
2684
+ # },
2685
+ # ],
2552
2686
  # cidr_ip: "String",
2553
2687
  # from_port: 1,
2554
2688
  # ip_protocol: "String",
@@ -2557,6 +2691,30 @@ module Aws::EC2
2557
2691
  # source_security_group_owner_id: "String",
2558
2692
  # })
2559
2693
  #
2694
+ # @example Response structure
2695
+ #
2696
+ # resp.return #=> Boolean
2697
+ # resp.security_group_rules #=> Array
2698
+ # resp.security_group_rules[0].security_group_rule_id #=> String
2699
+ # resp.security_group_rules[0].group_id #=> String
2700
+ # resp.security_group_rules[0].group_owner_id #=> String
2701
+ # resp.security_group_rules[0].is_egress #=> Boolean
2702
+ # resp.security_group_rules[0].ip_protocol #=> String
2703
+ # resp.security_group_rules[0].from_port #=> Integer
2704
+ # resp.security_group_rules[0].to_port #=> Integer
2705
+ # resp.security_group_rules[0].cidr_ipv_4 #=> String
2706
+ # resp.security_group_rules[0].cidr_ipv_6 #=> String
2707
+ # resp.security_group_rules[0].prefix_list_id #=> String
2708
+ # resp.security_group_rules[0].referenced_group_info.group_id #=> String
2709
+ # resp.security_group_rules[0].referenced_group_info.peering_status #=> String
2710
+ # resp.security_group_rules[0].referenced_group_info.user_id #=> String
2711
+ # resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
2712
+ # resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
2713
+ # resp.security_group_rules[0].description #=> String
2714
+ # resp.security_group_rules[0].tags #=> Array
2715
+ # resp.security_group_rules[0].tags[0].key #=> String
2716
+ # resp.security_group_rules[0].tags[0].value #=> String
2717
+ #
2560
2718
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress AWS API Documentation
2561
2719
  #
2562
2720
  # @overload authorize_security_group_egress(params = {})
@@ -2566,11 +2724,11 @@ module Aws::EC2
2566
2724
  req.send_request(options)
2567
2725
  end
2568
2726
 
2569
- # Adds the specified ingress rules to a security group.
2727
+ # Adds the specified inbound (ingress) rules to a security group.
2570
2728
  #
2571
2729
  # An inbound rule permits instances to receive traffic from the
2572
- # specified IPv4 or IPv6 CIDR address ranges, or from the instances
2573
- # associated with the specified destination security groups.
2730
+ # specified IPv4 or IPv6 CIDR address range, or from the instances that
2731
+ # are associated with the specified destination security groups.
2574
2732
  #
2575
2733
  # You specify a protocol for each rule (for example, TCP). For TCP and
2576
2734
  # UDP, you must also specify the destination port or port range. For
@@ -2580,8 +2738,8 @@ module Aws::EC2
2580
2738
  # Rule changes are propagated to instances within the security group as
2581
2739
  # quickly as possible. However, a small delay might occur.
2582
2740
  #
2583
- # For more information about VPC security group limits, see [Amazon VPC
2584
- # Limits][1].
2741
+ # For more information about VPC security group quotas, see [Amazon VPC
2742
+ # quotas][1].
2585
2743
  #
2586
2744
  #
2587
2745
  #
@@ -2641,13 +2799,14 @@ module Aws::EC2
2641
2799
  # EC2-VPC, the source security group must be in the same VPC.
2642
2800
  #
2643
2801
  # @option params [String] :source_security_group_owner_id
2644
- # \[nondefault VPC\] The AWS account ID for the source security group,
2645
- # if the source security group is in a different account. You can't
2646
- # specify this parameter in combination with the following parameters:
2647
- # the CIDR IP address range, the IP protocol, the start of the port
2648
- # range, and the end of the port range. Creates rules that grant full
2649
- # ICMP, UDP, and TCP access. To create a rule with a specific IP
2650
- # protocol and port range, use a set of IP permissions instead.
2802
+ # \[nondefault VPC\] The Amazon Web Services account ID for the source
2803
+ # security group, if the source security group is in a different
2804
+ # account. You can't specify this parameter in combination with the
2805
+ # following parameters: the CIDR IP address range, the IP protocol, the
2806
+ # start of the port range, and the end of the port range. Creates rules
2807
+ # that grant full ICMP, UDP, and TCP access. To create a rule with a
2808
+ # specific IP protocol and port range, use a set of IP permissions
2809
+ # instead.
2651
2810
  #
2652
2811
  # @option params [Integer] :to_port
2653
2812
  # The end of port range for the TCP and UDP protocols, or an ICMP code
@@ -2663,7 +2822,13 @@ module Aws::EC2
2663
2822
  # If you have the required permissions, the error response is
2664
2823
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
2665
2824
  #
2666
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2825
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
2826
+ # \[VPC Only\] The tags applied to the security group rule.
2827
+ #
2828
+ # @return [Types::AuthorizeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2829
+ #
2830
+ # * {Types::AuthorizeSecurityGroupIngressResult#return #return} => Boolean
2831
+ # * {Types::AuthorizeSecurityGroupIngressResult#security_group_rules #security_group_rules} => Array&lt;Types::SecurityGroupRule&gt;
2667
2832
  #
2668
2833
  #
2669
2834
  # @example Example: To add a rule that allows inbound SSH traffic from an IPv4 address range
@@ -2793,8 +2958,43 @@ module Aws::EC2
2793
2958
  # source_security_group_owner_id: "String",
2794
2959
  # to_port: 1,
2795
2960
  # dry_run: false,
2961
+ # tag_specifications: [
2962
+ # {
2963
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
2964
+ # tags: [
2965
+ # {
2966
+ # key: "String",
2967
+ # value: "String",
2968
+ # },
2969
+ # ],
2970
+ # },
2971
+ # ],
2796
2972
  # })
2797
2973
  #
2974
+ # @example Response structure
2975
+ #
2976
+ # resp.return #=> Boolean
2977
+ # resp.security_group_rules #=> Array
2978
+ # resp.security_group_rules[0].security_group_rule_id #=> String
2979
+ # resp.security_group_rules[0].group_id #=> String
2980
+ # resp.security_group_rules[0].group_owner_id #=> String
2981
+ # resp.security_group_rules[0].is_egress #=> Boolean
2982
+ # resp.security_group_rules[0].ip_protocol #=> String
2983
+ # resp.security_group_rules[0].from_port #=> Integer
2984
+ # resp.security_group_rules[0].to_port #=> Integer
2985
+ # resp.security_group_rules[0].cidr_ipv_4 #=> String
2986
+ # resp.security_group_rules[0].cidr_ipv_6 #=> String
2987
+ # resp.security_group_rules[0].prefix_list_id #=> String
2988
+ # resp.security_group_rules[0].referenced_group_info.group_id #=> String
2989
+ # resp.security_group_rules[0].referenced_group_info.peering_status #=> String
2990
+ # resp.security_group_rules[0].referenced_group_info.user_id #=> String
2991
+ # resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
2992
+ # resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
2993
+ # resp.security_group_rules[0].description #=> String
2994
+ # resp.security_group_rules[0].tags #=> Array
2995
+ # resp.security_group_rules[0].tags[0].key #=> String
2996
+ # resp.security_group_rules[0].tags[0].value #=> String
2997
+ #
2798
2998
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress AWS API Documentation
2799
2999
  #
2800
3000
  # @overload authorize_security_group_ingress(params = {})
@@ -3589,11 +3789,11 @@ module Aws::EC2
3589
3789
  # When copying snapshots to a Region, copies of encrypted EBS snapshots
3590
3790
  # remain encrypted. Copies of unencrypted snapshots remain unencrypted,
3591
3791
  # unless you enable encryption for the snapshot copy operation. By
3592
- # default, encrypted snapshot copies use the default AWS Key Management
3593
- # Service (AWS KMS) customer master key (CMK); however, you can specify
3594
- # a different CMK. To copy an encrypted snapshot that has been shared
3595
- # from another account, you must have permissions for the CMK used to
3596
- # encrypt the snapshot.
3792
+ # default, encrypted snapshot copies use the default Key Management
3793
+ # Service (KMS) KMS key; however, you can specify a different KMS key.
3794
+ # To copy an encrypted snapshot that has been shared from another
3795
+ # account, you must have permissions for the KMS key used to encrypt the
3796
+ # snapshot.
3597
3797
  #
3598
3798
  # Snapshots copied to an Outpost are encrypted by default using the
3599
3799
  # default encryption key for the Region, or a different key that you
@@ -3605,7 +3805,7 @@ module Aws::EC2
3605
3805
  # Snapshots created by copying another snapshot have an arbitrary volume
3606
3806
  # ID that should not be used for any purpose.
3607
3807
  #
3608
- # For more information, see [Copying an Amazon EBS snapshot][2] in the
3808
+ # For more information, see [Copy an Amazon EBS snapshot][2] in the
3609
3809
  # *Amazon Elastic Compute Cloud User Guide*.
3610
3810
  #
3611
3811
  #
@@ -3619,12 +3819,14 @@ module Aws::EC2
3619
3819
  # @option params [String] :destination_outpost_arn
3620
3820
  # The Amazon Resource Name (ARN) of the Outpost to which to copy the
3621
3821
  # snapshot. Only specify this parameter when copying a snapshot from an
3622
- # AWS Region to an Outpost. The snapshot must be in the Region for the
3623
- # destination Outpost. You cannot copy a snapshot from an Outpost to a
3624
- # Region, from one Outpost to another, or within the same Outpost.
3822
+ # Amazon Web Services Region to an Outpost. The snapshot must be in the
3823
+ # Region for the destination Outpost. You cannot copy a snapshot from an
3824
+ # Outpost to a Region, from one Outpost to another, or within the same
3825
+ # Outpost.
3625
3826
  #
3626
- # For more information, see [ Copying snapshots from an AWS Region to an
3627
- # Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
3827
+ # For more information, see [ Copy snapshots from an Amazon Web Services
3828
+ # Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
3829
+ # Guide*.
3628
3830
  #
3629
3831
  #
3630
3832
  #
@@ -3638,8 +3840,8 @@ module Aws::EC2
3638
3840
  #
3639
3841
  # The snapshot copy is sent to the regional endpoint that you sent the
3640
3842
  # HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
3641
- # AWS CLI, this is specified using the `--region` parameter or the
3642
- # default Region in your AWS configuration file.
3843
+ # CLI, this is specified using the `--region` parameter or the default
3844
+ # Region in your Amazon Web Services configuration file.
3643
3845
  #
3644
3846
  # @option params [Boolean] :encrypted
3645
3847
  # To encrypt a copy of an unencrypted snapshot if encryption by default
@@ -3654,12 +3856,12 @@ module Aws::EC2
3654
3856
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
3655
3857
  #
3656
3858
  # @option params [String] :kms_key_id
3657
- # The identifier of the AWS Key Management Service (AWS KMS) customer
3658
- # master key (CMK) to use for Amazon EBS encryption. If this parameter
3659
- # is not specified, your AWS managed CMK for EBS is used. If `KmsKeyId`
3660
- # is specified, the encrypted state must be `true`.
3859
+ # The identifier of the Key Management Service (KMS) KMS key to use for
3860
+ # Amazon EBS encryption. If this parameter is not specified, your KMS
3861
+ # key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
3862
+ # state must be `true`.
3661
3863
  #
3662
- # You can specify the CMK using any of the following:
3864
+ # You can specify the KMS key using any of the following:
3663
3865
  #
3664
3866
  # * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
3665
3867
  #
@@ -3671,9 +3873,9 @@ module Aws::EC2
3671
3873
  # * Alias ARN. For example,
3672
3874
  # arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
3673
3875
  #
3674
- # AWS authenticates the CMK asynchronously. Therefore, if you specify an
3675
- # ID, alias, or ARN that is not valid, the action can appear to
3676
- # complete, but eventually fails.
3876
+ # Amazon Web Services authenticates the KMS key asynchronously.
3877
+ # Therefore, if you specify an ID, alias, or ARN that is not valid, the
3878
+ # action can appear to complete, but eventually fails.
3677
3879
  #
3678
3880
  # @option params [String] :presigned_url
3679
3881
  # When you copy an encrypted source snapshot using the Amazon EC2 Query
@@ -3683,13 +3885,14 @@ module Aws::EC2
3683
3885
  # The `PresignedUrl` should use the snapshot source endpoint, the
3684
3886
  # `CopySnapshot` action, and include the `SourceRegion`,
3685
3887
  # `SourceSnapshotId`, and `DestinationRegion` parameters. The
3686
- # `PresignedUrl` must be signed using AWS Signature Version 4. Because
3687
- # EBS snapshots are stored in Amazon S3, the signing algorithm for this
3688
- # parameter uses the same logic that is described in [Authenticating
3689
- # Requests: Using Query Parameters (AWS Signature Version 4)][2] in the
3690
- # *Amazon Simple Storage Service API Reference*. An invalid or
3691
- # improperly signed `PresignedUrl` will cause the copy operation to fail
3692
- # asynchronously, and the snapshot will move to an `error` state.
3888
+ # `PresignedUrl` must be signed using Amazon Web Services Signature
3889
+ # Version 4. Because EBS snapshots are stored in Amazon S3, the signing
3890
+ # algorithm for this parameter uses the same logic that is described in
3891
+ # [Authenticating Requests: Using Query Parameters (Amazon Web Services
3892
+ # Signature Version 4)][2] in the *Amazon Simple Storage Service API
3893
+ # Reference*. An invalid or improperly signed `PresignedUrl` will cause
3894
+ # the copy operation to fail asynchronously, and the snapshot will move
3895
+ # to an `error` state.
3693
3896
  #
3694
3897
  #
3695
3898
  #
@@ -3772,7 +3975,7 @@ module Aws::EC2
3772
3975
  # source_snapshot_id: "String", # required
3773
3976
  # tag_specifications: [
3774
3977
  # {
3775
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
3978
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
3776
3979
  # tags: [
3777
3980
  # {
3778
3981
  # key: "String",
@@ -3961,7 +4164,7 @@ module Aws::EC2
3961
4164
  # instance_match_criteria: "open", # accepts open, targeted
3962
4165
  # tag_specifications: [
3963
4166
  # {
3964
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4167
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
3965
4168
  # tags: [
3966
4169
  # {
3967
4170
  # key: "String",
@@ -4009,8 +4212,8 @@ module Aws::EC2
4009
4212
  end
4010
4213
 
4011
4214
  # Creates a carrier gateway. For more information about carrier
4012
- # gateways, see [Carrier gateways][1] in the *AWS Wavelength Developer
4013
- # Guide*.
4215
+ # gateways, see [Carrier gateways][1] in the *Amazon Web Services
4216
+ # Wavelength Developer Guide*.
4014
4217
  #
4015
4218
  #
4016
4219
  #
@@ -4030,8 +4233,8 @@ module Aws::EC2
4030
4233
  #
4031
4234
  # @option params [String] :client_token
4032
4235
  # Unique, case-sensitive identifier that you provide to ensure the
4033
- # idempotency of the request. For more information, see [How to Ensure
4034
- # Idempotency][1].
4236
+ # idempotency of the request. For more information, see [How to ensure
4237
+ # idempotency][1].
4035
4238
  #
4036
4239
  # **A suitable default value is auto-generated.** You should normally
4037
4240
  # not need to pass this option.**
@@ -4050,7 +4253,7 @@ module Aws::EC2
4050
4253
  # vpc_id: "VpcId", # required
4051
4254
  # tag_specifications: [
4052
4255
  # {
4053
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4256
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4054
4257
  # tags: [
4055
4258
  # {
4056
4259
  # key: "String",
@@ -4239,7 +4442,7 @@ module Aws::EC2
4239
4442
  # client_token: "String",
4240
4443
  # tag_specifications: [
4241
4444
  # {
4242
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4445
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4243
4446
  # tags: [
4244
4447
  # {
4245
4448
  # key: "String",
@@ -4456,7 +4659,7 @@ module Aws::EC2
4456
4659
  # type: "ipsec.1", # required, accepts ipsec.1
4457
4660
  # tag_specifications: [
4458
4661
  # {
4459
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4662
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4460
4663
  # tags: [
4461
4664
  # {
4462
4665
  # key: "String",
@@ -4494,7 +4697,7 @@ module Aws::EC2
4494
4697
  # Creates a default subnet with a size `/20` IPv4 CIDR block in the
4495
4698
  # specified Availability Zone in your default VPC. You can have only one
4496
4699
  # default subnet per Availability Zone. For more information, see
4497
- # [Creating a Default Subnet][1] in the *Amazon Virtual Private Cloud
4700
+ # [Creating a default subnet][1] in the *Amazon Virtual Private Cloud
4498
4701
  # User Guide*.
4499
4702
  #
4500
4703
  #
@@ -4558,7 +4761,7 @@ module Aws::EC2
4558
4761
 
4559
4762
  # Creates a default VPC with a size `/16` IPv4 CIDR block and a default
4560
4763
  # subnet in each Availability Zone. For more information about the
4561
- # components of a default VPC, see [Default VPC and Default Subnets][1]
4764
+ # components of a default VPC, see [Default VPC and default subnets][1]
4562
4765
  # in the *Amazon Virtual Private Cloud User Guide*. You cannot specify
4563
4766
  # the components of the default VPC yourself.
4564
4767
  #
@@ -4668,7 +4871,7 @@ module Aws::EC2
4668
4871
  # create a set of options, and if your VPC has an internet gateway, make
4669
4872
  # sure to set the `domain-name-servers` option either to
4670
4873
  # `AmazonProvidedDNS` or to a domain name server of your choice. For
4671
- # more information, see [DHCP Options Sets][2] in the *Amazon Virtual
4874
+ # more information, see [DHCP options sets][2] in the *Amazon Virtual
4672
4875
  # Private Cloud User Guide*.
4673
4876
  #
4674
4877
  #
@@ -4740,7 +4943,7 @@ module Aws::EC2
4740
4943
  # ],
4741
4944
  # tag_specifications: [
4742
4945
  # {
4743
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4946
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4744
4947
  # tags: [
4745
4948
  # {
4746
4949
  # key: "String",
@@ -4781,8 +4984,8 @@ module Aws::EC2
4781
4984
  #
4782
4985
  # @option params [String] :client_token
4783
4986
  # Unique, case-sensitive identifier that you provide to ensure the
4784
- # idempotency of the request. For more information, see [How to Ensure
4785
- # Idempotency][1].
4987
+ # idempotency of the request. For more information, see [How to ensure
4988
+ # idempotency][1].
4786
4989
  #
4787
4990
  #
4788
4991
  #
@@ -4814,7 +5017,7 @@ module Aws::EC2
4814
5017
  # vpc_id: "VpcId", # required
4815
5018
  # tag_specifications: [
4816
5019
  # {
4817
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5020
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4818
5021
  # tags: [
4819
5022
  # {
4820
5023
  # key: "String",
@@ -5035,7 +5238,7 @@ module Aws::EC2
5035
5238
  # replace_unhealthy_instances: false,
5036
5239
  # tag_specifications: [
5037
5240
  # {
5038
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5241
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5039
5242
  # tags: [
5040
5243
  # {
5041
5244
  # key: "String",
@@ -5095,7 +5298,7 @@ module Aws::EC2
5095
5298
  #
5096
5299
  # Flow log data for a monitored network interface is recorded as flow
5097
5300
  # log records, which are log events consisting of fields that describe
5098
- # the traffic flow. For more information, see [Flow Log Records][1] in
5301
+ # the traffic flow. For more information, see [Flow log records][1] in
5099
5302
  # the *Amazon Virtual Private Cloud User Guide*.
5100
5303
  #
5101
5304
  # When publishing to CloudWatch Logs, flow log records are published to
@@ -5120,8 +5323,8 @@ module Aws::EC2
5120
5323
  #
5121
5324
  # @option params [String] :client_token
5122
5325
  # Unique, case-sensitive identifier that you provide to ensure the
5123
- # idempotency of the request. For more information, see [How to Ensure
5124
- # Idempotency][1].
5326
+ # idempotency of the request. For more information, see [How to ensure
5327
+ # idempotency][1].
5125
5328
  #
5126
5329
  #
5127
5330
  #
@@ -5190,14 +5393,14 @@ module Aws::EC2
5190
5393
  #
5191
5394
  # @option params [String] :log_format
5192
5395
  # The fields to include in the flow log record, in the order in which
5193
- # they should appear. For a list of available fields, see [Flow Log
5194
- # Records][1]. If you omit this parameter, the flow log is created using
5396
+ # they should appear. For a list of available fields, see [Flow log
5397
+ # records][1]. If you omit this parameter, the flow log is created using
5195
5398
  # the default format. If you specify this parameter, you must specify at
5196
5399
  # least one field.
5197
5400
  #
5198
5401
  # Specify the fields using the `$\{field-id\}` format, separated by
5199
- # spaces. For the AWS CLI, use single quotation marks (' ') to
5200
- # surround the parameter value.
5402
+ # spaces. For the CLI, use single quotation marks (' ') to surround
5403
+ # the parameter value.
5201
5404
  #
5202
5405
  #
5203
5406
  #
@@ -5242,7 +5445,7 @@ module Aws::EC2
5242
5445
  # log_format: "String",
5243
5446
  # tag_specifications: [
5244
5447
  # {
5245
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5448
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5246
5449
  # tags: [
5247
5450
  # {
5248
5451
  # key: "String",
@@ -5341,7 +5544,7 @@ module Aws::EC2
5341
5544
  # client_token: "String",
5342
5545
  # tag_specifications: [
5343
5546
  # {
5344
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5547
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5345
5548
  # tags: [
5346
5549
  # {
5347
5550
  # key: "String",
@@ -5495,7 +5698,7 @@ module Aws::EC2
5495
5698
  # no_reboot: false,
5496
5699
  # tag_specifications: [
5497
5700
  # {
5498
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5701
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5499
5702
  # tags: [
5500
5703
  # {
5501
5704
  # key: "String",
@@ -5519,6 +5722,144 @@ module Aws::EC2
5519
5722
  req.send_request(options)
5520
5723
  end
5521
5724
 
5725
+ # Creates an event window in which scheduled events for the associated
5726
+ # Amazon EC2 instances can run.
5727
+ #
5728
+ # You can define either a set of time ranges or a cron expression when
5729
+ # creating the event window, but not both. All event window times are in
5730
+ # UTC.
5731
+ #
5732
+ # You can create up to 200 event windows per Amazon Web Services Region.
5733
+ #
5734
+ # When you create the event window, targets (instance IDs, Dedicated
5735
+ # Host IDs, or tags) are not yet associated with it. To ensure that the
5736
+ # event window can be used, you must associate one or more targets with
5737
+ # it by using the AssociateInstanceEventWindow API.
5738
+ #
5739
+ # Event windows are applicable only for scheduled events that stop,
5740
+ # reboot, or terminate instances.
5741
+ #
5742
+ # Event windows are *not* applicable for:
5743
+ #
5744
+ # * Expedited scheduled events and network maintenance events.
5745
+ #
5746
+ # * Unscheduled maintenance such as AutoRecovery and unplanned reboots.
5747
+ #
5748
+ # For more information, see [Define event windows for scheduled
5749
+ # events][1] in the *Amazon EC2 User Guide*.
5750
+ #
5751
+ #
5752
+ #
5753
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html
5754
+ #
5755
+ # @option params [Boolean] :dry_run
5756
+ # Checks whether you have the required permissions for the action,
5757
+ # without actually making the request, and provides an error response.
5758
+ # If you have the required permissions, the error response is
5759
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5760
+ #
5761
+ # @option params [String] :name
5762
+ # The name of the event window.
5763
+ #
5764
+ # @option params [Array<Types::InstanceEventWindowTimeRangeRequest>] :time_ranges
5765
+ # The time range for the event window. If you specify a time range, you
5766
+ # can't specify a cron expression.
5767
+ #
5768
+ # @option params [String] :cron_expression
5769
+ # The cron expression for the event window, for example, `* 0-4,20-23 *
5770
+ # * 1,5`. If you specify a cron expression, you can't specify a time
5771
+ # range.
5772
+ #
5773
+ # Constraints:
5774
+ #
5775
+ # * Only hour and day of the week values are supported.
5776
+ #
5777
+ # * For day of the week values, you can specify either integers `0`
5778
+ # through `6`, or alternative single values `SUN` through `SAT`.
5779
+ #
5780
+ # * The minute, month, and year must be specified by `*`.
5781
+ #
5782
+ # * The hour value must be one or a multiple range, for example, `0-4`
5783
+ # or `0-4,20-23`.
5784
+ #
5785
+ # * Each hour range must be &gt;= 2 hours, for example, `0-2` or
5786
+ # `20-23`.
5787
+ #
5788
+ # * The event window must be &gt;= 4 hours. The combined total time
5789
+ # ranges in the event window must be &gt;= 4 hours.
5790
+ #
5791
+ # For more information about cron expressions, see [cron][1] on the
5792
+ # *Wikipedia website*.
5793
+ #
5794
+ #
5795
+ #
5796
+ # [1]: https://en.wikipedia.org/wiki/Cron
5797
+ #
5798
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
5799
+ # The tags to apply to the event window.
5800
+ #
5801
+ # @return [Types::CreateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5802
+ #
5803
+ # * {Types::CreateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
5804
+ #
5805
+ # @example Request syntax with placeholder values
5806
+ #
5807
+ # resp = client.create_instance_event_window({
5808
+ # dry_run: false,
5809
+ # name: "String",
5810
+ # time_ranges: [
5811
+ # {
5812
+ # start_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
5813
+ # start_hour: 1,
5814
+ # end_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
5815
+ # end_hour: 1,
5816
+ # },
5817
+ # ],
5818
+ # cron_expression: "InstanceEventWindowCronExpression",
5819
+ # tag_specifications: [
5820
+ # {
5821
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5822
+ # tags: [
5823
+ # {
5824
+ # key: "String",
5825
+ # value: "String",
5826
+ # },
5827
+ # ],
5828
+ # },
5829
+ # ],
5830
+ # })
5831
+ #
5832
+ # @example Response structure
5833
+ #
5834
+ # resp.instance_event_window.instance_event_window_id #=> String
5835
+ # resp.instance_event_window.time_ranges #=> Array
5836
+ # resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
5837
+ # resp.instance_event_window.time_ranges[0].start_hour #=> Integer
5838
+ # resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
5839
+ # resp.instance_event_window.time_ranges[0].end_hour #=> Integer
5840
+ # resp.instance_event_window.name #=> String
5841
+ # resp.instance_event_window.cron_expression #=> String
5842
+ # resp.instance_event_window.association_target.instance_ids #=> Array
5843
+ # resp.instance_event_window.association_target.instance_ids[0] #=> String
5844
+ # resp.instance_event_window.association_target.tags #=> Array
5845
+ # resp.instance_event_window.association_target.tags[0].key #=> String
5846
+ # resp.instance_event_window.association_target.tags[0].value #=> String
5847
+ # resp.instance_event_window.association_target.dedicated_host_ids #=> Array
5848
+ # resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
5849
+ # resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
5850
+ # resp.instance_event_window.tags #=> Array
5851
+ # resp.instance_event_window.tags[0].key #=> String
5852
+ # resp.instance_event_window.tags[0].value #=> String
5853
+ #
5854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceEventWindow AWS API Documentation
5855
+ #
5856
+ # @overload create_instance_event_window(params = {})
5857
+ # @param [Hash] params ({})
5858
+ def create_instance_event_window(params = {}, options = {})
5859
+ req = build_request(:create_instance_event_window, params)
5860
+ req.send_request(options)
5861
+ end
5862
+
5522
5863
  # Exports a running or stopped instance to an Amazon S3 bucket.
5523
5864
  #
5524
5865
  # For information about the supported operating systems, image formats,
@@ -5564,7 +5905,7 @@ module Aws::EC2
5564
5905
  # target_environment: "citrix", # required, accepts citrix, vmware, microsoft
5565
5906
  # tag_specifications: [
5566
5907
  # {
5567
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5908
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5568
5909
  # tags: [
5569
5910
  # {
5570
5911
  # key: "String",
@@ -5647,7 +5988,7 @@ module Aws::EC2
5647
5988
  # resp = client.create_internet_gateway({
5648
5989
  # tag_specifications: [
5649
5990
  # {
5650
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5991
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5651
5992
  # tags: [
5652
5993
  # {
5653
5994
  # key: "String",
@@ -5736,7 +6077,7 @@ module Aws::EC2
5736
6077
  # dry_run: false,
5737
6078
  # tag_specifications: [
5738
6079
  # {
5739
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6080
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5740
6081
  # tags: [
5741
6082
  # {
5742
6083
  # key: "String",
@@ -5914,6 +6255,18 @@ module Aws::EC2
5914
6255
  # secondary_private_ip_address_count: 1,
5915
6256
  # subnet_id: "SubnetId",
5916
6257
  # network_card_index: 1,
6258
+ # ipv_4_prefixes: [
6259
+ # {
6260
+ # ipv_4_prefix: "String",
6261
+ # },
6262
+ # ],
6263
+ # ipv_4_prefix_count: 1,
6264
+ # ipv_6_prefixes: [
6265
+ # {
6266
+ # ipv_6_prefix: "String",
6267
+ # },
6268
+ # ],
6269
+ # ipv_6_prefix_count: 1,
5917
6270
  # },
5918
6271
  # ],
5919
6272
  # image_id: "ImageId",
@@ -5938,7 +6291,7 @@ module Aws::EC2
5938
6291
  # user_data: "String",
5939
6292
  # tag_specifications: [
5940
6293
  # {
5941
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6294
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5942
6295
  # tags: [
5943
6296
  # {
5944
6297
  # key: "String",
@@ -6003,7 +6356,7 @@ module Aws::EC2
6003
6356
  # },
6004
6357
  # tag_specifications: [
6005
6358
  # {
6006
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6359
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6007
6360
  # tags: [
6008
6361
  # {
6009
6362
  # key: "String",
@@ -6200,6 +6553,18 @@ module Aws::EC2
6200
6553
  # secondary_private_ip_address_count: 1,
6201
6554
  # subnet_id: "SubnetId",
6202
6555
  # network_card_index: 1,
6556
+ # ipv_4_prefixes: [
6557
+ # {
6558
+ # ipv_4_prefix: "String",
6559
+ # },
6560
+ # ],
6561
+ # ipv_4_prefix_count: 1,
6562
+ # ipv_6_prefixes: [
6563
+ # {
6564
+ # ipv_6_prefix: "String",
6565
+ # },
6566
+ # ],
6567
+ # ipv_6_prefix_count: 1,
6203
6568
  # },
6204
6569
  # ],
6205
6570
  # image_id: "ImageId",
@@ -6224,7 +6589,7 @@ module Aws::EC2
6224
6589
  # user_data: "String",
6225
6590
  # tag_specifications: [
6226
6591
  # {
6227
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6592
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6228
6593
  # tags: [
6229
6594
  # {
6230
6595
  # key: "String",
@@ -6334,6 +6699,12 @@ module Aws::EC2
6334
6699
  # resp.launch_template_version.launch_template_data.network_interfaces[0].secondary_private_ip_address_count #=> Integer
6335
6700
  # resp.launch_template_version.launch_template_data.network_interfaces[0].subnet_id #=> String
6336
6701
  # resp.launch_template_version.launch_template_data.network_interfaces[0].network_card_index #=> Integer
6702
+ # resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_4_prefixes #=> Array
6703
+ # resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
6704
+ # resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_4_prefix_count #=> Integer
6705
+ # resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_6_prefixes #=> Array
6706
+ # resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
6707
+ # resp.launch_template_version.launch_template_data.network_interfaces[0].ipv_6_prefix_count #=> Integer
6337
6708
  # resp.launch_template_version.launch_template_data.image_id #=> String
6338
6709
  # resp.launch_template_version.launch_template_data.instance_type #=> String, one of "t1.micro", "t2.nano", "t2.micro", "t2.small", "t2.medium", "t2.large", "t2.xlarge", "t2.2xlarge", "t3.nano", "t3.micro", "t3.small", "t3.medium", "t3.large", "t3.xlarge", "t3.2xlarge", "t3a.nano", "t3a.micro", "t3a.small", "t3a.medium", "t3a.large", "t3a.xlarge", "t3a.2xlarge", "t4g.nano", "t4g.micro", "t4g.small", "t4g.medium", "t4g.large", "t4g.xlarge", "t4g.2xlarge", "m1.small", "m1.medium", "m1.large", "m1.xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge", "m4.16xlarge", "m2.xlarge", "m2.2xlarge", "m2.4xlarge", "cr1.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "r5.large", "r5.xlarge", "r5.2xlarge", "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", "r5.16xlarge", "r5.24xlarge", "r5.metal", "r5a.large", "r5a.xlarge", "r5a.2xlarge", "r5a.4xlarge", "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", "r5a.24xlarge", "r5b.large", "r5b.xlarge", "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", "r5b.12xlarge", "r5b.16xlarge", "r5b.24xlarge", "r5b.metal", "r5d.large", "r5d.xlarge", "r5d.2xlarge", "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", "r5d.metal", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", "r6g.metal", "r6g.medium", "r6g.large", "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", "r6gd.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", "x1.16xlarge", "x1.32xlarge", "x1e.xlarge", "x1e.2xlarge", "x1e.4xlarge", "x1e.8xlarge", "x1e.16xlarge", "x1e.32xlarge", "i2.xlarge", "i2.2xlarge", "i2.4xlarge", "i2.8xlarge", "i3.large", "i3.xlarge", "i3.2xlarge", "i3.4xlarge", "i3.8xlarge", "i3.16xlarge", "i3.metal", "i3en.large", "i3en.xlarge", "i3en.2xlarge", "i3en.3xlarge", "i3en.6xlarge", "i3en.12xlarge", "i3en.24xlarge", "i3en.metal", "hi1.4xlarge", "hs1.8xlarge", "c1.medium", "c1.xlarge", "c3.large", "c3.xlarge", "c3.2xlarge", "c3.4xlarge", "c3.8xlarge", "c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "c5.large", "c5.xlarge", "c5.2xlarge", "c5.4xlarge", "c5.9xlarge", "c5.12xlarge", "c5.18xlarge", "c5.24xlarge", "c5.metal", "c5a.large", "c5a.xlarge", "c5a.2xlarge", "c5a.4xlarge", "c5a.8xlarge", "c5a.12xlarge", "c5a.16xlarge", "c5a.24xlarge", "c5ad.large", "c5ad.xlarge", "c5ad.2xlarge", "c5ad.4xlarge", "c5ad.8xlarge", "c5ad.12xlarge", "c5ad.16xlarge", "c5ad.24xlarge", "c5d.large", "c5d.xlarge", "c5d.2xlarge", "c5d.4xlarge", "c5d.9xlarge", "c5d.12xlarge", "c5d.18xlarge", "c5d.24xlarge", "c5d.metal", "c5n.large", "c5n.xlarge", "c5n.2xlarge", "c5n.4xlarge", "c5n.9xlarge", "c5n.18xlarge", "c5n.metal", "c6g.metal", "c6g.medium", "c6g.large", "c6g.xlarge", "c6g.2xlarge", "c6g.4xlarge", "c6g.8xlarge", "c6g.12xlarge", "c6g.16xlarge", "c6gd.metal", "c6gd.medium", "c6gd.large", "c6gd.xlarge", "c6gd.2xlarge", "c6gd.4xlarge", "c6gd.8xlarge", "c6gd.12xlarge", "c6gd.16xlarge", "c6gn.medium", "c6gn.large", "c6gn.xlarge", "c6gn.2xlarge", "c6gn.4xlarge", "c6gn.8xlarge", "c6gn.12xlarge", "c6gn.16xlarge", "cc1.4xlarge", "cc2.8xlarge", "g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "cg1.4xlarge", "p2.xlarge", "p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge", "p4d.24xlarge", "d2.xlarge", "d2.2xlarge", "d2.4xlarge", "d2.8xlarge", "d3.xlarge", "d3.2xlarge", "d3.4xlarge", "d3.8xlarge", "d3en.xlarge", "d3en.2xlarge", "d3en.4xlarge", "d3en.6xlarge", "d3en.8xlarge", "d3en.12xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "m5.large", "m5.xlarge", "m5.2xlarge", "m5.4xlarge", "m5.8xlarge", "m5.12xlarge", "m5.16xlarge", "m5.24xlarge", "m5.metal", "m5a.large", "m5a.xlarge", "m5a.2xlarge", "m5a.4xlarge", "m5a.8xlarge", "m5a.12xlarge", "m5a.16xlarge", "m5a.24xlarge", "m5d.large", "m5d.xlarge", "m5d.2xlarge", "m5d.4xlarge", "m5d.8xlarge", "m5d.12xlarge", "m5d.16xlarge", "m5d.24xlarge", "m5d.metal", "m5ad.large", "m5ad.xlarge", "m5ad.2xlarge", "m5ad.4xlarge", "m5ad.8xlarge", "m5ad.12xlarge", "m5ad.16xlarge", "m5ad.24xlarge", "m5zn.large", "m5zn.xlarge", "m5zn.2xlarge", "m5zn.3xlarge", "m5zn.6xlarge", "m5zn.12xlarge", "m5zn.metal", "h1.2xlarge", "h1.4xlarge", "h1.8xlarge", "h1.16xlarge", "z1d.large", "z1d.xlarge", "z1d.2xlarge", "z1d.3xlarge", "z1d.6xlarge", "z1d.12xlarge", "z1d.metal", "u-6tb1.56xlarge", "u-6tb1.112xlarge", "u-9tb1.112xlarge", "u-12tb1.112xlarge", "u-6tb1.metal", "u-9tb1.metal", "u-12tb1.metal", "u-18tb1.metal", "u-24tb1.metal", "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge", "a1.4xlarge", "a1.metal", "m5dn.large", "m5dn.xlarge", "m5dn.2xlarge", "m5dn.4xlarge", "m5dn.8xlarge", "m5dn.12xlarge", "m5dn.16xlarge", "m5dn.24xlarge", "m5dn.metal", "m5n.large", "m5n.xlarge", "m5n.2xlarge", "m5n.4xlarge", "m5n.8xlarge", "m5n.12xlarge", "m5n.16xlarge", "m5n.24xlarge", "m5n.metal", "r5dn.large", "r5dn.xlarge", "r5dn.2xlarge", "r5dn.4xlarge", "r5dn.8xlarge", "r5dn.12xlarge", "r5dn.16xlarge", "r5dn.24xlarge", "r5dn.metal", "r5n.large", "r5n.xlarge", "r5n.2xlarge", "r5n.4xlarge", "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", "r5n.24xlarge", "r5n.metal", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "m6g.metal", "m6g.medium", "m6g.large", "m6g.xlarge", "m6g.2xlarge", "m6g.4xlarge", "m6g.8xlarge", "m6g.12xlarge", "m6g.16xlarge", "m6gd.metal", "m6gd.medium", "m6gd.large", "m6gd.xlarge", "m6gd.2xlarge", "m6gd.4xlarge", "m6gd.8xlarge", "m6gd.12xlarge", "m6gd.16xlarge", "mac1.metal", "x2gd.medium", "x2gd.large", "x2gd.xlarge", "x2gd.2xlarge", "x2gd.4xlarge", "x2gd.8xlarge", "x2gd.12xlarge", "x2gd.16xlarge", "x2gd.metal"
6339
6710
  # resp.launch_template_version.launch_template_data.key_name #=> String
@@ -6351,7 +6722,7 @@ module Aws::EC2
6351
6722
  # resp.launch_template_version.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
6352
6723
  # resp.launch_template_version.launch_template_data.user_data #=> String
6353
6724
  # resp.launch_template_version.launch_template_data.tag_specifications #=> Array
6354
- # resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
6725
+ # resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
6355
6726
  # resp.launch_template_version.launch_template_data.tag_specifications[0].tags #=> Array
6356
6727
  # resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].key #=> String
6357
6728
  # resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].value #=> String
@@ -6476,7 +6847,7 @@ module Aws::EC2
6476
6847
  # vpc_id: "VpcId", # required
6477
6848
  # tag_specifications: [
6478
6849
  # {
6479
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6850
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6480
6851
  # tags: [
6481
6852
  # {
6482
6853
  # key: "String",
@@ -6575,7 +6946,7 @@ module Aws::EC2
6575
6946
  # max_entries: 1, # required
6576
6947
  # tag_specifications: [
6577
6948
  # {
6578
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6949
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6579
6950
  # tags: [
6580
6951
  # {
6581
6952
  # key: "String",
@@ -6627,7 +6998,7 @@ module Aws::EC2
6627
6998
  # behind a small pool of allowlisted IPv4 addresses, preserving private
6628
6999
  # IPv4 addresses, and communicating between overlapping networks.
6629
7000
  #
6630
- # For more information, see [NAT Gateways][1] in the *Amazon Virtual
7001
+ # For more information, see [NAT gateways][1] in the *Amazon Virtual
6631
7002
  # Private Cloud User Guide*.
6632
7003
  #
6633
7004
  #
@@ -6643,8 +7014,8 @@ module Aws::EC2
6643
7014
  #
6644
7015
  # @option params [String] :client_token
6645
7016
  # Unique, case-sensitive identifier that you provide to ensure the
6646
- # idempotency of the request. For more information, see [How to Ensure
6647
- # Idempotency][1].
7017
+ # idempotency of the request. For more information, see [How to ensure
7018
+ # idempotency][1].
6648
7019
  #
6649
7020
  # Constraint: Maximum 64 ASCII characters.
6650
7021
  #
@@ -6712,7 +7083,7 @@ module Aws::EC2
6712
7083
  # subnet_id: "SubnetId", # required
6713
7084
  # tag_specifications: [
6714
7085
  # {
6715
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7086
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6716
7087
  # tags: [
6717
7088
  # {
6718
7089
  # key: "String",
@@ -6831,7 +7202,7 @@ module Aws::EC2
6831
7202
  # vpc_id: "VpcId", # required
6832
7203
  # tag_specifications: [
6833
7204
  # {
6834
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7205
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6835
7206
  # tags: [
6836
7207
  # {
6837
7208
  # key: "String",
@@ -7013,17 +7384,18 @@ module Aws::EC2
7013
7384
  # [1]: https://docs.aws.amazon.com/vpc/latest/reachability/
7014
7385
  #
7015
7386
  # @option params [String] :source_ip
7016
- # The IP address of the AWS resource that is the source of the path.
7387
+ # The IP address of the Amazon Web Services resource that is the source
7388
+ # of the path.
7017
7389
  #
7018
7390
  # @option params [String] :destination_ip
7019
- # The IP address of the AWS resource that is the destination of the
7020
- # path.
7391
+ # The IP address of the Amazon Web Services resource that is the
7392
+ # destination of the path.
7021
7393
  #
7022
7394
  # @option params [required, String] :source
7023
- # The AWS resource that is the source of the path.
7395
+ # The Amazon Web Services resource that is the source of the path.
7024
7396
  #
7025
7397
  # @option params [required, String] :destination
7026
- # The AWS resource that is the destination of the path.
7398
+ # The Amazon Web Services resource that is the destination of the path.
7027
7399
  #
7028
7400
  # @option params [required, String] :protocol
7029
7401
  # The protocol.
@@ -7042,8 +7414,8 @@ module Aws::EC2
7042
7414
  #
7043
7415
  # @option params [required, String] :client_token
7044
7416
  # Unique, case-sensitive identifier that you provide to ensure the
7045
- # idempotency of the request. For more information, see [How to Ensure
7046
- # Idempotency][1].
7417
+ # idempotency of the request. For more information, see [How to ensure
7418
+ # idempotency][1].
7047
7419
  #
7048
7420
  # **A suitable default value is auto-generated.** You should normally
7049
7421
  # not need to pass this option.**
@@ -7067,7 +7439,7 @@ module Aws::EC2
7067
7439
  # destination_port: 1,
7068
7440
  # tag_specifications: [
7069
7441
  # {
7070
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7442
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7071
7443
  # tags: [
7072
7444
  # {
7073
7445
  # key: "String",
@@ -7163,6 +7535,26 @@ module Aws::EC2
7163
7535
  #
7164
7536
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
7165
7537
  #
7538
+ # @option params [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
7539
+ # One or moreIPv4 Prefix Delegation prefixes assigned to the network
7540
+ # interface. You cannot use this option if you use the `Ipv4PrefixCount`
7541
+ # option.
7542
+ #
7543
+ # @option params [Integer] :ipv_4_prefix_count
7544
+ # The number of IPv4 Prefix Delegation prefixes that AWS automatically
7545
+ # assigns to the network interface. You cannot use this option if you
7546
+ # use the `Ipv4 Prefixes` option.
7547
+ #
7548
+ # @option params [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
7549
+ # One or moreIPv6 Prefix Delegation prefixes assigned to the network
7550
+ # interface. You cannot use this option if you use the `Ipv6PrefixCount`
7551
+ # option.
7552
+ #
7553
+ # @option params [Integer] :ipv_6_prefix_count
7554
+ # The number of IPv6 Prefix Delegation prefixes that AWS automatically
7555
+ # assigns to the network interface. You cannot use this option if you
7556
+ # use the `Ipv6Prefixes` option.
7557
+ #
7166
7558
  # @option params [String] :interface_type
7167
7559
  # Indicates the type of network interface. To create an Elastic Fabric
7168
7560
  # Adapter (EFA), specify `efa`. For more information, see [ Elastic
@@ -7264,11 +7656,23 @@ module Aws::EC2
7264
7656
  # },
7265
7657
  # ],
7266
7658
  # secondary_private_ip_address_count: 1,
7659
+ # ipv_4_prefixes: [
7660
+ # {
7661
+ # ipv_4_prefix: "String",
7662
+ # },
7663
+ # ],
7664
+ # ipv_4_prefix_count: 1,
7665
+ # ipv_6_prefixes: [
7666
+ # {
7667
+ # ipv_6_prefix: "String",
7668
+ # },
7669
+ # ],
7670
+ # ipv_6_prefix_count: 1,
7267
7671
  # interface_type: "efa", # accepts efa, branch, trunk
7268
7672
  # subnet_id: "SubnetId", # required
7269
7673
  # tag_specifications: [
7270
7674
  # {
7271
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7675
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7272
7676
  # tags: [
7273
7677
  # {
7274
7678
  # key: "String",
@@ -7322,6 +7726,10 @@ module Aws::EC2
7322
7726
  # resp.network_interface.private_ip_addresses[0].primary #=> Boolean
7323
7727
  # resp.network_interface.private_ip_addresses[0].private_dns_name #=> String
7324
7728
  # resp.network_interface.private_ip_addresses[0].private_ip_address #=> String
7729
+ # resp.network_interface.ipv_4_prefixes #=> Array
7730
+ # resp.network_interface.ipv_4_prefixes[0].ipv_4_prefix #=> String
7731
+ # resp.network_interface.ipv_6_prefixes #=> Array
7732
+ # resp.network_interface.ipv_6_prefixes[0].ipv_6_prefix #=> String
7325
7733
  # resp.network_interface.requester_id #=> String
7326
7734
  # resp.network_interface.requester_managed #=> Boolean
7327
7735
  # resp.network_interface.source_dest_check #=> Boolean
@@ -7466,7 +7874,7 @@ module Aws::EC2
7466
7874
  # partition_count: 1,
7467
7875
  # tag_specifications: [
7468
7876
  # {
7469
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7877
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7470
7878
  # tags: [
7471
7879
  # {
7472
7880
  # key: "String",
@@ -7506,7 +7914,7 @@ module Aws::EC2
7506
7914
  #
7507
7915
  #
7508
7916
  #
7509
- # [1]: https://docs.aws.amazon.com/
7917
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root
7510
7918
  #
7511
7919
  # @option params [required, String] :instance_id
7512
7920
  # The ID of the instance for which to replace the root volume.
@@ -7520,7 +7928,7 @@ module Aws::EC2
7520
7928
  # Unique, case-sensitive identifier you provide to ensure the
7521
7929
  # idempotency of the request. If you do not specify a client token, a
7522
7930
  # randomly generated token is used for the request to ensure
7523
- # idempotency. For more information, see [Ensuring Idempotency][1].
7931
+ # idempotency. For more information, see [Ensuring idempotency][1].
7524
7932
  #
7525
7933
  # **A suitable default value is auto-generated.** You should normally
7526
7934
  # not need to pass this option.**
@@ -7551,7 +7959,7 @@ module Aws::EC2
7551
7959
  # dry_run: false,
7552
7960
  # tag_specifications: [
7553
7961
  # {
7554
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7962
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7555
7963
  # tags: [
7556
7964
  # {
7557
7965
  # key: "String",
@@ -7742,7 +8150,7 @@ module Aws::EC2
7742
8150
  # name: "String",
7743
8151
  # tag_specifications: [
7744
8152
  # {
7745
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8153
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7746
8154
  # tags: [
7747
8155
  # {
7748
8156
  # key: "String",
@@ -7788,7 +8196,7 @@ module Aws::EC2
7788
8196
  # and is therefore more specific, so we use that route to determine
7789
8197
  # where to target the traffic.
7790
8198
  #
7791
- # For more information about route tables, see [Route Tables][1] in the
8199
+ # For more information about route tables, see [Route tables][1] in the
7792
8200
  # *Amazon Virtual Private Cloud User Guide*.
7793
8201
  #
7794
8202
  #
@@ -7906,7 +8314,7 @@ module Aws::EC2
7906
8314
  # Creates a route table for the specified VPC. After you create a route
7907
8315
  # table, you can add routes and associate the table with a subnet.
7908
8316
  #
7909
- # For more information, see [Route Tables][1] in the *Amazon Virtual
8317
+ # For more information, see [Route tables][1] in the *Amazon Virtual
7910
8318
  # Private Cloud User Guide*.
7911
8319
  #
7912
8320
  #
@@ -7966,7 +8374,7 @@ module Aws::EC2
7966
8374
  # vpc_id: "VpcId", # required
7967
8375
  # tag_specifications: [
7968
8376
  # {
7969
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8377
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7970
8378
  # tags: [
7971
8379
  # {
7972
8380
  # key: "String",
@@ -8116,7 +8524,7 @@ module Aws::EC2
8116
8524
  # vpc_id: "VpcId",
8117
8525
  # tag_specifications: [
8118
8526
  # {
8119
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8527
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8120
8528
  # tags: [
8121
8529
  # {
8122
8530
  # key: "String",
@@ -8155,22 +8563,23 @@ module Aws::EC2
8155
8563
  # stored on the same Outpost as the volume, or in the Region for that
8156
8564
  # Outpost.
8157
8565
  #
8158
- # When a snapshot is created, any AWS Marketplace product codes that are
8566
+ # When a snapshot is created, any Marketplace product codes that are
8159
8567
  # associated with the source volume are propagated to the snapshot.
8160
8568
  #
8161
8569
  # You can take a snapshot of an attached volume that is in use. However,
8162
- # snapshots only capture data that has been written to your EBS volume
8163
- # at the time the snapshot command is issued; this might exclude any
8164
- # data that has been cached by any applications or the operating system.
8165
- # If you can pause any file systems on the volume long enough to take a
8166
- # snapshot, your snapshot should be complete. However, if you cannot
8167
- # pause all file writes to the volume, you should unmount the volume
8168
- # from within the instance, issue the snapshot command, and then remount
8169
- # the volume to ensure a consistent and complete snapshot. You may
8170
- # remount and use your volume while the snapshot status is `pending`.
8171
- #
8172
- # To create a snapshot for EBS volumes that serve as root devices, you
8173
- # should stop the instance before taking the snapshot.
8570
+ # snapshots only capture data that has been written to your Amazon EBS
8571
+ # volume at the time the snapshot command is issued; this might exclude
8572
+ # any data that has been cached by any applications or the operating
8573
+ # system. If you can pause any file systems on the volume long enough to
8574
+ # take a snapshot, your snapshot should be complete. However, if you
8575
+ # cannot pause all file writes to the volume, you should unmount the
8576
+ # volume from within the instance, issue the snapshot command, and then
8577
+ # remount the volume to ensure a consistent and complete snapshot. You
8578
+ # may remount and use your volume while the snapshot status is
8579
+ # `pending`.
8580
+ #
8581
+ # To create a snapshot for Amazon EBS volumes that serve as root
8582
+ # devices, you should stop the instance before taking the snapshot.
8174
8583
  #
8175
8584
  # Snapshots that are taken from encrypted volumes are automatically
8176
8585
  # encrypted. Volumes that are created from encrypted snapshots are also
@@ -8178,7 +8587,7 @@ module Aws::EC2
8178
8587
  # snapshots always remain protected.
8179
8588
  #
8180
8589
  # You can tag your snapshots during creation. For more information, see
8181
- # [Tagging your Amazon EC2 resources][1] in the *Amazon Elastic Compute
8590
+ # [Tag your Amazon EC2 resources][1] in the *Amazon Elastic Compute
8182
8591
  # Cloud User Guide*.
8183
8592
  #
8184
8593
  # For more information, see [Amazon Elastic Block Store][2] and [Amazon
@@ -8194,7 +8603,7 @@ module Aws::EC2
8194
8603
  # A description for the snapshot.
8195
8604
  #
8196
8605
  # @option params [String] :outpost_arn
8197
- # The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
8606
+ # The Amazon Resource Name (ARN) of the Outpost on which to create a
8198
8607
  # local snapshot.
8199
8608
  #
8200
8609
  # * To create a snapshot of a volume in a Region, omit this parameter.
@@ -8208,15 +8617,15 @@ module Aws::EC2
8208
8617
  # snapshot on an Outpost, specify the ARN of the destination Outpost.
8209
8618
  # The snapshot must be created on the same Outpost as the volume.
8210
8619
  #
8211
- # For more information, see [ Creating local snapshots from volumes on
8212
- # an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
8620
+ # For more information, see [Create local snapshots from volumes on an
8621
+ # Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
8213
8622
  #
8214
8623
  #
8215
8624
  #
8216
8625
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
8217
8626
  #
8218
8627
  # @option params [required, String] :volume_id
8219
- # The ID of the EBS volume.
8628
+ # The ID of the Amazon EBS volume.
8220
8629
  #
8221
8630
  # @option params [Array<Types::TagSpecification>] :tag_specifications
8222
8631
  # The tags to apply to the snapshot during creation.
@@ -8277,7 +8686,7 @@ module Aws::EC2
8277
8686
  # volume_id: "VolumeId", # required
8278
8687
  # tag_specifications: [
8279
8688
  # {
8280
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8689
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8281
8690
  # tags: [
8282
8691
  # {
8283
8692
  # key: "String",
@@ -8339,8 +8748,8 @@ module Aws::EC2
8339
8748
  # snapshots.
8340
8749
  #
8341
8750
  # @option params [String] :outpost_arn
8342
- # The Amazon Resource Name (ARN) of the AWS Outpost on which to create
8343
- # the local snapshots.
8751
+ # The Amazon Resource Name (ARN) of the Outpost on which to create the
8752
+ # local snapshots.
8344
8753
  #
8345
8754
  # * To create snapshots from an instance in a Region, omit this
8346
8755
  # parameter. The snapshots are created in the same Region as the
@@ -8354,7 +8763,7 @@ module Aws::EC2
8354
8763
  # snapshots on an Outpost, specify the ARN of the destination Outpost.
8355
8764
  # The snapshots must be created on the same Outpost as the instance.
8356
8765
  #
8357
- # For more information, see [ Creating multi-volume local snapshots from
8766
+ # For more information, see [ Create multi-volume local snapshots from
8358
8767
  # instances on an Outpost][1] in the *Amazon Elastic Compute Cloud User
8359
8768
  # Guide*.
8360
8769
  #
@@ -8389,7 +8798,7 @@ module Aws::EC2
8389
8798
  # outpost_arn: "String",
8390
8799
  # tag_specifications: [
8391
8800
  # {
8392
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8801
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8393
8802
  # tags: [
8394
8803
  # {
8395
8804
  # key: "String",
@@ -8580,8 +8989,8 @@ module Aws::EC2
8580
8989
  # If you've associated an IPv6 CIDR block with your VPC, you can create
8581
8990
  # a subnet with an IPv6 CIDR block that uses a /64 prefix length.
8582
8991
  #
8583
- # AWS reserves both the first four and the last IPv4 address in each
8584
- # subnet's CIDR block. They're not available for use.
8992
+ # Amazon Web Services reserves both the first four and the last IPv4
8993
+ # address in each subnet's CIDR block. They're not available for use.
8585
8994
  #
8586
8995
  # If you add more than one subnet to a VPC, they're set up in a star
8587
8996
  # topology with a logical router in the middle.
@@ -8591,7 +9000,7 @@ module Aws::EC2
8591
9000
  # instances (they're all stopped), but no remaining IP addresses
8592
9001
  # available.
8593
9002
  #
8594
- # For more information about subnets, see [Your VPC and Subnets][1] in
9003
+ # For more information about subnets, see [Your VPC and subnets][1] in
8595
9004
  # the *Amazon Virtual Private Cloud User Guide*.
8596
9005
  #
8597
9006
  #
@@ -8604,9 +9013,9 @@ module Aws::EC2
8604
9013
  # @option params [String] :availability_zone
8605
9014
  # The Availability Zone or Local Zone for the subnet.
8606
9015
  #
8607
- # Default: AWS selects one for you. If you create more than one subnet
8608
- # in your VPC, we do not necessarily select a different zone for each
8609
- # subnet.
9016
+ # Default: Amazon Web Services selects one for you. If you create more
9017
+ # than one subnet in your VPC, we do not necessarily select a different
9018
+ # zone for each subnet.
8610
9019
  #
8611
9020
  # To create a subnet in a Local Zone, set this value to the Local Zone
8612
9021
  # ID, for example `us-west-2-lax-1a`. For information about the Regions
@@ -8623,12 +9032,6 @@ module Aws::EC2
8623
9032
  # @option params [String] :availability_zone_id
8624
9033
  # The AZ ID or the Local Zone ID of the subnet.
8625
9034
  #
8626
- # @option params [required, String] :cidr_block
8627
- # The IPv4 network range for the subnet, in CIDR notation. For example,
8628
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
8629
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
8630
- # `100.68.0.0/18`.
8631
- #
8632
9035
  # @option params [String] :ipv_6_cidr_block
8633
9036
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
8634
9037
  # size must use a /64 prefix length.
@@ -8647,6 +9050,12 @@ module Aws::EC2
8647
9050
  # If you have the required permissions, the error response is
8648
9051
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8649
9052
  #
9053
+ # @option params [required, String] :cidr_block
9054
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
9055
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
9056
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
9057
+ # `100.68.0.0/18`.
9058
+ #
8650
9059
  # @return [Types::CreateSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8651
9060
  #
8652
9061
  # * {Types::CreateSubnetResult#subnet #subnet} => Types::Subnet
@@ -8679,7 +9088,7 @@ module Aws::EC2
8679
9088
  # resp = client.create_subnet({
8680
9089
  # tag_specifications: [
8681
9090
  # {
8682
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9091
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8683
9092
  # tags: [
8684
9093
  # {
8685
9094
  # key: "String",
@@ -8690,11 +9099,11 @@ module Aws::EC2
8690
9099
  # ],
8691
9100
  # availability_zone: "String",
8692
9101
  # availability_zone_id: "String",
8693
- # cidr_block: "String", # required
8694
9102
  # ipv_6_cidr_block: "String",
8695
9103
  # outpost_arn: "String",
8696
9104
  # vpc_id: "VpcId", # required
8697
9105
  # dry_run: false,
9106
+ # cidr_block: "String", # required
8698
9107
  # })
8699
9108
  #
8700
9109
  # @example Response structure
@@ -8732,6 +9141,96 @@ module Aws::EC2
8732
9141
  req.send_request(options)
8733
9142
  end
8734
9143
 
9144
+ # Creates a subnet CIDR reservation. For information about subnet CIDR
9145
+ # reservations, see [Subnet CIDR reservations][1] in the *Amazon Virtual
9146
+ # Private Cloud User Guide*.
9147
+ #
9148
+ #
9149
+ #
9150
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/subnet-cidr-reservation.html
9151
+ #
9152
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
9153
+ # The tags to assign to the subnet CIDR reservation.
9154
+ #
9155
+ # @option params [required, String] :subnet_id
9156
+ # The ID of the subnet.
9157
+ #
9158
+ # @option params [required, String] :cidr
9159
+ # The IPv4 or IPV6 CIDR range to reserve.
9160
+ #
9161
+ # @option params [required, String] :reservation_type
9162
+ # The type of reservation.
9163
+ #
9164
+ # The following are valid values:
9165
+ #
9166
+ # * `prefix`\: The Amazon EC2 Prefix Delegation feature assigns the IP
9167
+ # addresses to network interfaces that are associated with an
9168
+ # instance. For information about Prefix Delegation, see [Prefix
9169
+ # Delegation for Amazon EC2 network interfaces][1] in the *Amazon
9170
+ # Elastic Compute Cloud User Guide*.
9171
+ #
9172
+ # * `explicit`\: You manually assign the IP addresses to resources that
9173
+ # reside in your subnet.
9174
+ #
9175
+ #
9176
+ #
9177
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation.html
9178
+ #
9179
+ # @option params [String] :description
9180
+ # The description to assign to the subnet CIDR reservation.
9181
+ #
9182
+ # @option params [Boolean] :dry_run
9183
+ # Checks whether you have the required permissions for the action,
9184
+ # without actually making the request, and provides an error response.
9185
+ # If you have the required permissions, the error response is
9186
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9187
+ #
9188
+ # @return [Types::CreateSubnetCidrReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9189
+ #
9190
+ # * {Types::CreateSubnetCidrReservationResult#subnet_cidr_reservation #subnet_cidr_reservation} => Types::SubnetCidrReservation
9191
+ #
9192
+ # @example Request syntax with placeholder values
9193
+ #
9194
+ # resp = client.create_subnet_cidr_reservation({
9195
+ # tag_specifications: [
9196
+ # {
9197
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9198
+ # tags: [
9199
+ # {
9200
+ # key: "String",
9201
+ # value: "String",
9202
+ # },
9203
+ # ],
9204
+ # },
9205
+ # ],
9206
+ # subnet_id: "SubnetId", # required
9207
+ # cidr: "String", # required
9208
+ # reservation_type: "prefix", # required, accepts prefix, explicit
9209
+ # description: "String",
9210
+ # dry_run: false,
9211
+ # })
9212
+ #
9213
+ # @example Response structure
9214
+ #
9215
+ # resp.subnet_cidr_reservation.subnet_cidr_reservation_id #=> String
9216
+ # resp.subnet_cidr_reservation.subnet_id #=> String
9217
+ # resp.subnet_cidr_reservation.cidr #=> String
9218
+ # resp.subnet_cidr_reservation.reservation_type #=> String, one of "prefix", "explicit"
9219
+ # resp.subnet_cidr_reservation.owner_id #=> String
9220
+ # resp.subnet_cidr_reservation.description #=> String
9221
+ # resp.subnet_cidr_reservation.tags #=> Array
9222
+ # resp.subnet_cidr_reservation.tags[0].key #=> String
9223
+ # resp.subnet_cidr_reservation.tags[0].value #=> String
9224
+ #
9225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetCidrReservation AWS API Documentation
9226
+ #
9227
+ # @overload create_subnet_cidr_reservation(params = {})
9228
+ # @param [Hash] params ({})
9229
+ def create_subnet_cidr_reservation(params = {}, options = {})
9230
+ req = build_request(:create_subnet_cidr_reservation, params)
9231
+ req.send_request(options)
9232
+ end
9233
+
8735
9234
  # Adds or overwrites only the specified tags for the specified Amazon
8736
9235
  # EC2 resource or resources. When you specify an existing tag key, the
8737
9236
  # value is overwritten with the new value. Each resource can have a
@@ -8859,7 +9358,7 @@ module Aws::EC2
8859
9358
  # description: "String",
8860
9359
  # tag_specifications: [
8861
9360
  # {
8862
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9361
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
8863
9362
  # tags: [
8864
9363
  # {
8865
9364
  # key: "String",
@@ -9133,7 +9632,7 @@ module Aws::EC2
9133
9632
  # description: "String",
9134
9633
  # tag_specifications: [
9135
9634
  # {
9136
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9635
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9137
9636
  # tags: [
9138
9637
  # {
9139
9638
  # key: "String",
@@ -9232,7 +9731,7 @@ module Aws::EC2
9232
9731
  # description: "String",
9233
9732
  # tag_specifications: [
9234
9733
  # {
9235
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9734
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9236
9735
  # tags: [
9237
9736
  # {
9238
9737
  # key: "String",
@@ -9326,7 +9825,7 @@ module Aws::EC2
9326
9825
  # },
9327
9826
  # tag_specifications: [
9328
9827
  # {
9329
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9828
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9330
9829
  # tags: [
9331
9830
  # {
9332
9831
  # key: "String",
@@ -9407,7 +9906,7 @@ module Aws::EC2
9407
9906
  # },
9408
9907
  # tag_specifications: [
9409
9908
  # {
9410
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9909
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9411
9910
  # tags: [
9412
9911
  # {
9413
9912
  # key: "String",
@@ -9501,7 +10000,7 @@ module Aws::EC2
9501
10000
  # inside_cidr_blocks: ["String"], # required
9502
10001
  # tag_specifications: [
9503
10002
  # {
9504
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10003
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9505
10004
  # tags: [
9506
10005
  # {
9507
10006
  # key: "String",
@@ -9583,7 +10082,7 @@ module Aws::EC2
9583
10082
  # },
9584
10083
  # tag_specifications: [
9585
10084
  # {
9586
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10085
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9587
10086
  # tags: [
9588
10087
  # {
9589
10088
  # key: "String",
@@ -9662,7 +10161,7 @@ module Aws::EC2
9662
10161
  # peer_region: "String", # required
9663
10162
  # tag_specifications: [
9664
10163
  # {
9665
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10164
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9666
10165
  # tags: [
9667
10166
  # {
9668
10167
  # key: "String",
@@ -9834,7 +10333,7 @@ module Aws::EC2
9834
10333
  # transit_gateway_id: "TransitGatewayId", # required
9835
10334
  # tag_specifications: [
9836
10335
  # {
9837
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10336
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9838
10337
  # tags: [
9839
10338
  # {
9840
10339
  # key: "String",
@@ -9917,7 +10416,7 @@ module Aws::EC2
9917
10416
  # },
9918
10417
  # tag_specifications: [
9919
10418
  # {
9920
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10419
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9921
10420
  # tags: [
9922
10421
  # {
9923
10422
  # key: "String",
@@ -9959,7 +10458,7 @@ module Aws::EC2
9959
10458
  # Availability Zone.
9960
10459
  #
9961
10460
  # You can create a new empty volume or restore a volume from an EBS
9962
- # snapshot. Any AWS Marketplace product codes from the snapshot are
10461
+ # snapshot. Any Marketplace product codes from the snapshot are
9963
10462
  # propagated to the volume.
9964
10463
  #
9965
10464
  # You can create encrypted volumes. Encrypted volumes must be attached
@@ -9969,10 +10468,10 @@ module Aws::EC2
9969
10468
  # Elastic Compute Cloud User Guide*.
9970
10469
  #
9971
10470
  # You can tag your volumes during creation. For more information, see
9972
- # [Tagging your Amazon EC2 resources][2] in the *Amazon Elastic Compute
10471
+ # [Tag your Amazon EC2 resources][2] in the *Amazon Elastic Compute
9973
10472
  # Cloud User Guide*.
9974
10473
  #
9975
- # For more information, see [Creating an Amazon EBS volume][3] in the
10474
+ # For more information, see [Create an Amazon EBS volume][3] in the
9976
10475
  # *Amazon Elastic Compute Cloud User Guide*.
9977
10476
  #
9978
10477
  #
@@ -10016,9 +10515,9 @@ module Aws::EC2
10016
10515
  #
10017
10516
  # * `io2`\: 100-64,000 IOPS
10018
10517
  #
10019
- # For `io1` and `io2` volumes, we guarantee 64,000 IOPS only for
10020
- # [Instances built on the Nitro System][1]. Other instance families
10021
- # guarantee performance up to 32,000 IOPS.
10518
+ # `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
10519
+ # built on the Nitro System][1]. Other instance families support
10520
+ # performance up to 32,000 IOPS.
10022
10521
  #
10023
10522
  # This parameter is required for `io1` and `io2` volumes. The default
10024
10523
  # for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
@@ -10029,12 +10528,12 @@ module Aws::EC2
10029
10528
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
10030
10529
  #
10031
10530
  # @option params [String] :kms_key_id
10032
- # The identifier of the AWS Key Management Service (AWS KMS) customer
10033
- # master key (CMK) to use for Amazon EBS encryption. If this parameter
10034
- # is not specified, your AWS managed CMK for EBS is used. If `KmsKeyId`
10035
- # is specified, the encrypted state must be `true`.
10531
+ # The identifier of the Key Management Service (KMS) KMS key to use for
10532
+ # Amazon EBS encryption. If this parameter is not specified, your KMS
10533
+ # key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
10534
+ # state must be `true`.
10036
10535
  #
10037
- # You can specify the CMK using any of the following:
10536
+ # You can specify the KMS key using any of the following:
10038
10537
  #
10039
10538
  # * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
10040
10539
  #
@@ -10046,9 +10545,9 @@ module Aws::EC2
10046
10545
  # * Alias ARN. For example,
10047
10546
  # arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
10048
10547
  #
10049
- # AWS authenticates the CMK asynchronously. Therefore, if you specify an
10050
- # ID, alias, or ARN that is not valid, the action can appear to
10051
- # complete, but eventually fails.
10548
+ # Amazon Web Services authenticates the KMS key asynchronously.
10549
+ # Therefore, if you specify an ID, alias, or ARN that is not valid, the
10550
+ # action can appear to complete, but eventually fails.
10052
10551
  #
10053
10552
  # @option params [String] :outpost_arn
10054
10553
  # The Amazon Resource Name (ARN) of the Outpost.
@@ -10125,6 +10624,18 @@ module Aws::EC2
10125
10624
  #
10126
10625
  # Valid Range: Minimum value of 125. Maximum value of 1000.
10127
10626
  #
10627
+ # @option params [String] :client_token
10628
+ # Unique, case-sensitive identifier that you provide to ensure the
10629
+ # idempotency of the request. For more information, see [Ensure
10630
+ # Idempotency][1].
10631
+ #
10632
+ # **A suitable default value is auto-generated.** You should normally
10633
+ # not need to pass this option.**
10634
+ #
10635
+ #
10636
+ #
10637
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
10638
+ #
10128
10639
  # @return [Types::Volume] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10129
10640
  #
10130
10641
  # * {Types::Volume#attachments #attachments} => Array&lt;Types::VolumeAttachment&gt;
@@ -10210,7 +10721,7 @@ module Aws::EC2
10210
10721
  # dry_run: false,
10211
10722
  # tag_specifications: [
10212
10723
  # {
10213
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10724
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10214
10725
  # tags: [
10215
10726
  # {
10216
10727
  # key: "String",
@@ -10221,6 +10732,7 @@ module Aws::EC2
10221
10732
  # ],
10222
10733
  # multi_attach_enabled: false,
10223
10734
  # throughput: 1,
10735
+ # client_token: "String",
10224
10736
  # })
10225
10737
  #
10226
10738
  # @example Response structure
@@ -10262,7 +10774,7 @@ module Aws::EC2
10262
10774
  # Creates a VPC with the specified IPv4 CIDR block. The smallest VPC you
10263
10775
  # can create uses a /28 netmask (16 IPv4 addresses), and the largest
10264
10776
  # uses a /16 netmask (65,536 IPv4 addresses). For more information about
10265
- # how large to make your VPC, see [Your VPC and Subnets][1] in the
10777
+ # how large to make your VPC, see [Your VPC and subnets][1] in the
10266
10778
  # *Amazon Virtual Private Cloud User Guide*.
10267
10779
  #
10268
10780
  # You can optionally request an IPv6 CIDR block for the VPC. You can
@@ -10272,7 +10784,7 @@ module Aws::EC2
10272
10784
  #
10273
10785
  # By default, each instance you launch in the VPC has the default DHCP
10274
10786
  # options, which include only a default DNS server that we provide
10275
- # (AmazonProvidedDNS). For more information, see [DHCP Options Sets][3]
10787
+ # (AmazonProvidedDNS). For more information, see [DHCP options sets][3]
10276
10788
  # in the *Amazon Virtual Private Cloud User Guide*.
10277
10789
  #
10278
10790
  # You can specify the instance tenancy value for the VPC when you create
@@ -10373,7 +10885,7 @@ module Aws::EC2
10373
10885
  # ipv_6_cidr_block_network_border_group: "String",
10374
10886
  # tag_specifications: [
10375
10887
  # {
10376
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10888
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10377
10889
  # tags: [
10378
10890
  # {
10379
10891
  # key: "String",
@@ -10530,7 +11042,7 @@ module Aws::EC2
10530
11042
  # private_dns_enabled: false,
10531
11043
  # tag_specifications: [
10532
11044
  # {
10533
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11045
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10534
11046
  # tags: [
10535
11047
  # {
10536
11048
  # key: "String",
@@ -10736,7 +11248,7 @@ module Aws::EC2
10736
11248
  # client_token: "String",
10737
11249
  # tag_specifications: [
10738
11250
  # {
10739
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11251
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10740
11252
  # tags: [
10741
11253
  # {
10742
11254
  # key: "String",
@@ -10785,7 +11297,7 @@ module Aws::EC2
10785
11297
 
10786
11298
  # Requests a VPC peering connection between two VPCs: a requester VPC
10787
11299
  # that you own and an accepter VPC with which to create the connection.
10788
- # The accepter VPC can belong to another AWS account and can be in a
11300
+ # The accepter VPC can belong to another account and can be in a
10789
11301
  # different Region to the requester VPC. The requester VPC and accepter
10790
11302
  # VPC cannot have overlapping CIDR blocks.
10791
11303
  #
@@ -10814,9 +11326,9 @@ module Aws::EC2
10814
11326
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
10815
11327
  #
10816
11328
  # @option params [String] :peer_owner_id
10817
- # The AWS account ID of the owner of the accepter VPC.
11329
+ # The account ID of the owner of the accepter VPC.
10818
11330
  #
10819
- # Default: Your AWS account ID
11331
+ # Default: Your account ID
10820
11332
  #
10821
11333
  # @option params [String] :peer_vpc_id
10822
11334
  # The ID of the VPC with which you are creating the VPC peering
@@ -10849,7 +11361,7 @@ module Aws::EC2
10849
11361
  # peer_region: "String",
10850
11362
  # tag_specifications: [
10851
11363
  # {
10852
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11364
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
10853
11365
  # tags: [
10854
11366
  # {
10855
11367
  # key: "String",
@@ -11025,7 +11537,7 @@ module Aws::EC2
11025
11537
  # },
11026
11538
  # tag_specifications: [
11027
11539
  # {
11028
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11540
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11029
11541
  # tags: [
11030
11542
  # {
11031
11543
  # key: "String",
@@ -11186,7 +11698,7 @@ module Aws::EC2
11186
11698
  # type: "ipsec.1", # required, accepts ipsec.1
11187
11699
  # tag_specifications: [
11188
11700
  # {
11189
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11701
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
11190
11702
  # tags: [
11191
11703
  # {
11192
11704
  # key: "String",
@@ -11631,6 +12143,54 @@ module Aws::EC2
11631
12143
  req.send_request(options)
11632
12144
  end
11633
12145
 
12146
+ # Deletes the specified event window.
12147
+ #
12148
+ # For more information, see [Define event windows for scheduled
12149
+ # events][1] in the *Amazon EC2 User Guide*.
12150
+ #
12151
+ #
12152
+ #
12153
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html
12154
+ #
12155
+ # @option params [Boolean] :dry_run
12156
+ # Checks whether you have the required permissions for the action,
12157
+ # without actually making the request, and provides an error response.
12158
+ # If you have the required permissions, the error response is
12159
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
12160
+ #
12161
+ # @option params [Boolean] :force_delete
12162
+ # Specify `true` to force delete the event window. Use the force delete
12163
+ # parameter if the event window is currently associated with targets.
12164
+ #
12165
+ # @option params [required, String] :instance_event_window_id
12166
+ # The ID of the event window.
12167
+ #
12168
+ # @return [Types::DeleteInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12169
+ #
12170
+ # * {Types::DeleteInstanceEventWindowResult#instance_event_window_state #instance_event_window_state} => Types::InstanceEventWindowStateChange
12171
+ #
12172
+ # @example Request syntax with placeholder values
12173
+ #
12174
+ # resp = client.delete_instance_event_window({
12175
+ # dry_run: false,
12176
+ # force_delete: false,
12177
+ # instance_event_window_id: "InstanceEventWindowId", # required
12178
+ # })
12179
+ #
12180
+ # @example Response structure
12181
+ #
12182
+ # resp.instance_event_window_state.instance_event_window_id #=> String
12183
+ # resp.instance_event_window_state.state #=> String, one of "creating", "deleting", "active", "deleted"
12184
+ #
12185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInstanceEventWindow AWS API Documentation
12186
+ #
12187
+ # @overload delete_instance_event_window(params = {})
12188
+ # @param [Hash] params ({})
12189
+ def delete_instance_event_window(params = {}, options = {})
12190
+ req = build_request(:delete_instance_event_window, params)
12191
+ req.send_request(options)
12192
+ end
12193
+
11634
12194
  # Deletes the specified internet gateway. You must detach the internet
11635
12195
  # gateway from the VPC before you can delete it.
11636
12196
  #
@@ -12549,7 +13109,7 @@ module Aws::EC2
12549
13109
  # by a registered AMI. You must first de-register the AMI before you can
12550
13110
  # delete the snapshot.
12551
13111
  #
12552
- # For more information, see [Deleting an Amazon EBS snapshot][1] in the
13112
+ # For more information, see [Delete an Amazon EBS snapshot][1] in the
12553
13113
  # *Amazon Elastic Compute Cloud User Guide*.
12554
13114
  #
12555
13115
  #
@@ -12669,6 +13229,49 @@ module Aws::EC2
12669
13229
  req.send_request(options)
12670
13230
  end
12671
13231
 
13232
+ # Deletes a subnet CIDR reservation.
13233
+ #
13234
+ # @option params [required, String] :subnet_cidr_reservation_id
13235
+ # The ID of the subnet CIDR reservation.
13236
+ #
13237
+ # @option params [Boolean] :dry_run
13238
+ # Checks whether you have the required permissions for the action,
13239
+ # without actually making the request, and provides an error response.
13240
+ # If you have the required permissions, the error response is
13241
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
13242
+ #
13243
+ # @return [Types::DeleteSubnetCidrReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13244
+ #
13245
+ # * {Types::DeleteSubnetCidrReservationResult#deleted_subnet_cidr_reservation #deleted_subnet_cidr_reservation} => Types::SubnetCidrReservation
13246
+ #
13247
+ # @example Request syntax with placeholder values
13248
+ #
13249
+ # resp = client.delete_subnet_cidr_reservation({
13250
+ # subnet_cidr_reservation_id: "SubnetCidrReservationId", # required
13251
+ # dry_run: false,
13252
+ # })
13253
+ #
13254
+ # @example Response structure
13255
+ #
13256
+ # resp.deleted_subnet_cidr_reservation.subnet_cidr_reservation_id #=> String
13257
+ # resp.deleted_subnet_cidr_reservation.subnet_id #=> String
13258
+ # resp.deleted_subnet_cidr_reservation.cidr #=> String
13259
+ # resp.deleted_subnet_cidr_reservation.reservation_type #=> String, one of "prefix", "explicit"
13260
+ # resp.deleted_subnet_cidr_reservation.owner_id #=> String
13261
+ # resp.deleted_subnet_cidr_reservation.description #=> String
13262
+ # resp.deleted_subnet_cidr_reservation.tags #=> Array
13263
+ # resp.deleted_subnet_cidr_reservation.tags[0].key #=> String
13264
+ # resp.deleted_subnet_cidr_reservation.tags[0].value #=> String
13265
+ #
13266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetCidrReservation AWS API Documentation
13267
+ #
13268
+ # @overload delete_subnet_cidr_reservation(params = {})
13269
+ # @param [Hash] params ({})
13270
+ def delete_subnet_cidr_reservation(params = {}, options = {})
13271
+ req = build_request(:delete_subnet_cidr_reservation, params)
13272
+ req.send_request(options)
13273
+ end
13274
+
12672
13275
  # Deletes the specified set of tags from the specified set of resources.
12673
13276
  #
12674
13277
  # To list the current tags, use DescribeTags. For more information about
@@ -12699,8 +13302,8 @@ module Aws::EC2
12699
13302
  # if its value is an empty string.
12700
13303
  #
12701
13304
  # If you omit this parameter, we delete all user-defined tags for the
12702
- # specified resources. We do not delete AWS-generated tags (tags that
12703
- # have the `aws:` prefix).
13305
+ # specified resources. We do not delete Amazon Web Services-generated
13306
+ # tags (tags that have the `aws:` prefix).
12704
13307
  #
12705
13308
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
12706
13309
  #
@@ -13326,7 +13929,7 @@ module Aws::EC2
13326
13929
  #
13327
13930
  # The volume can remain in the `deleting` state for several minutes.
13328
13931
  #
13329
- # For more information, see [Deleting an Amazon EBS volume][1] in the
13932
+ # For more information, see [Delete an Amazon EBS volume][1] in the
13330
13933
  # *Amazon Elastic Compute Cloud User Guide*.
13331
13934
  #
13332
13935
  #
@@ -13783,6 +14386,8 @@ module Aws::EC2
13783
14386
  req.send_request(options)
13784
14387
  end
13785
14388
 
14389
+ # c
14390
+ #
13786
14391
  # Deregisters tag keys to prevent tags that have the specified tag keys
13787
14392
  # from being included in scheduled event notifications for resources in
13788
14393
  # the Region.
@@ -14875,7 +15480,7 @@ module Aws::EC2
14875
15480
  # * `state` - The state of the carrier gateway (`pending` \| `failed` \|
14876
15481
  # `available` \| `deleting` \| `deleted`).
14877
15482
  #
14878
- # * `owner-id` - The AWS account ID of the owner of the carrier gateway.
15483
+ # * `owner-id` - The account ID of the owner of the carrier gateway.
14879
15484
  #
14880
15485
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
14881
15486
  # the resource. Use the tag key in the filter name and the tag value
@@ -15720,7 +16325,7 @@ module Aws::EC2
15720
16325
 
15721
16326
  # Describes one or more of your DHCP options sets.
15722
16327
  #
15723
- # For more information, see [DHCP Options Sets][1] in the *Amazon
16328
+ # For more information, see [DHCP options sets][1] in the *Amazon
15724
16329
  # Virtual Private Cloud User Guide*.
15725
16330
  #
15726
16331
  #
@@ -15741,8 +16346,7 @@ module Aws::EC2
15741
16346
  #
15742
16347
  # * `value` - The value for one of the options.
15743
16348
  #
15744
- # * `owner-id` - The ID of the AWS account that owns the DHCP options
15745
- # set.
16349
+ # * `owner-id` - The ID of the account that owns the DHCP options set.
15746
16350
  #
15747
16351
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
15748
16352
  # the resource. Use the tag key in the filter name and the tag value
@@ -16142,7 +16746,7 @@ module Aws::EC2
16142
16746
  #
16143
16747
  # * `availability-zone`\: The Availability Zone of the snapshot.
16144
16748
  #
16145
- # * `owner-id`\: The ID of the AWS account that enabled fast snapshot
16749
+ # * `owner-id`\: The ID of the account that enabled fast snapshot
16146
16750
  # restore on the snapshot.
16147
16751
  #
16148
16752
  # * `snapshot-id`\: The ID of the snapshot.
@@ -18126,6 +18730,131 @@ module Aws::EC2
18126
18730
  req.send_request(options)
18127
18731
  end
18128
18732
 
18733
+ # Describes the specified event windows or all event windows.
18734
+ #
18735
+ # If you specify event window IDs, the output includes information for
18736
+ # only the specified event windows. If you specify filters, the output
18737
+ # includes information for only those event windows that meet the filter
18738
+ # criteria. If you do not specify event windows IDs or filters, the
18739
+ # output includes information for all event windows, which can affect
18740
+ # performance. We recommend that you use pagination to ensure that the
18741
+ # operation returns quickly and successfully.
18742
+ #
18743
+ # For more information, see [Define event windows for scheduled
18744
+ # events][1] in the *Amazon EC2 User Guide*.
18745
+ #
18746
+ #
18747
+ #
18748
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html
18749
+ #
18750
+ # @option params [Boolean] :dry_run
18751
+ # Checks whether you have the required permissions for the action,
18752
+ # without actually making the request, and provides an error response.
18753
+ # If you have the required permissions, the error response is
18754
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18755
+ #
18756
+ # @option params [Array<String>] :instance_event_window_ids
18757
+ # The IDs of the event windows.
18758
+ #
18759
+ # @option params [Array<Types::Filter>] :filters
18760
+ # One or more filters.
18761
+ #
18762
+ # * `dedicated-host-id` - The event windows associated with the
18763
+ # specified Dedicated Host ID.
18764
+ #
18765
+ # * `event-window-name` - The event windows associated with the
18766
+ # specified names.
18767
+ #
18768
+ # * `instance-id` - The event windows associated with the specified
18769
+ # instance ID.
18770
+ #
18771
+ # * `instance-tag` - The event windows associated with the specified tag
18772
+ # and value.
18773
+ #
18774
+ # * `instance-tag-key` - The event windows associated with the specified
18775
+ # tag key, regardless of the value.
18776
+ #
18777
+ # * `instance-tag-value` - The event windows associated with the
18778
+ # specified tag value, regardless of the key.
18779
+ #
18780
+ # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
18781
+ # the event window. Use the tag key in the filter name and the tag
18782
+ # value as the filter value. For example, to find all resources that
18783
+ # have a tag with the key `Owner` and the value `CMX`, specify
18784
+ # `tag:Owner` for the filter name and `CMX` for the filter value.
18785
+ #
18786
+ # * `tag-key` - The key of a tag assigned to the event window. Use this
18787
+ # filter to find all event windows that have a tag with a specific
18788
+ # key, regardless of the tag value.
18789
+ #
18790
+ # * `tag-value` - The value of a tag assigned to the event window. Use
18791
+ # this filter to find all event windows that have a tag with a
18792
+ # specific value, regardless of the tag key.
18793
+ #
18794
+ # @option params [Integer] :max_results
18795
+ # The maximum number of results to return in a single call. To retrieve
18796
+ # the remaining results, make another call with the returned `NextToken`
18797
+ # value. This value can be between 20 and 500. You cannot specify this
18798
+ # parameter and the event window IDs parameter in the same call.
18799
+ #
18800
+ # @option params [String] :next_token
18801
+ # The token to request the next page of results.
18802
+ #
18803
+ # @return [Types::DescribeInstanceEventWindowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18804
+ #
18805
+ # * {Types::DescribeInstanceEventWindowsResult#instance_event_windows #instance_event_windows} => Array&lt;Types::InstanceEventWindow&gt;
18806
+ # * {Types::DescribeInstanceEventWindowsResult#next_token #next_token} => String
18807
+ #
18808
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
18809
+ #
18810
+ # @example Request syntax with placeholder values
18811
+ #
18812
+ # resp = client.describe_instance_event_windows({
18813
+ # dry_run: false,
18814
+ # instance_event_window_ids: ["InstanceEventWindowId"],
18815
+ # filters: [
18816
+ # {
18817
+ # name: "String",
18818
+ # values: ["String"],
18819
+ # },
18820
+ # ],
18821
+ # max_results: 1,
18822
+ # next_token: "String",
18823
+ # })
18824
+ #
18825
+ # @example Response structure
18826
+ #
18827
+ # resp.instance_event_windows #=> Array
18828
+ # resp.instance_event_windows[0].instance_event_window_id #=> String
18829
+ # resp.instance_event_windows[0].time_ranges #=> Array
18830
+ # resp.instance_event_windows[0].time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
18831
+ # resp.instance_event_windows[0].time_ranges[0].start_hour #=> Integer
18832
+ # resp.instance_event_windows[0].time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
18833
+ # resp.instance_event_windows[0].time_ranges[0].end_hour #=> Integer
18834
+ # resp.instance_event_windows[0].name #=> String
18835
+ # resp.instance_event_windows[0].cron_expression #=> String
18836
+ # resp.instance_event_windows[0].association_target.instance_ids #=> Array
18837
+ # resp.instance_event_windows[0].association_target.instance_ids[0] #=> String
18838
+ # resp.instance_event_windows[0].association_target.tags #=> Array
18839
+ # resp.instance_event_windows[0].association_target.tags[0].key #=> String
18840
+ # resp.instance_event_windows[0].association_target.tags[0].value #=> String
18841
+ # resp.instance_event_windows[0].association_target.dedicated_host_ids #=> Array
18842
+ # resp.instance_event_windows[0].association_target.dedicated_host_ids[0] #=> String
18843
+ # resp.instance_event_windows[0].state #=> String, one of "creating", "deleting", "active", "deleted"
18844
+ # resp.instance_event_windows[0].tags #=> Array
18845
+ # resp.instance_event_windows[0].tags[0].key #=> String
18846
+ # resp.instance_event_windows[0].tags[0].value #=> String
18847
+ # resp.next_token #=> String
18848
+ #
18849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceEventWindows AWS API Documentation
18850
+ #
18851
+ # @overload describe_instance_event_windows(params = {})
18852
+ # @param [Hash] params ({})
18853
+ def describe_instance_event_windows(params = {}, options = {})
18854
+ req = build_request(:describe_instance_event_windows, params)
18855
+ req.send_request(options)
18856
+ end
18857
+
18129
18858
  # Describes the status of the specified instances or all of your
18130
18859
  # instances. By default, only running instances are described, unless
18131
18860
  # you specifically indicate to return the status of all instances.
@@ -19187,6 +19916,10 @@ module Aws::EC2
19187
19916
  # resp.reservations[0].instances[0].network_interfaces[0].subnet_id #=> String
19188
19917
  # resp.reservations[0].instances[0].network_interfaces[0].vpc_id #=> String
19189
19918
  # resp.reservations[0].instances[0].network_interfaces[0].interface_type #=> String
19919
+ # resp.reservations[0].instances[0].network_interfaces[0].ipv_4_prefixes #=> Array
19920
+ # resp.reservations[0].instances[0].network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
19921
+ # resp.reservations[0].instances[0].network_interfaces[0].ipv_6_prefixes #=> Array
19922
+ # resp.reservations[0].instances[0].network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
19190
19923
  # resp.reservations[0].instances[0].outpost_arn #=> String
19191
19924
  # resp.reservations[0].instances[0].root_device_name #=> String
19192
19925
  # resp.reservations[0].instances[0].root_device_type #=> String, one of "ebs", "instance-store"
@@ -19252,8 +19985,7 @@ module Aws::EC2
19252
19985
  #
19253
19986
  # * `internet-gateway-id` - The ID of the Internet gateway.
19254
19987
  #
19255
- # * `owner-id` - The ID of the AWS account that owns the internet
19256
- # gateway.
19988
+ # * `owner-id` - The ID of the account that owns the internet gateway.
19257
19989
  #
19258
19990
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
19259
19991
  # the resource. Use the tag key in the filter name and the tag value
@@ -19467,7 +20199,7 @@ module Aws::EC2
19467
20199
  # @option params [Array<String>] :key_names
19468
20200
  # The key pair names.
19469
20201
  #
19470
- # Default: Describes all your key pairs.
20202
+ # Default: Describes all of your key pairs.
19471
20203
  #
19472
20204
  # @option params [Array<String>] :key_pair_ids
19473
20205
  # The IDs of the key pairs.
@@ -19749,6 +20481,12 @@ module Aws::EC2
19749
20481
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].secondary_private_ip_address_count #=> Integer
19750
20482
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].subnet_id #=> String
19751
20483
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].network_card_index #=> Integer
20484
+ # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_4_prefixes #=> Array
20485
+ # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
20486
+ # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_4_prefix_count #=> Integer
20487
+ # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_6_prefixes #=> Array
20488
+ # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
20489
+ # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].ipv_6_prefix_count #=> Integer
19752
20490
  # resp.launch_template_versions[0].launch_template_data.image_id #=> String
19753
20491
  # resp.launch_template_versions[0].launch_template_data.instance_type #=> String, one of "t1.micro", "t2.nano", "t2.micro", "t2.small", "t2.medium", "t2.large", "t2.xlarge", "t2.2xlarge", "t3.nano", "t3.micro", "t3.small", "t3.medium", "t3.large", "t3.xlarge", "t3.2xlarge", "t3a.nano", "t3a.micro", "t3a.small", "t3a.medium", "t3a.large", "t3a.xlarge", "t3a.2xlarge", "t4g.nano", "t4g.micro", "t4g.small", "t4g.medium", "t4g.large", "t4g.xlarge", "t4g.2xlarge", "m1.small", "m1.medium", "m1.large", "m1.xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge", "m4.16xlarge", "m2.xlarge", "m2.2xlarge", "m2.4xlarge", "cr1.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "r5.large", "r5.xlarge", "r5.2xlarge", "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", "r5.16xlarge", "r5.24xlarge", "r5.metal", "r5a.large", "r5a.xlarge", "r5a.2xlarge", "r5a.4xlarge", "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", "r5a.24xlarge", "r5b.large", "r5b.xlarge", "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", "r5b.12xlarge", "r5b.16xlarge", "r5b.24xlarge", "r5b.metal", "r5d.large", "r5d.xlarge", "r5d.2xlarge", "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", "r5d.metal", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", "r6g.metal", "r6g.medium", "r6g.large", "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", "r6gd.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", "x1.16xlarge", "x1.32xlarge", "x1e.xlarge", "x1e.2xlarge", "x1e.4xlarge", "x1e.8xlarge", "x1e.16xlarge", "x1e.32xlarge", "i2.xlarge", "i2.2xlarge", "i2.4xlarge", "i2.8xlarge", "i3.large", "i3.xlarge", "i3.2xlarge", "i3.4xlarge", "i3.8xlarge", "i3.16xlarge", "i3.metal", "i3en.large", "i3en.xlarge", "i3en.2xlarge", "i3en.3xlarge", "i3en.6xlarge", "i3en.12xlarge", "i3en.24xlarge", "i3en.metal", "hi1.4xlarge", "hs1.8xlarge", "c1.medium", "c1.xlarge", "c3.large", "c3.xlarge", "c3.2xlarge", "c3.4xlarge", "c3.8xlarge", "c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "c5.large", "c5.xlarge", "c5.2xlarge", "c5.4xlarge", "c5.9xlarge", "c5.12xlarge", "c5.18xlarge", "c5.24xlarge", "c5.metal", "c5a.large", "c5a.xlarge", "c5a.2xlarge", "c5a.4xlarge", "c5a.8xlarge", "c5a.12xlarge", "c5a.16xlarge", "c5a.24xlarge", "c5ad.large", "c5ad.xlarge", "c5ad.2xlarge", "c5ad.4xlarge", "c5ad.8xlarge", "c5ad.12xlarge", "c5ad.16xlarge", "c5ad.24xlarge", "c5d.large", "c5d.xlarge", "c5d.2xlarge", "c5d.4xlarge", "c5d.9xlarge", "c5d.12xlarge", "c5d.18xlarge", "c5d.24xlarge", "c5d.metal", "c5n.large", "c5n.xlarge", "c5n.2xlarge", "c5n.4xlarge", "c5n.9xlarge", "c5n.18xlarge", "c5n.metal", "c6g.metal", "c6g.medium", "c6g.large", "c6g.xlarge", "c6g.2xlarge", "c6g.4xlarge", "c6g.8xlarge", "c6g.12xlarge", "c6g.16xlarge", "c6gd.metal", "c6gd.medium", "c6gd.large", "c6gd.xlarge", "c6gd.2xlarge", "c6gd.4xlarge", "c6gd.8xlarge", "c6gd.12xlarge", "c6gd.16xlarge", "c6gn.medium", "c6gn.large", "c6gn.xlarge", "c6gn.2xlarge", "c6gn.4xlarge", "c6gn.8xlarge", "c6gn.12xlarge", "c6gn.16xlarge", "cc1.4xlarge", "cc2.8xlarge", "g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "cg1.4xlarge", "p2.xlarge", "p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge", "p4d.24xlarge", "d2.xlarge", "d2.2xlarge", "d2.4xlarge", "d2.8xlarge", "d3.xlarge", "d3.2xlarge", "d3.4xlarge", "d3.8xlarge", "d3en.xlarge", "d3en.2xlarge", "d3en.4xlarge", "d3en.6xlarge", "d3en.8xlarge", "d3en.12xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "m5.large", "m5.xlarge", "m5.2xlarge", "m5.4xlarge", "m5.8xlarge", "m5.12xlarge", "m5.16xlarge", "m5.24xlarge", "m5.metal", "m5a.large", "m5a.xlarge", "m5a.2xlarge", "m5a.4xlarge", "m5a.8xlarge", "m5a.12xlarge", "m5a.16xlarge", "m5a.24xlarge", "m5d.large", "m5d.xlarge", "m5d.2xlarge", "m5d.4xlarge", "m5d.8xlarge", "m5d.12xlarge", "m5d.16xlarge", "m5d.24xlarge", "m5d.metal", "m5ad.large", "m5ad.xlarge", "m5ad.2xlarge", "m5ad.4xlarge", "m5ad.8xlarge", "m5ad.12xlarge", "m5ad.16xlarge", "m5ad.24xlarge", "m5zn.large", "m5zn.xlarge", "m5zn.2xlarge", "m5zn.3xlarge", "m5zn.6xlarge", "m5zn.12xlarge", "m5zn.metal", "h1.2xlarge", "h1.4xlarge", "h1.8xlarge", "h1.16xlarge", "z1d.large", "z1d.xlarge", "z1d.2xlarge", "z1d.3xlarge", "z1d.6xlarge", "z1d.12xlarge", "z1d.metal", "u-6tb1.56xlarge", "u-6tb1.112xlarge", "u-9tb1.112xlarge", "u-12tb1.112xlarge", "u-6tb1.metal", "u-9tb1.metal", "u-12tb1.metal", "u-18tb1.metal", "u-24tb1.metal", "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge", "a1.4xlarge", "a1.metal", "m5dn.large", "m5dn.xlarge", "m5dn.2xlarge", "m5dn.4xlarge", "m5dn.8xlarge", "m5dn.12xlarge", "m5dn.16xlarge", "m5dn.24xlarge", "m5dn.metal", "m5n.large", "m5n.xlarge", "m5n.2xlarge", "m5n.4xlarge", "m5n.8xlarge", "m5n.12xlarge", "m5n.16xlarge", "m5n.24xlarge", "m5n.metal", "r5dn.large", "r5dn.xlarge", "r5dn.2xlarge", "r5dn.4xlarge", "r5dn.8xlarge", "r5dn.12xlarge", "r5dn.16xlarge", "r5dn.24xlarge", "r5dn.metal", "r5n.large", "r5n.xlarge", "r5n.2xlarge", "r5n.4xlarge", "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", "r5n.24xlarge", "r5n.metal", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "m6g.metal", "m6g.medium", "m6g.large", "m6g.xlarge", "m6g.2xlarge", "m6g.4xlarge", "m6g.8xlarge", "m6g.12xlarge", "m6g.16xlarge", "m6gd.metal", "m6gd.medium", "m6gd.large", "m6gd.xlarge", "m6gd.2xlarge", "m6gd.4xlarge", "m6gd.8xlarge", "m6gd.12xlarge", "m6gd.16xlarge", "mac1.metal", "x2gd.medium", "x2gd.large", "x2gd.xlarge", "x2gd.2xlarge", "x2gd.4xlarge", "x2gd.8xlarge", "x2gd.12xlarge", "x2gd.16xlarge", "x2gd.metal"
19754
20492
  # resp.launch_template_versions[0].launch_template_data.key_name #=> String
@@ -19766,7 +20504,7 @@ module Aws::EC2
19766
20504
  # resp.launch_template_versions[0].launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
19767
20505
  # resp.launch_template_versions[0].launch_template_data.user_data #=> String
19768
20506
  # resp.launch_template_versions[0].launch_template_data.tag_specifications #=> Array
19769
- # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
20507
+ # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
19770
20508
  # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags #=> Array
19771
20509
  # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].key #=> String
19772
20510
  # resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].value #=> String
@@ -20745,7 +21483,7 @@ module Aws::EC2
20745
21483
  #
20746
21484
  # * `network-acl-id` - The ID of the network ACL.
20747
21485
  #
20748
- # * `owner-id` - The ID of the AWS account that owns the network ACL.
21486
+ # * `owner-id` - The ID of the account that owns the network ACL.
20749
21487
  #
20750
21488
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
20751
21489
  # the resource. Use the tag key in the filter name and the tag value
@@ -21744,6 +22482,10 @@ module Aws::EC2
21744
22482
  # resp.network_interfaces[0].private_ip_addresses[0].primary #=> Boolean
21745
22483
  # resp.network_interfaces[0].private_ip_addresses[0].private_dns_name #=> String
21746
22484
  # resp.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
22485
+ # resp.network_interfaces[0].ipv_4_prefixes #=> Array
22486
+ # resp.network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
22487
+ # resp.network_interfaces[0].ipv_6_prefixes #=> Array
22488
+ # resp.network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
21747
22489
  # resp.network_interfaces[0].requester_id #=> String
21748
22490
  # resp.network_interfaces[0].requester_managed #=> Boolean
21749
22491
  # resp.network_interfaces[0].source_dest_check #=> Boolean
@@ -22215,7 +22957,7 @@ module Aws::EC2
22215
22957
  #
22216
22958
  #
22217
22959
  #
22218
- # [1]: https://docs.aws.amazon.com/
22960
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root
22219
22961
  #
22220
22962
  # @option params [Array<String>] :replace_root_volume_task_ids
22221
22963
  # The ID of the root volume replacement task to view.
@@ -22834,7 +23576,7 @@ module Aws::EC2
22834
23576
  # implicitly associated with the main route table. This command does not
22835
23577
  # return the subnet ID for implicit associations.
22836
23578
  #
22837
- # For more information, see [Route Tables][1] in the *Amazon Virtual
23579
+ # For more information, see [Route tables][1] in the *Amazon Virtual
22838
23580
  # Private Cloud User Guide*.
22839
23581
  #
22840
23582
  #
@@ -22857,7 +23599,7 @@ module Aws::EC2
22857
23599
  # route table for the VPC (`true` \| `false`). Route tables that do
22858
23600
  # not have an association ID are not returned in the response.
22859
23601
  #
22860
- # * `owner-id` - The ID of the AWS account that owns the route table.
23602
+ # * `owner-id` - The ID of the account that owns the route table.
22861
23603
  #
22862
23604
  # * `route-table-id` - The ID of the route table.
22863
23605
  #
@@ -22867,8 +23609,8 @@ module Aws::EC2
22867
23609
  # * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
22868
23610
  # in a route in the route table.
22869
23611
  #
22870
- # * `route.destination-prefix-list-id` - The ID (prefix) of the AWS
22871
- # service specified in a route in the table.
23612
+ # * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
23613
+ # Web Service specified in a route in the table.
22872
23614
  #
22873
23615
  # * `route.egress-only-internet-gateway-id` - The ID of an egress-only
22874
23616
  # Internet gateway specified in a route in the route table.
@@ -23407,6 +24149,94 @@ module Aws::EC2
23407
24149
  req.send_request(options)
23408
24150
  end
23409
24151
 
24152
+ # Describes one or more of your security group rules.
24153
+ #
24154
+ # @option params [Array<Types::Filter>] :filters
24155
+ # One or more filters.
24156
+ #
24157
+ # * `group-id` - The ID of the security group.
24158
+ #
24159
+ # * `security-group-rule-id` - The ID of the security group rule.
24160
+ #
24161
+ # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
24162
+ # the resource. Use the tag key in the filter name and the tag value
24163
+ # as the filter value. For example, to find all resources that have a
24164
+ # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
24165
+ # for the filter name and `TeamA` for the filter value.
24166
+ #
24167
+ # @option params [Array<String>] :security_group_rule_ids
24168
+ # The IDs of the security group rules.
24169
+ #
24170
+ # @option params [Boolean] :dry_run
24171
+ # Checks whether you have the required permissions for the action,
24172
+ # without actually making the request, and provides an error response.
24173
+ # If you have the required permissions, the error response is
24174
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
24175
+ #
24176
+ # @option params [String] :next_token
24177
+ # The token for the next page of results.
24178
+ #
24179
+ # @option params [Integer] :max_results
24180
+ # The maximum number of results to return in a single call. To retrieve
24181
+ # the remaining results, make another request with the returned
24182
+ # `NextToken` value. This value can be between 5 and 1000. If this
24183
+ # parameter is not specified, then all results are returned.
24184
+ #
24185
+ # @return [Types::DescribeSecurityGroupRulesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
24186
+ #
24187
+ # * {Types::DescribeSecurityGroupRulesResult#security_group_rules #security_group_rules} => Array&lt;Types::SecurityGroupRule&gt;
24188
+ # * {Types::DescribeSecurityGroupRulesResult#next_token #next_token} => String
24189
+ #
24190
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
24191
+ #
24192
+ # @example Request syntax with placeholder values
24193
+ #
24194
+ # resp = client.describe_security_group_rules({
24195
+ # filters: [
24196
+ # {
24197
+ # name: "String",
24198
+ # values: ["String"],
24199
+ # },
24200
+ # ],
24201
+ # security_group_rule_ids: ["String"],
24202
+ # dry_run: false,
24203
+ # next_token: "String",
24204
+ # max_results: 1,
24205
+ # })
24206
+ #
24207
+ # @example Response structure
24208
+ #
24209
+ # resp.security_group_rules #=> Array
24210
+ # resp.security_group_rules[0].security_group_rule_id #=> String
24211
+ # resp.security_group_rules[0].group_id #=> String
24212
+ # resp.security_group_rules[0].group_owner_id #=> String
24213
+ # resp.security_group_rules[0].is_egress #=> Boolean
24214
+ # resp.security_group_rules[0].ip_protocol #=> String
24215
+ # resp.security_group_rules[0].from_port #=> Integer
24216
+ # resp.security_group_rules[0].to_port #=> Integer
24217
+ # resp.security_group_rules[0].cidr_ipv_4 #=> String
24218
+ # resp.security_group_rules[0].cidr_ipv_6 #=> String
24219
+ # resp.security_group_rules[0].prefix_list_id #=> String
24220
+ # resp.security_group_rules[0].referenced_group_info.group_id #=> String
24221
+ # resp.security_group_rules[0].referenced_group_info.peering_status #=> String
24222
+ # resp.security_group_rules[0].referenced_group_info.user_id #=> String
24223
+ # resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
24224
+ # resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
24225
+ # resp.security_group_rules[0].description #=> String
24226
+ # resp.security_group_rules[0].tags #=> Array
24227
+ # resp.security_group_rules[0].tags[0].key #=> String
24228
+ # resp.security_group_rules[0].tags[0].value #=> String
24229
+ # resp.next_token #=> String
24230
+ #
24231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupRules AWS API Documentation
24232
+ #
24233
+ # @overload describe_security_group_rules(params = {})
24234
+ # @param [Hash] params ({})
24235
+ def describe_security_group_rules(params = {}, options = {})
24236
+ req = build_request(:describe_security_group_rules, params)
24237
+ req.send_request(options)
24238
+ end
24239
+
23410
24240
  # Describes the specified security groups or all of your security
23411
24241
  # groups.
23412
24242
  #
@@ -23453,8 +24283,8 @@ module Aws::EC2
23453
24283
  # * `egress.ip-permission.to-port` - For an outbound rule, the end of
23454
24284
  # port range for the TCP and UDP protocols, or an ICMP code.
23455
24285
  #
23456
- # * `egress.ip-permission.user-id` - The ID of an AWS account that has
23457
- # been referenced in an outbound security group rule.
24286
+ # * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
24287
+ # account that has been referenced in an outbound security group rule.
23458
24288
  #
23459
24289
  # * `group-id` - The ID of the security group.
23460
24290
  #
@@ -23485,10 +24315,11 @@ module Aws::EC2
23485
24315
  # * `ip-permission.to-port` - For an inbound rule, the end of port range
23486
24316
  # for the TCP and UDP protocols, or an ICMP code.
23487
24317
  #
23488
- # * `ip-permission.user-id` - The ID of an AWS account that has been
23489
- # referenced in an inbound security group rule.
24318
+ # * `ip-permission.user-id` - The ID of an Amazon Web Services account
24319
+ # that has been referenced in an inbound security group rule.
23490
24320
  #
23491
- # * `owner-id` - The AWS account ID of the owner of the security group.
24321
+ # * `owner-id` - The Amazon Web Services account ID of the owner of the
24322
+ # security group.
23492
24323
  #
23493
24324
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
23494
24325
  # the resource. Use the tag key in the filter name and the tag value
@@ -23507,7 +24338,7 @@ module Aws::EC2
23507
24338
  # The IDs of the security groups. Required for security groups in a
23508
24339
  # nondefault VPC.
23509
24340
  #
23510
- # Default: Describes all your security groups.
24341
+ # Default: Describes all of your security groups.
23511
24342
  #
23512
24343
  # @option params [Array<String>] :group_names
23513
24344
  # \[EC2-Classic and default VPC only\] The names of the security groups.
@@ -23515,7 +24346,7 @@ module Aws::EC2
23515
24346
  # ID. For security groups in a nondefault VPC, use the `group-name`
23516
24347
  # filter to describe security groups by name.
23517
24348
  #
23518
- # Default: Describes all your security groups.
24349
+ # Default: Describes all of your security groups.
23519
24350
  #
23520
24351
  # @option params [Boolean] :dry_run
23521
24352
  # Checks whether you have the required permissions for the action,
@@ -23735,25 +24566,25 @@ module Aws::EC2
23735
24566
  # EBS snapshots available to you.
23736
24567
  #
23737
24568
  # The snapshots available to you include public snapshots, private
23738
- # snapshots that you own, and private snapshots owned by other AWS
23739
- # accounts for which you have explicit create volume permissions.
24569
+ # snapshots that you own, and private snapshots owned by other accounts
24570
+ # for which you have explicit create volume permissions.
23740
24571
  #
23741
24572
  # The create volume permissions fall into the following categories:
23742
24573
  #
23743
24574
  # * *public*\: The owner of the snapshot granted create volume
23744
- # permissions for the snapshot to the `all` group. All AWS accounts
23745
- # have create volume permissions for these snapshots.
24575
+ # permissions for the snapshot to the `all` group. All accounts have
24576
+ # create volume permissions for these snapshots.
23746
24577
  #
23747
24578
  # * *explicit*\: The owner of the snapshot granted create volume
23748
- # permissions to a specific AWS account.
24579
+ # permissions to a specific account.
23749
24580
  #
23750
- # * *implicit*\: An AWS account has implicit create volume permissions
23751
- # for all snapshots it owns.
24581
+ # * *implicit*\: An account has implicit create volume permissions for
24582
+ # all snapshots it owns.
23752
24583
  #
23753
24584
  # The list of snapshots returned can be filtered by specifying snapshot
23754
- # IDs, snapshot owners, or AWS accounts with create volume permissions.
23755
- # If no options are specified, Amazon EC2 returns all snapshots for
23756
- # which you have create volume permissions.
24585
+ # IDs, snapshot owners, or accounts with create volume permissions. If
24586
+ # no options are specified, Amazon EC2 returns all snapshots for which
24587
+ # you have create volume permissions.
23757
24588
  #
23758
24589
  # If you specify one or more snapshot IDs, only snapshots that have the
23759
24590
  # specified IDs are returned. If you specify an invalid snapshot ID, an
@@ -23762,12 +24593,12 @@ module Aws::EC2
23762
24593
  #
23763
24594
  # If you specify one or more snapshot owners using the `OwnerIds`
23764
24595
  # option, only snapshots from the specified owners and for which you
23765
- # have access are returned. The results can include the AWS account IDs
23766
- # of the specified owners, `amazon` for snapshots owned by Amazon, or
24596
+ # have access are returned. The results can include the account IDs of
24597
+ # the specified owners, `amazon` for snapshots owned by Amazon, or
23767
24598
  # `self` for snapshots that you own.
23768
24599
  #
23769
24600
  # If you specify a list of restorable users, only snapshots with create
23770
- # snapshot permissions for those users are returned. You can specify AWS
24601
+ # snapshot permissions for those users are returned. You can specify
23771
24602
  # account IDs (if you own the snapshots), `self` for snapshots for which
23772
24603
  # you own or have explicit permissions, or `all` for public snapshots.
23773
24604
  #
@@ -23798,12 +24629,12 @@ module Aws::EC2
23798
24629
  # `false`)
23799
24630
  #
23800
24631
  # * `owner-alias` - The owner alias, from an Amazon-maintained list
23801
- # (`amazon`). This is not the user-configured AWS account alias set
23802
- # using the IAM console. We recommend that you use the related
23803
- # parameter instead of this filter.
24632
+ # (`amazon`). This is not the user-configured account alias set using
24633
+ # the IAM console. We recommend that you use the related parameter
24634
+ # instead of this filter.
23804
24635
  #
23805
- # * `owner-id` - The AWS account ID of the owner. We recommend that you
23806
- # use the related parameter instead of this filter.
24636
+ # * `owner-id` - The account ID of the owner. We recommend that you use
24637
+ # the related parameter instead of this filter.
23807
24638
  #
23808
24639
  # * `progress` - The progress of the snapshot, as a percentage (for
23809
24640
  # example, 80%).
@@ -23850,10 +24681,10 @@ module Aws::EC2
23850
24681
  #
23851
24682
  # @option params [Array<String>] :owner_ids
23852
24683
  # Scopes the results to snapshots with the specified owners. You can
23853
- # specify a combination of AWS account IDs, `self`, and `amazon`.
24684
+ # specify a combination of account IDs, `self`, and `amazon`.
23854
24685
  #
23855
24686
  # @option params [Array<String>] :restorable_by_user_ids
23856
- # The IDs of the AWS accounts that can create volumes from the snapshot.
24687
+ # The IDs of the accounts that can create volumes from the snapshot.
23857
24688
  #
23858
24689
  # @option params [Array<String>] :snapshot_ids
23859
24690
  # The snapshot IDs.
@@ -24403,6 +25234,12 @@ module Aws::EC2
24403
25234
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].associate_carrier_ip_address #=> Boolean
24404
25235
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].interface_type #=> String
24405
25236
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].network_card_index #=> Integer
25237
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].ipv_4_prefixes #=> Array
25238
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
25239
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].ipv_4_prefix_count #=> Integer
25240
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].ipv_6_prefixes #=> Array
25241
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
25242
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].network_interfaces[0].ipv_6_prefix_count #=> Integer
24406
25243
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.availability_zone #=> String
24407
25244
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.group_name #=> String
24408
25245
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].placement.tenancy #=> String, one of "default", "dedicated", "host"
@@ -24412,7 +25249,7 @@ module Aws::EC2
24412
25249
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].user_data #=> String
24413
25250
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].weighted_capacity #=> Float
24414
25251
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications #=> Array
24415
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
25252
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
24416
25253
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags #=> Array
24417
25254
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].key #=> String
24418
25255
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].value #=> String
@@ -24445,7 +25282,7 @@ module Aws::EC2
24445
25282
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
24446
25283
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.context #=> String
24447
25284
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
24448
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
25285
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
24449
25286
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
24450
25287
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
24451
25288
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
@@ -24760,6 +25597,12 @@ module Aws::EC2
24760
25597
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].associate_carrier_ip_address #=> Boolean
24761
25598
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
24762
25599
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].network_card_index #=> Integer
25600
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_4_prefixes #=> Array
25601
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
25602
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_4_prefix_count #=> Integer
25603
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_6_prefixes #=> Array
25604
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
25605
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_6_prefix_count #=> Integer
24763
25606
  # resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
24764
25607
  # resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
24765
25608
  # resp.spot_instance_requests[0].launch_specification.placement.tenancy #=> String, one of "default", "dedicated", "host"
@@ -25133,7 +25976,7 @@ module Aws::EC2
25133
25976
 
25134
25977
  # Describes one or more of your subnets.
25135
25978
  #
25136
- # For more information, see [Your VPC and Subnets][1] in the *Amazon
25979
+ # For more information, see [Your VPC and subnets][1] in the *Amazon
25137
25980
  # Virtual Private Cloud User Guide*.
25138
25981
  #
25139
25982
  #
@@ -25172,7 +26015,7 @@ module Aws::EC2
25172
26015
  #
25173
26016
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
25174
26017
  #
25175
- # * `owner-id` - The ID of the AWS account that owns the subnet.
26018
+ # * `owner-id` - The ID of the account that owns the subnet.
25176
26019
  #
25177
26020
  # * `state` - The state of the subnet (`pending` \| `available`).
25178
26021
  #
@@ -25415,7 +26258,7 @@ module Aws::EC2
25415
26258
  # resp.tags #=> Array
25416
26259
  # resp.tags[0].key #=> String
25417
26260
  # resp.tags[0].resource_id #=> String
25418
- # resp.tags[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
26261
+ # resp.tags[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
25419
26262
  # resp.tags[0].value #=> String
25420
26263
  #
25421
26264
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags AWS API Documentation
@@ -26579,8 +27422,8 @@ module Aws::EC2
26579
27422
  # check fails, the overall status is `impaired`. If the status is
26580
27423
  # `insufficient-data`, then the checks might still be taking place on
26581
27424
  # your volume at the time. We recommend that you retry the request. For
26582
- # more information about volume status, see [Monitoring the status of
26583
- # your volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
27425
+ # more information about volume status, see [Monitor the status of your
27426
+ # volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
26584
27427
  #
26585
27428
  # *Events*\: Reflect the cause of a volume status and might require you
26586
27429
  # to take action. For example, if your volume returns an `impaired`
@@ -27045,13 +27888,13 @@ module Aws::EC2
27045
27888
  # You can also use CloudWatch Events to check the status of a
27046
27889
  # modification to an EBS volume. For information about CloudWatch
27047
27890
  # Events, see the [Amazon CloudWatch Events User Guide][1]. For more
27048
- # information, see [Monitoring volume modifications][2] in the *Amazon
27049
- # Elastic Compute Cloud User Guide*.
27891
+ # information, see [Monitor the progress of volume modifications][2] in
27892
+ # the *Amazon Elastic Compute Cloud User Guide*.
27050
27893
  #
27051
27894
  #
27052
27895
  #
27053
27896
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
27054
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#monitoring_mods
27897
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html
27055
27898
  #
27056
27899
  # @option params [Boolean] :dry_run
27057
27900
  # Checks whether you have the required permissions for the action,
@@ -27904,8 +28747,8 @@ module Aws::EC2
27904
28747
  # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
27905
28748
  # VPC.
27906
28749
  #
27907
- # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
27908
- # the accepter VPC.
28750
+ # * `accepter-vpc-info.owner-id` - The ID of the account that owns the
28751
+ # accepter VPC.
27909
28752
  #
27910
28753
  # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
27911
28754
  #
@@ -27915,8 +28758,8 @@ module Aws::EC2
27915
28758
  # * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
27916
28759
  # requester's VPC.
27917
28760
  #
27918
- # * `requester-vpc-info.owner-id` - The AWS account ID of the owner of
27919
- # the requester VPC.
28761
+ # * `requester-vpc-info.owner-id` - The ID of the account that owns the
28762
+ # requester VPC.
27920
28763
  #
27921
28764
  # * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
27922
28765
  #
@@ -28062,9 +28905,9 @@ module Aws::EC2
28062
28905
  # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
28063
28906
  # block associated with the VPC.
28064
28907
  #
28065
- # * `isDefault` - Indicates whether the VPC is the default VPC.
28908
+ # * `is-default` - Indicates whether the VPC is the default VPC.
28066
28909
  #
28067
- # * `owner-id` - The ID of the AWS account that owns the VPC.
28910
+ # * `owner-id` - The ID of the account that owns the VPC.
28068
28911
  #
28069
28912
  # * `state` - The state of the VPC (`pending` \| `available`).
28070
28913
  #
@@ -28601,10 +29444,10 @@ module Aws::EC2
28601
29444
  # root device of an instance, it can't be detached while the instance
28602
29445
  # is running. To detach the root volume, stop the instance first.
28603
29446
  #
28604
- # When a volume with an AWS Marketplace product code is detached from an
29447
+ # When a volume with an Marketplace product code is detached from an
28605
29448
  # instance, the product code is no longer associated with the instance.
28606
29449
  #
28607
- # For more information, see [Detaching an Amazon EBS volume][1] in the
29450
+ # For more information, see [Detach an Amazon EBS volume][1] in the
28608
29451
  # *Amazon Elastic Compute Cloud User Guide*.
28609
29452
  #
28610
29453
  #
@@ -29194,14 +30037,13 @@ module Aws::EC2
29194
30037
  req.send_request(options)
29195
30038
  end
29196
30039
 
29197
- # Disassociates an IAM role from an AWS Certificate Manager (ACM)
30040
+ # Disassociates an IAM role from an Certificate Manager (ACM)
29198
30041
  # certificate. Disassociating an IAM role from an ACM certificate
29199
30042
  # removes the Amazon S3 object that contains the certificate,
29200
30043
  # certificate chain, and encrypted private key from the Amazon S3
29201
- # bucket. It also revokes the IAM role's permission to use the AWS Key
29202
- # Management Service (KMS) customer master key (CMK) used to encrypt the
29203
- # private key. This effectively revokes the role's permission to use
29204
- # the certificate.
30044
+ # bucket. It also revokes the IAM role's permission to use the KMS key
30045
+ # used to encrypt the private key. This effectively revokes the role's
30046
+ # permission to use the certificate.
29205
30047
  #
29206
30048
  # @option params [String] :certificate_arn
29207
30049
  # The ARN of the ACM certificate from which to disassociate the IAM
@@ -29299,11 +30141,84 @@ module Aws::EC2
29299
30141
  req.send_request(options)
29300
30142
  end
29301
30143
 
30144
+ # Disassociates one or more targets from an event window.
30145
+ #
30146
+ # For more information, see [Define event windows for scheduled
30147
+ # events][1] in the *Amazon EC2 User Guide*.
30148
+ #
30149
+ #
30150
+ #
30151
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html
30152
+ #
30153
+ # @option params [Boolean] :dry_run
30154
+ # Checks whether you have the required permissions for the action,
30155
+ # without actually making the request, and provides an error response.
30156
+ # If you have the required permissions, the error response is
30157
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
30158
+ #
30159
+ # @option params [required, String] :instance_event_window_id
30160
+ # The ID of the event window.
30161
+ #
30162
+ # @option params [required, Types::InstanceEventWindowDisassociationRequest] :association_target
30163
+ # One or more targets to disassociate from the specified event window.
30164
+ #
30165
+ # @return [Types::DisassociateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
30166
+ #
30167
+ # * {Types::DisassociateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
30168
+ #
30169
+ # @example Request syntax with placeholder values
30170
+ #
30171
+ # resp = client.disassociate_instance_event_window({
30172
+ # dry_run: false,
30173
+ # instance_event_window_id: "InstanceEventWindowId", # required
30174
+ # association_target: { # required
30175
+ # instance_ids: ["InstanceId"],
30176
+ # instance_tags: [
30177
+ # {
30178
+ # key: "String",
30179
+ # value: "String",
30180
+ # },
30181
+ # ],
30182
+ # dedicated_host_ids: ["DedicatedHostId"],
30183
+ # },
30184
+ # })
30185
+ #
30186
+ # @example Response structure
30187
+ #
30188
+ # resp.instance_event_window.instance_event_window_id #=> String
30189
+ # resp.instance_event_window.time_ranges #=> Array
30190
+ # resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
30191
+ # resp.instance_event_window.time_ranges[0].start_hour #=> Integer
30192
+ # resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
30193
+ # resp.instance_event_window.time_ranges[0].end_hour #=> Integer
30194
+ # resp.instance_event_window.name #=> String
30195
+ # resp.instance_event_window.cron_expression #=> String
30196
+ # resp.instance_event_window.association_target.instance_ids #=> Array
30197
+ # resp.instance_event_window.association_target.instance_ids[0] #=> String
30198
+ # resp.instance_event_window.association_target.tags #=> Array
30199
+ # resp.instance_event_window.association_target.tags[0].key #=> String
30200
+ # resp.instance_event_window.association_target.tags[0].value #=> String
30201
+ # resp.instance_event_window.association_target.dedicated_host_ids #=> Array
30202
+ # resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
30203
+ # resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
30204
+ # resp.instance_event_window.tags #=> Array
30205
+ # resp.instance_event_window.tags[0].key #=> String
30206
+ # resp.instance_event_window.tags[0].value #=> String
30207
+ #
30208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateInstanceEventWindow AWS API Documentation
30209
+ #
30210
+ # @overload disassociate_instance_event_window(params = {})
30211
+ # @param [Hash] params ({})
30212
+ def disassociate_instance_event_window(params = {}, options = {})
30213
+ req = build_request(:disassociate_instance_event_window, params)
30214
+ req.send_request(options)
30215
+ end
30216
+
29302
30217
  # Disassociates a subnet or gateway from a route table.
29303
30218
  #
29304
30219
  # After you perform this action, the subnet no longer uses the routes in
29305
30220
  # the route table. Instead, it uses the routes in the VPC's main route
29306
- # table. For more information about route tables, see [Route Tables][1]
30221
+ # table. For more information about route tables, see [Route tables][1]
29307
30222
  # in the *Amazon Virtual Private Cloud User Guide*.
29308
30223
  #
29309
30224
  #
@@ -29580,12 +30495,12 @@ module Aws::EC2
29580
30495
  # Region.
29581
30496
  #
29582
30497
  # After you enable encryption by default, the EBS volumes that you
29583
- # create are always encrypted, either using the default CMK or the CMK
29584
- # that you specified when you created each volume. For more information,
29585
- # see [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud
29586
- # User Guide*.
30498
+ # create are always encrypted, either using the default KMS key or the
30499
+ # KMS key that you specified when you created each volume. For more
30500
+ # information, see [Amazon EBS encryption][1] in the *Amazon Elastic
30501
+ # Compute Cloud User Guide*.
29587
30502
  #
29588
- # You can specify the default CMK for encryption by default using
30503
+ # You can specify the default KMS key for encryption by default using
29589
30504
  # ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
29590
30505
  #
29591
30506
  # Enabling encryption by default has no effect on the encryption status
@@ -29650,7 +30565,7 @@ module Aws::EC2
29650
30565
  # @option params [required, Array<String>] :source_snapshot_ids
29651
30566
  # The IDs of one or more snapshots. For example,
29652
30567
  # `snap-1234567890abcdef0`. You can specify a snapshot that was shared
29653
- # with you from another AWS account.
30568
+ # with you from another account.
29654
30569
  #
29655
30570
  # @option params [Boolean] :dry_run
29656
30571
  # Checks whether you have the required permissions for the action,
@@ -30156,7 +31071,7 @@ module Aws::EC2
30156
31071
  # role_name: "String",
30157
31072
  # tag_specifications: [
30158
31073
  # {
30159
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
31074
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
30160
31075
  # tags: [
30161
31076
  # {
30162
31077
  # key: "String",
@@ -30277,12 +31192,11 @@ module Aws::EC2
30277
31192
  req.send_request(options)
30278
31193
  end
30279
31194
 
30280
- # Returns the IAM roles that are associated with the specified AWS
30281
- # Certificate Manager (ACM) certificate. It also returns the name of the
30282
- # Amazon S3 bucket and the Amazon S3 object key where the certificate,
30283
- # certificate chain, and encrypted private key bundle are stored, and
30284
- # the ARN of the AWS Key Management Service (KMS) customer master key
30285
- # (CMK) that's used to encrypt the private key.
31195
+ # Returns the IAM roles that are associated with the specified ACM (ACM)
31196
+ # certificate. It also returns the name of the Amazon S3 bucket and the
31197
+ # Amazon S3 object key where the certificate, certificate chain, and
31198
+ # encrypted private key bundle are stored, and the ARN of the KMS key
31199
+ # that's used to encrypt the private key.
30286
31200
  #
30287
31201
  # @option params [String] :certificate_arn
30288
31202
  # The ARN of the ACM certificate for which to view the associated IAM
@@ -30694,9 +31608,9 @@ module Aws::EC2
30694
31608
  req.send_request(options)
30695
31609
  end
30696
31610
 
30697
- # Describes the default customer master key (CMK) for EBS encryption by
30698
- # default for your account in this Region. You can change the default
30699
- # CMK for encryption by default using ModifyEbsDefaultKmsKeyId or
31611
+ # Describes the default KMS key for EBS encryption by default for your
31612
+ # account in this Region. You can change the default KMS key for
31613
+ # encryption by default using ModifyEbsDefaultKmsKeyId or
30700
31614
  # ResetEbsDefaultKmsKeyId.
30701
31615
  #
30702
31616
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
@@ -31078,6 +31992,12 @@ module Aws::EC2
31078
31992
  # resp.launch_template_data.network_interfaces[0].secondary_private_ip_address_count #=> Integer
31079
31993
  # resp.launch_template_data.network_interfaces[0].subnet_id #=> String
31080
31994
  # resp.launch_template_data.network_interfaces[0].network_card_index #=> Integer
31995
+ # resp.launch_template_data.network_interfaces[0].ipv_4_prefixes #=> Array
31996
+ # resp.launch_template_data.network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
31997
+ # resp.launch_template_data.network_interfaces[0].ipv_4_prefix_count #=> Integer
31998
+ # resp.launch_template_data.network_interfaces[0].ipv_6_prefixes #=> Array
31999
+ # resp.launch_template_data.network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
32000
+ # resp.launch_template_data.network_interfaces[0].ipv_6_prefix_count #=> Integer
31081
32001
  # resp.launch_template_data.image_id #=> String
31082
32002
  # resp.launch_template_data.instance_type #=> String, one of "t1.micro", "t2.nano", "t2.micro", "t2.small", "t2.medium", "t2.large", "t2.xlarge", "t2.2xlarge", "t3.nano", "t3.micro", "t3.small", "t3.medium", "t3.large", "t3.xlarge", "t3.2xlarge", "t3a.nano", "t3a.micro", "t3a.small", "t3a.medium", "t3a.large", "t3a.xlarge", "t3a.2xlarge", "t4g.nano", "t4g.micro", "t4g.small", "t4g.medium", "t4g.large", "t4g.xlarge", "t4g.2xlarge", "m1.small", "m1.medium", "m1.large", "m1.xlarge", "m3.medium", "m3.large", "m3.xlarge", "m3.2xlarge", "m4.large", "m4.xlarge", "m4.2xlarge", "m4.4xlarge", "m4.10xlarge", "m4.16xlarge", "m2.xlarge", "m2.2xlarge", "m2.4xlarge", "cr1.8xlarge", "r3.large", "r3.xlarge", "r3.2xlarge", "r3.4xlarge", "r3.8xlarge", "r4.large", "r4.xlarge", "r4.2xlarge", "r4.4xlarge", "r4.8xlarge", "r4.16xlarge", "r5.large", "r5.xlarge", "r5.2xlarge", "r5.4xlarge", "r5.8xlarge", "r5.12xlarge", "r5.16xlarge", "r5.24xlarge", "r5.metal", "r5a.large", "r5a.xlarge", "r5a.2xlarge", "r5a.4xlarge", "r5a.8xlarge", "r5a.12xlarge", "r5a.16xlarge", "r5a.24xlarge", "r5b.large", "r5b.xlarge", "r5b.2xlarge", "r5b.4xlarge", "r5b.8xlarge", "r5b.12xlarge", "r5b.16xlarge", "r5b.24xlarge", "r5b.metal", "r5d.large", "r5d.xlarge", "r5d.2xlarge", "r5d.4xlarge", "r5d.8xlarge", "r5d.12xlarge", "r5d.16xlarge", "r5d.24xlarge", "r5d.metal", "r5ad.large", "r5ad.xlarge", "r5ad.2xlarge", "r5ad.4xlarge", "r5ad.8xlarge", "r5ad.12xlarge", "r5ad.16xlarge", "r5ad.24xlarge", "r6g.metal", "r6g.medium", "r6g.large", "r6g.xlarge", "r6g.2xlarge", "r6g.4xlarge", "r6g.8xlarge", "r6g.12xlarge", "r6g.16xlarge", "r6gd.metal", "r6gd.medium", "r6gd.large", "r6gd.xlarge", "r6gd.2xlarge", "r6gd.4xlarge", "r6gd.8xlarge", "r6gd.12xlarge", "r6gd.16xlarge", "x1.16xlarge", "x1.32xlarge", "x1e.xlarge", "x1e.2xlarge", "x1e.4xlarge", "x1e.8xlarge", "x1e.16xlarge", "x1e.32xlarge", "i2.xlarge", "i2.2xlarge", "i2.4xlarge", "i2.8xlarge", "i3.large", "i3.xlarge", "i3.2xlarge", "i3.4xlarge", "i3.8xlarge", "i3.16xlarge", "i3.metal", "i3en.large", "i3en.xlarge", "i3en.2xlarge", "i3en.3xlarge", "i3en.6xlarge", "i3en.12xlarge", "i3en.24xlarge", "i3en.metal", "hi1.4xlarge", "hs1.8xlarge", "c1.medium", "c1.xlarge", "c3.large", "c3.xlarge", "c3.2xlarge", "c3.4xlarge", "c3.8xlarge", "c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "c5.large", "c5.xlarge", "c5.2xlarge", "c5.4xlarge", "c5.9xlarge", "c5.12xlarge", "c5.18xlarge", "c5.24xlarge", "c5.metal", "c5a.large", "c5a.xlarge", "c5a.2xlarge", "c5a.4xlarge", "c5a.8xlarge", "c5a.12xlarge", "c5a.16xlarge", "c5a.24xlarge", "c5ad.large", "c5ad.xlarge", "c5ad.2xlarge", "c5ad.4xlarge", "c5ad.8xlarge", "c5ad.12xlarge", "c5ad.16xlarge", "c5ad.24xlarge", "c5d.large", "c5d.xlarge", "c5d.2xlarge", "c5d.4xlarge", "c5d.9xlarge", "c5d.12xlarge", "c5d.18xlarge", "c5d.24xlarge", "c5d.metal", "c5n.large", "c5n.xlarge", "c5n.2xlarge", "c5n.4xlarge", "c5n.9xlarge", "c5n.18xlarge", "c5n.metal", "c6g.metal", "c6g.medium", "c6g.large", "c6g.xlarge", "c6g.2xlarge", "c6g.4xlarge", "c6g.8xlarge", "c6g.12xlarge", "c6g.16xlarge", "c6gd.metal", "c6gd.medium", "c6gd.large", "c6gd.xlarge", "c6gd.2xlarge", "c6gd.4xlarge", "c6gd.8xlarge", "c6gd.12xlarge", "c6gd.16xlarge", "c6gn.medium", "c6gn.large", "c6gn.xlarge", "c6gn.2xlarge", "c6gn.4xlarge", "c6gn.8xlarge", "c6gn.12xlarge", "c6gn.16xlarge", "cc1.4xlarge", "cc2.8xlarge", "g2.2xlarge", "g2.8xlarge", "g3.4xlarge", "g3.8xlarge", "g3.16xlarge", "g3s.xlarge", "g4ad.4xlarge", "g4ad.8xlarge", "g4ad.16xlarge", "g4dn.xlarge", "g4dn.2xlarge", "g4dn.4xlarge", "g4dn.8xlarge", "g4dn.12xlarge", "g4dn.16xlarge", "g4dn.metal", "cg1.4xlarge", "p2.xlarge", "p2.8xlarge", "p2.16xlarge", "p3.2xlarge", "p3.8xlarge", "p3.16xlarge", "p3dn.24xlarge", "p4d.24xlarge", "d2.xlarge", "d2.2xlarge", "d2.4xlarge", "d2.8xlarge", "d3.xlarge", "d3.2xlarge", "d3.4xlarge", "d3.8xlarge", "d3en.xlarge", "d3en.2xlarge", "d3en.4xlarge", "d3en.6xlarge", "d3en.8xlarge", "d3en.12xlarge", "f1.2xlarge", "f1.4xlarge", "f1.16xlarge", "m5.large", "m5.xlarge", "m5.2xlarge", "m5.4xlarge", "m5.8xlarge", "m5.12xlarge", "m5.16xlarge", "m5.24xlarge", "m5.metal", "m5a.large", "m5a.xlarge", "m5a.2xlarge", "m5a.4xlarge", "m5a.8xlarge", "m5a.12xlarge", "m5a.16xlarge", "m5a.24xlarge", "m5d.large", "m5d.xlarge", "m5d.2xlarge", "m5d.4xlarge", "m5d.8xlarge", "m5d.12xlarge", "m5d.16xlarge", "m5d.24xlarge", "m5d.metal", "m5ad.large", "m5ad.xlarge", "m5ad.2xlarge", "m5ad.4xlarge", "m5ad.8xlarge", "m5ad.12xlarge", "m5ad.16xlarge", "m5ad.24xlarge", "m5zn.large", "m5zn.xlarge", "m5zn.2xlarge", "m5zn.3xlarge", "m5zn.6xlarge", "m5zn.12xlarge", "m5zn.metal", "h1.2xlarge", "h1.4xlarge", "h1.8xlarge", "h1.16xlarge", "z1d.large", "z1d.xlarge", "z1d.2xlarge", "z1d.3xlarge", "z1d.6xlarge", "z1d.12xlarge", "z1d.metal", "u-6tb1.56xlarge", "u-6tb1.112xlarge", "u-9tb1.112xlarge", "u-12tb1.112xlarge", "u-6tb1.metal", "u-9tb1.metal", "u-12tb1.metal", "u-18tb1.metal", "u-24tb1.metal", "a1.medium", "a1.large", "a1.xlarge", "a1.2xlarge", "a1.4xlarge", "a1.metal", "m5dn.large", "m5dn.xlarge", "m5dn.2xlarge", "m5dn.4xlarge", "m5dn.8xlarge", "m5dn.12xlarge", "m5dn.16xlarge", "m5dn.24xlarge", "m5dn.metal", "m5n.large", "m5n.xlarge", "m5n.2xlarge", "m5n.4xlarge", "m5n.8xlarge", "m5n.12xlarge", "m5n.16xlarge", "m5n.24xlarge", "m5n.metal", "r5dn.large", "r5dn.xlarge", "r5dn.2xlarge", "r5dn.4xlarge", "r5dn.8xlarge", "r5dn.12xlarge", "r5dn.16xlarge", "r5dn.24xlarge", "r5dn.metal", "r5n.large", "r5n.xlarge", "r5n.2xlarge", "r5n.4xlarge", "r5n.8xlarge", "r5n.12xlarge", "r5n.16xlarge", "r5n.24xlarge", "r5n.metal", "inf1.xlarge", "inf1.2xlarge", "inf1.6xlarge", "inf1.24xlarge", "m6g.metal", "m6g.medium", "m6g.large", "m6g.xlarge", "m6g.2xlarge", "m6g.4xlarge", "m6g.8xlarge", "m6g.12xlarge", "m6g.16xlarge", "m6gd.metal", "m6gd.medium", "m6gd.large", "m6gd.xlarge", "m6gd.2xlarge", "m6gd.4xlarge", "m6gd.8xlarge", "m6gd.12xlarge", "m6gd.16xlarge", "mac1.metal", "x2gd.medium", "x2gd.large", "x2gd.xlarge", "x2gd.2xlarge", "x2gd.4xlarge", "x2gd.8xlarge", "x2gd.12xlarge", "x2gd.16xlarge", "x2gd.metal"
31083
32003
  # resp.launch_template_data.key_name #=> String
@@ -31095,7 +32015,7 @@ module Aws::EC2
31095
32015
  # resp.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
31096
32016
  # resp.launch_template_data.user_data #=> String
31097
32017
  # resp.launch_template_data.tag_specifications #=> Array
31098
- # resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "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", "network-insights-analysis", "network-insights-path", "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-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
32018
+ # resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "client-vpn-endpoint", "customer-gateway", "dedicated-host", "dhcp-options", "egress-only-internet-gateway", "elastic-ip", "elastic-gpu", "export-image-task", "export-instance-task", "fleet", "fpga-image", "host-reservation", "image", "import-image-task", "import-snapshot-task", "instance", "instance-event-window", "internet-gateway", "key-pair", "launch-template", "local-gateway-route-table-vpc-association", "natgateway", "network-acl", "network-interface", "network-insights-analysis", "network-insights-path", "placement-group", "reserved-instances", "route-table", "security-group", "security-group-rule", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway", "vpc-flow-log"
31099
32019
  # resp.launch_template_data.tag_specifications[0].tags #=> Array
31100
32020
  # resp.launch_template_data.tag_specifications[0].tags[0].key #=> String
31101
32021
  # resp.launch_template_data.tag_specifications[0].tags[0].value #=> String
@@ -31432,6 +32352,97 @@ module Aws::EC2
31432
32352
  req.send_request(options)
31433
32353
  end
31434
32354
 
32355
+ # Gets information about the subnet CIDR reservations.
32356
+ #
32357
+ # @option params [Array<Types::Filter>] :filters
32358
+ # One or more filters.
32359
+ #
32360
+ # * `reservationType` - The type of reservation (`prefix` \|
32361
+ # `explicit`).
32362
+ #
32363
+ # * `subnet-id` - The ID of the subnet.
32364
+ #
32365
+ # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
32366
+ # the resource. Use the tag key in the filter name and the tag value
32367
+ # as the filter value. For example, to find all resources that have a
32368
+ # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
32369
+ # for the filter name and `TeamA` for the filter value.
32370
+ #
32371
+ # * `tag-key` - The key of a tag assigned to the resource. Use this
32372
+ # filter to find all resources assigned a tag with a specific key,
32373
+ # regardless of the tag value.
32374
+ #
32375
+ # @option params [required, String] :subnet_id
32376
+ # The ID of the subnet.
32377
+ #
32378
+ # @option params [Boolean] :dry_run
32379
+ # Checks whether you have the required permissions for the action,
32380
+ # without actually making the request, and provides an error response.
32381
+ # If you have the required permissions, the error response is
32382
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
32383
+ #
32384
+ # @option params [String] :next_token
32385
+ # The token for the next page of results.
32386
+ #
32387
+ # @option params [Integer] :max_results
32388
+ # The maximum number of results to return with a single call. To
32389
+ # retrieve the remaining results, make another call with the returned
32390
+ # `nextToken` value.
32391
+ #
32392
+ # @return [Types::GetSubnetCidrReservationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
32393
+ #
32394
+ # * {Types::GetSubnetCidrReservationsResult#subnet_ipv_4_cidr_reservations #subnet_ipv_4_cidr_reservations} => Array&lt;Types::SubnetCidrReservation&gt;
32395
+ # * {Types::GetSubnetCidrReservationsResult#subnet_ipv_6_cidr_reservations #subnet_ipv_6_cidr_reservations} => Array&lt;Types::SubnetCidrReservation&gt;
32396
+ # * {Types::GetSubnetCidrReservationsResult#next_token #next_token} => String
32397
+ #
32398
+ # @example Request syntax with placeholder values
32399
+ #
32400
+ # resp = client.get_subnet_cidr_reservations({
32401
+ # filters: [
32402
+ # {
32403
+ # name: "String",
32404
+ # values: ["String"],
32405
+ # },
32406
+ # ],
32407
+ # subnet_id: "SubnetId", # required
32408
+ # dry_run: false,
32409
+ # next_token: "String",
32410
+ # max_results: 1,
32411
+ # })
32412
+ #
32413
+ # @example Response structure
32414
+ #
32415
+ # resp.subnet_ipv_4_cidr_reservations #=> Array
32416
+ # resp.subnet_ipv_4_cidr_reservations[0].subnet_cidr_reservation_id #=> String
32417
+ # resp.subnet_ipv_4_cidr_reservations[0].subnet_id #=> String
32418
+ # resp.subnet_ipv_4_cidr_reservations[0].cidr #=> String
32419
+ # resp.subnet_ipv_4_cidr_reservations[0].reservation_type #=> String, one of "prefix", "explicit"
32420
+ # resp.subnet_ipv_4_cidr_reservations[0].owner_id #=> String
32421
+ # resp.subnet_ipv_4_cidr_reservations[0].description #=> String
32422
+ # resp.subnet_ipv_4_cidr_reservations[0].tags #=> Array
32423
+ # resp.subnet_ipv_4_cidr_reservations[0].tags[0].key #=> String
32424
+ # resp.subnet_ipv_4_cidr_reservations[0].tags[0].value #=> String
32425
+ # resp.subnet_ipv_6_cidr_reservations #=> Array
32426
+ # resp.subnet_ipv_6_cidr_reservations[0].subnet_cidr_reservation_id #=> String
32427
+ # resp.subnet_ipv_6_cidr_reservations[0].subnet_id #=> String
32428
+ # resp.subnet_ipv_6_cidr_reservations[0].cidr #=> String
32429
+ # resp.subnet_ipv_6_cidr_reservations[0].reservation_type #=> String, one of "prefix", "explicit"
32430
+ # resp.subnet_ipv_6_cidr_reservations[0].owner_id #=> String
32431
+ # resp.subnet_ipv_6_cidr_reservations[0].description #=> String
32432
+ # resp.subnet_ipv_6_cidr_reservations[0].tags #=> Array
32433
+ # resp.subnet_ipv_6_cidr_reservations[0].tags[0].key #=> String
32434
+ # resp.subnet_ipv_6_cidr_reservations[0].tags[0].value #=> String
32435
+ # resp.next_token #=> String
32436
+ #
32437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSubnetCidrReservations AWS API Documentation
32438
+ #
32439
+ # @overload get_subnet_cidr_reservations(params = {})
32440
+ # @param [Hash] params ({})
32441
+ def get_subnet_cidr_reservations(params = {}, options = {})
32442
+ req = build_request(:get_subnet_cidr_reservations, params)
32443
+ req.send_request(options)
32444
+ end
32445
+
31435
32446
  # Lists the route tables to which the specified resource attachment
31436
32447
  # propagates routes.
31437
32448
  #
@@ -32029,7 +33040,7 @@ module Aws::EC2
32029
33040
  # ],
32030
33041
  # tag_specifications: [
32031
33042
  # {
32032
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
33043
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
32033
33044
  # tags: [
32034
33045
  # {
32035
33046
  # key: "String",
@@ -32211,11 +33222,12 @@ module Aws::EC2
32211
33222
  end
32212
33223
 
32213
33224
  # Imports the public key from an RSA key pair that you created with a
32214
- # third-party tool. Compare this with CreateKeyPair, in which AWS
32215
- # creates the key pair and gives the keys to you (AWS keeps a copy of
32216
- # the public key). With ImportKeyPair, you create the key pair and give
32217
- # AWS just the public key. The private key is never transferred between
32218
- # you and AWS.
33225
+ # third-party tool. Compare this with CreateKeyPair, in which Amazon Web
33226
+ # Services creates the key pair and gives the keys to you (Amazon Web
33227
+ # Services keeps a copy of the public key). With ImportKeyPair, you
33228
+ # create the key pair and give Amazon Web Services just the public key.
33229
+ # The private key is never transferred between you and Amazon Web
33230
+ # Services.
32219
33231
  #
32220
33232
  # For more information about key pairs, see [Key Pairs][1] in the
32221
33233
  # *Amazon Elastic Compute Cloud User Guide*.
@@ -32255,7 +33267,7 @@ module Aws::EC2
32255
33267
  # public_key_material: "data", # required
32256
33268
  # tag_specifications: [
32257
33269
  # {
32258
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
33270
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
32259
33271
  # tags: [
32260
33272
  # {
32261
33273
  # key: "String",
@@ -32398,7 +33410,7 @@ module Aws::EC2
32398
33410
  # role_name: "String",
32399
33411
  # tag_specifications: [
32400
33412
  # {
32401
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
33413
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
32402
33414
  # tags: [
32403
33415
  # {
32404
33416
  # key: "String",
@@ -32898,18 +33910,20 @@ module Aws::EC2
32898
33910
  req.send_request(options)
32899
33911
  end
32900
33912
 
32901
- # Changes the default customer master key (CMK) for EBS encryption by
32902
- # default for your account in this Region.
33913
+ # Changes the default KMS key for EBS encryption by default for your
33914
+ # account in this Region.
32903
33915
  #
32904
- # AWS creates a unique AWS managed CMK in each Region for use with
32905
- # encryption by default. If you change the default CMK to a symmetric
32906
- # customer managed CMK, it is used instead of the AWS managed CMK. To
32907
- # reset the default CMK to the AWS managed CMK for EBS, use
32908
- # ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric CMKs.
33916
+ # Amazon Web Services creates a unique Amazon Web Services managed KMS
33917
+ # key in each Region for use with encryption by default. If you change
33918
+ # the default KMS key to a symmetric customer managed KMS key, it is
33919
+ # used instead of the Amazon Web Services managed KMS key. To reset the
33920
+ # default KMS key to the Amazon Web Services managed KMS key for EBS,
33921
+ # use ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric
33922
+ # KMS keys.
32909
33923
  #
32910
- # If you delete or disable the customer managed CMK that you specified
32911
- # for use with encryption by default, your instances will fail to
32912
- # launch.
33924
+ # If you delete or disable the customer managed KMS key that you
33925
+ # specified for use with encryption by default, your instances will fail
33926
+ # to launch.
32913
33927
  #
32914
33928
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
32915
33929
  # Elastic Compute Cloud User Guide*.
@@ -32919,12 +33933,12 @@ module Aws::EC2
32919
33933
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
32920
33934
  #
32921
33935
  # @option params [required, String] :kms_key_id
32922
- # The identifier of the AWS Key Management Service (AWS KMS) customer
32923
- # master key (CMK) to use for Amazon EBS encryption. If this parameter
32924
- # is not specified, your AWS managed CMK for EBS is used. If `KmsKeyId`
32925
- # is specified, the encrypted state must be `true`.
33936
+ # The identifier of the Key Management Service (KMS) KMS key to use for
33937
+ # Amazon EBS encryption. If this parameter is not specified, your KMS
33938
+ # key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
33939
+ # state must be `true`.
32926
33940
  #
32927
- # You can specify the CMK using any of the following:
33941
+ # You can specify the KMS key using any of the following:
32928
33942
  #
32929
33943
  # * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
32930
33944
  #
@@ -32936,11 +33950,11 @@ module Aws::EC2
32936
33950
  # * Alias ARN. For example,
32937
33951
  # arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
32938
33952
  #
32939
- # AWS authenticates the CMK asynchronously. Therefore, if you specify an
32940
- # ID, alias, or ARN that is not valid, the action can appear to
32941
- # complete, but eventually fails.
33953
+ # Amazon Web Services authenticates the KMS key asynchronously.
33954
+ # Therefore, if you specify an ID, alias, or ARN that is not valid, the
33955
+ # action can appear to complete, but eventually fails.
32942
33956
  #
32943
- # Amazon EBS does not support asymmetric CMKs.
33957
+ # Amazon EBS does not support asymmetric KMS keys.
32944
33958
  #
32945
33959
  # @option params [Boolean] :dry_run
32946
33960
  # Checks whether you have the required permissions for the action,
@@ -33916,6 +34930,120 @@ module Aws::EC2
33916
34930
  req.send_request(options)
33917
34931
  end
33918
34932
 
34933
+ # Modifies the specified event window.
34934
+ #
34935
+ # You can define either a set of time ranges or a cron expression when
34936
+ # modifying the event window, but not both.
34937
+ #
34938
+ # To modify the targets associated with the event window, use the
34939
+ # AssociateInstanceEventWindow and DisassociateInstanceEventWindow API.
34940
+ #
34941
+ # If Amazon Web Services has already scheduled an event, modifying an
34942
+ # event window won't change the time of the scheduled event.
34943
+ #
34944
+ # For more information, see [Define event windows for scheduled
34945
+ # events][1] in the *Amazon EC2 User Guide*.
34946
+ #
34947
+ #
34948
+ #
34949
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html
34950
+ #
34951
+ # @option params [Boolean] :dry_run
34952
+ # Checks whether you have the required permissions for the action,
34953
+ # without actually making the request, and provides an error response.
34954
+ # If you have the required permissions, the error response is
34955
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
34956
+ #
34957
+ # @option params [String] :name
34958
+ # The name of the event window.
34959
+ #
34960
+ # @option params [required, String] :instance_event_window_id
34961
+ # The ID of the event window.
34962
+ #
34963
+ # @option params [Array<Types::InstanceEventWindowTimeRangeRequest>] :time_ranges
34964
+ # The time ranges of the event window.
34965
+ #
34966
+ # @option params [String] :cron_expression
34967
+ # The cron expression of the event window, for example, `* 0-4,20-23 * *
34968
+ # 1,5`.
34969
+ #
34970
+ # Constraints:
34971
+ #
34972
+ # * Only hour and day of the week values are supported.
34973
+ #
34974
+ # * For day of the week values, you can specify either integers `0`
34975
+ # through `6`, or alternative single values `SUN` through `SAT`.
34976
+ #
34977
+ # * The minute, month, and year must be specified by `*`.
34978
+ #
34979
+ # * The hour value must be one or a multiple range, for example, `0-4`
34980
+ # or `0-4,20-23`.
34981
+ #
34982
+ # * Each hour range must be &gt;= 2 hours, for example, `0-2` or
34983
+ # `20-23`.
34984
+ #
34985
+ # * The event window must be &gt;= 4 hours. The combined total time
34986
+ # ranges in the event window must be &gt;= 4 hours.
34987
+ #
34988
+ # For more information about cron expressions, see [cron][1] on the
34989
+ # *Wikipedia website*.
34990
+ #
34991
+ #
34992
+ #
34993
+ # [1]: https://en.wikipedia.org/wiki/Cron
34994
+ #
34995
+ # @return [Types::ModifyInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
34996
+ #
34997
+ # * {Types::ModifyInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
34998
+ #
34999
+ # @example Request syntax with placeholder values
35000
+ #
35001
+ # resp = client.modify_instance_event_window({
35002
+ # dry_run: false,
35003
+ # name: "String",
35004
+ # instance_event_window_id: "InstanceEventWindowId", # required
35005
+ # time_ranges: [
35006
+ # {
35007
+ # start_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
35008
+ # start_hour: 1,
35009
+ # end_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
35010
+ # end_hour: 1,
35011
+ # },
35012
+ # ],
35013
+ # cron_expression: "InstanceEventWindowCronExpression",
35014
+ # })
35015
+ #
35016
+ # @example Response structure
35017
+ #
35018
+ # resp.instance_event_window.instance_event_window_id #=> String
35019
+ # resp.instance_event_window.time_ranges #=> Array
35020
+ # resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
35021
+ # resp.instance_event_window.time_ranges[0].start_hour #=> Integer
35022
+ # resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
35023
+ # resp.instance_event_window.time_ranges[0].end_hour #=> Integer
35024
+ # resp.instance_event_window.name #=> String
35025
+ # resp.instance_event_window.cron_expression #=> String
35026
+ # resp.instance_event_window.association_target.instance_ids #=> Array
35027
+ # resp.instance_event_window.association_target.instance_ids[0] #=> String
35028
+ # resp.instance_event_window.association_target.tags #=> Array
35029
+ # resp.instance_event_window.association_target.tags[0].key #=> String
35030
+ # resp.instance_event_window.association_target.tags[0].value #=> String
35031
+ # resp.instance_event_window.association_target.dedicated_host_ids #=> Array
35032
+ # resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
35033
+ # resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
35034
+ # resp.instance_event_window.tags #=> Array
35035
+ # resp.instance_event_window.tags[0].key #=> String
35036
+ # resp.instance_event_window.tags[0].value #=> String
35037
+ #
35038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventWindow AWS API Documentation
35039
+ #
35040
+ # @overload modify_instance_event_window(params = {})
35041
+ # @param [Hash] params ({})
35042
+ def modify_instance_event_window(params = {}, options = {})
35043
+ req = build_request(:modify_instance_event_window, params)
35044
+ req.send_request(options)
35045
+ end
35046
+
33919
35047
  # Modify the instance metadata parameters on a running or stopped
33920
35048
  # instance. When you modify the parameters on a stopped instance, they
33921
35049
  # are applied when the instance is started. When you modify the
@@ -34429,20 +35557,72 @@ module Aws::EC2
34429
35557
  req.send_request(options)
34430
35558
  end
34431
35559
 
35560
+ # Modifies the rules of a security group.
35561
+ #
35562
+ # @option params [required, String] :group_id
35563
+ # The ID of the security group.
35564
+ #
35565
+ # @option params [required, Array<Types::SecurityGroupRuleUpdate>] :security_group_rules
35566
+ # Information about the security group properties to update.
35567
+ #
35568
+ # @option params [Boolean] :dry_run
35569
+ # Checks whether you have the required permissions for the action,
35570
+ # without actually making the request, and provides an error response.
35571
+ # If you have the required permissions, the error response is
35572
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
35573
+ #
35574
+ # @return [Types::ModifySecurityGroupRulesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
35575
+ #
35576
+ # * {Types::ModifySecurityGroupRulesResult#return #return} => Boolean
35577
+ #
35578
+ # @example Request syntax with placeholder values
35579
+ #
35580
+ # resp = client.modify_security_group_rules({
35581
+ # group_id: "SecurityGroupId", # required
35582
+ # security_group_rules: [ # required
35583
+ # {
35584
+ # security_group_rule_id: "SecurityGroupRuleId",
35585
+ # security_group_rule: {
35586
+ # ip_protocol: "String",
35587
+ # from_port: 1,
35588
+ # to_port: 1,
35589
+ # cidr_ipv_4: "String",
35590
+ # cidr_ipv_6: "String",
35591
+ # prefix_list_id: "PrefixListResourceId",
35592
+ # referenced_group_id: "SecurityGroupId",
35593
+ # description: "String",
35594
+ # },
35595
+ # },
35596
+ # ],
35597
+ # dry_run: false,
35598
+ # })
35599
+ #
35600
+ # @example Response structure
35601
+ #
35602
+ # resp.return #=> Boolean
35603
+ #
35604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySecurityGroupRules AWS API Documentation
35605
+ #
35606
+ # @overload modify_security_group_rules(params = {})
35607
+ # @param [Hash] params ({})
35608
+ def modify_security_group_rules(params = {}, options = {})
35609
+ req = build_request(:modify_security_group_rules, params)
35610
+ req.send_request(options)
35611
+ end
35612
+
34432
35613
  # Adds or removes permission settings for the specified snapshot. You
34433
- # may add or remove specified AWS account IDs from a snapshot's list of
35614
+ # may add or remove specified account IDs from a snapshot's list of
34434
35615
  # create volume permissions, but you cannot do both in a single
34435
35616
  # operation. If you need to both add and remove account IDs for a
34436
35617
  # snapshot, you must use multiple operations. You can make up to 500
34437
35618
  # modifications to a snapshot in a single operation.
34438
35619
  #
34439
- # Encrypted snapshots and snapshots with AWS Marketplace product codes
34440
- # cannot be made public. Snapshots encrypted with your default CMK
35620
+ # Encrypted snapshots and snapshots with Marketplace product codes
35621
+ # cannot be made public. Snapshots encrypted with your default KMS key
34441
35622
  # cannot be shared with other accounts.
34442
35623
  #
34443
- # For more information about modifying snapshot permissions, see
34444
- # [Sharing snapshots][1] in the *Amazon Elastic Compute Cloud User
34445
- # Guide*.
35624
+ # For more information about modifying snapshot permissions, see [Share
35625
+ # a snapshot][1] in the *Amazon Elastic Compute Cloud User Guide*.
34446
35626
  #
34447
35627
  #
34448
35628
  #
@@ -35242,45 +36422,38 @@ module Aws::EC2
35242
36422
  # volume size, volume type, and IOPS capacity. If your EBS volume is
35243
36423
  # attached to a current-generation EC2 instance type, you might be able
35244
36424
  # to apply these changes without stopping the instance or detaching the
35245
- # volume from it. For more information about modifying an EBS volume
35246
- # running Linux, see [Modifying the size, IOPS, or type of an EBS volume
35247
- # on Linux][1]. For more information about modifying an EBS volume
35248
- # running Windows, see [Modifying the size, IOPS, or type of an EBS
35249
- # volume on Windows][2].
36425
+ # volume from it. For more information about modifying EBS volumes, see
36426
+ # [Amazon EBS Elastic Volumes][1] (Linux instances) or [Amazon EBS
36427
+ # Elastic Volumes][2] (Windows instances).
35250
36428
  #
35251
36429
  # When you complete a resize operation on your volume, you need to
35252
36430
  # extend the volume's file-system size to take advantage of the new
35253
- # storage capacity. For information about extending a Linux file system,
35254
- # see [Extending a Linux file system][3]. For information about
35255
- # extending a Windows file system, see [Extending a Windows file
35256
- # system][4].
36431
+ # storage capacity. For more information, see [Extend a Linux file
36432
+ # system][3] or [Extend a Windows file system][4].
35257
36433
  #
35258
36434
  # You can use CloudWatch Events to check the status of a modification to
35259
36435
  # an EBS volume. For information about CloudWatch Events, see the
35260
36436
  # [Amazon CloudWatch Events User Guide][5]. You can also track the
35261
36437
  # status of a modification using DescribeVolumesModifications. For
35262
36438
  # information about tracking status changes using either method, see
35263
- # [Monitoring volume modifications][6].
36439
+ # [Monitor the progress of volume modifications][6].
35264
36440
  #
35265
36441
  # With previous-generation instance types, resizing an EBS volume might
35266
36442
  # require detaching and reattaching the volume or stopping and
35267
- # restarting the instance. For more information, see [Amazon EBS Elastic
35268
- # Volumes][7] (Linux) or [Amazon EBS Elastic Volumes][8] (Windows).
36443
+ # restarting the instance.
35269
36444
  #
35270
36445
  # If you reach the maximum volume modification rate per volume limit,
35271
- # you will need to wait at least six hours before applying further
35272
- # modifications to the affected EBS volume.
36446
+ # you must wait at least six hours before applying further modifications
36447
+ # to the affected EBS volume.
35273
36448
  #
35274
36449
  #
35275
36450
  #
35276
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html
35277
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html
36451
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html
36452
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html
35278
36453
  # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#recognize-expanded-volume-linux
35279
36454
  # [4]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html#recognize-expanded-volume-windows
35280
36455
  # [5]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
35281
- # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#monitoring_mods
35282
- # [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html
35283
- # [8]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html
36456
+ # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html
35284
36457
  #
35285
36458
  # @option params [Boolean] :dry_run
35286
36459
  # Checks whether you have the required permissions for the action,
@@ -35305,14 +36478,14 @@ module Aws::EC2
35305
36478
  #
35306
36479
  # * `standard`\: 1-1,024
35307
36480
  #
35308
- # Default: If no size is specified, the existing size is retained.
36481
+ # Default: The existing size is retained.
35309
36482
  #
35310
36483
  # @option params [String] :volume_type
35311
36484
  # The target EBS volume type of the volume. For more information, see
35312
36485
  # [Amazon EBS volume types][1] in the *Amazon Elastic Compute Cloud User
35313
36486
  # Guide*.
35314
36487
  #
35315
- # Default: If no type is specified, the existing type is retained.
36488
+ # Default: The existing type is retained.
35316
36489
  #
35317
36490
  #
35318
36491
  #
@@ -35330,16 +36503,16 @@ module Aws::EC2
35330
36503
  #
35331
36504
  # * `io2`\: 100-64,000 IOPS
35332
36505
  #
35333
- # Default: If no IOPS value is specified, the existing value is
35334
- # retained, unless a volume type is modified that supports different
35335
- # values.
36506
+ # Default: The existing value is retained if you keep the same volume
36507
+ # type. If you change the volume type to `io1`, `io2`, or `gp3`, the
36508
+ # default is 3,000.
35336
36509
  #
35337
36510
  # @option params [Integer] :throughput
35338
36511
  # The target throughput of the volume, in MiB/s. This parameter is valid
35339
36512
  # only for `gp3` volumes. The maximum value is 1,000.
35340
36513
  #
35341
- # Default: If no throughput value is specified, the existing value is
35342
- # retained.
36514
+ # Default: The existing value is retained if the source and target
36515
+ # volume type is `gp3`. Otherwise, the default value is 125.
35343
36516
  #
35344
36517
  # Valid Range: Minimum value of 125. Maximum value of 1000.
35345
36518
  #
@@ -35827,12 +37000,12 @@ module Aws::EC2
35827
37000
  # * Enable/disable the ability to resolve public DNS hostnames to
35828
37001
  # private IP addresses when queried from instances in the peer VPC.
35829
37002
  #
35830
- # If the peered VPCs are in the same AWS account, you can enable DNS
37003
+ # If the peered VPCs are in the same account, you can enable DNS
35831
37004
  # resolution for queries from the local VPC. This ensures that queries
35832
37005
  # from the local VPC resolve to private IP addresses in the peer VPC.
35833
- # This option is not available if the peered VPCs are in different AWS
35834
- # accounts or different Regions. For peered VPCs in different AWS
35835
- # accounts, each AWS account owner must initiate a separate request to
37006
+ # This option is not available if the peered VPCs are in different
37007
+ # different accounts or different Regions. For peered VPCs in different
37008
+ # accounts, each account owner must initiate a separate request to
35836
37009
  # modify the peering connection options. For inter-region peering
35837
37010
  # connections, you must use the Region for the requester VPC to modify
35838
37011
  # the requester VPC peering options and the Region for the accepter VPC
@@ -36641,7 +37814,7 @@ module Aws::EC2
36641
37814
  # dry_run: false,
36642
37815
  # pool_tag_specifications: [
36643
37816
  # {
36644
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
37817
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
36645
37818
  # tags: [
36646
37819
  # {
36647
37820
  # key: "String",
@@ -36725,7 +37898,7 @@ module Aws::EC2
36725
37898
  # offering_id: "OfferingId", # required
36726
37899
  # tag_specifications: [
36727
37900
  # {
36728
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
37901
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
36729
37902
  # tags: [
36730
37903
  # {
36731
37904
  # key: "String",
@@ -37982,7 +39155,7 @@ module Aws::EC2
37982
39155
  # gateway, NAT instance, NAT gateway, VPC peering connection, network
37983
39156
  # interface, egress-only internet gateway, or transit gateway.
37984
39157
  #
37985
- # For more information, see [Route Tables][1] in the *Amazon Virtual
39158
+ # For more information, see [Route tables][1] in the *Amazon Virtual
37986
39159
  # Private Cloud User Guide*.
37987
39160
  #
37988
39161
  #
@@ -38093,7 +39266,7 @@ module Aws::EC2
38093
39266
  # Changes the route table associated with a given subnet, internet
38094
39267
  # gateway, or virtual private gateway in a VPC. After the operation
38095
39268
  # completes, the subnet or gateway uses the routes in the new route
38096
- # table. For more information about route tables, see [Route Tables][1]
39269
+ # table. For more information about route tables, see [Route tables][1]
38097
39270
  # in the *Amazon Virtual Private Cloud User Guide*.
38098
39271
  #
38099
39272
  # You can also use this operation to change which table is the main
@@ -38577,6 +39750,18 @@ module Aws::EC2
38577
39750
  # associate_carrier_ip_address: false,
38578
39751
  # interface_type: "String",
38579
39752
  # network_card_index: 1,
39753
+ # ipv_4_prefixes: [
39754
+ # {
39755
+ # ipv_4_prefix: "String",
39756
+ # },
39757
+ # ],
39758
+ # ipv_4_prefix_count: 1,
39759
+ # ipv_6_prefixes: [
39760
+ # {
39761
+ # ipv_6_prefix: "String",
39762
+ # },
39763
+ # ],
39764
+ # ipv_6_prefix_count: 1,
38580
39765
  # },
38581
39766
  # ],
38582
39767
  # placement: {
@@ -38591,7 +39776,7 @@ module Aws::EC2
38591
39776
  # weighted_capacity: 1.0,
38592
39777
  # tag_specifications: [
38593
39778
  # {
38594
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
39779
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
38595
39780
  # tags: [
38596
39781
  # {
38597
39782
  # key: "String",
@@ -38652,7 +39837,7 @@ module Aws::EC2
38652
39837
  # context: "String",
38653
39838
  # tag_specifications: [
38654
39839
  # {
38655
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
39840
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
38656
39841
  # tags: [
38657
39842
  # {
38658
39843
  # key: "String",
@@ -38912,6 +40097,18 @@ module Aws::EC2
38912
40097
  # associate_carrier_ip_address: false,
38913
40098
  # interface_type: "String",
38914
40099
  # network_card_index: 1,
40100
+ # ipv_4_prefixes: [
40101
+ # {
40102
+ # ipv_4_prefix: "String",
40103
+ # },
40104
+ # ],
40105
+ # ipv_4_prefix_count: 1,
40106
+ # ipv_6_prefixes: [
40107
+ # {
40108
+ # ipv_6_prefix: "String",
40109
+ # },
40110
+ # ],
40111
+ # ipv_6_prefix_count: 1,
38915
40112
  # },
38916
40113
  # ],
38917
40114
  # placement: {
@@ -38929,7 +40126,7 @@ module Aws::EC2
38929
40126
  # valid_until: Time.now,
38930
40127
  # tag_specifications: [
38931
40128
  # {
38932
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
40129
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
38933
40130
  # tags: [
38934
40131
  # {
38935
40132
  # key: "String",
@@ -38997,6 +40194,12 @@ module Aws::EC2
38997
40194
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].associate_carrier_ip_address #=> Boolean
38998
40195
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].interface_type #=> String
38999
40196
  # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].network_card_index #=> Integer
40197
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_4_prefixes #=> Array
40198
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
40199
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_4_prefix_count #=> Integer
40200
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_6_prefixes #=> Array
40201
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
40202
+ # resp.spot_instance_requests[0].launch_specification.network_interfaces[0].ipv_6_prefix_count #=> Integer
39000
40203
  # resp.spot_instance_requests[0].launch_specification.placement.availability_zone #=> String
39001
40204
  # resp.spot_instance_requests[0].launch_specification.placement.group_name #=> String
39002
40205
  # resp.spot_instance_requests[0].launch_specification.placement.tenancy #=> String, one of "default", "dedicated", "host"
@@ -39077,13 +40280,14 @@ module Aws::EC2
39077
40280
  req.send_request(options)
39078
40281
  end
39079
40282
 
39080
- # Resets the default customer master key (CMK) for EBS encryption for
39081
- # your account in this Region to the AWS managed CMK for EBS.
40283
+ # Resets the default KMS key for EBS encryption for your account in this
40284
+ # Region to the Amazon Web Services managed KMS key for EBS.
39082
40285
  #
39083
- # After resetting the default CMK to the AWS managed CMK, you can
39084
- # continue to encrypt by a customer managed CMK by specifying it when
39085
- # you create the volume. For more information, see [Amazon EBS
39086
- # encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
40286
+ # After resetting the default KMS key to the Amazon Web Services managed
40287
+ # KMS key, you can continue to encrypt by a customer managed KMS key by
40288
+ # specifying it when you create the volume. For more information, see
40289
+ # [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud User
40290
+ # Guide*.
39087
40291
  #
39088
40292
  #
39089
40293
  #
@@ -39311,9 +40515,8 @@ module Aws::EC2
39311
40515
 
39312
40516
  # Resets permission settings for the specified snapshot.
39313
40517
  #
39314
- # For more information about modifying snapshot permissions, see
39315
- # [Sharing snapshots][1] in the *Amazon Elastic Compute Cloud User
39316
- # Guide*.
40518
+ # For more information about modifying snapshot permissions, see [Share
40519
+ # a snapshot][1] in the *Amazon Elastic Compute Cloud User Guide*.
39317
40520
  #
39318
40521
  #
39319
40522
  #
@@ -39527,26 +40730,26 @@ module Aws::EC2
39527
40730
  req.send_request(options)
39528
40731
  end
39529
40732
 
39530
- # \[VPC only\] Removes the specified egress rules from a security group
39531
- # for EC2-VPC. This action does not apply to security groups for use in
39532
- # EC2-Classic. To remove a rule, the values that you specify (for
39533
- # example, ports) must match the existing rule's values exactly.
40733
+ # \[VPC only\] Removes the specified outbound (egress) rules from a
40734
+ # security group for EC2-VPC. This action does not apply to security
40735
+ # groups for use in EC2-Classic.
40736
+ #
40737
+ # You can specify rules using either rule IDs or security group rule
40738
+ # properties. If you use rule properties, the values that you specify
40739
+ # (for example, ports) must match the existing rule's values exactly.
40740
+ # Each rule has a protocol, from and to ports, and destination (CIDR
40741
+ # range, security group, or prefix list). For the TCP and UDP protocols,
40742
+ # you must also specify the destination port or range of ports. For the
40743
+ # ICMP protocol, you must also specify the ICMP type and code. If the
40744
+ # security group rule has a description, you do not need to specify the
40745
+ # description to revoke the rule.
39534
40746
  #
39535
- # <note markdown="1"> \[Default VPC\] If the values you specify do not match the existing
40747
+ # \[Default VPC\] If the values you specify do not match the existing
39536
40748
  # rule's values, no error is returned, and the output describes the
39537
40749
  # security group rules that were not revoked.
39538
40750
  #
39539
- # AWS recommends that you use DescribeSecurityGroups to verify that the
39540
- # rule has been removed.
39541
- #
39542
- # </note>
39543
- #
39544
- # Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
39545
- # source security group. For the TCP and UDP protocols, you must also
39546
- # specify the destination port or range of ports. For the ICMP protocol,
39547
- # you must also specify the ICMP type and code. If the security group
39548
- # rule has a description, you do not have to specify the description to
39549
- # revoke the rule.
40751
+ # Amazon Web Services recommends that you describe the security group to
40752
+ # verify that the rules were removed.
39550
40753
  #
39551
40754
  # Rule changes are propagated to instances within the security group as
39552
40755
  # quickly as possible. However, a small delay might occur.
@@ -39564,6 +40767,9 @@ module Aws::EC2
39564
40767
  # The sets of IP permissions. You can't specify a destination security
39565
40768
  # group and a CIDR IP address range in the same set of permissions.
39566
40769
  #
40770
+ # @option params [Array<String>] :security_group_rule_ids
40771
+ # The IDs of the security group rules.
40772
+ #
39567
40773
  # @option params [String] :cidr_ip
39568
40774
  # Not supported. Use a set of IP permissions to specify the CIDR.
39569
40775
  #
@@ -39631,6 +40837,7 @@ module Aws::EC2
39631
40837
  # ],
39632
40838
  # },
39633
40839
  # ],
40840
+ # security_group_rule_ids: ["String"],
39634
40841
  # cidr_ip: "String",
39635
40842
  # from_port: 1,
39636
40843
  # ip_protocol: "String",
@@ -39673,25 +40880,24 @@ module Aws::EC2
39673
40880
  req.send_request(options)
39674
40881
  end
39675
40882
 
39676
- # Removes the specified ingress rules from a security group. To remove a
39677
- # rule, the values that you specify (for example, ports) must match the
39678
- # existing rule's values exactly.
40883
+ # Removes the specified inbound (ingress) rules from a security group.
40884
+ #
40885
+ # You can specify rules using either rule IDs or security group rule
40886
+ # properties. If you use rule properties, the values that you specify
40887
+ # (for example, ports) must match the existing rule's values exactly.
40888
+ # Each rule has a protocol, from and to ports, and source (CIDR range,
40889
+ # security group, or prefix list). For the TCP and UDP protocols, you
40890
+ # must also specify the destination port or range of ports. For the ICMP
40891
+ # protocol, you must also specify the ICMP type and code. If the
40892
+ # security group rule has a description, you do not need to specify the
40893
+ # description to revoke the rule.
39679
40894
  #
39680
- # <note markdown="1"> \[EC2-Classic , default VPC\] If the values you specify do not match
40895
+ # \[EC2-Classic, default VPC\] If the values you specify do not match
39681
40896
  # the existing rule's values, no error is returned, and the output
39682
40897
  # describes the security group rules that were not revoked.
39683
40898
  #
39684
- # AWS recommends that you use DescribeSecurityGroups to verify that the
39685
- # rule has been removed.
39686
- #
39687
- # </note>
39688
- #
39689
- # Each rule consists of the protocol and the CIDR range or source
39690
- # security group. For the TCP and UDP protocols, you must also specify
39691
- # the destination port or range of ports. For the ICMP protocol, you
39692
- # must also specify the ICMP type and code. If the security group rule
39693
- # has a description, you do not have to specify the description to
39694
- # revoke the rule.
40899
+ # Amazon Web Services recommends that you describe the security group to
40900
+ # verify that the rules were removed.
39695
40901
  #
39696
40902
  # Rule changes are propagated to instances within the security group as
39697
40903
  # quickly as possible. However, a small delay might occur.
@@ -39736,12 +40942,13 @@ module Aws::EC2
39736
40942
  # instead.
39737
40943
  #
39738
40944
  # @option params [String] :source_security_group_owner_id
39739
- # \[EC2-Classic\] The AWS account ID of the source security group, if
39740
- # the source security group is in a different account. You can't
39741
- # specify this parameter in combination with the following parameters:
39742
- # the CIDR IP address range, the IP protocol, the start of the port
39743
- # range, and the end of the port range. To revoke a specific rule for an
39744
- # IP protocol and port range, use a set of IP permissions instead.
40945
+ # \[EC2-Classic\] The Amazon Web Services account ID of the source
40946
+ # security group, if the source security group is in a different
40947
+ # account. You can't specify this parameter in combination with the
40948
+ # following parameters: the CIDR IP address range, the IP protocol, the
40949
+ # start of the port range, and the end of the port range. To revoke a
40950
+ # specific rule for an IP protocol and port range, use a set of IP
40951
+ # permissions instead.
39745
40952
  #
39746
40953
  # @option params [Integer] :to_port
39747
40954
  # The end of port range for the TCP and UDP protocols, or an ICMP code
@@ -39754,6 +40961,9 @@ module Aws::EC2
39754
40961
  # If you have the required permissions, the error response is
39755
40962
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
39756
40963
  #
40964
+ # @option params [Array<String>] :security_group_rule_ids
40965
+ # The IDs of the security group rules.
40966
+ #
39757
40967
  # @return [Types::RevokeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
39758
40968
  #
39759
40969
  # * {Types::RevokeSecurityGroupIngressResult#return #return} => Boolean
@@ -39807,6 +41017,7 @@ module Aws::EC2
39807
41017
  # source_security_group_owner_id: "String",
39808
41018
  # to_port: 1,
39809
41019
  # dry_run: false,
41020
+ # security_group_rule_ids: ["String"],
39810
41021
  # })
39811
41022
  #
39812
41023
  # @example Response structure
@@ -40380,6 +41591,18 @@ module Aws::EC2
40380
41591
  # associate_carrier_ip_address: false,
40381
41592
  # interface_type: "String",
40382
41593
  # network_card_index: 1,
41594
+ # ipv_4_prefixes: [
41595
+ # {
41596
+ # ipv_4_prefix: "String",
41597
+ # },
41598
+ # ],
41599
+ # ipv_4_prefix_count: 1,
41600
+ # ipv_6_prefixes: [
41601
+ # {
41602
+ # ipv_6_prefix: "String",
41603
+ # },
41604
+ # ],
41605
+ # ipv_6_prefix_count: 1,
40383
41606
  # },
40384
41607
  # ],
40385
41608
  # private_ip_address: "String",
@@ -40396,7 +41619,7 @@ module Aws::EC2
40396
41619
  # ],
40397
41620
  # tag_specifications: [
40398
41621
  # {
40399
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
41622
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
40400
41623
  # tags: [
40401
41624
  # {
40402
41625
  # key: "String",
@@ -40547,6 +41770,10 @@ module Aws::EC2
40547
41770
  # resp.instances[0].network_interfaces[0].subnet_id #=> String
40548
41771
  # resp.instances[0].network_interfaces[0].vpc_id #=> String
40549
41772
  # resp.instances[0].network_interfaces[0].interface_type #=> String
41773
+ # resp.instances[0].network_interfaces[0].ipv_4_prefixes #=> Array
41774
+ # resp.instances[0].network_interfaces[0].ipv_4_prefixes[0].ipv_4_prefix #=> String
41775
+ # resp.instances[0].network_interfaces[0].ipv_6_prefixes #=> Array
41776
+ # resp.instances[0].network_interfaces[0].ipv_6_prefixes[0].ipv_6_prefix #=> String
40550
41777
  # resp.instances[0].outpost_arn #=> String
40551
41778
  # resp.instances[0].root_device_name #=> String
40552
41779
  # resp.instances[0].root_device_type #=> String, one of "ebs", "instance-store"
@@ -41210,8 +42437,8 @@ module Aws::EC2
41210
42437
  #
41211
42438
  # @option params [required, String] :client_token
41212
42439
  # Unique, case-sensitive identifier that you provide to ensure the
41213
- # idempotency of the request. For more information, see [How to Ensure
41214
- # Idempotency][1].
42440
+ # idempotency of the request. For more information, see [How to ensure
42441
+ # idempotency][1].
41215
42442
  #
41216
42443
  # **A suitable default value is auto-generated.** You should normally
41217
42444
  # not need to pass this option.**
@@ -41232,7 +42459,7 @@ module Aws::EC2
41232
42459
  # dry_run: false,
41233
42460
  # tag_specifications: [
41234
42461
  # {
41235
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
42462
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
41236
42463
  # tags: [
41237
42464
  # {
41238
42465
  # key: "String",
@@ -41867,24 +43094,31 @@ module Aws::EC2
41867
43094
  req.send_request(options)
41868
43095
  end
41869
43096
 
41870
- # Unassigns one or more IPv6 addresses from a network interface.
43097
+ # Unassigns one or more IPv6 addresses IPv4 Prefix Delegation prefixes
43098
+ # from a network interface.
43099
+ #
43100
+ # @option params [Array<String>] :ipv_6_addresses
43101
+ # The IPv6 addresses to unassign from the network interface.
43102
+ #
43103
+ # @option params [Array<String>] :ipv_6_prefixes
43104
+ # One or moreIPv6 Prefix Delegation prefixes to unassign from the
43105
+ # network interface.
41871
43106
  #
41872
43107
  # @option params [required, String] :network_interface_id
41873
43108
  # The ID of the network interface.
41874
43109
  #
41875
- # @option params [required, Array<String>] :ipv_6_addresses
41876
- # The IPv6 addresses to unassign from the network interface.
41877
- #
41878
43110
  # @return [Types::UnassignIpv6AddressesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
41879
43111
  #
41880
43112
  # * {Types::UnassignIpv6AddressesResult#network_interface_id #network_interface_id} => String
41881
43113
  # * {Types::UnassignIpv6AddressesResult#unassigned_ipv_6_addresses #unassigned_ipv_6_addresses} => Array&lt;String&gt;
43114
+ # * {Types::UnassignIpv6AddressesResult#unassigned_ipv_6_prefixes #unassigned_ipv_6_prefixes} => Array&lt;String&gt;
41882
43115
  #
41883
43116
  # @example Request syntax with placeholder values
41884
43117
  #
41885
43118
  # resp = client.unassign_ipv_6_addresses({
43119
+ # ipv_6_addresses: ["String"],
43120
+ # ipv_6_prefixes: ["String"],
41886
43121
  # network_interface_id: "NetworkInterfaceId", # required
41887
- # ipv_6_addresses: ["String"], # required
41888
43122
  # })
41889
43123
  #
41890
43124
  # @example Response structure
@@ -41892,6 +43126,8 @@ module Aws::EC2
41892
43126
  # resp.network_interface_id #=> String
41893
43127
  # resp.unassigned_ipv_6_addresses #=> Array
41894
43128
  # resp.unassigned_ipv_6_addresses[0] #=> String
43129
+ # resp.unassigned_ipv_6_prefixes #=> Array
43130
+ # resp.unassigned_ipv_6_prefixes[0] #=> String
41895
43131
  #
41896
43132
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6Addresses AWS API Documentation
41897
43133
  #
@@ -41902,17 +43138,21 @@ module Aws::EC2
41902
43138
  req.send_request(options)
41903
43139
  end
41904
43140
 
41905
- # Unassigns one or more secondary private IP addresses from a network
41906
- # interface.
43141
+ # Unassigns one or more secondary private IP addresses, or IPv4 Prefix
43142
+ # Delegation prefixes from a network interface.
41907
43143
  #
41908
43144
  # @option params [required, String] :network_interface_id
41909
43145
  # The ID of the network interface.
41910
43146
  #
41911
- # @option params [required, Array<String>] :private_ip_addresses
43147
+ # @option params [Array<String>] :private_ip_addresses
41912
43148
  # The secondary private IP addresses to unassign from the network
41913
43149
  # interface. You can specify this option multiple times to unassign more
41914
43150
  # than one IP address.
41915
43151
  #
43152
+ # @option params [Array<String>] :ipv_4_prefixes
43153
+ # The IPv4 Prefix Delegation prefixes to unassign from the network
43154
+ # interface.
43155
+ #
41916
43156
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
41917
43157
  #
41918
43158
  #
@@ -41931,7 +43171,8 @@ module Aws::EC2
41931
43171
  #
41932
43172
  # resp = client.unassign_private_ip_addresses({
41933
43173
  # network_interface_id: "NetworkInterfaceId", # required
41934
- # private_ip_addresses: ["String"], # required
43174
+ # private_ip_addresses: ["String"],
43175
+ # ipv_4_prefixes: ["String"],
41935
43176
  # })
41936
43177
  #
41937
43178
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddresses AWS API Documentation
@@ -41988,11 +43229,9 @@ module Aws::EC2
41988
43229
 
41989
43230
  # \[VPC only\] Updates the description of an egress (outbound) security
41990
43231
  # group rule. You can replace an existing description, or add a
41991
- # description to a rule that did not have one previously.
41992
- #
41993
- # You specify the description as part of the IP permissions structure.
41994
- # You can remove a description for a security group rule by omitting the
41995
- # description parameter in the request.
43232
+ # description to a rule that did not have one previously. You can remove
43233
+ # a description for a security group rule by omitting the description
43234
+ # parameter in the request.
41996
43235
  #
41997
43236
  # @option params [Boolean] :dry_run
41998
43237
  # Checks whether you have the required permissions for the action,
@@ -42010,8 +43249,13 @@ module Aws::EC2
42010
43249
  # either the security group ID or the security group name in the
42011
43250
  # request.
42012
43251
  #
42013
- # @option params [required, Array<Types::IpPermission>] :ip_permissions
42014
- # The IP permissions for the security group rule.
43252
+ # @option params [Array<Types::IpPermission>] :ip_permissions
43253
+ # The IP permissions for the security group rule. You must specify
43254
+ # either the IP permissions or the description.
43255
+ #
43256
+ # @option params [Array<Types::SecurityGroupRuleDescription>] :security_group_rule_descriptions
43257
+ # The description for the egress security group rules. You must specify
43258
+ # either the description or the IP permissions.
42015
43259
  #
42016
43260
  # @return [Types::UpdateSecurityGroupRuleDescriptionsEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
42017
43261
  #
@@ -42049,7 +43293,7 @@ module Aws::EC2
42049
43293
  # dry_run: false,
42050
43294
  # group_id: "SecurityGroupId",
42051
43295
  # group_name: "SecurityGroupName",
42052
- # ip_permissions: [ # required
43296
+ # ip_permissions: [
42053
43297
  # {
42054
43298
  # from_port: 1,
42055
43299
  # ip_protocol: "String",
@@ -42085,6 +43329,12 @@ module Aws::EC2
42085
43329
  # ],
42086
43330
  # },
42087
43331
  # ],
43332
+ # security_group_rule_descriptions: [
43333
+ # {
43334
+ # security_group_rule_id: "String",
43335
+ # description: "String",
43336
+ # },
43337
+ # ],
42088
43338
  # })
42089
43339
  #
42090
43340
  # @example Response structure
@@ -42102,11 +43352,9 @@ module Aws::EC2
42102
43352
 
42103
43353
  # Updates the description of an ingress (inbound) security group rule.
42104
43354
  # You can replace an existing description, or add a description to a
42105
- # rule that did not have one previously.
42106
- #
42107
- # You specify the description as part of the IP permissions structure.
42108
- # You can remove a description for a security group rule by omitting the
42109
- # description parameter in the request.
43355
+ # rule that did not have one previously. You can remove a description
43356
+ # for a security group rule by omitting the description parameter in the
43357
+ # request.
42110
43358
  #
42111
43359
  # @option params [Boolean] :dry_run
42112
43360
  # Checks whether you have the required permissions for the action,
@@ -42124,8 +43372,13 @@ module Aws::EC2
42124
43372
  # specify either the security group ID or the security group name in the
42125
43373
  # request.
42126
43374
  #
42127
- # @option params [required, Array<Types::IpPermission>] :ip_permissions
42128
- # The IP permissions for the security group rule.
43375
+ # @option params [Array<Types::IpPermission>] :ip_permissions
43376
+ # The IP permissions for the security group rule. You must specify
43377
+ # either IP permissions or a description.
43378
+ #
43379
+ # @option params [Array<Types::SecurityGroupRuleDescription>] :security_group_rule_descriptions
43380
+ # \[VPC only\] The description for the ingress security group rules. You
43381
+ # must specify either a description or IP permissions.
42129
43382
  #
42130
43383
  # @return [Types::UpdateSecurityGroupRuleDescriptionsIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
42131
43384
  #
@@ -42163,7 +43416,7 @@ module Aws::EC2
42163
43416
  # dry_run: false,
42164
43417
  # group_id: "SecurityGroupId",
42165
43418
  # group_name: "SecurityGroupName",
42166
- # ip_permissions: [ # required
43419
+ # ip_permissions: [
42167
43420
  # {
42168
43421
  # from_port: 1,
42169
43422
  # ip_protocol: "String",
@@ -42199,6 +43452,12 @@ module Aws::EC2
42199
43452
  # ],
42200
43453
  # },
42201
43454
  # ],
43455
+ # security_group_rule_descriptions: [
43456
+ # {
43457
+ # security_group_rule_id: "String",
43458
+ # description: "String",
43459
+ # },
43460
+ # ],
42202
43461
  # })
42203
43462
  #
42204
43463
  # @example Response structure
@@ -42273,7 +43532,7 @@ module Aws::EC2
42273
43532
  params: params,
42274
43533
  config: config)
42275
43534
  context[:gem_name] = 'aws-sdk-ec2'
42276
- context[:gem_version] = '1.247.0'
43535
+ context[:gem_version] = '1.251.0'
42277
43536
  Seahorse::Client::Request.new(handlers, context)
42278
43537
  end
42279
43538