aws-sdk-ec2 1.269.0 → 1.270.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +20 -10
- data/lib/aws-sdk-ec2/client_api.rb +15 -0
- data/lib/aws-sdk-ec2/types.rb +88 -14
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db1224864d5072f639ff29a1a2d1edf0621d049e87ab3613bb343836070c6c2b
|
4
|
+
data.tar.gz: 1ea3fcfc155b3ee77b71b334f5748fe5d7178ea4ec8afd8866bd899a7675c7a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41106e03227ecba127dd17c8a441589ddcd4da834dc05046ae7cf118770246cce75859850cc8781207a1fdb0c1009fa2097647b2b93a50b3f24da5f49cbf2b82
|
7
|
+
data.tar.gz: 5560f457c7de0372d445a6a7b03f1175ce39f3be63efbc28e141b5d6ad4d826340fdfe0be0f30a8e3dc8d733ffc123e7aa68ed04c4401672c502880fa8d7228d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.270.0 (2021-10-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for additional VPC Flow Logs delivery options to S3, such as Apache Parquet formatted files, Hourly partitions and Hive-compatible S3 prefixes
|
8
|
+
|
4
9
|
1.269.0 (2021-10-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.270.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -5589,11 +5589,10 @@ module Aws::EC2
|
|
5589
5589
|
# accepts or rejects, or all traffic.
|
5590
5590
|
#
|
5591
5591
|
# @option params [String] :log_destination_type
|
5592
|
-
#
|
5593
|
-
#
|
5594
|
-
#
|
5595
|
-
#
|
5596
|
-
# `s3`.
|
5592
|
+
# The type of destination to which the flow log data is to be published.
|
5593
|
+
# Flow log data can be published to CloudWatch Logs or Amazon S3. To
|
5594
|
+
# publish flow log data to CloudWatch Logs, specify `cloud-watch-logs`.
|
5595
|
+
# To publish flow log data to Amazon S3, specify `s3`.
|
5597
5596
|
#
|
5598
5597
|
# If you specify `LogDestinationType` as `s3`, do not specify
|
5599
5598
|
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
@@ -5601,10 +5600,10 @@ module Aws::EC2
|
|
5601
5600
|
# Default: `cloud-watch-logs`
|
5602
5601
|
#
|
5603
5602
|
# @option params [String] :log_destination
|
5604
|
-
#
|
5605
|
-
#
|
5606
|
-
#
|
5607
|
-
#
|
5603
|
+
# The destination to which the flow log data is to be published. Flow
|
5604
|
+
# log data can be published to a CloudWatch Logs log group or an Amazon
|
5605
|
+
# S3 bucket. The value specified for this parameter depends on the value
|
5606
|
+
# specified for `LogDestinationType`.
|
5608
5607
|
#
|
5609
5608
|
# If `LogDestinationType` is not specified or `cloud-watch-logs`,
|
5610
5609
|
# specify the Amazon Resource Name (ARN) of the CloudWatch Logs log
|
@@ -5653,6 +5652,9 @@ module Aws::EC2
|
|
5653
5652
|
#
|
5654
5653
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
5655
5654
|
#
|
5655
|
+
# @option params [Types::DestinationOptionsRequest] :destination_options
|
5656
|
+
# The destination options.
|
5657
|
+
#
|
5656
5658
|
# @return [Types::CreateFlowLogsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5657
5659
|
#
|
5658
5660
|
# * {Types::CreateFlowLogsResult#client_token #client_token} => String
|
@@ -5684,6 +5686,11 @@ module Aws::EC2
|
|
5684
5686
|
# },
|
5685
5687
|
# ],
|
5686
5688
|
# max_aggregation_interval: 1,
|
5689
|
+
# destination_options: {
|
5690
|
+
# file_format: "plain-text", # accepts plain-text, parquet
|
5691
|
+
# hive_compatible_partitions: false,
|
5692
|
+
# per_hour_partition: false,
|
5693
|
+
# },
|
5687
5694
|
# })
|
5688
5695
|
#
|
5689
5696
|
# @example Response structure
|
@@ -17567,6 +17574,9 @@ module Aws::EC2
|
|
17567
17574
|
# resp.flow_logs[0].tags[0].key #=> String
|
17568
17575
|
# resp.flow_logs[0].tags[0].value #=> String
|
17569
17576
|
# resp.flow_logs[0].max_aggregation_interval #=> Integer
|
17577
|
+
# resp.flow_logs[0].destination_options.file_format #=> String, one of "plain-text", "parquet"
|
17578
|
+
# resp.flow_logs[0].destination_options.hive_compatible_partitions #=> Boolean
|
17579
|
+
# resp.flow_logs[0].destination_options.per_hour_partition #=> Boolean
|
17570
17580
|
# resp.next_token #=> String
|
17571
17581
|
#
|
17572
17582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs AWS API Documentation
|
@@ -44165,7 +44175,7 @@ module Aws::EC2
|
|
44165
44175
|
params: params,
|
44166
44176
|
config: config)
|
44167
44177
|
context[:gem_name] = 'aws-sdk-ec2'
|
44168
|
-
context[:gem_version] = '1.
|
44178
|
+
context[:gem_version] = '1.270.0'
|
44169
44179
|
Seahorse::Client::Request.new(handlers, context)
|
44170
44180
|
end
|
44171
44181
|
|
@@ -874,6 +874,9 @@ module Aws::EC2
|
|
874
874
|
DescribeVpnConnectionsResult = Shapes::StructureShape.new(name: 'DescribeVpnConnectionsResult')
|
875
875
|
DescribeVpnGatewaysRequest = Shapes::StructureShape.new(name: 'DescribeVpnGatewaysRequest')
|
876
876
|
DescribeVpnGatewaysResult = Shapes::StructureShape.new(name: 'DescribeVpnGatewaysResult')
|
877
|
+
DestinationFileFormat = Shapes::StringShape.new(name: 'DestinationFileFormat')
|
878
|
+
DestinationOptionsRequest = Shapes::StructureShape.new(name: 'DestinationOptionsRequest')
|
879
|
+
DestinationOptionsResponse = Shapes::StructureShape.new(name: 'DestinationOptionsResponse')
|
877
880
|
DetachClassicLinkVpcRequest = Shapes::StructureShape.new(name: 'DetachClassicLinkVpcRequest')
|
878
881
|
DetachClassicLinkVpcResult = Shapes::StructureShape.new(name: 'DetachClassicLinkVpcResult')
|
879
882
|
DetachInternetGatewayRequest = Shapes::StructureShape.new(name: 'DetachInternetGatewayRequest')
|
@@ -3589,6 +3592,7 @@ module Aws::EC2
|
|
3589
3592
|
CreateFlowLogsRequest.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "LogFormat"))
|
3590
3593
|
CreateFlowLogsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3591
3594
|
CreateFlowLogsRequest.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAggregationInterval"))
|
3595
|
+
CreateFlowLogsRequest.add_member(:destination_options, Shapes::ShapeRef.new(shape: DestinationOptionsRequest, location_name: "DestinationOptions"))
|
3592
3596
|
CreateFlowLogsRequest.struct_class = Types::CreateFlowLogsRequest
|
3593
3597
|
|
3594
3598
|
CreateFlowLogsResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -6020,6 +6024,16 @@ module Aws::EC2
|
|
6020
6024
|
DescribeVpnGatewaysResult.add_member(:vpn_gateways, Shapes::ShapeRef.new(shape: VpnGatewayList, location_name: "vpnGatewaySet"))
|
6021
6025
|
DescribeVpnGatewaysResult.struct_class = Types::DescribeVpnGatewaysResult
|
6022
6026
|
|
6027
|
+
DestinationOptionsRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: DestinationFileFormat, location_name: "FileFormat"))
|
6028
|
+
DestinationOptionsRequest.add_member(:hive_compatible_partitions, Shapes::ShapeRef.new(shape: Boolean, location_name: "HiveCompatiblePartitions"))
|
6029
|
+
DestinationOptionsRequest.add_member(:per_hour_partition, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerHourPartition"))
|
6030
|
+
DestinationOptionsRequest.struct_class = Types::DestinationOptionsRequest
|
6031
|
+
|
6032
|
+
DestinationOptionsResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: DestinationFileFormat, location_name: "fileFormat"))
|
6033
|
+
DestinationOptionsResponse.add_member(:hive_compatible_partitions, Shapes::ShapeRef.new(shape: Boolean, location_name: "hiveCompatiblePartitions"))
|
6034
|
+
DestinationOptionsResponse.add_member(:per_hour_partition, Shapes::ShapeRef.new(shape: Boolean, location_name: "perHourPartition"))
|
6035
|
+
DestinationOptionsResponse.struct_class = Types::DestinationOptionsResponse
|
6036
|
+
|
6023
6037
|
DetachClassicLinkVpcRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6024
6038
|
DetachClassicLinkVpcRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
6025
6039
|
DetachClassicLinkVpcRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
@@ -6763,6 +6777,7 @@ module Aws::EC2
|
|
6763
6777
|
FlowLog.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "logFormat"))
|
6764
6778
|
FlowLog.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
6765
6779
|
FlowLog.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "maxAggregationInterval"))
|
6780
|
+
FlowLog.add_member(:destination_options, Shapes::ShapeRef.new(shape: DestinationOptionsResponse, location_name: "destinationOptions"))
|
6766
6781
|
FlowLog.struct_class = Types::FlowLog
|
6767
6782
|
|
6768
6783
|
FlowLogIdList.member = Shapes::ShapeRef.new(shape: VpcFlowLogId, location_name: "item")
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7298,6 +7298,11 @@ module Aws::EC2
|
|
7298
7298
|
# },
|
7299
7299
|
# ],
|
7300
7300
|
# max_aggregation_interval: 1,
|
7301
|
+
# destination_options: {
|
7302
|
+
# file_format: "plain-text", # accepts plain-text, parquet
|
7303
|
+
# hive_compatible_partitions: false,
|
7304
|
+
# per_hour_partition: false,
|
7305
|
+
# },
|
7301
7306
|
# }
|
7302
7307
|
#
|
7303
7308
|
# @!attribute [rw] dry_run
|
@@ -7352,8 +7357,8 @@ module Aws::EC2
|
|
7352
7357
|
# @return [String]
|
7353
7358
|
#
|
7354
7359
|
# @!attribute [rw] log_destination_type
|
7355
|
-
#
|
7356
|
-
#
|
7360
|
+
# The type of destination to which the flow log data is to be
|
7361
|
+
# published. Flow log data can be published to CloudWatch Logs or
|
7357
7362
|
# Amazon S3. To publish flow log data to CloudWatch Logs, specify
|
7358
7363
|
# `cloud-watch-logs`. To publish flow log data to Amazon S3, specify
|
7359
7364
|
# `s3`.
|
@@ -7365,10 +7370,10 @@ module Aws::EC2
|
|
7365
7370
|
# @return [String]
|
7366
7371
|
#
|
7367
7372
|
# @!attribute [rw] log_destination
|
7368
|
-
#
|
7369
|
-
#
|
7370
|
-
#
|
7371
|
-
#
|
7373
|
+
# The destination to which the flow log data is to be published. Flow
|
7374
|
+
# log data can be published to a CloudWatch Logs log group or an
|
7375
|
+
# Amazon S3 bucket. The value specified for this parameter depends on
|
7376
|
+
# the value specified for `LogDestinationType`.
|
7372
7377
|
#
|
7373
7378
|
# If `LogDestinationType` is not specified or `cloud-watch-logs`,
|
7374
7379
|
# specify the Amazon Resource Name (ARN) of the CloudWatch Logs log
|
@@ -7421,6 +7426,10 @@ module Aws::EC2
|
|
7421
7426
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
7422
7427
|
# @return [Integer]
|
7423
7428
|
#
|
7429
|
+
# @!attribute [rw] destination_options
|
7430
|
+
# The destination options.
|
7431
|
+
# @return [Types::DestinationOptionsRequest]
|
7432
|
+
#
|
7424
7433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest AWS API Documentation
|
7425
7434
|
#
|
7426
7435
|
class CreateFlowLogsRequest < Struct.new(
|
@@ -7435,7 +7444,8 @@ module Aws::EC2
|
|
7435
7444
|
:log_destination,
|
7436
7445
|
:log_format,
|
7437
7446
|
:tag_specifications,
|
7438
|
-
:max_aggregation_interval
|
7447
|
+
:max_aggregation_interval,
|
7448
|
+
:destination_options)
|
7439
7449
|
SENSITIVE = []
|
7440
7450
|
include Aws::Structure
|
7441
7451
|
end
|
@@ -26872,6 +26882,66 @@ module Aws::EC2
|
|
26872
26882
|
include Aws::Structure
|
26873
26883
|
end
|
26874
26884
|
|
26885
|
+
# Describes the destination options for a flow log.
|
26886
|
+
#
|
26887
|
+
# @note When making an API call, you may pass DestinationOptionsRequest
|
26888
|
+
# data as a hash:
|
26889
|
+
#
|
26890
|
+
# {
|
26891
|
+
# file_format: "plain-text", # accepts plain-text, parquet
|
26892
|
+
# hive_compatible_partitions: false,
|
26893
|
+
# per_hour_partition: false,
|
26894
|
+
# }
|
26895
|
+
#
|
26896
|
+
# @!attribute [rw] file_format
|
26897
|
+
# The format for the flow log. The default is `plain-text`.
|
26898
|
+
# @return [String]
|
26899
|
+
#
|
26900
|
+
# @!attribute [rw] hive_compatible_partitions
|
26901
|
+
# Indicates whether to use Hive-compatible prefixes for flow logs
|
26902
|
+
# stored in Amazon S3. The default is `false`.
|
26903
|
+
# @return [Boolean]
|
26904
|
+
#
|
26905
|
+
# @!attribute [rw] per_hour_partition
|
26906
|
+
# Indicates whether to partition the flow log per hour. This reduces
|
26907
|
+
# the cost and response time for queries. The default is `false`.
|
26908
|
+
# @return [Boolean]
|
26909
|
+
#
|
26910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DestinationOptionsRequest AWS API Documentation
|
26911
|
+
#
|
26912
|
+
class DestinationOptionsRequest < Struct.new(
|
26913
|
+
:file_format,
|
26914
|
+
:hive_compatible_partitions,
|
26915
|
+
:per_hour_partition)
|
26916
|
+
SENSITIVE = []
|
26917
|
+
include Aws::Structure
|
26918
|
+
end
|
26919
|
+
|
26920
|
+
# Describes the destination options for a flow log.
|
26921
|
+
#
|
26922
|
+
# @!attribute [rw] file_format
|
26923
|
+
# The format for the flow log.
|
26924
|
+
# @return [String]
|
26925
|
+
#
|
26926
|
+
# @!attribute [rw] hive_compatible_partitions
|
26927
|
+
# Indicates whether to use Hive-compatible prefixes for flow logs
|
26928
|
+
# stored in Amazon S3.
|
26929
|
+
# @return [Boolean]
|
26930
|
+
#
|
26931
|
+
# @!attribute [rw] per_hour_partition
|
26932
|
+
# Indicates whether to partition the flow log per hour.
|
26933
|
+
# @return [Boolean]
|
26934
|
+
#
|
26935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DestinationOptionsResponse AWS API Documentation
|
26936
|
+
#
|
26937
|
+
class DestinationOptionsResponse < Struct.new(
|
26938
|
+
:file_format,
|
26939
|
+
:hive_compatible_partitions,
|
26940
|
+
:per_hour_partition)
|
26941
|
+
SENSITIVE = []
|
26942
|
+
include Aws::Structure
|
26943
|
+
end
|
26944
|
+
|
26875
26945
|
# @note When making an API call, you may pass DetachClassicLinkVpcRequest
|
26876
26946
|
# data as a hash:
|
26877
26947
|
#
|
@@ -31142,15 +31212,14 @@ module Aws::EC2
|
|
31142
31212
|
# @return [String]
|
31143
31213
|
#
|
31144
31214
|
# @!attribute [rw] log_destination_type
|
31145
|
-
#
|
31146
|
-
#
|
31147
|
-
# Amazon S3.
|
31215
|
+
# The type of destination to which the flow log data is published.
|
31216
|
+
# Flow log data can be published to CloudWatch Logs or Amazon S3.
|
31148
31217
|
# @return [String]
|
31149
31218
|
#
|
31150
31219
|
# @!attribute [rw] log_destination
|
31151
|
-
#
|
31152
|
-
#
|
31153
|
-
#
|
31220
|
+
# The destination to which the flow log data is published. Flow log
|
31221
|
+
# data can be published to an CloudWatch Logs log group or an Amazon
|
31222
|
+
# S3 bucket. If the flow log publishes to CloudWatch Logs, this
|
31154
31223
|
# element indicates the Amazon Resource Name (ARN) of the CloudWatch
|
31155
31224
|
# Logs log group to which the data is published. If the flow log
|
31156
31225
|
# publishes to Amazon S3, this element indicates the ARN of the Amazon
|
@@ -31180,6 +31249,10 @@ module Aws::EC2
|
|
31180
31249
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
31181
31250
|
# @return [Integer]
|
31182
31251
|
#
|
31252
|
+
# @!attribute [rw] destination_options
|
31253
|
+
# The destination options.
|
31254
|
+
# @return [Types::DestinationOptionsResponse]
|
31255
|
+
#
|
31183
31256
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlowLog AWS API Documentation
|
31184
31257
|
#
|
31185
31258
|
class FlowLog < Struct.new(
|
@@ -31196,7 +31269,8 @@ module Aws::EC2
|
|
31196
31269
|
:log_destination,
|
31197
31270
|
:log_format,
|
31198
31271
|
:tags,
|
31199
|
-
:max_aggregation_interval
|
31272
|
+
:max_aggregation_interval,
|
31273
|
+
:destination_options)
|
31200
31274
|
SENSITIVE = []
|
31201
31275
|
include Aws::Structure
|
31202
31276
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
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.270.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: 2021-10-
|
11
|
+
date: 2021-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|