aws-sdk-ec2 1.81.0 → 1.82.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 +56 -1
- data/lib/aws-sdk-ec2/client_api.rb +19 -0
- data/lib/aws-sdk-ec2/types.rb +43 -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: 8e74e5f950ba14b86218179944c025b56779b126
|
4
|
+
data.tar.gz: 0e9efb9de416f805612044420677a62a69da4a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01b753989a44d49064a38c9f043d3ecdefc5bccb78b612675ecbd7f321abff7db3d4cfcf9d33b7683eb333c72cfe03154425892130e16159bf7b5aa8ca390e4d
|
7
|
+
data.tar.gz: 68653c78265778191029db275b8027d0bbc88a0535303fe5e6e9206af68696821fc8ceb70cb5452bff59410e7eb5f6084b733323535df15da7c7f002c54e438b
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -25632,6 +25632,61 @@ module Aws::EC2
|
|
25632
25632
|
req.send_request(options)
|
25633
25633
|
end
|
25634
25634
|
|
25635
|
+
# @option params [required, String] :vpn_connection_id
|
25636
|
+
#
|
25637
|
+
# @option params [String] :transit_gateway_id
|
25638
|
+
#
|
25639
|
+
# @option params [String] :vpn_gateway_id
|
25640
|
+
#
|
25641
|
+
# @option params [Boolean] :dry_run
|
25642
|
+
#
|
25643
|
+
# @return [Types::ModifyVpnConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
25644
|
+
#
|
25645
|
+
# * {Types::ModifyVpnConnectionResult#vpn_connection #vpn_connection} => Types::VpnConnection
|
25646
|
+
#
|
25647
|
+
# @example Request syntax with placeholder values
|
25648
|
+
#
|
25649
|
+
# resp = client.modify_vpn_connection({
|
25650
|
+
# vpn_connection_id: "String", # required
|
25651
|
+
# transit_gateway_id: "String",
|
25652
|
+
# vpn_gateway_id: "String",
|
25653
|
+
# dry_run: false,
|
25654
|
+
# })
|
25655
|
+
#
|
25656
|
+
# @example Response structure
|
25657
|
+
#
|
25658
|
+
# resp.vpn_connection.customer_gateway_configuration #=> String
|
25659
|
+
# resp.vpn_connection.customer_gateway_id #=> String
|
25660
|
+
# resp.vpn_connection.category #=> String
|
25661
|
+
# resp.vpn_connection.state #=> String, one of "pending", "available", "deleting", "deleted"
|
25662
|
+
# resp.vpn_connection.type #=> String, one of "ipsec.1"
|
25663
|
+
# resp.vpn_connection.vpn_connection_id #=> String
|
25664
|
+
# resp.vpn_connection.vpn_gateway_id #=> String
|
25665
|
+
# resp.vpn_connection.transit_gateway_id #=> String
|
25666
|
+
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
25667
|
+
# resp.vpn_connection.routes #=> Array
|
25668
|
+
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
25669
|
+
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
25670
|
+
# resp.vpn_connection.routes[0].state #=> String, one of "pending", "available", "deleting", "deleted"
|
25671
|
+
# resp.vpn_connection.tags #=> Array
|
25672
|
+
# resp.vpn_connection.tags[0].key #=> String
|
25673
|
+
# resp.vpn_connection.tags[0].value #=> String
|
25674
|
+
# resp.vpn_connection.vgw_telemetry #=> Array
|
25675
|
+
# resp.vpn_connection.vgw_telemetry[0].accepted_route_count #=> Integer
|
25676
|
+
# resp.vpn_connection.vgw_telemetry[0].last_status_change #=> Time
|
25677
|
+
# resp.vpn_connection.vgw_telemetry[0].outside_ip_address #=> String
|
25678
|
+
# resp.vpn_connection.vgw_telemetry[0].status #=> String, one of "UP", "DOWN"
|
25679
|
+
# resp.vpn_connection.vgw_telemetry[0].status_message #=> String
|
25680
|
+
#
|
25681
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnConnection AWS API Documentation
|
25682
|
+
#
|
25683
|
+
# @overload modify_vpn_connection(params = {})
|
25684
|
+
# @param [Hash] params ({})
|
25685
|
+
def modify_vpn_connection(params = {}, options = {})
|
25686
|
+
req = build_request(:modify_vpn_connection, params)
|
25687
|
+
req.send_request(options)
|
25688
|
+
end
|
25689
|
+
|
25635
25690
|
# Enables detailed monitoring for a running instance. Otherwise, basic
|
25636
25691
|
# monitoring is enabled. For more information, see [Monitoring Your
|
25637
25692
|
# Instances and Volumes][1] in the *Amazon Elastic Compute Cloud User
|
@@ -30106,7 +30161,7 @@ module Aws::EC2
|
|
30106
30161
|
params: params,
|
30107
30162
|
config: config)
|
30108
30163
|
context[:gem_name] = 'aws-sdk-ec2'
|
30109
|
-
context[:gem_version] = '1.
|
30164
|
+
context[:gem_version] = '1.82.0'
|
30110
30165
|
Seahorse::Client::Request.new(handlers, context)
|
30111
30166
|
end
|
30112
30167
|
|
@@ -981,6 +981,8 @@ module Aws::EC2
|
|
981
981
|
ModifyVpcPeeringConnectionOptionsResult = Shapes::StructureShape.new(name: 'ModifyVpcPeeringConnectionOptionsResult')
|
982
982
|
ModifyVpcTenancyRequest = Shapes::StructureShape.new(name: 'ModifyVpcTenancyRequest')
|
983
983
|
ModifyVpcTenancyResult = Shapes::StructureShape.new(name: 'ModifyVpcTenancyResult')
|
984
|
+
ModifyVpnConnectionRequest = Shapes::StructureShape.new(name: 'ModifyVpnConnectionRequest')
|
985
|
+
ModifyVpnConnectionResult = Shapes::StructureShape.new(name: 'ModifyVpnConnectionResult')
|
984
986
|
MonitorInstancesRequest = Shapes::StructureShape.new(name: 'MonitorInstancesRequest')
|
985
987
|
MonitorInstancesResult = Shapes::StructureShape.new(name: 'MonitorInstancesResult')
|
986
988
|
Monitoring = Shapes::StructureShape.new(name: 'Monitoring')
|
@@ -5597,6 +5599,15 @@ module Aws::EC2
|
|
5597
5599
|
ModifyVpcTenancyResult.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
5598
5600
|
ModifyVpcTenancyResult.struct_class = Types::ModifyVpcTenancyResult
|
5599
5601
|
|
5602
|
+
ModifyVpnConnectionRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnConnectionId"))
|
5603
|
+
ModifyVpnConnectionRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "TransitGatewayId"))
|
5604
|
+
ModifyVpnConnectionRequest.add_member(:vpn_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "VpnGatewayId"))
|
5605
|
+
ModifyVpnConnectionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5606
|
+
ModifyVpnConnectionRequest.struct_class = Types::ModifyVpnConnectionRequest
|
5607
|
+
|
5608
|
+
ModifyVpnConnectionResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
|
5609
|
+
ModifyVpnConnectionResult.struct_class = Types::ModifyVpnConnectionResult
|
5610
|
+
|
5600
5611
|
MonitorInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
5601
5612
|
MonitorInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5602
5613
|
MonitorInstancesRequest.struct_class = Types::MonitorInstancesRequest
|
@@ -10227,6 +10238,14 @@ module Aws::EC2
|
|
10227
10238
|
o.output = Shapes::ShapeRef.new(shape: ModifyVpcTenancyResult)
|
10228
10239
|
end)
|
10229
10240
|
|
10241
|
+
api.add_operation(:modify_vpn_connection, Seahorse::Model::Operation.new.tap do |o|
|
10242
|
+
o.name = "ModifyVpnConnection"
|
10243
|
+
o.http_method = "POST"
|
10244
|
+
o.http_request_uri = "/"
|
10245
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyVpnConnectionRequest)
|
10246
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyVpnConnectionResult)
|
10247
|
+
end)
|
10248
|
+
|
10230
10249
|
api.add_operation(:monitor_instances, Seahorse::Model::Operation.new.tap do |o|
|
10231
10250
|
o.name = "MonitorInstances"
|
10232
10251
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -27079,6 +27079,49 @@ module Aws::EC2
|
|
27079
27079
|
include Aws::Structure
|
27080
27080
|
end
|
27081
27081
|
|
27082
|
+
# @note When making an API call, you may pass ModifyVpnConnectionRequest
|
27083
|
+
# data as a hash:
|
27084
|
+
#
|
27085
|
+
# {
|
27086
|
+
# vpn_connection_id: "String", # required
|
27087
|
+
# transit_gateway_id: "String",
|
27088
|
+
# vpn_gateway_id: "String",
|
27089
|
+
# dry_run: false,
|
27090
|
+
# }
|
27091
|
+
#
|
27092
|
+
# @!attribute [rw] vpn_connection_id
|
27093
|
+
# @return [String]
|
27094
|
+
#
|
27095
|
+
# @!attribute [rw] transit_gateway_id
|
27096
|
+
# @return [String]
|
27097
|
+
#
|
27098
|
+
# @!attribute [rw] vpn_gateway_id
|
27099
|
+
# @return [String]
|
27100
|
+
#
|
27101
|
+
# @!attribute [rw] dry_run
|
27102
|
+
# @return [Boolean]
|
27103
|
+
#
|
27104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnConnectionRequest AWS API Documentation
|
27105
|
+
#
|
27106
|
+
class ModifyVpnConnectionRequest < Struct.new(
|
27107
|
+
:vpn_connection_id,
|
27108
|
+
:transit_gateway_id,
|
27109
|
+
:vpn_gateway_id,
|
27110
|
+
:dry_run)
|
27111
|
+
include Aws::Structure
|
27112
|
+
end
|
27113
|
+
|
27114
|
+
# @!attribute [rw] vpn_connection
|
27115
|
+
# Describes a VPN connection.
|
27116
|
+
# @return [Types::VpnConnection]
|
27117
|
+
#
|
27118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnConnectionResult AWS API Documentation
|
27119
|
+
#
|
27120
|
+
class ModifyVpnConnectionResult < Struct.new(
|
27121
|
+
:vpn_connection)
|
27122
|
+
include Aws::Structure
|
27123
|
+
end
|
27124
|
+
|
27082
27125
|
# @note When making an API call, you may pass MonitorInstancesRequest
|
27083
27126
|
# data as a hash:
|
27084
27127
|
#
|
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.82.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-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|