aws-sdk-ec2 1.179.0 → 1.180.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +43 -1
- data/lib/aws-sdk-ec2/client_api.rb +3 -0
- data/lib/aws-sdk-ec2/types.rb +59 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37b4725f174cb33b9486c57433d6dab7907a904228b46b14348afd9d76a0d474
|
4
|
+
data.tar.gz: d3821c0054a119b288f5479c6f5a46ef490a23bf3afc4f4414c28ddf4fe27944
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 779a9a5437089585466a904aaccb54e1b66fad6a32c4446f4a5302aff3e32b402b923f67e186232f5a57fcaf2645a68eabc563e7e2a67a0870cfcf7ca8a08ad7
|
7
|
+
data.tar.gz: a9c62072b6884d8143ffa9a899ed8597a85018acb776ca3ddfbf784dc4be99b03de7366b56f2b606a70c7c4b92dcbbee7eb58b9d617ea8699ed4e528ae7608a5
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3994,6 +3994,9 @@ module Aws::EC2
|
|
3994
3994
|
# The type of VPN connection that this customer gateway supports
|
3995
3995
|
# (`ipsec.1`).
|
3996
3996
|
#
|
3997
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
3998
|
+
# The tags to apply to the customer gateway.
|
3999
|
+
#
|
3997
4000
|
# @option params [String] :device_name
|
3998
4001
|
# A name for the customer gateway device.
|
3999
4002
|
#
|
@@ -4038,6 +4041,17 @@ module Aws::EC2
|
|
4038
4041
|
# public_ip: "String",
|
4039
4042
|
# certificate_arn: "String",
|
4040
4043
|
# type: "ipsec.1", # required, accepts ipsec.1
|
4044
|
+
# tag_specifications: [
|
4045
|
+
# {
|
4046
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
4047
|
+
# tags: [
|
4048
|
+
# {
|
4049
|
+
# key: "String",
|
4050
|
+
# value: "String",
|
4051
|
+
# },
|
4052
|
+
# ],
|
4053
|
+
# },
|
4054
|
+
# ],
|
4041
4055
|
# device_name: "String",
|
4042
4056
|
# dry_run: false,
|
4043
4057
|
# })
|
@@ -9674,6 +9688,9 @@ module Aws::EC2
|
|
9674
9688
|
# @option params [Types::VpnConnectionOptionsSpecification] :options
|
9675
9689
|
# The options for the VPN connection.
|
9676
9690
|
#
|
9691
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
9692
|
+
# The tags to apply to the VPN connection.
|
9693
|
+
#
|
9677
9694
|
# @return [Types::CreateVpnConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9678
9695
|
#
|
9679
9696
|
# * {Types::CreateVpnConnectionResult#vpn_connection #vpn_connection} => Types::VpnConnection
|
@@ -9737,6 +9754,17 @@ module Aws::EC2
|
|
9737
9754
|
# },
|
9738
9755
|
# ],
|
9739
9756
|
# },
|
9757
|
+
# tag_specifications: [
|
9758
|
+
# {
|
9759
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
9760
|
+
# tags: [
|
9761
|
+
# {
|
9762
|
+
# key: "String",
|
9763
|
+
# value: "String",
|
9764
|
+
# },
|
9765
|
+
# ],
|
9766
|
+
# },
|
9767
|
+
# ],
|
9740
9768
|
# })
|
9741
9769
|
#
|
9742
9770
|
# @example Response structure
|
@@ -9853,6 +9881,9 @@ module Aws::EC2
|
|
9853
9881
|
# @option params [required, String] :type
|
9854
9882
|
# The type of VPN connection this virtual private gateway supports.
|
9855
9883
|
#
|
9884
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
9885
|
+
# The tags to apply to the virtual private gateway.
|
9886
|
+
#
|
9856
9887
|
# @option params [Integer] :amazon_side_asn
|
9857
9888
|
# A private Autonomous System Number (ASN) for the Amazon side of a BGP
|
9858
9889
|
# session. If you're using a 16-bit ASN, it must be in the 64512 to
|
@@ -9876,6 +9907,17 @@ module Aws::EC2
|
|
9876
9907
|
# resp = client.create_vpn_gateway({
|
9877
9908
|
# availability_zone: "String",
|
9878
9909
|
# type: "ipsec.1", # required, accepts ipsec.1
|
9910
|
+
# tag_specifications: [
|
9911
|
+
# {
|
9912
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
9913
|
+
# tags: [
|
9914
|
+
# {
|
9915
|
+
# key: "String",
|
9916
|
+
# value: "String",
|
9917
|
+
# },
|
9918
|
+
# ],
|
9919
|
+
# },
|
9920
|
+
# ],
|
9879
9921
|
# amazon_side_asn: 1,
|
9880
9922
|
# dry_run: false,
|
9881
9923
|
# })
|
@@ -37820,7 +37862,7 @@ module Aws::EC2
|
|
37820
37862
|
params: params,
|
37821
37863
|
config: config)
|
37822
37864
|
context[:gem_name] = 'aws-sdk-ec2'
|
37823
|
-
context[:gem_version] = '1.
|
37865
|
+
context[:gem_version] = '1.180.0'
|
37824
37866
|
Seahorse::Client::Request.new(handlers, context)
|
37825
37867
|
end
|
37826
37868
|
|
@@ -2900,6 +2900,7 @@ module Aws::EC2
|
|
2900
2900
|
CreateCustomerGatewayRequest.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "IpAddress"))
|
2901
2901
|
CreateCustomerGatewayRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "CertificateArn"))
|
2902
2902
|
CreateCustomerGatewayRequest.add_member(:type, Shapes::ShapeRef.new(shape: GatewayType, required: true, location_name: "Type"))
|
2903
|
+
CreateCustomerGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2903
2904
|
CreateCustomerGatewayRequest.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "DeviceName"))
|
2904
2905
|
CreateCustomerGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2905
2906
|
CreateCustomerGatewayRequest.struct_class = Types::CreateCustomerGatewayRequest
|
@@ -3461,6 +3462,7 @@ module Aws::EC2
|
|
3461
3462
|
CreateVpnConnectionRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, location_name: "TransitGatewayId"))
|
3462
3463
|
CreateVpnConnectionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3463
3464
|
CreateVpnConnectionRequest.add_member(:options, Shapes::ShapeRef.new(shape: VpnConnectionOptionsSpecification, location_name: "options"))
|
3465
|
+
CreateVpnConnectionRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3464
3466
|
CreateVpnConnectionRequest.struct_class = Types::CreateVpnConnectionRequest
|
3465
3467
|
|
3466
3468
|
CreateVpnConnectionResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
|
@@ -3472,6 +3474,7 @@ module Aws::EC2
|
|
3472
3474
|
|
3473
3475
|
CreateVpnGatewayRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
3474
3476
|
CreateVpnGatewayRequest.add_member(:type, Shapes::ShapeRef.new(shape: GatewayType, required: true, location_name: "Type"))
|
3477
|
+
CreateVpnGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3475
3478
|
CreateVpnGatewayRequest.add_member(:amazon_side_asn, Shapes::ShapeRef.new(shape: Long, location_name: "AmazonSideAsn"))
|
3476
3479
|
CreateVpnGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3477
3480
|
CreateVpnGatewayRequest.struct_class = Types::CreateVpnGatewayRequest
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -5108,6 +5108,17 @@ module Aws::EC2
|
|
5108
5108
|
# public_ip: "String",
|
5109
5109
|
# certificate_arn: "String",
|
5110
5110
|
# type: "ipsec.1", # required, accepts ipsec.1
|
5111
|
+
# tag_specifications: [
|
5112
|
+
# {
|
5113
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
5114
|
+
# tags: [
|
5115
|
+
# {
|
5116
|
+
# key: "String",
|
5117
|
+
# value: "String",
|
5118
|
+
# },
|
5119
|
+
# ],
|
5120
|
+
# },
|
5121
|
+
# ],
|
5111
5122
|
# device_name: "String",
|
5112
5123
|
# dry_run: false,
|
5113
5124
|
# }
|
@@ -5132,6 +5143,10 @@ module Aws::EC2
|
|
5132
5143
|
# (`ipsec.1`).
|
5133
5144
|
# @return [String]
|
5134
5145
|
#
|
5146
|
+
# @!attribute [rw] tag_specifications
|
5147
|
+
# The tags to apply to the customer gateway.
|
5148
|
+
# @return [Array<Types::TagSpecification>]
|
5149
|
+
#
|
5135
5150
|
# @!attribute [rw] device_name
|
5136
5151
|
# A name for the customer gateway device.
|
5137
5152
|
#
|
@@ -5152,6 +5167,7 @@ module Aws::EC2
|
|
5152
5167
|
:public_ip,
|
5153
5168
|
:certificate_arn,
|
5154
5169
|
:type,
|
5170
|
+
:tag_specifications,
|
5155
5171
|
:device_name,
|
5156
5172
|
:dry_run)
|
5157
5173
|
SENSITIVE = []
|
@@ -9717,6 +9733,17 @@ module Aws::EC2
|
|
9717
9733
|
# },
|
9718
9734
|
# ],
|
9719
9735
|
# },
|
9736
|
+
# tag_specifications: [
|
9737
|
+
# {
|
9738
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
9739
|
+
# tags: [
|
9740
|
+
# {
|
9741
|
+
# key: "String",
|
9742
|
+
# value: "String",
|
9743
|
+
# },
|
9744
|
+
# ],
|
9745
|
+
# },
|
9746
|
+
# ],
|
9720
9747
|
# }
|
9721
9748
|
#
|
9722
9749
|
# @!attribute [rw] customer_gateway_id
|
@@ -9748,6 +9775,10 @@ module Aws::EC2
|
|
9748
9775
|
# The options for the VPN connection.
|
9749
9776
|
# @return [Types::VpnConnectionOptionsSpecification]
|
9750
9777
|
#
|
9778
|
+
# @!attribute [rw] tag_specifications
|
9779
|
+
# The tags to apply to the VPN connection.
|
9780
|
+
# @return [Array<Types::TagSpecification>]
|
9781
|
+
#
|
9751
9782
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRequest AWS API Documentation
|
9752
9783
|
#
|
9753
9784
|
class CreateVpnConnectionRequest < Struct.new(
|
@@ -9756,7 +9787,8 @@ module Aws::EC2
|
|
9756
9787
|
:vpn_gateway_id,
|
9757
9788
|
:transit_gateway_id,
|
9758
9789
|
:dry_run,
|
9759
|
-
:options
|
9790
|
+
:options,
|
9791
|
+
:tag_specifications)
|
9760
9792
|
SENSITIVE = []
|
9761
9793
|
include Aws::Structure
|
9762
9794
|
end
|
@@ -9811,6 +9843,17 @@ module Aws::EC2
|
|
9811
9843
|
# {
|
9812
9844
|
# availability_zone: "String",
|
9813
9845
|
# type: "ipsec.1", # required, accepts ipsec.1
|
9846
|
+
# tag_specifications: [
|
9847
|
+
# {
|
9848
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
9849
|
+
# tags: [
|
9850
|
+
# {
|
9851
|
+
# key: "String",
|
9852
|
+
# value: "String",
|
9853
|
+
# },
|
9854
|
+
# ],
|
9855
|
+
# },
|
9856
|
+
# ],
|
9814
9857
|
# amazon_side_asn: 1,
|
9815
9858
|
# dry_run: false,
|
9816
9859
|
# }
|
@@ -9823,6 +9866,10 @@ module Aws::EC2
|
|
9823
9866
|
# The type of VPN connection this virtual private gateway supports.
|
9824
9867
|
# @return [String]
|
9825
9868
|
#
|
9869
|
+
# @!attribute [rw] tag_specifications
|
9870
|
+
# The tags to apply to the virtual private gateway.
|
9871
|
+
# @return [Array<Types::TagSpecification>]
|
9872
|
+
#
|
9826
9873
|
# @!attribute [rw] amazon_side_asn
|
9827
9874
|
# A private Autonomous System Number (ASN) for the Amazon side of a
|
9828
9875
|
# BGP session. If you're using a 16-bit ASN, it must be in the 64512
|
@@ -9844,6 +9891,7 @@ module Aws::EC2
|
|
9844
9891
|
class CreateVpnGatewayRequest < Struct.new(
|
9845
9892
|
:availability_zone,
|
9846
9893
|
:type,
|
9894
|
+
:tag_specifications,
|
9847
9895
|
:amazon_side_asn,
|
9848
9896
|
:dry_run)
|
9849
9897
|
SENSITIVE = []
|
@@ -47105,20 +47153,20 @@ module Aws::EC2
|
|
47105
47153
|
# @!attribute [rw] resource_type
|
47106
47154
|
# The type of resource to tag. Currently, the resource types that
|
47107
47155
|
# support tagging on creation are: `capacity-reservation` \|
|
47108
|
-
# `client-vpn-endpoint` \| `
|
47109
|
-
# `export-image-task` \| `export-instance-task` \|
|
47110
|
-
# `fpga-image` \| `host-reservation` \| `import-image-task`
|
47111
|
-
# `import-snapshot-task` \| `instance` \| `internet-gateway` \|
|
47156
|
+
# `client-vpn-endpoint` \| `customer-gateway` \| `dedicated-host` \|
|
47157
|
+
# `dhcp-options` \| `export-image-task` \| `export-instance-task` \|
|
47158
|
+
# `fleet` \| `fpga-image` \| `host-reservation` \| `import-image-task`
|
47159
|
+
# \| `import-snapshot-task` \| `instance` \| `internet-gateway` \|
|
47112
47160
|
# `ipv4pool-ec2` \| `ipv6pool-ec2` \| `key-pair` \| `launch-template`
|
47113
47161
|
# \| `placement-group` \| `prefix-list` \| `natgateway` \|
|
47114
|
-
# `network-acl` \| `
|
47115
|
-
# `spot-
|
47116
|
-
# `traffic-mirror-filter` \| `traffic-mirror-session` \|
|
47162
|
+
# `network-acl` \| `route-table` \| `security-group` \|
|
47163
|
+
# `spot-fleet-request` \| `spot-instances-request` \| `snapshot` \|
|
47164
|
+
# `subnet` \| `traffic-mirror-filter` \| `traffic-mirror-session` \|
|
47117
47165
|
# `traffic-mirror-target` \| `transit-gateway` \|
|
47118
47166
|
# `transit-gateway-attachment` \| `transit-gateway-route-table` \|
|
47119
|
-
# `volume` \|`vpc` \| `vpc-endpoint` (for
|
47120
|
-
# endpoints) \| `vpc-endpoint-service` (for AWS
|
47121
|
-
# `vpc-flow-log`.
|
47167
|
+
# `volume` \|`vpc` \| ` vpc-peering-connection` \| `vpc-endpoint` (for
|
47168
|
+
# interface and gateway endpoints) \| `vpc-endpoint-service` (for AWS
|
47169
|
+
# PrivateLink) \| `vpc-flow-log` \| `vpn-connection` \| `vpn-gateway`.
|
47122
47170
|
#
|
47123
47171
|
# To tag a resource after it has been created, see [CreateTags][1].
|
47124
47172
|
#
|
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.180.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: 2020-07-
|
11
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|