aws-sdk-ec2 1.171.0 → 1.176.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8317d9e657a951e519fe068e23137cca9b41c4df5fafb88b2c4df79a77f86f02
4
- data.tar.gz: 2dbf840bc4ff720915903cfe4d7e439c8195d26deb0b82d2a585704edc98d434
3
+ metadata.gz: 28444b06e74009b4681e3a8104d210a10596b863e7a8a8439bbcc419b77d9c01
4
+ data.tar.gz: 291f03d652d4fff891eb24d648094c47305616a50ab868523756c0ff953cde4f
5
5
  SHA512:
6
- metadata.gz: 35219e430abf9686b69ccd8f2d43a0f45a567b54cb6e924aa958dba6b8066838c553ad63d123b0429f86a91f601e7ea1438bc000a722c2afd4167d9302057c90
7
- data.tar.gz: 683a39419a000b2bc2b7a426be113eaa5a75df27362968b25bd64c6565a59772740f4d92a8e285144fd362753078c5b479eaf16f6ec0c5773b7651454fdfde60
6
+ metadata.gz: 1430aff0392f2e70adb9a98ba22914abd41a26fb6c1a1dad090f674c0c216f31e5da8e4965110c4b36bae64e1353fe9ae4c0a1f4f32f7e9e21cf0c6d3a8cc59e
7
+ data.tar.gz: 7508368d9a582b7c63a7799c4e09eb14611e6e77d9ed6eb00d6d23f1973daae94bd1f9872a5f3c6ad137e838a2d01242416f48faaed63b7fa0507eed3f8b2413
@@ -71,6 +71,6 @@ require_relative 'aws-sdk-ec2/customizations'
71
71
  # @service
72
72
  module Aws::EC2
73
73
 
74
- GEM_VERSION = '1.171.0'
74
+ GEM_VERSION = '1.176.0'
75
75
 
76
76
  end
@@ -4213,7 +4213,7 @@ module Aws::EC2
4213
4213
  # specify `ec2.internal`. If you're using AmazonProvidedDNS in
4214
4214
  # another Region, specify `region.compute.internal` (for example,
4215
4215
  # `ap-northeast-1.compute.internal`). Otherwise, specify a domain name
4216
- # (for example, `MyCompany.com`). This value is used to complete
4216
+ # (for example, `ExampleCompany.com`). This value is used to complete
4217
4217
  # unqualified DNS hostnames. **Important**\: Some Linux operating
4218
4218
  # systems accept multiple domain names separated by spaces. However,
4219
4219
  # Windows and other Linux operating systems treat the value as a
@@ -4248,6 +4248,9 @@ module Aws::EC2
4248
4248
  # @option params [required, Array<Types::NewDhcpConfiguration>] :dhcp_configurations
4249
4249
  # A DHCP configuration option.
4250
4250
  #
4251
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4252
+ # The tags to assign to the DHCP option.
4253
+ #
4251
4254
  # @option params [Boolean] :dry_run
4252
4255
  # Checks whether you have the required permissions for the action,
4253
4256
  # without actually making the request, and provides an error response.
@@ -4304,6 +4307,17 @@ module Aws::EC2
4304
4307
  # values: ["String"],
4305
4308
  # },
4306
4309
  # ],
4310
+ # tag_specifications: [
4311
+ # {
4312
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4313
+ # tags: [
4314
+ # {
4315
+ # key: "String",
4316
+ # value: "String",
4317
+ # },
4318
+ # ],
4319
+ # },
4320
+ # ],
4307
4321
  # dry_run: false,
4308
4322
  # })
4309
4323
  #
@@ -4353,6 +4367,9 @@ module Aws::EC2
4353
4367
  # The ID of the VPC for which to create the egress-only internet
4354
4368
  # gateway.
4355
4369
  #
4370
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4371
+ # The tags to assign to the egress-only internet gateway.
4372
+ #
4356
4373
  # @return [Types::CreateEgressOnlyInternetGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4357
4374
  #
4358
4375
  # * {Types::CreateEgressOnlyInternetGatewayResult#client_token #client_token} => String
@@ -4364,6 +4381,17 @@ module Aws::EC2
4364
4381
  # client_token: "String",
4365
4382
  # dry_run: false,
4366
4383
  # vpc_id: "VpcId", # required
4384
+ # tag_specifications: [
4385
+ # {
4386
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
4387
+ # tags: [
4388
+ # {
4389
+ # key: "String",
4390
+ # value: "String",
4391
+ # },
4392
+ # ],
4393
+ # },
4394
+ # ],
4367
4395
  # })
4368
4396
  #
4369
4397
  # @example Response structure
@@ -5090,6 +5118,9 @@ module Aws::EC2
5090
5118
  #
5091
5119
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
5092
5120
  #
5121
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
5122
+ # The tags to assign to the internet gateway.
5123
+ #
5093
5124
  # @option params [Boolean] :dry_run
5094
5125
  # Checks whether you have the required permissions for the action,
5095
5126
  # without actually making the request, and provides an error response.
@@ -5122,6 +5153,17 @@ module Aws::EC2
5122
5153
  # @example Request syntax with placeholder values
5123
5154
  #
5124
5155
  # resp = client.create_internet_gateway({
5156
+ # tag_specifications: [
5157
+ # {
5158
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
5159
+ # tags: [
5160
+ # {
5161
+ # key: "String",
5162
+ # value: "String",
5163
+ # },
5164
+ # ],
5165
+ # },
5166
+ # ],
5125
5167
  # dry_run: false,
5126
5168
  # })
5127
5169
  #
@@ -5953,6 +5995,108 @@ module Aws::EC2
5953
5995
  req.send_request(options)
5954
5996
  end
5955
5997
 
