aws-sdk-ec2 1.40.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +224 -148
- data/lib/aws-sdk-ec2/client_api.rb +10 -2
- data/lib/aws-sdk-ec2/internet_gateway.rb +2 -2
- data/lib/aws-sdk-ec2/network_acl.rb +9 -9
- data/lib/aws-sdk-ec2/resource.rb +2 -2
- data/lib/aws-sdk-ec2/route.rb +5 -4
- data/lib/aws-sdk-ec2/route_table.rb +2 -2
- data/lib/aws-sdk-ec2/subnet.rb +2 -3
- data/lib/aws-sdk-ec2/types.rb +151 -69
- data/lib/aws-sdk-ec2/vpc.rb +7 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77bdd1b72b936144b1f6e3c2245509c49db2cc56
|
4
|
+
data.tar.gz: f625fc929eaa188d5afe77573ecec49c6191836b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24d0696c99e1e0a52bb00956be6771811e1325d69251ecfc1f0e551752d1bd9f8fd4f9933f3603e1f42d835cb64583a42d77299c3388d76b5680b35419ec1e1a
|
7
|
+
data.tar.gz: 833f2ef605820ba7184dceeda8544a9f943e8ebbd83761c1d15598f2954c8a2cfe750b22d748979bc0bee29fdd163c7ab0e6ad9ba83dbae7ad0299e015a589fc
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -320,19 +320,23 @@ module Aws::EC2
|
|
320
320
|
req.send_request(options)
|
321
321
|
end
|
322
322
|
|
323
|
-
# Allocates an Elastic IP address.
|
323
|
+
# Allocates an Elastic IP address to your AWS account. After you
|
324
|
+
# allocate the Elastic IP address you can associate it with an instance
|
325
|
+
# or network interface. After you release an Elastic IP address, it is
|
326
|
+
# released to the IP address pool and can be allocated to a different
|
327
|
+
# AWS account.
|
328
|
+
#
|
329
|
+
# \[EC2-VPC\] If you release an Elastic IP address, you might be able to
|
330
|
+
# recover it. You cannot recover an Elastic IP address that you released
|
331
|
+
# after it is allocated to another AWS account. You cannot recover an
|
332
|
+
# Elastic IP address for EC2-Classic. To attempt to recover an Elastic
|
333
|
+
# IP address that you released, specify it in this operation.
|
324
334
|
#
|
325
335
|
# An Elastic IP address is for use either in the EC2-Classic platform or
|
326
336
|
# in a VPC. By default, you can allocate 5 Elastic IP addresses for
|
327
337
|
# EC2-Classic per region and 5 Elastic IP addresses for EC2-VPC per
|
328
338
|
# region.
|
329
339
|
#
|
330
|
-
# If you release an Elastic IP address for use in a VPC, you might be
|
331
|
-
# able to recover it. To recover an Elastic IP address that you
|
332
|
-
# released, specify it in the `Address` parameter. Note that you cannot
|
333
|
-
# recover an Elastic IP address that you released after it is allocated
|
334
|
-
# to another AWS account.
|
335
|
-
#
|
336
340
|
# For more information, see [Elastic IP Addresses][1] in the *Amazon
|
337
341
|
# Elastic Compute Cloud User Guide*.
|
338
342
|
#
|
@@ -609,7 +613,8 @@ module Aws::EC2
|
|
609
613
|
end
|
610
614
|
|
611
615
|
# Associates an Elastic IP address with an instance or a network
|
612
|
-
# interface.
|
616
|
+
# interface. Before you can use an Elastic IP address, you must allocate
|
617
|
+
# it to your account.
|
613
618
|
#
|
614
619
|
# An Elastic IP address is for use in either the EC2-Classic platform or
|
615
620
|
# in a VPC. For more information, see [Elastic IP Addresses][1] in the
|
@@ -888,8 +893,8 @@ module Aws::EC2
|
|
888
893
|
# to disassociate the route table from the subnet later. A route table
|
889
894
|
# can be associated with multiple subnets.
|
890
895
|
#
|
891
|
-
# For more information
|
892
|
-
#
|
896
|
+
# For more information, see [Route Tables][1] in the *Amazon Virtual
|
897
|
+
# Private Cloud User Guide*.
|
893
898
|
#
|
894
899
|
#
|
895
900
|
#
|
@@ -1102,9 +1107,9 @@ module Aws::EC2
|
|
1102
1107
|
req.send_request(options)
|
1103
1108
|
end
|
1104
1109
|
|
1105
|
-
# Attaches an
|
1106
|
-
# the
|
1107
|
-
#
|
1110
|
+
# Attaches an internet gateway to a VPC, enabling connectivity between
|
1111
|
+
# the internet and the VPC. For more information about your VPC and
|
1112
|
+
# internet gateway, see the [Amazon Virtual Private Cloud User
|
1108
1113
|
# Guide][1].
|
1109
1114
|
#
|
1110
1115
|
#
|
@@ -1118,7 +1123,7 @@ module Aws::EC2
|
|
1118
1123
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1119
1124
|
#
|
1120
1125
|
# @option params [required, String] :internet_gateway_id
|
1121
|
-
# The ID of the
|
1126
|
+
# The ID of the internet gateway.
|
1122
1127
|
#
|
1123
1128
|
# @option params [required, String] :vpc_id
|
1124
1129
|
# The ID of the VPC.
|
@@ -2824,12 +2829,12 @@ module Aws::EC2
|
|
2824
2829
|
# in the *Amazon Virtual Private Cloud User Guide*. You cannot specify
|
2825
2830
|
# the components of the default VPC yourself.
|
2826
2831
|
#
|
2827
|
-
#
|
2828
|
-
# You cannot have more than one default VPC per
|
2832
|
+
# iIf you deleted your previous default VPC, you can create a default
|
2833
|
+
# VPC. You cannot have more than one default VPC per Region.
|
2829
2834
|
#
|
2830
2835
|
# If your account supports EC2-Classic, you cannot use this action to
|
2831
|
-
# create a default VPC in a
|
2832
|
-
# want a default VPC in a
|
2836
|
+
# create a default VPC in a Region that supports EC2-Classic. If you
|
2837
|
+
# want a default VPC in a Region that supports EC2-Classic, see "I
|
2833
2838
|
# really want a default VPC for my existing EC2 account. Is that
|
2834
2839
|
# possible?" in the [Default VPCs FAQ][2].
|
2835
2840
|
#
|
@@ -2895,9 +2900,9 @@ module Aws::EC2
|
|
2895
2900
|
# servers, or AmazonProvidedDNS. The default DHCP option set specifies
|
2896
2901
|
# AmazonProvidedDNS. If specifying more than one domain name server,
|
2897
2902
|
# specify the IP addresses in a single parameter, separated by commas.
|
2898
|
-
#
|
2899
|
-
#
|
2900
|
-
#
|
2903
|
+
# ITo have your instance to receive a custom DNS hostname as specified
|
2904
|
+
# in `domain-name`, you must set `domain-name-servers` to a custom DNS
|
2905
|
+
# server.
|
2901
2906
|
#
|
2902
2907
|
# * `domain-name` - If you're using AmazonProvidedDNS in `us-east-1`,
|
2903
2908
|
# specify `ec2.internal`. If you're using AmazonProvidedDNS in
|
@@ -2924,11 +2929,11 @@ module Aws::EC2
|
|
2924
2929
|
#
|
2925
2930
|
# Your VPC automatically starts out with a set of DHCP options that
|
2926
2931
|
# includes only a DNS server that we provide (AmazonProvidedDNS). If you
|
2927
|
-
# create a set of options, and if your VPC has an
|
2932
|
+
# create a set of options, and if your VPC has an internet gateway, make
|
2928
2933
|
# sure to set the `domain-name-servers` option either to
|
2929
2934
|
# `AmazonProvidedDNS` or to a domain name server of your choice. For
|
2930
|
-
# more information
|
2931
|
-
#
|
2935
|
+
# more information, see [DHCP Options Sets][2] in the *Amazon Virtual
|
2936
|
+
# Private Cloud User Guide*.
|
2932
2937
|
#
|
2933
2938
|
#
|
2934
2939
|
#
|
@@ -3017,14 +3022,14 @@ module Aws::EC2
|
|
3017
3022
|
req.send_request(options)
|
3018
3023
|
end
|
3019
3024
|
|
3020
|
-
# \[IPv6 only\] Creates an egress-only
|
3021
|
-
# egress-only
|
3022
|
-
# over IPv6 from instances in your VPC to the
|
3025
|
+
# \[IPv6 only\] Creates an egress-only internet gateway for your VPC. An
|
3026
|
+
# egress-only internet gateway is used to enable outbound communication
|
3027
|
+
# over IPv6 from instances in your VPC to the internet, and prevents
|
3023
3028
|
# hosts outside of your VPC from initiating an IPv6 connection with your
|
3024
3029
|
# instance.
|
3025
3030
|
#
|
3026
3031
|
# @option params [String] :client_token
|
3027
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
3032
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
3028
3033
|
# idempotency of the request. For more information, see [How to Ensure
|
3029
3034
|
# Idempotency][1].
|
3030
3035
|
#
|
@@ -3039,7 +3044,7 @@ module Aws::EC2
|
|
3039
3044
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3040
3045
|
#
|
3041
3046
|
# @option params [required, String] :vpc_id
|
3042
|
-
# The ID of the VPC for which to create the egress-only
|
3047
|
+
# The ID of the VPC for which to create the egress-only internet
|
3043
3048
|
# gateway.
|
3044
3049
|
#
|
3045
3050
|
# @return [Types::CreateEgressOnlyInternetGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3233,27 +3238,36 @@ module Aws::EC2
|
|
3233
3238
|
req.send_request(options)
|
3234
3239
|
end
|
3235
3240
|
|
3236
|
-
# Creates one or more flow logs to capture IP traffic
|
3237
|
-
# network interface, subnet, or VPC.
|
3238
|
-
# specified log group in Amazon CloudWatch Logs. If you specify a VPC or
|
3239
|
-
# subnet in the request, a log stream is created in CloudWatch Logs for
|
3240
|
-
# each network interface in the subnet or VPC. Log streams can include
|
3241
|
-
# information about accepted and rejected traffic to a network
|
3242
|
-
# interface. You can view the data in your log streams using Amazon
|
3243
|
-
# CloudWatch Logs.
|
3241
|
+
# Creates one or more flow logs to capture information about IP traffic
|
3242
|
+
# for a specific network interface, subnet, or VPC.
|
3244
3243
|
#
|
3245
|
-
#
|
3246
|
-
#
|
3244
|
+
# Flow log data for a monitored network interface is recorded as flow
|
3245
|
+
# log records, which are log events consisting of fields that describe
|
3246
|
+
# the traffic flow. For more information, see [Flow Log Records][1] in
|
3247
|
+
# the *Amazon Virtual Private Cloud User Guide*.
|
3248
|
+
#
|
3249
|
+
# When publishing to CloudWatch Logs, flow log records are published to
|
3250
|
+
# a log group, and each network interface has a unique log stream in the
|
3251
|
+
# log group. When publishing to Amazon S3, flow log records for all of
|
3252
|
+
# the monitored network interfaces are published to a single log file
|
3253
|
+
# object that is stored in the specified bucket.
|
3247
3254
|
#
|
3248
|
-
# For more information, see [VPC Flow Logs][
|
3255
|
+
# For more information, see [VPC Flow Logs][2] in the *Amazon Virtual
|
3249
3256
|
# Private Cloud User Guide*.
|
3250
3257
|
#
|
3251
3258
|
#
|
3252
3259
|
#
|
3253
|
-
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html
|
3260
|
+
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html#flow-log-records
|
3261
|
+
# [2]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html
|
3262
|
+
#
|
3263
|
+
# @option params [Boolean] :dry_run
|
3264
|
+
# Checks whether you have the required permissions for the action,
|
3265
|
+
# without actually making the request, and provides an error response.
|
3266
|
+
# If you have the required permissions, the error response is
|
3267
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3254
3268
|
#
|
3255
3269
|
# @option params [String] :client_token
|
3256
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
3270
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
3257
3271
|
# idempotency of the request. For more information, see [How to Ensure
|
3258
3272
|
# Idempotency][1].
|
3259
3273
|
#
|
@@ -3261,12 +3275,12 @@ module Aws::EC2
|
|
3261
3275
|
#
|
3262
3276
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
3263
3277
|
#
|
3264
|
-
# @option params [
|
3265
|
-
# The ARN for the IAM role that's used to post flow logs to a
|
3266
|
-
#
|
3278
|
+
# @option params [String] :deliver_logs_permission_arn
|
3279
|
+
# The ARN for the IAM role that's used to post flow logs to a log
|
3280
|
+
# group.
|
3267
3281
|
#
|
3268
|
-
# @option params [
|
3269
|
-
# The name of the
|
3282
|
+
# @option params [String] :log_group_name
|
3283
|
+
# The name of the log group.
|
3270
3284
|
#
|
3271
3285
|
# @option params [required, Array<String>] :resource_ids
|
3272
3286
|
# One or more subnet, network interface, or VPC IDs.
|
@@ -3279,6 +3293,31 @@ module Aws::EC2
|
|
3279
3293
|
# @option params [required, String] :traffic_type
|
3280
3294
|
# The type of traffic to log.
|
3281
3295
|
#
|
3296
|
+
# @option params [String] :log_destination_type
|
3297
|
+
# Specifies the type of destination to which the flow log data is to be
|
3298
|
+
# published. Flow log data can be published to CloudWatch Logs or Amazon
|
3299
|
+
# S3. To publish flow log data to CloudWatch Logs, specify
|
3300
|
+
# `cloud-watch-logs`. To publish flow log data to Amazon S3, specify
|
3301
|
+
# `s3`.
|
3302
|
+
#
|
3303
|
+
# Default: `cloud-watch-logs`
|
3304
|
+
#
|
3305
|
+
# @option params [String] :log_destination
|
3306
|
+
# Specifies the destination to which the flow log data is to be
|
3307
|
+
# published. Flow log data can be published to an CloudWatch Logs log
|
3308
|
+
# group or an Amazon S3 bucket. The value specified for this parameter
|
3309
|
+
# depends on the value specified for LogDestinationType.
|
3310
|
+
#
|
3311
|
+
# If LogDestinationType is not specified or `cloud-watch-logs`, specify
|
3312
|
+
# the Amazon Resource Name (ARN) of the CloudWatch Logs log group.
|
3313
|
+
#
|
3314
|
+
# If LogDestinationType is `s3`, specify the ARN of the Amazon S3
|
3315
|
+
# bucket. You can also specify a subfolder in the bucket. To specify a
|
3316
|
+
# subfolder in the bucket, use the following ARN format:
|
3317
|
+
# `bucket_ARN/subfolder_name/`. For example, to specify a subfolder
|
3318
|
+
# named `my-logs` in a bucket named `my-bucket`, use the following ARN:
|
3319
|
+
# `arn:aws:s3:::my-bucket/my-logs/`.
|
3320
|
+
#
|
3282
3321
|
# @return [Types::CreateFlowLogsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3283
3322
|
#
|
3284
3323
|
# * {Types::CreateFlowLogsResult#client_token #client_token} => String
|
@@ -3288,12 +3327,15 @@ module Aws::EC2
|
|
3288
3327
|
# @example Request syntax with placeholder values
|
3289
3328
|
#
|
3290
3329
|
# resp = client.create_flow_logs({
|
3330
|
+
# dry_run: false,
|
3291
3331
|
# client_token: "String",
|
3292
|
-
# deliver_logs_permission_arn: "String",
|
3293
|
-
# log_group_name: "String",
|
3332
|
+
# deliver_logs_permission_arn: "String",
|
3333
|
+
# log_group_name: "String",
|
3294
3334
|
# resource_ids: ["String"], # required
|
3295
3335
|
# resource_type: "VPC", # required, accepts VPC, Subnet, NetworkInterface
|
3296
3336
|
# traffic_type: "ACCEPT", # required, accepts ACCEPT, REJECT, ALL
|
3337
|
+
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
3338
|
+
# log_destination: "String",
|
3297
3339
|
# })
|
3298
3340
|
#
|
3299
3341
|
# @example Response structure
|
@@ -3576,10 +3618,10 @@ module Aws::EC2
|
|
3576
3618
|
req.send_request(options)
|
3577
3619
|
end
|
3578
3620
|
|
3579
|
-
# Creates an
|
3580
|
-
#
|
3621
|
+
# Creates an internet gateway for use with a VPC. After creating the
|
3622
|
+
# internet gateway, you attach it to a VPC using AttachInternetGateway.
|
3581
3623
|
#
|
3582
|
-
# For more information about your VPC and
|
3624
|
+
# For more information about your VPC and internet gateway, see the
|
3583
3625
|
# [Amazon Virtual Private Cloud User Guide][1].
|
3584
3626
|
#
|
3585
3627
|
#
|
@@ -4225,7 +4267,7 @@ module Aws::EC2
|
|
4225
4267
|
# resource, you must first disassociate it.
|
4226
4268
|
#
|
4227
4269
|
# @option params [String] :client_token
|
4228
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
4270
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
4229
4271
|
# idempotency of the request. For more information, see [How to Ensure
|
4230
4272
|
# Idempotency][1].
|
4231
4273
|
#
|
@@ -4316,8 +4358,8 @@ module Aws::EC2
|
|
4316
4358
|
# of security (in addition to security groups) for the instances in your
|
4317
4359
|
# VPC.
|
4318
4360
|
#
|
4319
|
-
# For more information
|
4320
|
-
#
|
4361
|
+
# For more information, see [Network ACLs][1] in the *Amazon Virtual
|
4362
|
+
# Private Cloud User Guide*.
|
4321
4363
|
#
|
4322
4364
|
#
|
4323
4365
|
#
|
@@ -4470,10 +4512,10 @@ module Aws::EC2
|
|
4470
4512
|
# The protocol. A value of `-1` or `all` means all protocols. If you
|
4471
4513
|
# specify `all`, `-1`, or a protocol number other than `6` (tcp), `17`
|
4472
4514
|
# (udp), or `1` (icmp), traffic on all ports is allowed, regardless of
|
4473
|
-
# any ports or ICMP types or codes you specify. If you specify
|
4474
|
-
# `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for all
|
4475
|
-
# types and codes allowed, regardless of any that you specify. If
|
4476
|
-
# specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
|
4515
|
+
# any ports or ICMP types or codes that you specify. If you specify
|
4516
|
+
# protocol `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for all
|
4517
|
+
# ICMP types and codes allowed, regardless of any that you specify. If
|
4518
|
+
# you specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
|
4477
4519
|
# must specify an ICMP type and code.
|
4478
4520
|
#
|
4479
4521
|
# @option params [required, String] :rule_action
|
@@ -4956,9 +4998,9 @@ module Aws::EC2
|
|
4956
4998
|
|
4957
4999
|
# Creates a route in a route table within a VPC.
|
4958
5000
|
#
|
4959
|
-
# You must specify one of the following targets:
|
5001
|
+
# You must specify one of the following targets: internet gateway or
|
4960
5002
|
# virtual private gateway, NAT instance, NAT gateway, VPC peering
|
4961
|
-
# connection, network interface, or egress-only
|
5003
|
+
# connection, network interface, or egress-only internet gateway.
|
4962
5004
|
#
|
4963
5005
|
# When determining how to route traffic, we use the route with the most
|
4964
5006
|
# specific match. For example, traffic is destined for the IPv4 address
|
@@ -4996,10 +5038,10 @@ module Aws::EC2
|
|
4996
5038
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4997
5039
|
#
|
4998
5040
|
# @option params [String] :egress_only_internet_gateway_id
|
4999
|
-
# \[IPv6 traffic only\] The ID of an egress-only
|
5041
|
+
# \[IPv6 traffic only\] The ID of an egress-only internet gateway.
|
5000
5042
|
#
|
5001
5043
|
# @option params [String] :gateway_id
|
5002
|
-
# The ID of an
|
5044
|
+
# The ID of an internet gateway or virtual private gateway attached to
|
5003
5045
|
# your VPC.
|
5004
5046
|
#
|
5005
5047
|
# @option params [String] :instance_id
|
@@ -5066,8 +5108,8 @@ module Aws::EC2
|
|
5066
5108
|
# Creates a route table for the specified VPC. After you create a route
|
5067
5109
|
# table, you can add routes and associate the table with a subnet.
|
5068
5110
|
#
|
5069
|
-
# For more information
|
5070
|
-
#
|
5111
|
+
# For more information, see [Route Tables][1] in the *Amazon Virtual
|
5112
|
+
# Private Cloud User Guide*.
|
5071
5113
|
#
|
5072
5114
|
#
|
5073
5115
|
#
|
@@ -5480,14 +5522,14 @@ module Aws::EC2
|
|
5480
5522
|
|
5481
5523
|
# Creates a subnet in an existing VPC.
|
5482
5524
|
#
|
5483
|
-
# When you create each subnet, you provide the VPC ID and
|
5484
|
-
# block
|
5485
|
-
#
|
5486
|
-
#
|
5487
|
-
#
|
5488
|
-
#
|
5489
|
-
#
|
5490
|
-
#
|
5525
|
+
# When you create each subnet, you provide the VPC ID and IPv4 CIDR
|
5526
|
+
# block for the subnet. After you create a subnet, you can't change its
|
5527
|
+
# CIDR block. The size of the subnet's IPv4 CIDR block can be the same
|
5528
|
+
# as a VPC's IPv4 CIDR block, or a subset of a VPC's IPv4 CIDR block.
|
5529
|
+
# If you create more than one subnet in a VPC, the subnets' CIDR blocks
|
5530
|
+
# must not overlap. The smallest IPv4 subnet (and VPC) you can create
|
5531
|
+
# uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16
|
5532
|
+
# netmask (65,536 IPv4 addresses).
|
5491
5533
|
#
|
5492
5534
|
# If you've associated an IPv6 CIDR block with your VPC, you can create
|
5493
5535
|
# a subnet with an IPv6 CIDR block that uses a /64 prefix length.
|
@@ -5922,9 +5964,9 @@ module Aws::EC2
|
|
5922
5964
|
|
5923
5965
|
# Creates a VPC with the specified IPv4 CIDR block. The smallest VPC you
|
5924
5966
|
# can create uses a /28 netmask (16 IPv4 addresses), and the largest
|
5925
|
-
# uses a /16 netmask (65,536 IPv4 addresses).
|
5926
|
-
# to make your VPC, see [Your VPC and Subnets][1] in the
|
5927
|
-
# Private Cloud User Guide*.
|
5967
|
+
# uses a /16 netmask (65,536 IPv4 addresses). For more information about
|
5968
|
+
# how large to make your VPC, see [Your VPC and Subnets][1] in the
|
5969
|
+
# *Amazon Virtual Private Cloud User Guide*.
|
5928
5970
|
#
|
5929
5971
|
# You can optionally request an Amazon-provided IPv6 CIDR block for the
|
5930
5972
|
# VPC. The IPv6 CIDR block uses a /56 prefix length, and is allocated
|
@@ -5932,10 +5974,9 @@ module Aws::EC2
|
|
5932
5974
|
# range for your VPC.
|
5933
5975
|
#
|
5934
5976
|
# By default, each instance you launch in the VPC has the default DHCP
|
5935
|
-
# options, which
|
5936
|
-
# (AmazonProvidedDNS). For more information
|
5937
|
-
#
|
5938
|
-
# Guide*.
|
5977
|
+
# options, which include only a default DNS server that we provide
|
5978
|
+
# (AmazonProvidedDNS). For more information, see [DHCP Options Sets][2]
|
5979
|
+
# in the *Amazon Virtual Private Cloud User Guide*.
|
5939
5980
|
#
|
5940
5981
|
# You can specify the instance tenancy value for the VPC when you create
|
5941
5982
|
# it. You can't change this value for the VPC after you create it. For
|
@@ -6335,7 +6376,7 @@ module Aws::EC2
|
|
6335
6376
|
# Requests a VPC peering connection between two VPCs: a requester VPC
|
6336
6377
|
# that you own and an accepter VPC with which to create the connection.
|
6337
6378
|
# The accepter VPC can belong to another AWS account and can be in a
|
6338
|
-
# different
|
6379
|
+
# different Region to the requester VPC. The requester VPC and accepter
|
6339
6380
|
# VPC cannot have overlapping CIDR blocks.
|
6340
6381
|
#
|
6341
6382
|
# <note markdown="1"> Limitations and rules apply to a VPC peering connection. For more
|
@@ -6718,7 +6759,7 @@ module Aws::EC2
|
|
6718
6759
|
req.send_request(options)
|
6719
6760
|
end
|
6720
6761
|
|
6721
|
-
# Deletes an egress-only
|
6762
|
+
# Deletes an egress-only internet gateway.
|
6722
6763
|
#
|
6723
6764
|
# @option params [Boolean] :dry_run
|
6724
6765
|
# Checks whether you have the required permissions for the action,
|
@@ -6727,7 +6768,7 @@ module Aws::EC2
|
|
6727
6768
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6728
6769
|
#
|
6729
6770
|
# @option params [required, String] :egress_only_internet_gateway_id
|
6730
|
-
# The ID of the egress-only
|
6771
|
+
# The ID of the egress-only internet gateway.
|
6731
6772
|
#
|
6732
6773
|
# @return [Types::DeleteEgressOnlyInternetGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6733
6774
|
#
|
@@ -6810,6 +6851,12 @@ module Aws::EC2
|
|
6810
6851
|
|
6811
6852
|
# Deletes one or more flow logs.
|
6812
6853
|
#
|
6854
|
+
# @option params [Boolean] :dry_run
|
6855
|
+
# Checks whether you have the required permissions for the action,
|
6856
|
+
# without actually making the request, and provides an error response.
|
6857
|
+
# If you have the required permissions, the error response is
|
6858
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6859
|
+
#
|
6813
6860
|
# @option params [required, Array<String>] :flow_log_ids
|
6814
6861
|
# One or more flow log IDs.
|
6815
6862
|
#
|
@@ -6820,6 +6867,7 @@ module Aws::EC2
|
|
6820
6867
|
# @example Request syntax with placeholder values
|
6821
6868
|
#
|
6822
6869
|
# resp = client.delete_flow_logs({
|
6870
|
+
# dry_run: false,
|
6823
6871
|
# flow_log_ids: ["String"], # required
|
6824
6872
|
# })
|
6825
6873
|
#
|
@@ -6874,7 +6922,7 @@ module Aws::EC2
|
|
6874
6922
|
req.send_request(options)
|
6875
6923
|
end
|
6876
6924
|
|
6877
|
-
# Deletes the specified
|
6925
|
+
# Deletes the specified internet gateway. You must detach the internet
|
6878
6926
|
# gateway from the VPC before you can delete it.
|
6879
6927
|
#
|
6880
6928
|
# @option params [Boolean] :dry_run
|
@@ -6884,7 +6932,7 @@ module Aws::EC2
|
|
6884
6932
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6885
6933
|
#
|
6886
6934
|
# @option params [required, String] :internet_gateway_id
|
6887
|
-
# The ID of the
|
6935
|
+
# The ID of the internet gateway.
|
6888
6936
|
#
|
6889
6937
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6890
6938
|
#
|
@@ -8710,7 +8758,7 @@ module Aws::EC2
|
|
8710
8758
|
|
8711
8759
|
# Describes one or more of your linked EC2-Classic instances. This
|
8712
8760
|
# request only returns information about EC2-Classic instances linked to
|
8713
|
-
# a VPC through ClassicLink
|
8761
|
+
# a VPC through ClassicLink. You cannot use this request to return
|
8714
8762
|
# information about other instances.
|
8715
8763
|
#
|
8716
8764
|
# @option params [Array<Types::Filter>] :filters
|
@@ -8731,7 +8779,9 @@ module Aws::EC2
|
|
8731
8779
|
# filter to find all resources assigned a tag with a specific key,
|
8732
8780
|
# regardless of the tag value.
|
8733
8781
|
#
|
8734
|
-
# * `vpc-id` - The ID of the VPC
|
8782
|
+
# * `vpc-id` - The ID of the VPC to which the instance is linked.
|
8783
|
+
#
|
8784
|
+
# `vpc-id` - The ID of the VPC that the instance is linked to.
|
8735
8785
|
#
|
8736
8786
|
# @option params [Boolean] :dry_run
|
8737
8787
|
# Checks whether you have the required permissions for the action,
|
@@ -8747,7 +8797,7 @@ module Aws::EC2
|
|
8747
8797
|
# The maximum number of results to return for the request in a single
|
8748
8798
|
# page. The remaining results of the initial request can be seen by
|
8749
8799
|
# sending another request with the returned `NextToken` value. This
|
8750
|
-
# value can be between 5 and 1000
|
8800
|
+
# value can be between 5 and 1000. If `MaxResults` is given a value
|
8751
8801
|
# larger than 1000, only 1000 results are returned. You cannot specify
|
8752
8802
|
# this parameter and the instance IDs parameter in the same request.
|
8753
8803
|
#
|
@@ -8985,8 +9035,8 @@ module Aws::EC2
|
|
8985
9035
|
|
8986
9036
|
# Describes one or more of your DHCP options sets.
|
8987
9037
|
#
|
8988
|
-
# For more information
|
8989
|
-
#
|
9038
|
+
# For more information, see [DHCP Options Sets][1] in the *Amazon
|
9039
|
+
# Virtual Private Cloud User Guide*.
|
8990
9040
|
#
|
8991
9041
|
#
|
8992
9042
|
#
|
@@ -9093,7 +9143,7 @@ module Aws::EC2
|
|
9093
9143
|
req.send_request(options)
|
9094
9144
|
end
|
9095
9145
|
|
9096
|
-
# Describes one or more of your egress-only
|
9146
|
+
# Describes one or more of your egress-only internet gateways.
|
9097
9147
|
#
|
9098
9148
|
# @option params [Boolean] :dry_run
|
9099
9149
|
# Checks whether you have the required permissions for the action,
|
@@ -9102,13 +9152,13 @@ module Aws::EC2
|
|
9102
9152
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9103
9153
|
#
|
9104
9154
|
# @option params [Array<String>] :egress_only_internet_gateway_ids
|
9105
|
-
# One or more egress-only
|
9155
|
+
# One or more egress-only internet gateway IDs.
|
9106
9156
|
#
|
9107
9157
|
# @option params [Integer] :max_results
|
9108
9158
|
# The maximum number of results to return for the request in a single
|
9109
9159
|
# page. The remaining results can be seen by sending another request
|
9110
9160
|
# with the returned `NextToken` value. This value can be between 5 and
|
9111
|
-
# 1000
|
9161
|
+
# 1000. If `MaxResults` is given a value larger than 1000, only 1000
|
9112
9162
|
# results are returned.
|
9113
9163
|
#
|
9114
9164
|
# @option params [String] :next_token
|
@@ -9515,19 +9565,30 @@ module Aws::EC2
|
|
9515
9565
|
# logs (the log streams for the network interfaces), you must use the
|
9516
9566
|
# CloudWatch Logs console or the CloudWatch Logs API.
|
9517
9567
|
#
|
9568
|
+
# @option params [Boolean] :dry_run
|
9569
|
+
# Checks whether you have the required permissions for the action,
|
9570
|
+
# without actually making the request, and provides an error response.
|
9571
|
+
# If you have the required permissions, the error response is
|
9572
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9573
|
+
#
|
9518
9574
|
# @option params [Array<Types::Filter>] :filter
|
9519
9575
|
# One or more filters.
|
9520
9576
|
#
|
9521
9577
|
# * `deliver-log-status` - The status of the logs delivery (`SUCCESS` \|
|
9522
9578
|
# `FAILED`).
|
9523
9579
|
#
|
9580
|
+
# * `log-destination-type` - The type of destination to which the flow
|
9581
|
+
# log publishes data. Possible destination types include
|
9582
|
+
# `cloud-watch-logs` and `S3`.
|
9583
|
+
#
|
9524
9584
|
# * `flow-log-id` - The ID of the flow log.
|
9525
9585
|
#
|
9526
9586
|
# * `log-group-name` - The name of the log group.
|
9527
9587
|
#
|
9528
9588
|
# * `resource-id` - The ID of the VPC, subnet, or network interface.
|
9529
9589
|
#
|
9530
|
-
# * `traffic-type` - The type of traffic (`ACCEPT` \| `REJECT` \|
|
9590
|
+
# * `traffic-type` - The type of traffic (`ACCEPT` \| `REJECT` \|
|
9591
|
+
# `ALL`).
|
9531
9592
|
#
|
9532
9593
|
# @option params [Array<String>] :flow_log_ids
|
9533
9594
|
# One or more flow log IDs.
|
@@ -9536,7 +9597,7 @@ module Aws::EC2
|
|
9536
9597
|
# The maximum number of results to return for the request in a single
|
9537
9598
|
# page. The remaining results can be seen by sending another request
|
9538
9599
|
# with the returned `NextToken` value. This value can be between 5 and
|
9539
|
-
# 1000
|
9600
|
+
# 1000. If `MaxResults` is given a value larger than 1000, only 1000
|
9540
9601
|
# results are returned. You cannot specify this parameter and the flow
|
9541
9602
|
# log IDs parameter in the same request.
|
9542
9603
|
#
|
@@ -9551,6 +9612,7 @@ module Aws::EC2
|
|
9551
9612
|
# @example Request syntax with placeholder values
|
9552
9613
|
#
|
9553
9614
|
# resp = client.describe_flow_logs({
|
9615
|
+
# dry_run: false,
|
9554
9616
|
# filter: [
|
9555
9617
|
# {
|
9556
9618
|
# name: "String",
|
@@ -9574,6 +9636,8 @@ module Aws::EC2
|
|
9574
9636
|
# resp.flow_logs[0].log_group_name #=> String
|
9575
9637
|
# resp.flow_logs[0].resource_id #=> String
|
9576
9638
|
# resp.flow_logs[0].traffic_type #=> String, one of "ACCEPT", "REJECT", "ALL"
|
9639
|
+
# resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
|
9640
|
+
# resp.flow_logs[0].log_destination #=> String
|
9577
9641
|
# resp.next_token #=> String
|
9578
9642
|
#
|
9579
9643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs AWS API Documentation
|
@@ -11645,7 +11709,7 @@ module Aws::EC2
|
|
11645
11709
|
req.send_request(options)
|
11646
11710
|
end
|
11647
11711
|
|
11648
|
-
# Describes one or more of your
|
11712
|
+
# Describes one or more of your internet gateways.
|
11649
11713
|
#
|
11650
11714
|
# @option params [Array<Types::Filter>] :filters
|
11651
11715
|
# One or more filters.
|
@@ -11675,9 +11739,9 @@ module Aws::EC2
|
|
11675
11739
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
11676
11740
|
#
|
11677
11741
|
# @option params [Array<String>] :internet_gateway_ids
|
11678
|
-
# One or more
|
11742
|
+
# One or more internet gateway IDs.
|
11679
11743
|
#
|
11680
|
-
# Default: Describes all your
|
11744
|
+
# Default: Describes all your internet gateways.
|
11681
11745
|
#
|
11682
11746
|
# @return [Types::DescribeInternetGatewaysResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11683
11747
|
#
|
@@ -12253,7 +12317,7 @@ module Aws::EC2
|
|
12253
12317
|
req.send_request(options)
|
12254
12318
|
end
|
12255
12319
|
|
12256
|
-
# Describes one or more of
|
12320
|
+
# Describes one or more of your NAT gateways.
|
12257
12321
|
#
|
12258
12322
|
# @option params [Array<Types::Filter>] :filter
|
12259
12323
|
# One or more filters.
|
@@ -12384,8 +12448,8 @@ module Aws::EC2
|
|
12384
12448
|
|
12385
12449
|
# Describes one or more of your network ACLs.
|
12386
12450
|
#
|
12387
|
-
# For more information
|
12388
|
-
#
|
12451
|
+
# For more information, see [Network ACLs][1] in the *Amazon Virtual
|
12452
|
+
# Private Cloud User Guide*.
|
12389
12453
|
#
|
12390
12454
|
#
|
12391
12455
|
#
|
@@ -13899,8 +13963,8 @@ module Aws::EC2
|
|
13899
13963
|
# implicitly associated with the main route table. This command does not
|
13900
13964
|
# return the subnet ID for implicit associations.
|
13901
13965
|
#
|
13902
|
-
# For more information
|
13903
|
-
#
|
13966
|
+
# For more information, see [Route Tables][1] in the *Amazon Virtual
|
13967
|
+
# Private Cloud User Guide*.
|
13904
13968
|
#
|
13905
13969
|
#
|
13906
13970
|
#
|
@@ -15986,8 +16050,8 @@ module Aws::EC2
|
|
15986
16050
|
|
15987
16051
|
# Describes one or more of your subnets.
|
15988
16052
|
#
|
15989
|
-
# For more information
|
15990
|
-
#
|
16053
|
+
# For more information, see [Your VPC and Subnets][1] in the *Amazon
|
16054
|
+
# Virtual Private Cloud User Guide*.
|
15991
16055
|
#
|
15992
16056
|
#
|
15993
16057
|
#
|
@@ -18005,8 +18069,8 @@ module Aws::EC2
|
|
18005
18069
|
req.send_request(options)
|
18006
18070
|
end
|
18007
18071
|
|
18008
|
-
# Detaches an
|
18009
|
-
# between the
|
18072
|
+
# Detaches an internet gateway from a VPC, disabling connectivity
|
18073
|
+
# between the internet and the VPC. The VPC must not contain any running
|
18010
18074
|
# instances with Elastic IP addresses or public IPv4 addresses.
|
18011
18075
|
#
|
18012
18076
|
# @option params [Boolean] :dry_run
|
@@ -18016,7 +18080,7 @@ module Aws::EC2
|
|
18016
18080
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
18017
18081
|
#
|
18018
18082
|
# @option params [required, String] :internet_gateway_id
|
18019
|
-
# The ID of the
|
18083
|
+
# The ID of the internet gateway.
|
18020
18084
|
#
|
18021
18085
|
# @option params [required, String] :vpc_id
|
18022
18086
|
# The ID of the VPC.
|
@@ -18308,8 +18372,8 @@ module Aws::EC2
|
|
18308
18372
|
# Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames
|
18309
18373
|
# resolve to public IP addresses when addressed between a linked
|
18310
18374
|
# EC2-Classic instance and instances in the VPC to which it's linked.
|
18311
|
-
# For more information
|
18312
|
-
#
|
18375
|
+
# For more information, see [ClassicLink][1] in the *Amazon Elastic
|
18376
|
+
# Compute Cloud User Guide*.
|
18313
18377
|
#
|
18314
18378
|
#
|
18315
18379
|
#
|
@@ -18669,7 +18733,7 @@ module Aws::EC2
|
|
18669
18733
|
# Enables a VPC for ClassicLink. You can then link EC2-Classic instances
|
18670
18734
|
# to your ClassicLink-enabled VPC to allow communication over private IP
|
18671
18735
|
# addresses. You cannot enable your VPC for ClassicLink if any of your
|
18672
|
-
# VPC
|
18736
|
+
# VPC route tables have existing routes for address ranges within the
|
18673
18737
|
# `10.0.0.0/8` IP address range, excluding local routes for VPCs in the
|
18674
18738
|
# `10.0.0.0/16` and `10.1.0.0/16` IP address ranges. For more
|
18675
18739
|
# information, see [ClassicLink][1] in the *Amazon Elastic Compute Cloud
|
@@ -18717,8 +18781,8 @@ module Aws::EC2
|
|
18717
18781
|
# its private IP address when addressed from an instance in the VPC to
|
18718
18782
|
# which it's linked. Similarly, the DNS hostname of an instance in a
|
18719
18783
|
# VPC resolves to its private IP address when addressed from a linked
|
18720
|
-
# EC2-Classic instance. For more information
|
18721
|
-
#
|
18784
|
+
# EC2-Classic instance. For more information, see [ClassicLink][1] in
|
18785
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
18722
18786
|
#
|
18723
18787
|
#
|
18724
18788
|
#
|
@@ -18754,19 +18818,24 @@ module Aws::EC2
|
|
18754
18818
|
# instances, the instance console output displays the exact console
|
18755
18819
|
# output that would normally be displayed on a physical monitor attached
|
18756
18820
|
# to a computer. For Windows instances, the instance console output
|
18757
|
-
# includes
|
18758
|
-
#
|
18759
|
-
# GetConsoleOutput returns up to 64 KB of console output shortly after
|
18760
|
-
# it's generated by the instance.
|
18821
|
+
# includes the last three system event log errors.
|
18761
18822
|
#
|
18762
18823
|
# By default, the console output returns buffered information that was
|
18763
18824
|
# posted shortly after an instance transition state (start, stop,
|
18764
18825
|
# reboot, or terminate). This information is available for at least one
|
18765
|
-
# hour after the most recent post.
|
18826
|
+
# hour after the most recent post. Only the most recent 64 KB of console
|
18827
|
+
# output is available.
|
18766
18828
|
#
|
18767
18829
|
# You can optionally retrieve the latest serial console output at any
|
18768
|
-
# time during the instance lifecycle. This option is
|
18769
|
-
#
|
18830
|
+
# time during the instance lifecycle. This option is supported on
|
18831
|
+
# instance types that use the Nitro hypervisor.
|
18832
|
+
#
|
18833
|
+
# For more information, see [Instance Console Output][1] in the *Amazon
|
18834
|
+
# Elastic Compute Cloud User Guide*.
|
18835
|
+
#
|
18836
|
+
#
|
18837
|
+
#
|
18838
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html#instance-console-console-output
|
18770
18839
|
#
|
18771
18840
|
# @option params [required, String] :instance_id
|
18772
18841
|
# The ID of the instance.
|
@@ -21262,9 +21331,9 @@ module Aws::EC2
|
|
21262
21331
|
# Indicates whether the DNS resolution is supported for the VPC. If
|
21263
21332
|
# enabled, queries to the Amazon provided DNS server at the
|
21264
21333
|
# 169.254.169.253 IP address, or the reserved IP address at the base of
|
21265
|
-
# the VPC network range "plus two"
|
21266
|
-
#
|
21267
|
-
#
|
21334
|
+
# the VPC network range "plus two" succeed. If disabled, the Amazon
|
21335
|
+
# provided DNS service in the VPC that resolves public DNS hostnames to
|
21336
|
+
# IP addresses is not enabled.
|
21268
21337
|
#
|
21269
21338
|
# You cannot modify the DNS resolution and DNS hostnames attributes in
|
21270
21339
|
# the same request. Use separate requests for each attribute.
|
@@ -21511,6 +21580,11 @@ module Aws::EC2
|
|
21511
21580
|
# add or remove permissions for service consumers (IAM users, IAM roles,
|
21512
21581
|
# and AWS accounts) to connect to your endpoint service.
|
21513
21582
|
#
|
21583
|
+
# If you grant permissions to all principals, the service is public. Any
|
21584
|
+
# users who know the name of a public service can send a request to
|
21585
|
+
# attach an endpoint. If the service does not require manual approval,
|
21586
|
+
# attachments are automatically approved.
|
21587
|
+
#
|
21514
21588
|
#
|
21515
21589
|
#
|
21516
21590
|
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/endpoint-service.html
|
@@ -21525,12 +21599,13 @@ module Aws::EC2
|
|
21525
21599
|
# The ID of the service.
|
21526
21600
|
#
|
21527
21601
|
# @option params [Array<String>] :add_allowed_principals
|
21528
|
-
#
|
21529
|
-
#
|
21602
|
+
# The Amazon Resource Names (ARN) of one or more principals. Permissions
|
21603
|
+
# are granted to the principals in this list. To grant permissions to
|
21604
|
+
# all principals, specify an asterisk (*).
|
21530
21605
|
#
|
21531
21606
|
# @option params [Array<String>] :remove_allowed_principals
|
21532
|
-
#
|
21533
|
-
#
|
21607
|
+
# The Amazon Resource Names (ARN) of one or more principals. Permissions
|
21608
|
+
# are revoked for principals in this list.
|
21534
21609
|
#
|
21535
21610
|
# @return [Types::ModifyVpcEndpointServicePermissionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21536
21611
|
#
|
@@ -21644,8 +21719,8 @@ module Aws::EC2
|
|
21644
21719
|
# otherwise during launch. The tenancy of any existing instances in the
|
21645
21720
|
# VPC is not affected.
|
21646
21721
|
#
|
21647
|
-
# For more information
|
21648
|
-
#
|
21722
|
+
# For more information, see [Dedicated Instances][1] in the *Amazon
|
21723
|
+
# Elastic Compute Cloud User Guide*.
|
21649
21724
|
#
|
21650
21725
|
#
|
21651
21726
|
#
|
@@ -22522,8 +22597,8 @@ module Aws::EC2
|
|
22522
22597
|
|
22523
22598
|
# Changes which network ACL a subnet is associated with. By default when
|
22524
22599
|
# you create a subnet, it's automatically associated with the default
|
22525
|
-
# network ACL. For more information
|
22526
|
-
#
|
22600
|
+
# network ACL. For more information, see [Network ACLs][1] in the
|
22601
|
+
# *Amazon Virtual Private Cloud User Guide*.
|
22527
22602
|
#
|
22528
22603
|
# This is an idempotent operation.
|
22529
22604
|
#
|
@@ -22584,9 +22659,8 @@ module Aws::EC2
|
|
22584
22659
|
req.send_request(options)
|
22585
22660
|
end
|
22586
22661
|
|
22587
|
-
# Replaces an entry (rule) in a network ACL. For more information
|
22588
|
-
#
|
22589
|
-
# Cloud User Guide*.
|
22662
|
+
# Replaces an entry (rule) in a network ACL. For more information, see
|
22663
|
+
# [Network ACLs][1] in the *Amazon Virtual Private Cloud User Guide*.
|
22590
22664
|
#
|
22591
22665
|
#
|
22592
22666
|
#
|
@@ -22627,11 +22701,11 @@ module Aws::EC2
|
|
22627
22701
|
# The IP protocol. You can specify `all` or `-1` to mean all protocols.
|
22628
22702
|
# If you specify `all`, `-1`, or a protocol number other than `tcp`,
|
22629
22703
|
# `udp`, or `icmp`, traffic on all ports is allowed, regardless of any
|
22630
|
-
# ports or ICMP types or codes you specify. If you specify protocol
|
22631
|
-
# (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP
|
22632
|
-
# and codes allowed, regardless of any that you specify. If you
|
22633
|
-
# protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
|
22634
|
-
# specify an ICMP type and code.
|
22704
|
+
# ports or ICMP types or codes you that specify. If you specify protocol
|
22705
|
+
# `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP
|
22706
|
+
# types and codes allowed, regardless of any that you specify. If you
|
22707
|
+
# specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
|
22708
|
+
# must specify an ICMP type and code.
|
22635
22709
|
#
|
22636
22710
|
# @option params [required, String] :rule_action
|
22637
22711
|
# Indicates whether to allow or deny the traffic that matches the rule.
|
@@ -22691,12 +22765,12 @@ module Aws::EC2
|
|
22691
22765
|
end
|
22692
22766
|
|
22693
22767
|
# Replaces an existing route within a route table in a VPC. You must
|
22694
|
-
# provide only one of the following:
|
22768
|
+
# provide only one of the following: internet gateway or virtual private
|
22695
22769
|
# gateway, NAT instance, NAT gateway, VPC peering connection, network
|
22696
|
-
# interface, or egress-only
|
22770
|
+
# interface, or egress-only internet gateway.
|
22697
22771
|
#
|
22698
|
-
# For more information
|
22699
|
-
#
|
22772
|
+
# For more information, see [Route Tables][1] in the *Amazon Virtual
|
22773
|
+
# Private Cloud User Guide*.
|
22700
22774
|
#
|
22701
22775
|
#
|
22702
22776
|
#
|
@@ -22704,11 +22778,13 @@ module Aws::EC2
|
|
22704
22778
|
#
|
22705
22779
|
# @option params [String] :destination_cidr_block
|
22706
22780
|
# The IPv4 CIDR address block used for the destination match. The value
|
22707
|
-
# you provide must match the CIDR of an existing route in the
|
22781
|
+
# that you provide must match the CIDR of an existing route in the
|
22782
|
+
# table.
|
22708
22783
|
#
|
22709
22784
|
# @option params [String] :destination_ipv_6_cidr_block
|
22710
22785
|
# The IPv6 CIDR address block used for the destination match. The value
|
22711
|
-
# you provide must match the CIDR of an existing route in the
|
22786
|
+
# that you provide must match the CIDR of an existing route in the
|
22787
|
+
# table.
|
22712
22788
|
#
|
22713
22789
|
# @option params [Boolean] :dry_run
|
22714
22790
|
# Checks whether you have the required permissions for the action,
|
@@ -22717,10 +22793,10 @@ module Aws::EC2
|
|
22717
22793
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
22718
22794
|
#
|
22719
22795
|
# @option params [String] :egress_only_internet_gateway_id
|
22720
|
-
# \[IPv6 traffic only\] The ID of an egress-only
|
22796
|
+
# \[IPv6 traffic only\] The ID of an egress-only internet gateway.
|
22721
22797
|
#
|
22722
22798
|
# @option params [String] :gateway_id
|
22723
|
-
# The ID of an
|
22799
|
+
# The ID of an internet gateway or virtual private gateway.
|
22724
22800
|
#
|
22725
22801
|
# @option params [String] :instance_id
|
22726
22802
|
# The ID of a NAT instance in your VPC.
|
@@ -25621,7 +25697,7 @@ module Aws::EC2
|
|
25621
25697
|
params: params,
|
25622
25698
|
config: config)
|
25623
25699
|
context[:gem_name] = 'aws-sdk-ec2'
|
25624
|
-
context[:gem_version] = '1.
|
25700
|
+
context[:gem_version] = '1.41.0'
|
25625
25701
|
Seahorse::Client::Request.new(handlers, context)
|
25626
25702
|
end
|
25627
25703
|
|