aws-sdk-ec2 1.330.0 → 1.331.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +99 -96
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +82 -80
- 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: 6c0cf3cf9c882746d8706e45dd3f3674dca008373cc884b70b8ac7cdb0c8db28
|
|
4
|
+
data.tar.gz: f01f036cf3c47a3026ed0cf38a6175954e32cf9668e0745026fc4565783dc01b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dac2d001ae7e27a036afdede4db837669cc02e967ed5fbee592f7900a3336004c3ff2822efd0c3aacb816af12da0f94dc71a02466a53c699024590a64b37a993
|
|
7
|
+
data.tar.gz: 1f91146980279ef0e86265e471693ecca5c063af126d25cff7dc4a959d986b900a2401789ef916fc598ed637049488d7f442c265e039808be683d42a70740abd
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.331.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -2354,10 +2354,10 @@ module Aws::EC2
|
|
|
2354
2354
|
req.send_request(options)
|
|
2355
2355
|
end
|
|
2356
2356
|
|
|
2357
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
2358
|
-
#
|
|
2359
|
-
#
|
|
2360
|
-
#
|
|
2357
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
2358
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
2359
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
2360
|
+
# Guide*.
|
|
2361
2361
|
#
|
|
2362
2362
|
# </note>
|
|
2363
2363
|
#
|
|
@@ -5296,10 +5296,10 @@ module Aws::EC2
|
|
|
5296
5296
|
# really want a default VPC for my existing EC2 account. Is that
|
|
5297
5297
|
# possible?" in the [Default VPCs FAQ][2].
|
|
5298
5298
|
#
|
|
5299
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
5300
|
-
#
|
|
5301
|
-
#
|
|
5302
|
-
#
|
|
5299
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
5300
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
5301
|
+
# EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
|
|
5302
|
+
# Guide*.
|
|
5303
5303
|
#
|
|
5304
5304
|
# </note>
|
|
5305
5305
|
#
|
|
@@ -5982,71 +5982,71 @@ module Aws::EC2
|
|
|
5982
5982
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
|
|
5983
5983
|
#
|
|
5984
5984
|
# @option params [String] :deliver_logs_permission_arn
|
|
5985
|
-
# The ARN
|
|
5986
|
-
#
|
|
5985
|
+
# The ARN of the IAM role that allows Amazon EC2 to publish flow logs to
|
|
5986
|
+
# a CloudWatch Logs log group in your account.
|
|
5987
|
+
#
|
|
5988
|
+
# This parameter is required if the destination type is
|
|
5989
|
+
# `cloud-watch-logs` and unsupported otherwise.
|
|
5987
5990
|
#
|
|
5988
|
-
#
|
|
5989
|
-
#
|
|
5991
|
+
# @option params [String] :deliver_cross_account_role
|
|
5992
|
+
# The ARN of the IAM role that allows Amazon EC2 to publish flow logs
|
|
5993
|
+
# across accounts.
|
|
5990
5994
|
#
|
|
5991
5995
|
# @option params [String] :log_group_name
|
|
5992
5996
|
# The name of a new or existing CloudWatch Logs log group where Amazon
|
|
5993
5997
|
# EC2 publishes your flow logs.
|
|
5994
5998
|
#
|
|
5995
|
-
#
|
|
5996
|
-
# `
|
|
5999
|
+
# This parameter is valid only if the destination type is
|
|
6000
|
+
# `cloud-watch-logs`.
|
|
5997
6001
|
#
|
|
5998
6002
|
# @option params [required, Array<String>] :resource_ids
|
|
5999
|
-
# The
|
|
6000
|
-
#
|
|
6003
|
+
# The IDs of the resources to monitor. For example, if the resource type
|
|
6004
|
+
# is `VPC`, specify the IDs of the VPCs.
|
|
6001
6005
|
#
|
|
6002
6006
|
# Constraints: Maximum of 1000 resources
|
|
6003
6007
|
#
|
|
6004
6008
|
# @option params [required, String] :resource_type
|
|
6005
|
-
# The type of resource
|
|
6006
|
-
# you specified a VPC ID for the `ResourceId` property, specify `VPC`
|
|
6007
|
-
# for this property.
|
|
6009
|
+
# The type of resource to monitor.
|
|
6008
6010
|
#
|
|
6009
6011
|
# @option params [String] :traffic_type
|
|
6010
|
-
# The type of traffic to
|
|
6011
|
-
#
|
|
6012
|
+
# The type of traffic to monitor (accepted traffic, rejected traffic, or
|
|
6013
|
+
# all traffic).
|
|
6012
6014
|
#
|
|
6013
6015
|
# @option params [String] :log_destination_type
|
|
6014
|
-
# The type of destination
|
|
6015
|
-
# Flow log data can be published to CloudWatch Logs or Amazon S3. To
|
|
6016
|
-
# publish flow log data to CloudWatch Logs, specify `cloud-watch-logs`.
|
|
6017
|
-
# To publish flow log data to Amazon S3, specify `s3`.
|
|
6018
|
-
#
|
|
6019
|
-
# If you specify `LogDestinationType` as `s3`, do not specify
|
|
6020
|
-
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
|
6016
|
+
# The type of destination for the flow log data.
|
|
6021
6017
|
#
|
|
6022
6018
|
# Default: `cloud-watch-logs`
|
|
6023
6019
|
#
|
|
6024
6020
|
# @option params [String] :log_destination
|
|
6025
|
-
# The destination
|
|
6026
|
-
#
|
|
6027
|
-
#
|
|
6028
|
-
#
|
|
6029
|
-
#
|
|
6030
|
-
#
|
|
6031
|
-
#
|
|
6032
|
-
#
|
|
6033
|
-
#
|
|
6034
|
-
#
|
|
6035
|
-
#
|
|
6036
|
-
#
|
|
6037
|
-
#
|
|
6038
|
-
#
|
|
6039
|
-
#
|
|
6040
|
-
#
|
|
6041
|
-
#
|
|
6042
|
-
#
|
|
6021
|
+
# The destination for the flow log data. The meaning of this parameter
|
|
6022
|
+
# depends on the destination type.
|
|
6023
|
+
#
|
|
6024
|
+
# * If the destination type is `cloud-watch-logs`, specify the ARN of a
|
|
6025
|
+
# CloudWatch Logs log group. For example:
|
|
6026
|
+
#
|
|
6027
|
+
# arn:aws:logs:*region*\:*account\_id*\:log-group:*my\_group*
|
|
6028
|
+
#
|
|
6029
|
+
# Alternatively, use the `LogGroupName` parameter.
|
|
6030
|
+
#
|
|
6031
|
+
# * If the destination type is `s3`, specify the ARN of an S3 bucket.
|
|
6032
|
+
# For example:
|
|
6033
|
+
#
|
|
6034
|
+
# arn:aws:s3:::*my\_bucket*/*my\_subfolder*/
|
|
6035
|
+
#
|
|
6036
|
+
# The subfolder is optional. Note that you can't use `AWSLogs` as a
|
|
6037
|
+
# subfolder name.
|
|
6038
|
+
#
|
|
6039
|
+
# * If the destination type is `kinesis-data-firehose`, specify the ARN
|
|
6040
|
+
# of a Kinesis Data Firehose delivery stream. For example:
|
|
6041
|
+
#
|
|
6042
|
+
# arn:aws:firehose:*region*\:*account\_id*\:deliverystream:*my\_stream*
|
|
6043
6043
|
#
|
|
6044
6044
|
# @option params [String] :log_format
|
|
6045
|
-
# The fields to include in the flow log record
|
|
6046
|
-
# they should appear. For
|
|
6047
|
-
# records][1]. If you omit this
|
|
6048
|
-
# the
|
|
6049
|
-
# least one field.
|
|
6045
|
+
# The fields to include in the flow log record. List the fields in the
|
|
6046
|
+
# order in which they should appear. For more information about the
|
|
6047
|
+
# available fields, see [Flow log records][1]. If you omit this
|
|
6048
|
+
# parameter, the flow log is created using the default format. If you
|
|
6049
|
+
# specify this parameter, you must include at least one field.
|
|
6050
6050
|
#
|
|
6051
6051
|
# Specify the fields using the `$\{field-id\}` format, separated by
|
|
6052
6052
|
# spaces. For the CLI, surround this parameter value with single quotes
|
|
@@ -6089,11 +6089,12 @@ module Aws::EC2
|
|
|
6089
6089
|
# dry_run: false,
|
|
6090
6090
|
# client_token: "String",
|
|
6091
6091
|
# deliver_logs_permission_arn: "String",
|
|
6092
|
+
# deliver_cross_account_role: "String",
|
|
6092
6093
|
# log_group_name: "String",
|
|
6093
6094
|
# resource_ids: ["FlowLogResourceId"], # required
|
|
6094
6095
|
# resource_type: "VPC", # required, accepts VPC, Subnet, NetworkInterface, TransitGateway, TransitGatewayAttachment
|
|
6095
6096
|
# traffic_type: "ACCEPT", # accepts ACCEPT, REJECT, ALL
|
|
6096
|
-
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
|
6097
|
+
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3, kinesis-data-firehose
|
|
6097
6098
|
# log_destination: "String",
|
|
6098
6099
|
# log_format: "String",
|
|
6099
6100
|
# tag_specifications: [
|
|
@@ -18026,10 +18027,10 @@ module Aws::EC2
|
|
|
18026
18027
|
# a VPC through ClassicLink. You cannot use this request to return
|
|
18027
18028
|
# information about other instances.
|
|
18028
18029
|
#
|
|
18029
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
18030
|
-
#
|
|
18031
|
-
#
|
|
18032
|
-
#
|
|
18030
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
18031
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
18032
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
18033
|
+
# Guide*.
|
|
18033
18034
|
#
|
|
18034
18035
|
# </note>
|
|
18035
18036
|
#
|
|
@@ -19805,9 +19806,11 @@ module Aws::EC2
|
|
|
19805
19806
|
req.send_request(options)
|
|
19806
19807
|
end
|
|
19807
19808
|
|
|
19808
|
-
# Describes one or more flow logs.
|
|
19809
|
-
#
|
|
19810
|
-
#
|
|
19809
|
+
# Describes one or more flow logs.
|
|
19810
|
+
#
|
|
19811
|
+
# To view the published flow log records, you must view the log
|
|
19812
|
+
# destination. For example, the CloudWatch Logs log group, the Amazon S3
|
|
19813
|
+
# bucket, or the Kinesis Data Firehose delivery stream.
|
|
19811
19814
|
#
|
|
19812
19815
|
# @option params [Boolean] :dry_run
|
|
19813
19816
|
# Checks whether you have the required permissions for the action,
|
|
@@ -19821,9 +19824,8 @@ module Aws::EC2
|
|
|
19821
19824
|
# * `deliver-log-status` - The status of the logs delivery (`SUCCESS` \|
|
|
19822
19825
|
# `FAILED`).
|
|
19823
19826
|
#
|
|
19824
|
-
# * `log-destination-type` - The type of destination
|
|
19825
|
-
#
|
|
19826
|
-
# `cloud-watch-logs` and `s3`.
|
|
19827
|
+
# * `log-destination-type` - The type of destination for the flow log
|
|
19828
|
+
# data (`cloud-watch-logs` \| `s3` \| `kinesis-data-firehose`).
|
|
19827
19829
|
#
|
|
19828
19830
|
# * `flow-log-id` - The ID of the flow log.
|
|
19829
19831
|
#
|
|
@@ -19885,13 +19887,14 @@ module Aws::EC2
|
|
|
19885
19887
|
# resp.flow_logs[0].creation_time #=> Time
|
|
19886
19888
|
# resp.flow_logs[0].deliver_logs_error_message #=> String
|
|
19887
19889
|
# resp.flow_logs[0].deliver_logs_permission_arn #=> String
|
|
19890
|
+
# resp.flow_logs[0].deliver_cross_account_role #=> String
|
|
19888
19891
|
# resp.flow_logs[0].deliver_logs_status #=> String
|
|
19889
19892
|
# resp.flow_logs[0].flow_log_id #=> String
|
|
19890
19893
|
# resp.flow_logs[0].flow_log_status #=> String
|
|
19891
19894
|
# resp.flow_logs[0].log_group_name #=> String
|
|
19892
19895
|
# resp.flow_logs[0].resource_id #=> String
|
|
19893
19896
|
# resp.flow_logs[0].traffic_type #=> String, one of "ACCEPT", "REJECT", "ALL"
|
|
19894
|
-
# resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
|
|
19897
|
+
# resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3", "kinesis-data-firehose"
|
|
19895
19898
|
# resp.flow_logs[0].log_destination #=> String
|
|
19896
19899
|
# resp.flow_logs[0].log_format #=> String
|
|
19897
19900
|
# resp.flow_logs[0].tags #=> Array
|
|
@@ -31841,10 +31844,10 @@ module Aws::EC2
|
|
|
31841
31844
|
|
|
31842
31845
|
# Describes the ClassicLink status of one or more VPCs.
|
|
31843
31846
|
#
|
|
31844
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
31845
|
-
#
|
|
31846
|
-
#
|
|
31847
|
-
#
|
|
31847
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
31848
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
31849
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
31850
|
+
# Guide*.
|
|
31848
31851
|
#
|
|
31849
31852
|
# </note>
|
|
31850
31853
|
#
|
|
@@ -31913,10 +31916,10 @@ module Aws::EC2
|
|
|
31913
31916
|
req.send_request(options)
|
|
31914
31917
|
end
|
|
31915
31918
|
|
|
31916
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
31917
|
-
#
|
|
31918
|
-
#
|
|
31919
|
-
#
|
|
31919
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
31920
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
31921
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
31922
|
+
# Guide*.
|
|
31920
31923
|
#
|
|
31921
31924
|
# </note>
|
|
31922
31925
|
#
|
|
@@ -33096,10 +33099,10 @@ module Aws::EC2
|
|
|
33096
33099
|
req.send_request(options)
|
|
33097
33100
|
end
|
|
33098
33101
|
|
|
33099
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
33100
|
-
#
|
|
33101
|
-
#
|
|
33102
|
-
#
|
|
33102
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
33103
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
33104
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
33105
|
+
# Guide*.
|
|
33103
33106
|
#
|
|
33104
33107
|
# </note>
|
|
33105
33108
|
#
|
|
@@ -33788,10 +33791,10 @@ module Aws::EC2
|
|
|
33788
33791
|
# Disables ClassicLink for a VPC. You cannot disable ClassicLink for a
|
|
33789
33792
|
# VPC that has EC2-Classic instances linked to it.
|
|
33790
33793
|
#
|
|
33791
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
33792
|
-
#
|
|
33793
|
-
#
|
|
33794
|
-
#
|
|
33794
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
33795
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
33796
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
33797
|
+
# Guide*.
|
|
33795
33798
|
#
|
|
33796
33799
|
# </note>
|
|
33797
33800
|
#
|
|
@@ -33840,10 +33843,10 @@ module Aws::EC2
|
|
|
33840
33843
|
#
|
|
33841
33844
|
# You must specify a VPC ID in the request.
|
|
33842
33845
|
#
|
|
33843
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
33844
|
-
#
|
|
33845
|
-
#
|
|
33846
|
-
#
|
|
33846
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
33847
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
33848
|
+
# EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
|
|
33849
|
+
# Guide*.
|
|
33847
33850
|
#
|
|
33848
33851
|
# </note>
|
|
33849
33852
|
#
|
|
@@ -34989,10 +34992,10 @@ module Aws::EC2
|
|
|
34989
34992
|
req.send_request(options)
|
|
34990
34993
|
end
|
|
34991
34994
|
|
|
34992
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
34993
|
-
#
|
|
34994
|
-
#
|
|
34995
|
-
#
|
|
34995
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
34996
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
34997
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
34998
|
+
# Guide*.
|
|
34996
34999
|
#
|
|
34997
35000
|
# </note>
|
|
34998
35001
|
#
|
|
@@ -35043,10 +35046,10 @@ module Aws::EC2
|
|
|
35043
35046
|
req.send_request(options)
|
|
35044
35047
|
end
|
|
35045
35048
|
|
|
35046
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
35047
|
-
#
|
|
35048
|
-
#
|
|
35049
|
-
#
|
|
35049
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
35050
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
35051
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
35052
|
+
# Guide*.
|
|
35050
35053
|
#
|
|
35051
35054
|
# </note>
|
|
35052
35055
|
#
|
|
@@ -43379,10 +43382,10 @@ module Aws::EC2
|
|
|
43379
43382
|
req.send_request(options)
|
|
43380
43383
|
end
|
|
43381
43384
|
|
|
43382
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
43383
|
-
#
|
|
43384
|
-
#
|
|
43385
|
-
#
|
|
43385
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
43386
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
43387
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
43388
|
+
# Guide*.
|
|
43386
43389
|
#
|
|
43387
43390
|
# </note>
|
|
43388
43391
|
#
|
|
@@ -50814,7 +50817,7 @@ module Aws::EC2
|
|
|
50814
50817
|
params: params,
|
|
50815
50818
|
config: config)
|
|
50816
50819
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
50817
|
-
context[:gem_version] = '1.
|
|
50820
|
+
context[:gem_version] = '1.331.0'
|
|
50818
50821
|
Seahorse::Client::Request.new(handlers, context)
|
|
50819
50822
|
end
|
|
50820
50823
|
|
|
@@ -4039,6 +4039,7 @@ module Aws::EC2
|
|
|
4039
4039
|
CreateFlowLogsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
4040
4040
|
CreateFlowLogsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
|
4041
4041
|
CreateFlowLogsRequest.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "DeliverLogsPermissionArn"))
|
|
4042
|
+
CreateFlowLogsRequest.add_member(:deliver_cross_account_role, Shapes::ShapeRef.new(shape: String, location_name: "DeliverCrossAccountRole"))
|
|
4042
4043
|
CreateFlowLogsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: String, location_name: "LogGroupName"))
|
|
4043
4044
|
CreateFlowLogsRequest.add_member(:resource_ids, Shapes::ShapeRef.new(shape: FlowLogResourceIds, required: true, location_name: "ResourceId"))
|
|
4044
4045
|
CreateFlowLogsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: FlowLogsResourceType, required: true, location_name: "ResourceType"))
|
|
@@ -7597,6 +7598,7 @@ module Aws::EC2
|
|
|
7597
7598
|
FlowLog.add_member(:creation_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "creationTime"))
|
|
7598
7599
|
FlowLog.add_member(:deliver_logs_error_message, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsErrorMessage"))
|
|
7599
7600
|
FlowLog.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsPermissionArn"))
|
|
7601
|
+
FlowLog.add_member(:deliver_cross_account_role, Shapes::ShapeRef.new(shape: String, location_name: "deliverCrossAccountRole"))
|
|
7600
7602
|
FlowLog.add_member(:deliver_logs_status, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsStatus"))
|
|
7601
7603
|
FlowLog.add_member(:flow_log_id, Shapes::ShapeRef.new(shape: String, location_name: "flowLogId"))
|
|
7602
7604
|
FlowLog.add_member(:flow_log_status, Shapes::ShapeRef.new(shape: String, location_name: "flowLogStatus"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -5087,10 +5087,10 @@ module Aws::EC2
|
|
|
5087
5087
|
include Aws::Structure
|
|
5088
5088
|
end
|
|
5089
5089
|
|
|
5090
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
5091
|
-
#
|
|
5092
|
-
#
|
|
5093
|
-
#
|
|
5090
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
5091
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
5092
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
5093
|
+
# Guide*.
|
|
5094
5094
|
#
|
|
5095
5095
|
# </note>
|
|
5096
5096
|
#
|
|
@@ -8125,11 +8125,12 @@ module Aws::EC2
|
|
|
8125
8125
|
# dry_run: false,
|
|
8126
8126
|
# client_token: "String",
|
|
8127
8127
|
# deliver_logs_permission_arn: "String",
|
|
8128
|
+
# deliver_cross_account_role: "String",
|
|
8128
8129
|
# log_group_name: "String",
|
|
8129
8130
|
# resource_ids: ["FlowLogResourceId"], # required
|
|
8130
8131
|
# resource_type: "VPC", # required, accepts VPC, Subnet, NetworkInterface, TransitGateway, TransitGatewayAttachment
|
|
8131
8132
|
# traffic_type: "ACCEPT", # accepts ACCEPT, REJECT, ALL
|
|
8132
|
-
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
|
|
8133
|
+
# log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3, kinesis-data-firehose
|
|
8133
8134
|
# log_destination: "String",
|
|
8134
8135
|
# log_format: "String",
|
|
8135
8136
|
# tag_specifications: [
|
|
@@ -8169,79 +8170,79 @@ module Aws::EC2
|
|
|
8169
8170
|
# @return [String]
|
|
8170
8171
|
#
|
|
8171
8172
|
# @!attribute [rw] deliver_logs_permission_arn
|
|
8172
|
-
# The ARN
|
|
8173
|
-
#
|
|
8173
|
+
# The ARN of the IAM role that allows Amazon EC2 to publish flow logs
|
|
8174
|
+
# to a CloudWatch Logs log group in your account.
|
|
8174
8175
|
#
|
|
8175
|
-
#
|
|
8176
|
-
# `
|
|
8176
|
+
# This parameter is required if the destination type is
|
|
8177
|
+
# `cloud-watch-logs` and unsupported otherwise.
|
|
8178
|
+
# @return [String]
|
|
8179
|
+
#
|
|
8180
|
+
# @!attribute [rw] deliver_cross_account_role
|
|
8181
|
+
# The ARN of the IAM role that allows Amazon EC2 to publish flow logs
|
|
8182
|
+
# across accounts.
|
|
8177
8183
|
# @return [String]
|
|
8178
8184
|
#
|
|
8179
8185
|
# @!attribute [rw] log_group_name
|
|
8180
8186
|
# The name of a new or existing CloudWatch Logs log group where Amazon
|
|
8181
8187
|
# EC2 publishes your flow logs.
|
|
8182
8188
|
#
|
|
8183
|
-
#
|
|
8184
|
-
# `
|
|
8189
|
+
# This parameter is valid only if the destination type is
|
|
8190
|
+
# `cloud-watch-logs`.
|
|
8185
8191
|
# @return [String]
|
|
8186
8192
|
#
|
|
8187
8193
|
# @!attribute [rw] resource_ids
|
|
8188
|
-
# The
|
|
8189
|
-
#
|
|
8194
|
+
# The IDs of the resources to monitor. For example, if the resource
|
|
8195
|
+
# type is `VPC`, specify the IDs of the VPCs.
|
|
8190
8196
|
#
|
|
8191
8197
|
# Constraints: Maximum of 1000 resources
|
|
8192
8198
|
# @return [Array<String>]
|
|
8193
8199
|
#
|
|
8194
8200
|
# @!attribute [rw] resource_type
|
|
8195
|
-
# The type of resource
|
|
8196
|
-
# if you specified a VPC ID for the `ResourceId` property, specify
|
|
8197
|
-
# `VPC` for this property.
|
|
8201
|
+
# The type of resource to monitor.
|
|
8198
8202
|
# @return [String]
|
|
8199
8203
|
#
|
|
8200
8204
|
# @!attribute [rw] traffic_type
|
|
8201
|
-
# The type of traffic to
|
|
8202
|
-
#
|
|
8205
|
+
# The type of traffic to monitor (accepted traffic, rejected traffic,
|
|
8206
|
+
# or all traffic).
|
|
8203
8207
|
# @return [String]
|
|
8204
8208
|
#
|
|
8205
8209
|
# @!attribute [rw] log_destination_type
|
|
8206
|
-
# The type of destination
|
|
8207
|
-
# published. Flow log data can be published to CloudWatch Logs or
|
|
8208
|
-
# Amazon S3. To publish flow log data to CloudWatch Logs, specify
|
|
8209
|
-
# `cloud-watch-logs`. To publish flow log data to Amazon S3, specify
|
|
8210
|
-
# `s3`.
|
|
8211
|
-
#
|
|
8212
|
-
# If you specify `LogDestinationType` as `s3`, do not specify
|
|
8213
|
-
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
|
8210
|
+
# The type of destination for the flow log data.
|
|
8214
8211
|
#
|
|
8215
8212
|
# Default: `cloud-watch-logs`
|
|
8216
8213
|
# @return [String]
|
|
8217
8214
|
#
|
|
8218
8215
|
# @!attribute [rw] log_destination
|
|
8219
|
-
# The destination
|
|
8220
|
-
#
|
|
8221
|
-
#
|
|
8222
|
-
# the
|
|
8223
|
-
#
|
|
8224
|
-
#
|
|
8225
|
-
#
|
|
8226
|
-
#
|
|
8227
|
-
#
|
|
8228
|
-
#
|
|
8229
|
-
#
|
|
8230
|
-
#
|
|
8231
|
-
#
|
|
8232
|
-
#
|
|
8233
|
-
#
|
|
8234
|
-
#
|
|
8235
|
-
#
|
|
8236
|
-
#
|
|
8216
|
+
# The destination for the flow log data. The meaning of this parameter
|
|
8217
|
+
# depends on the destination type.
|
|
8218
|
+
#
|
|
8219
|
+
# * If the destination type is `cloud-watch-logs`, specify the ARN of
|
|
8220
|
+
# a CloudWatch Logs log group. For example:
|
|
8221
|
+
#
|
|
8222
|
+
# arn:aws:logs:*region*\:*account\_id*\:log-group:*my\_group*
|
|
8223
|
+
#
|
|
8224
|
+
# Alternatively, use the `LogGroupName` parameter.
|
|
8225
|
+
#
|
|
8226
|
+
# * If the destination type is `s3`, specify the ARN of an S3 bucket.
|
|
8227
|
+
# For example:
|
|
8228
|
+
#
|
|
8229
|
+
# arn:aws:s3:::*my\_bucket*/*my\_subfolder*/
|
|
8230
|
+
#
|
|
8231
|
+
# The subfolder is optional. Note that you can't use `AWSLogs` as a
|
|
8232
|
+
# subfolder name.
|
|
8233
|
+
#
|
|
8234
|
+
# * If the destination type is `kinesis-data-firehose`, specify the
|
|
8235
|
+
# ARN of a Kinesis Data Firehose delivery stream. For example:
|
|
8236
|
+
#
|
|
8237
|
+
# arn:aws:firehose:*region*\:*account\_id*\:deliverystream:*my\_stream*
|
|
8237
8238
|
# @return [String]
|
|
8238
8239
|
#
|
|
8239
8240
|
# @!attribute [rw] log_format
|
|
8240
|
-
# The fields to include in the flow log record
|
|
8241
|
-
# they should appear. For
|
|
8242
|
-
# records][1]. If you omit this
|
|
8243
|
-
# using the default format. If you
|
|
8244
|
-
# specify at least one field.
|
|
8241
|
+
# The fields to include in the flow log record. List the fields in the
|
|
8242
|
+
# order in which they should appear. For more information about the
|
|
8243
|
+
# available fields, see [Flow log records][1]. If you omit this
|
|
8244
|
+
# parameter, the flow log is created using the default format. If you
|
|
8245
|
+
# specify this parameter, you must include at least one field.
|
|
8245
8246
|
#
|
|
8246
8247
|
# Specify the fields using the `$\{field-id\}` format, separated by
|
|
8247
8248
|
# spaces. For the CLI, surround this parameter value with single
|
|
@@ -8282,6 +8283,7 @@ module Aws::EC2
|
|
|
8282
8283
|
:dry_run,
|
|
8283
8284
|
:client_token,
|
|
8284
8285
|
:deliver_logs_permission_arn,
|
|
8286
|
+
:deliver_cross_account_role,
|
|
8285
8287
|
:log_group_name,
|
|
8286
8288
|
:resource_ids,
|
|
8287
8289
|
:resource_type,
|
|
@@ -20125,9 +20127,8 @@ module Aws::EC2
|
|
|
20125
20127
|
# * `deliver-log-status` - The status of the logs delivery (`SUCCESS`
|
|
20126
20128
|
# \| `FAILED`).
|
|
20127
20129
|
#
|
|
20128
|
-
# * `log-destination-type` - The type of destination
|
|
20129
|
-
#
|
|
20130
|
-
# `cloud-watch-logs` and `s3`.
|
|
20130
|
+
# * `log-destination-type` - The type of destination for the flow log
|
|
20131
|
+
# data (`cloud-watch-logs` \| `s3` \| `kinesis-data-firehose`).
|
|
20131
20132
|
#
|
|
20132
20133
|
# * `flow-log-id` - The ID of the flow log.
|
|
20133
20134
|
#
|
|
@@ -35085,7 +35086,13 @@ module Aws::EC2
|
|
|
35085
35086
|
# @return [String]
|
|
35086
35087
|
#
|
|
35087
35088
|
# @!attribute [rw] deliver_logs_permission_arn
|
|
35088
|
-
# The ARN of the IAM role
|
|
35089
|
+
# The ARN of the IAM role allows the service to publish logs to
|
|
35090
|
+
# CloudWatch Logs.
|
|
35091
|
+
# @return [String]
|
|
35092
|
+
#
|
|
35093
|
+
# @!attribute [rw] deliver_cross_account_role
|
|
35094
|
+
# The ARN of the IAM role that allows the service to publish flow logs
|
|
35095
|
+
# across accounts.
|
|
35089
35096
|
# @return [String]
|
|
35090
35097
|
#
|
|
35091
35098
|
# @!attribute [rw] deliver_logs_status
|
|
@@ -35093,7 +35100,7 @@ module Aws::EC2
|
|
|
35093
35100
|
# @return [String]
|
|
35094
35101
|
#
|
|
35095
35102
|
# @!attribute [rw] flow_log_id
|
|
35096
|
-
# The flow log
|
|
35103
|
+
# The ID of the flow log.
|
|
35097
35104
|
# @return [String]
|
|
35098
35105
|
#
|
|
35099
35106
|
# @!attribute [rw] flow_log_status
|
|
@@ -35105,7 +35112,7 @@ module Aws::EC2
|
|
|
35105
35112
|
# @return [String]
|
|
35106
35113
|
#
|
|
35107
35114
|
# @!attribute [rw] resource_id
|
|
35108
|
-
# The ID of the resource
|
|
35115
|
+
# The ID of the resource being monitored.
|
|
35109
35116
|
# @return [String]
|
|
35110
35117
|
#
|
|
35111
35118
|
# @!attribute [rw] traffic_type
|
|
@@ -35113,18 +35120,12 @@ module Aws::EC2
|
|
|
35113
35120
|
# @return [String]
|
|
35114
35121
|
#
|
|
35115
35122
|
# @!attribute [rw] log_destination_type
|
|
35116
|
-
# The type of destination
|
|
35117
|
-
# Flow log data can be published to CloudWatch Logs or Amazon S3.
|
|
35123
|
+
# The type of destination for the flow log data.
|
|
35118
35124
|
# @return [String]
|
|
35119
35125
|
#
|
|
35120
35126
|
# @!attribute [rw] log_destination
|
|
35121
|
-
# The
|
|
35122
|
-
# data
|
|
35123
|
-
# S3 bucket. If the flow log publishes to CloudWatch Logs, this
|
|
35124
|
-
# element indicates the Amazon Resource Name (ARN) of the CloudWatch
|
|
35125
|
-
# Logs log group to which the data is published. If the flow log
|
|
35126
|
-
# publishes to Amazon S3, this element indicates the ARN of the Amazon
|
|
35127
|
-
# S3 bucket to which the data is published.
|
|
35127
|
+
# The Amazon Resource Name (ARN) of the destination for the flow log
|
|
35128
|
+
# data.
|
|
35128
35129
|
# @return [String]
|
|
35129
35130
|
#
|
|
35130
35131
|
# @!attribute [rw] log_format
|
|
@@ -35160,6 +35161,7 @@ module Aws::EC2
|
|
|
35160
35161
|
:creation_time,
|
|
35161
35162
|
:deliver_logs_error_message,
|
|
35162
35163
|
:deliver_logs_permission_arn,
|
|
35164
|
+
:deliver_cross_account_role,
|
|
35163
35165
|
:deliver_logs_status,
|
|
35164
35166
|
:flow_log_id,
|
|
35165
35167
|
:flow_log_status,
|
|
@@ -53941,10 +53943,10 @@ module Aws::EC2
|
|
|
53941
53943
|
include Aws::Structure
|
|
53942
53944
|
end
|
|
53943
53945
|
|
|
53944
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
53945
|
-
#
|
|
53946
|
-
#
|
|
53947
|
-
#
|
|
53946
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
53947
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
53948
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
53949
|
+
# Guide*.
|
|
53948
53950
|
#
|
|
53949
53951
|
# </note>
|
|
53950
53952
|
#
|
|
@@ -53982,10 +53984,10 @@ module Aws::EC2
|
|
|
53982
53984
|
include Aws::Structure
|
|
53983
53985
|
end
|
|
53984
53986
|
|
|
53985
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
53986
|
-
#
|
|
53987
|
-
#
|
|
53988
|
-
#
|
|
53987
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
53988
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
53989
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
53990
|
+
# Guide*.
|
|
53989
53991
|
#
|
|
53990
53992
|
# </note>
|
|
53991
53993
|
#
|
|
@@ -69988,10 +69990,10 @@ module Aws::EC2
|
|
|
69988
69990
|
include Aws::Structure
|
|
69989
69991
|
end
|
|
69990
69992
|
|
|
69991
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
69992
|
-
#
|
|
69993
|
-
#
|
|
69994
|
-
#
|
|
69993
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
69994
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
69995
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
69996
|
+
# Guide*.
|
|
69995
69997
|
#
|
|
69996
69998
|
# </note>
|
|
69997
69999
|
#
|
|
@@ -70266,10 +70268,10 @@ module Aws::EC2
|
|
|
70266
70268
|
include Aws::Structure
|
|
70267
70269
|
end
|
|
70268
70270
|
|
|
70269
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
|
70270
|
-
#
|
|
70271
|
-
#
|
|
70272
|
-
#
|
|
70271
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
|
70272
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
|
70273
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
|
70274
|
+
# Guide*.
|
|
70273
70275
|
#
|
|
70274
70276
|
# </note>
|
|
70275
70277
|
#
|
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.331.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: 2022-09-
|
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|