5998
+ # Creates a managed prefix list. You can specify one or more entries for
5999
+ # the prefix list. Each entry consists of a CIDR block and an optional
6000
+ # description.
6001
+ #
6002
+ # You must specify the maximum number of entries for the prefix list.
6003
+ # The maximum number of entries cannot be changed later.
6004
+ #
6005
+ # @option params [Boolean] :dry_run
6006
+ # Checks whether you have the required permissions for the action,
6007
+ # without actually making the request, and provides an error response.
6008
+ # If you have the required permissions, the error response is
6009
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
6010
+ #
6011
+ # @option params [required, String] :prefix_list_name
6012
+ # A name for the prefix list.
6013
+ #
6014
+ # Constraints: Up to 255 characters in length. The name cannot start
6015
+ # with `com.amazonaws`.
6016
+ #
6017
+ # @option params [Array<Types::AddPrefixListEntry>] :entries
6018
+ # One or more entries for the prefix list.
6019
+ #
6020
+ # @option params [required, Integer] :max_entries
6021
+ # The maximum number of entries for the prefix list.
6022
+ #
6023
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
6024
+ # The tags to apply to the prefix list during creation.
6025
+ #
6026
+ # @option params [required, String] :address_family
6027
+ # The IP address type.
6028
+ #
6029
+ # Valid Values: `IPv4` \| `IPv6`
6030
+ #
6031
+ # @option params [String] :client_token
6032
+ # Unique, case-sensitive identifier you provide to ensure the
6033
+ # idempotency of the request. For more information, see [Ensuring
6034
+ # Idempotency][1].
6035
+ #
6036
+ # Constraints: Up to 255 UTF-8 characters in length.
6037
+ #
6038
+ # **A suitable default value is auto-generated.** You should normally
6039
+ # not need to pass this option.**
6040
+ #
6041
+ #
6042
+ #
6043
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
6044
+ #
6045
+ # @return [Types::CreateManagedPrefixListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6046
+ #
6047
+ # * {Types::CreateManagedPrefixListResult#prefix_list #prefix_list} => Types::ManagedPrefixList
6048
+ #
6049
+ # @example Request syntax with placeholder values
6050
+ #
6051
+ # resp = client.create_managed_prefix_list({
6052
+ # dry_run: false,
6053
+ # prefix_list_name: "String", # required
6054
+ # entries: [
6055
+ # {
6056
+ # cidr: "String", # required
6057
+ # description: "String",
6058
+ # },
6059
+ # ],
6060
+ # max_entries: 1, # required
6061
+ # tag_specifications: [
6062
+ # {
6063
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6064
+ # tags: [
6065
+ # {
6066
+ # key: "String",
6067
+ # value: "String",
6068
+ # },
6069
+ # ],
6070
+ # },
6071
+ # ],
6072
+ # address_family: "String", # required
6073
+ # client_token: "String",
6074
+ # })
6075
+ #
6076
+ # @example Response structure
6077
+ #
6078
+ # resp.prefix_list.prefix_list_id #=> String
6079
+ # resp.prefix_list.address_family #=> String
6080
+ # resp.prefix_list.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
6081
+ # resp.prefix_list.state_message #=> String
6082
+ # resp.prefix_list.prefix_list_arn #=> String
6083
+ # resp.prefix_list.prefix_list_name #=> String
6084
+ # resp.prefix_list.max_entries #=> Integer
6085
+ # resp.prefix_list.version #=> Integer
6086
+ # resp.prefix_list.tags #=> Array
6087
+ # resp.prefix_list.tags[0].key #=> String
6088
+ # resp.prefix_list.tags[0].value #=> String
6089
+ # resp.prefix_list.owner_id #=> String
6090
+ #
6091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateManagedPrefixList AWS API Documentation
6092
+ #
6093
+ # @overload create_managed_prefix_list(params = {})
6094
+ # @param [Hash] params ({})
6095
+ def create_managed_prefix_list(params = {}, options = {})
6096
+ req = build_request(:create_managed_prefix_list, params)
6097
+ req.send_request(options)
6098
+ end
6099
+
5956
6100
  # Creates a NAT gateway in the specified public subnet. This action
5957
6101
  # creates a network interface in the specified subnet with a private IP
5958
6102
  # address from the IP address range of the subnet. Internet-bound
@@ -6102,6 +6246,9 @@ module Aws::EC2
6102
6246
  # @option params [required, String] :vpc_id
6103
6247
  # The ID of the VPC.
6104
6248
  #
6249
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
6250
+ # The tags to assign to the network ACL.
6251
+ #
6105
6252
  # @return [Types::CreateNetworkAclResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6106
6253
  #
6107
6254
  # * {Types::CreateNetworkAclResult#network_acl #network_acl} => Types::NetworkAcl
@@ -6149,6 +6296,17 @@ module Aws::EC2
6149
6296
  # resp = client.create_network_acl({
6150
6297
  # dry_run: false,
6151
6298
  # vpc_id: "VpcId", # required
6299
+ # tag_specifications: [
6300
+ # {
6301
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6302
+ # tags: [
6303
+ # {
6304
+ # key: "String",
6305
+ # value: "String",
6306
+ # },
6307
+ # ],
6308
+ # },
6309
+ # ],
6152
6310
  # })
6153
6311
  #
6154
6312
  # @example Response structure
@@ -6210,7 +6368,9 @@ module Aws::EC2
6210
6368
  #
6211
6369
  # @option params [String] :cidr_block
6212
6370
  # The IPv4 network range to allow or deny, in CIDR notation (for example
6213
- # `172.16.0.0/24`).
6371
+ # `172.16.0.0/24`). We modify the specified CIDR block to its canonical
6372
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
6373
+ # `100.68.0.0/18`.
6214
6374
  #
6215
6375
  # @option params [Boolean] :dry_run
6216
6376
  # Checks whether you have the required permissions for the action,
@@ -6380,6 +6540,9 @@ module Aws::EC2
6380
6540
  # @option params [required, String] :subnet_id
6381
6541
  # The ID of the subnet to associate with the network interface.
6382
6542
  #
6543
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
6544
+ # The tags to apply to the new network interface.
6545
+ #
6383
6546
  # @return [Types::CreateNetworkInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6384
6547
  #
6385
6548
  # * {Types::CreateNetworkInterfaceResult#network_interface #network_interface} => Types::NetworkInterface
@@ -6451,6 +6614,17 @@ module Aws::EC2
6451
6614
  # secondary_private_ip_address_count: 1,
6452
6615
  # interface_type: "efa", # accepts efa
6453
6616
  # subnet_id: "SubnetId", # required
6617
+ # tag_specifications: [
6618
+ # {
6619
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
6620
+ # tags: [
6621
+ # {
6622
+ # key: "String",
6623
+ # value: "String",
6624
+ # },
6625
+ # ],
6626
+ # },
6627
+ # ],
6454
6628
  # })
6455
6629
  #
6456
6630
  # @example Response structure
@@ -6799,12 +6973,17 @@ module Aws::EC2
6799
6973
  #
6800
6974
  # @option params [String] :destination_cidr_block
