aws-sdk-ec2 1.40.0 → 1.41.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 +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
@@ -738,6 +738,7 @@ module Aws::EC2
|
|
738
738
|
LoadPermissionListRequest = Shapes::ListShape.new(name: 'LoadPermissionListRequest')
|
739
739
|
LoadPermissionModifications = Shapes::StructureShape.new(name: 'LoadPermissionModifications')
|
740
740
|
LoadPermissionRequest = Shapes::StructureShape.new(name: 'LoadPermissionRequest')
|
741
|
+
LogDestinationType = Shapes::StringShape.new(name: 'LogDestinationType')
|
741
742
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
742
743
|
MarketType = Shapes::StringShape.new(name: 'MarketType')
|
743
744
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -1709,12 +1710,15 @@ module Aws::EC2
|
|
1709
1710
|
CreateFleetResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, location_name: "fleetId"))
|
1710
1711
|
CreateFleetResult.struct_class = Types::CreateFleetResult
|
1711
1712
|
|
1713
|
+
CreateFlowLogsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
1712
1714
|
CreateFlowLogsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
1713
|
-
CreateFlowLogsRequest.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String,
|
1714
|
-
CreateFlowLogsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: String,
|
1715
|
+
CreateFlowLogsRequest.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "DeliverLogsPermissionArn"))
|
1716
|
+
CreateFlowLogsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: String, location_name: "LogGroupName"))
|
1715
1717
|
CreateFlowLogsRequest.add_member(:resource_ids, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "ResourceId"))
|
1716
1718
|
CreateFlowLogsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: FlowLogsResourceType, required: true, location_name: "ResourceType"))
|
1717
1719
|
CreateFlowLogsRequest.add_member(:traffic_type, Shapes::ShapeRef.new(shape: TrafficType, required: true, location_name: "TrafficType"))
|
1720
|
+
CreateFlowLogsRequest.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "LogDestinationType"))
|
1721
|
+
CreateFlowLogsRequest.add_member(:log_destination, Shapes::ShapeRef.new(shape: String, location_name: "LogDestination"))
|
1718
1722
|
CreateFlowLogsRequest.struct_class = Types::CreateFlowLogsRequest
|
1719
1723
|
|
1720
1724
|
CreateFlowLogsResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -2072,6 +2076,7 @@ module Aws::EC2
|
|
2072
2076
|
DeleteFleetsResult.add_member(:unsuccessful_fleet_deletions, Shapes::ShapeRef.new(shape: DeleteFleetErrorSet, location_name: "unsuccessfulFleetDeletionSet"))
|
2073
2077
|
DeleteFleetsResult.struct_class = Types::DeleteFleetsResult
|
2074
2078
|
|
2079
|
+
DeleteFlowLogsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
2075
2080
|
DeleteFlowLogsRequest.add_member(:flow_log_ids, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "FlowLogId"))
|
2076
2081
|
DeleteFlowLogsRequest.struct_class = Types::DeleteFlowLogsRequest
|
2077
2082
|
|
@@ -2382,6 +2387,7 @@ module Aws::EC2
|
|
2382
2387
|
DescribeFleetsResult.add_member(:fleets, Shapes::ShapeRef.new(shape: FleetSet, location_name: "fleetSet"))
|
2383
2388
|
DescribeFleetsResult.struct_class = Types::DescribeFleetsResult
|
2384
2389
|
|
2390
|
+
DescribeFlowLogsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
2385
2391
|
DescribeFlowLogsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
2386
2392
|
DescribeFlowLogsRequest.add_member(:flow_log_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "FlowLogId"))
|
2387
2393
|
DescribeFlowLogsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
@@ -3384,6 +3390,8 @@ module Aws::EC2
|
|
3384
3390
|
FlowLog.add_member(:log_group_name, Shapes::ShapeRef.new(shape: String, location_name: "logGroupName"))
|
3385
3391
|
FlowLog.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
|
3386
3392
|
FlowLog.add_member(:traffic_type, Shapes::ShapeRef.new(shape: TrafficType, location_name: "trafficType"))
|
3393
|
+
FlowLog.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "logDestinationType"))
|
3394
|
+
FlowLog.add_member(:log_destination, Shapes::ShapeRef.new(shape: String, location_name: "logDestination"))
|
3387
3395
|
FlowLog.struct_class = Types::FlowLog
|
3388
3396
|
|
3389
3397
|
FlowLogSet.member = Shapes::ShapeRef.new(shape: FlowLog, location_name: "item")
|
@@ -31,13 +31,13 @@ module Aws::EC2
|
|
31
31
|
end
|
32
32
|
alias :internet_gateway_id :id
|
33
33
|
|
34
|
-
# Any VPCs attached to the
|
34
|
+
# Any VPCs attached to the internet gateway.
|
35
35
|
# @return [Array<Types::InternetGatewayAttachment>]
|
36
36
|
def attachments
|
37
37
|
data[:attachments]
|
38
38
|
end
|
39
39
|
|
40
|
-
# Any tags assigned to the
|
40
|
+
# Any tags assigned to the internet gateway.
|
41
41
|
# @return [Array<Types::Tag>]
|
42
42
|
def tags
|
43
43
|
data[:tags]
|
@@ -237,10 +237,10 @@ module Aws::EC2
|
|
237
237
|
# The protocol. A value of `-1` or `all` means all protocols. If you
|
238
238
|
# specify `all`, `-1`, or a protocol number other than `6` (tcp), `17`
|
239
239
|
# (udp), or `1` (icmp), traffic on all ports is allowed, regardless of
|
240
|
-
# any ports or ICMP types or codes you specify. If you specify
|
241
|
-
# `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for all
|
242
|
-
# types and codes allowed, regardless of any that you specify. If
|
243
|
-
# specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
|
240
|
+
# any ports or ICMP types or codes that you specify. If you specify
|
241
|
+
# protocol `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for all
|
242
|
+
# ICMP types and codes allowed, regardless of any that you specify. If
|
243
|
+
# you specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
|
244
244
|
# must specify an ICMP type and code.
|
245
245
|
# @option options [required, String] :rule_action
|
246
246
|
# Indicates whether to allow or deny the traffic that matches the rule.
|
@@ -404,11 +404,11 @@ module Aws::EC2
|
|
404
404
|
# The IP protocol. You can specify `all` or `-1` to mean all protocols.
|
405
405
|
# If you specify `all`, `-1`, or a protocol number other than `tcp`,
|
406
406
|
# `udp`, or `icmp`, traffic on all ports is allowed, regardless of any
|
407
|
-
# ports or ICMP types or codes you specify. If you specify protocol
|
408
|
-
# (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP
|
409
|
-
# and codes allowed, regardless of any that you specify. If you
|
410
|
-
# protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
|
411
|
-
# specify an ICMP type and code.
|
407
|
+
# ports or ICMP types or codes you that specify. If you specify protocol
|
408
|
+
# `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP
|
409
|
+
# types and codes allowed, regardless of any that you specify. If you
|
410
|
+
# specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
|
411
|
+
# must specify an ICMP type and code.
|
412
412
|
# @option options [required, String] :rule_action
|
413
413
|
# Indicates whether to allow or deny the traffic that matches the rule.
|
414
414
|
# @option options [required, Integer] :rule_number
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1735,9 +1735,9 @@ module Aws::EC2
|
|
1735
1735
|
# If you have the required permissions, the error response is
|
1736
1736
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1737
1737
|
# @option options [Array<String>] :internet_gateway_ids
|
1738
|
-
# One or more
|
1738
|
+
# One or more internet gateway IDs.
|
1739
1739
|
#
|
1740
|
-
# Default: Describes all your
|
1740
|
+
# Default: Describes all your internet gateways.
|
1741
1741
|
# @return [InternetGateway::Collection]
|
1742
1742
|
def internet_gateways(options = {})
|
1743
1743
|
batches = Enumerator.new do |y|
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -50,7 +50,7 @@ module Aws::EC2
|
|
50
50
|
data[:destination_prefix_list_id]
|
51
51
|
end
|
52
52
|
|
53
|
-
# The ID of the egress-only
|
53
|
+
# The ID of the egress-only internet gateway.
|
54
54
|
# @return [String]
|
55
55
|
def egress_only_internet_gateway_id
|
56
56
|
data[:egress_only_internet_gateway_id]
|
@@ -282,16 +282,17 @@ module Aws::EC2
|
|
282
282
|
# @param [Hash] options ({})
|
283
283
|
# @option options [String] :destination_ipv_6_cidr_block
|
284
284
|
# The IPv6 CIDR address block used for the destination match. The value
|
285
|
-
# you provide must match the CIDR of an existing route in the
|
285
|
+
# that you provide must match the CIDR of an existing route in the
|
286
|
+
# table.
|
286
287
|
# @option options [Boolean] :dry_run
|
287
288
|
# Checks whether you have the required permissions for the action,
|
288
289
|
# without actually making the request, and provides an error response.
|
289
290
|
# If you have the required permissions, the error response is
|
290
291
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
291
292
|
# @option options [String] :egress_only_internet_gateway_id
|
292
|
-
# \[IPv6 traffic only\] The ID of an egress-only
|
293
|
+
# \[IPv6 traffic only\] The ID of an egress-only internet gateway.
|
293
294
|
# @option options [String] :gateway_id
|
294
|
-
# The ID of an
|
295
|
+
# The ID of an internet gateway or virtual private gateway.
|
295
296
|
# @option options [String] :instance_id
|
296
297
|
# The ID of a NAT instance in your VPC.
|
297
298
|
# @option options [String] :nat_gateway_id
|
@@ -231,9 +231,9 @@ module Aws::EC2
|
|
231
231
|
# If you have the required permissions, the error response is
|
232
232
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
233
233
|
# @option options [String] :egress_only_internet_gateway_id
|
234
|
-
# \[IPv6 traffic only\] The ID of an egress-only
|
234
|
+
# \[IPv6 traffic only\] The ID of an egress-only internet gateway.
|
235
235
|
# @option options [String] :gateway_id
|
236
|
-
# The ID of an
|
236
|
+
# The ID of an internet gateway or virtual private gateway attached to
|
237
237
|
# your VPC.
|
238
238
|
# @option options [String] :instance_id
|
239
239
|
# The ID of a NAT instance in your VPC. The operation fails if you
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -37,9 +37,8 @@ module Aws::EC2
|
|
37
37
|
data[:availability_zone]
|
38
38
|
end
|
39
39
|
|
40
|
-
# The number of unused private IPv4 addresses in the subnet.
|
41
|
-
#
|
42
|
-
# unavailable.
|
40
|
+
# The number of unused private IPv4 addresses in the subnet. The IPv4
|
41
|
+
# addresses for any stopped instances are considered unavailable.
|
43
42
|
# @return [Integer]
|
44
43
|
def available_ip_address_count
|
45
44
|
data[:available_ip_address_count]
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -718,8 +718,8 @@ module Aws::EC2
|
|
718
718
|
# Contains the output of AssociateRouteTable.
|
719
719
|
#
|
720
720
|
# @!attribute [rw] association_id
|
721
|
-
# The route table association ID
|
722
|
-
# table
|
721
|
+
# The route table association ID. This ID is required for
|
722
|
+
# disassociating the route table.
|
723
723
|
# @return [String]
|
724
724
|
#
|
725
725
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTableResult AWS API Documentation
|
@@ -899,7 +899,7 @@ module Aws::EC2
|
|
899
899
|
# @return [Boolean]
|
900
900
|
#
|
901
901
|
# @!attribute [rw] internet_gateway_id
|
902
|
-
# The ID of the
|
902
|
+
# The ID of the internet gateway.
|
903
903
|
# @return [String]
|
904
904
|
#
|
905
905
|
# @!attribute [rw] vpc_id
|
@@ -2847,7 +2847,7 @@ module Aws::EC2
|
|
2847
2847
|
# }
|
2848
2848
|
#
|
2849
2849
|
# @!attribute [rw] client_token
|
2850
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
2850
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
2851
2851
|
# idempotency of the request. For more information, see [How to Ensure
|
2852
2852
|
# Idempotency][1].
|
2853
2853
|
#
|
@@ -2864,7 +2864,7 @@ module Aws::EC2
|
|
2864
2864
|
# @return [Boolean]
|
2865
2865
|
#
|
2866
2866
|
# @!attribute [rw] vpc_id
|
2867
|
-
# The ID of the VPC for which to create the egress-only
|
2867
|
+
# The ID of the VPC for which to create the egress-only internet
|
2868
2868
|
# gateway.
|
2869
2869
|
# @return [String]
|
2870
2870
|
#
|
@@ -2878,12 +2878,12 @@ module Aws::EC2
|
|
2878
2878
|
end
|
2879
2879
|
|
2880
2880
|
# @!attribute [rw] client_token
|
2881
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
2881
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
2882
2882
|
# idempotency of the request.
|
2883
2883
|
# @return [String]
|
2884
2884
|
#
|
2885
2885
|
# @!attribute [rw] egress_only_internet_gateway
|
2886
|
-
# Information about the egress-only
|
2886
|
+
# Information about the egress-only internet gateway.
|
2887
2887
|
# @return [Types::EgressOnlyInternetGateway]
|
2888
2888
|
#
|
2889
2889
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayResult AWS API Documentation
|
@@ -3075,16 +3075,26 @@ module Aws::EC2
|
|
3075
3075
|
# data as a hash:
|
3076
3076
|
#
|
3077
3077
|
# {
|
3078
|
+
# dry_run: false,
|
3078
3079
|
# client_token: "String",
|
3079
|
-
# deliver_logs_permission_arn: "String",
|
3080
|
-
# log_group_name: "String",
|
3080
|
+
# deliver_logs_permission_arn: "String",
|
3081
|
+
# log_group_name: "String",
|
3081
3082
|
# resource_ids: ["String"], # required
|
3082
3083
|
# resource_type: "VPC", # required, accepts VPC, Subnet, NetworkInterface
|
3083
3084
|
# traffic_type: "ACCEPT", # required, accepts ACCEPT, REJECT, ALL
|
3085
|
+
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
3086
|
+
# log_destination: "String",
|
3084
3087
|
# }
|
3085
3088
|
#
|
3089
|
+
# @!attribute [rw] dry_run
|
3090
|
+
# Checks whether you have the required permissions for the action,
|
3091
|
+
# without actually making the request, and provides an error response.
|
3092
|
+
# If you have the required permissions, the error response is
|
3093
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3094
|
+
# @return [Boolean]
|
3095
|
+
#
|
3086
3096
|
# @!attribute [rw] client_token
|
3087
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
3097
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
3088
3098
|
# idempotency of the request. For more information, see [How to Ensure
|
3089
3099
|
# Idempotency][1].
|
3090
3100
|
#
|
@@ -3094,12 +3104,12 @@ module Aws::EC2
|
|
3094
3104
|
# @return [String]
|
3095
3105
|
#
|
3096
3106
|
# @!attribute [rw] deliver_logs_permission_arn
|
3097
|
-
# The ARN for the IAM role that's used to post flow logs to a
|
3098
|
-
#
|
3107
|
+
# The ARN for the IAM role that's used to post flow logs to a log
|
3108
|
+
# group.
|
3099
3109
|
# @return [String]
|
3100
3110
|
#
|
3101
3111
|
# @!attribute [rw] log_group_name
|
3102
|
-
# The name of the
|
3112
|
+
# The name of the log group.
|
3103
3113
|
# @return [String]
|
3104
3114
|
#
|
3105
3115
|
# @!attribute [rw] resource_ids
|
@@ -3116,22 +3126,53 @@ module Aws::EC2
|
|
3116
3126
|
# The type of traffic to log.
|
3117
3127
|
# @return [String]
|
3118
3128
|
#
|
3129
|
+
# @!attribute [rw] log_destination_type
|
3130
|
+
# Specifies the type of destination to which the flow log data is to
|
3131
|
+
# be published. Flow log data can be published to CloudWatch Logs or
|
3132
|
+
# Amazon S3. To publish flow log data to CloudWatch Logs, specify
|
3133
|
+
# `cloud-watch-logs`. To publish flow log data to Amazon S3, specify
|
3134
|
+
# `s3`.
|
3135
|
+
#
|
3136
|
+
# Default: `cloud-watch-logs`
|
3137
|
+
# @return [String]
|
3138
|
+
#
|
3139
|
+
# @!attribute [rw] log_destination
|
3140
|
+
# Specifies the destination to which the flow log data is to be
|
3141
|
+
# published. Flow log data can be published to an CloudWatch Logs log
|
3142
|
+
# group or an Amazon S3 bucket. The value specified for this parameter
|
3143
|
+
# depends on the value specified for LogDestinationType.
|
3144
|
+
#
|
3145
|
+
# If LogDestinationType is not specified or `cloud-watch-logs`,
|
3146
|
+
# specify the Amazon Resource Name (ARN) of the CloudWatch Logs log
|
3147
|
+
# group.
|
3148
|
+
#
|
3149
|
+
# If LogDestinationType is `s3`, specify the ARN of the Amazon S3
|
3150
|
+
# bucket. You can also specify a subfolder in the bucket. To specify a
|
3151
|
+
# subfolder in the bucket, use the following ARN format:
|
3152
|
+
# `bucket_ARN/subfolder_name/`. For example, to specify a subfolder
|
3153
|
+
# named `my-logs` in a bucket named `my-bucket`, use the following
|
3154
|
+
# ARN: `arn:aws:s3:::my-bucket/my-logs/`.
|
3155
|
+
# @return [String]
|
3156
|
+
#
|
3119
3157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest AWS API Documentation
|
3120
3158
|
#
|
3121
3159
|
class CreateFlowLogsRequest < Struct.new(
|
3160
|
+
:dry_run,
|
3122
3161
|
:client_token,
|
3123
3162
|
:deliver_logs_permission_arn,
|
3124
3163
|
:log_group_name,
|
3125
3164
|
:resource_ids,
|
3126
3165
|
:resource_type,
|
3127
|
-
:traffic_type
|
3166
|
+
:traffic_type,
|
3167
|
+
:log_destination_type,
|
3168
|
+
:log_destination)
|
3128
3169
|
include Aws::Structure
|
3129
3170
|
end
|
3130
3171
|
|
3131
3172
|
# Contains the output of CreateFlowLogs.
|
3132
3173
|
#
|
3133
3174
|
# @!attribute [rw] client_token
|
3134
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
3175
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
3135
3176
|
# idempotency of the request.
|
3136
3177
|
# @return [String]
|
3137
3178
|
#
|
@@ -3405,7 +3446,7 @@ module Aws::EC2
|
|
3405
3446
|
# Contains the output of CreateInternetGateway.
|
3406
3447
|
#
|
3407
3448
|
# @!attribute [rw] internet_gateway
|
3408
|
-
# Information about the
|
3449
|
+
# Information about the internet gateway.
|
3409
3450
|
# @return [Types::InternetGateway]
|
3410
3451
|
#
|
3411
3452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayResult AWS API Documentation
|
@@ -3807,7 +3848,7 @@ module Aws::EC2
|
|
3807
3848
|
# @return [String]
|
3808
3849
|
#
|
3809
3850
|
# @!attribute [rw] client_token
|
3810
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
3851
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
3811
3852
|
# idempotency of the request. For more information, see [How to Ensure
|
3812
3853
|
# Idempotency][1].
|
3813
3854
|
#
|
@@ -3915,7 +3956,7 @@ module Aws::EC2
|
|
3915
3956
|
# The protocol. A value of `-1` or `all` means all protocols. If you
|
3916
3957
|
# specify `all`, `-1`, or a protocol number other than `6` (tcp), `17`
|
3917
3958
|
# (udp), or `1` (icmp), traffic on all ports is allowed, regardless of
|
3918
|
-
# any ports or ICMP types or codes you specify. If you specify
|
3959
|
+
# any ports or ICMP types or codes that you specify. If you specify
|
3919
3960
|
# protocol `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for
|
3920
3961
|
# all ICMP types and codes allowed, regardless of any that you
|
3921
3962
|
# specify. If you specify protocol `58` (ICMPv6) and specify an IPv6
|
@@ -4311,11 +4352,11 @@ module Aws::EC2
|
|
4311
4352
|
# @return [Boolean]
|
4312
4353
|
#
|
4313
4354
|
# @!attribute [rw] egress_only_internet_gateway_id
|
4314
|
-
# \[IPv6 traffic only\] The ID of an egress-only
|
4355
|
+
# \[IPv6 traffic only\] The ID of an egress-only internet gateway.
|
4315
4356
|
# @return [String]
|
4316
4357
|
#
|
4317
4358
|
# @!attribute [rw] gateway_id
|
4318
|
-
# The ID of an
|
4359
|
+
# The ID of an internet gateway or virtual private gateway attached to
|
4319
4360
|
# your VPC.
|
4320
4361
|
# @return [String]
|
4321
4362
|
#
|
@@ -5603,7 +5644,7 @@ module Aws::EC2
|
|
5603
5644
|
# @return [Boolean]
|
5604
5645
|
#
|
5605
5646
|
# @!attribute [rw] egress_only_internet_gateway_id
|
5606
|
-
# The ID of the egress-only
|
5647
|
+
# The ID of the egress-only internet gateway.
|
5607
5648
|
# @return [String]
|
5608
5649
|
#
|
5609
5650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGatewayRequest AWS API Documentation
|
@@ -5741,9 +5782,17 @@ module Aws::EC2
|
|
5741
5782
|
# data as a hash:
|
5742
5783
|
#
|
5743
5784
|
# {
|
5785
|
+
# dry_run: false,
|
5744
5786
|
# flow_log_ids: ["String"], # required
|
5745
5787
|
# }
|
5746
5788
|
#
|
5789
|
+
# @!attribute [rw] dry_run
|
5790
|
+
# Checks whether you have the required permissions for the action,
|
5791
|
+
# without actually making the request, and provides an error response.
|
5792
|
+
# If you have the required permissions, the error response is
|
5793
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
5794
|
+
# @return [Boolean]
|
5795
|
+
#
|
5747
5796
|
# @!attribute [rw] flow_log_ids
|
5748
5797
|
# One or more flow log IDs.
|
5749
5798
|
# @return [Array<String>]
|
@@ -5751,6 +5800,7 @@ module Aws::EC2
|
|
5751
5800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogsRequest AWS API Documentation
|
5752
5801
|
#
|
5753
5802
|
class DeleteFlowLogsRequest < Struct.new(
|
5803
|
+
:dry_run,
|
5754
5804
|
:flow_log_ids)
|
5755
5805
|
include Aws::Structure
|
5756
5806
|
end
|
@@ -5825,7 +5875,7 @@ module Aws::EC2
|
|
5825
5875
|
# @return [Boolean]
|
5826
5876
|
#
|
5827
5877
|
# @!attribute [rw] internet_gateway_id
|
5828
|
-
# The ID of the
|
5878
|
+
# The ID of the internet gateway.
|
5829
5879
|
# @return [String]
|
5830
5880
|
#
|
5831
5881
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGatewayRequest AWS API Documentation
|
@@ -7158,7 +7208,9 @@ module Aws::EC2
|
|
7158
7208
|
# filter to find all resources assigned a tag with a specific key,
|
7159
7209
|
# regardless of the tag value.
|
7160
7210
|
#
|
7161
|
-
# * `vpc-id` - The ID of the VPC
|
7211
|
+
# * `vpc-id` - The ID of the VPC to which the instance is linked.
|
7212
|
+
#
|
7213
|
+
# `vpc-id` - The ID of the VPC that the instance is linked to.
|
7162
7214
|
# @return [Array<Types::Filter>]
|
7163
7215
|
#
|
7164
7216
|
# @!attribute [rw] dry_run
|
@@ -7177,7 +7229,7 @@ module Aws::EC2
|
|
7177
7229
|
# The maximum number of results to return for the request in a single
|
7178
7230
|
# page. The remaining results of the initial request can be seen by
|
7179
7231
|
# sending another request with the returned `NextToken` value. This
|
7180
|
-
# value can be between 5 and 1000
|
7232
|
+
# value can be between 5 and 1000. If `MaxResults` is given a value
|
7181
7233
|
# larger than 1000, only 1000 results are returned. You cannot specify
|
7182
7234
|
# this parameter and the instance IDs parameter in the same request.
|
7183
7235
|
#
|
@@ -7430,14 +7482,14 @@ module Aws::EC2
|
|
7430
7482
|
# @return [Boolean]
|
7431
7483
|
#
|
7432
7484
|
# @!attribute [rw] egress_only_internet_gateway_ids
|
7433
|
-
# One or more egress-only
|
7485
|
+
# One or more egress-only internet gateway IDs.
|
7434
7486
|
# @return [Array<String>]
|
7435
7487
|
#
|
7436
7488
|
# @!attribute [rw] max_results
|
7437
7489
|
# The maximum number of results to return for the request in a single
|
7438
7490
|
# page. The remaining results can be seen by sending another request
|
7439
7491
|
# with the returned `NextToken` value. This value can be between 5 and
|
7440
|
-
# 1000
|
7492
|
+
# 1000. If `MaxResults` is given a value larger than 1000, only 1000
|
7441
7493
|
# results are returned.
|
7442
7494
|
# @return [Integer]
|
7443
7495
|
#
|
@@ -7456,7 +7508,7 @@ module Aws::EC2
|
|
7456
7508
|
end
|
7457
7509
|
|
7458
7510
|
# @!attribute [rw] egress_only_internet_gateways
|
7459
|
-
# Information about the egress-only
|
7511
|
+
# Information about the egress-only internet gateways.
|
7460
7512
|
# @return [Array<Types::EgressOnlyInternetGateway>]
|
7461
7513
|
#
|
7462
7514
|
# @!attribute [rw] next_token
|
@@ -7858,6 +7910,7 @@ module Aws::EC2
|
|
7858
7910
|
# data as a hash:
|
7859
7911
|
#
|
7860
7912
|
# {
|
7913
|
+
# dry_run: false,
|
7861
7914
|
# filter: [
|
7862
7915
|
# {
|
7863
7916
|
# name: "String",
|
@@ -7869,12 +7922,23 @@ module Aws::EC2
|
|
7869
7922
|
# next_token: "String",
|
7870
7923
|
# }
|
7871
7924
|
#
|
7925
|
+
# @!attribute [rw] dry_run
|
7926
|
+
# Checks whether you have the required permissions for the action,
|
7927
|
+
# without actually making the request, and provides an error response.
|
7928
|
+
# If you have the required permissions, the error response is
|
7929
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7930
|
+
# @return [Boolean]
|
7931
|
+
#
|
7872
7932
|
# @!attribute [rw] filter
|
7873
7933
|
# One or more filters.
|
7874
7934
|
#
|
7875
7935
|
# * `deliver-log-status` - The status of the logs delivery (`SUCCESS`
|
7876
7936
|
# \| `FAILED`).
|
7877
7937
|
#
|
7938
|
+
# * `log-destination-type` - The type of destination to which the flow
|
7939
|
+
# log publishes data. Possible destination types include
|
7940
|
+
# `cloud-watch-logs` and `S3`.
|
7941
|
+
#
|
7878
7942
|
# * `flow-log-id` - The ID of the flow log.
|
7879
7943
|
#
|
7880
7944
|
# * `log-group-name` - The name of the log group.
|
@@ -7882,7 +7946,7 @@ module Aws::EC2
|
|
7882
7946
|
# * `resource-id` - The ID of the VPC, subnet, or network interface.
|
7883
7947
|
#
|
7884
7948
|
# * `traffic-type` - The type of traffic (`ACCEPT` \| `REJECT` \|
|
7885
|
-
# `ALL`)
|
7949
|
+
# `ALL`).
|
7886
7950
|
# @return [Array<Types::Filter>]
|
7887
7951
|
#
|
7888
7952
|
# @!attribute [rw] flow_log_ids
|
@@ -7893,7 +7957,7 @@ module Aws::EC2
|
|
7893
7957
|
# The maximum number of results to return for the request in a single
|
7894
7958
|
# page. The remaining results can be seen by sending another request
|
7895
7959
|
# with the returned `NextToken` value. This value can be between 5 and
|
7896
|
-
# 1000
|
7960
|
+
# 1000. If `MaxResults` is given a value larger than 1000, only 1000
|
7897
7961
|
# results are returned. You cannot specify this parameter and the flow
|
7898
7962
|
# log IDs parameter in the same request.
|
7899
7963
|
# @return [Integer]
|
@@ -7905,6 +7969,7 @@ module Aws::EC2
|
|
7905
7969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogsRequest AWS API Documentation
|
7906
7970
|
#
|
7907
7971
|
class DescribeFlowLogsRequest < Struct.new(
|
7972
|
+
:dry_run,
|
7908
7973
|
:filter,
|
7909
7974
|
:flow_log_ids,
|
7910
7975
|
:max_results,
|
@@ -9462,9 +9527,9 @@ module Aws::EC2
|
|
9462
9527
|
# @return [Boolean]
|
9463
9528
|
#
|
9464
9529
|
# @!attribute [rw] internet_gateway_ids
|
9465
|
-
# One or more
|
9530
|
+
# One or more internet gateway IDs.
|
9466
9531
|
#
|
9467
|
-
# Default: Describes all your
|
9532
|
+
# Default: Describes all your internet gateways.
|
9468
9533
|
# @return [Array<String>]
|
9469
9534
|
#
|
9470
9535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGatewaysRequest AWS API Documentation
|
@@ -9479,7 +9544,7 @@ module Aws::EC2
|
|
9479
9544
|
# Contains the output of DescribeInternetGateways.
|
9480
9545
|
#
|
9481
9546
|
# @!attribute [rw] internet_gateways
|
9482
|
-
# Information about one or more
|
9547
|
+
# Information about one or more internet gateways.
|
9483
9548
|
# @return [Array<Types::InternetGateway>]
|
9484
9549
|
#
|
9485
9550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGatewaysResult AWS API Documentation
|
@@ -14094,7 +14159,7 @@ module Aws::EC2
|
|
14094
14159
|
# @return [Boolean]
|
14095
14160
|
#
|
14096
14161
|
# @!attribute [rw] internet_gateway_id
|
14097
|
-
# The ID of the
|
14162
|
+
# The ID of the internet gateway.
|
14098
14163
|
# @return [String]
|
14099
14164
|
#
|
14100
14165
|
# @!attribute [rw] vpc_id
|
@@ -14860,15 +14925,15 @@ module Aws::EC2
|
|
14860
14925
|
include Aws::Structure
|
14861
14926
|
end
|
14862
14927
|
|
14863
|
-
# Describes an egress-only
|
14928
|
+
# Describes an egress-only internet gateway.
|
14864
14929
|
#
|
14865
14930
|
# @!attribute [rw] attachments
|
14866
|
-
# Information about the attachment of the egress-only
|
14931
|
+
# Information about the attachment of the egress-only internet
|
14867
14932
|
# gateway.
|
14868
14933
|
# @return [Array<Types::InternetGatewayAttachment>]
|
14869
14934
|
#
|
14870
14935
|
# @!attribute [rw] egress_only_internet_gateway_id
|
14871
|
-
# The ID of the egress-only
|
14936
|
+
# The ID of the egress-only internet gateway.
|
14872
14937
|
# @return [String]
|
14873
14938
|
#
|
14874
14939
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EgressOnlyInternetGateway AWS API Documentation
|
@@ -15744,12 +15809,12 @@ module Aws::EC2
|
|
15744
15809
|
#
|
15745
15810
|
# @!attribute [rw] deliver_logs_error_message
|
15746
15811
|
# Information about the error that occurred. `Rate limited` indicates
|
15747
|
-
# that CloudWatch
|
15812
|
+
# that CloudWatch Logs throttling has been applied for one or more
|
15748
15813
|
# network interfaces, or that you've reached the limit on the number
|
15749
|
-
# of
|
15750
|
-
#
|
15751
|
-
#
|
15752
|
-
#
|
15814
|
+
# of log groups that you can create. `Access error` indicates that the
|
15815
|
+
# IAM role associated with the flow log does not have sufficient
|
15816
|
+
# permissions to publish to CloudWatch Logs. `Unknown error` indicates
|
15817
|
+
# an internal error.
|
15753
15818
|
# @return [String]
|
15754
15819
|
#
|
15755
15820
|
# @!attribute [rw] deliver_logs_permission_arn
|
@@ -15780,6 +15845,22 @@ module Aws::EC2
|
|
15780
15845
|
# The type of traffic captured for the flow log.
|
15781
15846
|
# @return [String]
|
15782
15847
|
#
|
15848
|
+
# @!attribute [rw] log_destination_type
|
15849
|
+
# Specifies the type of destination to which the flow log data is
|
15850
|
+
# published. Flow log data can be published to CloudWatch Logs or
|
15851
|
+
# Amazon S3.
|
15852
|
+
# @return [String]
|
15853
|
+
#
|
15854
|
+
# @!attribute [rw] log_destination
|
15855
|
+
# Specifies the destination to which the flow log data is published.
|
15856
|
+
# Flow log data can be published to an CloudWatch Logs log group or an
|
15857
|
+
# Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this
|
15858
|
+
# element indicates the Amazon Resource Name (ARN) of the CloudWatch
|
15859
|
+
# Logs log group to which the data is published. If the flow log
|
15860
|
+
# publishes to Amazon S3, this element indicates the ARN of the Amazon
|
15861
|
+
# S3 bucket to which the data is published.
|
15862
|
+
# @return [String]
|
15863
|
+
#
|
15783
15864
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlowLog AWS API Documentation
|
15784
15865
|
#
|
15785
15866
|
class FlowLog < Struct.new(
|
@@ -15791,7 +15872,9 @@ module Aws::EC2
|
|
15791
15872
|
:flow_log_status,
|
15792
15873
|
:log_group_name,
|
15793
15874
|
:resource_id,
|
15794
|
-
:traffic_type
|
15875
|
+
:traffic_type,
|
15876
|
+
:log_destination_type,
|
15877
|
+
:log_destination)
|
15795
15878
|
include Aws::Structure
|
15796
15879
|
end
|
15797
15880
|
|
@@ -18828,18 +18911,18 @@ module Aws::EC2
|
|
18828
18911
|
include Aws::Structure
|
18829
18912
|
end
|
18830
18913
|
|
18831
|
-
# Describes an
|
18914
|
+
# Describes an internet gateway.
|
18832
18915
|
#
|
18833
18916
|
# @!attribute [rw] attachments
|
18834
|
-
# Any VPCs attached to the
|
18917
|
+
# Any VPCs attached to the internet gateway.
|
18835
18918
|
# @return [Array<Types::InternetGatewayAttachment>]
|
18836
18919
|
#
|
18837
18920
|
# @!attribute [rw] internet_gateway_id
|
18838
|
-
# The ID of the
|
18921
|
+
# The ID of the internet gateway.
|
18839
18922
|
# @return [String]
|
18840
18923
|
#
|
18841
18924
|
# @!attribute [rw] tags
|
18842
|
-
# Any tags assigned to the
|
18925
|
+
# Any tags assigned to the internet gateway.
|
18843
18926
|
# @return [Array<Types::Tag>]
|
18844
18927
|
#
|
18845
18928
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InternetGateway AWS API Documentation
|
@@ -18851,11 +18934,11 @@ module Aws::EC2
|
|
18851
18934
|
include Aws::Structure
|
18852
18935
|
end
|
18853
18936
|
|
18854
|
-
# Describes the attachment of a VPC to an
|
18855
|
-
# egress-only
|
18937
|
+
# Describes the attachment of a VPC to an internet gateway or an
|
18938
|
+
# egress-only internet gateway.
|
18856
18939
|
#
|
18857
18940
|
# @!attribute [rw] state
|
18858
|
-
# The current state of the attachment. For an
|
18941
|
+
# The current state of the attachment. For an internet gateway, the
|
18859
18942
|
# state is `available` when attached to a VPC; otherwise, this value
|
18860
18943
|
# is not returned.
|
18861
18944
|
# @return [String]
|
@@ -21599,7 +21682,7 @@ module Aws::EC2
|
|
21599
21682
|
# Indicates whether the DNS resolution is supported for the VPC. If
|
21600
21683
|
# enabled, queries to the Amazon provided DNS server at the
|
21601
21684
|
# 169.254.169.253 IP address, or the reserved IP address at the base
|
21602
|
-
# of the VPC network range "plus two"
|
21685
|
+
# of the VPC network range "plus two" succeed. If disabled, the
|
21603
21686
|
# Amazon provided DNS service in the VPC that resolves public DNS
|
21604
21687
|
# hostnames to IP addresses is not enabled.
|
21605
21688
|
#
|
@@ -21859,13 +21942,14 @@ module Aws::EC2
|
|
21859
21942
|
# @return [String]
|
21860
21943
|
#
|
21861
21944
|
# @!attribute [rw] add_allowed_principals
|
21862
|
-
#
|
21863
|
-
#
|
21945
|
+
# The Amazon Resource Names (ARN) of one or more principals.
|
21946
|
+
# Permissions are granted to the principals in this list. To grant
|
21947
|
+
# permissions to all principals, specify an asterisk (*).
|
21864
21948
|
# @return [Array<String>]
|
21865
21949
|
#
|
21866
21950
|
# @!attribute [rw] remove_allowed_principals
|
21867
|
-
#
|
21868
|
-
#
|
21951
|
+
# The Amazon Resource Names (ARN) of one or more principals.
|
21952
|
+
# Permissions are revoked for principals in this list.
|
21869
21953
|
# @return [Array<String>]
|
21870
21954
|
#
|
21871
21955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsRequest AWS API Documentation
|
@@ -22879,8 +22963,7 @@ module Aws::EC2
|
|
22879
22963
|
# @return [String]
|
22880
22964
|
#
|
22881
22965
|
# @!attribute [rw] group_name
|
22882
|
-
# The name of the placement group the instance is in
|
22883
|
-
# compute instances).
|
22966
|
+
# The name of the placement group the instance is in.
|
22884
22967
|
# @return [String]
|
22885
22968
|
#
|
22886
22969
|
# @!attribute [rw] host_id
|
@@ -23173,7 +23256,7 @@ module Aws::EC2
|
|
23173
23256
|
# Describes a virtual private gateway propagating route.
|
23174
23257
|
#
|
23175
23258
|
# @!attribute [rw] gateway_id
|
23176
|
-
# The ID of the virtual private gateway
|
23259
|
+
# The ID of the virtual private gateway.
|
23177
23260
|
# @return [String]
|
23178
23261
|
#
|
23179
23262
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PropagatingVgw AWS API Documentation
|
@@ -24071,8 +24154,8 @@ module Aws::EC2
|
|
24071
24154
|
# The IP protocol. You can specify `all` or `-1` to mean all
|
24072
24155
|
# protocols. If you specify `all`, `-1`, or a protocol number other
|
24073
24156
|
# than `tcp`, `udp`, or `icmp`, traffic on all ports is allowed,
|
24074
|
-
# regardless of any ports or ICMP types or codes you specify. If
|
24075
|
-
# specify protocol `58` (ICMPv6) and specify an IPv4 CIDR block,
|
24157
|
+
# regardless of any ports or ICMP types or codes you that specify. If
|
24158
|
+
# you specify protocol `58` (ICMPv6) and specify an IPv4 CIDR block,
|
24076
24159
|
# traffic for all ICMP types and codes allowed, regardless of any that
|
24077
24160
|
# you specify. If you specify protocol `58` (ICMPv6) and specify an
|
24078
24161
|
# IPv6 CIDR block, you must specify an ICMP type and code.
|
@@ -24123,14 +24206,14 @@ module Aws::EC2
|
|
24123
24206
|
#
|
24124
24207
|
# @!attribute [rw] destination_cidr_block
|
24125
24208
|
# The IPv4 CIDR address block used for the destination match. The
|
24126
|
-
# value you provide must match the CIDR of an existing route in
|
24127
|
-
# table.
|
24209
|
+
# value that you provide must match the CIDR of an existing route in
|
24210
|
+
# the table.
|
24128
24211
|
# @return [String]
|
24129
24212
|
#
|
24130
24213
|
# @!attribute [rw] destination_ipv_6_cidr_block
|
24131
24214
|
# The IPv6 CIDR address block used for the destination match. The
|
24132
|
-
# value you provide must match the CIDR of an existing route in
|
24133
|
-
# table.
|
24215
|
+
# value that you provide must match the CIDR of an existing route in
|
24216
|
+
# the table.
|
24134
24217
|
# @return [String]
|
24135
24218
|
#
|
24136
24219
|
# @!attribute [rw] dry_run
|
@@ -24141,11 +24224,11 @@ module Aws::EC2
|
|
24141
24224
|
# @return [Boolean]
|
24142
24225
|
#
|
24143
24226
|
# @!attribute [rw] egress_only_internet_gateway_id
|
24144
|
-
# \[IPv6 traffic only\] The ID of an egress-only
|
24227
|
+
# \[IPv6 traffic only\] The ID of an egress-only internet gateway.
|
24145
24228
|
# @return [String]
|
24146
24229
|
#
|
24147
24230
|
# @!attribute [rw] gateway_id
|
24148
|
-
# The ID of an
|
24231
|
+
# The ID of an internet gateway or virtual private gateway.
|
24149
24232
|
# @return [String]
|
24150
24233
|
#
|
24151
24234
|
# @!attribute [rw] instance_id
|
@@ -26329,7 +26412,7 @@ module Aws::EC2
|
|
26329
26412
|
# @return [String]
|
26330
26413
|
#
|
26331
26414
|
# @!attribute [rw] egress_only_internet_gateway_id
|
26332
|
-
# The ID of the egress-only
|
26415
|
+
# The ID of the egress-only internet gateway.
|
26333
26416
|
# @return [String]
|
26334
26417
|
#
|
26335
26418
|
# @!attribute [rw] gateway_id
|
@@ -29692,9 +29775,8 @@ module Aws::EC2
|
|
29692
29775
|
# @return [String]
|
29693
29776
|
#
|
29694
29777
|
# @!attribute [rw] available_ip_address_count
|
29695
|
-
# The number of unused private IPv4 addresses in the subnet.
|
29696
|
-
#
|
29697
|
-
# unavailable.
|
29778
|
+
# The number of unused private IPv4 addresses in the subnet. The IPv4
|
29779
|
+
# addresses for any stopped instances are considered unavailable.
|
29698
29780
|
# @return [Integer]
|
29699
29781
|
#
|
29700
29782
|
# @!attribute [rw] cidr_block
|