aws-sdk-ec2 1.245.0 → 1.249.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 +1101 -246
- data/lib/aws-sdk-ec2/client_api.rb +321 -4
- data/lib/aws-sdk-ec2/dhcp_options.rb +2 -2
- data/lib/aws-sdk-ec2/image.rb +2 -2
- data/lib/aws-sdk-ec2/instance.rb +10 -9
- data/lib/aws-sdk-ec2/internet_gateway.rb +2 -2
- 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 +2 -2
- data/lib/aws-sdk-ec2/network_interface.rb +2 -2
- data/lib/aws-sdk-ec2/placement_group.rb +4 -4
- data/lib/aws-sdk-ec2/resource.rb +41 -38
- data/lib/aws-sdk-ec2/route_table.rb +2 -2
- data/lib/aws-sdk-ec2/security_group.rb +52 -18
- data/lib/aws-sdk-ec2/snapshot.rb +3 -3
- data/lib/aws-sdk-ec2/subnet.rb +18 -16
- data/lib/aws-sdk-ec2/tag.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +1502 -226
- data/lib/aws-sdk-ec2/volume.rb +3 -3
- data/lib/aws-sdk-ec2/vpc.rb +19 -18
- metadata +2 -2
@@ -270,8 +270,8 @@ module Aws::EC2
|
|
270
270
|
# if its value is an empty string.
|
271
271
|
#
|
272
272
|
# If you omit this parameter, we delete all user-defined tags for the
|
273
|
-
# specified resources. We do not delete
|
274
|
-
# have the `aws:` prefix).
|
273
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
274
|
+
# tags (tags that have the `aws:` prefix).
|
275
275
|
# @return [Tag::Collection]
|
276
276
|
def delete_tags(options = {})
|
277
277
|
batch = []
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -458,8 +458,8 @@ module Aws::EC2
|
|
458
458
|
# if its value is an empty string.
|
459
459
|
#
|
460
460
|
# If you omit this parameter, we delete all user-defined tags for the
|
461
|
-
# specified resources. We do not delete
|
462
|
-
# have the `aws:` prefix).
|
461
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
462
|
+
# tags (tags that have the `aws:` prefix).
|
463
463
|
# @return [Tag::Collection]
|
464
464
|
def delete_tags(options = {})
|
465
465
|
batch = []
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -331,7 +331,8 @@ module Aws::EC2
|
|
331
331
|
data[:metadata_options]
|
332
332
|
end
|
333
333
|
|
334
|
-
# Indicates whether the instance is enabled for
|
334
|
+
# Indicates whether the instance is enabled for Amazon Web Services
|
335
|
+
# Nitro Enclaves.
|
335
336
|
# @return [Types::EnclaveOptions]
|
336
337
|
def enclave_options
|
337
338
|
data[:enclave_options]
|
@@ -668,7 +669,7 @@ module Aws::EC2
|
|
668
669
|
# no_reboot: false,
|
669
670
|
# tag_specifications: [
|
670
671
|
# {
|
671
|
-
# 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
|
672
|
+
# 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
|
672
673
|
# tags: [
|
673
674
|
# {
|
674
675
|
# key: "String",
|
@@ -793,8 +794,8 @@ module Aws::EC2
|
|
793
794
|
# if its value is an empty string.
|
794
795
|
#
|
795
796
|
# If you omit this parameter, we delete all user-defined tags for the
|
796
|
-
# specified resources. We do not delete
|
797
|
-
# have the `aws:` prefix).
|
797
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
798
|
+
# tags (tags that have the `aws:` prefix).
|
798
799
|
# @return [Tag::Collection]
|
799
800
|
def delete_tags(options = {})
|
800
801
|
batch = []
|
@@ -1017,9 +1018,9 @@ module Aws::EC2
|
|
1017
1018
|
# option with a PV instance can make it unreachable.
|
1018
1019
|
# @option options [Types::BlobAttributeValue] :user_data
|
1019
1020
|
# Changes the instance's user data to the specified value. If you are
|
1020
|
-
# using an
|
1021
|
-
# for you, and you can load the text from a file.
|
1022
|
-
# provide base64-encoded text.
|
1021
|
+
# using an Amazon Web Services SDK or command line tool, base64-encoding
|
1022
|
+
# is performed for you, and you can load the text from a file.
|
1023
|
+
# Otherwise, you must provide base64-encoded text.
|
1023
1024
|
# @option options [String] :value
|
1024
1025
|
# A new value for the attribute. Use only with the `kernel`, `ramdisk`,
|
1025
1026
|
# `userData`, `disableApiTermination`, or
|
@@ -1702,8 +1703,8 @@ module Aws::EC2
|
|
1702
1703
|
# if its value is an empty string.
|
1703
1704
|
#
|
1704
1705
|
# If you omit this parameter, we delete all user-defined tags for the
|
1705
|
-
# specified resources. We do not delete
|
1706
|
-
# have the `aws:` prefix).
|
1706
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
1707
|
+
# tags (tags that have the `aws:` prefix).
|
1707
1708
|
# @return [void]
|
1708
1709
|
def batch_delete_tags!(options = {})
|
1709
1710
|
batch_enum.each do |batch|
|
@@ -270,8 +270,8 @@ module Aws::EC2
|
|
270
270
|
# if its value is an empty string.
|
271
271
|
#
|
272
272
|
# If you omit this parameter, we delete all user-defined tags for the
|
273
|
-
# specified resources. We do not delete
|
274
|
-
# have the `aws:` prefix).
|
273
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
274
|
+
# tags (tags that have the `aws:` prefix).
|
275
275
|
# @return [Tag::Collection]
|
276
276
|
def delete_tags(options = {})
|
277
277
|
batch = []
|
@@ -43,8 +43,8 @@ module Aws::EC2
|
|
43
43
|
|
44
44
|
# If you used CreateKeyPair to create the key pair, this is the SHA-1
|
45
45
|
# digest of the DER encoded private key. If you used ImportKeyPair to
|
46
|
-
# provide
|
47
|
-
# specified in section 4 of RFC4716.
|
46
|
+
# provide Amazon Web Services the public key, this is the MD5 public key
|
47
|
+
# fingerprint as specified in section 4 of RFC4716.
|
48
48
|
# @return [String]
|
49
49
|
def key_fingerprint
|
50
50
|
data[:key_fingerprint]
|
@@ -345,8 +345,8 @@ module Aws::EC2
|
|
345
345
|
# if its value is an empty string.
|
346
346
|
#
|
347
347
|
# If you omit this parameter, we delete all user-defined tags for the
|
348
|
-
# specified resources. We do not delete
|
349
|
-
# have the `aws:` prefix).
|
348
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
349
|
+
# tags (tags that have the `aws:` prefix).
|
350
350
|
# @return [Tag::Collection]
|
351
351
|
def delete_tags(options = {})
|
352
352
|
batch = []
|
@@ -334,8 +334,8 @@ module Aws::EC2
|
|
334
334
|
# if its value is an empty string.
|
335
335
|
#
|
336
336
|
# If you omit this parameter, we delete all user-defined tags for the
|
337
|
-
# specified resources. We do not delete
|
338
|
-
# have the `aws:` prefix).
|
337
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
338
|
+
# tags (tags that have the `aws:` prefix).
|
339
339
|
# @return [Tag::Collection]
|
340
340
|
def delete_tags(options = {})
|
341
341
|
batch = []
|
@@ -406,8 +406,8 @@ module Aws::EC2
|
|
406
406
|
# if its value is an empty string.
|
407
407
|
#
|
408
408
|
# If you omit this parameter, we delete all user-defined tags for the
|
409
|
-
# specified resources. We do not delete
|
410
|
-
# have the `aws:` prefix).
|
409
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
410
|
+
# tags (tags that have the `aws:` prefix).
|
411
411
|
# @return [Tag::Collection]
|
412
412
|
def delete_tags(options = {})
|
413
413
|
batch = []
|
@@ -413,7 +413,7 @@ module Aws::EC2
|
|
413
413
|
# interface.
|
414
414
|
#
|
415
415
|
# * `network-interface.requester-managed` - Indicates whether the
|
416
|
-
# network interface is being managed by
|
416
|
+
# network interface is being managed by Amazon Web Services.
|
417
417
|
#
|
418
418
|
# * `network-interface.status` - The status of the network interface
|
419
419
|
# (`available`) \| `in-use`).
|
@@ -432,7 +432,7 @@ module Aws::EC2
|
|
432
432
|
#
|
433
433
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
434
434
|
#
|
435
|
-
# * `owner-id` - The
|
435
|
+
# * `owner-id` - The account ID of the instance owner.
|
436
436
|
#
|
437
437
|
# * `placement-group-name` - The name of the placement group for the
|
438
438
|
# instance.
|
@@ -460,8 +460,8 @@ module Aws::EC2
|
|
460
460
|
# terminate the instance). Similar to the state-reason-code filter.
|
461
461
|
#
|
462
462
|
# * `requester-id` - The ID of the entity that launched the instance on
|
463
|
-
# your behalf (for example,
|
464
|
-
#
|
463
|
+
# your behalf (for example, Management Console, Auto Scaling, and so
|
464
|
+
# on).
|
465
465
|
#
|
466
466
|
# * `reservation-id` - The ID of the instance's reservation. A
|
467
467
|
# reservation ID is created any time you launch an instance. A
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -46,7 +46,7 @@ module Aws::EC2
|
|
46
46
|
# ],
|
47
47
|
# tag_specifications: [
|
48
48
|
# {
|
49
|
-
# 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
|
49
|
+
# 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
|
50
50
|
# tags: [
|
51
51
|
# {
|
52
52
|
# key: "String",
|
@@ -180,7 +180,7 @@ module Aws::EC2
|
|
180
180
|
# ],
|
181
181
|
# tag_specifications: [
|
182
182
|
# {
|
183
|
-
# 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
|
183
|
+
# 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
|
184
184
|
# tags: [
|
185
185
|
# {
|
186
186
|
# key: "String",
|
@@ -326,7 +326,8 @@ module Aws::EC2
|
|
326
326
|
# The ID of the RAM disk to select. Some kernels require additional
|
327
327
|
# drivers at launch. Check the kernel requirements for information about
|
328
328
|
# whether you need to specify a RAM disk. To find kernel requirements,
|
329
|
-
# go to the
|
329
|
+
# go to the Amazon Web Services Resource Center and search for the
|
330
|
+
# kernel ID.
|
330
331
|
#
|
331
332
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
332
333
|
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
@@ -504,8 +505,8 @@ module Aws::EC2
|
|
504
505
|
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
505
506
|
# Guide*.
|
506
507
|
#
|
507
|
-
# You can't enable hibernation and
|
508
|
-
# instance.
|
508
|
+
# You can't enable hibernation and Amazon Web Services Nitro Enclaves
|
509
|
+
# on the same instance.
|
509
510
|
#
|
510
511
|
#
|
511
512
|
#
|
@@ -520,12 +521,13 @@ module Aws::EC2
|
|
520
521
|
#
|
521
522
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
522
523
|
# @option options [Types::EnclaveOptionsRequest] :enclave_options
|
523
|
-
# Indicates whether the instance is enabled for
|
524
|
-
# more information, see [ What is
|
525
|
-
# Nitro Enclaves
|
524
|
+
# Indicates whether the instance is enabled for Amazon Web Services
|
525
|
+
# Nitro Enclaves. For more information, see [ What is Amazon Web
|
526
|
+
# Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
|
527
|
+
# Enclaves User Guide*.
|
526
528
|
#
|
527
|
-
# You can't enable
|
528
|
-
# instance.
|
529
|
+
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
530
|
+
# on the same instance.
|
529
531
|
#
|
530
532
|
#
|
531
533
|
#
|
@@ -549,7 +551,7 @@ module Aws::EC2
|
|
549
551
|
# internetgateway = ec2.create_internet_gateway({
|
550
552
|
# tag_specifications: [
|
551
553
|
# {
|
552
|
-
# 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
|
554
|
+
# 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
|
553
555
|
# tags: [
|
554
556
|
# {
|
555
557
|
# key: "String",
|
@@ -585,7 +587,7 @@ module Aws::EC2
|
|
585
587
|
# dry_run: false,
|
586
588
|
# tag_specifications: [
|
587
589
|
# {
|
588
|
-
# 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
|
590
|
+
# 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
|
589
591
|
# tags: [
|
590
592
|
# {
|
591
593
|
# key: "String",
|
@@ -626,7 +628,7 @@ module Aws::EC2
|
|
626
628
|
# subnet_id: "SubnetId", # required
|
627
629
|
# tag_specifications: [
|
628
630
|
# {
|
629
|
-
# 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
|
631
|
+
# 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
|
630
632
|
# tags: [
|
631
633
|
# {
|
632
634
|
# key: "String",
|
@@ -683,7 +685,7 @@ module Aws::EC2
|
|
683
685
|
# vpc_id: "VpcId", # required
|
684
686
|
# tag_specifications: [
|
685
687
|
# {
|
686
|
-
# 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
|
688
|
+
# 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
|
687
689
|
# tags: [
|
688
690
|
# {
|
689
691
|
# key: "String",
|
@@ -737,7 +739,7 @@ module Aws::EC2
|
|
737
739
|
# subnet_id: "SubnetId", # required
|
738
740
|
# tag_specifications: [
|
739
741
|
# {
|
740
|
-
# 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
|
742
|
+
# 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
|
741
743
|
# tags: [
|
742
744
|
# {
|
743
745
|
# key: "String",
|
@@ -834,7 +836,7 @@ module Aws::EC2
|
|
834
836
|
# partition_count: 1,
|
835
837
|
# tag_specifications: [
|
836
838
|
# {
|
837
|
-
# 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
|
839
|
+
# 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
|
838
840
|
# tags: [
|
839
841
|
# {
|
840
842
|
# key: "String",
|
@@ -878,7 +880,7 @@ module Aws::EC2
|
|
878
880
|
# vpc_id: "VpcId", # required
|
879
881
|
# tag_specifications: [
|
880
882
|
# {
|
881
|
-
# 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
|
883
|
+
# 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
|
882
884
|
# tags: [
|
883
885
|
# {
|
884
886
|
# key: "String",
|
@@ -916,7 +918,7 @@ module Aws::EC2
|
|
916
918
|
# vpc_id: "VpcId",
|
917
919
|
# tag_specifications: [
|
918
920
|
# {
|
919
|
-
# 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
|
921
|
+
# 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
|
920
922
|
# tags: [
|
921
923
|
# {
|
922
924
|
# key: "String",
|
@@ -972,7 +974,7 @@ module Aws::EC2
|
|
972
974
|
# volume_id: "VolumeId", # required
|
973
975
|
# tag_specifications: [
|
974
976
|
# {
|
975
|
-
# 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
|
977
|
+
# 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
|
976
978
|
# tags: [
|
977
979
|
# {
|
978
980
|
# key: "String",
|
@@ -1031,7 +1033,7 @@ module Aws::EC2
|
|
1031
1033
|
# subnet = ec2.create_subnet({
|
1032
1034
|
# tag_specifications: [
|
1033
1035
|
# {
|
1034
|
-
# 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
|
1036
|
+
# 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
|
1035
1037
|
# tags: [
|
1036
1038
|
# {
|
1037
1039
|
# key: "String",
|
@@ -1164,8 +1166,8 @@ module Aws::EC2
|
|
1164
1166
|
# if its value is an empty string.
|
1165
1167
|
#
|
1166
1168
|
# If you omit this parameter, we delete all user-defined tags for the
|
1167
|
-
# specified resources. We do not delete
|
1168
|
-
# have the `aws:` prefix).
|
1169
|
+
# specified resources. We do not delete Amazon Web Services-generated
|
1170
|
+
# tags (tags that have the `aws:` prefix).
|
1169
1171
|
# @return [EmptyStructure]
|
1170
1172
|
def delete_tags(options = {})
|
1171
1173
|
resp = @client.delete_tags(options)
|
@@ -1186,7 +1188,7 @@ module Aws::EC2
|
|
1186
1188
|
# dry_run: false,
|
1187
1189
|
# tag_specifications: [
|
1188
1190
|
# {
|
1189
|
-
# 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
|
1191
|
+
# 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
|
1190
1192
|
# tags: [
|
1191
1193
|
# {
|
1192
1194
|
# key: "String",
|
@@ -1353,7 +1355,7 @@ module Aws::EC2
|
|
1353
1355
|
# ipv_6_cidr_block_network_border_group: "String",
|
1354
1356
|
# tag_specifications: [
|
1355
1357
|
# {
|
1356
|
-
# 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
|
1358
|
+
# 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
|
1357
1359
|
# tags: [
|
1358
1360
|
# {
|
1359
1361
|
# key: "String",
|
@@ -1426,7 +1428,7 @@ module Aws::EC2
|
|
1426
1428
|
# peer_region: "String",
|
1427
1429
|
# tag_specifications: [
|
1428
1430
|
# {
|
1429
|
-
# 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
|
1431
|
+
# 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
|
1430
1432
|
# tags: [
|
1431
1433
|
# {
|
1432
1434
|
# key: "String",
|
@@ -1498,7 +1500,7 @@ module Aws::EC2
|
|
1498
1500
|
# public_key_material: "data", # required
|
1499
1501
|
# tag_specifications: [
|
1500
1502
|
# {
|
1501
|
-
# 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
|
1503
|
+
# 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
|
1502
1504
|
# tags: [
|
1503
1505
|
# {
|
1504
1506
|
# key: "String",
|
@@ -2173,7 +2175,7 @@ module Aws::EC2
|
|
2173
2175
|
# interface.
|
2174
2176
|
#
|
2175
2177
|
# * `network-interface.requester-managed` - Indicates whether the
|
2176
|
-
# network interface is being managed by
|
2178
|
+
# network interface is being managed by Amazon Web Services.
|
2177
2179
|
#
|
2178
2180
|
# * `network-interface.status` - The status of the network interface
|
2179
2181
|
# (`available`) \| `in-use`).
|
@@ -2192,7 +2194,7 @@ module Aws::EC2
|
|
2192
2194
|
#
|
2193
2195
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
2194
2196
|
#
|
2195
|
-
# * `owner-id` - The
|
2197
|
+
# * `owner-id` - The account ID of the instance owner.
|
2196
2198
|
#
|
2197
2199
|
# * `placement-group-name` - The name of the placement group for the
|
2198
2200
|
# instance.
|
@@ -2220,8 +2222,8 @@ module Aws::EC2
|
|
2220
2222
|
# terminate the instance). Similar to the state-reason-code filter.
|
2221
2223
|
#
|
2222
2224
|
# * `requester-id` - The ID of the entity that launched the instance on
|
2223
|
-
# your behalf (for example,
|
2224
|
-
#
|
2225
|
+
# your behalf (for example, Management Console, Auto Scaling, and so
|
2226
|
+
# on).
|
2225
2227
|
#
|
2226
2228
|
# * `reservation-id` - The ID of the instance's reservation. A
|
2227
2229
|
# reservation ID is created any time you launch an instance. A
|
@@ -2416,7 +2418,7 @@ module Aws::EC2
|
|
2416
2418
|
# @option options [Array<String>] :key_names
|
2417
2419
|
# The key pair names.
|
2418
2420
|
#
|
2419
|
-
# Default: Describes all your key pairs.
|
2421
|
+
# Default: Describes all of your key pairs.
|
2420
2422
|
# @option options [Array<String>] :key_pair_ids
|
2421
2423
|
# The IDs of the key pairs.
|
2422
2424
|
# @option options [Boolean] :dry_run
|
@@ -3026,8 +3028,8 @@ module Aws::EC2
|
|
3026
3028
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
3027
3029
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
3028
3030
|
#
|
3029
|
-
# * `egress.ip-permission.user-id` - The ID of an
|
3030
|
-
# been referenced in an outbound security group rule.
|
3031
|
+
# * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
|
3032
|
+
# account that has been referenced in an outbound security group rule.
|
3031
3033
|
#
|
3032
3034
|
# * `group-id` - The ID of the security group.
|
3033
3035
|
#
|
@@ -3058,10 +3060,11 @@ module Aws::EC2
|
|
3058
3060
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
3059
3061
|
# for the TCP and UDP protocols, or an ICMP code.
|
3060
3062
|
#
|
3061
|
-
# * `ip-permission.user-id` - The ID of an
|
3062
|
-
# referenced in an inbound security group rule.
|
3063
|
+
# * `ip-permission.user-id` - The ID of an Amazon Web Services account
|
3064
|
+
# that has been referenced in an inbound security group rule.
|
3063
3065
|
#
|
3064
|
-
# * `owner-id` - The
|
3066
|
+
# * `owner-id` - The Amazon Web Services account ID of the owner of the
|
3067
|
+
# security group.
|
3065
3068
|
#
|
3066
3069
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
3067
3070
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -3079,14 +3082,14 @@ module Aws::EC2
|
|
3079
3082
|
# The IDs of the security groups. Required for security groups in a
|
3080
3083
|
# nondefault VPC.
|
3081
3084
|
#
|
3082
|
-
# Default: Describes all your security groups.
|
3085
|
+
# Default: Describes all of your security groups.
|
3083
3086
|
# @option options [Array<String>] :group_names
|
3084
3087
|
# \[EC2-Classic and default VPC only\] The names of the security groups.
|
3085
3088
|
# You can specify either the security group name or the security group
|
3086
3089
|
# ID. For security groups in a nondefault VPC, use the `group-name`
|
3087
3090
|
# filter to describe security groups by name.
|
3088
3091
|
#
|
3089
|
-
# Default: Describes all your security groups.
|
3092
|
+
# Default: Describes all of your security groups.
|
3090
3093
|
# @option options [Boolean] :dry_run
|
3091
3094
|
# Checks whether you have the required permissions for the action,
|
3092
3095
|
# without actually making the request, and provides an error response.
|
@@ -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)
|