6801
6975
  # The IPv4 CIDR address block used for the destination match. Routing
6802
- # decisions are based on the most specific match.
6976
+ # decisions are based on the most specific match. We modify the
6977
+ # specified CIDR block to its canonical form; for example, if you
6978
+ # specify `100.68.0.18/18`, we modify it to `100.68.0.0/18`.
6803
6979
  #
6804
6980
  # @option params [String] :destination_ipv_6_cidr_block
6805
6981
  # The IPv6 CIDR block used for the destination match. Routing decisions
6806
6982
  # are based on the most specific match.
6807
6983
  #
6984
+ # @option params [String] :destination_prefix_list_id
6985
+ # The ID of a prefix list used for the destination match.
6986
+ #
6808
6987
  # @option params [Boolean] :dry_run
6809
6988
  # Checks whether you have the required permissions for the action,
6810
6989
  # without actually making the request, and provides an error response.
@@ -6862,6 +7041,7 @@ module Aws::EC2
6862
7041
  # resp = client.create_route({
6863
7042
  # destination_cidr_block: "String",
6864
7043
  # destination_ipv_6_cidr_block: "String",
7044
+ # destination_prefix_list_id: "PrefixListResourceId",
6865
7045
  # dry_run: false,
6866
7046
  # egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
6867
7047
  # gateway_id: "RouteGatewayId",
@@ -7047,6 +7227,9 @@ module Aws::EC2
7047
7227
  # @option params [String] :vpc_id
7048
7228
  # \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
7049
7229
  #
7230
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
7231
+ # The tags to assign to the security group.
7232
+ #
7050
7233
  # @option params [Boolean] :dry_run
7051
7234
  # Checks whether you have the required permissions for the action,
7052
7235
  # without actually making the request, and provides an error response.
@@ -7056,6 +7239,7 @@ module Aws::EC2
7056
7239
  # @return [Types::CreateSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7057
7240
  #
7058
7241
  # * {Types::CreateSecurityGroupResult#group_id #group_id} => String
7242
+ # * {Types::CreateSecurityGroupResult#tags #tags} => Array&lt;Types::Tag&gt;
7059
7243
  #
7060
7244
  #
7061
7245
  # @example Example: To create a security group for a VPC
@@ -7079,12 +7263,26 @@ module Aws::EC2
7079
7263
  # description: "String", # required
7080
7264
  # group_name: "String", # required
7081
7265
  # vpc_id: "VpcId",
7266
+ # tag_specifications: [
7267
+ # {
7268
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7269
+ # tags: [
7270
+ # {
7271
+ # key: "String",
7272
+ # value: "String",
7273
+ # },
7274
+ # ],
7275
+ # },
7276
+ # ],
7082
7277
  # dry_run: false,
7083
7278
  # })
7084
7279
  #
7085
7280
  # @example Response structure
7086
7281
  #
7087
7282
  # resp.group_id #=> String
7283
+ # resp.tags #=> Array
7284
+ # resp.tags[0].key #=> String
7285
+ # resp.tags[0].value #=> String
7088
7286
  #
7089
7287
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup AWS API Documentation
7090
7288
  #
@@ -7316,7 +7514,7 @@ module Aws::EC2
7316
7514
 
7317
7515
  # Creates a data feed for Spot Instances, enabling you to view Spot
7318
7516
  # Instance usage logs. You can create one data feed per AWS account. For
7319
- # more information, see [Spot Instance Data Feed][1] in the *Amazon EC2
7517
+ # more information, see [Spot Instance data feed][1] in the *Amazon EC2
7320
7518
  # User Guide for Linux Instances*.
7321
7519
  #
7322
7520
  #
@@ -7385,16 +7583,13 @@ module Aws::EC2
7385
7583
  req.send_request(options)
7386
7584
  end
7387
7585
 
7388
- # Creates a subnet in an existing VPC.
7586
+ # Creates a subnet in a specified VPC.
7389
7587
  #
7390
- # When you create each subnet, you provide the VPC ID and IPv4 CIDR
7391
- # block for the subnet. After you create a subnet, you can't change its
7392
- # CIDR block. The size of the subnet's IPv4 CIDR block can be the same
7393
- # as a VPC's IPv4 CIDR block, or a subset of a VPC's IPv4 CIDR block.
7394
- # If you create more than one subnet in a VPC, the subnets' CIDR blocks
7395
- # must not overlap. The smallest IPv4 subnet (and VPC) you can create
7396
- # uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16
7397
- # netmask (65,536 IPv4 addresses).
7588
+ # You must specify an IPv4 CIDR block for the subnet. After you create a
7589
+ # subnet, you can't change its CIDR block. The allowed block size is
7590
+ # between a /16 netmask (65,536 IP addresses) and /28 netmask (16 IP
7591
+ # addresses). The CIDR block must not overlap with the CIDR block of an
7592
+ # existing subnet in the VPC.
7398
7593
  #
7399
7594
  # If you've associated an IPv6 CIDR block with your VPC, you can create
7400
7595
  # a subnet with an IPv6 CIDR block that uses a /64 prefix length.
@@ -7405,12 +7600,10 @@ module Aws::EC2
7405
7600
  # If you add more than one subnet to a VPC, they're set up in a star
7406
7601
  # topology with a logical router in the middle.
7407
7602
  #
7408
- # If you launch an instance in a VPC using an Amazon EBS-backed AMI, the
7409
- # IP address doesn't change if you stop and restart the instance
7410
- # (unlike a similar instance launched outside a VPC, which gets a new IP
7411
- # address when restarted). It's therefore possible to have a subnet
7412
- # with no running instances (they're all stopped), but no remaining IP
7413
- # addresses available.
7603
+ # When you stop an instance in a subnet, it retains its private IPv4
7604
+ # address. It's therefore possible to have a subnet with no running
7605
+ # instances (they're all stopped), but no remaining IP addresses
7606
+ # available.
7414
7607
  #
7415
7608
  # For more information about subnets, see [Your VPC and Subnets][1] in
7416
7609
  # the *Amazon Virtual Private Cloud User Guide*.
@@ -7419,6 +7612,9 @@ module Aws::EC2
7419
7612
  #
7420
7613
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
7421
7614
  #
7615
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
7616
+ # The tags to assign to the subnet.
7617
+ #
7422
7618
  # @option params [String] :availability_zone
7423
7619
  # The Availability Zone or Local Zone for the subnet.
7424
7620
  #
