aws-sdk-ec2 1.349.0 → 1.351.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +50 -25
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-ec2/endpoint_provider.rb +81 -81
- data/lib/aws-sdk-ec2/image.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +6 -2
- data/lib/aws-sdk-ec2/types.rb +121 -146
- 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: 4de16cb9359029ca8b6daed0d78b291dd030adcee873764085560b20db4039d0
|
4
|
+
data.tar.gz: c83d067a8d338a3ee1e2718a0fb23a2e485916a81ee9709d4da8174f4f313fa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 891f9477ac83a2e8c2ee5dc4342e7af752dc9344836917253955cd8439bb664999321b215a28a046dad197bc2a2e03d87d479d209ceb6c3ee8a2a176e52c0af4
|
7
|
+
data.tar.gz: d5f4770eef28287b6b106d0a23b8169281ea4e84ecf9850e95d6b3705b5ae2b544983964452c222421a1e70ae4bdc992d942b80108f93edb3a5f6634e227e83f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.351.0 (2022-11-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for copying an Amazon Machine Image's tags when copying an AMI.
|
8
|
+
|
9
|
+
1.350.0 (2022-11-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds a new optional parameter "privateIpAddress" for the CreateNatGateway API. PrivateIPAddress will allow customers to select a custom Private IPv4 address instead of having it be auto-assigned.
|
13
|
+
|
4
14
|
1.349.0 (2022-11-10)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.351.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3639,9 +3639,9 @@ module Aws::EC2
|
|
3639
3639
|
end
|
3640
3640
|
|
3641
3641
|
# Removes your Amazon Web Services account from the launch permissions
|
3642
|
-
# for the specified AMI. For more information, see [Cancel
|
3643
|
-
#
|
3644
|
-
# Compute Cloud User Guide*.
|
3642
|
+
# for the specified AMI. For more information, see [Cancel having an AMI
|
3643
|
+
# shared with your Amazon Web Services account][1] in the *Amazon
|
3644
|
+
# Elastic Compute Cloud User Guide*.
|
3645
3645
|
#
|
3646
3646
|
#
|
3647
3647
|
#
|
@@ -4079,8 +4079,8 @@ module Aws::EC2
|
|
4079
4079
|
# Outposts][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
4080
4080
|
#
|
4081
4081
|
# For more information about the prerequisites and limits when copying
|
4082
|
-
# an AMI, see [
|
4083
|
-
#
|
4082
|
+
# an AMI, see [Copy an AMI][3] in the *Amazon Elastic Compute Cloud User
|
4083
|
+
# Guide*.
|
4084
4084
|
#
|
4085
4085
|
#
|
4086
4086
|
#
|
@@ -4106,7 +4106,7 @@ module Aws::EC2
|
|
4106
4106
|
# you cannot create an unencrypted copy of an encrypted snapshot. The
|
4107
4107
|
# default KMS key for Amazon EBS is used unless you specify a
|
4108
4108
|
# non-default Key Management Service (KMS) KMS key using `KmsKeyId`. For
|
4109
|
-
# more information, see [Amazon EBS
|
4109
|
+
# more information, see [Amazon EBS encryption][1] in the *Amazon
|
4110
4110
|
# Elastic Compute Cloud User Guide*.
|
4111
4111
|
#
|
4112
4112
|
#
|
@@ -4156,7 +4156,7 @@ module Aws::EC2
|
|
4156
4156
|
# the destination Outpost. You cannot copy an AMI from an Outpost to a
|
4157
4157
|
# Region, from one Outpost to another, or within the same Outpost.
|
4158
4158
|
#
|
4159
|
-
# For more information, see [
|
4159
|
+
# For more information, see [ Copy AMIs from an Amazon Web Services
|
4160
4160
|
# Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
4161
4161
|
# Guide*.
|
4162
4162
|
#
|
@@ -4170,6 +4170,19 @@ module Aws::EC2
|
|
4170
4170
|
# If you have the required permissions, the error response is
|
4171
4171
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4172
4172
|
#
|
4173
|
+
# @option params [Boolean] :copy_image_tags
|
4174
|
+
# Indicates whether to include your user-defined AMI tags when copying
|
4175
|
+
# the AMI.
|
4176
|
+
#
|
4177
|
+
# The following tags will not be copied:
|
4178
|
+
#
|
4179
|
+
# * System tags (prefixed with `aws:`)
|
4180
|
+
#
|
4181
|
+
# * For public and shared AMIs, user-defined tags that are attached by
|
4182
|
+
# other Amazon Web Services accounts
|
4183
|
+
#
|
4184
|
+
# Default: Your user-defined AMI tags are not copied.
|
4185
|
+
#
|
4173
4186
|
# @return [Types::CopyImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4174
4187
|
#
|
4175
4188
|
# * {Types::CopyImageResult#image_id #image_id} => String
|
@@ -4203,6 +4216,7 @@ module Aws::EC2
|
|
4203
4216
|
# source_region: "String", # required
|
4204
4217
|
# destination_outpost_arn: "String",
|
4205
4218
|
# dry_run: false,
|
4219
|
+
# copy_image_tags: false,
|
4206
4220
|
# })
|
4207
4221
|
#
|
4208
4222
|
# @example Response structure
|
@@ -6246,14 +6260,16 @@ module Aws::EC2
|
|
6246
6260
|
# The IDs of the resources to monitor. For example, if the resource type
|
6247
6261
|
# is `VPC`, specify the IDs of the VPCs.
|
6248
6262
|
#
|
6249
|
-
# Constraints: Maximum of
|
6263
|
+
# Constraints: Maximum of 25 for transit gateway resource types. Maximum
|
6264
|
+
# of 1000 for the other resource types.
|
6250
6265
|
#
|
6251
6266
|
# @option params [required, String] :resource_type
|
6252
6267
|
# The type of resource to monitor.
|
6253
6268
|
#
|
6254
6269
|
# @option params [String] :traffic_type
|
6255
6270
|
# The type of traffic to monitor (accepted traffic, rejected traffic, or
|
6256
|
-
# all traffic).
|
6271
|
+
# all traffic). This parameter is not supported for transit gateway
|
6272
|
+
# resource types. It is required for the other resource types.
|
6257
6273
|
#
|
6258
6274
|
# @option params [String] :log_destination_type
|
6259
6275
|
# The type of destination for the flow log data.
|
@@ -6286,10 +6302,12 @@ module Aws::EC2
|
|
6286
6302
|
#
|
6287
6303
|
# @option params [String] :log_format
|
6288
6304
|
# The fields to include in the flow log record. List the fields in the
|
6289
|
-
# order in which they should appear.
|
6290
|
-
#
|
6291
|
-
# parameter,
|
6292
|
-
#
|
6305
|
+
# order in which they should appear. If you omit this parameter, the
|
6306
|
+
# flow log is created using the default format. If you specify this
|
6307
|
+
# parameter, you must include at least one field. For more information
|
6308
|
+
# about the available fields, see [Flow log records][1] in the *Amazon
|
6309
|
+
# VPC User Guide* or [Transit Gateway Flow Log records][2] in the
|
6310
|
+
# *Amazon Web Services Transit Gateway Guide*.
|
6293
6311
|
#
|
6294
6312
|
# Specify the fields using the `$\{field-id\}` format, separated by
|
6295
6313
|
# spaces. For the CLI, surround this parameter value with single quotes
|
@@ -6298,14 +6316,16 @@ module Aws::EC2
|
|
6298
6316
|
#
|
6299
6317
|
#
|
6300
6318
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
6319
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
|
6301
6320
|
#
|
6302
6321
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
6303
6322
|
# The tags to apply to the flow logs.
|
6304
6323
|
#
|
6305
6324
|
# @option params [Integer] :max_aggregation_interval
|
6306
6325
|
# The maximum interval of time during which a flow of packets is
|
6307
|
-
# captured and aggregated into a flow log record.
|
6308
|
-
# seconds (1 minute) or 600 seconds (10 minutes).
|
6326
|
+
# captured and aggregated into a flow log record. The possible values
|
6327
|
+
# are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter
|
6328
|
+
# must be 60 seconds for transit gateway resource types.
|
6309
6329
|
#
|
6310
6330
|
# When a network interface is attached to a [Nitro-based instance][1],
|
6311
6331
|
# the aggregation interval is always 60 seconds or less, regardless of
|
@@ -6492,7 +6512,7 @@ module Aws::EC2
|
|
6492
6512
|
# launch an instance from this new AMI, the instance automatically
|
6493
6513
|
# launches with those additional volumes.
|
6494
6514
|
#
|
6495
|
-
# For more information, see [
|
6515
|
+
# For more information, see [Create an Amazon EBS-backed Linux AMI][1]
|
6496
6516
|
# in the *Amazon Elastic Compute Cloud User Guide*.
|
6497
6517
|
#
|
6498
6518
|
#
|
@@ -8718,6 +8738,11 @@ module Aws::EC2
|
|
8718
8738
|
# Indicates whether the NAT gateway supports public or private
|
8719
8739
|
# connectivity. The default is public connectivity.
|
8720
8740
|
#
|
8741
|
+
# @option params [String] :private_ip_address
|
8742
|
+
# The private IPv4 address to assign to the NAT gateway. If you don't
|
8743
|
+
# provide an address, a private IPv4 address will be automatically
|
8744
|
+
# assigned.
|
8745
|
+
#
|
8721
8746
|
# @return [Types::CreateNatGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8722
8747
|
#
|
8723
8748
|
# * {Types::CreateNatGatewayResult#client_token #client_token} => String
|
@@ -8769,6 +8794,7 @@ module Aws::EC2
|
|
8769
8794
|
# },
|
8770
8795
|
# ],
|
8771
8796
|
# connectivity_type: "private", # accepts private, public
|
8797
|
+
# private_ip_address: "String",
|
8772
8798
|
# })
|
8773
8799
|
#
|
8774
8800
|
# @example Response structure
|
@@ -17334,8 +17360,8 @@ module Aws::EC2
|
|
17334
17360
|
#
|
17335
17361
|
# If you deregister an AMI that matches a Recycle Bin retention rule,
|
17336
17362
|
# the AMI is retained in the Recycle Bin for the specified retention
|
17337
|
-
# period. For more information, see [Recycle Bin][1] in the Amazon
|
17338
|
-
# Elastic Compute Cloud User Guide
|
17363
|
+
# period. For more information, see [Recycle Bin][1] in the *Amazon
|
17364
|
+
# Elastic Compute Cloud User Guide*.
|
17339
17365
|
#
|
17340
17366
|
# When you deregister an AMI, it doesn't affect any instances that
|
17341
17367
|
# you've already launched from the AMI. You'll continue to incur usage
|
@@ -21515,8 +21541,7 @@ module Aws::EC2
|
|
21515
21541
|
# recommend that you use the **Owner** request parameter instead of
|
21516
21542
|
# this filter.
|
21517
21543
|
#
|
21518
|
-
# * `platform` - The platform.
|
21519
|
-
# `windows`.
|
21544
|
+
# * `platform` - The platform. The only supported value is `windows`.
|
21520
21545
|
#
|
21521
21546
|
# * `product-code` - The product code.
|
21522
21547
|
#
|
@@ -46239,8 +46264,8 @@ module Aws::EC2
|
|
46239
46264
|
|
46240
46265
|
# Registers an AMI. When you're creating an AMI, this is the final step
|
46241
46266
|
# you must complete before you can launch an instance from the AMI. For
|
46242
|
-
# more information about creating AMIs, see [
|
46243
|
-
#
|
46267
|
+
# more information about creating AMIs, see [Create your own AMI][1] in
|
46268
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
46244
46269
|
#
|
46245
46270
|
# <note markdown="1"> For Amazon EBS-backed instances, CreateImage creates and registers the
|
46246
46271
|
# AMI in a single request, so you don't have to register the AMI
|
@@ -46292,8 +46317,8 @@ module Aws::EC2
|
|
46292
46317
|
# you purchase a Reserved Instance without the matching billing product
|
46293
46318
|
# code, the Reserved Instance will not be applied to the On-Demand
|
46294
46319
|
# Instance. For information about how to obtain the platform details and
|
46295
|
-
# billing information of an AMI, see [
|
46296
|
-
# the *Amazon Elastic Compute Cloud User Guide*.
|
46320
|
+
# billing information of an AMI, see [Understand AMI billing
|
46321
|
+
# information][4] in the *Amazon Elastic Compute Cloud User Guide*.
|
46297
46322
|
#
|
46298
46323
|
#
|
46299
46324
|
#
|
@@ -52578,7 +52603,7 @@ module Aws::EC2
|
|
52578
52603
|
params: params,
|
52579
52604
|
config: config)
|
52580
52605
|
context[:gem_name] = 'aws-sdk-ec2'
|
52581
|
-
context[:gem_version] = '1.
|
52606
|
+
context[:gem_version] = '1.351.0'
|
52582
52607
|
Seahorse::Client::Request.new(handlers, context)
|
52583
52608
|
end
|
52584
52609
|
|
@@ -3927,6 +3927,7 @@ module Aws::EC2
|
|
3927
3927
|
CopyImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
|
3928
3928
|
CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
|
3929
3929
|
CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3930
|
+
CopyImageRequest.add_member(:copy_image_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "CopyImageTags"))
|
3930
3931
|
CopyImageRequest.struct_class = Types::CopyImageRequest
|
3931
3932
|
|
3932
3933
|
CopyImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
@@ -4349,6 +4350,7 @@ module Aws::EC2
|
|
4349
4350
|
CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
4350
4351
|
CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4351
4352
|
CreateNatGatewayRequest.add_member(:connectivity_type, Shapes::ShapeRef.new(shape: ConnectivityType, location_name: "ConnectivityType"))
|
4353
|
+
CreateNatGatewayRequest.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "PrivateIpAddress"))
|
4352
4354
|
CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
|
4353
4355
|
|
4354
4356
|
CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -50,6 +50,9 @@ module Aws::EC2
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,87 +29,87 @@ module Aws::EC2
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
32
|
+
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
33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XRpb25zIjpb
|
110
|
+
XSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9lYzIue1JlZ2lvbn0ue1Bh
|
111
|
+
cnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhl
|
112
|
+
YWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
113
113
|
|
114
114
|
JSON
|
115
115
|
end
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -88,8 +88,8 @@ module Aws::EC2
|
|
88
88
|
end
|
89
89
|
|
90
90
|
# The platform details associated with the billing code of the AMI. For
|
91
|
-
# more information, see [
|
92
|
-
# Elastic Compute Cloud User Guide*.
|
91
|
+
# more information, see [Understand AMI billing information][1] in the
|
92
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
93
93
|
#
|
94
94
|
#
|
95
95
|
#
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -705,6 +705,7 @@ module Aws::EC2
|
|
705
705
|
# },
|
706
706
|
# ],
|
707
707
|
# connectivity_type: "private", # accepts private, public
|
708
|
+
# private_ip_address: "String",
|
708
709
|
# })
|
709
710
|
# @param [Hash] options ({})
|
710
711
|
# @option options [String] :allocation_id
|
@@ -735,6 +736,10 @@ module Aws::EC2
|
|
735
736
|
# @option options [String] :connectivity_type
|
736
737
|
# Indicates whether the NAT gateway supports public or private
|
737
738
|
# connectivity. The default is public connectivity.
|
739
|
+
# @option options [String] :private_ip_address
|
740
|
+
# The private IPv4 address to assign to the NAT gateway. If you don't
|
741
|
+
# provide an address, a private IPv4 address will be automatically
|
742
|
+
# assigned.
|
738
743
|
# @return [NatGateway]
|
739
744
|
def create_nat_gateway(options = {})
|
740
745
|
resp = @client.create_nat_gateway(options)
|
@@ -2124,8 +2129,7 @@ module Aws::EC2
|
|
2124
2129
|
# recommend that you use the **Owner** request parameter instead of
|
2125
2130
|
# this filter.
|
2126
2131
|
#
|
2127
|
-
# * `platform` - The platform.
|
2128
|
-
# `windows`.
|
2132
|
+
# * `platform` - The platform. The only supported value is `windows`.
|
2129
2133
|
#
|
2130
2134
|
# * `product-code` - The product code.
|
2131
2135
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -6517,6 +6517,7 @@ module Aws::EC2
|
|
6517
6517
|
# source_region: "String", # required
|
6518
6518
|
# destination_outpost_arn: "String",
|
6519
6519
|
# dry_run: false,
|
6520
|
+
# copy_image_tags: false,
|
6520
6521
|
# }
|
6521
6522
|
#
|
6522
6523
|
# @!attribute [rw] client_token
|
@@ -6539,7 +6540,7 @@ module Aws::EC2
|
|
6539
6540
|
# snapshot, but you cannot create an unencrypted copy of an encrypted
|
6540
6541
|
# snapshot. The default KMS key for Amazon EBS is used unless you
|
6541
6542
|
# specify a non-default Key Management Service (KMS) KMS key using
|
6542
|
-
# `KmsKeyId`. For more information, see [Amazon EBS
|
6543
|
+
# `KmsKeyId`. For more information, see [Amazon EBS encryption][1] in
|
6543
6544
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
6544
6545
|
#
|
6545
6546
|
#
|
@@ -6594,7 +6595,7 @@ module Aws::EC2
|
|
6594
6595
|
# the destination Outpost. You cannot copy an AMI from an Outpost to a
|
6595
6596
|
# Region, from one Outpost to another, or within the same Outpost.
|
6596
6597
|
#
|
6597
|
-
# For more information, see [
|
6598
|
+
# For more information, see [ Copy AMIs from an Amazon Web Services
|
6598
6599
|
# Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
6599
6600
|
# Guide*.
|
6600
6601
|
#
|
@@ -6610,6 +6611,20 @@ module Aws::EC2
|
|
6610
6611
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6611
6612
|
# @return [Boolean]
|
6612
6613
|
#
|
6614
|
+
# @!attribute [rw] copy_image_tags
|
6615
|
+
# Indicates whether to include your user-defined AMI tags when copying
|
6616
|
+
# the AMI.
|
6617
|
+
#
|
6618
|
+
# The following tags will not be copied:
|
6619
|
+
#
|
6620
|
+
# * System tags (prefixed with `aws:`)
|
6621
|
+
#
|
6622
|
+
# * For public and shared AMIs, user-defined tags that are attached by
|
6623
|
+
# other Amazon Web Services accounts
|
6624
|
+
#
|
6625
|
+
# Default: Your user-defined AMI tags are not copied.
|
6626
|
+
# @return [Boolean]
|
6627
|
+
#
|
6613
6628
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageRequest AWS API Documentation
|
6614
6629
|
#
|
6615
6630
|
class CopyImageRequest < Struct.new(
|
@@ -6621,7 +6636,8 @@ module Aws::EC2
|
|
6621
6636
|
:source_image_id,
|
6622
6637
|
:source_region,
|
6623
6638
|
:destination_outpost_arn,
|
6624
|
-
:dry_run
|
6639
|
+
:dry_run,
|
6640
|
+
:copy_image_tags)
|
6625
6641
|
SENSITIVE = []
|
6626
6642
|
include Aws::Structure
|
6627
6643
|
end
|
@@ -8561,7 +8577,8 @@ module Aws::EC2
|
|
8561
8577
|
# The IDs of the resources to monitor. For example, if the resource
|
8562
8578
|
# type is `VPC`, specify the IDs of the VPCs.
|
8563
8579
|
#
|
8564
|
-
# Constraints: Maximum of
|
8580
|
+
# Constraints: Maximum of 25 for transit gateway resource types.
|
8581
|
+
# Maximum of 1000 for the other resource types.
|
8565
8582
|
# @return [Array<String>]
|
8566
8583
|
#
|
8567
8584
|
# @!attribute [rw] resource_type
|
@@ -8570,7 +8587,8 @@ module Aws::EC2
|
|
8570
8587
|
#
|
8571
8588
|
# @!attribute [rw] traffic_type
|
8572
8589
|
# The type of traffic to monitor (accepted traffic, rejected traffic,
|
8573
|
-
# or all traffic).
|
8590
|
+
# or all traffic). This parameter is not supported for transit gateway
|
8591
|
+
# resource types. It is required for the other resource types.
|
8574
8592
|
# @return [String]
|
8575
8593
|
#
|
8576
8594
|
# @!attribute [rw] log_destination_type
|
@@ -8606,10 +8624,12 @@ module Aws::EC2
|
|
8606
8624
|
#
|
8607
8625
|
# @!attribute [rw] log_format
|
8608
8626
|
# The fields to include in the flow log record. List the fields in the
|
8609
|
-
# order in which they should appear.
|
8610
|
-
#
|
8611
|
-
# parameter,
|
8612
|
-
#
|
8627
|
+
# order in which they should appear. If you omit this parameter, the
|
8628
|
+
# flow log is created using the default format. If you specify this
|
8629
|
+
# parameter, you must include at least one field. For more information
|
8630
|
+
# about the available fields, see [Flow log records][1] in the *Amazon
|
8631
|
+
# VPC User Guide* or [Transit Gateway Flow Log records][2] in the
|
8632
|
+
# *Amazon Web Services Transit Gateway Guide*.
|
8613
8633
|
#
|
8614
8634
|
# Specify the fields using the `$\{field-id\}` format, separated by
|
8615
8635
|
# spaces. For the CLI, surround this parameter value with single
|
@@ -8618,6 +8638,7 @@ module Aws::EC2
|
|
8618
8638
|
#
|
8619
8639
|
#
|
8620
8640
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
8641
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
|
8621
8642
|
# @return [String]
|
8622
8643
|
#
|
8623
8644
|
# @!attribute [rw] tag_specifications
|
@@ -8626,8 +8647,9 @@ module Aws::EC2
|
|
8626
8647
|
#
|
8627
8648
|
# @!attribute [rw] max_aggregation_interval
|
8628
8649
|
# The maximum interval of time during which a flow of packets is
|
8629
|
-
# captured and aggregated into a flow log record.
|
8630
|
-
# seconds (1 minute) or 600 seconds (10 minutes).
|
8650
|
+
# captured and aggregated into a flow log record. The possible values
|
8651
|
+
# are 60 seconds (1 minute) or 600 seconds (10 minutes). This
|
8652
|
+
# parameter must be 60 seconds for transit gateway resource types.
|
8631
8653
|
#
|
8632
8654
|
# When a network interface is attached to a [Nitro-based instance][1],
|
8633
8655
|
# the aggregation interval is always 60 seconds or less, regardless of
|
@@ -10559,6 +10581,7 @@ module Aws::EC2
|
|
10559
10581
|
# },
|
10560
10582
|
# ],
|
10561
10583
|
# connectivity_type: "private", # accepts private, public
|
10584
|
+
# private_ip_address: "String",
|
10562
10585
|
# }
|
10563
10586
|
#
|
10564
10587
|
# @!attribute [rw] allocation_id
|
@@ -10604,6 +10627,12 @@ module Aws::EC2
|
|
10604
10627
|
# connectivity. The default is public connectivity.
|
10605
10628
|
# @return [String]
|
10606
10629
|
#
|
10630
|
+
# @!attribute [rw] private_ip_address
|
10631
|
+
# The private IPv4 address to assign to the NAT gateway. If you don't
|
10632
|
+
# provide an address, a private IPv4 address will be automatically
|
10633
|
+
# assigned.
|
10634
|
+
# @return [String]
|
10635
|
+
#
|
10607
10636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest AWS API Documentation
|
10608
10637
|
#
|
10609
10638
|
class CreateNatGatewayRequest < Struct.new(
|
@@ -10612,7 +10641,8 @@ module Aws::EC2
|
|
10612
10641
|
:dry_run,
|
10613
10642
|
:subnet_id,
|
10614
10643
|
:tag_specifications,
|
10615
|
-
:connectivity_type
|
10644
|
+
:connectivity_type,
|
10645
|
+
:private_ip_address)
|
10616
10646
|
SENSITIVE = []
|
10617
10647
|
include Aws::Structure
|
10618
10648
|
end
|
@@ -21690,8 +21720,7 @@ module Aws::EC2
|
|
21690
21720
|
# recommend that you use the **Owner** request parameter instead of
|
21691
21721
|
# this filter.
|
21692
21722
|
#
|
21693
|
-
# * `platform` - The platform.
|
21694
|
-
# `windows`.
|
21723
|
+
# * `platform` - The platform. The only supported value is `windows`.
|
21695
21724
|
#
|
21696
21725
|
# * `product-code` - The product code.
|
21697
21726
|
#
|
@@ -39684,8 +39713,8 @@ module Aws::EC2
|
|
39684
39713
|
#
|
39685
39714
|
# @!attribute [rw] platform_details
|
39686
39715
|
# The platform details associated with the billing code of the AMI.
|
39687
|
-
# For more information, see [
|
39688
|
-
# *Amazon Elastic Compute Cloud User Guide*.
|
39716
|
+
# For more information, see [Understand AMI billing information][1] in
|
39717
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
39689
39718
|
#
|
39690
39719
|
#
|
39691
39720
|
#
|
@@ -62754,7 +62783,7 @@ module Aws::EC2
|
|
62754
62783
|
# @!attribute [rw] aws_access_key_id
|
62755
62784
|
# The access key ID of the owner of the bucket. Before you specify a
|
62756
62785
|
# value for your access key ID, review and follow the guidance in
|
62757
|
-
# [Best
|
62786
|
+
# [Best practices for managing Amazon Web Services access keys][1].
|
62758
62787
|
#
|
62759
62788
|
#
|
62760
62789
|
#
|
@@ -65712,49 +65741,31 @@ module Aws::EC2
|
|
65712
65741
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
65713
65742
|
# User Guide*.
|
65714
65743
|
#
|
65715
|
-
#
|
65716
|
-
#
|
65717
|
-
#
|
65718
|
-
#
|
65719
|
-
#
|
65720
|
-
#
|
65721
|
-
#
|
65722
|
-
#
|
65723
|
-
#
|
65724
|
-
#
|
65725
|
-
#
|
65726
|
-
#
|
65727
|
-
#
|
65728
|
-
#
|
65729
|
-
#
|
65730
|
-
#
|
65731
|
-
#
|
65732
|
-
#
|
65733
|
-
#
|
65734
|
-
#
|
65735
|
-
#
|
65736
|
-
#
|
65737
|
-
#
|
65738
|
-
#
|
65739
|
-
#
|
65740
|
-
#
|
65741
|
-
# diversified
|
65742
|
-
#
|
65743
|
-
# : Spot Fleet requests instances from all of the Spot Instance pools
|
65744
|
-
# that you specify.
|
65745
|
-
#
|
65746
|
-
# lowestPrice
|
65747
|
-
#
|
65748
|
-
# : Spot Fleet requests instances from the lowest priced Spot Instance
|
65749
|
-
# pool that has available capacity. If the lowest priced pool
|
65750
|
-
# doesn't have available capacity, the Spot Instances come from the
|
65751
|
-
# next lowest priced pool that has available capacity. If a pool
|
65752
|
-
# runs out of capacity before fulfilling your desired capacity, Spot
|
65753
|
-
# Fleet will continue to fulfill your request by drawing from the
|
65754
|
-
# next lowest priced pool. To ensure that your desired capacity is
|
65755
|
-
# met, you might receive Spot Instances from several pools. Because
|
65756
|
-
# this strategy only considers instance price and not capacity
|
65757
|
-
# availability, it might lead to high interruption rates.
|
65744
|
+
# `lowestPrice` - Spot Fleet launches instances from the lowest-price
|
65745
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
65746
|
+
# doesn't have available capacity, the Spot Instances come from the
|
65747
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
65748
|
+
# of capacity before fulfilling your desired capacity, Spot Fleet will
|
65749
|
+
# continue to fulfill your request by drawing from the next cheapest
|
65750
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
65751
|
+
# Spot Instances from several pools.
|
65752
|
+
#
|
65753
|
+
# `diversified` - Spot Fleet launches instances from all of the Spot
|
65754
|
+
# Instance pools that you specify.
|
65755
|
+
#
|
65756
|
+
# `capacityOptimized` (recommended) - Spot Fleet launches instances
|
65757
|
+
# from Spot Instance pools with optimal capacity for the number of
|
65758
|
+
# instances that are launching. To give certain instance types a
|
65759
|
+
# higher chance of launching first, use
|
65760
|
+
# `capacityOptimizedPrioritized`. Set a priority for each instance
|
65761
|
+
# type by using the `Priority` parameter for
|
65762
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
65763
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
65764
|
+
# on a best-effort basis, but optimizes for capacity first.
|
65765
|
+
# `capacityOptimizedPrioritized` is supported only if your Spot Fleet
|
65766
|
+
# uses a launch template. Note that if the
|
65767
|
+
# `OnDemandAllocationStrategy` is set to `prioritized`, the same
|
65768
|
+
# priority is applied when fulfilling On-Demand capacity.
|
65758
65769
|
#
|
65759
65770
|
# Default: `lowestPrice`
|
65760
65771
|
#
|
@@ -66341,49 +66352,31 @@ module Aws::EC2
|
|
66341
66352
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
66342
66353
|
# User Guide*.
|
66343
66354
|
#
|
66344
|
-
# price-
|
66345
|
-
#
|
66346
|
-
#
|
66347
|
-
#
|
66348
|
-
#
|
66349
|
-
#
|
66350
|
-
#
|
66351
|
-
#
|
66352
|
-
#
|
66353
|
-
#
|
66354
|
-
#
|
66355
|
-
#
|
66356
|
-
#
|
66357
|
-
#
|
66358
|
-
#
|
66359
|
-
#
|
66360
|
-
#
|
66361
|
-
#
|
66362
|
-
#
|
66363
|
-
#
|
66364
|
-
#
|
66365
|
-
#
|
66366
|
-
#
|
66367
|
-
#
|
66368
|
-
#
|
66369
|
-
#
|
66370
|
-
# diversified
|
66371
|
-
#
|
66372
|
-
# : EC2 Fleet requests instances from all of the Spot Instance pools
|
66373
|
-
# that you specify.
|
66374
|
-
#
|
66375
|
-
# lowest-price
|
66376
|
-
#
|
66377
|
-
# : EC2 Fleet requests instances from the lowest priced Spot Instance
|
66378
|
-
# pool that has available capacity. If the lowest priced pool
|
66379
|
-
# doesn't have available capacity, the Spot Instances come from the
|
66380
|
-
# next lowest priced pool that has available capacity. If a pool
|
66381
|
-
# runs out of capacity before fulfilling your desired capacity, EC2
|
66382
|
-
# Fleet will continue to fulfill your request by drawing from the
|
66383
|
-
# next lowest priced pool. To ensure that your desired capacity is
|
66384
|
-
# met, you might receive Spot Instances from several pools. Because
|
66385
|
-
# this strategy only considers instance price and not capacity
|
66386
|
-
# availability, it might lead to high interruption rates.
|
66355
|
+
# `lowest-price` - EC2 Fleet launches instances from the lowest-price
|
66356
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
66357
|
+
# doesn't have available capacity, the Spot Instances come from the
|
66358
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
66359
|
+
# of capacity before fulfilling your desired capacity, EC2 Fleet will
|
66360
|
+
# continue to fulfill your request by drawing from the next cheapest
|
66361
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
66362
|
+
# Spot Instances from several pools.
|
66363
|
+
#
|
66364
|
+
# `diversified` - EC2 Fleet launches instances from all of the Spot
|
66365
|
+
# Instance pools that you specify.
|
66366
|
+
#
|
66367
|
+
# `capacity-optimized` (recommended) - EC2 Fleet launches instances
|
66368
|
+
# from Spot Instance pools with optimal capacity for the number of
|
66369
|
+
# instances that are launching. To give certain instance types a
|
66370
|
+
# higher chance of launching first, use
|
66371
|
+
# `capacity-optimized-prioritized`. Set a priority for each instance
|
66372
|
+
# type by using the `Priority` parameter for
|
66373
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
66374
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
66375
|
+
# on a best-effort basis, but optimizes for capacity first.
|
66376
|
+
# `capacity-optimized-prioritized` is supported only if your fleet
|
66377
|
+
# uses a launch template. Note that if the On-Demand
|
66378
|
+
# `AllocationStrategy` is set to `prioritized`, the same priority is
|
66379
|
+
# applied when fulfilling On-Demand capacity.
|
66387
66380
|
#
|
66388
66381
|
# Default: `lowest-price`
|
66389
66382
|
#
|
@@ -66501,49 +66494,31 @@ module Aws::EC2
|
|
66501
66494
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
66502
66495
|
# User Guide*.
|
66503
66496
|
#
|
66504
|
-
# price-
|
66505
|
-
#
|
66506
|
-
#
|
66507
|
-
#
|
66508
|
-
#
|
66509
|
-
#
|
66510
|
-
#
|
66511
|
-
#
|
66512
|
-
#
|
66513
|
-
#
|
66514
|
-
#
|
66515
|
-
#
|
66516
|
-
#
|
66517
|
-
#
|
66518
|
-
#
|
66519
|
-
#
|
66520
|
-
#
|
66521
|
-
#
|
66522
|
-
#
|
66523
|
-
#
|
66524
|
-
#
|
66525
|
-
#
|
66526
|
-
#
|
66527
|
-
#
|
66528
|
-
#
|
66529
|
-
#
|
66530
|
-
# diversified
|
66531
|
-
#
|
66532
|
-
# : EC2 Fleet requests instances from all of the Spot Instance pools
|
66533
|
-
# that you specify.
|
66534
|
-
#
|
66535
|
-
# lowest-price
|
66536
|
-
#
|
66537
|
-
# : EC2 Fleet requests instances from the lowest priced Spot Instance
|
66538
|
-
# pool that has available capacity. If the lowest priced pool
|
66539
|
-
# doesn't have available capacity, the Spot Instances come from the
|
66540
|
-
# next lowest priced pool that has available capacity. If a pool
|
66541
|
-
# runs out of capacity before fulfilling your desired capacity, EC2
|
66542
|
-
# Fleet will continue to fulfill your request by drawing from the
|
66543
|
-
# next lowest priced pool. To ensure that your desired capacity is
|
66544
|
-
# met, you might receive Spot Instances from several pools. Because
|
66545
|
-
# this strategy only considers instance price and not capacity
|
66546
|
-
# availability, it might lead to high interruption rates.
|
66497
|
+
# `lowest-price` - EC2 Fleet launches instances from the lowest-price
|
66498
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
66499
|
+
# doesn't have available capacity, the Spot Instances come from the
|
66500
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
66501
|
+
# of capacity before fulfilling your desired capacity, EC2 Fleet will
|
66502
|
+
# continue to fulfill your request by drawing from the next cheapest
|
66503
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
66504
|
+
# Spot Instances from several pools.
|
66505
|
+
#
|
66506
|
+
# `diversified` - EC2 Fleet launches instances from all of the Spot
|
66507
|
+
# Instance pools that you specify.
|
66508
|
+
#
|
66509
|
+
# `capacity-optimized` (recommended) - EC2 Fleet launches instances
|
66510
|
+
# from Spot Instance pools with optimal capacity for the number of
|
66511
|
+
# instances that are launching. To give certain instance types a
|
66512
|
+
# higher chance of launching first, use
|
66513
|
+
# `capacity-optimized-prioritized`. Set a priority for each instance
|
66514
|
+
# type by using the `Priority` parameter for
|
66515
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
66516
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
66517
|
+
# on a best-effort basis, but optimizes for capacity first.
|
66518
|
+
# `capacity-optimized-prioritized` is supported only if your fleet
|
66519
|
+
# uses a launch template. Note that if the On-Demand
|
66520
|
+
# `AllocationStrategy` is set to `prioritized`, the same priority is
|
66521
|
+
# applied when fulfilling On-Demand capacity.
|
66547
66522
|
#
|
66548
66523
|
# Default: `lowest-price`
|
66549
66524
|
#
|
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.351.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-11-
|
11
|
+
date: 2022-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|