aws-sdk-ec2 1.104.0 → 1.105.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 +78 -6
- data/lib/aws-sdk-ec2/client_api.rb +23 -1
- data/lib/aws-sdk-ec2/types.rb +70 -5
- 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: bd9b46582ef883444241f9b92afd47b47492dbb7
|
4
|
+
data.tar.gz: 4544cca6041cc0d163080e71072cbd9114c057a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0367b41bcd8bc145bb67a943ec507fbab81b5a3061496af2545f101138b46284b2931c9926ea5e273c5139a8432933c2e7c855671cf386e54e7eda440a1c0f8d
|
7
|
+
data.tar.gz: 37a060b832f877e879fe16b3edb930b0f3d10618bb4d18c6fc099459f13953e2b8940aa00edb7d4f0b68e09d01f00f53f76bc39e4acece514a5eb3b90e3876ec
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -3666,10 +3666,13 @@ module Aws::EC2
|
|
3666
3666
|
#
|
3667
3667
|
# Default: 65000
|
3668
3668
|
#
|
3669
|
-
# @option params [
|
3669
|
+
# @option params [String] :public_ip
|
3670
3670
|
# The Internet-routable IP address for the customer gateway's outside
|
3671
3671
|
# interface. The address must be static.
|
3672
3672
|
#
|
3673
|
+
# @option params [String] :certificate_arn
|
3674
|
+
# The Amazon Resource Name (ARN) for the customer gateway certificate.
|
3675
|
+
#
|
3673
3676
|
# @option params [required, String] :type
|
3674
3677
|
# The type of VPN connection that this customer gateway supports
|
3675
3678
|
# (`ipsec.1`).
|
@@ -3710,7 +3713,8 @@ module Aws::EC2
|
|
3710
3713
|
#
|
3711
3714
|
# resp = client.create_customer_gateway({
|
3712
3715
|
# bgp_asn: 1, # required
|
3713
|
-
# public_ip: "String",
|
3716
|
+
# public_ip: "String",
|
3717
|
+
# certificate_arn: "String",
|
3714
3718
|
# type: "ipsec.1", # required, accepts ipsec.1
|
3715
3719
|
# dry_run: false,
|
3716
3720
|
# })
|
@@ -3720,6 +3724,7 @@ module Aws::EC2
|
|
3720
3724
|
# resp.customer_gateway.bgp_asn #=> String
|
3721
3725
|
# resp.customer_gateway.customer_gateway_id #=> String
|
3722
3726
|
# resp.customer_gateway.ip_address #=> String
|
3727
|
+
# resp.customer_gateway.certificate_arn #=> String
|
3723
3728
|
# resp.customer_gateway.state #=> String
|
3724
3729
|
# resp.customer_gateway.type #=> String
|
3725
3730
|
# resp.customer_gateway.tags #=> Array
|
@@ -8548,6 +8553,7 @@ module Aws::EC2
|
|
8548
8553
|
# resp.vpn_connection.vgw_telemetry[0].outside_ip_address #=> String
|
8549
8554
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
8550
8555
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
8556
|
+
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
8551
8557
|
#
|
8552
8558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnection AWS API Documentation
|
8553
8559
|
#
|
@@ -11959,6 +11965,7 @@ module Aws::EC2
|
|
11959
11965
|
# resp.customer_gateways[0].bgp_asn #=> String
|
11960
11966
|
# resp.customer_gateways[0].customer_gateway_id #=> String
|
11961
11967
|
# resp.customer_gateways[0].ip_address #=> String
|
11968
|
+
# resp.customer_gateways[0].certificate_arn #=> String
|
11962
11969
|
# resp.customer_gateways[0].state #=> String
|
11963
11970
|
# resp.customer_gateways[0].type #=> String
|
11964
11971
|
# resp.customer_gateways[0].tags #=> Array
|
@@ -21870,6 +21877,7 @@ module Aws::EC2
|
|
21870
21877
|
# resp.vpn_connections[0].vgw_telemetry[0].outside_ip_address #=> String
|
21871
21878
|
# resp.vpn_connections[0].vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
21872
21879
|
# resp.vpn_connections[0].vgw_telemetry[0].status_message #=> String
|
21880
|
+
# resp.vpn_connections[0].vgw_telemetry[0].certificate_arn #=> String
|
21873
21881
|
#
|
21874
21882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnections AWS API Documentation
|
21875
21883
|
#
|
@@ -27062,9 +27070,7 @@ module Aws::EC2
|
|
27062
27070
|
#
|
27063
27071
|
# @option params [String] :policy_document
|
27064
27072
|
# A policy to attach to the endpoint that controls access to the
|
27065
|
-
# service. The policy must be in valid JSON format.
|
27066
|
-
# not specified, we attach a default policy that allows full access to
|
27067
|
-
# the service.
|
27073
|
+
# service. The policy must be in valid JSON format.
|
27068
27074
|
#
|
27069
27075
|
# @option params [Array<String>] :add_route_table_ids
|
27070
27076
|
# (Gateway endpoint) One or more route tables IDs to associate with the
|
@@ -27470,6 +27476,9 @@ module Aws::EC2
|
|
27470
27476
|
# @option params [String] :transit_gateway_id
|
27471
27477
|
# The ID of the transit gateway.
|
27472
27478
|
#
|
27479
|
+
# @option params [String] :customer_gateway_id
|
27480
|
+
# The ID of the customer gateway at your end of the VPN connection.
|
27481
|
+
#
|
27473
27482
|
# @option params [String] :vpn_gateway_id
|
27474
27483
|
# The ID of the virtual private gateway at the AWS side of the VPN
|
27475
27484
|
# connection.
|
@@ -27489,6 +27498,7 @@ module Aws::EC2
|
|
27489
27498
|
# resp = client.modify_vpn_connection({
|
27490
27499
|
# vpn_connection_id: "String", # required
|
27491
27500
|
# transit_gateway_id: "String",
|
27501
|
+
# customer_gateway_id: "String",
|
27492
27502
|
# vpn_gateway_id: "String",
|
27493
27503
|
# dry_run: false,
|
27494
27504
|
# })
|
@@ -27517,6 +27527,7 @@ module Aws::EC2
|
|
27517
27527
|
# resp.vpn_connection.vgw_telemetry[0].outside_ip_address #=> String
|
27518
27528
|
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
27519
27529
|
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
27530
|
+
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
27520
27531
|
#
|
27521
27532
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnConnection AWS API Documentation
|
27522
27533
|
#
|
@@ -27527,6 +27538,67 @@ module Aws::EC2
|
|
27527
27538
|
req.send_request(options)
|
27528
27539
|
end
|
27529
27540
|
|
27541
|
+
# Modifies the VPN tunnel endpoint certificate.
|
27542
|
+
#
|
27543
|
+
# @option params [required, String] :vpn_connection_id
|
27544
|
+
# The ID of the AWS Site-to-Site VPN connection.
|
27545
|
+
#
|
27546
|
+
# @option params [required, String] :vpn_tunnel_outside_ip_address
|
27547
|
+
# The external IP address of the VPN tunnel.
|
27548
|
+
#
|
27549
|
+
# @option params [Boolean] :dry_run
|
27550
|
+
# Checks whether you have the required permissions for the action,
|
27551
|
+
# without actually making the request, and provides an error response.
|
27552
|
+
# If you have the required permissions, the error response is
|
27553
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27554
|
+
#
|
27555
|
+
# @return [Types::ModifyVpnTunnelCertificateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27556
|
+
#
|
27557
|
+
# * {Types::ModifyVpnTunnelCertificateResult#vpn_connection #vpn_connection} => Types::VpnConnection
|
27558
|
+
#
|
27559
|
+
# @example Request syntax with placeholder values
|
27560
|
+
#
|
27561
|
+
# resp = client.modify_vpn_tunnel_certificate({
|
27562
|
+
# vpn_connection_id: "String", # required
|
27563
|
+
# vpn_tunnel_outside_ip_address: "String", # required
|
27564
|
+
# dry_run: false,
|
27565
|
+
# })
|
27566
|
+
#
|
27567
|
+
# @example Response structure
|
27568
|
+
#
|
27569
|
+
# resp.vpn_connection.customer_gateway_configuration #=> String
|
27570
|
+
# resp.vpn_connection.customer_gateway_id #=> String
|
27571
|
+
# resp.vpn_connection.category #=> String
|
27572
|
+
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
27573
|
+
# resp.vpn_connection.type #=> String, one of "ipsec.1"
|
27574
|
+
# resp.vpn_connection.vpn_connection_id #=> String
|
27575
|
+
# resp.vpn_connection.vpn_gateway_id #=> String
|
27576
|
+
# resp.vpn_connection.transit_gateway_id #=> String
|
27577
|
+
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
27578
|
+
# resp.vpn_connection.routes #=> Array
|
27579
|
+
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
27580
|
+
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
27581
|
+
# resp.vpn_connection.routes[0].state #=> String, one of "pending", "available", "deleting", "deleted"
|
27582
|
+
# resp.vpn_connection.tags #=> Array
|
27583
|
+
# resp.vpn_connection.tags[0].key #=> String
|
27584
|
+
# resp.vpn_connection.tags[0].value #=> String
|
27585
|
+
# resp.vpn_connection.vgw_telemetry #=> Array
|
27586
|
+
# resp.vpn_connection.vgw_telemetry[0].accepted_route_count #=> Integer
|
27587
|
+
# resp.vpn_connection.vgw_telemetry[0].last_status_change #=> Time
|
27588
|
+
# resp.vpn_connection.vgw_telemetry[0].outside_ip_address #=> String
|
27589
|
+
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
27590
|
+
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
27591
|
+
# resp.vpn_connection.vgw_telemetry[0].certificate_arn #=> String
|
27592
|
+
#
|
27593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelCertificate AWS API Documentation
|
27594
|
+
#
|
27595
|
+
# @overload modify_vpn_tunnel_certificate(params = {})
|
27596
|
+
# @param [Hash] params ({})
|
27597
|
+
def modify_vpn_tunnel_certificate(params = {}, options = {})
|
27598
|
+
req = build_request(:modify_vpn_tunnel_certificate, params)
|
27599
|
+
req.send_request(options)
|
27600
|
+
end
|
27601
|
+
|
27530
27602
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
27531
27603
|
# monitoring is enabled. For more information, see [Monitoring Your
|
27532
27604
|
# Instances and Volumes][1] in the *Amazon Elastic Compute Cloud User
|
@@ -32115,7 +32187,7 @@ module Aws::EC2
|
|
32115
32187
|
params: params,
|
32116
32188
|
config: config)
|
32117
32189
|
context[:gem_name] = 'aws-sdk-ec2'
|
32118
|
-
context[:gem_version] = '1.
|
32190
|
+
context[:gem_version] = '1.105.0'
|
32119
32191
|
Seahorse::Client::Request.new(handlers, context)
|
32120
32192
|
end
|
32121
32193
|
|
@@ -1062,6 +1062,8 @@ module Aws::EC2
|
|
1062
1062
|
ModifyVpcTenancyResult = Shapes::StructureShape.new(name: 'ModifyVpcTenancyResult')
|
1063
1063
|
ModifyVpnConnectionRequest = Shapes::StructureShape.new(name: 'ModifyVpnConnectionRequest')
|
1064
1064
|
ModifyVpnConnectionResult = Shapes::StructureShape.new(name: 'ModifyVpnConnectionResult')
|
1065
|
+
ModifyVpnTunnelCertificateRequest = Shapes::StructureShape.new(name: 'ModifyVpnTunnelCertificateRequest')
|
1066
|
+
ModifyVpnTunnelCertificateResult = Shapes::StructureShape.new(name: 'ModifyVpnTunnelCertificateResult')
|
1065
1067
|
MonitorInstancesRequest = Shapes::StructureShape.new(name: 'MonitorInstancesRequest')
|
1066
1068
|
MonitorInstancesResult = Shapes::StructureShape.new(name: 'MonitorInstancesResult')
|
1067
1069
|
Monitoring = Shapes::StructureShape.new(name: 'Monitoring')
|
@@ -2317,7 +2319,8 @@ module Aws::EC2
|
|
2317
2319
|
CreateClientVpnRouteResult.struct_class = Types::CreateClientVpnRouteResult
|
2318
2320
|
|
2319
2321
|
CreateCustomerGatewayRequest.add_member(:bgp_asn, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "BgpAsn"))
|
2320
|
-
CreateCustomerGatewayRequest.add_member(:public_ip, Shapes::ShapeRef.new(shape: String,
|
2322
|
+
CreateCustomerGatewayRequest.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "IpAddress"))
|
2323
|
+
CreateCustomerGatewayRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "CertificateArn"))
|
2321
2324
|
CreateCustomerGatewayRequest.add_member(:type, Shapes::ShapeRef.new(shape: GatewayType, required: true, location_name: "Type"))
|
2322
2325
|
CreateCustomerGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2323
2326
|
CreateCustomerGatewayRequest.struct_class = Types::CreateCustomerGatewayRequest
|
@@ -2821,6 +2824,7 @@ module Aws::EC2
|
|
2821
2824
|
CustomerGateway.add_member(:bgp_asn, Shapes::ShapeRef.new(shape: String, location_name: "bgpAsn"))
|
2822
2825
|
CustomerGateway.add_member(:customer_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "customerGatewayId"))
|
2823
2826
|
CustomerGateway.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, location_name: "ipAddress"))
|
2827
|
+
CustomerGateway.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "certificateArn"))
|
2824
2828
|
CustomerGateway.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "state"))
|
2825
2829
|
CustomerGateway.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
2826
2830
|
CustomerGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
@@ -5958,6 +5962,7 @@ module Aws::EC2
|
|
5958
5962
|
|
5959
5963
|
ModifyVpnConnectionRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnConnectionId"))
|
5960
5964
|
ModifyVpnConnectionRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "TransitGatewayId"))
|
5965
|
+
ModifyVpnConnectionRequest.add_member(:customer_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "CustomerGatewayId"))
|
5961
5966
|
ModifyVpnConnectionRequest.add_member(:vpn_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "VpnGatewayId"))
|
5962
5967
|
ModifyVpnConnectionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5963
5968
|
ModifyVpnConnectionRequest.struct_class = Types::ModifyVpnConnectionRequest
|
@@ -5965,6 +5970,14 @@ module Aws::EC2
|
|
5965
5970
|
ModifyVpnConnectionResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
|
5966
5971
|
ModifyVpnConnectionResult.struct_class = Types::ModifyVpnConnectionResult
|
5967
5972
|
|
5973
|
+
ModifyVpnTunnelCertificateRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnConnectionId"))
|
5974
|
+
ModifyVpnTunnelCertificateRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
|
5975
|
+
ModifyVpnTunnelCertificateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5976
|
+
ModifyVpnTunnelCertificateRequest.struct_class = Types::ModifyVpnTunnelCertificateRequest
|
5977
|
+
|
5978
|
+
ModifyVpnTunnelCertificateResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
|
5979
|
+
ModifyVpnTunnelCertificateResult.struct_class = Types::ModifyVpnTunnelCertificateResult
|
5980
|
+
|
5968
5981
|
MonitorInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
5969
5982
|
MonitorInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5970
5983
|
MonitorInstancesRequest.struct_class = Types::MonitorInstancesRequest
|
@@ -7765,6 +7778,7 @@ module Aws::EC2
|
|
7765
7778
|
VgwTelemetry.add_member(:outside_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "outsideIpAddress"))
|
7766
7779
|
VgwTelemetry.add_member(:status, Shapes::ShapeRef.new(shape: TelemetryStatus, location_name: "status"))
|
7767
7780
|
VgwTelemetry.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
7781
|
+
VgwTelemetry.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "certificateArn"))
|
7768
7782
|
VgwTelemetry.struct_class = Types::VgwTelemetry
|
7769
7783
|
|
7770
7784
|
VgwTelemetryList.member = Shapes::ShapeRef.new(shape: VgwTelemetry, location_name: "item")
|
@@ -10903,6 +10917,14 @@ module Aws::EC2
|
|
10903
10917
|
o.output = Shapes::ShapeRef.new(shape: ModifyVpnConnectionResult)
|
10904
10918
|
end)
|
10905
10919
|
|
10920
|
+
api.add_operation(:modify_vpn_tunnel_certificate, Seahorse::Model::Operation.new.tap do |o|
|
10921
|
+
o.name = "ModifyVpnTunnelCertificate"
|
10922
|
+
o.http_method = "POST"
|
10923
|
+
o.http_request_uri = "/"
|
10924
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyVpnTunnelCertificateRequest)
|
10925
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyVpnTunnelCertificateResult)
|
10926
|
+
end)
|
10927
|
+
|
10906
10928
|
api.add_operation(:monitor_instances, Seahorse::Model::Operation.new.tap do |o|
|
10907
10929
|
o.name = "MonitorInstances"
|
10908
10930
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4441,7 +4441,8 @@ module Aws::EC2
|
|
4441
4441
|
#
|
4442
4442
|
# {
|
4443
4443
|
# bgp_asn: 1, # required
|
4444
|
-
# public_ip: "String",
|
4444
|
+
# public_ip: "String",
|
4445
|
+
# certificate_arn: "String",
|
4445
4446
|
# type: "ipsec.1", # required, accepts ipsec.1
|
4446
4447
|
# dry_run: false,
|
4447
4448
|
# }
|
@@ -4457,6 +4458,10 @@ module Aws::EC2
|
|
4457
4458
|
# interface. The address must be static.
|
4458
4459
|
# @return [String]
|
4459
4460
|
#
|
4461
|
+
# @!attribute [rw] certificate_arn
|
4462
|
+
# The Amazon Resource Name (ARN) for the customer gateway certificate.
|
4463
|
+
# @return [String]
|
4464
|
+
#
|
4460
4465
|
# @!attribute [rw] type
|
4461
4466
|
# The type of VPN connection that this customer gateway supports
|
4462
4467
|
# (`ipsec.1`).
|
@@ -4474,6 +4479,7 @@ module Aws::EC2
|
|
4474
4479
|
class CreateCustomerGatewayRequest < Struct.new(
|
4475
4480
|
:bgp_asn,
|
4476
4481
|
:public_ip,
|
4482
|
+
:certificate_arn,
|
4477
4483
|
:type,
|
4478
4484
|
:dry_run)
|
4479
4485
|
include Aws::Structure
|
@@ -8283,6 +8289,10 @@ module Aws::EC2
|
|
8283
8289
|
# interface.
|
8284
8290
|
# @return [String]
|
8285
8291
|
#
|
8292
|
+
# @!attribute [rw] certificate_arn
|
8293
|
+
# The Amazon Resource Name (ARN) for the customer gateway certificate.
|
8294
|
+
# @return [String]
|
8295
|
+
#
|
8286
8296
|
# @!attribute [rw] state
|
8287
8297
|
# The current state of the customer gateway (`pending | available |
|
8288
8298
|
# deleting | deleted`).
|
@@ -8303,6 +8313,7 @@ module Aws::EC2
|
|
8303
8313
|
:bgp_asn,
|
8304
8314
|
:customer_gateway_id,
|
8305
8315
|
:ip_address,
|
8316
|
+
:certificate_arn,
|
8306
8317
|
:state,
|
8307
8318
|
:type,
|
8308
8319
|
:tags)
|
@@ -28571,9 +28582,7 @@ module Aws::EC2
|
|
28571
28582
|
#
|
28572
28583
|
# @!attribute [rw] policy_document
|
28573
28584
|
# A policy to attach to the endpoint that controls access to the
|
28574
|
-
# service. The policy must be in valid JSON format.
|
28575
|
-
# is not specified, we attach a default policy that allows full access
|
28576
|
-
# to the service.
|
28585
|
+
# service. The policy must be in valid JSON format.
|
28577
28586
|
# @return [String]
|
28578
28587
|
#
|
28579
28588
|
# @!attribute [rw] add_route_table_ids
|
@@ -28869,6 +28878,7 @@ module Aws::EC2
|
|
28869
28878
|
# {
|
28870
28879
|
# vpn_connection_id: "String", # required
|
28871
28880
|
# transit_gateway_id: "String",
|
28881
|
+
# customer_gateway_id: "String",
|
28872
28882
|
# vpn_gateway_id: "String",
|
28873
28883
|
# dry_run: false,
|
28874
28884
|
# }
|
@@ -28881,6 +28891,10 @@ module Aws::EC2
|
|
28881
28891
|
# The ID of the transit gateway.
|
28882
28892
|
# @return [String]
|
28883
28893
|
#
|
28894
|
+
# @!attribute [rw] customer_gateway_id
|
28895
|
+
# The ID of the customer gateway at your end of the VPN connection.
|
28896
|
+
# @return [String]
|
28897
|
+
#
|
28884
28898
|
# @!attribute [rw] vpn_gateway_id
|
28885
28899
|
# The ID of the virtual private gateway at the AWS side of the VPN
|
28886
28900
|
# connection.
|
@@ -28898,6 +28912,7 @@ module Aws::EC2
|
|
28898
28912
|
class ModifyVpnConnectionRequest < Struct.new(
|
28899
28913
|
:vpn_connection_id,
|
28900
28914
|
:transit_gateway_id,
|
28915
|
+
:customer_gateway_id,
|
28901
28916
|
:vpn_gateway_id,
|
28902
28917
|
:dry_run)
|
28903
28918
|
include Aws::Structure
|
@@ -28914,6 +28929,50 @@ module Aws::EC2
|
|
28914
28929
|
include Aws::Structure
|
28915
28930
|
end
|
28916
28931
|
|
28932
|
+
# @note When making an API call, you may pass ModifyVpnTunnelCertificateRequest
|
28933
|
+
# data as a hash:
|
28934
|
+
#
|
28935
|
+
# {
|
28936
|
+
# vpn_connection_id: "String", # required
|
28937
|
+
# vpn_tunnel_outside_ip_address: "String", # required
|
28938
|
+
# dry_run: false,
|
28939
|
+
# }
|
28940
|
+
#
|
28941
|
+
# @!attribute [rw] vpn_connection_id
|
28942
|
+
# The ID of the AWS Site-to-Site VPN connection.
|
28943
|
+
# @return [String]
|
28944
|
+
#
|
28945
|
+
# @!attribute [rw] vpn_tunnel_outside_ip_address
|
28946
|
+
# The external IP address of the VPN tunnel.
|
28947
|
+
# @return [String]
|
28948
|
+
#
|
28949
|
+
# @!attribute [rw] dry_run
|
28950
|
+
# Checks whether you have the required permissions for the action,
|
28951
|
+
# without actually making the request, and provides an error response.
|
28952
|
+
# If you have the required permissions, the error response is
|
28953
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
28954
|
+
# @return [Boolean]
|
28955
|
+
#
|
28956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelCertificateRequest AWS API Documentation
|
28957
|
+
#
|
28958
|
+
class ModifyVpnTunnelCertificateRequest < Struct.new(
|
28959
|
+
:vpn_connection_id,
|
28960
|
+
:vpn_tunnel_outside_ip_address,
|
28961
|
+
:dry_run)
|
28962
|
+
include Aws::Structure
|
28963
|
+
end
|
28964
|
+
|
28965
|
+
# @!attribute [rw] vpn_connection
|
28966
|
+
# Describes a VPN connection.
|
28967
|
+
# @return [Types::VpnConnection]
|
28968
|
+
#
|
28969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelCertificateResult AWS API Documentation
|
28970
|
+
#
|
28971
|
+
class ModifyVpnTunnelCertificateResult < Struct.new(
|
28972
|
+
:vpn_connection)
|
28973
|
+
include Aws::Structure
|
28974
|
+
end
|
28975
|
+
|
28917
28976
|
# @note When making an API call, you may pass MonitorInstancesRequest
|
28918
28977
|
# data as a hash:
|
28919
28978
|
#
|
@@ -39495,6 +39554,11 @@ module Aws::EC2
|
|
39495
39554
|
# If an error occurs, a description of the error.
|
39496
39555
|
# @return [String]
|
39497
39556
|
#
|
39557
|
+
# @!attribute [rw] certificate_arn
|
39558
|
+
# The Amazon Resource Name (ARN) of the VPN tunnel endpoint
|
39559
|
+
# certificate.
|
39560
|
+
# @return [String]
|
39561
|
+
#
|
39498
39562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VgwTelemetry AWS API Documentation
|
39499
39563
|
#
|
39500
39564
|
class VgwTelemetry < Struct.new(
|
@@ -39502,7 +39566,8 @@ module Aws::EC2
|
|
39502
39566
|
:last_status_change,
|
39503
39567
|
:outside_ip_address,
|
39504
39568
|
:status,
|
39505
|
-
:status_message
|
39569
|
+
:status_message,
|
39570
|
+
:certificate_arn)
|
39506
39571
|
include Aws::Structure
|
39507
39572
|
end
|
39508
39573
|
|
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.105.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-08-
|
11
|
+
date: 2019-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|