aws-sdk-ec2 1.48.0 → 1.49.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 +19 -3
- data/lib/aws-sdk-ec2/client_api.rb +3 -0
- data/lib/aws-sdk-ec2/instance.rb +4 -1
- data/lib/aws-sdk-ec2/resource.rb +8 -0
- data/lib/aws-sdk-ec2/types.rb +38 -7
- data/lib/aws-sdk-ec2/vpc.rb +8 -0
- 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: 3057daa1c54da9bb54b6c68545b7bbe9dde702e6
|
4
|
+
data.tar.gz: cbae8d2bcb7d9f9c3623ae61fd7e9fbad140f432
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0125a47b15361285753eb41e0e170c473380b999f49eedb468d88c9f119a25fe40fe28a0a0e91d114f33df2046ccb1b82ecb407f3db45b14b0c3d46b5b996390
|
7
|
+
data.tar.gz: db1743649c94efc4474cd24faaefb5c8bb3508366d92632723fddd680d49b566834eb9f043a1e3c21ad27be5c321dff40dd37f23c9d9aaf3da90ce95a03726fa
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3357,7 +3357,8 @@ module Aws::EC2
|
|
3357
3357
|
# subfolder in the bucket, use the following ARN format:
|
3358
3358
|
# `bucket_ARN/subfolder_name/`. For example, to specify a subfolder
|
3359
3359
|
# named `my-logs` in a bucket named `my-bucket`, use the following ARN:
|
3360
|
-
# `arn:aws:s3:::my-bucket/my-logs/`.
|
3360
|
+
# `arn:aws:s3:::my-bucket/my-logs/`. You cannot use `AWSLogs` as a
|
3361
|
+
# subfolder name. This is a reserved term.
|
3361
3362
|
#
|
3362
3363
|
# @return [Types::CreateFlowLogsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3363
3364
|
#
|
@@ -3494,7 +3495,10 @@ module Aws::EC2
|
|
3494
3495
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html
|
3495
3496
|
#
|
3496
3497
|
# @option params [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
3497
|
-
# Information about one or more block device mappings.
|
3498
|
+
# Information about one or more block device mappings. This parameter
|
3499
|
+
# cannot be used to modify the encryption status of existing volumes or
|
3500
|
+
# snapshots. To create an AMI with encrypted snapshots, use the
|
3501
|
+
# CopyImage action.
|
3498
3502
|
#
|
3499
3503
|
# @option params [String] :description
|
3500
3504
|
# A description for the new image.
|
@@ -14102,9 +14106,18 @@ module Aws::EC2
|
|
14102
14106
|
#
|
14103
14107
|
# Default: Describes all your route tables.
|
14104
14108
|
#
|
14109
|
+
# @option params [String] :next_token
|
14110
|
+
# The token to retrieve the next page of results.
|
14111
|
+
#
|
14112
|
+
# @option params [Integer] :max_results
|
14113
|
+
# The maximum number of results to return in a single call. To retrieve
|
14114
|
+
# the remaining results, make another call with the returned
|
14115
|
+
# **NextToken** value. This value can be between 5 and 100.
|
14116
|
+
#
|
14105
14117
|
# @return [Types::DescribeRouteTablesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
14106
14118
|
#
|
14107
14119
|
# * {Types::DescribeRouteTablesResult#route_tables #route_tables} => Array<Types::RouteTable>
|
14120
|
+
# * {Types::DescribeRouteTablesResult#next_token #next_token} => String
|
14108
14121
|
#
|
14109
14122
|
#
|
14110
14123
|
# @example Example: To describe a route table
|
@@ -14156,6 +14169,8 @@ module Aws::EC2
|
|
14156
14169
|
# ],
|
14157
14170
|
# dry_run: false,
|
14158
14171
|
# route_table_ids: ["String"],
|
14172
|
+
# next_token: "String",
|
14173
|
+
# max_results: 1,
|
14159
14174
|
# })
|
14160
14175
|
#
|
14161
14176
|
# @example Response structure
|
@@ -14186,6 +14201,7 @@ module Aws::EC2
|
|
14186
14201
|
# resp.route_tables[0].tags[0].key #=> String
|
14187
14202
|
# resp.route_tables[0].tags[0].value #=> String
|
14188
14203
|
# resp.route_tables[0].vpc_id #=> String
|
14204
|
+
# resp.next_token #=> String
|
14189
14205
|
#
|
14190
14206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTables AWS API Documentation
|
14191
14207
|
#
|
@@ -25757,7 +25773,7 @@ module Aws::EC2
|
|
25757
25773
|
params: params,
|
25758
25774
|
config: config)
|
25759
25775
|
context[:gem_name] = 'aws-sdk-ec2'
|
25760
|
-
context[:gem_version] = '1.
|
25776
|
+
context[:gem_version] = '1.49.0'
|
25761
25777
|
Seahorse::Client::Request.new(handlers, context)
|
25762
25778
|
end
|
25763
25779
|
|
@@ -2743,9 +2743,12 @@ module Aws::EC2
|
|
2743
2743
|
DescribeRouteTablesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
2744
2744
|
DescribeRouteTablesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2745
2745
|
DescribeRouteTablesRequest.add_member(:route_table_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RouteTableId"))
|
2746
|
+
DescribeRouteTablesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
2747
|
+
DescribeRouteTablesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
2746
2748
|
DescribeRouteTablesRequest.struct_class = Types::DescribeRouteTablesRequest
|
2747
2749
|
|
2748
2750
|
DescribeRouteTablesResult.add_member(:route_tables, Shapes::ShapeRef.new(shape: RouteTableList, location_name: "routeTableSet"))
|
2751
|
+
DescribeRouteTablesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
2749
2752
|
DescribeRouteTablesResult.struct_class = Types::DescribeRouteTablesResult
|
2750
2753
|
|
2751
2754
|
DescribeScheduledInstanceAvailabilityRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -606,7 +606,10 @@ module Aws::EC2
|
|
606
606
|
# })
|
607
607
|
# @param [Hash] options ({})
|
608
608
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
609
|
-
# Information about one or more block device mappings.
|
609
|
+
# Information about one or more block device mappings. This parameter
|
610
|
+
# cannot be used to modify the encryption status of existing volumes or
|
611
|
+
# snapshots. To create an AMI with encrypted snapshots, use the
|
612
|
+
# CopyImage action.
|
610
613
|
# @option options [String] :description
|
611
614
|
# A description for the new image.
|
612
615
|
# @option options [Boolean] :dry_run
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -2159,6 +2159,8 @@ module Aws::EC2
|
|
2159
2159
|
# ],
|
2160
2160
|
# dry_run: false,
|
2161
2161
|
# route_table_ids: ["String"],
|
2162
|
+
# next_token: "String",
|
2163
|
+
# max_results: 1,
|
2162
2164
|
# })
|
2163
2165
|
# @param [Hash] options ({})
|
2164
2166
|
# @option options [Array<Types::Filter>] :filters
|
@@ -2235,6 +2237,12 @@ module Aws::EC2
|
|
2235
2237
|
# One or more route table IDs.
|
2236
2238
|
#
|
2237
2239
|
# Default: Describes all your route tables.
|
2240
|
+
# @option options [String] :next_token
|
2241
|
+
# The token to retrieve the next page of results.
|
2242
|
+
# @option options [Integer] :max_results
|
2243
|
+
# The maximum number of results to return in a single call. To retrieve
|
2244
|
+
# the remaining results, make another call with the returned
|
2245
|
+
# **NextToken** value. This value can be between 5 and 100.
|
2238
2246
|
# @return [RouteTable::Collection]
|
2239
2247
|
def route_tables(options = {})
|
2240
2248
|
batches = Enumerator.new do |y|
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -3137,7 +3137,8 @@ module Aws::EC2
|
|
3137
3137
|
# subfolder in the bucket, use the following ARN format:
|
3138
3138
|
# `bucket_ARN/subfolder_name/`. For example, to specify a subfolder
|
3139
3139
|
# named `my-logs` in a bucket named `my-bucket`, use the following
|
3140
|
-
# ARN: `arn:aws:s3:::my-bucket/my-logs/`.
|
3140
|
+
# ARN: `arn:aws:s3:::my-bucket/my-logs/`. You cannot use `AWSLogs` as
|
3141
|
+
# a subfolder name. This is a reserved term.
|
3141
3142
|
# @return [String]
|
3142
3143
|
#
|
3143
3144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest AWS API Documentation
|
@@ -3288,7 +3289,10 @@ module Aws::EC2
|
|
3288
3289
|
# }
|
3289
3290
|
#
|
3290
3291
|
# @!attribute [rw] block_device_mappings
|
3291
|
-
# Information about one or more block device mappings.
|
3292
|
+
# Information about one or more block device mappings. This parameter
|
3293
|
+
# cannot be used to modify the encryption status of existing volumes
|
3294
|
+
# or snapshots. To create an AMI with encrypted snapshots, use the
|
3295
|
+
# CopyImage action.
|
3292
3296
|
# @return [Array<Types::BlockDeviceMapping>]
|
3293
3297
|
#
|
3294
3298
|
# @!attribute [rw] description
|
@@ -11053,6 +11057,8 @@ module Aws::EC2
|
|
11053
11057
|
# ],
|
11054
11058
|
# dry_run: false,
|
11055
11059
|
# route_table_ids: ["String"],
|
11060
|
+
# next_token: "String",
|
11061
|
+
# max_results: 1,
|
11056
11062
|
# }
|
11057
11063
|
#
|
11058
11064
|
# @!attribute [rw] filters
|
@@ -11135,23 +11141,43 @@ module Aws::EC2
|
|
11135
11141
|
# Default: Describes all your route tables.
|
11136
11142
|
# @return [Array<String>]
|
11137
11143
|
#
|
11144
|
+
# @!attribute [rw] next_token
|
11145
|
+
# The token to retrieve the next page of results.
|
11146
|
+
# @return [String]
|
11147
|
+
#
|
11148
|
+
# @!attribute [rw] max_results
|
11149
|
+
# The maximum number of results to return in a single call. To
|
11150
|
+
# retrieve the remaining results, make another call with the returned
|
11151
|
+
# **NextToken** value. This value can be between 5 and 100.
|
11152
|
+
# @return [Integer]
|
11153
|
+
#
|
11138
11154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTablesRequest AWS API Documentation
|
11139
11155
|
#
|
11140
11156
|
class DescribeRouteTablesRequest < Struct.new(
|
11141
11157
|
:filters,
|
11142
11158
|
:dry_run,
|
11143
|
-
:route_table_ids
|
11159
|
+
:route_table_ids,
|
11160
|
+
:next_token,
|
11161
|
+
:max_results)
|
11144
11162
|
include Aws::Structure
|
11145
11163
|
end
|
11146
11164
|
|
11165
|
+
# Contains the output of DescribeRouteTables.
|
11166
|
+
#
|
11147
11167
|
# @!attribute [rw] route_tables
|
11148
11168
|
# Information about one or more route tables.
|
11149
11169
|
# @return [Array<Types::RouteTable>]
|
11150
11170
|
#
|
11171
|
+
# @!attribute [rw] next_token
|
11172
|
+
# The token to use to retrieve the next page of results. This value is
|
11173
|
+
# `null` when there are no more results to return.
|
11174
|
+
# @return [String]
|
11175
|
+
#
|
11151
11176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTablesResult AWS API Documentation
|
11152
11177
|
#
|
11153
11178
|
class DescribeRouteTablesResult < Struct.new(
|
11154
|
-
:route_tables
|
11179
|
+
:route_tables,
|
11180
|
+
:next_token)
|
11155
11181
|
include Aws::Structure
|
11156
11182
|
end
|
11157
11183
|
|
@@ -14677,10 +14703,15 @@ module Aws::EC2
|
|
14677
14703
|
#
|
14678
14704
|
# @!attribute [rw] encrypted
|
14679
14705
|
# Indicates whether the EBS volume is encrypted. Encrypted volumes can
|
14680
|
-
# only be attached to instances that support Amazon EBS encryption.
|
14681
|
-
#
|
14706
|
+
# only be attached to instances that support Amazon EBS encryption.
|
14707
|
+
#
|
14708
|
+
# If you are creating a volume from a snapshot, you cannot specify an
|
14682
14709
|
# encryption value. This is because only blank volumes can be
|
14683
|
-
# encrypted on creation.
|
14710
|
+
# encrypted on creation. If you are creating a snapshot from an
|
14711
|
+
# existing EBS volume, you cannot specify an encryption value that
|
14712
|
+
# differs from that of the EBS volume. We recommend that you omit the
|
14713
|
+
# encryption value from the block device mappings when creating an
|
14714
|
+
# image from an instance.
|
14684
14715
|
# @return [Boolean]
|
14685
14716
|
#
|
14686
14717
|
# @!attribute [rw] kms_key_id
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1485,6 +1485,8 @@ module Aws::EC2
|
|
1485
1485
|
# ],
|
1486
1486
|
# dry_run: false,
|
1487
1487
|
# route_table_ids: ["String"],
|
1488
|
+
# next_token: "String",
|
1489
|
+
# max_results: 1,
|
1488
1490
|
# })
|
1489
1491
|
# @param [Hash] options ({})
|
1490
1492
|
# @option options [Array<Types::Filter>] :filters
|
@@ -1561,6 +1563,12 @@ module Aws::EC2
|
|
1561
1563
|
# One or more route table IDs.
|
1562
1564
|
#
|
1563
1565
|
# Default: Describes all your route tables.
|
1566
|
+
# @option options [String] :next_token
|
1567
|
+
# The token to retrieve the next page of results.
|
1568
|
+
# @option options [Integer] :max_results
|
1569
|
+
# The maximum number of results to return in a single call. To retrieve
|
1570
|
+
# the remaining results, make another call with the returned
|
1571
|
+
# **NextToken** value. This value can be between 5 and 100.
|
1564
1572
|
# @return [RouteTable::Collection]
|
1565
1573
|
def route_tables(options = {})
|
1566
1574
|
batches = Enumerator.new do |y|
|
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.49.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: 2018-09-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|