aws-sdk-ec2 1.247.0 → 1.251.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +1694 -435
- data/lib/aws-sdk-ec2/client_api.rb +484 -7
- data/lib/aws-sdk-ec2/dhcp_options.rb +3 -3
- data/lib/aws-sdk-ec2/image.rb +2 -2
- data/lib/aws-sdk-ec2/instance.rb +5 -5
- data/lib/aws-sdk-ec2/internet_gateway.rb +3 -3
- data/lib/aws-sdk-ec2/key_pair_info.rb +2 -2
- data/lib/aws-sdk-ec2/nat_gateway.rb +2 -2
- data/lib/aws-sdk-ec2/network_acl.rb +3 -3
- data/lib/aws-sdk-ec2/network_interface.rb +32 -4
- data/lib/aws-sdk-ec2/resource.rb +124 -76
- data/lib/aws-sdk-ec2/route.rb +2 -2
- data/lib/aws-sdk-ec2/route_table.rb +3 -3
- data/lib/aws-sdk-ec2/security_group.rb +52 -18
- data/lib/aws-sdk-ec2/snapshot.rb +40 -37
- data/lib/aws-sdk-ec2/subnet.rb +45 -5
- data/lib/aws-sdk-ec2/tag.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +2339 -358
- data/lib/aws-sdk-ec2/volume.rb +15 -16
- data/lib/aws-sdk-ec2/vpc.rb +41 -41
- metadata +2 -2
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -48,7 +48,7 @@ module Aws::EC2
|
|
48
48
|
data[:destination_ipv_6_cidr_block]
|
49
49
|
end
|
50
50
|
|
51
|
-
# The prefix of the
|
51
|
+
# The prefix of the Amazon Web Service.
|
52
52
|
# @return [String]
|
53
53
|
def destination_prefix_list_id
|
54
54
|
data[:destination_prefix_list_id]
|
@@ -72,7 +72,7 @@ module Aws::EC2
|
|
72
72
|
data[:instance_id]
|
73
73
|
end
|
74
74
|
|
75
|
-
# The
|
75
|
+
# The ID of account that owns the instance.
|
76
76
|
# @return [String]
|
77
77
|
def instance_owner_id
|
78
78
|
data[:instance_owner_id]
|
@@ -53,7 +53,7 @@ module Aws::EC2
|
|
53
53
|
data[:vpc_id]
|
54
54
|
end
|
55
55
|
|
56
|
-
# The ID of the
|
56
|
+
# The ID of the account that owns the route table.
|
57
57
|
# @return [String]
|
58
58
|
def owner_id
|
59
59
|
data[:owner_id]
|
@@ -354,8 +354,8 @@ module Aws::EC2
|
|
354
354
|
# if its value is an empty string.
|
355
355
|
#
|
356
356
|
# If you omit this parameter, we delete all user-defined tags for the
|
357
|
-
# specified resources. We do not delete
|
358
|
-
# have the `aws:` prefix).
|
357
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
358
|
+
# tags (tags that have the `aws:` prefix).
|
359
359
|
# @return [Tag::Collection]
|
360
360
|
def delete_tags(options = {})
|
361
361
|
batch = []
|
@@ -53,7 +53,7 @@ module Aws::EC2
|
|
53
53
|
data[:ip_permissions]
|
54
54
|
end
|
55
55
|
|
56
|
-
# The
|
56
|
+
# The Amazon Web Services account ID of the owner of the security group.
|
57
57
|
# @return [String]
|
58
58
|
def owner_id
|
59
59
|
data[:owner_id]
|
@@ -251,6 +251,17 @@ module Aws::EC2
|
|
251
251
|
# ],
|
252
252
|
# },
|
253
253
|
# ],
|
254
|
+
# tag_specifications: [
|
255
|
+
# {
|
256
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
257
|
+
# tags: [
|
258
|
+
# {
|
259
|
+
# key: "String",
|
260
|
+
# value: "String",
|
261
|
+
# },
|
262
|
+
# ],
|
263
|
+
# },
|
264
|
+
# ],
|
254
265
|
# cidr_ip: "String",
|
255
266
|
# from_port: 1,
|
256
267
|
# ip_protocol: "String",
|
@@ -267,6 +278,8 @@ module Aws::EC2
|
|
267
278
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
268
279
|
# The sets of IP permissions. You can't specify a destination security
|
269
280
|
# group and a CIDR IP address range in the same set of permissions.
|
281
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
282
|
+
# The tags applied to the security group rule.
|
270
283
|
# @option options [String] :cidr_ip
|
271
284
|
# Not supported. Use a set of IP permissions to specify the CIDR.
|
272
285
|
# @option options [Integer] :from_port
|
@@ -282,7 +295,7 @@ module Aws::EC2
|
|
282
295
|
# @option options [String] :source_security_group_owner_id
|
283
296
|
# Not supported. Use a set of IP permissions to specify a destination
|
284
297
|
# security group.
|
285
|
-
# @return [
|
298
|
+
# @return [Types::AuthorizeSecurityGroupEgressResult]
|
286
299
|
def authorize_egress(options = {})
|
287
300
|
options = options.merge(group_id: @id)
|
288
301
|
resp = @client.authorize_security_group_egress(options)
|
@@ -336,6 +349,17 @@ module Aws::EC2
|
|
336
349
|
# source_security_group_owner_id: "String",
|
337
350
|
# to_port: 1,
|
338
351
|
# dry_run: false,
|
352
|
+
# tag_specifications: [
|
353
|
+
# {
|
354
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
355
|
+
# tags: [
|
356
|
+
# {
|
357
|
+
# key: "String",
|
358
|
+
# value: "String",
|
359
|
+
# },
|
360
|
+
# ],
|
361
|
+
# },
|
362
|
+
# ],
|
339
363
|
# })
|
340
364
|
# @param [Hash] options ({})
|
341
365
|
# @option options [String] :cidr_ip
|
@@ -381,13 +405,14 @@ module Aws::EC2
|
|
381
405
|
# IP protocol and port range, use a set of IP permissions instead. For
|
382
406
|
# EC2-VPC, the source security group must be in the same VPC.
|
383
407
|
# @option options [String] :source_security_group_owner_id
|
384
|
-
# \[nondefault VPC\] The
|
385
|
-
# if the source security group is in a different
|
386
|
-
# specify this parameter in combination with the
|
387
|
-
# the CIDR IP address range, the IP protocol, the
|
388
|
-
# range, and the end of the port range. Creates rules
|
389
|
-
# ICMP, UDP, and TCP access. To create a rule with a
|
390
|
-
# protocol and port range, use a set of IP permissions
|
408
|
+
# \[nondefault VPC\] The Amazon Web Services account ID for the source
|
409
|
+
# security group, if the source security group is in a different
|
410
|
+
# account. You can't specify this parameter in combination with the
|
411
|
+
# following parameters: the CIDR IP address range, the IP protocol, the
|
412
|
+
# start of the port range, and the end of the port range. Creates rules
|
413
|
+
# that grant full ICMP, UDP, and TCP access. To create a rule with a
|
414
|
+
# specific IP protocol and port range, use a set of IP permissions
|
415
|
+
# instead.
|
391
416
|
# @option options [Integer] :to_port
|
392
417
|
# The end of port range for the TCP and UDP protocols, or an ICMP code
|
393
418
|
# number. For the ICMP code number, use `-1` to specify all codes. If
|
@@ -400,7 +425,9 @@ module Aws::EC2
|
|
400
425
|
# without actually making the request, and provides an error response.
|
401
426
|
# If you have the required permissions, the error response is
|
402
427
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
403
|
-
# @
|
428
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
429
|
+
# \[VPC Only\] The tags applied to the security group rule.
|
430
|
+
# @return [Types::AuthorizeSecurityGroupIngressResult]
|
404
431
|
def authorize_ingress(options = {})
|
405
432
|
options = options.merge(group_id: @id)
|
406
433
|
resp = @client.authorize_security_group_ingress(options)
|
@@ -469,8 +496,8 @@ module Aws::EC2
|
|
469
496
|
# if its value is an empty string.
|
470
497
|
#
|
471
498
|
# If you omit this parameter, we delete all user-defined tags for the
|
472
|
-
# specified resources. We do not delete
|
473
|
-
# have the `aws:` prefix).
|
499
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
500
|
+
# tags (tags that have the `aws:` prefix).
|
474
501
|
# @return [Tag::Collection]
|
475
502
|
def delete_tags(options = {})
|
476
503
|
batch = []
|
@@ -549,6 +576,7 @@ module Aws::EC2
|
|
549
576
|
# ],
|
550
577
|
# },
|
551
578
|
# ],
|
579
|
+
# security_group_rule_ids: ["String"],
|
552
580
|
# cidr_ip: "String",
|
553
581
|
# from_port: 1,
|
554
582
|
# ip_protocol: "String",
|
@@ -565,6 +593,8 @@ module Aws::EC2
|
|
565
593
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
566
594
|
# The sets of IP permissions. You can't specify a destination security
|
567
595
|
# group and a CIDR IP address range in the same set of permissions.
|
596
|
+
# @option options [Array<String>] :security_group_rule_ids
|
597
|
+
# The IDs of the security group rules.
|
568
598
|
# @option options [String] :cidr_ip
|
569
599
|
# Not supported. Use a set of IP permissions to specify the CIDR.
|
570
600
|
# @option options [Integer] :from_port
|
@@ -634,6 +664,7 @@ module Aws::EC2
|
|
634
664
|
# source_security_group_owner_id: "String",
|
635
665
|
# to_port: 1,
|
636
666
|
# dry_run: false,
|
667
|
+
# security_group_rule_ids: ["String"],
|
637
668
|
# })
|
638
669
|
# @param [Hash] options ({})
|
639
670
|
# @option options [String] :cidr_ip
|
@@ -665,12 +696,13 @@ module Aws::EC2
|
|
665
696
|
# rule for an IP protocol and port range, use a set of IP permissions
|
666
697
|
# instead.
|
667
698
|
# @option options [String] :source_security_group_owner_id
|
668
|
-
# \[EC2-Classic\] The
|
669
|
-
# the source security group is in a different
|
670
|
-
# specify this parameter in combination with the
|
671
|
-
# the CIDR IP address range, the IP protocol, the
|
672
|
-
# range, and the end of the port range. To revoke a
|
673
|
-
# IP protocol and port range, use a set of IP
|
699
|
+
# \[EC2-Classic\] The Amazon Web Services account ID of the source
|
700
|
+
# security group, if the source security group is in a different
|
701
|
+
# account. You can't specify this parameter in combination with the
|
702
|
+
# following parameters: the CIDR IP address range, the IP protocol, the
|
703
|
+
# start of the port range, and the end of the port range. To revoke a
|
704
|
+
# specific rule for an IP protocol and port range, use a set of IP
|
705
|
+
# permissions instead.
|
674
706
|
# @option options [Integer] :to_port
|
675
707
|
# The end of port range for the TCP and UDP protocols, or an ICMP code
|
676
708
|
# number. For the ICMP code number, use `-1` to specify all ICMP codes
|
@@ -680,6 +712,8 @@ module Aws::EC2
|
|
680
712
|
# without actually making the request, and provides an error response.
|
681
713
|
# If you have the required permissions, the error response is
|
682
714
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
715
|
+
# @option options [Array<String>] :security_group_rule_ids
|
716
|
+
# The IDs of the security group rules.
|
683
717
|
# @return [Types::RevokeSecurityGroupIngressResult]
|
684
718
|
def revoke_ingress(options = {})
|
685
719
|
options = options.merge(group_id: @id)
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -59,15 +59,15 @@ module Aws::EC2
|
|
59
59
|
data[:encrypted]
|
60
60
|
end
|
61
61
|
|
62
|
-
# The Amazon Resource Name (ARN) of the
|
63
|
-
#
|
64
|
-
#
|
62
|
+
# The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS
|
63
|
+
# key that was used to protect the volume encryption key for the parent
|
64
|
+
# volume.
|
65
65
|
# @return [String]
|
66
66
|
def kms_key_id
|
67
67
|
data[:kms_key_id]
|
68
68
|
end
|
69
69
|
|
70
|
-
# The
|
70
|
+
# The ID of the account that owns the EBS snapshot.
|
71
71
|
# @return [String]
|
72
72
|
def owner_id
|
73
73
|
data[:owner_id]
|
@@ -92,8 +92,8 @@ module Aws::EC2
|
|
92
92
|
end
|
93
93
|
|
94
94
|
# Encrypted Amazon EBS snapshots are copied asynchronously. If a
|
95
|
-
# snapshot copy operation fails (for example, if the proper
|
96
|
-
# Management Service (
|
95
|
+
# snapshot copy operation fails (for example, if the proper Key
|
96
|
+
# Management Service (KMS) permissions are not obtained) this field
|
97
97
|
# displays error state details to help you diagnose why the error
|
98
98
|
# occurred. This parameter is only returned by DescribeSnapshots.
|
99
99
|
# @return [String]
|
@@ -115,17 +115,17 @@ module Aws::EC2
|
|
115
115
|
data[:volume_size]
|
116
116
|
end
|
117
117
|
|
118
|
-
# The
|
119
|
-
# is not the user-configured
|
120
|
-
# console.
|
118
|
+
# The Amazon Web Services owner alias, from an Amazon-maintained list
|
119
|
+
# (`amazon`). This is not the user-configured account alias set using
|
120
|
+
# the IAM console.
|
121
121
|
# @return [String]
|
122
122
|
def owner_alias
|
123
123
|
data[:owner_alias]
|
124
124
|
end
|
125
125
|
|
126
|
-
# The ARN of the
|
127
|
-
# information, see [EBS
|
128
|
-
# Elastic Compute Cloud User Guide*.
|
126
|
+
# The ARN of the Outpost on which the snapshot is stored. For more
|
127
|
+
# information, see [Amazon EBS local snapshots on Outposts][1] in the
|
128
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
129
129
|
#
|
130
130
|
#
|
131
131
|
#
|
@@ -305,7 +305,7 @@ module Aws::EC2
|
|
305
305
|
# source_region: "String", # required
|
306
306
|
# tag_specifications: [
|
307
307
|
# {
|
308
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
308
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
309
309
|
# tags: [
|
310
310
|
# {
|
311
311
|
# key: "String",
|
@@ -322,12 +322,14 @@ module Aws::EC2
|
|
322
322
|
# @option options [String] :destination_outpost_arn
|
323
323
|
# The Amazon Resource Name (ARN) of the Outpost to which to copy the
|
324
324
|
# snapshot. Only specify this parameter when copying a snapshot from an
|
325
|
-
#
|
326
|
-
# destination Outpost. You cannot copy a snapshot from an
|
327
|
-
# Region, from one Outpost to another, or within the same
|
325
|
+
# Amazon Web Services Region to an Outpost. The snapshot must be in the
|
326
|
+
# Region for the destination Outpost. You cannot copy a snapshot from an
|
327
|
+
# Outpost to a Region, from one Outpost to another, or within the same
|
328
|
+
# Outpost.
|
328
329
|
#
|
329
|
-
# For more information, see [
|
330
|
-
# Outpost][1] in the *Amazon Elastic Compute Cloud User
|
330
|
+
# For more information, see [ Copy snapshots from an Amazon Web Services
|
331
|
+
# Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
|
332
|
+
# Guide*.
|
331
333
|
#
|
332
334
|
#
|
333
335
|
#
|
@@ -340,8 +342,8 @@ module Aws::EC2
|
|
340
342
|
#
|
341
343
|
# The snapshot copy is sent to the regional endpoint that you sent the
|
342
344
|
# HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
|
343
|
-
#
|
344
|
-
#
|
345
|
+
# CLI, this is specified using the `--region` parameter or the default
|
346
|
+
# Region in your Amazon Web Services configuration file.
|
345
347
|
# @option options [Boolean] :encrypted
|
346
348
|
# To encrypt a copy of an unencrypted snapshot if encryption by default
|
347
349
|
# is not enabled, enable encryption using this parameter. Otherwise,
|
@@ -354,12 +356,12 @@ module Aws::EC2
|
|
354
356
|
#
|
355
357
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
356
358
|
# @option options [String] :kms_key_id
|
357
|
-
# The identifier of the
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
359
|
+
# The identifier of the Key Management Service (KMS) KMS key to use for
|
360
|
+
# Amazon EBS encryption. If this parameter is not specified, your KMS
|
361
|
+
# key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
|
362
|
+
# state must be `true`.
|
361
363
|
#
|
362
|
-
# You can specify the
|
364
|
+
# You can specify the KMS key using any of the following:
|
363
365
|
#
|
364
366
|
# * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
|
365
367
|
#
|
@@ -371,9 +373,9 @@ module Aws::EC2
|
|
371
373
|
# * Alias ARN. For example,
|
372
374
|
# arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
|
373
375
|
#
|
374
|
-
#
|
375
|
-
# ID, alias, or ARN that is not valid, the
|
376
|
-
# complete, but eventually fails.
|
376
|
+
# Amazon Web Services authenticates the KMS key asynchronously.
|
377
|
+
# Therefore, if you specify an ID, alias, or ARN that is not valid, the
|
378
|
+
# action can appear to complete, but eventually fails.
|
377
379
|
# @option options [String] :presigned_url
|
378
380
|
# When you copy an encrypted source snapshot using the Amazon EC2 Query
|
379
381
|
# API, you must supply a pre-signed URL. This parameter is optional for
|
@@ -382,13 +384,14 @@ module Aws::EC2
|
|
382
384
|
# The `PresignedUrl` should use the snapshot source endpoint, the
|
383
385
|
# `CopySnapshot` action, and include the `SourceRegion`,
|
384
386
|
# `SourceSnapshotId`, and `DestinationRegion` parameters. The
|
385
|
-
# `PresignedUrl` must be signed using
|
386
|
-
# EBS snapshots are stored in Amazon S3, the signing
|
387
|
-
# parameter uses the same logic that is described in
|
388
|
-
# Requests: Using Query Parameters (
|
389
|
-
# *Amazon Simple Storage Service API
|
390
|
-
# improperly signed `PresignedUrl` will cause
|
391
|
-
# asynchronously, and the snapshot will move
|
387
|
+
# `PresignedUrl` must be signed using Amazon Web Services Signature
|
388
|
+
# Version 4. Because EBS snapshots are stored in Amazon S3, the signing
|
389
|
+
# algorithm for this parameter uses the same logic that is described in
|
390
|
+
# [Authenticating Requests: Using Query Parameters (Amazon Web Services
|
391
|
+
# Signature Version 4)][2] in the *Amazon Simple Storage Service API
|
392
|
+
# Reference*. An invalid or improperly signed `PresignedUrl` will cause
|
393
|
+
# the copy operation to fail asynchronously, and the snapshot will move
|
394
|
+
# to an `error` state.
|
392
395
|
#
|
393
396
|
#
|
394
397
|
#
|
@@ -472,8 +475,8 @@ module Aws::EC2
|
|
472
475
|
# if its value is an empty string.
|
473
476
|
#
|
474
477
|
# If you omit this parameter, we delete all user-defined tags for the
|
475
|
-
# specified resources. We do not delete
|
476
|
-
# have the `aws:` prefix).
|
478
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
479
|
+
# tags (tags that have the `aws:` prefix).
|
477
480
|
# @return [Tag::Collection]
|
478
481
|
def delete_tags(options = {})
|
479
482
|
batch = []
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -100,7 +100,7 @@ module Aws::EC2
|
|
100
100
|
data[:vpc_id]
|
101
101
|
end
|
102
102
|
|
103
|
-
# The ID of the
|
103
|
+
# The ID of the account that owns the subnet.
|
104
104
|
# @return [String]
|
105
105
|
def owner_id
|
106
106
|
data[:owner_id]
|
@@ -358,6 +358,18 @@ module Aws::EC2
|
|
358
358
|
# associate_carrier_ip_address: false,
|
359
359
|
# interface_type: "String",
|
360
360
|
# network_card_index: 1,
|
361
|
+
# ipv_4_prefixes: [
|
362
|
+
# {
|
363
|
+
# ipv_4_prefix: "String",
|
364
|
+
# },
|
365
|
+
# ],
|
366
|
+
# ipv_4_prefix_count: 1,
|
367
|
+
# ipv_6_prefixes: [
|
368
|
+
# {
|
369
|
+
# ipv_6_prefix: "String",
|
370
|
+
# },
|
371
|
+
# ],
|
372
|
+
# ipv_6_prefix_count: 1,
|
361
373
|
# },
|
362
374
|
# ],
|
363
375
|
# private_ip_address: "String",
|
@@ -374,7 +386,7 @@ module Aws::EC2
|
|
374
386
|
# ],
|
375
387
|
# tag_specifications: [
|
376
388
|
# {
|
377
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
389
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
378
390
|
# tags: [
|
379
391
|
# {
|
380
392
|
# key: "String",
|
@@ -756,10 +768,22 @@ module Aws::EC2
|
|
756
768
|
# },
|
757
769
|
# ],
|
758
770
|
# secondary_private_ip_address_count: 1,
|
771
|
+
# ipv_4_prefixes: [
|
772
|
+
# {
|
773
|
+
# ipv_4_prefix: "String",
|
774
|
+
# },
|
775
|
+
# ],
|
776
|
+
# ipv_4_prefix_count: 1,
|
777
|
+
# ipv_6_prefixes: [
|
778
|
+
# {
|
779
|
+
# ipv_6_prefix: "String",
|
780
|
+
# },
|
781
|
+
# ],
|
782
|
+
# ipv_6_prefix_count: 1,
|
759
783
|
# interface_type: "efa", # accepts efa, branch, trunk
|
760
784
|
# tag_specifications: [
|
761
785
|
# {
|
762
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
786
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
763
787
|
# tags: [
|
764
788
|
# {
|
765
789
|
# key: "String",
|
@@ -813,6 +837,22 @@ module Aws::EC2
|
|
813
837
|
#
|
814
838
|
#
|
815
839
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
840
|
+
# @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
|
841
|
+
# One or moreIPv4 Prefix Delegation prefixes assigned to the network
|
842
|
+
# interface. You cannot use this option if you use the `Ipv4PrefixCount`
|
843
|
+
# option.
|
844
|
+
# @option options [Integer] :ipv_4_prefix_count
|
845
|
+
# The number of IPv4 Prefix Delegation prefixes that AWS automatically
|
846
|
+
# assigns to the network interface. You cannot use this option if you
|
847
|
+
# use the `Ipv4 Prefixes` option.
|
848
|
+
# @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
|
849
|
+
# One or moreIPv6 Prefix Delegation prefixes assigned to the network
|
850
|
+
# interface. You cannot use this option if you use the `Ipv6PrefixCount`
|
851
|
+
# option.
|
852
|
+
# @option options [Integer] :ipv_6_prefix_count
|
853
|
+
# The number of IPv6 Prefix Delegation prefixes that AWS automatically
|
854
|
+
# assigns to the network interface. You cannot use this option if you
|
855
|
+
# use the `Ipv6Prefixes` option.
|
816
856
|
# @option options [String] :interface_type
|
817
857
|
# Indicates the type of network interface. To create an Elastic Fabric
|
818
858
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
@@ -908,8 +948,8 @@ module Aws::EC2
|
|
908
948
|
# if its value is an empty string.
|
909
949
|
#
|
910
950
|
# If you omit this parameter, we delete all user-defined tags for the
|
911
|
-
# specified resources. We do not delete
|
912
|
-
# have the `aws:` prefix).
|
951
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
952
|
+
# tags (tags that have the `aws:` prefix).
|
913
953
|
# @return [Tag::Collection]
|
914
954
|
def delete_tags(options = {})
|
915
955
|
batch = []
|
data/lib/aws-sdk-ec2/tag.rb
CHANGED
@@ -224,8 +224,8 @@ module Aws::EC2
|
|
224
224
|
# if its value is an empty string.
|
225
225
|
#
|
226
226
|
# If you omit this parameter, we delete all user-defined tags for the
|
227
|
-
# specified resources. We do not delete
|
228
|
-
# have the `aws:` prefix).
|
227
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
228
|
+
# tags (tags that have the `aws:` prefix).
|
229
229
|
# @return [EmptyStructure]
|
230
230
|
def delete(options = {})
|
231
231
|
options = Aws::Util.deep_merge(options,
|