@@ -7443,7 +7639,9 @@ module Aws::EC2
7443
7639
  #
7444
7640
  # @option params [required, String] :cidr_block
7445
7641
  # The IPv4 network range for the subnet, in CIDR notation. For example,
7446
- # `10.0.0.0/24`.
7642
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
7643
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
7644
+ # `100.68.0.0/18`.
7447
7645
  #
7448
7646
  # @option params [String] :ipv_6_cidr_block
7449
7647
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
@@ -7493,6 +7691,17 @@ module Aws::EC2
7493
7691
  # @example Request syntax with placeholder values
7494
7692
  #
7495
7693
  # resp = client.create_subnet({
7694
+ # tag_specifications: [
7695
+ # {
7696
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7697
+ # tags: [
7698
+ # {
7699
+ # key: "String",
7700
+ # value: "String",
7701
+ # },
7702
+ # ],
7703
+ # },
7704
+ # ],
7496
7705
  # availability_zone: "String",
7497
7706
  # availability_zone_id: "String",
7498
7707
  # cidr_block: "String", # required
@@ -8807,7 +9016,9 @@ module Aws::EC2
8807
9016
  #
8808
9017
  # @option params [required, String] :cidr_block
8809
9018
  # The IPv4 network range for the VPC, in CIDR notation. For example,
8810
- # `10.0.0.0/16`.
9019
+ # `10.0.0.0/16`. We modify the specified CIDR block to its canonical
9020
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
9021
+ # `100.68.0.0/18`.
8811
9022
  #
8812
9023
  # @option params [Boolean] :amazon_provided_ipv_6_cidr_block
8813
9024
  # Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
@@ -8850,6 +9061,9 @@ module Aws::EC2
8850
9061
  # You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
8851
9062
  # parameter.
8852
9063
  #
9064
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
9065
+ # The tags to assign to the VPC.
9066
+ #
8853
9067
  # @return [Types::CreateVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8854
9068
  #
8855
9069
  # * {Types::CreateVpcResult#vpc #vpc} => Types::Vpc
@@ -8884,6 +9098,17 @@ module Aws::EC2
8884
9098
  # dry_run: false,
8885
9099
  # instance_tenancy: "default", # accepts default, dedicated, host
8886
9100
  # ipv_6_cidr_block_network_border_group: "String",
9101
+ # tag_specifications: [
9102
+ # {
9103
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9104
+ # tags: [
9105
+ # {
9106
+ # key: "String",
9107
+ # value: "String",
9108
+ # },
9109
+ # ],
9110
+ # },
9111
+ # ],
8887
9112
  # })
8888
9113
  #
8889
9114
  # @example Response structure
@@ -10302,6 +10527,53 @@ module Aws::EC2
10302
10527
  req.send_request(options)
10303
10528
  end
10304
10529
 
10530
+ # Deletes the specified managed prefix list. You must first remove all
10531
+ # references to the prefix list in your resources.
10532
+ #
10533
+ # @option params [Boolean] :dry_run
10534
+ # Checks whether you have the required permissions for the action,
10535
+ # without actually making the request, and provides an error response.
10536
+ # If you have the required permissions, the error response is
10537
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
10538
+ #
10539
+ # @option params [required, String] :prefix_list_id
10540
+ # The ID of the prefix list.
10541
+ #
10542
+ # @return [Types::DeleteManagedPrefixListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10543
+ #
10544
+ # * {Types::DeleteManagedPrefixListResult#prefix_list #prefix_list} => Types::ManagedPrefixList
10545
+ #
10546
+ # @example Request syntax with placeholder values
10547
+ #
10548
+ # resp = client.delete_managed_prefix_list({
10549
+ # dry_run: false,
10550
+ # prefix_list_id: "PrefixListResourceId", # required
10551
+ # })
10552
+ #
10553
+ # @example Response structure
10554
+ #
10555
+ # resp.prefix_list.prefix_list_id #=> String
10556
+ # resp.prefix_list.address_family #=> String
10557
+ # resp.prefix_list.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
10558
+ # resp.prefix_list.state_message #=> String
10559
+ # resp.prefix_list.prefix_list_arn #=> String
10560
+ # resp.prefix_list.prefix_list_name #=> String
10561
+ # resp.prefix_list.max_entries #=> Integer
10562
+ # resp.prefix_list.version #=> Integer
10563
+ # resp.prefix_list.tags #=> Array
10564
+ # resp.prefix_list.tags[0].key #=> String
10565
+ # resp.prefix_list.tags[0].value #=> String
10566
+ # resp.prefix_list.owner_id #=> String
10567
+ #
10568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteManagedPrefixList AWS API Documentation
10569
+ #
10570
+ # @overload delete_managed_prefix_list(params = {})
10571
+ # @param [Hash] params ({})
10572
+ def delete_managed_prefix_list(params = {}, options = {})
10573
+ req = build_request(:delete_managed_prefix_list, params)
10574
+ req.send_request(options)
10575
+ end
10576
+
10305
10577
  # Deletes the specified NAT gateway. Deleting a NAT gateway
10306
10578
  # disassociates its Elastic IP address, but does not release the address
10307
10579
  # from your account. Deleting a NAT gateway does not delete any NAT
@@ -10625,6 +10897,9 @@ module Aws::EC2
10625
10897
  # The IPv6 CIDR range for the route. The value you specify must match
10626
10898
  # the CIDR for the route exactly.
10627
10899
  #
10900
+ # @option params [String] :destination_prefix_list_id
10901
+ # The ID of the prefix list for the route.
10902
+ #
10628
10903
  # @option params [Boolean] :dry_run
10629
10904
  # Checks whether you have the required permissions for the action,
10630
10905
  # without actually making the request, and provides an error response.
@@ -10651,6 +10926,7 @@ module Aws::EC2
10651
10926
  # resp = client.delete_route({
10652
10927
  # destination_cidr_block: "String",
10653
10928
  # destination_ipv_6_cidr_block: "String",
10929
+ # destination_prefix_list_id: "PrefixListResourceId",
10654
10930
  # dry_run: false,
10655
10931
  # route_table_id: "RouteTableId", # required
10656
10932
  # })
@@ -12392,13 +12668,13 @@ module Aws::EC2
12392
12668
  # Local Zones, use the name of the group associated with the Local
12393
12669
  # Zone (for example, `us-west-2-lax-1`).
12394
12670
  #
