aws-sdk-ec2 1.478.0 → 1.480.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +11 -11
- data/lib/aws-sdk-ec2/client.rb +2723 -2650
- data/lib/aws-sdk-ec2/client_api.rb +459 -436
- data/lib/aws-sdk-ec2/dhcp_options.rb +6 -6
- data/lib/aws-sdk-ec2/endpoints.rb +11 -0
- data/lib/aws-sdk-ec2/image.rb +82 -82
- data/lib/aws-sdk-ec2/instance.rb +304 -304
- data/lib/aws-sdk-ec2/key_pair.rb +12 -12
- data/lib/aws-sdk-ec2/key_pair_info.rb +27 -27
- data/lib/aws-sdk-ec2/network_acl.rb +60 -60
- data/lib/aws-sdk-ec2/network_interface.rb +65 -65
- data/lib/aws-sdk-ec2/placement_group.rb +12 -12
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +597 -597
- data/lib/aws-sdk-ec2/route.rb +30 -30
- data/lib/aws-sdk-ec2/route_table.rb +37 -37
- data/lib/aws-sdk-ec2/security_group.rb +137 -137
- data/lib/aws-sdk-ec2/snapshot.rb +77 -77
- data/lib/aws-sdk-ec2/subnet.rb +278 -278
- data/lib/aws-sdk-ec2/types.rb +3322 -3269
- data/lib/aws-sdk-ec2/volume.rb +93 -93
- data/lib/aws-sdk-ec2/vpc.rb +143 -143
- data/lib/aws-sdk-ec2/vpc_address.rb +17 -17
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +5 -5
- data/sig/client.rbs +875 -860
- data/sig/dhcp_options.rbs +3 -3
- data/sig/image.rbs +41 -41
- data/sig/instance.rbs +108 -108
- data/sig/key_pair.rbs +6 -6
- data/sig/key_pair_info.rbs +3 -3
- data/sig/network_acl.rbs +16 -16
- data/sig/network_interface.rbs +22 -22
- data/sig/placement_group.rbs +3 -3
- data/sig/resource.rbs +201 -201
- data/sig/route.rbs +9 -9
- data/sig/route_table.rbs +10 -10
- data/sig/security_group.rbs +110 -110
- data/sig/snapshot.rbs +34 -34
- data/sig/subnet.rbs +116 -116
- data/sig/types.rbs +453 -437
- data/sig/volume.rbs +33 -33
- data/sig/vpc.rbs +46 -46
- data/sig/vpc_address.rbs +8 -8
- data/sig/waiters.rbs +113 -113
- metadata +2 -2
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -84,8 +84,6 @@ module Aws::EC2
|
|
84
84
|
# instance = ec2.create_instances({
|
85
85
|
# block_device_mappings: [
|
86
86
|
# {
|
87
|
-
# device_name: "String",
|
88
|
-
# virtual_name: "String",
|
89
87
|
# ebs: {
|
90
88
|
# delete_on_termination: false,
|
91
89
|
# iops: 1,
|
@@ -98,6 +96,8 @@ module Aws::EC2
|
|
98
96
|
# encrypted: false,
|
99
97
|
# },
|
100
98
|
# no_device: "String",
|
99
|
+
# device_name: "String",
|
100
|
+
# virtual_name: "String",
|
101
101
|
# },
|
102
102
|
# ],
|
103
103
|
# image_id: "ImageId",
|
@@ -117,7 +117,6 @@ module Aws::EC2
|
|
117
117
|
# enabled: false, # required
|
118
118
|
# },
|
119
119
|
# placement: {
|
120
|
-
# availability_zone: "String",
|
121
120
|
# affinity: "String",
|
122
121
|
# group_name: "PlacementGroupName",
|
123
122
|
# partition_number: 1,
|
@@ -126,76 +125,13 @@ module Aws::EC2
|
|
126
125
|
# spread_domain: "String",
|
127
126
|
# host_resource_group_arn: "String",
|
128
127
|
# group_id: "PlacementGroupId",
|
128
|
+
# availability_zone: "String",
|
129
129
|
# },
|
130
130
|
# ramdisk_id: "RamdiskId",
|
131
131
|
# security_group_ids: ["SecurityGroupId"],
|
132
132
|
# security_groups: ["SecurityGroupName"],
|
133
133
|
# subnet_id: "SubnetId",
|
134
134
|
# user_data: "RunInstancesUserData",
|
135
|
-
# additional_info: "String",
|
136
|
-
# client_token: "String",
|
137
|
-
# disable_api_termination: false,
|
138
|
-
# dry_run: false,
|
139
|
-
# ebs_optimized: false,
|
140
|
-
# iam_instance_profile: {
|
141
|
-
# arn: "String",
|
142
|
-
# name: "String",
|
143
|
-
# },
|
144
|
-
# instance_initiated_shutdown_behavior: "stop", # accepts stop, terminate
|
145
|
-
# network_interfaces: [
|
146
|
-
# {
|
147
|
-
# associate_public_ip_address: false,
|
148
|
-
# delete_on_termination: false,
|
149
|
-
# description: "String",
|
150
|
-
# device_index: 1,
|
151
|
-
# groups: ["SecurityGroupId"],
|
152
|
-
# ipv_6_address_count: 1,
|
153
|
-
# ipv_6_addresses: [
|
154
|
-
# {
|
155
|
-
# ipv_6_address: "String",
|
156
|
-
# is_primary_ipv_6: false,
|
157
|
-
# },
|
158
|
-
# ],
|
159
|
-
# network_interface_id: "NetworkInterfaceId",
|
160
|
-
# private_ip_address: "String",
|
161
|
-
# private_ip_addresses: [
|
162
|
-
# {
|
163
|
-
# primary: false,
|
164
|
-
# private_ip_address: "String",
|
165
|
-
# },
|
166
|
-
# ],
|
167
|
-
# secondary_private_ip_address_count: 1,
|
168
|
-
# subnet_id: "String",
|
169
|
-
# associate_carrier_ip_address: false,
|
170
|
-
# interface_type: "String",
|
171
|
-
# network_card_index: 1,
|
172
|
-
# ipv_4_prefixes: [
|
173
|
-
# {
|
174
|
-
# ipv_4_prefix: "String",
|
175
|
-
# },
|
176
|
-
# ],
|
177
|
-
# ipv_4_prefix_count: 1,
|
178
|
-
# ipv_6_prefixes: [
|
179
|
-
# {
|
180
|
-
# ipv_6_prefix: "String",
|
181
|
-
# },
|
182
|
-
# ],
|
183
|
-
# ipv_6_prefix_count: 1,
|
184
|
-
# primary_ipv_6: false,
|
185
|
-
# ena_srd_specification: {
|
186
|
-
# ena_srd_enabled: false,
|
187
|
-
# ena_srd_udp_specification: {
|
188
|
-
# ena_srd_udp_enabled: false,
|
189
|
-
# },
|
190
|
-
# },
|
191
|
-
# connection_tracking_specification: {
|
192
|
-
# tcp_established_timeout: 1,
|
193
|
-
# udp_stream_timeout: 1,
|
194
|
-
# udp_timeout: 1,
|
195
|
-
# },
|
196
|
-
# },
|
197
|
-
# ],
|
198
|
-
# private_ip_address: "String",
|
199
135
|
# elastic_gpu_specification: [
|
200
136
|
# {
|
201
137
|
# type: "String", # required
|
@@ -276,6 +212,70 @@ module Aws::EC2
|
|
276
212
|
# },
|
277
213
|
# disable_api_stop: false,
|
278
214
|
# enable_primary_ipv_6: false,
|
215
|
+
# dry_run: false,
|
216
|
+
# disable_api_termination: false,
|
217
|
+
# instance_initiated_shutdown_behavior: "stop", # accepts stop, terminate
|
218
|
+
# private_ip_address: "String",
|
219
|
+
# client_token: "String",
|
220
|
+
# additional_info: "String",
|
221
|
+
# network_interfaces: [
|
222
|
+
# {
|
223
|
+
# associate_public_ip_address: false,
|
224
|
+
# delete_on_termination: false,
|
225
|
+
# description: "String",
|
226
|
+
# device_index: 1,
|
227
|
+
# groups: ["SecurityGroupId"],
|
228
|
+
# ipv_6_address_count: 1,
|
229
|
+
# ipv_6_addresses: [
|
230
|
+
# {
|
231
|
+
# ipv_6_address: "String",
|
232
|
+
# is_primary_ipv_6: false,
|
233
|
+
# },
|
234
|
+
# ],
|
235
|
+
# network_interface_id: "NetworkInterfaceId",
|
236
|
+
# private_ip_address: "String",
|
237
|
+
# private_ip_addresses: [
|
238
|
+
# {
|
239
|
+
# primary: false,
|
240
|
+
# private_ip_address: "String",
|
241
|
+
# },
|
242
|
+
# ],
|
243
|
+
# secondary_private_ip_address_count: 1,
|
244
|
+
# subnet_id: "String",
|
245
|
+
# associate_carrier_ip_address: false,
|
246
|
+
# interface_type: "String",
|
247
|
+
# network_card_index: 1,
|
248
|
+
# ipv_4_prefixes: [
|
249
|
+
# {
|
250
|
+
# ipv_4_prefix: "String",
|
251
|
+
# },
|
252
|
+
# ],
|
253
|
+
# ipv_4_prefix_count: 1,
|
254
|
+
# ipv_6_prefixes: [
|
255
|
+
# {
|
256
|
+
# ipv_6_prefix: "String",
|
257
|
+
# },
|
258
|
+
# ],
|
259
|
+
# ipv_6_prefix_count: 1,
|
260
|
+
# primary_ipv_6: false,
|
261
|
+
# ena_srd_specification: {
|
262
|
+
# ena_srd_enabled: false,
|
263
|
+
# ena_srd_udp_specification: {
|
264
|
+
# ena_srd_udp_enabled: false,
|
265
|
+
# },
|
266
|
+
# },
|
267
|
+
# connection_tracking_specification: {
|
268
|
+
# tcp_established_timeout: 1,
|
269
|
+
# udp_stream_timeout: 1,
|
270
|
+
# udp_timeout: 1,
|
271
|
+
# },
|
272
|
+
# },
|
273
|
+
# ],
|
274
|
+
# iam_instance_profile: {
|
275
|
+
# arn: "String",
|
276
|
+
# name: "String",
|
277
|
+
# },
|
278
|
+
# ebs_optimized: false,
|
279
279
|
# })
|
280
280
|
# @param [Hash] options ({})
|
281
281
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -411,70 +411,6 @@ module Aws::EC2
|
|
411
411
|
#
|
412
412
|
#
|
413
413
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-add-user-data.html
|
414
|
-
# @option options [String] :additional_info
|
415
|
-
# Reserved.
|
416
|
-
# @option options [String] :client_token
|
417
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
418
|
-
# idempotency of the request. If you do not specify a client token, a
|
419
|
-
# randomly generated token is used for the request to ensure
|
420
|
-
# idempotency.
|
421
|
-
#
|
422
|
-
# For more information, see [Ensuring Idempotency][1].
|
423
|
-
#
|
424
|
-
# Constraints: Maximum 64 ASCII characters
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
428
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
429
|
-
# @option options [Boolean] :disable_api_termination
|
430
|
-
# If you set this parameter to `true`, you can't terminate the instance
|
431
|
-
# using the Amazon EC2 console, CLI, or API; otherwise, you can. To
|
432
|
-
# change this attribute after launch, use [ModifyInstanceAttribute][1].
|
433
|
-
# Alternatively, if you set `InstanceInitiatedShutdownBehavior` to
|
434
|
-
# `terminate`, you can terminate the instance by running the shutdown
|
435
|
-
# command from the instance.
|
436
|
-
#
|
437
|
-
# Default: `false`
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
442
|
-
# @option options [Boolean] :dry_run
|
443
|
-
# Checks whether you have the required permissions for the action,
|
444
|
-
# without actually making the request, and provides an error response.
|
445
|
-
# If you have the required permissions, the error response is
|
446
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
447
|
-
# @option options [Boolean] :ebs_optimized
|
448
|
-
# Indicates whether the instance is optimized for Amazon EBS I/O. This
|
449
|
-
# optimization provides dedicated throughput to Amazon EBS and an
|
450
|
-
# optimized configuration stack to provide optimal Amazon EBS I/O
|
451
|
-
# performance. This optimization isn't available with all instance
|
452
|
-
# types. Additional usage charges apply when using an EBS-optimized
|
453
|
-
# instance.
|
454
|
-
#
|
455
|
-
# Default: `false`
|
456
|
-
# @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
|
457
|
-
# The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
458
|
-
# @option options [String] :instance_initiated_shutdown_behavior
|
459
|
-
# Indicates whether an instance stops or terminates when you initiate
|
460
|
-
# shutdown from the instance (using the operating system command for
|
461
|
-
# system shutdown).
|
462
|
-
#
|
463
|
-
# Default: `stop`
|
464
|
-
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
465
|
-
# The network interfaces to associate with the instance.
|
466
|
-
# @option options [String] :private_ip_address
|
467
|
-
# The primary IPv4 address. You must specify a value from the IPv4
|
468
|
-
# address range of the subnet.
|
469
|
-
#
|
470
|
-
# Only one private IP address can be designated as primary. You can't
|
471
|
-
# specify this option if you've specified the option to designate a
|
472
|
-
# private IP address as the primary IP address in a network interface
|
473
|
-
# specification. You cannot specify this option if you're launching
|
474
|
-
# more than one instance in the request.
|
475
|
-
#
|
476
|
-
# You cannot specify this option and the network interfaces option in
|
477
|
-
# the same request.
|
478
414
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
479
415
|
# An elastic GPU to associate with the instance.
|
480
416
|
#
|
@@ -613,6 +549,70 @@ module Aws::EC2
|
|
613
549
|
# attached to your instance and you enable a primary IPv6 address, the
|
614
550
|
# first IPv6 GUA address associated with the ENI becomes the primary
|
615
551
|
# IPv6 address.
|
552
|
+
# @option options [Boolean] :dry_run
|
553
|
+
# Checks whether you have the required permissions for the operation,
|
554
|
+
# without actually making the request, and provides an error response.
|
555
|
+
# If you have the required permissions, the error response is
|
556
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
557
|
+
# @option options [Boolean] :disable_api_termination
|
558
|
+
# If you set this parameter to `true`, you can't terminate the instance
|
559
|
+
# using the Amazon EC2 console, CLI, or API; otherwise, you can. To
|
560
|
+
# change this attribute after launch, use [ModifyInstanceAttribute][1].
|
561
|
+
# Alternatively, if you set `InstanceInitiatedShutdownBehavior` to
|
562
|
+
# `terminate`, you can terminate the instance by running the shutdown
|
563
|
+
# command from the instance.
|
564
|
+
#
|
565
|
+
# Default: `false`
|
566
|
+
#
|
567
|
+
#
|
568
|
+
#
|
569
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
570
|
+
# @option options [String] :instance_initiated_shutdown_behavior
|
571
|
+
# Indicates whether an instance stops or terminates when you initiate
|
572
|
+
# shutdown from the instance (using the operating system command for
|
573
|
+
# system shutdown).
|
574
|
+
#
|
575
|
+
# Default: `stop`
|
576
|
+
# @option options [String] :private_ip_address
|
577
|
+
# The primary IPv4 address. You must specify a value from the IPv4
|
578
|
+
# address range of the subnet.
|
579
|
+
#
|
580
|
+
# Only one private IP address can be designated as primary. You can't
|
581
|
+
# specify this option if you've specified the option to designate a
|
582
|
+
# private IP address as the primary IP address in a network interface
|
583
|
+
# specification. You cannot specify this option if you're launching
|
584
|
+
# more than one instance in the request.
|
585
|
+
#
|
586
|
+
# You cannot specify this option and the network interfaces option in
|
587
|
+
# the same request.
|
588
|
+
# @option options [String] :client_token
|
589
|
+
# Unique, case-sensitive identifier you provide to ensure the
|
590
|
+
# idempotency of the request. If you do not specify a client token, a
|
591
|
+
# randomly generated token is used for the request to ensure
|
592
|
+
# idempotency.
|
593
|
+
#
|
594
|
+
# For more information, see [Ensuring Idempotency][1].
|
595
|
+
#
|
596
|
+
# Constraints: Maximum 64 ASCII characters
|
597
|
+
#
|
598
|
+
#
|
599
|
+
#
|
600
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
601
|
+
# @option options [String] :additional_info
|
602
|
+
# Reserved.
|
603
|
+
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
604
|
+
# The network interfaces to associate with the instance.
|
605
|
+
# @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
|
606
|
+
# The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
607
|
+
# @option options [Boolean] :ebs_optimized
|
608
|
+
# Indicates whether the instance is optimized for Amazon EBS I/O. This
|
609
|
+
# optimization provides dedicated throughput to Amazon EBS and an
|
610
|
+
# optimized configuration stack to provide optimal Amazon EBS I/O
|
611
|
+
# performance. This optimization isn't available with all instance
|
612
|
+
# types. Additional usage charges apply when using an EBS-optimized
|
613
|
+
# instance.
|
614
|
+
#
|
615
|
+
# Default: `false`
|
616
616
|
# @return [Instance::Collection]
|
617
617
|
def create_instances(options = {})
|
618
618
|
batch = []
|
@@ -669,7 +669,6 @@ module Aws::EC2
|
|
669
669
|
#
|
670
670
|
# keypair = ec2.create_key_pair({
|
671
671
|
# key_name: "String", # required
|
672
|
-
# dry_run: false,
|
673
672
|
# key_type: "rsa", # accepts rsa, ed25519
|
674
673
|
# tag_specifications: [
|
675
674
|
# {
|
@@ -683,17 +682,13 @@ module Aws::EC2
|
|
683
682
|
# },
|
684
683
|
# ],
|
685
684
|
# key_format: "pem", # accepts pem, ppk
|
685
|
+
# dry_run: false,
|
686
686
|
# })
|
687
687
|
# @param [Hash] options ({})
|
688
688
|
# @option options [required, String] :key_name
|
689
689
|
# A unique name for the key pair.
|
690
690
|
#
|
691
691
|
# Constraints: Up to 255 ASCII characters
|
692
|
-
# @option options [Boolean] :dry_run
|
693
|
-
# Checks whether you have the required permissions for the action,
|
694
|
-
# without actually making the request, and provides an error response.
|
695
|
-
# If you have the required permissions, the error response is
|
696
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
697
692
|
# @option options [String] :key_type
|
698
693
|
# The type of key pair. Note that ED25519 keys are not supported for
|
699
694
|
# Windows instances.
|
@@ -705,6 +700,11 @@ module Aws::EC2
|
|
705
700
|
# The format of the key pair.
|
706
701
|
#
|
707
702
|
# Default: `pem`
|
703
|
+
# @option options [Boolean] :dry_run
|
704
|
+
# Checks whether you have the required permissions for the action,
|
705
|
+
# without actually making the request, and provides an error response.
|
706
|
+
# If you have the required permissions, the error response is
|
707
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
708
708
|
# @return [KeyPair]
|
709
709
|
def create_key_pair(options = {})
|
710
710
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -780,7 +780,7 @@ module Aws::EC2
|
|
780
780
|
#
|
781
781
|
#
|
782
782
|
#
|
783
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
783
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
|
784
784
|
# @option options [Array<String>] :secondary_private_ip_addresses
|
785
785
|
# Secondary private IPv4 addresses. For more information about secondary
|
786
786
|
# addresses, see [Create a NAT gateway][1] in the *Amazon VPC User
|
@@ -788,7 +788,7 @@ module Aws::EC2
|
|
788
788
|
#
|
789
789
|
#
|
790
790
|
#
|
791
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
791
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
|
792
792
|
# @option options [Integer] :secondary_private_ip_address_count
|
793
793
|
# \[Private NAT gateway only\] The number of secondary private IPv4
|
794
794
|
# addresses you want to assign to the NAT gateway. For more information
|
@@ -797,7 +797,7 @@ module Aws::EC2
|
|
797
797
|
#
|
798
798
|
#
|
799
799
|
#
|
800
|
-
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
|
800
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-working-with.html
|
801
801
|
# @return [NatGateway]
|
802
802
|
def create_nat_gateway(options = {})
|
803
803
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -813,8 +813,6 @@ module Aws::EC2
|
|
813
813
|
# @example Request syntax with placeholder values
|
814
814
|
#
|
815
815
|
# networkacl = ec2.create_network_acl({
|
816
|
-
# dry_run: false,
|
817
|
-
# vpc_id: "VpcId", # required
|
818
816
|
# tag_specifications: [
|
819
817
|
# {
|
820
818
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
|
@@ -827,15 +825,10 @@ module Aws::EC2
|
|
827
825
|
# },
|
828
826
|
# ],
|
829
827
|
# client_token: "String",
|
828
|
+
# dry_run: false,
|
829
|
+
# vpc_id: "VpcId", # required
|
830
830
|
# })
|
831
831
|
# @param [Hash] options ({})
|
832
|
-
# @option options [Boolean] :dry_run
|
833
|
-
# Checks whether you have the required permissions for the action,
|
834
|
-
# without actually making the request, and provides an error response.
|
835
|
-
# If you have the required permissions, the error response is
|
836
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
837
|
-
# @option options [required, String] :vpc_id
|
838
|
-
# The ID of the VPC.
|
839
832
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
840
833
|
# The tags to assign to the network ACL.
|
841
834
|
# @option options [String] :client_token
|
@@ -846,6 +839,13 @@ module Aws::EC2
|
|
846
839
|
#
|
847
840
|
#
|
848
841
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
842
|
+
# @option options [Boolean] :dry_run
|
843
|
+
# Checks whether you have the required permissions for the action,
|
844
|
+
# without actually making the request, and provides an error response.
|
845
|
+
# If you have the required permissions, the error response is
|
846
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
847
|
+
# @option options [required, String] :vpc_id
|
848
|
+
# The ID of the VPC.
|
849
849
|
# @return [NetworkAcl]
|
850
850
|
def create_network_acl(options = {})
|
851
851
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -861,24 +861,6 @@ module Aws::EC2
|
|
861
861
|
# @example Request syntax with placeholder values
|
862
862
|
#
|
863
863
|
# networkinterface = ec2.create_network_interface({
|
864
|
-
# description: "String",
|
865
|
-
# dry_run: false,
|
866
|
-
# groups: ["SecurityGroupId"],
|
867
|
-
# ipv_6_address_count: 1,
|
868
|
-
# ipv_6_addresses: [
|
869
|
-
# {
|
870
|
-
# ipv_6_address: "String",
|
871
|
-
# is_primary_ipv_6: false,
|
872
|
-
# },
|
873
|
-
# ],
|
874
|
-
# private_ip_address: "String",
|
875
|
-
# private_ip_addresses: [
|
876
|
-
# {
|
877
|
-
# primary: false,
|
878
|
-
# private_ip_address: "String",
|
879
|
-
# },
|
880
|
-
# ],
|
881
|
-
# secondary_private_ip_address_count: 1,
|
882
864
|
# ipv_4_prefixes: [
|
883
865
|
# {
|
884
866
|
# ipv_4_prefix: "String",
|
@@ -892,7 +874,6 @@ module Aws::EC2
|
|
892
874
|
# ],
|
893
875
|
# ipv_6_prefix_count: 1,
|
894
876
|
# interface_type: "efa", # accepts efa, branch, trunk
|
895
|
-
# subnet_id: "SubnetId", # required
|
896
877
|
# tag_specifications: [
|
897
878
|
# {
|
898
879
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
|
@@ -911,56 +892,27 @@ module Aws::EC2
|
|
911
892
|
# udp_stream_timeout: 1,
|
912
893
|
# udp_timeout: 1,
|
913
894
|
# },
|
895
|
+
# subnet_id: "SubnetId", # required
|
896
|
+
# description: "String",
|
897
|
+
# private_ip_address: "String",
|
898
|
+
# groups: ["SecurityGroupId"],
|
899
|
+
# private_ip_addresses: [
|
900
|
+
# {
|
901
|
+
# primary: false,
|
902
|
+
# private_ip_address: "String",
|
903
|
+
# },
|
904
|
+
# ],
|
905
|
+
# secondary_private_ip_address_count: 1,
|
906
|
+
# ipv_6_addresses: [
|
907
|
+
# {
|
908
|
+
# ipv_6_address: "String",
|
909
|
+
# is_primary_ipv_6: false,
|
910
|
+
# },
|
911
|
+
# ],
|
912
|
+
# ipv_6_address_count: 1,
|
913
|
+
# dry_run: false,
|
914
914
|
# })
|
915
915
|
# @param [Hash] options ({})
|
916
|
-
# @option options [String] :description
|
917
|
-
# A description for the network interface.
|
918
|
-
# @option options [Boolean] :dry_run
|
919
|
-
# Checks whether you have the required permissions for the action,
|
920
|
-
# without actually making the request, and provides an error response.
|
921
|
-
# If you have the required permissions, the error response is
|
922
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
923
|
-
# @option options [Array<String>] :groups
|
924
|
-
# The IDs of one or more security groups.
|
925
|
-
# @option options [Integer] :ipv_6_address_count
|
926
|
-
# The number of IPv6 addresses to assign to a network interface. Amazon
|
927
|
-
# EC2 automatically selects the IPv6 addresses from the subnet range.
|
928
|
-
#
|
929
|
-
# You can't specify a count of IPv6 addresses using this parameter if
|
930
|
-
# you've specified one of the following: specific IPv6 addresses,
|
931
|
-
# specific IPv6 prefixes, or a count of IPv6 prefixes.
|
932
|
-
#
|
933
|
-
# If your subnet has the `AssignIpv6AddressOnCreation` attribute set,
|
934
|
-
# you can override that setting by specifying 0 as the IPv6 address
|
935
|
-
# count.
|
936
|
-
# @option options [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
|
937
|
-
# The IPv6 addresses from the IPv6 CIDR block range of your subnet.
|
938
|
-
#
|
939
|
-
# You can't specify IPv6 addresses using this parameter if you've
|
940
|
-
# specified one of the following: a count of IPv6 addresses, specific
|
941
|
-
# IPv6 prefixes, or a count of IPv6 prefixes.
|
942
|
-
# @option options [String] :private_ip_address
|
943
|
-
# The primary private IPv4 address of the network interface. If you
|
944
|
-
# don't specify an IPv4 address, Amazon EC2 selects one for you from
|
945
|
-
# the subnet's IPv4 CIDR range. If you specify an IP address, you
|
946
|
-
# cannot indicate any IP addresses specified in `privateIpAddresses` as
|
947
|
-
# primary (only one IP address can be designated as primary).
|
948
|
-
# @option options [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
|
949
|
-
# The private IPv4 addresses.
|
950
|
-
#
|
951
|
-
# You can't specify private IPv4 addresses if you've specified one of
|
952
|
-
# the following: a count of private IPv4 addresses, specific IPv4
|
953
|
-
# prefixes, or a count of IPv4 prefixes.
|
954
|
-
# @option options [Integer] :secondary_private_ip_address_count
|
955
|
-
# The number of secondary private IPv4 addresses to assign to a network
|
956
|
-
# interface. When you specify a number of secondary IPv4 addresses,
|
957
|
-
# Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR
|
958
|
-
# range. You can't specify this option and specify more than one
|
959
|
-
# private IP address using `privateIpAddresses`.
|
960
|
-
#
|
961
|
-
# You can't specify a count of private IPv4 addresses if you've
|
962
|
-
# specified one of the following: specific private IPv4 addresses,
|
963
|
-
# specific IPv4 prefixes, or a count of IPv4 prefixes.
|
964
916
|
# @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
|
965
917
|
# The IPv4 prefixes assigned to the network interface.
|
966
918
|
#
|
@@ -991,8 +943,6 @@ module Aws::EC2
|
|
991
943
|
# The type of network interface. The default is `interface`.
|
992
944
|
#
|
993
945
|
# The only supported values are `interface`, `efa`, and `trunk`.
|
994
|
-
# @option options [required, String] :subnet_id
|
995
|
-
# The ID of the subnet to associate with the network interface.
|
996
946
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
997
947
|
# The tags to apply to the new network interface.
|
998
948
|
# @option options [String] :client_token
|
@@ -1021,6 +971,56 @@ module Aws::EC2
|
|
1021
971
|
# the primary IPv6 address.
|
1022
972
|
# @option options [Types::ConnectionTrackingSpecificationRequest] :connection_tracking_specification
|
1023
973
|
# A connection tracking specification for the network interface.
|
974
|
+
# @option options [required, String] :subnet_id
|
975
|
+
# The ID of the subnet to associate with the network interface.
|
976
|
+
# @option options [String] :description
|
977
|
+
# A description for the network interface.
|
978
|
+
# @option options [String] :private_ip_address
|
979
|
+
# The primary private IPv4 address of the network interface. If you
|
980
|
+
# don't specify an IPv4 address, Amazon EC2 selects one for you from
|
981
|
+
# the subnet's IPv4 CIDR range. If you specify an IP address, you
|
982
|
+
# cannot indicate any IP addresses specified in `privateIpAddresses` as
|
983
|
+
# primary (only one IP address can be designated as primary).
|
984
|
+
# @option options [Array<String>] :groups
|
985
|
+
# The IDs of one or more security groups.
|
986
|
+
# @option options [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
|
987
|
+
# The private IPv4 addresses.
|
988
|
+
#
|
989
|
+
# You can't specify private IPv4 addresses if you've specified one of
|
990
|
+
# the following: a count of private IPv4 addresses, specific IPv4
|
991
|
+
# prefixes, or a count of IPv4 prefixes.
|
992
|
+
# @option options [Integer] :secondary_private_ip_address_count
|
993
|
+
# The number of secondary private IPv4 addresses to assign to a network
|
994
|
+
# interface. When you specify a number of secondary IPv4 addresses,
|
995
|
+
# Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR
|
996
|
+
# range. You can't specify this option and specify more than one
|
997
|
+
# private IP address using `privateIpAddresses`.
|
998
|
+
#
|
999
|
+
# You can't specify a count of private IPv4 addresses if you've
|
1000
|
+
# specified one of the following: specific private IPv4 addresses,
|
1001
|
+
# specific IPv4 prefixes, or a count of IPv4 prefixes.
|
1002
|
+
# @option options [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
|
1003
|
+
# The IPv6 addresses from the IPv6 CIDR block range of your subnet.
|
1004
|
+
#
|
1005
|
+
# You can't specify IPv6 addresses using this parameter if you've
|
1006
|
+
# specified one of the following: a count of IPv6 addresses, specific
|
1007
|
+
# IPv6 prefixes, or a count of IPv6 prefixes.
|
1008
|
+
# @option options [Integer] :ipv_6_address_count
|
1009
|
+
# The number of IPv6 addresses to assign to a network interface. Amazon
|
1010
|
+
# EC2 automatically selects the IPv6 addresses from the subnet range.
|
1011
|
+
#
|
1012
|
+
# You can't specify a count of IPv6 addresses using this parameter if
|
1013
|
+
# you've specified one of the following: specific IPv6 addresses,
|
1014
|
+
# specific IPv6 prefixes, or a count of IPv6 prefixes.
|
1015
|
+
#
|
1016
|
+
# If your subnet has the `AssignIpv6AddressOnCreation` attribute set,
|
1017
|
+
# you can override that setting by specifying 0 as the IPv6 address
|
1018
|
+
# count.
|
1019
|
+
# @option options [Boolean] :dry_run
|
1020
|
+
# Checks whether you have the required permissions for the action,
|
1021
|
+
# without actually making the request, and provides an error response.
|
1022
|
+
# If you have the required permissions, the error response is
|
1023
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1024
1024
|
# @return [NetworkInterface]
|
1025
1025
|
def create_network_interface(options = {})
|
1026
1026
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1036,9 +1036,6 @@ module Aws::EC2
|
|
1036
1036
|
# @example Request syntax with placeholder values
|
1037
1037
|
#
|
1038
1038
|
# placementgroup = ec2.create_placement_group({
|
1039
|
-
# dry_run: false,
|
1040
|
-
# group_name: "String",
|
1041
|
-
# strategy: "cluster", # accepts cluster, spread, partition
|
1042
1039
|
# partition_count: 1,
|
1043
1040
|
# tag_specifications: [
|
1044
1041
|
# {
|
@@ -1052,20 +1049,11 @@ module Aws::EC2
|
|
1052
1049
|
# },
|
1053
1050
|
# ],
|
1054
1051
|
# spread_level: "host", # accepts host, rack
|
1052
|
+
# dry_run: false,
|
1053
|
+
# group_name: "String",
|
1054
|
+
# strategy: "cluster", # accepts cluster, spread, partition
|
1055
1055
|
# })
|
1056
1056
|
# @param [Hash] options ({})
|
1057
|
-
# @option options [Boolean] :dry_run
|
1058
|
-
# Checks whether you have the required permissions for the action,
|
1059
|
-
# without actually making the request, and provides an error response.
|
1060
|
-
# If you have the required permissions, the error response is
|
1061
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1062
|
-
# @option options [String] :group_name
|
1063
|
-
# A name for the placement group. Must be unique within the scope of
|
1064
|
-
# your account for the Region.
|
1065
|
-
#
|
1066
|
-
# Constraints: Up to 255 ASCII characters
|
1067
|
-
# @option options [String] :strategy
|
1068
|
-
# The placement strategy.
|
1069
1057
|
# @option options [Integer] :partition_count
|
1070
1058
|
# The number of partitions. Valid only when **Strategy** is set to
|
1071
1059
|
# `partition`.
|
@@ -1077,6 +1065,18 @@ module Aws::EC2
|
|
1077
1065
|
# * Host – You can use `host` only with Outpost placement groups.
|
1078
1066
|
#
|
1079
1067
|
# * Rack – No usage restrictions.
|
1068
|
+
# @option options [Boolean] :dry_run
|
1069
|
+
# Checks whether you have the required permissions for the operation,
|
1070
|
+
# without actually making the request, and provides an error response.
|
1071
|
+
# If you have the required permissions, the error response is
|
1072
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1073
|
+
# @option options [String] :group_name
|
1074
|
+
# A name for the placement group. Must be unique within the scope of
|
1075
|
+
# your account for the Region.
|
1076
|
+
#
|
1077
|
+
# Constraints: Up to 255 ASCII characters
|
1078
|
+
# @option options [String] :strategy
|
1079
|
+
# The placement strategy.
|
1080
1080
|
# @return [PlacementGroup]
|
1081
1081
|
def create_placement_group(options = {})
|
1082
1082
|
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1091,8 +1091,6 @@ module Aws::EC2
|
|
1091
1091
|
# @example Request syntax with placeholder values
|
1092
1092
|
#
|
1093
1093
|
# routetable = ec2.create_route_table({
|
1094
|
-
# dry_run: false,
|
1095
|
-
# vpc_id: "VpcId", # required
|
1096
1094
|
# tag_specifications: [
|
1097
1095
|
# {
|
1098
1096
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
|
@@ -1105,15 +1103,10 @@ module Aws::EC2
|
|
1105
1103
|
# },
|
1106
1104
|
# ],
|
1107
1105
|
# client_token: "String",
|
1106
|
+
# dry_run: false,
|
1107
|
+
# vpc_id: "VpcId", # required
|
1108
1108
|
# })
|
1109
1109
|
# @param [Hash] options ({})
|
1110
|
-
# @option options [Boolean] :dry_run
|
1111
|
-
# Checks whether you have the required permissions for the action,
|
1112
|
-
# without actually making the request, and provides an error response.
|
1113
|
-
# If you have the required permissions, the error response is
|
1114
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1115
|
-
# @option options [required, String] :vpc_id
|
1116
|
-
# The ID of the VPC.
|
1117
1110
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1118
1111
|
# The tags to assign to the route table.
|
1119
1112
|
# @option options [String] :client_token
|
@@ -1124,6 +1117,13 @@ module Aws::EC2
|
|
1124
1117
|
#
|
1125
1118
|
#
|
1126
1119
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
1120
|
+
# @option options [Boolean] :dry_run
|
1121
|
+
# Checks whether you have the required permissions for the action,
|
1122
|
+
# without actually making the request, and provides an error response.
|
1123
|
+
# If you have the required permissions, the error response is
|
1124
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1125
|
+
# @option options [required, String] :vpc_id
|
1126
|
+
# The ID of the VPC.
|
1127
1127
|
# @return [RouteTable]
|
1128
1128
|
def create_route_table(options = {})
|
1129
1129
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1274,12 +1274,12 @@ module Aws::EC2
|
|
1274
1274
|
# ipv_6_cidr_block: "String",
|
1275
1275
|
# outpost_arn: "String",
|
1276
1276
|
# vpc_id: "VpcId", # required
|
1277
|
-
# dry_run: false,
|
1278
1277
|
# ipv_6_native: false,
|
1279
1278
|
# ipv_4_ipam_pool_id: "IpamPoolId",
|
1280
1279
|
# ipv_4_netmask_length: 1,
|
1281
1280
|
# ipv_6_ipam_pool_id: "IpamPoolId",
|
1282
1281
|
# ipv_6_netmask_length: 1,
|
1282
|
+
# dry_run: false,
|
1283
1283
|
# })
|
1284
1284
|
# @param [Hash] options ({})
|
1285
1285
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1319,11 +1319,6 @@ module Aws::EC2
|
|
1319
1319
|
# Outpost subnet.
|
1320
1320
|
# @option options [required, String] :vpc_id
|
1321
1321
|
# The ID of the VPC.
|
1322
|
-
# @option options [Boolean] :dry_run
|
1323
|
-
# Checks whether you have the required permissions for the action,
|
1324
|
-
# without actually making the request, and provides an error response.
|
1325
|
-
# If you have the required permissions, the error response is
|
1326
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1327
1322
|
# @option options [Boolean] :ipv_6_native
|
1328
1323
|
# Indicates whether to create an IPv6 only subnet.
|
1329
1324
|
# @option options [String] :ipv_4_ipam_pool_id
|
@@ -1334,6 +1329,11 @@ module Aws::EC2
|
|
1334
1329
|
# An IPv6 IPAM pool ID for the subnet.
|
1335
1330
|
# @option options [Integer] :ipv_6_netmask_length
|
1336
1331
|
# An IPv6 netmask length for the subnet.
|
1332
|
+
# @option options [Boolean] :dry_run
|
1333
|
+
# Checks whether you have the required permissions for the action,
|
1334
|
+
# without actually making the request, and provides an error response.
|
1335
|
+
# If you have the required permissions, the error response is
|
1336
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1337
1337
|
# @return [Subnet]
|
1338
1338
|
def create_subnet(options = {})
|
1339
1339
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1435,7 +1435,6 @@ module Aws::EC2
|
|
1435
1435
|
# size: 1,
|
1436
1436
|
# snapshot_id: "SnapshotId",
|
1437
1437
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
1438
|
-
# dry_run: false,
|
1439
1438
|
# tag_specifications: [
|
1440
1439
|
# {
|
1441
1440
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
|
@@ -1450,6 +1449,7 @@ module Aws::EC2
|
|
1450
1449
|
# multi_attach_enabled: false,
|
1451
1450
|
# throughput: 1,
|
1452
1451
|
# client_token: "String",
|
1452
|
+
# dry_run: false,
|
1453
1453
|
# })
|
1454
1454
|
# @param [Hash] options ({})
|
1455
1455
|
# @option options [required, String] :availability_zone
|
@@ -1569,11 +1569,6 @@ module Aws::EC2
|
|
1569
1569
|
#
|
1570
1570
|
#
|
1571
1571
|
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
|
1572
|
-
# @option options [Boolean] :dry_run
|
1573
|
-
# Checks whether you have the required permissions for the action,
|
1574
|
-
# without actually making the request, and provides an error response.
|
1575
|
-
# If you have the required permissions, the error response is
|
1576
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1577
1572
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1578
1573
|
# The tags to apply to the volume during creation.
|
1579
1574
|
# @option options [Boolean] :multi_attach_enabled
|
@@ -1602,6 +1597,11 @@ module Aws::EC2
|
|
1602
1597
|
#
|
1603
1598
|
#
|
1604
1599
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
1600
|
+
# @option options [Boolean] :dry_run
|
1601
|
+
# Checks whether you have the required permissions for the action,
|
1602
|
+
# without actually making the request, and provides an error response.
|
1603
|
+
# If you have the required permissions, the error response is
|
1604
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1605
1605
|
# @return [Volume]
|
1606
1606
|
def create_volume(options = {})
|
1607
1607
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1618,15 +1618,12 @@ module Aws::EC2
|
|
1618
1618
|
#
|
1619
1619
|
# vpc = ec2.create_vpc({
|
1620
1620
|
# cidr_block: "String",
|
1621
|
-
# amazon_provided_ipv_6_cidr_block: false,
|
1622
1621
|
# ipv_6_pool: "Ipv6PoolEc2Id",
|
1623
1622
|
# ipv_6_cidr_block: "String",
|
1624
1623
|
# ipv_4_ipam_pool_id: "IpamPoolId",
|
1625
1624
|
# ipv_4_netmask_length: 1,
|
1626
1625
|
# ipv_6_ipam_pool_id: "IpamPoolId",
|
1627
1626
|
# ipv_6_netmask_length: 1,
|
1628
|
-
# dry_run: false,
|
1629
|
-
# instance_tenancy: "default", # accepts default, dedicated, host
|
1630
1627
|
# ipv_6_cidr_block_network_border_group: "String",
|
1631
1628
|
# tag_specifications: [
|
1632
1629
|
# {
|
@@ -1639,6 +1636,9 @@ module Aws::EC2
|
|
1639
1636
|
# ],
|
1640
1637
|
# },
|
1641
1638
|
# ],
|
1639
|
+
# dry_run: false,
|
1640
|
+
# instance_tenancy: "default", # accepts default, dedicated, host
|
1641
|
+
# amazon_provided_ipv_6_cidr_block: false,
|
1642
1642
|
# })
|
1643
1643
|
# @param [Hash] options ({})
|
1644
1644
|
# @option options [String] :cidr_block
|
@@ -1646,10 +1646,6 @@ module Aws::EC2
|
|
1646
1646
|
# `10.0.0.0/16`. We modify the specified CIDR block to its canonical
|
1647
1647
|
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1648
1648
|
# `100.68.0.0/18`.
|
1649
|
-
# @option options [Boolean] :amazon_provided_ipv_6_cidr_block
|
1650
|
-
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
|
1651
|
-
# for the VPC. You cannot specify the range of IP addresses, or the size
|
1652
|
-
# of the CIDR block.
|
1653
1649
|
# @option options [String] :ipv_6_pool
|
1654
1650
|
# The ID of an IPv6 address pool from which to allocate the IPv6 CIDR
|
1655
1651
|
# block.
|
@@ -1696,6 +1692,14 @@ module Aws::EC2
|
|
1696
1692
|
#
|
1697
1693
|
#
|
1698
1694
|
# [1]: https://docs.aws.amazon.com/vpc/latest/ipam/what-is-it-ipam.html
|
1695
|
+
# @option options [String] :ipv_6_cidr_block_network_border_group
|
1696
|
+
# The name of the location from which we advertise the IPV6 CIDR block.
|
1697
|
+
# Use this parameter to limit the address to this location.
|
1698
|
+
#
|
1699
|
+
# You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
|
1700
|
+
# parameter.
|
1701
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1702
|
+
# The tags to assign to the VPC.
|
1699
1703
|
# @option options [Boolean] :dry_run
|
1700
1704
|
# Checks whether you have the required permissions for the action,
|
1701
1705
|
# without actually making the request, and provides an error response.
|
@@ -1713,14 +1717,10 @@ module Aws::EC2
|
|
1713
1717
|
# Use the `default` or `dedicated` values only.
|
1714
1718
|
#
|
1715
1719
|
# Default: `default`
|
1716
|
-
# @option options [
|
1717
|
-
#
|
1718
|
-
#
|
1719
|
-
#
|
1720
|
-
# You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
|
1721
|
-
# parameter.
|
1722
|
-
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1723
|
-
# The tags to assign to the VPC.
|
1720
|
+
# @option options [Boolean] :amazon_provided_ipv_6_cidr_block
|
1721
|
+
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
|
1722
|
+
# for the VPC. You cannot specify the range of IP addresses, or the size
|
1723
|
+
# of the CIDR block.
|
1724
1724
|
# @return [Vpc]
|
1725
1725
|
def create_vpc(options = {})
|
1726
1726
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1736,10 +1736,6 @@ module Aws::EC2
|
|
1736
1736
|
# @example Request syntax with placeholder values
|
1737
1737
|
#
|
1738
1738
|
# vpcpeeringconnection = ec2.create_vpc_peering_connection({
|
1739
|
-
# dry_run: false,
|
1740
|
-
# peer_owner_id: "String",
|
1741
|
-
# peer_vpc_id: "String",
|
1742
|
-
# vpc_id: "VpcId", # required
|
1743
1739
|
# peer_region: "String",
|
1744
1740
|
# tag_specifications: [
|
1745
1741
|
# {
|
@@ -1752,30 +1748,34 @@ module Aws::EC2
|
|
1752
1748
|
# ],
|
1753
1749
|
# },
|
1754
1750
|
# ],
|
1751
|
+
# dry_run: false,
|
1752
|
+
# vpc_id: "VpcId", # required
|
1753
|
+
# peer_vpc_id: "String",
|
1754
|
+
# peer_owner_id: "String",
|
1755
1755
|
# })
|
1756
1756
|
# @param [Hash] options ({})
|
1757
|
+
# @option options [String] :peer_region
|
1758
|
+
# The Region code for the accepter VPC, if the accepter VPC is located
|
1759
|
+
# in a Region other than the Region in which you make the request.
|
1760
|
+
#
|
1761
|
+
# Default: The Region in which you make the request.
|
1762
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1763
|
+
# The tags to assign to the peering connection.
|
1757
1764
|
# @option options [Boolean] :dry_run
|
1758
1765
|
# Checks whether you have the required permissions for the action,
|
1759
1766
|
# without actually making the request, and provides an error response.
|
1760
1767
|
# If you have the required permissions, the error response is
|
1761
1768
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1762
|
-
# @option options [String] :peer_owner_id
|
1763
|
-
# The Amazon Web Services account ID of the owner of the accepter VPC.
|
1764
|
-
#
|
1765
|
-
# Default: Your Amazon Web Services account ID
|
1766
|
-
# @option options [String] :peer_vpc_id
|
1767
|
-
# The ID of the VPC with which you are creating the VPC peering
|
1768
|
-
# connection. You must specify this parameter in the request.
|
1769
1769
|
# @option options [required, String] :vpc_id
|
1770
1770
|
# The ID of the requester VPC. You must specify this parameter in the
|
1771
1771
|
# request.
|
1772
|
-
# @option options [String] :
|
1773
|
-
# The
|
1774
|
-
#
|
1772
|
+
# @option options [String] :peer_vpc_id
|
1773
|
+
# The ID of the VPC with which you are creating the VPC peering
|
1774
|
+
# connection. You must specify this parameter in the request.
|
1775
|
+
# @option options [String] :peer_owner_id
|
1776
|
+
# The Amazon Web Services account ID of the owner of the accepter VPC.
|
1775
1777
|
#
|
1776
|
-
# Default:
|
1777
|
-
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1778
|
-
# The tags to assign to the peering connection.
|
1778
|
+
# Default: Your Amazon Web Services account ID
|
1779
1779
|
# @return [VpcPeeringConnection]
|
1780
1780
|
def create_vpc_peering_connection(options = {})
|
1781
1781
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1791,18 +1791,18 @@ module Aws::EC2
|
|
1791
1791
|
# @example Request syntax with placeholder values
|
1792
1792
|
#
|
1793
1793
|
# ec2.disassociate_route_table({
|
1794
|
-
# association_id: "RouteTableAssociationId", # required
|
1795
1794
|
# dry_run: false,
|
1795
|
+
# association_id: "RouteTableAssociationId", # required
|
1796
1796
|
# })
|
1797
1797
|
# @param [Hash] options ({})
|
1798
|
-
# @option options [required, String] :association_id
|
1799
|
-
# The association ID representing the current association between the
|
1800
|
-
# route table and subnet or gateway.
|
1801
1798
|
# @option options [Boolean] :dry_run
|
1802
1799
|
# Checks whether you have the required permissions for the action,
|
1803
1800
|
# without actually making the request, and provides an error response.
|
1804
1801
|
# If you have the required permissions, the error response is
|
1805
1802
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1803
|
+
# @option options [required, String] :association_id
|
1804
|
+
# The association ID representing the current association between the
|
1805
|
+
# route table and subnet or gateway.
|
1806
1806
|
# @return [EmptyStructure]
|
1807
1807
|
def disassociate_route_table(options = {})
|
1808
1808
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1814,9 +1814,6 @@ module Aws::EC2
|
|
1814
1814
|
# @example Request syntax with placeholder values
|
1815
1815
|
#
|
1816
1816
|
# keypairinfo = ec2.import_key_pair({
|
1817
|
-
# dry_run: false,
|
1818
|
-
# key_name: "String", # required
|
1819
|
-
# public_key_material: "data", # required
|
1820
1817
|
# tag_specifications: [
|
1821
1818
|
# {
|
1822
1819
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
|
@@ -1828,8 +1825,13 @@ module Aws::EC2
|
|
1828
1825
|
# ],
|
1829
1826
|
# },
|
1830
1827
|
# ],
|
1828
|
+
# dry_run: false,
|
1829
|
+
# key_name: "String", # required
|
1830
|
+
# public_key_material: "data", # required
|
1831
1831
|
# })
|
1832
1832
|
# @param [Hash] options ({})
|
1833
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1834
|
+
# The tags to apply to the imported key pair.
|
1833
1835
|
# @option options [Boolean] :dry_run
|
1834
1836
|
# Checks whether you have the required permissions for the action,
|
1835
1837
|
# without actually making the request, and provides an error response.
|
@@ -1840,8 +1842,6 @@ module Aws::EC2
|
|
1840
1842
|
# @option options [required, String, StringIO, File] :public_key_material
|
1841
1843
|
# The public key. For API calls, the text must be base64-encoded. For
|
1842
1844
|
# command line tools, base64 encoding is performed for you.
|
1843
|
-
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1844
|
-
# The tags to apply to the imported key pair.
|
1845
1845
|
# @return [KeyPairInfo]
|
1846
1846
|
def import_key_pair(options = {})
|
1847
1847
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -1857,11 +1857,31 @@ module Aws::EC2
|
|
1857
1857
|
#
|
1858
1858
|
# image = ec2.register_image({
|
1859
1859
|
# image_location: "String",
|
1860
|
+
# billing_products: ["String"],
|
1861
|
+
# boot_mode: "legacy-bios", # accepts legacy-bios, uefi, uefi-preferred
|
1862
|
+
# tpm_support: "v2.0", # accepts v2.0
|
1863
|
+
# uefi_data: "StringType",
|
1864
|
+
# imds_support: "v2.0", # accepts v2.0
|
1865
|
+
# tag_specifications: [
|
1866
|
+
# {
|
1867
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
|
1868
|
+
# tags: [
|
1869
|
+
# {
|
1870
|
+
# key: "String",
|
1871
|
+
# value: "String",
|
1872
|
+
# },
|
1873
|
+
# ],
|
1874
|
+
# },
|
1875
|
+
# ],
|
1876
|
+
# dry_run: false,
|
1877
|
+
# name: "String", # required
|
1878
|
+
# description: "String",
|
1860
1879
|
# architecture: "i386", # accepts i386, x86_64, arm64, x86_64_mac, arm64_mac
|
1880
|
+
# kernel_id: "KernelId",
|
1881
|
+
# ramdisk_id: "RamdiskId",
|
1882
|
+
# root_device_name: "String",
|
1861
1883
|
# block_device_mappings: [
|
1862
1884
|
# {
|
1863
|
-
# device_name: "String",
|
1864
|
-
# virtual_name: "String",
|
1865
1885
|
# ebs: {
|
1866
1886
|
# delete_on_termination: false,
|
1867
1887
|
# iops: 1,
|
@@ -1874,85 +1894,24 @@ module Aws::EC2
|
|
1874
1894
|
# encrypted: false,
|
1875
1895
|
# },
|
1876
1896
|
# no_device: "String",
|
1897
|
+
# device_name: "String",
|
1898
|
+
# virtual_name: "String",
|
1877
1899
|
# },
|
1878
1900
|
# ],
|
1879
|
-
# description: "String",
|
1880
|
-
# dry_run: false,
|
1881
|
-
# ena_support: false,
|
1882
|
-
# kernel_id: "KernelId",
|
1883
|
-
# name: "String", # required
|
1884
|
-
# billing_products: ["String"],
|
1885
|
-
# ramdisk_id: "RamdiskId",
|
1886
|
-
# root_device_name: "String",
|
1887
|
-
# sriov_net_support: "String",
|
1888
1901
|
# virtualization_type: "String",
|
1889
|
-
#
|
1890
|
-
#
|
1891
|
-
# uefi_data: "StringType",
|
1892
|
-
# imds_support: "v2.0", # accepts v2.0
|
1893
|
-
# tag_specifications: [
|
1894
|
-
# {
|
1895
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, 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, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, ipam-external-resource-verification-token
|
1896
|
-
# tags: [
|
1897
|
-
# {
|
1898
|
-
# key: "String",
|
1899
|
-
# value: "String",
|
1900
|
-
# },
|
1901
|
-
# ],
|
1902
|
-
# },
|
1903
|
-
# ],
|
1902
|
+
# sriov_net_support: "String",
|
1903
|
+
# ena_support: false,
|
1904
1904
|
# })
|
1905
1905
|
# @param [Hash] options ({})
|
1906
1906
|
# @option options [String] :image_location
|
1907
|
-
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
1908
|
-
# bucket must have the `aws-exec-read` canned access control list (ACL)
|
1909
|
-
# to ensure that it can be accessed by Amazon EC2. For more information,
|
1910
|
-
# see [Canned ACLs][1] in the *Amazon S3 Service Developer Guide*.
|
1911
|
-
#
|
1912
|
-
#
|
1913
|
-
#
|
1914
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl
|
1915
|
-
# @option options [String] :architecture
|
1916
|
-
# The architecture of the AMI.
|
1917
|
-
#
|
1918
|
-
# Default: For Amazon EBS-backed AMIs, `i386`. For instance store-backed
|
1919
|
-
# AMIs, the architecture specified in the manifest file.
|
1920
|
-
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
1921
|
-
# The block device mapping entries.
|
1922
|
-
#
|
1923
|
-
# If you specify an Amazon EBS volume using the ID of an Amazon EBS
|
1924
|
-
# snapshot, you can't specify the encryption state of the volume.
|
1925
|
-
#
|
1926
|
-
# If you create an AMI on an Outpost, then all backing snapshots must be
|
1927
|
-
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
1928
|
-
# Outpost that include local snapshots can be used to launch instances
|
1929
|
-
# on the same Outpost only. For more information, [Amazon EBS local
|
1930
|
-
# snapshots on Outposts][1] in the *Amazon EBS User Guide*.
|
1931
|
-
#
|
1932
|
-
#
|
1933
|
-
#
|
1934
|
-
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami
|
1935
|
-
# @option options [String] :description
|
1936
|
-
# A description for your AMI.
|
1937
|
-
# @option options [Boolean] :dry_run
|
1938
|
-
# Checks whether you have the required permissions for the action,
|
1939
|
-
# without actually making the request, and provides an error response.
|
1940
|
-
# If you have the required permissions, the error response is
|
1941
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1942
|
-
# @option options [Boolean] :ena_support
|
1943
|
-
# Set to `true` to enable enhanced networking with ENA for the AMI and
|
1944
|
-
# any instances that you launch from the AMI.
|
1907
|
+
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
1908
|
+
# bucket must have the `aws-exec-read` canned access control list (ACL)
|
1909
|
+
# to ensure that it can be accessed by Amazon EC2. For more information,
|
1910
|
+
# see [Canned ACLs][1] in the *Amazon S3 Service Developer Guide*.
|
1945
1911
|
#
|
1946
|
-
# This option is supported only for HVM AMIs. Specifying this option
|
1947
|
-
# with a PV AMI can make instances launched from the AMI unreachable.
|
1948
|
-
# @option options [String] :kernel_id
|
1949
|
-
# The ID of the kernel.
|
1950
|
-
# @option options [required, String] :name
|
1951
|
-
# A name for your AMI.
|
1952
1912
|
#
|
1953
|
-
#
|
1954
|
-
#
|
1955
|
-
# single quotes ('), at-signs (@), or underscores(\_)
|
1913
|
+
#
|
1914
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl
|
1956
1915
|
# @option options [Array<String>] :billing_products
|
1957
1916
|
# The billing product codes. Your account must be authorized to specify
|
1958
1917
|
# billing product codes.
|
@@ -1968,23 +1927,6 @@ module Aws::EC2
|
|
1968
1927
|
#
|
1969
1928
|
# [1]: https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html
|
1970
1929
|
# [2]: https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html
|
1971
|
-
# @option options [String] :ramdisk_id
|
1972
|
-
# The ID of the RAM disk.
|
1973
|
-
# @option options [String] :root_device_name
|
1974
|
-
# The device name of the root device volume (for example, `/dev/sda1`).
|
1975
|
-
# @option options [String] :sriov_net_support
|
1976
|
-
# Set to `simple` to enable enhanced networking with the Intel 82599
|
1977
|
-
# Virtual Function interface for the AMI and any instances that you
|
1978
|
-
# launch from the AMI.
|
1979
|
-
#
|
1980
|
-
# There is no way to disable `sriovNetSupport` at this time.
|
1981
|
-
#
|
1982
|
-
# This option is supported only for HVM AMIs. Specifying this option
|
1983
|
-
# with a PV AMI can make instances launched from the AMI unreachable.
|
1984
|
-
# @option options [String] :virtualization_type
|
1985
|
-
# The type of virtualization (`hvm` \| `paravirtual`).
|
1986
|
-
#
|
1987
|
-
# Default: `paravirtual`
|
1988
1930
|
# @option options [String] :boot_mode
|
1989
1931
|
# The boot mode of the AMI. A value of `uefi-preferred` indicates that
|
1990
1932
|
# the AMI supports both UEFI and Legacy BIOS.
|
@@ -2046,6 +1988,64 @@ module Aws::EC2
|
|
2046
1988
|
#
|
2047
1989
|
#
|
2048
1990
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
1991
|
+
# @option options [Boolean] :dry_run
|
1992
|
+
# Checks whether you have the required permissions for the action,
|
1993
|
+
# without actually making the request, and provides an error response.
|
1994
|
+
# If you have the required permissions, the error response is
|
1995
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1996
|
+
# @option options [required, String] :name
|
1997
|
+
# A name for your AMI.
|
1998
|
+
#
|
1999
|
+
# Constraints: 3-128 alphanumeric characters, parentheses (()), square
|
2000
|
+
# brackets (\[\]), spaces ( ), periods (.), slashes (/), dashes (-),
|
2001
|
+
# single quotes ('), at-signs (@), or underscores(\_)
|
2002
|
+
# @option options [String] :description
|
2003
|
+
# A description for your AMI.
|
2004
|
+
# @option options [String] :architecture
|
2005
|
+
# The architecture of the AMI.
|
2006
|
+
#
|
2007
|
+
# Default: For Amazon EBS-backed AMIs, `i386`. For instance store-backed
|
2008
|
+
# AMIs, the architecture specified in the manifest file.
|
2009
|
+
# @option options [String] :kernel_id
|
2010
|
+
# The ID of the kernel.
|
2011
|
+
# @option options [String] :ramdisk_id
|
2012
|
+
# The ID of the RAM disk.
|
2013
|
+
# @option options [String] :root_device_name
|
2014
|
+
# The device name of the root device volume (for example, `/dev/sda1`).
|
2015
|
+
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
2016
|
+
# The block device mapping entries.
|
2017
|
+
#
|
2018
|
+
# If you specify an Amazon EBS volume using the ID of an Amazon EBS
|
2019
|
+
# snapshot, you can't specify the encryption state of the volume.
|
2020
|
+
#
|
2021
|
+
# If you create an AMI on an Outpost, then all backing snapshots must be
|
2022
|
+
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
2023
|
+
# Outpost that include local snapshots can be used to launch instances
|
2024
|
+
# on the same Outpost only. For more information, [Amazon EBS local
|
2025
|
+
# snapshots on Outposts][1] in the *Amazon EBS User Guide*.
|
2026
|
+
#
|
2027
|
+
#
|
2028
|
+
#
|
2029
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami
|
2030
|
+
# @option options [String] :virtualization_type
|
2031
|
+
# The type of virtualization (`hvm` \| `paravirtual`).
|
2032
|
+
#
|
2033
|
+
# Default: `paravirtual`
|
2034
|
+
# @option options [String] :sriov_net_support
|
2035
|
+
# Set to `simple` to enable enhanced networking with the Intel 82599
|
2036
|
+
# Virtual Function interface for the AMI and any instances that you
|
2037
|
+
# launch from the AMI.
|
2038
|
+
#
|
2039
|
+
# There is no way to disable `sriovNetSupport` at this time.
|
2040
|
+
#
|
2041
|
+
# This option is supported only for HVM AMIs. Specifying this option
|
2042
|
+
# with a PV AMI can make instances launched from the AMI unreachable.
|
2043
|
+
# @option options [Boolean] :ena_support
|
2044
|
+
# Set to `true` to enable enhanced networking with ENA for the AMI and
|
2045
|
+
# any instances that you launch from the AMI.
|
2046
|
+
#
|
2047
|
+
# This option is supported only for HVM AMIs. Specifying this option
|
2048
|
+
# with a PV AMI can make instances launched from the AMI unreachable.
|
2049
2049
|
# @return [Image]
|
2050
2050
|
def register_image(options = {})
|
2051
2051
|
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -2062,17 +2062,26 @@ module Aws::EC2
|
|
2062
2062
|
# @example Request syntax with placeholder values
|
2063
2063
|
#
|
2064
2064
|
# classic_addresses = ec2.classic_addresses({
|
2065
|
+
# public_ips: ["String"],
|
2066
|
+
# dry_run: false,
|
2065
2067
|
# filters: [
|
2066
2068
|
# {
|
2067
2069
|
# name: "String",
|
2068
2070
|
# values: ["String"],
|
2069
2071
|
# },
|
2070
2072
|
# ],
|
2071
|
-
# public_ips: ["String"],
|
2072
2073
|
# allocation_ids: ["AllocationId"],
|
2073
|
-
# dry_run: false,
|
2074
2074
|
# })
|
2075
2075
|
# @param [Hash] options ({})
|
2076
|
+
# @option options [Array<String>] :public_ips
|
2077
|
+
# One or more Elastic IP addresses.
|
2078
|
+
#
|
2079
|
+
# Default: Describes all your Elastic IP addresses.
|
2080
|
+
# @option options [Boolean] :dry_run
|
2081
|
+
# Checks whether you have the required permissions for the action,
|
2082
|
+
# without actually making the request, and provides an error response.
|
2083
|
+
# If you have the required permissions, the error response is
|
2084
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2076
2085
|
# @option options [Array<Types::Filter>] :filters
|
2077
2086
|
# One or more filters. Filter names and values are case-sensitive.
|
2078
2087
|
#
|
@@ -2107,17 +2116,8 @@ module Aws::EC2
|
|
2107
2116
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2108
2117
|
# filter to find all resources assigned a tag with a specific key,
|
2109
2118
|
# regardless of the tag value.
|
2110
|
-
# @option options [Array<String>] :public_ips
|
2111
|
-
# One or more Elastic IP addresses.
|
2112
|
-
#
|
2113
|
-
# Default: Describes all your Elastic IP addresses.
|
2114
2119
|
# @option options [Array<String>] :allocation_ids
|
2115
2120
|
# Information about the allocation IDs.
|
2116
|
-
# @option options [Boolean] :dry_run
|
2117
|
-
# Checks whether you have the required permissions for the action,
|
2118
|
-
# without actually making the request, and provides an error response.
|
2119
|
-
# If you have the required permissions, the error response is
|
2120
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2121
2121
|
# @return [ClassicAddress::Collection]
|
2122
2122
|
def classic_addresses(options = {})
|
2123
2123
|
batches = Enumerator.new do |y|
|
@@ -2154,17 +2154,22 @@ module Aws::EC2
|
|
2154
2154
|
#
|
2155
2155
|
# dhcp_options_sets = ec2.dhcp_options_sets({
|
2156
2156
|
# dhcp_options_ids: ["DhcpOptionsId"],
|
2157
|
+
# dry_run: false,
|
2157
2158
|
# filters: [
|
2158
2159
|
# {
|
2159
2160
|
# name: "String",
|
2160
2161
|
# values: ["String"],
|
2161
2162
|
# },
|
2162
2163
|
# ],
|
2163
|
-
# dry_run: false,
|
2164
2164
|
# })
|
2165
2165
|
# @param [Hash] options ({})
|
2166
2166
|
# @option options [Array<String>] :dhcp_options_ids
|
2167
2167
|
# The IDs of DHCP option sets.
|
2168
|
+
# @option options [Boolean] :dry_run
|
2169
|
+
# Checks whether you have the required permissions for the action,
|
2170
|
+
# without actually making the request, and provides an error response.
|
2171
|
+
# If you have the required permissions, the error response is
|
2172
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2168
2173
|
# @option options [Array<Types::Filter>] :filters
|
2169
2174
|
# The filters.
|
2170
2175
|
#
|
@@ -2186,11 +2191,6 @@ module Aws::EC2
|
|
2186
2191
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2187
2192
|
# filter to find all resources assigned a tag with a specific key,
|
2188
2193
|
# regardless of the tag value.
|
2189
|
-
# @option options [Boolean] :dry_run
|
2190
|
-
# Checks whether you have the required permissions for the action,
|
2191
|
-
# without actually making the request, and provides an error response.
|
2192
|
-
# If you have the required permissions, the error response is
|
2193
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2194
2194
|
# @return [DhcpOptions::Collection]
|
2195
2195
|
def dhcp_options_sets(options = {})
|
2196
2196
|
batches = Enumerator.new do |y|
|
@@ -2225,17 +2225,17 @@ module Aws::EC2
|
|
2225
2225
|
#
|
2226
2226
|
# images = ec2.images({
|
2227
2227
|
# executable_users: ["String"],
|
2228
|
+
# image_ids: ["ImageId"],
|
2229
|
+
# owners: ["String"],
|
2230
|
+
# include_deprecated: false,
|
2231
|
+
# include_disabled: false,
|
2232
|
+
# dry_run: false,
|
2228
2233
|
# filters: [
|
2229
2234
|
# {
|
2230
2235
|
# name: "String",
|
2231
2236
|
# values: ["String"],
|
2232
2237
|
# },
|
2233
2238
|
# ],
|
2234
|
-
# image_ids: ["ImageId"],
|
2235
|
-
# owners: ["String"],
|
2236
|
-
# include_deprecated: false,
|
2237
|
-
# include_disabled: false,
|
2238
|
-
# dry_run: false,
|
2239
2239
|
# })
|
2240
2240
|
# @param [Hash] options ({})
|
2241
2241
|
# @option options [Array<String>] :executable_users
|
@@ -2254,6 +2254,34 @@ module Aws::EC2
|
|
2254
2254
|
# also returned.
|
2255
2255
|
#
|
2256
2256
|
# * If you specify `all`, all public AMIs are returned.
|
2257
|
+
# @option options [Array<String>] :image_ids
|
2258
|
+
# The image IDs.
|
2259
|
+
#
|
2260
|
+
# Default: Describes all images available to you.
|
2261
|
+
# @option options [Array<String>] :owners
|
2262
|
+
# Scopes the results to images with the specified owners. You can
|
2263
|
+
# specify a combination of Amazon Web Services account IDs, `self`,
|
2264
|
+
# `amazon`, and `aws-marketplace`. If you omit this parameter, the
|
2265
|
+
# results include all images for which you have launch permissions,
|
2266
|
+
# regardless of ownership.
|
2267
|
+
# @option options [Boolean] :include_deprecated
|
2268
|
+
# Specifies whether to include deprecated AMIs.
|
2269
|
+
#
|
2270
|
+
# Default: No deprecated AMIs are included in the response.
|
2271
|
+
#
|
2272
|
+
# <note markdown="1"> If you are the AMI owner, all deprecated AMIs appear in the response
|
2273
|
+
# regardless of what you specify for this parameter.
|
2274
|
+
#
|
2275
|
+
# </note>
|
2276
|
+
# @option options [Boolean] :include_disabled
|
2277
|
+
# Specifies whether to include disabled AMIs.
|
2278
|
+
#
|
2279
|
+
# Default: No disabled AMIs are included in the response.
|
2280
|
+
# @option options [Boolean] :dry_run
|
2281
|
+
# Checks whether you have the required permissions for the action,
|
2282
|
+
# without actually making the request, and provides an error response.
|
2283
|
+
# If you have the required permissions, the error response is
|
2284
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2257
2285
|
# @option options [Array<Types::Filter>] :filters
|
2258
2286
|
# The filters.
|
2259
2287
|
#
|
@@ -2359,34 +2387,6 @@ module Aws::EC2
|
|
2359
2387
|
#
|
2360
2388
|
#
|
2361
2389
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
2362
|
-
# @option options [Array<String>] :image_ids
|
2363
|
-
# The image IDs.
|
2364
|
-
#
|
2365
|
-
# Default: Describes all images available to you.
|
2366
|
-
# @option options [Array<String>] :owners
|
2367
|
-
# Scopes the results to images with the specified owners. You can
|
2368
|
-
# specify a combination of Amazon Web Services account IDs, `self`,
|
2369
|
-
# `amazon`, and `aws-marketplace`. If you omit this parameter, the
|
2370
|
-
# results include all images for which you have launch permissions,
|
2371
|
-
# regardless of ownership.
|
2372
|
-
# @option options [Boolean] :include_deprecated
|
2373
|
-
# Specifies whether to include deprecated AMIs.
|
2374
|
-
#
|
2375
|
-
# Default: No deprecated AMIs are included in the response.
|
2376
|
-
#
|
2377
|
-
# <note markdown="1"> If you are the AMI owner, all deprecated AMIs appear in the response
|
2378
|
-
# regardless of what you specify for this parameter.
|
2379
|
-
#
|
2380
|
-
# </note>
|
2381
|
-
# @option options [Boolean] :include_disabled
|
2382
|
-
# Specifies whether to include disabled AMIs.
|
2383
|
-
#
|
2384
|
-
# Default: No disabled AMIs are included in the response.
|
2385
|
-
# @option options [Boolean] :dry_run
|
2386
|
-
# Checks whether you have the required permissions for the action,
|
2387
|
-
# without actually making the request, and provides an error response.
|
2388
|
-
# If you have the required permissions, the error response is
|
2389
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2390
2390
|
# @return [Image::Collection]
|
2391
2391
|
def images(options = {})
|
2392
2392
|
batches = Enumerator.new do |y|
|
@@ -2420,16 +2420,25 @@ module Aws::EC2
|
|
2420
2420
|
# @example Request syntax with placeholder values
|
2421
2421
|
#
|
2422
2422
|
# instances = ec2.instances({
|
2423
|
+
# instance_ids: ["InstanceId"],
|
2424
|
+
# dry_run: false,
|
2423
2425
|
# filters: [
|
2424
2426
|
# {
|
2425
2427
|
# name: "String",
|
2426
2428
|
# values: ["String"],
|
2427
2429
|
# },
|
2428
2430
|
# ],
|
2429
|
-
# instance_ids: ["InstanceId"],
|
2430
|
-
# dry_run: false,
|
2431
2431
|
# })
|
2432
2432
|
# @param [Hash] options ({})
|
2433
|
+
# @option options [Array<String>] :instance_ids
|
2434
|
+
# The instance IDs.
|
2435
|
+
#
|
2436
|
+
# Default: Describes all your instances.
|
2437
|
+
# @option options [Boolean] :dry_run
|
2438
|
+
# Checks whether you have the required permissions for the operation,
|
2439
|
+
# without actually making the request, and provides an error response.
|
2440
|
+
# If you have the required permissions, the error response is
|
2441
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2433
2442
|
# @option options [Array<Types::Filter>] :filters
|
2434
2443
|
# The filters.
|
2435
2444
|
#
|
@@ -2859,15 +2868,6 @@ module Aws::EC2
|
|
2859
2868
|
# (`paravirtual` \| `hvm`).
|
2860
2869
|
#
|
2861
2870
|
# * `vpc-id` - The ID of the VPC that the instance is running in.
|
2862
|
-
# @option options [Array<String>] :instance_ids
|
2863
|
-
# The instance IDs.
|
2864
|
-
#
|
2865
|
-
# Default: Describes all your instances.
|
2866
|
-
# @option options [Boolean] :dry_run
|
2867
|
-
# Checks whether you have the required permissions for the action,
|
2868
|
-
# without actually making the request, and provides an error response.
|
2869
|
-
# If you have the required permissions, the error response is
|
2870
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2871
2871
|
# @return [Instance::Collection]
|
2872
2872
|
def instances(options = {})
|
2873
2873
|
batches = Enumerator.new do |y|
|
@@ -2903,16 +2903,25 @@ module Aws::EC2
|
|
2903
2903
|
# @example Request syntax with placeholder values
|
2904
2904
|
#
|
2905
2905
|
# internet_gateways = ec2.internet_gateways({
|
2906
|
+
# dry_run: false,
|
2907
|
+
# internet_gateway_ids: ["InternetGatewayId"],
|
2906
2908
|
# filters: [
|
2907
2909
|
# {
|
2908
2910
|
# name: "String",
|
2909
2911
|
# values: ["String"],
|
2910
2912
|
# },
|
2911
2913
|
# ],
|
2912
|
-
# dry_run: false,
|
2913
|
-
# internet_gateway_ids: ["InternetGatewayId"],
|
2914
2914
|
# })
|
2915
2915
|
# @param [Hash] options ({})
|
2916
|
+
# @option options [Boolean] :dry_run
|
2917
|
+
# Checks whether you have the required permissions for the action,
|
2918
|
+
# without actually making the request, and provides an error response.
|
2919
|
+
# If you have the required permissions, the error response is
|
2920
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2921
|
+
# @option options [Array<String>] :internet_gateway_ids
|
2922
|
+
# The IDs of the internet gateways.
|
2923
|
+
#
|
2924
|
+
# Default: Describes all your internet gateways.
|
2916
2925
|
# @option options [Array<Types::Filter>] :filters
|
2917
2926
|
# The filters.
|
2918
2927
|
#
|
@@ -2936,15 +2945,6 @@ module Aws::EC2
|
|
2936
2945
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
2937
2946
|
# filter to find all resources assigned a tag with a specific key,
|
2938
2947
|
# regardless of the tag value.
|
2939
|
-
# @option options [Boolean] :dry_run
|
2940
|
-
# Checks whether you have the required permissions for the action,
|
2941
|
-
# without actually making the request, and provides an error response.
|
2942
|
-
# If you have the required permissions, the error response is
|
2943
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2944
|
-
# @option options [Array<String>] :internet_gateway_ids
|
2945
|
-
# The IDs of the internet gateways.
|
2946
|
-
#
|
2947
|
-
# Default: Describes all your internet gateways.
|
2948
2948
|
# @return [InternetGateway::Collection]
|
2949
2949
|
def internet_gateways(options = {})
|
2950
2950
|
batches = Enumerator.new do |y|
|
@@ -2978,18 +2978,33 @@ module Aws::EC2
|
|
2978
2978
|
# @example Request syntax with placeholder values
|
2979
2979
|
#
|
2980
2980
|
# key_pairs = ec2.key_pairs({
|
2981
|
+
# key_names: ["KeyPairName"],
|
2982
|
+
# key_pair_ids: ["KeyPairId"],
|
2983
|
+
# include_public_key: false,
|
2984
|
+
# dry_run: false,
|
2981
2985
|
# filters: [
|
2982
2986
|
# {
|
2983
2987
|
# name: "String",
|
2984
2988
|
# values: ["String"],
|
2985
2989
|
# },
|
2986
2990
|
# ],
|
2987
|
-
# key_names: ["KeyPairName"],
|
2988
|
-
# key_pair_ids: ["KeyPairId"],
|
2989
|
-
# dry_run: false,
|
2990
|
-
# include_public_key: false,
|
2991
2991
|
# })
|
2992
2992
|
# @param [Hash] options ({})
|
2993
|
+
# @option options [Array<String>] :key_names
|
2994
|
+
# The key pair names.
|
2995
|
+
#
|
2996
|
+
# Default: Describes all of your key pairs.
|
2997
|
+
# @option options [Array<String>] :key_pair_ids
|
2998
|
+
# The IDs of the key pairs.
|
2999
|
+
# @option options [Boolean] :include_public_key
|
3000
|
+
# If `true`, the public key material is included in the response.
|
3001
|
+
#
|
3002
|
+
# Default: `false`
|
3003
|
+
# @option options [Boolean] :dry_run
|
3004
|
+
# Checks whether you have the required permissions for the action,
|
3005
|
+
# without actually making the request, and provides an error response.
|
3006
|
+
# If you have the required permissions, the error response is
|
3007
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2993
3008
|
# @option options [Array<Types::Filter>] :filters
|
2994
3009
|
# The filters.
|
2995
3010
|
#
|
@@ -3008,21 +3023,6 @@ module Aws::EC2
|
|
3008
3023
|
# as the filter value. For example, to find all resources that have a
|
3009
3024
|
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
3010
3025
|
# for the filter name and `TeamA` for the filter value.
|
3011
|
-
# @option options [Array<String>] :key_names
|
3012
|
-
# The key pair names.
|
3013
|
-
#
|
3014
|
-
# Default: Describes all of your key pairs.
|
3015
|
-
# @option options [Array<String>] :key_pair_ids
|
3016
|
-
# The IDs of the key pairs.
|
3017
|
-
# @option options [Boolean] :dry_run
|
3018
|
-
# Checks whether you have the required permissions for the action,
|
3019
|
-
# without actually making the request, and provides an error response.
|
3020
|
-
# If you have the required permissions, the error response is
|
3021
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3022
|
-
# @option options [Boolean] :include_public_key
|
3023
|
-
# If `true`, the public key material is included in the response.
|
3024
|
-
#
|
3025
|
-
# Default: `false`
|
3026
3026
|
# @return [KeyPairInfo::Collection]
|
3027
3027
|
def key_pairs(options = {})
|
3028
3028
|
batches = Enumerator.new do |y|
|
@@ -3125,16 +3125,23 @@ module Aws::EC2
|
|
3125
3125
|
# @example Request syntax with placeholder values
|
3126
3126
|
#
|
3127
3127
|
# network_acls = ec2.network_acls({
|
3128
|
+
# dry_run: false,
|
3129
|
+
# network_acl_ids: ["NetworkAclId"],
|
3128
3130
|
# filters: [
|
3129
3131
|
# {
|
3130
3132
|
# name: "String",
|
3131
3133
|
# values: ["String"],
|
3132
3134
|
# },
|
3133
3135
|
# ],
|
3134
|
-
# dry_run: false,
|
3135
|
-
# network_acl_ids: ["NetworkAclId"],
|
3136
3136
|
# })
|
3137
3137
|
# @param [Hash] options ({})
|
3138
|
+
# @option options [Boolean] :dry_run
|
3139
|
+
# Checks whether you have the required permissions for the action,
|
3140
|
+
# without actually making the request, and provides an error response.
|
3141
|
+
# If you have the required permissions, the error response is
|
3142
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3143
|
+
# @option options [Array<String>] :network_acl_ids
|
3144
|
+
# The IDs of the network ACLs.
|
3138
3145
|
# @option options [Array<Types::Filter>] :filters
|
3139
3146
|
# The filters.
|
3140
3147
|
#
|
@@ -3192,13 +3199,6 @@ module Aws::EC2
|
|
3192
3199
|
# regardless of the tag value.
|
3193
3200
|
#
|
3194
3201
|
# * `vpc-id` - The ID of the VPC for the network ACL.
|
3195
|
-
# @option options [Boolean] :dry_run
|
3196
|
-
# Checks whether you have the required permissions for the action,
|
3197
|
-
# without actually making the request, and provides an error response.
|
3198
|
-
# If you have the required permissions, the error response is
|
3199
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3200
|
-
# @option options [Array<String>] :network_acl_ids
|
3201
|
-
# The IDs of the network ACLs.
|
3202
3202
|
# @return [NetworkAcl::Collection]
|
3203
3203
|
def network_acls(options = {})
|
3204
3204
|
batches = Enumerator.new do |y|
|
@@ -3232,16 +3232,25 @@ module Aws::EC2
|
|
3232
3232
|
# @example Request syntax with placeholder values
|
3233
3233
|
#
|
3234
3234
|
# network_interfaces = ec2.network_interfaces({
|
3235
|
+
# dry_run: false,
|
3236
|
+
# network_interface_ids: ["NetworkInterfaceId"],
|
3235
3237
|
# filters: [
|
3236
3238
|
# {
|
3237
3239
|
# name: "String",
|
3238
3240
|
# values: ["String"],
|
3239
3241
|
# },
|
3240
3242
|
# ],
|
3241
|
-
# dry_run: false,
|
3242
|
-
# network_interface_ids: ["NetworkInterfaceId"],
|
3243
3243
|
# })
|
3244
3244
|
# @param [Hash] options ({})
|
3245
|
+
# @option options [Boolean] :dry_run
|
3246
|
+
# Checks whether you have the required permissions for the action,
|
3247
|
+
# without actually making the request, and provides an error response.
|
3248
|
+
# If you have the required permissions, the error response is
|
3249
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3250
|
+
# @option options [Array<String>] :network_interface_ids
|
3251
|
+
# The network interface IDs.
|
3252
|
+
#
|
3253
|
+
# Default: Describes all your network interfaces.
|
3245
3254
|
# @option options [Array<Types::Filter>] :filters
|
3246
3255
|
# One or more filters.
|
3247
3256
|
#
|
@@ -3357,15 +3366,6 @@ module Aws::EC2
|
|
3357
3366
|
# regardless of the tag value.
|
3358
3367
|
#
|
3359
3368
|
# * `vpc-id` - The ID of the VPC for the network interface.
|
3360
|
-
# @option options [Boolean] :dry_run
|
3361
|
-
# Checks whether you have the required permissions for the action,
|
3362
|
-
# without actually making the request, and provides an error response.
|
3363
|
-
# If you have the required permissions, the error response is
|
3364
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3365
|
-
# @option options [Array<String>] :network_interface_ids
|
3366
|
-
# The network interface IDs.
|
3367
|
-
#
|
3368
|
-
# Default: Describes all your network interfaces.
|
3369
3369
|
# @return [NetworkInterface::Collection]
|
3370
3370
|
def network_interfaces(options = {})
|
3371
3371
|
batches = Enumerator.new do |y|
|
@@ -3399,17 +3399,35 @@ module Aws::EC2
|
|
3399
3399
|
# @example Request syntax with placeholder values
|
3400
3400
|
#
|
3401
3401
|
# placement_groups = ec2.placement_groups({
|
3402
|
+
# group_ids: ["PlacementGroupId"],
|
3403
|
+
# dry_run: false,
|
3404
|
+
# group_names: ["PlacementGroupName"],
|
3402
3405
|
# filters: [
|
3403
3406
|
# {
|
3404
3407
|
# name: "String",
|
3405
3408
|
# values: ["String"],
|
3406
3409
|
# },
|
3407
3410
|
# ],
|
3408
|
-
# dry_run: false,
|
3409
|
-
# group_names: ["PlacementGroupName"],
|
3410
|
-
# group_ids: ["PlacementGroupId"],
|
3411
3411
|
# })
|
3412
3412
|
# @param [Hash] options ({})
|
3413
|
+
# @option options [Array<String>] :group_ids
|
3414
|
+
# The IDs of the placement groups.
|
3415
|
+
# @option options [Boolean] :dry_run
|
3416
|
+
# Checks whether you have the required permissions for the operation,
|
3417
|
+
# without actually making the request, and provides an error response.
|
3418
|
+
# If you have the required permissions, the error response is
|
3419
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3420
|
+
# @option options [Array<String>] :group_names
|
3421
|
+
# The names of the placement groups.
|
3422
|
+
#
|
3423
|
+
# Constraints:
|
3424
|
+
#
|
3425
|
+
# * You can specify a name only if the placement group is owned by your
|
3426
|
+
# account.
|
3427
|
+
#
|
3428
|
+
# * If a placement group is *shared* with your account, specifying the
|
3429
|
+
# name results in an error. You must use the `GroupId` parameter
|
3430
|
+
# instead.
|
3413
3431
|
# @option options [Array<Types::Filter>] :filters
|
3414
3432
|
# The filters.
|
3415
3433
|
#
|
@@ -3435,24 +3453,6 @@ module Aws::EC2
|
|
3435
3453
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
3436
3454
|
# filter to find all resources that have a tag with a specific key,
|
3437
3455
|
# regardless of the tag value.
|
3438
|
-
# @option options [Boolean] :dry_run
|
3439
|
-
# Checks whether you have the required permissions for the action,
|
3440
|
-
# without actually making the request, and provides an error response.
|
3441
|
-
# If you have the required permissions, the error response is
|
3442
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3443
|
-
# @option options [Array<String>] :group_names
|
3444
|
-
# The names of the placement groups.
|
3445
|
-
#
|
3446
|
-
# Constraints:
|
3447
|
-
#
|
3448
|
-
# * You can specify a name only if the placement group is owned by your
|
3449
|
-
# account.
|
3450
|
-
#
|
3451
|
-
# * If a placement group is *shared* with your account, specifying the
|
3452
|
-
# name results in an error. You must use the `GroupId` parameter
|
3453
|
-
# instead.
|
3454
|
-
# @option options [Array<String>] :group_ids
|
3455
|
-
# The IDs of the placement groups.
|
3456
3456
|
# @return [PlacementGroup::Collection]
|
3457
3457
|
def placement_groups(options = {})
|
3458
3458
|
batches = Enumerator.new do |y|
|
@@ -3493,16 +3493,23 @@ module Aws::EC2
|
|
3493
3493
|
# @example Request syntax with placeholder values
|
3494
3494
|
#
|
3495
3495
|
# route_tables = ec2.route_tables({
|
3496
|
+
# dry_run: false,
|
3497
|
+
# route_table_ids: ["RouteTableId"],
|
3496
3498
|
# filters: [
|
3497
3499
|
# {
|
3498
3500
|
# name: "String",
|
3499
3501
|
# values: ["String"],
|
3500
3502
|
# },
|
3501
3503
|
# ],
|
3502
|
-
# dry_run: false,
|
3503
|
-
# route_table_ids: ["RouteTableId"],
|
3504
3504
|
# })
|
3505
3505
|
# @param [Hash] options ({})
|
3506
|
+
# @option options [Boolean] :dry_run
|
3507
|
+
# Checks whether you have the required permissions for the action,
|
3508
|
+
# without actually making the request, and provides an error response.
|
3509
|
+
# If you have the required permissions, the error response is
|
3510
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3511
|
+
# @option options [Array<String>] :route_table_ids
|
3512
|
+
# The IDs of the route tables.
|
3506
3513
|
# @option options [Array<Types::Filter>] :filters
|
3507
3514
|
# The filters.
|
3508
3515
|
#
|
@@ -3576,13 +3583,6 @@ module Aws::EC2
|
|
3576
3583
|
# regardless of the tag value.
|
3577
3584
|
#
|
3578
3585
|
# * `vpc-id` - The ID of the VPC for the route table.
|
3579
|
-
# @option options [Boolean] :dry_run
|
3580
|
-
# Checks whether you have the required permissions for the action,
|
3581
|
-
# without actually making the request, and provides an error response.
|
3582
|
-
# If you have the required permissions, the error response is
|
3583
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3584
|
-
# @option options [Array<String>] :route_table_ids
|
3585
|
-
# The IDs of the route tables.
|
3586
3586
|
# @return [RouteTable::Collection]
|
3587
3587
|
def route_tables(options = {})
|
3588
3588
|
batches = Enumerator.new do |y|
|
@@ -3616,17 +3616,32 @@ module Aws::EC2
|
|
3616
3616
|
# @example Request syntax with placeholder values
|
3617
3617
|
#
|
3618
3618
|
# security_groups = ec2.security_groups({
|
3619
|
+
# group_ids: ["SecurityGroupId"],
|
3620
|
+
# group_names: ["SecurityGroupName"],
|
3621
|
+
# dry_run: false,
|
3619
3622
|
# filters: [
|
3620
3623
|
# {
|
3621
3624
|
# name: "String",
|
3622
3625
|
# values: ["String"],
|
3623
3626
|
# },
|
3624
3627
|
# ],
|
3625
|
-
# group_ids: ["SecurityGroupId"],
|
3626
|
-
# group_names: ["SecurityGroupName"],
|
3627
|
-
# dry_run: false,
|
3628
3628
|
# })
|
3629
3629
|
# @param [Hash] options ({})
|
3630
|
+
# @option options [Array<String>] :group_ids
|
3631
|
+
# The IDs of the security groups. Required for security groups in a
|
3632
|
+
# nondefault VPC.
|
3633
|
+
#
|
3634
|
+
# Default: Describes all of your security groups.
|
3635
|
+
# @option options [Array<String>] :group_names
|
3636
|
+
# \[Default VPC\] The names of the security groups. You can specify
|
3637
|
+
# either the security group name or the security group ID.
|
3638
|
+
#
|
3639
|
+
# Default: Describes all of your security groups.
|
3640
|
+
# @option options [Boolean] :dry_run
|
3641
|
+
# Checks whether you have the required permissions for the action,
|
3642
|
+
# without actually making the request, and provides an error response.
|
3643
|
+
# If you have the required permissions, the error response is
|
3644
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3630
3645
|
# @option options [Array<Types::Filter>] :filters
|
3631
3646
|
# The filters. If using multiple filters for rules, the results include
|
3632
3647
|
# security groups for which any combination of rules - not necessarily a
|
@@ -3709,21 +3724,6 @@ module Aws::EC2
|
|
3709
3724
|
#
|
3710
3725
|
# * `vpc-id` - The ID of the VPC specified when the security group was
|
3711
3726
|
# created.
|
3712
|
-
# @option options [Array<String>] :group_ids
|
3713
|
-
# The IDs of the security groups. Required for security groups in a
|
3714
|
-
# nondefault VPC.
|
3715
|
-
#
|
3716
|
-
# Default: Describes all of your security groups.
|
3717
|
-
# @option options [Array<String>] :group_names
|
3718
|
-
# \[Default VPC\] The names of the security groups. You can specify
|
3719
|
-
# either the security group name or the security group ID.
|
3720
|
-
#
|
3721
|
-
# Default: Describes all of your security groups.
|
3722
|
-
# @option options [Boolean] :dry_run
|
3723
|
-
# Checks whether you have the required permissions for the action,
|
3724
|
-
# without actually making the request, and provides an error response.
|
3725
|
-
# If you have the required permissions, the error response is
|
3726
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3727
3727
|
# @return [SecurityGroup::Collection]
|
3728
3728
|
def security_groups(options = {})
|
3729
3729
|
batches = Enumerator.new do |y|
|
@@ -3757,18 +3757,35 @@ module Aws::EC2
|
|
3757
3757
|
# @example Request syntax with placeholder values
|
3758
3758
|
#
|
3759
3759
|
# snapshots = ec2.snapshots({
|
3760
|
+
# owner_ids: ["String"],
|
3761
|
+
# restorable_by_user_ids: ["String"],
|
3762
|
+
# snapshot_ids: ["SnapshotId"],
|
3763
|
+
# dry_run: false,
|
3760
3764
|
# filters: [
|
3761
3765
|
# {
|
3762
3766
|
# name: "String",
|
3763
3767
|
# values: ["String"],
|
3764
3768
|
# },
|
3765
3769
|
# ],
|
3766
|
-
# owner_ids: ["String"],
|
3767
|
-
# restorable_by_user_ids: ["String"],
|
3768
|
-
# snapshot_ids: ["SnapshotId"],
|
3769
|
-
# dry_run: false,
|
3770
3770
|
# })
|
3771
3771
|
# @param [Hash] options ({})
|
3772
|
+
# @option options [Array<String>] :owner_ids
|
3773
|
+
# Scopes the results to snapshots with the specified owners. You can
|
3774
|
+
# specify a combination of Amazon Web Services account IDs, `self`, and
|
3775
|
+
# `amazon`.
|
3776
|
+
# @option options [Array<String>] :restorable_by_user_ids
|
3777
|
+
# The IDs of the Amazon Web Services accounts that can create volumes
|
3778
|
+
# from the snapshot.
|
3779
|
+
# @option options [Array<String>] :snapshot_ids
|
3780
|
+
# The snapshot IDs.
|
3781
|
+
#
|
3782
|
+
# Default: Describes the snapshots for which you have create volume
|
3783
|
+
# permissions.
|
3784
|
+
# @option options [Boolean] :dry_run
|
3785
|
+
# Checks whether you have the required permissions for the action,
|
3786
|
+
# without actually making the request, and provides an error response.
|
3787
|
+
# If you have the required permissions, the error response is
|
3788
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3772
3789
|
# @option options [Array<Types::Filter>] :filters
|
3773
3790
|
# The filters.
|
3774
3791
|
#
|
@@ -3811,23 +3828,6 @@ module Aws::EC2
|
|
3811
3828
|
# * `volume-id` - The ID of the volume the snapshot is for.
|
3812
3829
|
#
|
3813
3830
|
# * `volume-size` - The size of the volume, in GiB.
|
3814
|
-
# @option options [Array<String>] :owner_ids
|
3815
|
-
# Scopes the results to snapshots with the specified owners. You can
|
3816
|
-
# specify a combination of Amazon Web Services account IDs, `self`, and
|
3817
|
-
# `amazon`.
|
3818
|
-
# @option options [Array<String>] :restorable_by_user_ids
|
3819
|
-
# The IDs of the Amazon Web Services accounts that can create volumes
|
3820
|
-
# from the snapshot.
|
3821
|
-
# @option options [Array<String>] :snapshot_ids
|
3822
|
-
# The snapshot IDs.
|
3823
|
-
#
|
3824
|
-
# Default: Describes the snapshots for which you have create volume
|
3825
|
-
# permissions.
|
3826
|
-
# @option options [Boolean] :dry_run
|
3827
|
-
# Checks whether you have the required permissions for the action,
|
3828
|
-
# without actually making the request, and provides an error response.
|
3829
|
-
# If you have the required permissions, the error response is
|
3830
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
3831
3831
|
# @return [Snapshot::Collection]
|
3832
3832
|
def snapshots(options = {})
|
3833
3833
|
batches = Enumerator.new do |y|
|
@@ -4002,16 +4002,24 @@ module Aws::EC2
|
|
4002
4002
|
# @example Request syntax with placeholder values
|
4003
4003
|
#
|
4004
4004
|
# volumes = ec2.volumes({
|
4005
|
+
# volume_ids: ["VolumeId"],
|
4006
|
+
# dry_run: false,
|
4005
4007
|
# filters: [
|
4006
4008
|
# {
|
4007
4009
|
# name: "String",
|
4008
4010
|
# values: ["String"],
|
4009
4011
|
# },
|
4010
4012
|
# ],
|
4011
|
-
# volume_ids: ["VolumeId"],
|
4012
|
-
# dry_run: false,
|
4013
4013
|
# })
|
4014
4014
|
# @param [Hash] options ({})
|
4015
|
+
# @option options [Array<String>] :volume_ids
|
4016
|
+
# The volume IDs. If not specified, then all volumes are included in the
|
4017
|
+
# response.
|
4018
|
+
# @option options [Boolean] :dry_run
|
4019
|
+
# Checks whether you have the required permissions for the action,
|
4020
|
+
# without actually making the request, and provides an error response.
|
4021
|
+
# If you have the required permissions, the error response is
|
4022
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4015
4023
|
# @option options [Array<Types::Filter>] :filters
|
4016
4024
|
# The filters.
|
4017
4025
|
#
|
@@ -4066,14 +4074,6 @@ module Aws::EC2
|
|
4066
4074
|
#
|
4067
4075
|
# * `volume-type` - The Amazon EBS volume type (`gp2` \| `gp3` \| `io1`
|
4068
4076
|
# \| `io2` \| `st1` \| `sc1`\| `standard`)
|
4069
|
-
# @option options [Array<String>] :volume_ids
|
4070
|
-
# The volume IDs. If not specified, then all volumes are included in the
|
4071
|
-
# response.
|
4072
|
-
# @option options [Boolean] :dry_run
|
4073
|
-
# Checks whether you have the required permissions for the action,
|
4074
|
-
# without actually making the request, and provides an error response.
|
4075
|
-
# If you have the required permissions, the error response is
|
4076
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4077
4077
|
# @return [Volume::Collection]
|
4078
4078
|
def volumes(options = {})
|
4079
4079
|
batches = Enumerator.new do |y|
|
@@ -4107,17 +4107,26 @@ module Aws::EC2
|
|
4107
4107
|
# @example Request syntax with placeholder values
|
4108
4108
|
#
|
4109
4109
|
# vpc_addresses = ec2.vpc_addresses({
|
4110
|
+
# public_ips: ["String"],
|
4111
|
+
# dry_run: false,
|
4110
4112
|
# filters: [
|
4111
4113
|
# {
|
4112
4114
|
# name: "String",
|
4113
4115
|
# values: ["String"],
|
4114
4116
|
# },
|
4115
4117
|
# ],
|
4116
|
-
# public_ips: ["String"],
|
4117
4118
|
# allocation_ids: ["AllocationId"],
|
4118
|
-
# dry_run: false,
|
4119
4119
|
# })
|
4120
4120
|
# @param [Hash] options ({})
|
4121
|
+
# @option options [Array<String>] :public_ips
|
4122
|
+
# One or more Elastic IP addresses.
|
4123
|
+
#
|
4124
|
+
# Default: Describes all your Elastic IP addresses.
|
4125
|
+
# @option options [Boolean] :dry_run
|
4126
|
+
# Checks whether you have the required permissions for the action,
|
4127
|
+
# without actually making the request, and provides an error response.
|
4128
|
+
# If you have the required permissions, the error response is
|
4129
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4121
4130
|
# @option options [Array<Types::Filter>] :filters
|
4122
4131
|
# One or more filters. Filter names and values are case-sensitive.
|
4123
4132
|
#
|
@@ -4152,17 +4161,8 @@ module Aws::EC2
|
|
4152
4161
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
4153
4162
|
# filter to find all resources assigned a tag with a specific key,
|
4154
4163
|
# regardless of the tag value.
|
4155
|
-
# @option options [Array<String>] :public_ips
|
4156
|
-
# One or more Elastic IP addresses.
|
4157
|
-
#
|
4158
|
-
# Default: Describes all your Elastic IP addresses.
|
4159
4164
|
# @option options [Array<String>] :allocation_ids
|
4160
4165
|
# Information about the allocation IDs.
|
4161
|
-
# @option options [Boolean] :dry_run
|
4162
|
-
# Checks whether you have the required permissions for the action,
|
4163
|
-
# without actually making the request, and provides an error response.
|
4164
|
-
# If you have the required permissions, the error response is
|
4165
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4166
4166
|
# @return [VpcAddress::Collection]
|
4167
4167
|
def vpc_addresses(options = {})
|
4168
4168
|
batches = Enumerator.new do |y|
|
@@ -4198,16 +4198,25 @@ module Aws::EC2
|
|
4198
4198
|
# @example Request syntax with placeholder values
|
4199
4199
|
#
|
4200
4200
|
# vpc_peering_connections = ec2.vpc_peering_connections({
|
4201
|
+
# dry_run: false,
|
4202
|
+
# vpc_peering_connection_ids: ["VpcPeeringConnectionId"],
|
4201
4203
|
# filters: [
|
4202
4204
|
# {
|
4203
4205
|
# name: "String",
|
4204
4206
|
# values: ["String"],
|
4205
4207
|
# },
|
4206
4208
|
# ],
|
4207
|
-
# dry_run: false,
|
4208
|
-
# vpc_peering_connection_ids: ["VpcPeeringConnectionId"],
|
4209
4209
|
# })
|
4210
4210
|
# @param [Hash] options ({})
|
4211
|
+
# @option options [Boolean] :dry_run
|
4212
|
+
# Checks whether you have the required permissions for the action,
|
4213
|
+
# without actually making the request, and provides an error response.
|
4214
|
+
# If you have the required permissions, the error response is
|
4215
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4216
|
+
# @option options [Array<String>] :vpc_peering_connection_ids
|
4217
|
+
# The IDs of the VPC peering connections.
|
4218
|
+
#
|
4219
|
+
# Default: Describes all your VPC peering connections.
|
4211
4220
|
# @option options [Array<Types::Filter>] :filters
|
4212
4221
|
# The filters.
|
4213
4222
|
#
|
@@ -4248,15 +4257,6 @@ module Aws::EC2
|
|
4248
4257
|
# regardless of the tag value.
|
4249
4258
|
#
|
4250
4259
|
# * `vpc-peering-connection-id` - The ID of the VPC peering connection.
|
4251
|
-
# @option options [Boolean] :dry_run
|
4252
|
-
# Checks whether you have the required permissions for the action,
|
4253
|
-
# without actually making the request, and provides an error response.
|
4254
|
-
# If you have the required permissions, the error response is
|
4255
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4256
|
-
# @option options [Array<String>] :vpc_peering_connection_ids
|
4257
|
-
# The IDs of the VPC peering connections.
|
4258
|
-
#
|
4259
|
-
# Default: Describes all your VPC peering connections.
|
4260
4260
|
# @return [VpcPeeringConnection::Collection]
|
4261
4261
|
def vpc_peering_connections(options = {})
|
4262
4262
|
batches = Enumerator.new do |y|
|