aws-sdk-ec2 1.134.0 → 1.135.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 +22 -3
- data/lib/aws-sdk-ec2/client_api.rb +5 -2
- data/lib/aws-sdk-ec2/types.rb +29 -2
- 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: e77cc9be1cefbf1ec07422b2cd7656917f667494
|
4
|
+
data.tar.gz: 6ebabb0fba57238df77994e01a300a15dbbf848a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 063e6156b03b7b327d9c6cfeb3fb29b2205d676545c5ffdc70363ec3abd1915711080b123f19de0b73b5c4d4c2070ba4d3b71a1a6d6e41b720f2bf2ce3b933a5
|
7
|
+
data.tar.gz: 952d895d2e3b4a63ec57ae8ec762dbbf51c59da795994bd075ff1d1bf9a8fd64e46cd7ca3c38337aa7329267bcae16c6851d20a37eb2fef73727f0b38f39a097
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3647,6 +3647,14 @@ module Aws::EC2
|
|
3647
3647
|
#
|
3648
3648
|
# Default value: `udp`
|
3649
3649
|
#
|
3650
|
+
# @option params [Integer] :vpn_port
|
3651
|
+
# The port number to assign to the Client VPN endpoint for TCP and UDP
|
3652
|
+
# traffic.
|
3653
|
+
#
|
3654
|
+
# Valid Values: `443` \| `1194`
|
3655
|
+
#
|
3656
|
+
# Default Value: `443`
|
3657
|
+
#
|
3650
3658
|
# @option params [String] :description
|
3651
3659
|
# A brief description of the Client VPN endpoint.
|
3652
3660
|
#
|
@@ -3714,6 +3722,7 @@ module Aws::EC2
|
|
3714
3722
|
# },
|
3715
3723
|
# dns_servers: ["String"],
|
3716
3724
|
# transport_protocol: "tcp", # accepts tcp, udp
|
3725
|
+
# vpn_port: 1,
|
3717
3726
|
# description: "String",
|
3718
3727
|
# split_tunnel: false,
|
3719
3728
|
# dry_run: false,
|
@@ -3805,7 +3814,7 @@ module Aws::EC2
|
|
3805
3814
|
# resp = client.create_client_vpn_route({
|
3806
3815
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
3807
3816
|
# destination_cidr_block: "String", # required
|
3808
|
-
# target_vpc_subnet_id: "
|
3817
|
+
# target_vpc_subnet_id: "SubnetId", # required
|
3809
3818
|
# description: "String",
|
3810
3819
|
# client_token: "String",
|
3811
3820
|
# dry_run: false,
|
@@ -9388,7 +9397,7 @@ module Aws::EC2
|
|
9388
9397
|
#
|
9389
9398
|
# resp = client.delete_client_vpn_route({
|
9390
9399
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
9391
|
-
# target_vpc_subnet_id: "
|
9400
|
+
# target_vpc_subnet_id: "SubnetId",
|
9392
9401
|
# destination_cidr_block: "String", # required
|
9393
9402
|
# dry_run: false,
|
9394
9403
|
# })
|
@@ -12652,6 +12661,7 @@ module Aws::EC2
|
|
12652
12661
|
# resp.client_vpn_endpoints[0].split_tunnel #=> Boolean
|
12653
12662
|
# resp.client_vpn_endpoints[0].vpn_protocol #=> String, one of "openvpn"
|
12654
12663
|
# resp.client_vpn_endpoints[0].transport_protocol #=> String, one of "tcp", "udp"
|
12664
|
+
# resp.client_vpn_endpoints[0].vpn_port #=> Integer
|
12655
12665
|
# resp.client_vpn_endpoints[0].associated_target_networks #=> Array
|
12656
12666
|
# resp.client_vpn_endpoints[0].associated_target_networks[0].network_id #=> String
|
12657
12667
|
# resp.client_vpn_endpoints[0].associated_target_networks[0].network_type #=> String, one of "vpc"
|
@@ -27478,6 +27488,14 @@ module Aws::EC2
|
|
27478
27488
|
# Information about the DNS servers to be used by Client VPN
|
27479
27489
|
# connections. A Client VPN endpoint can have up to two DNS servers.
|
27480
27490
|
#
|
27491
|
+
# @option params [Integer] :vpn_port
|
27492
|
+
# The port number to assign to the Client VPN endpoint for TCP and UDP
|
27493
|
+
# traffic.
|
27494
|
+
#
|
27495
|
+
# Valid Values: `443` \| `1194`
|
27496
|
+
#
|
27497
|
+
# Default Value: `443`
|
27498
|
+
#
|
27481
27499
|
# @option params [String] :description
|
27482
27500
|
# A brief description of the Client VPN endpoint.
|
27483
27501
|
#
|
@@ -27516,6 +27534,7 @@ module Aws::EC2
|
|
27516
27534
|
# custom_dns_servers: ["String"],
|
27517
27535
|
# enabled: false,
|
27518
27536
|
# },
|
27537
|
+
# vpn_port: 1,
|
27519
27538
|
# description: "String",
|
27520
27539
|
# split_tunnel: false,
|
27521
27540
|
# dry_run: false,
|
@@ -35693,7 +35712,7 @@ module Aws::EC2
|
|
35693
35712
|
params: params,
|
35694
35713
|
config: config)
|
35695
35714
|
context[:gem_name] = 'aws-sdk-ec2'
|
35696
|
-
context[:gem_version] = '1.
|
35715
|
+
context[:gem_version] = '1.135.0'
|
35697
35716
|
Seahorse::Client::Request.new(handlers, context)
|
35698
35717
|
end
|
35699
35718
|
|
@@ -2554,6 +2554,7 @@ module Aws::EC2
|
|
2554
2554
|
ClientVpnEndpoint.add_member(:split_tunnel, Shapes::ShapeRef.new(shape: Boolean, location_name: "splitTunnel"))
|
2555
2555
|
ClientVpnEndpoint.add_member(:vpn_protocol, Shapes::ShapeRef.new(shape: VpnProtocol, location_name: "vpnProtocol"))
|
2556
2556
|
ClientVpnEndpoint.add_member(:transport_protocol, Shapes::ShapeRef.new(shape: TransportProtocol, location_name: "transportProtocol"))
|
2557
|
+
ClientVpnEndpoint.add_member(:vpn_port, Shapes::ShapeRef.new(shape: Integer, location_name: "vpnPort"))
|
2557
2558
|
ClientVpnEndpoint.add_member(:associated_target_networks, Shapes::ShapeRef.new(shape: AssociatedTargetNetworkSet, deprecated: true, location_name: "associatedTargetNetwork", metadata: {"deprecatedMessage"=>"This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element."}))
|
2558
2559
|
ClientVpnEndpoint.add_member(:server_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "serverCertificateArn"))
|
2559
2560
|
ClientVpnEndpoint.add_member(:authentication_options, Shapes::ShapeRef.new(shape: ClientVpnAuthenticationList, location_name: "authenticationOptions"))
|
@@ -2715,6 +2716,7 @@ module Aws::EC2
|
|
2715
2716
|
CreateClientVpnEndpointRequest.add_member(:connection_log_options, Shapes::ShapeRef.new(shape: ConnectionLogOptions, required: true, location_name: "ConnectionLogOptions"))
|
2716
2717
|
CreateClientVpnEndpointRequest.add_member(:dns_servers, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "DnsServers"))
|
2717
2718
|
CreateClientVpnEndpointRequest.add_member(:transport_protocol, Shapes::ShapeRef.new(shape: TransportProtocol, location_name: "TransportProtocol"))
|
2719
|
+
CreateClientVpnEndpointRequest.add_member(:vpn_port, Shapes::ShapeRef.new(shape: Integer, location_name: "VpnPort"))
|
2718
2720
|
CreateClientVpnEndpointRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
2719
2721
|
CreateClientVpnEndpointRequest.add_member(:split_tunnel, Shapes::ShapeRef.new(shape: Boolean, location_name: "SplitTunnel"))
|
2720
2722
|
CreateClientVpnEndpointRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -2729,7 +2731,7 @@ module Aws::EC2
|
|
2729
2731
|
|
2730
2732
|
CreateClientVpnRouteRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
2731
2733
|
CreateClientVpnRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
2732
|
-
CreateClientVpnRouteRequest.add_member(:target_vpc_subnet_id, Shapes::ShapeRef.new(shape:
|
2734
|
+
CreateClientVpnRouteRequest.add_member(:target_vpc_subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "TargetVpcSubnetId"))
|
2733
2735
|
CreateClientVpnRouteRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
2734
2736
|
CreateClientVpnRouteRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
2735
2737
|
CreateClientVpnRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -3307,7 +3309,7 @@ module Aws::EC2
|
|
3307
3309
|
DeleteClientVpnEndpointResult.struct_class = Types::DeleteClientVpnEndpointResult
|
3308
3310
|
|
3309
3311
|
DeleteClientVpnRouteRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
3310
|
-
DeleteClientVpnRouteRequest.add_member(:target_vpc_subnet_id, Shapes::ShapeRef.new(shape:
|
3312
|
+
DeleteClientVpnRouteRequest.add_member(:target_vpc_subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "TargetVpcSubnetId"))
|
3311
3313
|
DeleteClientVpnRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
3312
3314
|
DeleteClientVpnRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3313
3315
|
DeleteClientVpnRouteRequest.struct_class = Types::DeleteClientVpnRouteRequest
|
@@ -6755,6 +6757,7 @@ module Aws::EC2
|
|
6755
6757
|
ModifyClientVpnEndpointRequest.add_member(:server_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServerCertificateArn"))
|
6756
6758
|
ModifyClientVpnEndpointRequest.add_member(:connection_log_options, Shapes::ShapeRef.new(shape: ConnectionLogOptions, location_name: "ConnectionLogOptions"))
|
6757
6759
|
ModifyClientVpnEndpointRequest.add_member(:dns_servers, Shapes::ShapeRef.new(shape: DnsServersOptionsModifyStructure, location_name: "DnsServers"))
|
6760
|
+
ModifyClientVpnEndpointRequest.add_member(:vpn_port, Shapes::ShapeRef.new(shape: Integer, location_name: "VpnPort"))
|
6758
6761
|
ModifyClientVpnEndpointRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
6759
6762
|
ModifyClientVpnEndpointRequest.add_member(:split_tunnel, Shapes::ShapeRef.new(shape: Boolean, location_name: "SplitTunnel"))
|
6760
6763
|
ModifyClientVpnEndpointRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -3584,6 +3584,10 @@ module Aws::EC2
|
|
3584
3584
|
# The transport protocol used by the Client VPN endpoint.
|
3585
3585
|
# @return [String]
|
3586
3586
|
#
|
3587
|
+
# @!attribute [rw] vpn_port
|
3588
|
+
# The port number for the Client VPN endpoint.
|
3589
|
+
# @return [Integer]
|
3590
|
+
#
|
3587
3591
|
# @!attribute [rw] associated_target_networks
|
3588
3592
|
# Information about the associated target networks. A target network
|
3589
3593
|
# is a subnet in a VPC.
|
@@ -3621,6 +3625,7 @@ module Aws::EC2
|
|
3621
3625
|
:split_tunnel,
|
3622
3626
|
:vpn_protocol,
|
3623
3627
|
:transport_protocol,
|
3628
|
+
:vpn_port,
|
3624
3629
|
:associated_target_networks,
|
3625
3630
|
:server_certificate_arn,
|
3626
3631
|
:authentication_options,
|
@@ -4584,6 +4589,7 @@ module Aws::EC2
|
|
4584
4589
|
# },
|
4585
4590
|
# dns_servers: ["String"],
|
4586
4591
|
# transport_protocol: "tcp", # accepts tcp, udp
|
4592
|
+
# vpn_port: 1,
|
4587
4593
|
# description: "String",
|
4588
4594
|
# split_tunnel: false,
|
4589
4595
|
# dry_run: false,
|
@@ -4653,6 +4659,15 @@ module Aws::EC2
|
|
4653
4659
|
# Default value: `udp`
|
4654
4660
|
# @return [String]
|
4655
4661
|
#
|
4662
|
+
# @!attribute [rw] vpn_port
|
4663
|
+
# The port number to assign to the Client VPN endpoint for TCP and UDP
|
4664
|
+
# traffic.
|
4665
|
+
#
|
4666
|
+
# Valid Values: `443` \| `1194`
|
4667
|
+
#
|
4668
|
+
# Default Value: `443`
|
4669
|
+
# @return [Integer]
|
4670
|
+
#
|
4656
4671
|
# @!attribute [rw] description
|
4657
4672
|
# A brief description of the Client VPN endpoint.
|
4658
4673
|
# @return [String]
|
@@ -4705,6 +4720,7 @@ module Aws::EC2
|
|
4705
4720
|
:connection_log_options,
|
4706
4721
|
:dns_servers,
|
4707
4722
|
:transport_protocol,
|
4723
|
+
:vpn_port,
|
4708
4724
|
:description,
|
4709
4725
|
:split_tunnel,
|
4710
4726
|
:dry_run,
|
@@ -4741,7 +4757,7 @@ module Aws::EC2
|
|
4741
4757
|
# {
|
4742
4758
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
4743
4759
|
# destination_cidr_block: "String", # required
|
4744
|
-
# target_vpc_subnet_id: "
|
4760
|
+
# target_vpc_subnet_id: "SubnetId", # required
|
4745
4761
|
# description: "String",
|
4746
4762
|
# client_token: "String",
|
4747
4763
|
# dry_run: false,
|
@@ -9126,7 +9142,7 @@ module Aws::EC2
|
|
9126
9142
|
#
|
9127
9143
|
# {
|
9128
9144
|
# client_vpn_endpoint_id: "ClientVpnEndpointId", # required
|
9129
|
-
# target_vpc_subnet_id: "
|
9145
|
+
# target_vpc_subnet_id: "SubnetId",
|
9130
9146
|
# destination_cidr_block: "String", # required
|
9131
9147
|
# dry_run: false,
|
9132
9148
|
# }
|
@@ -30985,6 +31001,7 @@ module Aws::EC2
|
|
30985
31001
|
# custom_dns_servers: ["String"],
|
30986
31002
|
# enabled: false,
|
30987
31003
|
# },
|
31004
|
+
# vpn_port: 1,
|
30988
31005
|
# description: "String",
|
30989
31006
|
# split_tunnel: false,
|
30990
31007
|
# dry_run: false,
|
@@ -31020,6 +31037,15 @@ module Aws::EC2
|
|
31020
31037
|
# connections. A Client VPN endpoint can have up to two DNS servers.
|
31021
31038
|
# @return [Types::DnsServersOptionsModifyStructure]
|
31022
31039
|
#
|
31040
|
+
# @!attribute [rw] vpn_port
|
31041
|
+
# The port number to assign to the Client VPN endpoint for TCP and UDP
|
31042
|
+
# traffic.
|
31043
|
+
#
|
31044
|
+
# Valid Values: `443` \| `1194`
|
31045
|
+
#
|
31046
|
+
# Default Value: `443`
|
31047
|
+
# @return [Integer]
|
31048
|
+
#
|
31023
31049
|
# @!attribute [rw] description
|
31024
31050
|
# A brief description of the Client VPN endpoint.
|
31025
31051
|
# @return [String]
|
@@ -31050,6 +31076,7 @@ module Aws::EC2
|
|
31050
31076
|
:server_certificate_arn,
|
31051
31077
|
:connection_log_options,
|
31052
31078
|
:dns_servers,
|
31079
|
+
:vpn_port,
|
31053
31080
|
:description,
|
31054
31081
|
:split_tunnel,
|
31055
31082
|
:dry_run)
|
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.135.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-01-
|
11
|
+
date: 2020-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|