12395
- # * `message` - The Availability Zone or Local Zone message.
12671
+ # * `message` - The Zone message.
12396
12672
  #
12397
12673
  # * `opt-in-status` - The opt in status (`opted-in`, and `not-opted-in`
12398
12674
  # \| `opt-in-not-required`).
12399
12675
  #
12400
- # * `region-name` - The name of the Region for the Availability Zone or
12401
- # Local Zone (for example, `us-east-1`).
12676
+ # * `region-name` - The name of the Region for the Zone (for example,
12677
+ # `us-east-1`).
12402
12678
  #
12403
12679
  # * `state` - The state of the Availability Zone or Local Zone
12404
12680
  # (`available` \| `information` \| `impaired` \| `unavailable`).
@@ -12411,10 +12687,10 @@ module Aws::EC2
12411
12687
  # `us-west-2-lax-1a`).
12412
12688
  #
12413
12689
  # @option params [Array<String>] :zone_names
12414
- # The names of the Availability Zones and Local Zones.
12690
+ # The names of the Zones.
12415
12691
  #
12416
12692
  # @option params [Array<String>] :zone_ids
12417
- # The IDs of the Availability Zones and Local Zones.
12693
+ # The IDs of the Zones.
12418
12694
  #
12419
12695
  # @option params [Boolean] :all_availability_zones
12420
12696
  # Include all Availability Zones and Local Zones regardless of your opt
@@ -12503,6 +12779,9 @@ module Aws::EC2
12503
12779
  # resp.availability_zones[0].zone_id #=> String
12504
12780
  # resp.availability_zones[0].group_name #=> String
12505
12781
  # resp.availability_zones[0].network_border_group #=> String
12782
+ # resp.availability_zones[0].zone_type #=> String
12783
+ # resp.availability_zones[0].parent_zone_name #=> String
12784
+ # resp.availability_zones[0].parent_zone_id #=> String
12506
12785
  #
12507
12786
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones AWS API Documentation
12508
12787
  #
@@ -18121,6 +18400,85 @@ module Aws::EC2
18121
18400
  req.send_request(options)
18122
18401
  end
18123
18402
 
18403
+ # Describes your managed prefix lists and any AWS-managed prefix lists.
18404
+ #
18405
+ # To view the entries for your prefix list, use
18406
+ # GetManagedPrefixListEntries.
18407
+ #
18408
+ # @option params [Boolean] :dry_run
18409
+ # Checks whether you have the required permissions for the action,
18410
+ # without actually making the request, and provides an error response.
18411
+ # If you have the required permissions, the error response is
18412
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18413
+ #
18414
+ # @option params [Array<Types::Filter>] :filters
18415
+ # One or more filters.
18416
+ #
18417
+ # * `owner-id` - The ID of the prefix list owner.
18418
+ #
18419
+ # * `prefix-list-id` - The ID of the prefix list.
18420
+ #
18421
+ # * `prefix-list-name` - The name of the prefix list.
18422
+ #
18423
+ # @option params [Integer] :max_results
18424
+ # The maximum number of results to return with a single call. To
18425
+ # retrieve the remaining results, make another call with the returned
18426
+ # `nextToken` value.
18427
+ #
18428
+ # @option params [String] :next_token
18429
+ # The token for the next page of results.
18430
+ #
18431
+ # @option params [Array<String>] :prefix_list_ids
18432
+ # One or more prefix list IDs.
18433
+ #
18434
+ # @return [Types::DescribeManagedPrefixListsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18435
+ #
18436
+ # * {Types::DescribeManagedPrefixListsResult#next_token #next_token} => String
18437
+ # * {Types::DescribeManagedPrefixListsResult#prefix_lists #prefix_lists} => Array&lt;Types::ManagedPrefixList&gt;
18438
+ #
18439
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
18440
+ #
18441
+ # @example Request syntax with placeholder values
18442
+ #
18443
+ # resp = client.describe_managed_prefix_lists({
18444
+ # dry_run: false,
18445
+ # filters: [
18446
+ # {
18447
+ # name: "String",
18448
+ # values: ["String"],
18449
+ # },
18450
+ # ],
18451
+ # max_results: 1,
18452
+ # next_token: "NextToken",
18453
+ # prefix_list_ids: ["String"],
18454
+ # })
18455
+ #
18456
+ # @example Response structure
18457
+ #
18458
+ # resp.next_token #=> String
18459
+ # resp.prefix_lists #=> Array
18460
+ # resp.prefix_lists[0].prefix_list_id #=> String
18461
+ # resp.prefix_lists[0].address_family #=> String
18462
+ # resp.prefix_lists[0].state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
18463
+ # resp.prefix_lists[0].state_message #=> String
18464
+ # resp.prefix_lists[0].prefix_list_arn #=> String
18465
+ # resp.prefix_lists[0].prefix_list_name #=> String
18466
+ # resp.prefix_lists[0].max_entries #=> Integer
18467
+ # resp.prefix_lists[0].version #=> Integer
18468
+ # resp.prefix_lists[0].tags #=> Array
18469
+ # resp.prefix_lists[0].tags[0].key #=> String
18470
+ # resp.prefix_lists[0].tags[0].value #=> String
18471
+ # resp.prefix_lists[0].owner_id #=> String
18472
+ #
18473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeManagedPrefixLists AWS API Documentation
18474
+ #
18475
+ # @overload describe_managed_prefix_lists(params = {})
18476
+ # @param [Hash] params ({})
18477
+ def describe_managed_prefix_lists(params = {}, options = {})
18478
+ req = build_request(:describe_managed_prefix_lists, params)
18479
+ req.send_request(options)
18480
+ end
18481
+
18124
18482
  # Describes your Elastic IP addresses that are being moved to the
18125
18483
  # EC2-VPC platform, or that are being restored to the EC2-Classic
18126
18484
  # platform. This request does not return information about any other
@@ -18794,9 +19152,6 @@ module Aws::EC2
18794
19152
  # * `attachment.instance-owner-id` - The owner ID of the instance to
18795
19153
  # which the network interface is attached.
18796
19154
  #
18797
- # * `attachment.nat-gateway-id` - The ID of the NAT gateway to which the
18798
- # network interface is attached.
18799
- #
18800
19155
  # * `attachment.status` - The status of the attachment (`attaching` \|
18801
19156
  # `attached` \| `detaching` \| `detached`).
18802
19157
  #
@@ -19114,11 +19469,9 @@ module Aws::EC2
19114
19469
 
