aws-sdk-ec2 1.67.0 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +128 -69
- data/lib/aws-sdk-ec2/client_api.rb +4 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +24 -3
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/subnet.rb +5 -1
- data/lib/aws-sdk-ec2/types.rb +132 -60
- data/lib/aws-sdk-ec2/vpc.rb +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4e913905503ef38516796159c8e289eb5758793
|
|
4
|
+
data.tar.gz: 6a2fd3097a7674e6d4fd38aedebd6dd8996ed566
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d044013a449f9db55d5c212491b6e3116c6bbae8570c901fcea6a35d0ee3407100597f43a5f5ef166267e7e3be6ed24ea157363877065bbfe919f91e59ac01e
|
|
7
|
+
data.tar.gz: 77f73e82998c9d54a10fef737b4b49b44be442fc1b5fba7c9c2aecb7d8fe5106de1d0d7b483da51a1b2b543f68f67b5633482f16b92c7a5b64eb53699761934c
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -439,7 +439,9 @@ module Aws::EC2
|
|
|
439
439
|
# To stop advertising the BYOIP CIDR, use WithdrawByoipCidr.
|
|
440
440
|
#
|
|
441
441
|
# @option params [required, String] :cidr
|
|
442
|
-
# The IPv4 address range, in CIDR notation.
|
|
442
|
+
# The IPv4 address range, in CIDR notation. This must be the exact range
|
|
443
|
+
# that you provisioned. You can't advertise only a portion of the
|
|
444
|
+
# provisioned range.
|
|
443
445
|
#
|
|
444
446
|
# @option params [Boolean] :dry_run
|
|
445
447
|
# Checks whether you have the required permissions for the action,
|
|
@@ -1660,12 +1662,12 @@ module Aws::EC2
|
|
|
1660
1662
|
# Attaches a virtual private gateway to a VPC. You can attach one
|
|
1661
1663
|
# virtual private gateway to one VPC at a time.
|
|
1662
1664
|
#
|
|
1663
|
-
# For more information, see [AWS
|
|
1664
|
-
#
|
|
1665
|
+
# For more information, see [AWS Site-to-Site VPN][1] in the *AWS
|
|
1666
|
+
# Site-to-Site VPN User Guide*.
|
|
1665
1667
|
#
|
|
1666
1668
|
#
|
|
1667
1669
|
#
|
|
1668
|
-
# [1]: http://docs.aws.amazon.com/
|
|
1670
|
+
# [1]: http://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html
|
|
1669
1671
|
#
|
|
1670
1672
|
# @option params [required, String] :vpc_id
|
|
1671
1673
|
# The ID of the VPC.
|
|
@@ -2003,8 +2005,8 @@ module Aws::EC2
|
|
|
2003
2005
|
# EC2-VPC, the source security group must be in the same VPC.
|
|
2004
2006
|
#
|
|
2005
2007
|
# @option params [String] :source_security_group_owner_id
|
|
2006
|
-
# \[
|
|
2007
|
-
# the source security group is in a different account. You can't
|
|
2008
|
+
# \[nondefault VPC\] The AWS account ID for the source security group,
|
|
2009
|
+
# if the source security group is in a different account. You can't
|
|
2008
2010
|
# specify this parameter in combination with the following parameters:
|
|
2009
2011
|
# the CIDR IP address range, the IP protocol, the start of the port
|
|
2010
2012
|
# range, and the end of the port range. Creates rules that grant full
|
|
@@ -3499,8 +3501,8 @@ module Aws::EC2
|
|
|
3499
3501
|
#
|
|
3500
3502
|
# </note>
|
|
3501
3503
|
#
|
|
3502
|
-
# For more information
|
|
3503
|
-
#
|
|
3504
|
+
# For more information, see [AWS Site-to-Site VPN][1] in the *AWS
|
|
3505
|
+
# Site-to-Site VPN User Guide*.
|
|
3504
3506
|
#
|
|
3505
3507
|
# You cannot create more than one customer gateway with the same VPN
|
|
3506
3508
|
# type, IP address, and BGP ASN parameter values. If you run an
|
|
@@ -3511,7 +3513,7 @@ module Aws::EC2
|
|
|
3511
3513
|
#
|
|
3512
3514
|
#
|
|
3513
3515
|
#
|
|
3514
|
-
# [1]: http://docs.aws.amazon.com/
|
|
3516
|
+
# [1]: http://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html
|
|
3515
3517
|
#
|
|
3516
3518
|
# @option params [required, Integer] :bgp_asn
|
|
3517
3519
|
# For devices that support BGP, the customer gateway's BGP ASN.
|
|
@@ -7069,9 +7071,17 @@ module Aws::EC2
|
|
|
7069
7071
|
# Default: If you're creating the volume from a snapshot and don't
|
|
7070
7072
|
# specify a volume size, the default is the snapshot size.
|
|
7071
7073
|
#
|
|
7074
|
+
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
7075
|
+
#
|
|
7076
|
+
# </note>
|
|
7077
|
+
#
|
|
7072
7078
|
# @option params [String] :snapshot_id
|
|
7073
7079
|
# The snapshot from which to create the volume.
|
|
7074
7080
|
#
|
|
7081
|
+
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
7082
|
+
#
|
|
7083
|
+
# </note>
|
|
7084
|
+
#
|
|
7075
7085
|
# @option params [String] :volume_type
|
|
7076
7086
|
# The volume type. This can be `gp2` for General Purpose SSD, `io1` for
|
|
7077
7087
|
# Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
|
|
@@ -7749,12 +7759,12 @@ module Aws::EC2
|
|
|
7749
7759
|
# This is an idempotent operation. If you perform the operation more
|
|
7750
7760
|
# than once, Amazon EC2 doesn't return an error.
|
|
7751
7761
|
#
|
|
7752
|
-
# For more information, see [AWS
|
|
7753
|
-
#
|
|
7762
|
+
# For more information, see [AWS Site-to-Site VPN][1] in the *AWS
|
|
7763
|
+
# Site-to-Site VPN User Guide*.
|
|
7754
7764
|
#
|
|
7755
7765
|
#
|
|
7756
7766
|
#
|
|
7757
|
-
# [1]: http://docs.aws.amazon.com/
|
|
7767
|
+
# [1]: http://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html
|
|
7758
7768
|
#
|
|
7759
7769
|
# @option params [required, String] :customer_gateway_id
|
|
7760
7770
|
# The ID of the customer gateway.
|
|
@@ -7841,12 +7851,12 @@ module Aws::EC2
|
|
|
7841
7851
|
# static route allows traffic to be routed from the virtual private
|
|
7842
7852
|
# gateway to the VPN customer gateway.
|
|
7843
7853
|
#
|
|
7844
|
-
# For more information
|
|
7845
|
-
#
|
|
7854
|
+
# For more information, see [AWS Site-to-Site VPN][1] in the *AWS
|
|
7855
|
+
# Site-to-Site VPN User Guide*.
|
|
7846
7856
|
#
|
|
7847
7857
|
#
|
|
7848
7858
|
#
|
|
7849
|
-
# [1]: http://docs.aws.amazon.com/
|
|
7859
|
+
# [1]: http://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html
|
|
7850
7860
|
#
|
|
7851
7861
|
# @option params [required, String] :destination_cidr_block
|
|
7852
7862
|
# The CIDR block associated with the local subnet of the customer
|
|
@@ -7877,12 +7887,12 @@ module Aws::EC2
|
|
|
7877
7887
|
# endpoint on the VPC side of your VPN connection. You can create a
|
|
7878
7888
|
# virtual private gateway before creating the VPC itself.
|
|
7879
7889
|
#
|
|
7880
|
-
# For more information
|
|
7881
|
-
# VPN
|
|
7890
|
+
# For more information, see [AWS Site-to-Site VPN][1] in the *AWS
|
|
7891
|
+
# Site-to-Site VPN User Guide*.
|
|
7882
7892
|
#
|
|
7883
7893
|
#
|
|
7884
7894
|
#
|
|
7885
|
-
# [1]: http://docs.aws.amazon.com/
|
|
7895
|
+
# [1]: http://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html
|
|
7886
7896
|
#
|
|
7887
7897
|
# @option params [String] :availability_zone
|
|
7888
7898
|
# The Availability Zone for the virtual private gateway.
|
|
@@ -9941,7 +9951,7 @@ module Aws::EC2
|
|
|
9941
9951
|
# regardless of the tag value.
|
|
9942
9952
|
#
|
|
9943
9953
|
# @option params [Array<String>] :public_ips
|
|
9944
|
-
#
|
|
9954
|
+
# One or more Elastic IP addresses.
|
|
9945
9955
|
#
|
|
9946
9956
|
# Default: Describes all your Elastic IP addresses.
|
|
9947
9957
|
#
|
|
@@ -10993,12 +11003,12 @@ module Aws::EC2
|
|
|
10993
11003
|
|
|
10994
11004
|
# Describes one or more of your VPN customer gateways.
|
|
10995
11005
|
#
|
|
10996
|
-
# For more information
|
|
10997
|
-
#
|
|
11006
|
+
# For more information, see [AWS Site-to-Site VPN][1] in the *AWS
|
|
11007
|
+
# Site-to-Site VPN User Guide*.
|
|
10998
11008
|
#
|
|
10999
11009
|
#
|
|
11000
11010
|
#
|
|
11001
|
-
# [1]: http://docs.aws.amazon.com/
|
|
11011
|
+
# [1]: http://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html
|
|
11002
11012
|
#
|
|
11003
11013
|
# @option params [Array<String>] :customer_gateway_ids
|
|
11004
11014
|
# One or more customer gateway IDs.
|
|
@@ -18580,27 +18590,28 @@ module Aws::EC2
|
|
|
18580
18590
|
# @option params [Array<Types::Filter>] :filters
|
|
18581
18591
|
# One or more filters. The possible values are:
|
|
18582
18592
|
#
|
|
18583
|
-
# * `association.transit-gateway-route-table-id` - The ID of the route
|
|
18584
|
-
# table for the transit gateway.
|
|
18585
|
-
#
|
|
18586
18593
|
# * `association.state` - The state of the association (`associating` \|
|
|
18587
18594
|
# `associated` \| `disassociating`).
|
|
18588
18595
|
#
|
|
18596
|
+
# * `association.transit-gateway-route-table-id` - The ID of the route
|
|
18597
|
+
# table for the transit gateway.
|
|
18598
|
+
#
|
|
18589
18599
|
# * `resource-id` - The ID of the resource.
|
|
18590
18600
|
#
|
|
18591
|
-
# * `resource-owner` - The ID of the AWS account that owns the
|
|
18601
|
+
# * `resource-owner-id` - The ID of the AWS account that owns the
|
|
18602
|
+
# resource.
|
|
18592
18603
|
#
|
|
18593
18604
|
# * `resource-type` - The resource type (`vpc` \| `vpn`).
|
|
18594
18605
|
#
|
|
18595
|
-
# * `state` - The state of the attachment (`
|
|
18596
|
-
# `
|
|
18597
|
-
# \| `
|
|
18606
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
18607
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
18608
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
18598
18609
|
#
|
|
18599
18610
|
# * `transit-gateway-attachment-id` - The ID of the attachment.
|
|
18600
18611
|
#
|
|
18601
18612
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
|
18602
18613
|
#
|
|
18603
|
-
# * `transit-gateway-owner` - The ID of the AWS account that owns the
|
|
18614
|
+
# * `transit-gateway-owner-id` - The ID of the AWS account that owns the
|
|
18604
18615
|
# transit gateway.
|
|
18605
18616
|
#
|
|
18606
18617
|
# @option params [Integer] :max_results
|
|
@@ -18682,9 +18693,9 @@ module Aws::EC2
|
|
|
18682
18693
|
# default propagation route table for the transit gateway (`true` \|
|
|
18683
18694
|
# `false`).
|
|
18684
18695
|
#
|
|
18685
|
-
# * `state` - The state of the attachment (`
|
|
18686
|
-
# `
|
|
18687
|
-
# \| `
|
|
18696
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
18697
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
18698
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
18688
18699
|
#
|
|
18689
18700
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
|
18690
18701
|
#
|
|
@@ -18757,9 +18768,9 @@ module Aws::EC2
|
|
|
18757
18768
|
# @option params [Array<Types::Filter>] :filters
|
|
18758
18769
|
# One or more filters. The possible values are:
|
|
18759
18770
|
#
|
|
18760
|
-
# * `state` - The state of the attachment (`
|
|
18761
|
-
# `
|
|
18762
|
-
# \| `
|
|
18771
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
18772
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
18773
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
18763
18774
|
#
|
|
18764
18775
|
# * `transit-gateway-attachment-id` - The ID of the attachment.
|
|
18765
18776
|
#
|
|
@@ -18837,9 +18848,6 @@ module Aws::EC2
|
|
|
18837
18848
|
# @option params [Array<Types::Filter>] :filters
|
|
18838
18849
|
# One or more filters. The possible values are:
|
|
18839
18850
|
#
|
|
18840
|
-
# * `owner-id` - The ID of the AWS account that owns the transit
|
|
18841
|
-
# gateway.
|
|
18842
|
-
#
|
|
18843
18851
|
# * `options.propagation-default-route-table-id` - The ID of the default
|
|
18844
18852
|
# propagation route table.
|
|
18845
18853
|
#
|
|
@@ -18867,14 +18875,14 @@ module Aws::EC2
|
|
|
18867
18875
|
# * `options.vpn-ecmp-support` - Indicates whether Equal Cost Multipath
|
|
18868
18876
|
# Protocol support is enabled (`enable` \| `disable`).
|
|
18869
18877
|
#
|
|
18870
|
-
# * `
|
|
18871
|
-
#
|
|
18872
|
-
# \| `failed` \| `rejected`).
|
|
18878
|
+
# * `owner-id` - The ID of the AWS account that owns the transit
|
|
18879
|
+
# gateway.
|
|
18873
18880
|
#
|
|
18874
|
-
# * `
|
|
18881
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
18882
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
18883
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
18875
18884
|
#
|
|
18876
|
-
# * `transit-gateway-
|
|
18877
|
-
# (`pending` \| `available` \| `deleting` \| `deleted`).
|
|
18885
|
+
# * `transit-gateway-id` - The ID of the transit gateway.
|
|
18878
18886
|
#
|
|
18879
18887
|
# @option params [Integer] :max_results
|
|
18880
18888
|
# The maximum number of results to return with a single call. To
|
|
@@ -20265,9 +20273,19 @@ module Aws::EC2
|
|
|
20265
20273
|
#
|
|
20266
20274
|
# Default: Describes all your VPC peering connections.
|
|
20267
20275
|
#
|
|
20276
|
+
# @option params [String] :next_token
|
|
20277
|
+
# The token to request the next page of results. (You received this
|
|
20278
|
+
# token from a prior call.)
|
|
20279
|
+
#
|
|
20280
|
+
# @option params [Integer] :max_results
|
|
20281
|
+
# The maximum number of results to return for this request. The request
|
|
20282
|
+
# returns a token that you can specify in a subsequent call to get the
|
|
20283
|
+
# next set of results.
|
|
20284
|
+
#
|
|
20268
20285
|
# @return [Types::DescribeVpcPeeringConnectionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
20269
20286
|
#
|
|
20270
20287
|
# * {Types::DescribeVpcPeeringConnectionsResult#vpc_peering_connections #vpc_peering_connections} => Array<Types::VpcPeeringConnection>
|
|
20288
|
+
# * {Types::DescribeVpcPeeringConnectionsResult#next_token #next_token} => String
|
|
20271
20289
|
#
|
|
20272
20290
|
# @example Request syntax with placeholder values
|
|
20273
20291
|
#
|
|
@@ -20280,6 +20298,8 @@ module Aws::EC2
|
|
|
20280
20298
|
# ],
|
|
20281
20299
|
# dry_run: false,
|
|
20282
20300
|
# vpc_peering_connection_ids: ["String"],
|
|
20301
|
+
# next_token: "String",
|
|
20302
|
+
# max_results: 1,
|
|
20283
20303
|
# })
|
|
20284
20304
|
#
|
|
20285
20305
|
# @example Response structure
|
|
@@ -20314,6 +20334,7 @@ module Aws::EC2
|
|
|
20314
20334
|
# resp.vpc_peering_connections[0].tags[0].key #=> String
|
|
20315
20335
|
# resp.vpc_peering_connections[0].tags[0].value #=> String
|
|
20316
20336
|
# resp.vpc_peering_connections[0].vpc_peering_connection_id #=> String
|
|
20337
|
+
# resp.next_token #=> String
|
|
20317
20338
|
#
|
|
20318
20339
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnections AWS API Documentation
|
|
20319
20340
|
#
|
|
@@ -20466,12 +20487,12 @@ module Aws::EC2
|
|
|
20466
20487
|
|
|
20467
20488
|
# Describes one or more of your VPN connections.
|
|
20468
20489
|
#
|
|
20469
|
-
# For more information
|
|
20470
|
-
#
|
|
20490
|
+
# For more information, see [AWS Site-to-Site VPN][1] in the *AWS
|
|
20491
|
+
# Site-to-Site VPN User Guide*.
|
|
20471
20492
|
#
|
|
20472
20493
|
#
|
|
20473
20494
|
#
|
|
20474
|
-
# [1]: http://docs.aws.amazon.com/
|
|
20495
|
+
# [1]: http://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html
|
|
20475
20496
|
#
|
|
20476
20497
|
# @option params [Array<Types::Filter>] :filters
|
|
20477
20498
|
# One or more filters.
|
|
@@ -20578,12 +20599,12 @@ module Aws::EC2
|
|
|
20578
20599
|
|
|
20579
20600
|
# Describes one or more of your virtual private gateways.
|
|
20580
20601
|
#
|
|
20581
|
-
# For more information
|
|
20582
|
-
# VPN
|
|
20602
|
+
# For more information, see [AWS Site-to-Site VPN][1] in the *AWS
|
|
20603
|
+
# Site-to-Site VPN User Guide*.
|
|
20583
20604
|
#
|
|
20584
20605
|
#
|
|
20585
20606
|
#
|
|
20586
|
-
# [1]: http://docs.aws.amazon.com/
|
|
20607
|
+
# [1]: http://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html
|
|
20587
20608
|
#
|
|
20588
20609
|
# @option params [Array<Types::Filter>] :filters
|
|
20589
20610
|
# One or more filters.
|
|
@@ -21730,19 +21751,34 @@ module Aws::EC2
|
|
|
21730
21751
|
# @option params [Array<Types::Filter>] :filters
|
|
21731
21752
|
# One or more filters. The possible values are:
|
|
21732
21753
|
#
|
|
21733
|
-
# * `transit-gateway-
|
|
21754
|
+
# * `attachment.transit-gateway-attachment-id`- The id of the transit
|
|
21755
|
+
# gateway attachment.
|
|
21734
21756
|
#
|
|
21735
|
-
# * `
|
|
21736
|
-
#
|
|
21757
|
+
# * `attachment.resource-id` - The resource id of the transit gateway
|
|
21758
|
+
# attachment.
|
|
21737
21759
|
#
|
|
21738
|
-
# * `
|
|
21739
|
-
#
|
|
21760
|
+
# * `route-search.exact-match` - The exact match of the specified
|
|
21761
|
+
# filter.
|
|
21740
21762
|
#
|
|
21741
|
-
# * `
|
|
21742
|
-
#
|
|
21763
|
+
# * `route-search.longest-prefix-match` - The longest prefix that
|
|
21764
|
+
# matches the route.
|
|
21743
21765
|
#
|
|
21744
|
-
# * `
|
|
21745
|
-
#
|
|
21766
|
+
# * `route-search.subnet-of-match` - The routes with a subnet that match
|
|
21767
|
+
# the specified CIDR filter.
|
|
21768
|
+
#
|
|
21769
|
+
# * `route-search.supernet-of-match` - The routes with a CIDR that
|
|
21770
|
+
# encompass the CIDR filter. For example, if you have 10.0.1.0/29 and
|
|
21771
|
+
# 10.0.1.0/31 routes in your route table and you specify
|
|
21772
|
+
# supernet-of-match as 10.0.1.0/30, then the result returns
|
|
21773
|
+
# 10.0.1.0/29.
|
|
21774
|
+
#
|
|
21775
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
21776
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
21777
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
21778
|
+
#
|
|
21779
|
+
# * `transit-gateway-route-destination-cidr-block` - The CIDR range.
|
|
21780
|
+
#
|
|
21781
|
+
# * `type` - The type of roue (`active` \| `blackhole`).
|
|
21746
21782
|
#
|
|
21747
21783
|
# @option params [required, String] :s3_bucket
|
|
21748
21784
|
# The name of the S3 bucket.
|
|
@@ -28360,7 +28396,11 @@ module Aws::EC2
|
|
|
28360
28396
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
|
|
28361
28397
|
#
|
|
28362
28398
|
# @option params [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
|
28363
|
-
# Information about the Capacity Reservation targeting option.
|
|
28399
|
+
# Information about the Capacity Reservation targeting option. If you do
|
|
28400
|
+
# not specify this parameter, the instance's Capacity Reservation
|
|
28401
|
+
# preference defaults to `open`, which enables it to run in any open
|
|
28402
|
+
# Capacity Reservation that has matching attributes (instance type,
|
|
28403
|
+
# platform, Availability Zone).
|
|
28364
28404
|
#
|
|
28365
28405
|
# @option params [Types::HibernationOptionsRequest] :hibernation_options
|
|
28366
28406
|
# Indicates whether an instance is enabled for hibernation. For more
|
|
@@ -28899,16 +28939,35 @@ module Aws::EC2
|
|
|
28899
28939
|
# @option params [required, Array<Types::Filter>] :filters
|
|
28900
28940
|
# One or more filters. The possible values are:
|
|
28901
28941
|
#
|
|
28902
|
-
# * `transit-gateway-
|
|
28942
|
+
# * `attachment.transit-gateway-attachment-id`- The id of the transit
|
|
28943
|
+
# gateway attachment.
|
|
28944
|
+
#
|
|
28945
|
+
# * `attachment.resource-id` - The resource id of the transit gateway
|
|
28946
|
+
# attachment.
|
|
28947
|
+
#
|
|
28948
|
+
# * `attachment.resource-type` - The attachment resource type (`vpc` \|
|
|
28949
|
+
# `vpn`).
|
|
28950
|
+
#
|
|
28951
|
+
# * `route-search.exact-match` - The exact match of the specified
|
|
28952
|
+
# filter.
|
|
28953
|
+
#
|
|
28954
|
+
# * `route-search.longest-prefix-match` - The longest prefix that
|
|
28955
|
+
# matches the route.
|
|
28956
|
+
#
|
|
28957
|
+
# * `route-search.subnet-of-match` - The routes with a subnet that match
|
|
28958
|
+
# the specified CIDR filter.
|
|
28903
28959
|
#
|
|
28904
|
-
# * `
|
|
28905
|
-
#
|
|
28960
|
+
# * `route-search.supernet-of-match` - The routes with a CIDR that
|
|
28961
|
+
# encompass the CIDR filter. For example, if you have 10.0.1.0/29 and
|
|
28962
|
+
# 10.0.1.0/31 routes in your route table and you specify
|
|
28963
|
+
# supernet-of-match as 10.0.1.0/30, then the result returns
|
|
28964
|
+
# 10.0.1.0/29.
|
|
28906
28965
|
#
|
|
28907
|
-
# * `
|
|
28908
|
-
#
|
|
28966
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
28967
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
28968
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
28909
28969
|
#
|
|
28910
|
-
# * `
|
|
28911
|
-
# `propagated`).
|
|
28970
|
+
# * `type` - The type of roue (`active` \| `blackhole`).
|
|
28912
28971
|
#
|
|
28913
28972
|
# @option params [Integer] :max_results
|
|
28914
28973
|
# The maximum number of routes to return.
|
|
@@ -29766,7 +29825,7 @@ module Aws::EC2
|
|
|
29766
29825
|
params: params,
|
|
29767
29826
|
config: config)
|
|
29768
29827
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
29769
|
-
context[:gem_version] = '1.
|
|
29828
|
+
context[:gem_version] = '1.68.0'
|
|
29770
29829
|
Seahorse::Client::Request.new(handlers, context)
|
|
29771
29830
|
end
|
|
29772
29831
|
|
|
@@ -555,6 +555,7 @@ module Aws::EC2
|
|
|
555
555
|
DescribeVpcEndpointServicesResult = Shapes::StructureShape.new(name: 'DescribeVpcEndpointServicesResult')
|
|
556
556
|
DescribeVpcEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeVpcEndpointsRequest')
|
|
557
557
|
DescribeVpcEndpointsResult = Shapes::StructureShape.new(name: 'DescribeVpcEndpointsResult')
|
|
558
|
+
DescribeVpcPeeringConnectionsMaxResults = Shapes::IntegerShape.new(name: 'DescribeVpcPeeringConnectionsMaxResults')
|
|
558
559
|
DescribeVpcPeeringConnectionsRequest = Shapes::StructureShape.new(name: 'DescribeVpcPeeringConnectionsRequest')
|
|
559
560
|
DescribeVpcPeeringConnectionsResult = Shapes::StructureShape.new(name: 'DescribeVpcPeeringConnectionsResult')
|
|
560
561
|
DescribeVpcsRequest = Shapes::StructureShape.new(name: 'DescribeVpcsRequest')
|
|
@@ -3841,9 +3842,12 @@ module Aws::EC2
|
|
|
3841
3842
|
DescribeVpcPeeringConnectionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
|
3842
3843
|
DescribeVpcPeeringConnectionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
3843
3844
|
DescribeVpcPeeringConnectionsRequest.add_member(:vpc_peering_connection_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "VpcPeeringConnectionId"))
|
|
3845
|
+
DescribeVpcPeeringConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
|
3846
|
+
DescribeVpcPeeringConnectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeVpcPeeringConnectionsMaxResults, location_name: "MaxResults"))
|
|
3844
3847
|
DescribeVpcPeeringConnectionsRequest.struct_class = Types::DescribeVpcPeeringConnectionsRequest
|
|
3845
3848
|
|
|
3846
3849
|
DescribeVpcPeeringConnectionsResult.add_member(:vpc_peering_connections, Shapes::ShapeRef.new(shape: VpcPeeringConnectionList, location_name: "vpcPeeringConnectionSet"))
|
|
3850
|
+
DescribeVpcPeeringConnectionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
3847
3851
|
DescribeVpcPeeringConnectionsResult.struct_class = Types::DescribeVpcPeeringConnectionsResult
|
|
3848
3852
|
|
|
3849
3853
|
DescribeVpcsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
|
@@ -1444,7 +1444,7 @@ module Aws::EC2
|
|
|
1444
1444
|
# filter to find all resources assigned a tag with a specific key,
|
|
1445
1445
|
# regardless of the tag value.
|
|
1446
1446
|
# @option options [Array<String>] :public_ips
|
|
1447
|
-
#
|
|
1447
|
+
# One or more Elastic IP addresses.
|
|
1448
1448
|
#
|
|
1449
1449
|
# Default: Describes all your Elastic IP addresses.
|
|
1450
1450
|
# @option options [Array<String>] :allocation_ids
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -401,7 +401,11 @@ module Aws::EC2
|
|
|
401
401
|
#
|
|
402
402
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
|
|
403
403
|
# @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
|
404
|
-
# Information about the Capacity Reservation targeting option.
|
|
404
|
+
# Information about the Capacity Reservation targeting option. If you do
|
|
405
|
+
# not specify this parameter, the instance's Capacity Reservation
|
|
406
|
+
# preference defaults to `open`, which enables it to run in any open
|
|
407
|
+
# Capacity Reservation that has matching attributes (instance type,
|
|
408
|
+
# platform, Availability Zone).
|
|
405
409
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
|
406
410
|
# Indicates whether an instance is enabled for hibernation. For more
|
|
407
411
|
# information, see [Hibernate Your Instance][1] in the *Amazon Elastic
|
|
@@ -882,8 +886,16 @@ module Aws::EC2
|
|
|
882
886
|
#
|
|
883
887
|
# Default: If you're creating the volume from a snapshot and don't
|
|
884
888
|
# specify a volume size, the default is the snapshot size.
|
|
889
|
+
#
|
|
890
|
+
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
891
|
+
#
|
|
892
|
+
# </note>
|
|
885
893
|
# @option options [String] :snapshot_id
|
|
886
894
|
# The snapshot from which to create the volume.
|
|
895
|
+
#
|
|
896
|
+
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
897
|
+
#
|
|
898
|
+
# </note>
|
|
887
899
|
# @option options [String] :volume_type
|
|
888
900
|
# The volume type. This can be `gp2` for General Purpose SSD, `io1` for
|
|
889
901
|
# Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
|
|
@@ -1184,7 +1196,7 @@ module Aws::EC2
|
|
|
1184
1196
|
# filter to find all resources assigned a tag with a specific key,
|
|
1185
1197
|
# regardless of the tag value.
|
|
1186
1198
|
# @option options [Array<String>] :public_ips
|
|
1187
|
-
#
|
|
1199
|
+
# One or more Elastic IP addresses.
|
|
1188
1200
|
#
|
|
1189
1201
|
# Default: Describes all your Elastic IP addresses.
|
|
1190
1202
|
# @option options [Array<String>] :allocation_ids
|
|
@@ -2803,7 +2815,7 @@ module Aws::EC2
|
|
|
2803
2815
|
# filter to find all resources assigned a tag with a specific key,
|
|
2804
2816
|
# regardless of the tag value.
|
|
2805
2817
|
# @option options [Array<String>] :public_ips
|
|
2806
|
-
#
|
|
2818
|
+
# One or more Elastic IP addresses.
|
|
2807
2819
|
#
|
|
2808
2820
|
# Default: Describes all your Elastic IP addresses.
|
|
2809
2821
|
# @option options [Array<String>] :allocation_ids
|
|
@@ -2856,6 +2868,8 @@ module Aws::EC2
|
|
|
2856
2868
|
# ],
|
|
2857
2869
|
# dry_run: false,
|
|
2858
2870
|
# vpc_peering_connection_ids: ["String"],
|
|
2871
|
+
# next_token: "String",
|
|
2872
|
+
# max_results: 1,
|
|
2859
2873
|
# })
|
|
2860
2874
|
# @param [Hash] options ({})
|
|
2861
2875
|
# @option options [Array<Types::Filter>] :filters
|
|
@@ -2907,6 +2921,13 @@ module Aws::EC2
|
|
|
2907
2921
|
# One or more VPC peering connection IDs.
|
|
2908
2922
|
#
|
|
2909
2923
|
# Default: Describes all your VPC peering connections.
|
|
2924
|
+
# @option options [String] :next_token
|
|
2925
|
+
# The token to request the next page of results. (You received this
|
|
2926
|
+
# token from a prior call.)
|
|
2927
|
+
# @option options [Integer] :max_results
|
|
2928
|
+
# The maximum number of results to return for this request. The request
|
|
2929
|
+
# returns a token that you can specify in a subsequent call to get the
|
|
2930
|
+
# next set of results.
|
|
2910
2931
|
# @return [VpcPeeringConnection::Collection]
|
|
2911
2932
|
def vpc_peering_connections(options = {})
|
|
2912
2933
|
batches = Enumerator.new do |y|
|
|
@@ -370,8 +370,8 @@ module Aws::EC2
|
|
|
370
370
|
# IP protocol and port range, use a set of IP permissions instead. For
|
|
371
371
|
# EC2-VPC, the source security group must be in the same VPC.
|
|
372
372
|
# @option options [String] :source_security_group_owner_id
|
|
373
|
-
# \[
|
|
374
|
-
# the source security group is in a different account. You can't
|
|
373
|
+
# \[nondefault VPC\] The AWS account ID for the source security group,
|
|
374
|
+
# if the source security group is in a different account. You can't
|
|
375
375
|
# specify this parameter in combination with the following parameters:
|
|
376
376
|
# the CIDR IP address range, the IP protocol, the start of the port
|
|
377
377
|
# range, and the end of the port range. Creates rules that grant full
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
|
@@ -594,7 +594,11 @@ module Aws::EC2
|
|
|
594
594
|
#
|
|
595
595
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html
|
|
596
596
|
# @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
|
597
|
-
# Information about the Capacity Reservation targeting option.
|
|
597
|
+
# Information about the Capacity Reservation targeting option. If you do
|
|
598
|
+
# not specify this parameter, the instance's Capacity Reservation
|
|
599
|
+
# preference defaults to `open`, which enables it to run in any open
|
|
600
|
+
# Capacity Reservation that has matching attributes (instance type,
|
|
601
|
+
# platform, Availability Zone).
|
|
598
602
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
|
599
603
|
# Indicates whether an instance is enabled for hibernation. For more
|
|
600
604
|
# information, see [Hibernate Your Instance][1] in the *Amazon Elastic
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -317,7 +317,9 @@ module Aws::EC2
|
|
|
317
317
|
# }
|
|
318
318
|
#
|
|
319
319
|
# @!attribute [rw] cidr
|
|
320
|
-
# The IPv4 address range, in CIDR notation.
|
|
320
|
+
# The IPv4 address range, in CIDR notation. This must be the exact
|
|
321
|
+
# range that you provisioned. You can't advertise only a portion of
|
|
322
|
+
# the provisioned range.
|
|
321
323
|
# @return [String]
|
|
322
324
|
#
|
|
323
325
|
# @!attribute [rw] dry_run
|
|
@@ -1691,8 +1693,8 @@ module Aws::EC2
|
|
|
1691
1693
|
# @return [String]
|
|
1692
1694
|
#
|
|
1693
1695
|
# @!attribute [rw] source_security_group_owner_id
|
|
1694
|
-
# \[
|
|
1695
|
-
# the source security group is in a different account. You can't
|
|
1696
|
+
# \[nondefault VPC\] The AWS account ID for the source security group,
|
|
1697
|
+
# if the source security group is in a different account. You can't
|
|
1696
1698
|
# specify this parameter in combination with the following parameters:
|
|
1697
1699
|
# the CIDR IP address range, the IP protocol, the start of the port
|
|
1698
1700
|
# range, and the end of the port range. Creates rules that grant full
|
|
@@ -2582,12 +2584,15 @@ module Aws::EC2
|
|
|
2582
2584
|
end
|
|
2583
2585
|
|
|
2584
2586
|
# Describes an instance's Capacity Reservation targeting option. You
|
|
2585
|
-
# can specify only one
|
|
2586
|
-
# `CapacityReservationPreference`
|
|
2587
|
-
#
|
|
2588
|
-
#
|
|
2589
|
-
#
|
|
2590
|
-
#
|
|
2587
|
+
# can specify only one parameter at a time. If you specify
|
|
2588
|
+
# `CapacityReservationPreference` and `CapacityReservationTarget`, the
|
|
2589
|
+
# request fails.
|
|
2590
|
+
#
|
|
2591
|
+
# Use the `CapacityReservationPreference` parameter to configure the
|
|
2592
|
+
# instance to run as an On-Demand Instance or to run in any `open`
|
|
2593
|
+
# Capacity Reservation that has matching attributes (instance type,
|
|
2594
|
+
# platform, Availability Zone). Use the `CapacityReservationTarget`
|
|
2595
|
+
# parameter to explicitly target a specific Capacity Reservation.
|
|
2591
2596
|
#
|
|
2592
2597
|
# @note When making an API call, you may pass CapacityReservationSpecification
|
|
2593
2598
|
# data as a hash:
|
|
@@ -6904,10 +6909,18 @@ module Aws::EC2
|
|
|
6904
6909
|
#
|
|
6905
6910
|
# Default: If you're creating the volume from a snapshot and don't
|
|
6906
6911
|
# specify a volume size, the default is the snapshot size.
|
|
6912
|
+
#
|
|
6913
|
+
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
6914
|
+
#
|
|
6915
|
+
# </note>
|
|
6907
6916
|
# @return [Integer]
|
|
6908
6917
|
#
|
|
6909
6918
|
# @!attribute [rw] snapshot_id
|
|
6910
6919
|
# The snapshot from which to create the volume.
|
|
6920
|
+
#
|
|
6921
|
+
# <note markdown="1"> At least one of Size or SnapshotId are required.
|
|
6922
|
+
#
|
|
6923
|
+
# </note>
|
|
6911
6924
|
# @return [String]
|
|
6912
6925
|
#
|
|
6913
6926
|
# @!attribute [rw] volume_type
|
|
@@ -9206,7 +9219,7 @@ module Aws::EC2
|
|
|
9206
9219
|
# @return [Array<Types::Filter>]
|
|
9207
9220
|
#
|
|
9208
9221
|
# @!attribute [rw] public_ips
|
|
9209
|
-
#
|
|
9222
|
+
# One or more Elastic IP addresses.
|
|
9210
9223
|
#
|
|
9211
9224
|
# Default: Describes all your Elastic IP addresses.
|
|
9212
9225
|
# @return [Array<String>]
|
|
@@ -15571,29 +15584,29 @@ module Aws::EC2
|
|
|
15571
15584
|
# @!attribute [rw] filters
|
|
15572
15585
|
# One or more filters. The possible values are:
|
|
15573
15586
|
#
|
|
15574
|
-
# * `association.transit-gateway-route-table-id` - The ID of the route
|
|
15575
|
-
# table for the transit gateway.
|
|
15576
|
-
#
|
|
15577
15587
|
# * `association.state` - The state of the association (`associating`
|
|
15578
15588
|
# \| `associated` \| `disassociating`).
|
|
15579
15589
|
#
|
|
15590
|
+
# * `association.transit-gateway-route-table-id` - The ID of the route
|
|
15591
|
+
# table for the transit gateway.
|
|
15592
|
+
#
|
|
15580
15593
|
# * `resource-id` - The ID of the resource.
|
|
15581
15594
|
#
|
|
15582
|
-
# * `resource-owner` - The ID of the AWS account that owns the
|
|
15595
|
+
# * `resource-owner-id` - The ID of the AWS account that owns the
|
|
15583
15596
|
# resource.
|
|
15584
15597
|
#
|
|
15585
15598
|
# * `resource-type` - The resource type (`vpc` \| `vpn`).
|
|
15586
15599
|
#
|
|
15587
|
-
# * `state` - The state of the attachment (`
|
|
15588
|
-
# `
|
|
15589
|
-
# \| `
|
|
15600
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
15601
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
15602
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
15590
15603
|
#
|
|
15591
15604
|
# * `transit-gateway-attachment-id` - The ID of the attachment.
|
|
15592
15605
|
#
|
|
15593
15606
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
|
15594
15607
|
#
|
|
15595
|
-
# * `transit-gateway-owner` - The ID of the AWS account that owns
|
|
15596
|
-
# transit gateway.
|
|
15608
|
+
# * `transit-gateway-owner-id` - The ID of the AWS account that owns
|
|
15609
|
+
# the transit gateway.
|
|
15597
15610
|
# @return [Array<Types::Filter>]
|
|
15598
15611
|
#
|
|
15599
15612
|
# @!attribute [rw] max_results
|
|
@@ -15672,9 +15685,9 @@ module Aws::EC2
|
|
|
15672
15685
|
# default propagation route table for the transit gateway (`true` \|
|
|
15673
15686
|
# `false`).
|
|
15674
15687
|
#
|
|
15675
|
-
# * `state` - The state of the attachment (`
|
|
15676
|
-
# `
|
|
15677
|
-
# \| `
|
|
15688
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
15689
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
15690
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
15678
15691
|
#
|
|
15679
15692
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
|
15680
15693
|
#
|
|
@@ -15750,9 +15763,9 @@ module Aws::EC2
|
|
|
15750
15763
|
# @!attribute [rw] filters
|
|
15751
15764
|
# One or more filters. The possible values are:
|
|
15752
15765
|
#
|
|
15753
|
-
# * `state` - The state of the attachment (`
|
|
15754
|
-
# `
|
|
15755
|
-
# \| `
|
|
15766
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
15767
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
15768
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
15756
15769
|
#
|
|
15757
15770
|
# * `transit-gateway-attachment-id` - The ID of the attachment.
|
|
15758
15771
|
#
|
|
@@ -15829,9 +15842,6 @@ module Aws::EC2
|
|
|
15829
15842
|
# @!attribute [rw] filters
|
|
15830
15843
|
# One or more filters. The possible values are:
|
|
15831
15844
|
#
|
|
15832
|
-
# * `owner-id` - The ID of the AWS account that owns the transit
|
|
15833
|
-
# gateway.
|
|
15834
|
-
#
|
|
15835
15845
|
# * `options.propagation-default-route-table-id` - The ID of the
|
|
15836
15846
|
# default propagation route table.
|
|
15837
15847
|
#
|
|
@@ -15859,14 +15869,14 @@ module Aws::EC2
|
|
|
15859
15869
|
# * `options.vpn-ecmp-support` - Indicates whether Equal Cost
|
|
15860
15870
|
# Multipath Protocol support is enabled (`enable` \| `disable`).
|
|
15861
15871
|
#
|
|
15862
|
-
# * `
|
|
15863
|
-
#
|
|
15864
|
-
# \| `failed` \| `rejected`).
|
|
15872
|
+
# * `owner-id` - The ID of the AWS account that owns the transit
|
|
15873
|
+
# gateway.
|
|
15865
15874
|
#
|
|
15866
|
-
# * `
|
|
15875
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
15876
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
15877
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
15867
15878
|
#
|
|
15868
|
-
# * `transit-gateway-
|
|
15869
|
-
# (`pending` \| `available` \| `deleting` \| `deleted`).
|
|
15879
|
+
# * `transit-gateway-id` - The ID of the transit gateway.
|
|
15870
15880
|
# @return [Array<Types::Filter>]
|
|
15871
15881
|
#
|
|
15872
15882
|
# @!attribute [rw] max_results
|
|
@@ -16963,6 +16973,8 @@ module Aws::EC2
|
|
|
16963
16973
|
# ],
|
|
16964
16974
|
# dry_run: false,
|
|
16965
16975
|
# vpc_peering_connection_ids: ["String"],
|
|
16976
|
+
# next_token: "String",
|
|
16977
|
+
# max_results: 1,
|
|
16966
16978
|
# }
|
|
16967
16979
|
#
|
|
16968
16980
|
# @!attribute [rw] filters
|
|
@@ -17021,12 +17033,25 @@ module Aws::EC2
|
|
|
17021
17033
|
# Default: Describes all your VPC peering connections.
|
|
17022
17034
|
# @return [Array<String>]
|
|
17023
17035
|
#
|
|
17036
|
+
# @!attribute [rw] next_token
|
|
17037
|
+
# The token to request the next page of results. (You received this
|
|
17038
|
+
# token from a prior call.)
|
|
17039
|
+
# @return [String]
|
|
17040
|
+
#
|
|
17041
|
+
# @!attribute [rw] max_results
|
|
17042
|
+
# The maximum number of results to return for this request. The
|
|
17043
|
+
# request returns a token that you can specify in a subsequent call to
|
|
17044
|
+
# get the next set of results.
|
|
17045
|
+
# @return [Integer]
|
|
17046
|
+
#
|
|
17024
17047
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnectionsRequest AWS API Documentation
|
|
17025
17048
|
#
|
|
17026
17049
|
class DescribeVpcPeeringConnectionsRequest < Struct.new(
|
|
17027
17050
|
:filters,
|
|
17028
17051
|
:dry_run,
|
|
17029
|
-
:vpc_peering_connection_ids
|
|
17052
|
+
:vpc_peering_connection_ids,
|
|
17053
|
+
:next_token,
|
|
17054
|
+
:max_results)
|
|
17030
17055
|
include Aws::Structure
|
|
17031
17056
|
end
|
|
17032
17057
|
|
|
@@ -17034,10 +17059,16 @@ module Aws::EC2
|
|
|
17034
17059
|
# Information about the VPC peering connections.
|
|
17035
17060
|
# @return [Array<Types::VpcPeeringConnection>]
|
|
17036
17061
|
#
|
|
17062
|
+
# @!attribute [rw] next_token
|
|
17063
|
+
# The token to use to retrieve the next page of results. This value is
|
|
17064
|
+
# `null` when there are no more results to return.
|
|
17065
|
+
# @return [String]
|
|
17066
|
+
#
|
|
17037
17067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnectionsResult AWS API Documentation
|
|
17038
17068
|
#
|
|
17039
17069
|
class DescribeVpcPeeringConnectionsResult < Struct.new(
|
|
17040
|
-
:vpc_peering_connections
|
|
17070
|
+
:vpc_peering_connections,
|
|
17071
|
+
:next_token)
|
|
17041
17072
|
include Aws::Structure
|
|
17042
17073
|
end
|
|
17043
17074
|
|
|
@@ -19001,19 +19032,34 @@ module Aws::EC2
|
|
|
19001
19032
|
# @!attribute [rw] filters
|
|
19002
19033
|
# One or more filters. The possible values are:
|
|
19003
19034
|
#
|
|
19004
|
-
# * `transit-gateway-
|
|
19035
|
+
# * `attachment.transit-gateway-attachment-id`- The id of the transit
|
|
19036
|
+
# gateway attachment.
|
|
19005
19037
|
#
|
|
19006
|
-
# * `
|
|
19007
|
-
#
|
|
19038
|
+
# * `attachment.resource-id` - The resource id of the transit gateway
|
|
19039
|
+
# attachment.
|
|
19008
19040
|
#
|
|
19009
|
-
# * `
|
|
19010
|
-
#
|
|
19041
|
+
# * `route-search.exact-match` - The exact match of the specified
|
|
19042
|
+
# filter.
|
|
19011
19043
|
#
|
|
19012
|
-
# * `
|
|
19013
|
-
#
|
|
19044
|
+
# * `route-search.longest-prefix-match` - The longest prefix that
|
|
19045
|
+
# matches the route.
|
|
19014
19046
|
#
|
|
19015
|
-
# * `
|
|
19016
|
-
#
|
|
19047
|
+
# * `route-search.subnet-of-match` - The routes with a subnet that
|
|
19048
|
+
# match the specified CIDR filter.
|
|
19049
|
+
#
|
|
19050
|
+
# * `route-search.supernet-of-match` - The routes with a CIDR that
|
|
19051
|
+
# encompass the CIDR filter. For example, if you have 10.0.1.0/29
|
|
19052
|
+
# and 10.0.1.0/31 routes in your route table and you specify
|
|
19053
|
+
# supernet-of-match as 10.0.1.0/30, then the result returns
|
|
19054
|
+
# 10.0.1.0/29.
|
|
19055
|
+
#
|
|
19056
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
19057
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
19058
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
19059
|
+
#
|
|
19060
|
+
# * `transit-gateway-route-destination-cidr-block` - The CIDR range.
|
|
19061
|
+
#
|
|
19062
|
+
# * `type` - The type of roue (`active` \| `blackhole`).
|
|
19017
19063
|
# @return [Array<Types::Filter>]
|
|
19018
19064
|
#
|
|
19019
19065
|
# @!attribute [rw] s3_bucket
|
|
@@ -29613,7 +29659,11 @@ module Aws::EC2
|
|
|
29613
29659
|
# @return [Types::LaunchTemplateCpuOptionsRequest]
|
|
29614
29660
|
#
|
|
29615
29661
|
# @!attribute [rw] capacity_reservation_specification
|
|
29616
|
-
# The Capacity Reservation targeting option.
|
|
29662
|
+
# The Capacity Reservation targeting option. If you do not specify
|
|
29663
|
+
# this parameter, the instance's Capacity Reservation preference
|
|
29664
|
+
# defaults to `open`, which enables it to run in any open Capacity
|
|
29665
|
+
# Reservation that has matching attributes (instance type, platform,
|
|
29666
|
+
# Availability Zone).
|
|
29617
29667
|
# @return [Types::LaunchTemplateCapacityReservationSpecificationRequest]
|
|
29618
29668
|
#
|
|
29619
29669
|
# @!attribute [rw] hibernation_options
|
|
@@ -30469,6 +30519,10 @@ module Aws::EC2
|
|
|
30469
30519
|
#
|
|
30470
30520
|
# @!attribute [rw] instance_count
|
|
30471
30521
|
# The number of modified Reserved Instances.
|
|
30522
|
+
#
|
|
30523
|
+
# <note markdown="1"> This is a required field for a request.
|
|
30524
|
+
#
|
|
30525
|
+
# </note>
|
|
30472
30526
|
# @return [Integer]
|
|
30473
30527
|
#
|
|
30474
30528
|
# @!attribute [rw] instance_type
|
|
@@ -32045,7 +32099,11 @@ module Aws::EC2
|
|
|
32045
32099
|
# @return [Types::CpuOptionsRequest]
|
|
32046
32100
|
#
|
|
32047
32101
|
# @!attribute [rw] capacity_reservation_specification
|
|
32048
|
-
# Information about the Capacity Reservation targeting option.
|
|
32102
|
+
# Information about the Capacity Reservation targeting option. If you
|
|
32103
|
+
# do not specify this parameter, the instance's Capacity Reservation
|
|
32104
|
+
# preference defaults to `open`, which enables it to run in any open
|
|
32105
|
+
# Capacity Reservation that has matching attributes (instance type,
|
|
32106
|
+
# platform, Availability Zone).
|
|
32049
32107
|
# @return [Types::CapacityReservationSpecification]
|
|
32050
32108
|
#
|
|
32051
32109
|
# @!attribute [rw] hibernation_options
|
|
@@ -33070,16 +33128,35 @@ module Aws::EC2
|
|
|
33070
33128
|
# @!attribute [rw] filters
|
|
33071
33129
|
# One or more filters. The possible values are:
|
|
33072
33130
|
#
|
|
33073
|
-
# * `transit-gateway-
|
|
33131
|
+
# * `attachment.transit-gateway-attachment-id`- The id of the transit
|
|
33132
|
+
# gateway attachment.
|
|
33133
|
+
#
|
|
33134
|
+
# * `attachment.resource-id` - The resource id of the transit gateway
|
|
33135
|
+
# attachment.
|
|
33074
33136
|
#
|
|
33075
|
-
# * `
|
|
33076
|
-
# \| `
|
|
33137
|
+
# * `attachment.resource-type` - The attachment resource type (`vpc`
|
|
33138
|
+
# \| `vpn`).
|
|
33077
33139
|
#
|
|
33078
|
-
# * `
|
|
33079
|
-
#
|
|
33140
|
+
# * `route-search.exact-match` - The exact match of the specified
|
|
33141
|
+
# filter.
|
|
33080
33142
|
#
|
|
33081
|
-
# * `
|
|
33082
|
-
#
|
|
33143
|
+
# * `route-search.longest-prefix-match` - The longest prefix that
|
|
33144
|
+
# matches the route.
|
|
33145
|
+
#
|
|
33146
|
+
# * `route-search.subnet-of-match` - The routes with a subnet that
|
|
33147
|
+
# match the specified CIDR filter.
|
|
33148
|
+
#
|
|
33149
|
+
# * `route-search.supernet-of-match` - The routes with a CIDR that
|
|
33150
|
+
# encompass the CIDR filter. For example, if you have 10.0.1.0/29
|
|
33151
|
+
# and 10.0.1.0/31 routes in your route table and you specify
|
|
33152
|
+
# supernet-of-match as 10.0.1.0/30, then the result returns
|
|
33153
|
+
# 10.0.1.0/29.
|
|
33154
|
+
#
|
|
33155
|
+
# * `state` - The state of the attachment (`available` \| `deleted` \|
|
|
33156
|
+
# `deleting` \| `failed` \| `modifying` \| `pendingAcceptance` \|
|
|
33157
|
+
# `pending` \| `rollingBack` \| `rejected` \| `rejecting`).
|
|
33158
|
+
#
|
|
33159
|
+
# * `type` - The type of roue (`active` \| `blackhole`).
|
|
33083
33160
|
# @return [Array<Types::Filter>]
|
|
33084
33161
|
#
|
|
33085
33162
|
# @!attribute [rw] max_results
|
|
@@ -37455,12 +37532,7 @@ module Aws::EC2
|
|
|
37455
37532
|
# @!attribute [rw] category
|
|
37456
37533
|
# The category of the VPN connection. A value of `VPN` indicates an
|
|
37457
37534
|
# AWS VPN connection. A value of `VPN-Classic` indicates an AWS
|
|
37458
|
-
# Classic VPN connection.
|
|
37459
|
-
# Categories][1] in the *Amazon Virtual Private Cloud User Guide*.
|
|
37460
|
-
#
|
|
37461
|
-
#
|
|
37462
|
-
#
|
|
37463
|
-
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_VPN.html#vpn-categories
|
|
37535
|
+
# Classic VPN connection.
|
|
37464
37536
|
# @return [String]
|
|
37465
37537
|
#
|
|
37466
37538
|
# @!attribute [rw] state
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
|
@@ -700,6 +700,8 @@ module Aws::EC2
|
|
|
700
700
|
# ],
|
|
701
701
|
# dry_run: false,
|
|
702
702
|
# vpc_peering_connection_ids: ["String"],
|
|
703
|
+
# next_token: "String",
|
|
704
|
+
# max_results: 1,
|
|
703
705
|
# })
|
|
704
706
|
# @param [Hash] options ({})
|
|
705
707
|
# @option options [Array<Types::Filter>] :filters
|
|
@@ -751,6 +753,13 @@ module Aws::EC2
|
|
|
751
753
|
# One or more VPC peering connection IDs.
|
|
752
754
|
#
|
|
753
755
|
# Default: Describes all your VPC peering connections.
|
|
756
|
+
# @option options [String] :next_token
|
|
757
|
+
# The token to request the next page of results. (You received this
|
|
758
|
+
# token from a prior call.)
|
|
759
|
+
# @option options [Integer] :max_results
|
|
760
|
+
# The maximum number of results to return for this request. The request
|
|
761
|
+
# returns a token that you can specify in a subsequent call to get the
|
|
762
|
+
# next set of results.
|
|
754
763
|
# @return [VpcPeeringConnection::Collection]
|
|
755
764
|
def accepted_vpc_peering_connections(options = {})
|
|
756
765
|
batches = Enumerator.new do |y|
|
|
@@ -1423,6 +1432,8 @@ module Aws::EC2
|
|
|
1423
1432
|
# ],
|
|
1424
1433
|
# dry_run: false,
|
|
1425
1434
|
# vpc_peering_connection_ids: ["String"],
|
|
1435
|
+
# next_token: "String",
|
|
1436
|
+
# max_results: 1,
|
|
1426
1437
|
# })
|
|
1427
1438
|
# @param [Hash] options ({})
|
|
1428
1439
|
# @option options [Array<Types::Filter>] :filters
|
|
@@ -1474,6 +1485,13 @@ module Aws::EC2
|
|
|
1474
1485
|
# One or more VPC peering connection IDs.
|
|
1475
1486
|
#
|
|
1476
1487
|
# Default: Describes all your VPC peering connections.
|
|
1488
|
+
# @option options [String] :next_token
|
|
1489
|
+
# The token to request the next page of results. (You received this
|
|
1490
|
+
# token from a prior call.)
|
|
1491
|
+
# @option options [Integer] :max_results
|
|
1492
|
+
# The maximum number of results to return for this request. The request
|
|
1493
|
+
# returns a token that you can specify in a subsequent call to get the
|
|
1494
|
+
# next set of results.
|
|
1477
1495
|
# @return [VpcPeeringConnection::Collection]
|
|
1478
1496
|
def requested_vpc_peering_connections(options = {})
|
|
1479
1497
|
batches = Enumerator.new do |y|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-ec2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.68.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-02-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|