aws-sdk-ec2 1.137.0 → 1.138.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 +18 -1
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +34 -2
- 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: 68554d90ac7315195193cf41581b92b583fcc0cc
|
4
|
+
data.tar.gz: 14f4d6f1f43f984db090ecfde1b9ec26cf38db29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2782ec923ce7922b2e184a35ea5a87550dba3c597e860c9e0ffe644a2d01506d3913d13d9f3492f2d2d91a1d480aa756cb6d7d44c5cf13b33f09b8324c32d1df
|
7
|
+
data.tar.gz: 5d2285c15684d15c0fc6cd560d97e22444bedb2eaecd13a5140b46026725f2a5b71ec09104634cec7a3e8ff5dfb043abfc8141587ae038d1218a811e1aff479e
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4624,6 +4624,21 @@ module Aws::EC2
|
|
4624
4624
|
#
|
4625
4625
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
4626
4626
|
#
|
4627
|
+
# @option params [Integer] :max_aggregation_interval
|
4628
|
+
# The maximum interval of time during which a flow of packets is
|
4629
|
+
# captured and aggregated into a flow log record. You can specify 60
|
4630
|
+
# seconds (1 minute) or 600 seconds (10 minutes).
|
4631
|
+
#
|
4632
|
+
# For network interfaces attached to [Nitro-based instances][1], the
|
4633
|
+
# aggregation interval is always 60 seconds, regardless of the value
|
4634
|
+
# that you specify.
|
4635
|
+
#
|
4636
|
+
# Default: 600
|
4637
|
+
#
|
4638
|
+
#
|
4639
|
+
#
|
4640
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
4641
|
+
#
|
4627
4642
|
# @return [Types::CreateFlowLogsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4628
4643
|
#
|
4629
4644
|
# * {Types::CreateFlowLogsResult#client_token #client_token} => String
|
@@ -4643,6 +4658,7 @@ module Aws::EC2
|
|
4643
4658
|
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
4644
4659
|
# log_destination: "String",
|
4645
4660
|
# log_format: "String",
|
4661
|
+
# max_aggregation_interval: 1,
|
4646
4662
|
# })
|
4647
4663
|
#
|
4648
4664
|
# @example Response structure
|
@@ -13965,6 +13981,7 @@ module Aws::EC2
|
|
13965
13981
|
# resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
|
13966
13982
|
# resp.flow_logs[0].log_destination #=> String
|
13967
13983
|
# resp.flow_logs[0].log_format #=> String
|
13984
|
+
# resp.flow_logs[0].max_aggregation_interval #=> Integer
|
13968
13985
|
# resp.next_token #=> String
|
13969
13986
|
#
|
13970
13987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs AWS API Documentation
|
@@ -35878,7 +35895,7 @@ module Aws::EC2
|
|
35878
35895
|
params: params,
|
35879
35896
|
config: config)
|
35880
35897
|
context[:gem_name] = 'aws-sdk-ec2'
|
35881
|
-
context[:gem_version] = '1.
|
35898
|
+
context[:gem_version] = '1.138.0'
|
35882
35899
|
Seahorse::Client::Request.new(handlers, context)
|
35883
35900
|
end
|
35884
35901
|
|
@@ -2840,6 +2840,7 @@ module Aws::EC2
|
|
2840
2840
|
CreateFlowLogsRequest.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "LogDestinationType"))
|
2841
2841
|
CreateFlowLogsRequest.add_member(:log_destination, Shapes::ShapeRef.new(shape: String, location_name: "LogDestination"))
|
2842
2842
|
CreateFlowLogsRequest.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "LogFormat"))
|
2843
|
+
CreateFlowLogsRequest.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAggregationInterval"))
|
2843
2844
|
CreateFlowLogsRequest.struct_class = Types::CreateFlowLogsRequest
|
2844
2845
|
|
2845
2846
|
CreateFlowLogsResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -5446,6 +5447,7 @@ module Aws::EC2
|
|
5446
5447
|
FlowLog.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "logDestinationType"))
|
5447
5448
|
FlowLog.add_member(:log_destination, Shapes::ShapeRef.new(shape: String, location_name: "logDestination"))
|
5448
5449
|
FlowLog.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "logFormat"))
|
5450
|
+
FlowLog.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "maxAggregationInterval"))
|
5449
5451
|
FlowLog.struct_class = Types::FlowLog
|
5450
5452
|
|
5451
5453
|
FlowLogSet.member = Shapes::ShapeRef.new(shape: FlowLog, location_name: "item")
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -5400,6 +5400,7 @@ module Aws::EC2
|
|
5400
5400
|
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
5401
5401
|
# log_destination: "String",
|
5402
5402
|
# log_format: "String",
|
5403
|
+
# max_aggregation_interval: 1,
|
5403
5404
|
# }
|
5404
5405
|
#
|
5405
5406
|
# @!attribute [rw] dry_run
|
@@ -5506,6 +5507,22 @@ module Aws::EC2
|
|
5506
5507
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
5507
5508
|
# @return [String]
|
5508
5509
|
#
|
5510
|
+
# @!attribute [rw] max_aggregation_interval
|
5511
|
+
# The maximum interval of time during which a flow of packets is
|
5512
|
+
# captured and aggregated into a flow log record. You can specify 60
|
5513
|
+
# seconds (1 minute) or 600 seconds (10 minutes).
|
5514
|
+
#
|
5515
|
+
# For network interfaces attached to [Nitro-based instances][1], the
|
5516
|
+
# aggregation interval is always 60 seconds, regardless of the value
|
5517
|
+
# that you specify.
|
5518
|
+
#
|
5519
|
+
# Default: 600
|
5520
|
+
#
|
5521
|
+
#
|
5522
|
+
#
|
5523
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
5524
|
+
# @return [Integer]
|
5525
|
+
#
|
5509
5526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest AWS API Documentation
|
5510
5527
|
#
|
5511
5528
|
class CreateFlowLogsRequest < Struct.new(
|
@@ -5518,7 +5535,8 @@ module Aws::EC2
|
|
5518
5535
|
:traffic_type,
|
5519
5536
|
:log_destination_type,
|
5520
5537
|
:log_destination,
|
5521
|
-
:log_format
|
5538
|
+
:log_format,
|
5539
|
+
:max_aggregation_interval)
|
5522
5540
|
include Aws::Structure
|
5523
5541
|
end
|
5524
5542
|
|
@@ -24088,6 +24106,19 @@ module Aws::EC2
|
|
24088
24106
|
# The format of the flow log record.
|
24089
24107
|
# @return [String]
|
24090
24108
|
#
|
24109
|
+
# @!attribute [rw] max_aggregation_interval
|
24110
|
+
# The maximum interval of time, in seconds, during which a flow of
|
24111
|
+
# packets is captured and aggregated into a flow log record.
|
24112
|
+
#
|
24113
|
+
# For network interfaces attached to [Nitro-based instances][1], the
|
24114
|
+
# aggregation interval is always 60 seconds (1 minute), regardless of
|
24115
|
+
# the specified value.
|
24116
|
+
#
|
24117
|
+
#
|
24118
|
+
#
|
24119
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
24120
|
+
# @return [Integer]
|
24121
|
+
#
|
24091
24122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlowLog AWS API Documentation
|
24092
24123
|
#
|
24093
24124
|
class FlowLog < Struct.new(
|
@@ -24102,7 +24133,8 @@ module Aws::EC2
|
|
24102
24133
|
:traffic_type,
|
24103
24134
|
:log_destination_type,
|
24104
24135
|
:log_destination,
|
24105
|
-
:log_format
|
24136
|
+
:log_format,
|
24137
|
+
:max_aggregation_interval)
|
24106
24138
|
include Aws::Structure
|
24107
24139
|
end
|
24108
24140
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.138.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|