19115
19470
  # Describes available AWS services in a prefix list format, which
19116
19471
  # includes the prefix list name and prefix list ID of the service and
19117
- # the IP address range for the service. A prefix list ID is required for
19118
- # creating an outbound security group rule that allows traffic from a
19119
- # VPC to access an AWS service through a gateway VPC endpoint.
19120
- # Currently, the services that support this action are Amazon S3 and
19121
- # Amazon DynamoDB.
19472
+ # the IP address range for the service.
19473
+ #
19474
+ # We recommend that you use DescribeManagedPrefixLists instead.
19122
19475
  #
19123
19476
  # @option params [Boolean] :dry_run
19124
19477
  # Checks whether you have the required permissions for the action,
@@ -20627,8 +20980,8 @@ module Aws::EC2
20627
20980
  # * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
20628
20981
  # outbound security group rule.
20629
20982
  #
20630
- # * `egress.ip-permission.prefix-list-id` - The ID (prefix) of the AWS
20631
- # service to which a security group rule allows outbound access.
20983
+ # * `egress.ip-permission.prefix-list-id` - The ID of a prefix list to
20984
+ # which a security group rule allows outbound access.
20632
20985
  #
20633
20986
  # * `egress.ip-permission.protocol` - The IP protocol for an outbound
20634
20987
  # security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
@@ -20658,8 +21011,8 @@ module Aws::EC2
20658
21011
  # * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
20659
21012
  # security group rule.
20660
21013
  #
20661
- # * `ip-permission.prefix-list-id` - The ID (prefix) of the AWS service
20662
- # from which a security group rule allows inbound access.
21014
+ # * `ip-permission.prefix-list-id` - The ID of a prefix list from which
21015
+ # a security group rule allows inbound access.
20663
21016
  #
20664
21017
  # * `ip-permission.protocol` - The IP protocol for an inbound security
20665
21018
  # group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
@@ -21172,7 +21525,7 @@ module Aws::EC2
21172
21525
  end
21173
21526
 
21174
21527
  # Describes the data feed for Spot Instances. For more information, see
21175
- # [Spot Instance Data Feed][1] in the *Amazon EC2 User Guide for Linux
21528
+ # [Spot Instance data feed][1] in the *Amazon EC2 User Guide for Linux
21176
21529
  # Instances*.
21177
21530
  #
21178
21531
  #
@@ -21755,7 +22108,7 @@ module Aws::EC2
21755
22108
  # * `state` - The state of the Spot Instance request (`open` \| `active`
21756
22109
  # \| `closed` \| `cancelled` \| `failed`). Spot request status
21757
22110
  # information can help you track your Amazon EC2 Spot Instance
21758
- # requests. For more information, see [Spot Request Status][1] in the
22111
+ # requests. For more information, see [Spot request status][1] in the
21759
22112
  # *Amazon EC2 User Guide for Linux Instances*.
21760
22113
  #
21761
22114
  # * `status-code` - The short code describing the most recent evaluation
@@ -21969,7 +22322,7 @@ module Aws::EC2
21969
22322
  end
21970
22323
 
21971
22324
  # Describes the Spot price history. For more information, see [Spot
21972
- # Instance Pricing History][1] in the *Amazon EC2 User Guide for Linux
22325
+ # Instance pricing history][1] in the *Amazon EC2 User Guide for Linux
21973
22326
  # Instances*.
21974
22327
  #
21975
22328
  # When you specify a start and end time, this operation returns the
@@ -27482,6 +27835,115 @@ module Aws::EC2
27482
27835
  req.send_request(options)
27483
27836
  end
27484
27837
 
27838
+ # Gets information about the resources that are associated with the
27839
+ # specified managed prefix list.
27840
+ #
27841
+ # @option params [Boolean] :dry_run
27842
+ # Checks whether you have the required permissions for the action,
27843
+ # without actually making the request, and provides an error response.
27844
+ # If you have the required permissions, the error response is
27845
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
27846
+ #
27847
+ # @option params [required, String] :prefix_list_id
27848
+ # The ID of the prefix list.
27849
+ #
27850
+ # @option params [Integer] :max_results
27851
+ # The maximum number of results to return with a single call. To
27852
+ # retrieve the remaining results, make another call with the returned
27853
+ # `nextToken` value.
27854
+ #
27855
+ # @option params [String] :next_token
27856
+ # The token for the next page of results.
27857
+ #
27858
+ # @return [Types::GetManagedPrefixListAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
27859
+ #
27860
+ # * {Types::GetManagedPrefixListAssociationsResult#prefix_list_associations #prefix_list_associations} => Array&lt;Types::PrefixListAssociation&gt;
27861
+ # * {Types::GetManagedPrefixListAssociationsResult#next_token #next_token} => String
27862
+ #
27863
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
27864
+ #
27865
+ # @example Request syntax with placeholder values
27866
+ #
27867
+ # resp = client.get_managed_prefix_list_associations({
27868
+ # dry_run: false,
27869
+ # prefix_list_id: "PrefixListResourceId", # required
27870
+ # max_results: 1,
27871
+ # next_token: "NextToken",
27872
+ # })
27873
+ #
27874
+ # @example Response structure
27875
+ #
27876
+ # resp.prefix_list_associations #=> Array
27877
+ # resp.prefix_list_associations[0].resource_id #=> String
27878
+ # resp.prefix_list_associations[0].resource_owner #=> String
27879
+ # resp.next_token #=> String
27880
+ #
27881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedPrefixListAssociations AWS API Documentation
27882
+ #
27883
+ # @overload get_managed_prefix_list_associations(params = {})
27884
+ # @param [Hash] params ({})
27885
+ def get_managed_prefix_list_associations(params = {}, options = {})
27886
+ req = build_request(:get_managed_prefix_list_associations, params)
27887
+ req.send_request(options)
27888
+ end
27889
+
27890
+ # Gets information about the entries for a specified managed prefix
27891
+ # list.
27892
+ #
27893
+ # @option params [Boolean] :dry_run
27894
+ # Checks whether you have the required permissions for the action,
27895
+ # without actually making the request, and provides an error response.
27896
+ # If you have the required permissions, the error response is
27897
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
27898
+ #
27899
+ # @option params [required, String] :prefix_list_id
27900
+ # The ID of the prefix list.
27901
+ #
27902
+ # @option params [Integer] :target_version
27903
+ # The version of the prefix list for which to return the entries. The
27904
+ # default is the current version.
27905
+ #
27906
+ # @option params [Integer] :max_results
27907
+ # The maximum number of results to return with a single call. To
27908
+ # retrieve the remaining results, make another call with the returned
27909
+ # `nextToken` value.
27910
+ #
27911
+ # @option params [String] :next_token
27912
+ # The token for the next page of results.
27913
+ #
27914
+ # @return [Types::GetManagedPrefixListEntriesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
27915
+ #
27916
+ # * {Types::GetManagedPrefixListEntriesResult#entries #entries} => Array&lt;Types::PrefixListEntry&gt;
27917
+ # * {Types::GetManagedPrefixListEntriesResult#next_token #next_token} => String
27918
+ #
27919
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
27920
+ #
27921
+ # @example Request syntax with placeholder values
27922
+ #
27923
+ # resp = client.get_managed_prefix_list_entries({
27924
+ # dry_run: false,
27925
+ # prefix_list_id: "PrefixListResourceId", # required
27926
+ # target_version: 1,
27927
+ # max_results: 1,
27928
+ # next_token: "NextToken",
27929
+ # })
27930
+ #
27931
+ # @example Response structure
27932
+ #
27933
+ # resp.entries #=> Array
27934
+ # resp.entries[0].cidr #=> String
27935
+ # resp.entries[0].description #=> String
27936
+ # resp.next_token #=> String
27937
+ #
27938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedPrefixListEntries AWS API Documentation
27939
+ #
27940
+ # @overload get_managed_prefix_list_entries(params = {})
27941
+ # @param [Hash] params ({})
27942
+ def get_managed_prefix_list_entries(params = {}, options = {})
27943
+ req = build_request(:get_managed_prefix_list_entries, params)
27944
+ req.send_request(options)
27945
+ end
27946
+
27485
27947
  # Retrieves the encrypted administrator password for a running Windows
