aws-sdk-ec2 1.107.0 → 1.108.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 +24 -3
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +31 -4
- 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: 643639bb64ad9ee9cccdf88637472a7b4e1e361b
|
4
|
+
data.tar.gz: 486be44ba568d94fd96b96384cf1e3091eb75b6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8959650740619f293e24feaed9e1bd677b4d1c2a38075cadd15ab13865e21c162a1943b15149146b9171d5d5c77c9d41b49d3a93e201b4064b04335bb41f4f08
|
7
|
+
data.tar.gz: 4942f40388373410c7826ea1ecf9fcffa4a793af4f3f0ccaab0edf4d27953f7756959162cac4c32070c7a2bc3ae3e70b3a2993bc90a42970453ce4f3f2876c40
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4366,6 +4366,24 @@ module Aws::EC2
|
|
4366
4366
|
# `arn:aws:s3:::my-bucket/my-logs/`. You cannot use `AWSLogs` as a
|
4367
4367
|
# subfolder name. This is a reserved term.
|
4368
4368
|
#
|
4369
|
+
# @option params [String] :log_format
|
4370
|
+
# The fields to include in the flow log record, in the order in which
|
4371
|
+
# they should appear. For a list of available fields, see [Flow Log
|
4372
|
+
# Records][1]. If you omit this parameter, the flow log is created using
|
4373
|
+
# the default format. If you specify this parameter, you must specify at
|
4374
|
+
# least one field.
|
4375
|
+
#
|
4376
|
+
# Specify the fields using the `$\{field-id\}` format, separated by
|
4377
|
+
# spaces. For the AWS CLI, use single quotation marks (' ') to
|
4378
|
+
# surround the parameter value.
|
4379
|
+
#
|
4380
|
+
# Only applicable to flow logs that are published to an Amazon S3
|
4381
|
+
# bucket.
|
4382
|
+
#
|
4383
|
+
#
|
4384
|
+
#
|
4385
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
4386
|
+
#
|
4369
4387
|
# @return [Types::CreateFlowLogsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4370
4388
|
#
|
4371
4389
|
# * {Types::CreateFlowLogsResult#client_token #client_token} => String
|
@@ -4384,6 +4402,7 @@ module Aws::EC2
|
|
4384
4402
|
# traffic_type: "ACCEPT", # required, accepts ACCEPT, REJECT, ALL
|
4385
4403
|
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
4386
4404
|
# log_destination: "String",
|
4405
|
+
# log_format: "String",
|
4387
4406
|
# })
|
4388
4407
|
#
|
4389
4408
|
# @example Response structure
|
@@ -12770,6 +12789,7 @@ module Aws::EC2
|
|
12770
12789
|
# resp.flow_logs[0].traffic_type #=> String, one of "ACCEPT", "REJECT", "ALL"
|
12771
12790
|
# resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
|
12772
12791
|
# resp.flow_logs[0].log_destination #=> String
|
12792
|
+
# resp.flow_logs[0].log_format #=> String
|
12773
12793
|
# resp.next_token #=> String
|
12774
12794
|
#
|
12775
12795
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs AWS API Documentation
|
@@ -21542,8 +21562,9 @@ module Aws::EC2
|
|
21542
21562
|
#
|
21543
21563
|
# * `vpc-endpoint-id`\: The ID of the endpoint.
|
21544
21564
|
#
|
21545
|
-
# * `vpc-endpoint-state
|
21546
|
-
# `
|
21565
|
+
# * `vpc-endpoint-state` - The state of the endpoint
|
21566
|
+
# (`pendingAcceptance` \| `pending` \| `available` \| `deleting` \|
|
21567
|
+
# `deleted` \| `rejected` \| `failed`).
|
21547
21568
|
#
|
21548
21569
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
21549
21570
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -32618,7 +32639,7 @@ module Aws::EC2
|
|
32618
32639
|
params: params,
|
32619
32640
|
config: config)
|
32620
32641
|
context[:gem_name] = 'aws-sdk-ec2'
|
32621
|
-
context[:gem_version] = '1.
|
32642
|
+
context[:gem_version] = '1.108.0'
|
32622
32643
|
Seahorse::Client::Request.new(handlers, context)
|
32623
32644
|
end
|
32624
32645
|
|
@@ -2446,6 +2446,7 @@ module Aws::EC2
|
|
2446
2446
|
CreateFlowLogsRequest.add_member(:traffic_type, Shapes::ShapeRef.new(shape: TrafficType, required: true, location_name: "TrafficType"))
|
2447
2447
|
CreateFlowLogsRequest.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "LogDestinationType"))
|
2448
2448
|
CreateFlowLogsRequest.add_member(:log_destination, Shapes::ShapeRef.new(shape: String, location_name: "LogDestination"))
|
2449
|
+
CreateFlowLogsRequest.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "LogFormat"))
|
2449
2450
|
CreateFlowLogsRequest.struct_class = Types::CreateFlowLogsRequest
|
2450
2451
|
|
2451
2452
|
CreateFlowLogsResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -4673,6 +4674,7 @@ module Aws::EC2
|
|
4673
4674
|
FlowLog.add_member(:traffic_type, Shapes::ShapeRef.new(shape: TrafficType, location_name: "trafficType"))
|
4674
4675
|
FlowLog.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "logDestinationType"))
|
4675
4676
|
FlowLog.add_member(:log_destination, Shapes::ShapeRef.new(shape: String, location_name: "logDestination"))
|
4677
|
+
FlowLog.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "logFormat"))
|
4676
4678
|
FlowLog.struct_class = Types::FlowLog
|
4677
4679
|
|
4678
4680
|
FlowLogSet.member = Shapes::ShapeRef.new(shape: FlowLog, location_name: "item")
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4967,6 +4967,7 @@ module Aws::EC2
|
|
4967
4967
|
# traffic_type: "ACCEPT", # required, accepts ACCEPT, REJECT, ALL
|
4968
4968
|
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
4969
4969
|
# log_destination: "String",
|
4970
|
+
# log_format: "String",
|
4970
4971
|
# }
|
4971
4972
|
#
|
4972
4973
|
# @!attribute [rw] dry_run
|
@@ -5052,6 +5053,25 @@ module Aws::EC2
|
|
5052
5053
|
# a subfolder name. This is a reserved term.
|
5053
5054
|
# @return [String]
|
5054
5055
|
#
|
5056
|
+
# @!attribute [rw] log_format
|
5057
|
+
# The fields to include in the flow log record, in the order in which
|
5058
|
+
# they should appear. For a list of available fields, see [Flow Log
|
5059
|
+
# Records][1]. If you omit this parameter, the flow log is created
|
5060
|
+
# using the default format. If you specify this parameter, you must
|
5061
|
+
# specify at least one field.
|
5062
|
+
#
|
5063
|
+
# Specify the fields using the `$\{field-id\}` format, separated by
|
5064
|
+
# spaces. For the AWS CLI, use single quotation marks (' ') to
|
5065
|
+
# surround the parameter value.
|
5066
|
+
#
|
5067
|
+
# Only applicable to flow logs that are published to an Amazon S3
|
5068
|
+
# bucket.
|
5069
|
+
#
|
5070
|
+
#
|
5071
|
+
#
|
5072
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
5073
|
+
# @return [String]
|
5074
|
+
#
|
5055
5075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest AWS API Documentation
|
5056
5076
|
#
|
5057
5077
|
class CreateFlowLogsRequest < Struct.new(
|
@@ -5063,7 +5083,8 @@ module Aws::EC2
|
|
5063
5083
|
:resource_type,
|
5064
5084
|
:traffic_type,
|
5065
5085
|
:log_destination_type,
|
5066
|
-
:log_destination
|
5086
|
+
:log_destination,
|
5087
|
+
:log_format)
|
5067
5088
|
include Aws::Structure
|
5068
5089
|
end
|
5069
5090
|
|
@@ -18238,8 +18259,9 @@ module Aws::EC2
|
|
18238
18259
|
#
|
18239
18260
|
# * `vpc-endpoint-id`\: The ID of the endpoint.
|
18240
18261
|
#
|
18241
|
-
# * `vpc-endpoint-state
|
18242
|
-
# `
|
18262
|
+
# * `vpc-endpoint-state` - The state of the endpoint
|
18263
|
+
# (`pendingAcceptance` \| `pending` \| `available` \| `deleting` \|
|
18264
|
+
# `deleted` \| `rejected` \| `failed`).
|
18243
18265
|
#
|
18244
18266
|
# * `tag`\:<key> - The key/value combination of a tag assigned
|
18245
18267
|
# to the resource. Use the tag key in the filter name and the tag
|
@@ -21271,6 +21293,10 @@ module Aws::EC2
|
|
21271
21293
|
# S3 bucket to which the data is published.
|
21272
21294
|
# @return [String]
|
21273
21295
|
#
|
21296
|
+
# @!attribute [rw] log_format
|
21297
|
+
# The format of the flow log record.
|
21298
|
+
# @return [String]
|
21299
|
+
#
|
21274
21300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlowLog AWS API Documentation
|
21275
21301
|
#
|
21276
21302
|
class FlowLog < Struct.new(
|
@@ -21284,7 +21310,8 @@ module Aws::EC2
|
|
21284
21310
|
:resource_id,
|
21285
21311
|
:traffic_type,
|
21286
21312
|
:log_destination_type,
|
21287
|
-
:log_destination
|
21313
|
+
:log_destination,
|
21314
|
+
:log_format)
|
21288
21315
|
include Aws::Structure
|
21289
21316
|
end
|
21290
21317
|
|
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.108.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: 2019-09-
|
11
|
+
date: 2019-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|