27486
27948
  # instance.
27487
27949
  #
@@ -28625,12 +29087,11 @@ module Aws::EC2
28625
29087
 
28626
29088
  # Enables or disables an Availability Zone group for your account.
28627
29089
  #
28628
- # Use [describe-availability-zones][1] to view the value for
28629
- # `GroupName`.
29090
+ # Use [ DescribeAvailabilityZones][1] to view the value for `GroupName`.
28630
29091
  #
28631
29092
  #
28632
29093
  #
28633
- # [1]: https://docs.aws.amazon.com/AWSEC2ApiDocReef/build/server-root/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
29094
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
28634
29095
  #
28635
29096
  # @option params [required, String] :group_name
28636
29097
  # The name of the Availability Zone Group.
@@ -30156,6 +30617,84 @@ module Aws::EC2
30156
30617
  req.send_request(options)
30157
30618
  end
30158
30619
 
30620
+ # Modifies the specified managed prefix list.
30621
+ #
30622
+ # Adding or removing entries in a prefix list creates a new version of
30623
+ # the prefix list. Changing the name of the prefix list does not affect
30624
+ # the version.
30625
+ #
30626
+ # If you specify a current version number that does not match the true
30627
+ # current version number, the request fails.
30628
+ #
30629
+ # @option params [Boolean] :dry_run
30630
+ # Checks whether you have the required permissions for the action,
30631
+ # without actually making the request, and provides an error response.
30632
+ # If you have the required permissions, the error response is
30633
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
30634
+ #
30635
+ # @option params [required, String] :prefix_list_id
30636
+ # The ID of the prefix list.
30637
+ #
30638
+ # @option params [Integer] :current_version
30639
+ # The current version of the prefix list.
30640
+ #
30641
+ # @option params [String] :prefix_list_name
30642
+ # A name for the prefix list.
30643
+ #
30644
+ # @option params [Array<Types::AddPrefixListEntry>] :add_entries
30645
+ # One or more entries to add to the prefix list.
30646
+ #
30647
+ # @option params [Array<Types::RemovePrefixListEntry>] :remove_entries
30648
+ # One or more entries to remove from the prefix list.
30649
+ #
30650
+ # @return [Types::ModifyManagedPrefixListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
30651
+ #
30652
+ # * {Types::ModifyManagedPrefixListResult#prefix_list #prefix_list} => Types::ManagedPrefixList
30653
+ #
30654
+ # @example Request syntax with placeholder values
30655
+ #
30656
+ # resp = client.modify_managed_prefix_list({
30657
+ # dry_run: false,
30658
+ # prefix_list_id: "PrefixListResourceId", # required
30659
+ # current_version: 1,
30660
+ # prefix_list_name: "String",
30661
+ # add_entries: [
30662
+ # {
30663
+ # cidr: "String", # required
30664
+ # description: "String",
30665
+ # },
30666
+ # ],
30667
+ # remove_entries: [
30668
+ # {
30669
+ # cidr: "String", # required
30670
+ # },
30671
+ # ],
30672
+ # })
30673
+ #
30674
+ # @example Response structure
30675
+ #
30676
+ # resp.prefix_list.prefix_list_id #=> String
30677
+ # resp.prefix_list.address_family #=> String
30678
+ # resp.prefix_list.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
30679
+ # resp.prefix_list.state_message #=> String
30680
+ # resp.prefix_list.prefix_list_arn #=> String
30681
+ # resp.prefix_list.prefix_list_name #=> String
30682
+ # resp.prefix_list.max_entries #=> Integer
30683
+ # resp.prefix_list.version #=> Integer
30684
+ # resp.prefix_list.tags #=> Array
30685
+ # resp.prefix_list.tags[0].key #=> String
30686
+ # resp.prefix_list.tags[0].value #=> String
30687
+ # resp.prefix_list.owner_id #=> String
30688
+ #
30689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyManagedPrefixList AWS API Documentation
30690
+ #
30691
+ # @overload modify_managed_prefix_list(params = {})
30692
+ # @param [Hash] params ({})
30693
+ def modify_managed_prefix_list(params = {}, options = {})
30694
+ req = build_request(:modify_managed_prefix_list, params)
30695
+ req.send_request(options)
30696
+ end
30697
+
30159
30698
  # Modifies the specified network interface attribute. You can specify
30160
30699
  # only one attribute at a time. You can use this action to attach and
30161
30700
  # detach security groups from an existing EC2 instance.
@@ -33442,6 +33981,9 @@ module Aws::EC2
33442
33981
  # that you provide must match the CIDR of an existing route in the
33443
33982
  # table.
33444
33983
  #
33984
+ # @option params [String] :destination_prefix_list_id
33985
+ # The ID of the prefix list for the route.
33986
+ #
33445
33987
  # @option params [Boolean] :dry_run
33446
33988
  # Checks whether you have the required permissions for the action,
33447
33989
  # without actually making the request, and provides an error response.
@@ -33498,6 +34040,7 @@ module Aws::EC2
33498
34040
  # resp = client.replace_route({
33499
34041
  # destination_cidr_block: "String",
33500
34042
  # destination_ipv_6_cidr_block: "String",
34043
+ # destination_prefix_list_id: "PrefixListResourceId",
33501
34044
  # dry_run: false,
33502
34045
  # egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
33503
34046
  # gateway_id: "RouteGatewayId",
@@ -33753,7 +34296,7 @@ module Aws::EC2
33753
34296
  # request because only the `spot-fleet-request` and `instance` resource
33754
34297
  # types are supported.
33755
34298
  #
33756
- # For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
34299
+ # For more information, see [Spot Fleet requests][1] in the *Amazon EC2
33757
34300
  # User Guide for Linux Instances*.
33758
34301
  #
33759
34302
  #
@@ -34098,7 +34641,7 @@ module Aws::EC2
34098
34641
 
34099
34642
  # Creates a Spot Instance request.
34100
34643
  #
34101
- # For more information, see [Spot Instance Requests][1] in the *Amazon
34644
+ # For more information, see [Spot Instance requests][1] in the *Amazon
34102
34645
  # EC2 User Guide for Linux Instances*.
34103
34646
  #
34104
34647
  #
@@ -34198,6 +34741,16 @@ module Aws::EC2
34198
34741
  # remains active until it is canceled or this date is reached. The
34199
34742
  # default end date is 7 days from the current date.
34200
34743
  #
34744
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
34745
+ # The key-value pair for tagging the Spot Instance request on creation.
34746
+ # The value for `ResourceType` must be `spot-instances-request`,
34747
+ # otherwise the Spot Instance request fails. To tag the Spot Instance
34748
+ # request after it has been created, see [CreateTags][1].
34749
+ #
34750
+ #
34751
+ #
34752
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
34753
+ #
34201
34754
  # @option params [String] :instance_interruption_behavior
34202
34755
  # The behavior when a Spot Instance is interrupted. The default is
34203
34756
  # `terminate`.
@@ -34337,6 +34890,17 @@ module Aws::EC2
34337
34890
  # type: "one-time", # accepts one-time, persistent
34338
34891
  # valid_from: Time.now,
34339
34892
  # valid_until: Time.now,
34893
+ # tag_specifications: [
34894
+ # {
34895
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
34896
+ # tags: [
34897
+ # {
34898
+ # key: "String",
34899
+ # value: "String",
34900
+ # },
34901
+ # ],
34902
+ # },
34903
+ # ],
34340
34904
  # instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
34341
34905
  # })
34342
34906
  #
@@ -34768,6 +35332,61 @@ module Aws::EC2
34768
35332
  req.send_request(options)
34769
35333
  end
34770
35334
 
35335
+ # Restores the entries from a previous version of a managed prefix list
35336
+ # to a new version of the prefix list.
35337
+ #
35338
+ # @option params [Boolean] :dry_run
35339
+ # Checks whether you have the required permissions for the action,
35340
+ # without actually making the request, and provides an error response.
35341
+ # If you have the required permissions, the error response is
35342
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
35343
+ #
35344
+ # @option params [required, String] :prefix_list_id
35345
+ # The ID of the prefix list.
35346
+ #
35347
+ # @option params [required, Integer] :previous_version
35348
+ # The version to restore.
35349
+ #
35350
+ # @option params [required, Integer] :current_version
35351
+ # The current version number for the prefix list.
35352
+ #
35353
+ # @return [Types::RestoreManagedPrefixListVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
35354
+ #
35355
+ # * {Types::RestoreManagedPrefixListVersionResult#prefix_list #prefix_list} => Types::ManagedPrefixList
35356
+ #
35357
+ # @example Request syntax with placeholder values
35358
+ #
35359
+ # resp = client.restore_managed_prefix_list_version({
35360
+ # dry_run: false,
35361
+ # prefix_list_id: "PrefixListResourceId", # required
35362
+ # previous_version: 1, # required
35363
+ # current_version: 1, # required
35364
+ # })
35365
+ #
35366
+ # @example Response structure
35367
+ #
35368
+ # resp.prefix_list.prefix_list_id #=> String
35369
+ # resp.prefix_list.address_family #=> String
35370
+ # resp.prefix_list.state #=> String, one of "create-in-progress", "create-complete", "create-failed", "modify-in-progress", "modify-complete", "modify-failed", "restore-in-progress", "restore-complete", "restore-failed", "delete-in-progress", "delete-complete", "delete-failed"
35371
+ # resp.prefix_list.state_message #=> String
35372
+ # resp.prefix_list.prefix_list_arn #=> String
35373
+ # resp.prefix_list.prefix_list_name #=> String
35374
+ # resp.prefix_list.max_entries #=> Integer
35375
+ # resp.prefix_list.version #=> Integer
35376
+ # resp.prefix_list.tags #=> Array
35377
+ # resp.prefix_list.tags[0].key #=> String
35378
+ # resp.prefix_list.tags[0].value #=> String
35379
+ # resp.prefix_list.owner_id #=> String
35380
+ #
35381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreManagedPrefixListVersion AWS API Documentation
35382
+ #
35383
+ # @overload restore_managed_prefix_list_version(params = {})
35384
+ # @param [Hash] params ({})
35385
+ def restore_managed_prefix_list_version(params = {}, options = {})
35386
+ req = build_request(:restore_managed_prefix_list_version, params)
35387
+ req.send_request(options)
35388
+ end
35389
+
34771
35390
  # Removes an ingress authorization rule from a Client VPN endpoint.
34772
35391
  #
34773
35392
  # @option params [required, String] :client_vpn_endpoint_id
@@ -37137,7 +37756,7 @@ module Aws::EC2
37137
37756
  params: params,
37138
37757
  config: config)
37139
37758
  context[:gem_name] = 'aws-sdk-ec2'
37140
- context[:gem_version] = '1.171.0'
37759
+ context[:gem_version] = '1.176.0'
37141
37760
  Seahorse::Client::Request.new(handlers, context)
37142
37761
  end
37143
37762