aws-sdk-directconnect 1.29.0 → 1.34.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-directconnect.rb +3 -1
- data/lib/aws-sdk-directconnect/client.rb +194 -7
- data/lib/aws-sdk-directconnect/client_api.rb +86 -0
- data/lib/aws-sdk-directconnect/customizations.rb +1 -0
- data/lib/aws-sdk-directconnect/errors.rb +2 -0
- data/lib/aws-sdk-directconnect/resource.rb +2 -0
- data/lib/aws-sdk-directconnect/types.rb +325 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da3bae241f8a6144322ae65cecbf43b32aeae76b0be6523d3e9ee0d6d5a18494
|
4
|
+
data.tar.gz: 27e2c92df933943d9ba0d02fb00dd39ec52d8c2d6529026815b91e133676ef65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdbfb3aaac347c03b71db9660241583c5495f089b09937ad5f6ff04b2ec5d86b3d5a2878f69ef4c3042cbe7aad9c749c9cb6433ab12659a7366010939ead4356
|
7
|
+
data.tar.gz: '0399a55795094b170046a9a43543a8313ede62916e2ea1b8a135b6fc2acc2595bcb857cc200a1c19ea51d1b4a61736d2c80530cfde978836aeb1afb80e78c145'
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-directconnect/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::DirectConnect
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.34.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::DirectConnect
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::DirectConnect
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -1636,10 +1640,8 @@ module Aws::DirectConnect
|
|
1636
1640
|
# Creates a proposal to associate the specified virtual private gateway
|
1637
1641
|
# or transit gateway with the specified Direct Connect gateway.
|
1638
1642
|
#
|
1639
|
-
# You can
|
1640
|
-
#
|
1641
|
-
# Connect gateway and the account that owns the virtual private gateway
|
1642
|
-
# or transit gateway have the same AWS Payer ID.
|
1643
|
+
# You can associate a Direct Connect gateway and virtual private gateway
|
1644
|
+
# or transit gateway that is owned by any AWS account.
|
1643
1645
|
#
|
1644
1646
|
# @option params [required, String] :direct_connect_gateway_id
|
1645
1647
|
# The ID of the Direct Connect gateway.
|
@@ -1966,6 +1968,15 @@ module Aws::DirectConnect
|
|
1966
1968
|
# Connecting the private virtual interface to a VGW only provides access
|
1967
1969
|
# to a single VPC within the same Region.
|
1968
1970
|
#
|
1971
|
+
# Setting the MTU of a virtual interface to 9001 (jumbo frames) can
|
1972
|
+
# cause an update to the underlying physical connection if it wasn't
|
1973
|
+
# updated to support jumbo frames. Updating the connection disrupts
|
1974
|
+
# network connectivity for all virtual interfaces associated with the
|
1975
|
+
# connection for up to 30 seconds. To check whether your connection
|
1976
|
+
# supports jumbo frames, call DescribeConnections. To check whether your
|
1977
|
+
# virtual interface supports jumbo frames, call
|
1978
|
+
# DescribeVirtualInterfaces.
|
1979
|
+
#
|
1969
1980
|
# @option params [required, String] :connection_id
|
1970
1981
|
# The ID of the connection.
|
1971
1982
|
#
|
@@ -2198,6 +2209,15 @@ module Aws::DirectConnect
|
|
2198
2209
|
# if you use the default ASN 64512 for both your the transit gateway and
|
2199
2210
|
# Direct Connect gateway, the association request fails.
|
2200
2211
|
#
|
2212
|
+
# Setting the MTU of a virtual interface to 8500 (jumbo frames) can
|
2213
|
+
# cause an update to the underlying physical connection if it wasn't
|
2214
|
+
# updated to support jumbo frames. Updating the connection disrupts
|
2215
|
+
# network connectivity for all virtual interfaces associated with the
|
2216
|
+
# connection for up to 30 seconds. To check whether your connection
|
2217
|
+
# supports jumbo frames, call DescribeConnections. To check whether your
|
2218
|
+
# virtual interface supports jumbo frames, call
|
2219
|
+
# DescribeVirtualInterfaces.
|
2220
|
+
#
|
2201
2221
|
# @option params [required, String] :connection_id
|
2202
2222
|
# The ID of the connection.
|
2203
2223
|
#
|
@@ -3612,6 +3632,173 @@ module Aws::DirectConnect
|
|
3612
3632
|
req.send_request(options)
|
3613
3633
|
end
|
3614
3634
|
|
3635
|
+
# Lists the virtual interface failover test history.
|
3636
|
+
#
|
3637
|
+
# @option params [String] :test_id
|
3638
|
+
# The ID of the virtual interface failover test.
|
3639
|
+
#
|
3640
|
+
# @option params [String] :virtual_interface_id
|
3641
|
+
# The ID of the virtual interface that was tested.
|
3642
|
+
#
|
3643
|
+
# @option params [Array<String>] :bgp_peers
|
3644
|
+
# The BGP peers that were placed in the DOWN state during the virtual
|
3645
|
+
# interface failover test.
|
3646
|
+
#
|
3647
|
+
# @option params [String] :status
|
3648
|
+
# The status of the virtual interface failover test.
|
3649
|
+
#
|
3650
|
+
# @option params [Integer] :max_results
|
3651
|
+
# The maximum number of results to return with a single call. To
|
3652
|
+
# retrieve the remaining results, make another call with the returned
|
3653
|
+
# `nextToken` value.
|
3654
|
+
#
|
3655
|
+
# If `MaxResults` is given a value larger than 100, only 100 results are
|
3656
|
+
# returned.
|
3657
|
+
#
|
3658
|
+
# @option params [String] :next_token
|
3659
|
+
# The token for the next page of results.
|
3660
|
+
#
|
3661
|
+
# @return [Types::ListVirtualInterfaceTestHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3662
|
+
#
|
3663
|
+
# * {Types::ListVirtualInterfaceTestHistoryResponse#virtual_interface_test_history #virtual_interface_test_history} => Array<Types::VirtualInterfaceTestHistory>
|
3664
|
+
# * {Types::ListVirtualInterfaceTestHistoryResponse#next_token #next_token} => String
|
3665
|
+
#
|
3666
|
+
# @example Request syntax with placeholder values
|
3667
|
+
#
|
3668
|
+
# resp = client.list_virtual_interface_test_history({
|
3669
|
+
# test_id: "TestId",
|
3670
|
+
# virtual_interface_id: "VirtualInterfaceId",
|
3671
|
+
# bgp_peers: ["BGPPeerId"],
|
3672
|
+
# status: "FailureTestHistoryStatus",
|
3673
|
+
# max_results: 1,
|
3674
|
+
# next_token: "PaginationToken",
|
3675
|
+
# })
|
3676
|
+
#
|
3677
|
+
# @example Response structure
|
3678
|
+
#
|
3679
|
+
# resp.virtual_interface_test_history #=> Array
|
3680
|
+
# resp.virtual_interface_test_history[0].test_id #=> String
|
3681
|
+
# resp.virtual_interface_test_history[0].virtual_interface_id #=> String
|
3682
|
+
# resp.virtual_interface_test_history[0].bgp_peers #=> Array
|
3683
|
+
# resp.virtual_interface_test_history[0].bgp_peers[0] #=> String
|
3684
|
+
# resp.virtual_interface_test_history[0].status #=> String
|
3685
|
+
# resp.virtual_interface_test_history[0].owner_account #=> String
|
3686
|
+
# resp.virtual_interface_test_history[0].test_duration_in_minutes #=> Integer
|
3687
|
+
# resp.virtual_interface_test_history[0].start_time #=> Time
|
3688
|
+
# resp.virtual_interface_test_history[0].end_time #=> Time
|
3689
|
+
# resp.next_token #=> String
|
3690
|
+
#
|
3691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ListVirtualInterfaceTestHistory AWS API Documentation
|
3692
|
+
#
|
3693
|
+
# @overload list_virtual_interface_test_history(params = {})
|
3694
|
+
# @param [Hash] params ({})
|
3695
|
+
def list_virtual_interface_test_history(params = {}, options = {})
|
3696
|
+
req = build_request(:list_virtual_interface_test_history, params)
|
3697
|
+
req.send_request(options)
|
3698
|
+
end
|
3699
|
+
|
3700
|
+
# Starts the virtual interface failover test that verifies your
|
3701
|
+
# configuration meets your resiliency requirements by placing the BGP
|
3702
|
+
# peering session in the DOWN state. You can then send traffic to verify
|
3703
|
+
# that there are no outages.
|
3704
|
+
#
|
3705
|
+
# You can run the test on public, private, transit, and hosted virtual
|
3706
|
+
# interfaces.
|
3707
|
+
#
|
3708
|
+
# You can use [ListVirtualInterfaceTestHistory][1] to view the virtual
|
3709
|
+
# interface test history.
|
3710
|
+
#
|
3711
|
+
# If you need to stop the test before the test interval completes, use
|
3712
|
+
# [StopBgpFailoverTest][2].
|
3713
|
+
#
|
3714
|
+
#
|
3715
|
+
#
|
3716
|
+
# [1]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_ListVirtualInterfaceTestHistory.html
|
3717
|
+
# [2]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_StopBgpFailoverTest.html
|
3718
|
+
#
|
3719
|
+
# @option params [required, String] :virtual_interface_id
|
3720
|
+
# The ID of the virtual interface you want to test.
|
3721
|
+
#
|
3722
|
+
# @option params [Array<String>] :bgp_peers
|
3723
|
+
# The BGP peers to place in the DOWN state.
|
3724
|
+
#
|
3725
|
+
# @option params [Integer] :test_duration_in_minutes
|
3726
|
+
# The time in minutes that the virtual interface failover test will
|
3727
|
+
# last.
|
3728
|
+
#
|
3729
|
+
# Maximum value: 180 minutes (3 hours).
|
3730
|
+
#
|
3731
|
+
# Default: 180 minutes (3 hours).
|
3732
|
+
#
|
3733
|
+
# @return [Types::StartBgpFailoverTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3734
|
+
#
|
3735
|
+
# * {Types::StartBgpFailoverTestResponse#virtual_interface_test #virtual_interface_test} => Types::VirtualInterfaceTestHistory
|
3736
|
+
#
|
3737
|
+
# @example Request syntax with placeholder values
|
3738
|
+
#
|
3739
|
+
# resp = client.start_bgp_failover_test({
|
3740
|
+
# virtual_interface_id: "VirtualInterfaceId", # required
|
3741
|
+
# bgp_peers: ["BGPPeerId"],
|
3742
|
+
# test_duration_in_minutes: 1,
|
3743
|
+
# })
|
3744
|
+
#
|
3745
|
+
# @example Response structure
|
3746
|
+
#
|
3747
|
+
# resp.virtual_interface_test.test_id #=> String
|
3748
|
+
# resp.virtual_interface_test.virtual_interface_id #=> String
|
3749
|
+
# resp.virtual_interface_test.bgp_peers #=> Array
|
3750
|
+
# resp.virtual_interface_test.bgp_peers[0] #=> String
|
3751
|
+
# resp.virtual_interface_test.status #=> String
|
3752
|
+
# resp.virtual_interface_test.owner_account #=> String
|
3753
|
+
# resp.virtual_interface_test.test_duration_in_minutes #=> Integer
|
3754
|
+
# resp.virtual_interface_test.start_time #=> Time
|
3755
|
+
# resp.virtual_interface_test.end_time #=> Time
|
3756
|
+
#
|
3757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StartBgpFailoverTest AWS API Documentation
|
3758
|
+
#
|
3759
|
+
# @overload start_bgp_failover_test(params = {})
|
3760
|
+
# @param [Hash] params ({})
|
3761
|
+
def start_bgp_failover_test(params = {}, options = {})
|
3762
|
+
req = build_request(:start_bgp_failover_test, params)
|
3763
|
+
req.send_request(options)
|
3764
|
+
end
|
3765
|
+
|
3766
|
+
# Stops the virtual interface failover test.
|
3767
|
+
#
|
3768
|
+
# @option params [required, String] :virtual_interface_id
|
3769
|
+
# The ID of the virtual interface you no longer want to test.
|
3770
|
+
#
|
3771
|
+
# @return [Types::StopBgpFailoverTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3772
|
+
#
|
3773
|
+
# * {Types::StopBgpFailoverTestResponse#virtual_interface_test #virtual_interface_test} => Types::VirtualInterfaceTestHistory
|
3774
|
+
#
|
3775
|
+
# @example Request syntax with placeholder values
|
3776
|
+
#
|
3777
|
+
# resp = client.stop_bgp_failover_test({
|
3778
|
+
# virtual_interface_id: "VirtualInterfaceId", # required
|
3779
|
+
# })
|
3780
|
+
#
|
3781
|
+
# @example Response structure
|
3782
|
+
#
|
3783
|
+
# resp.virtual_interface_test.test_id #=> String
|
3784
|
+
# resp.virtual_interface_test.virtual_interface_id #=> String
|
3785
|
+
# resp.virtual_interface_test.bgp_peers #=> Array
|
3786
|
+
# resp.virtual_interface_test.bgp_peers[0] #=> String
|
3787
|
+
# resp.virtual_interface_test.status #=> String
|
3788
|
+
# resp.virtual_interface_test.owner_account #=> String
|
3789
|
+
# resp.virtual_interface_test.test_duration_in_minutes #=> Integer
|
3790
|
+
# resp.virtual_interface_test.start_time #=> Time
|
3791
|
+
# resp.virtual_interface_test.end_time #=> Time
|
3792
|
+
#
|
3793
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StopBgpFailoverTest AWS API Documentation
|
3794
|
+
#
|
3795
|
+
# @overload stop_bgp_failover_test(params = {})
|
3796
|
+
# @param [Hash] params ({})
|
3797
|
+
def stop_bgp_failover_test(params = {}, options = {})
|
3798
|
+
req = build_request(:stop_bgp_failover_test, params)
|
3799
|
+
req.send_request(options)
|
3800
|
+
end
|
3801
|
+
|
3615
3802
|
# Adds the specified tags to the specified AWS Direct Connect resource.
|
3616
3803
|
# Each resource can have a maximum of 50 tags.
|
3617
3804
|
#
|
@@ -3850,7 +4037,7 @@ module Aws::DirectConnect
|
|
3850
4037
|
# network connectivity for all virtual interfaces associated with the
|
3851
4038
|
# connection for up to 30 seconds. To check whether your connection
|
3852
4039
|
# supports jumbo frames, call DescribeConnections. To check whether your
|
3853
|
-
# virtual interface supports jumbo frames, call
|
4040
|
+
# virtual q interface supports jumbo frames, call
|
3854
4041
|
# DescribeVirtualInterfaces.
|
3855
4042
|
#
|
3856
4043
|
# @option params [required, String] :virtual_interface_id
|
@@ -3955,7 +4142,7 @@ module Aws::DirectConnect
|
|
3955
4142
|
params: params,
|
3956
4143
|
config: config)
|
3957
4144
|
context[:gem_name] = 'aws-sdk-directconnect'
|
3958
|
-
context[:gem_version] = '1.
|
4145
|
+
context[:gem_version] = '1.34.0'
|
3959
4146
|
Seahorse::Client::Request.new(handlers, context)
|
3960
4147
|
end
|
3961
4148
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -33,6 +35,7 @@ module Aws::DirectConnect
|
|
33
35
|
BGPAuthKey = Shapes::StringShape.new(name: 'BGPAuthKey')
|
34
36
|
BGPPeer = Shapes::StructureShape.new(name: 'BGPPeer')
|
35
37
|
BGPPeerId = Shapes::StringShape.new(name: 'BGPPeerId')
|
38
|
+
BGPPeerIdList = Shapes::ListShape.new(name: 'BGPPeerIdList')
|
36
39
|
BGPPeerList = Shapes::ListShape.new(name: 'BGPPeerList')
|
37
40
|
BGPPeerState = Shapes::StringShape.new(name: 'BGPPeerState')
|
38
41
|
BGPStatus = Shapes::StringShape.new(name: 'BGPStatus')
|
@@ -126,7 +129,9 @@ module Aws::DirectConnect
|
|
126
129
|
DirectConnectServerException = Shapes::StructureShape.new(name: 'DirectConnectServerException')
|
127
130
|
DisassociateConnectionFromLagRequest = Shapes::StructureShape.new(name: 'DisassociateConnectionFromLagRequest')
|
128
131
|
DuplicateTagKeysException = Shapes::StructureShape.new(name: 'DuplicateTagKeysException')
|
132
|
+
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
129
133
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
134
|
+
FailureTestHistoryStatus = Shapes::StringShape.new(name: 'FailureTestHistoryStatus')
|
130
135
|
GatewayIdToAssociate = Shapes::StringShape.new(name: 'GatewayIdToAssociate')
|
131
136
|
GatewayIdentifier = Shapes::StringShape.new(name: 'GatewayIdentifier')
|
132
137
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
@@ -144,6 +149,8 @@ module Aws::DirectConnect
|
|
144
149
|
LagName = Shapes::StringShape.new(name: 'LagName')
|
145
150
|
LagState = Shapes::StringShape.new(name: 'LagState')
|
146
151
|
Lags = Shapes::StructureShape.new(name: 'Lags')
|
152
|
+
ListVirtualInterfaceTestHistoryRequest = Shapes::StructureShape.new(name: 'ListVirtualInterfaceTestHistoryRequest')
|
153
|
+
ListVirtualInterfaceTestHistoryResponse = Shapes::StructureShape.new(name: 'ListVirtualInterfaceTestHistoryResponse')
|
147
154
|
Loa = Shapes::StructureShape.new(name: 'Loa')
|
148
155
|
LoaContent = Shapes::BlobShape.new(name: 'LoaContent')
|
149
156
|
LoaContentType = Shapes::StringShape.new(name: 'LoaContentType')
|
@@ -177,7 +184,12 @@ module Aws::DirectConnect
|
|
177
184
|
RouteFilterPrefix = Shapes::StructureShape.new(name: 'RouteFilterPrefix')
|
178
185
|
RouteFilterPrefixList = Shapes::ListShape.new(name: 'RouteFilterPrefixList')
|
179
186
|
RouterConfig = Shapes::StringShape.new(name: 'RouterConfig')
|
187
|
+
StartBgpFailoverTestRequest = Shapes::StructureShape.new(name: 'StartBgpFailoverTestRequest')
|
188
|
+
StartBgpFailoverTestResponse = Shapes::StructureShape.new(name: 'StartBgpFailoverTestResponse')
|
189
|
+
StartTime = Shapes::TimestampShape.new(name: 'StartTime')
|
180
190
|
StateChangeError = Shapes::StringShape.new(name: 'StateChangeError')
|
191
|
+
StopBgpFailoverTestRequest = Shapes::StructureShape.new(name: 'StopBgpFailoverTestRequest')
|
192
|
+
StopBgpFailoverTestResponse = Shapes::StructureShape.new(name: 'StopBgpFailoverTestResponse')
|
181
193
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
182
194
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
183
195
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -185,6 +197,8 @@ module Aws::DirectConnect
|
|
185
197
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
186
198
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
187
199
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
200
|
+
TestDuration = Shapes::IntegerShape.new(name: 'TestDuration')
|
201
|
+
TestId = Shapes::StringShape.new(name: 'TestId')
|
188
202
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
189
203
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
190
204
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -205,6 +219,8 @@ module Aws::DirectConnect
|
|
205
219
|
VirtualInterfaceName = Shapes::StringShape.new(name: 'VirtualInterfaceName')
|
206
220
|
VirtualInterfaceRegion = Shapes::StringShape.new(name: 'VirtualInterfaceRegion')
|
207
221
|
VirtualInterfaceState = Shapes::StringShape.new(name: 'VirtualInterfaceState')
|
222
|
+
VirtualInterfaceTestHistory = Shapes::StructureShape.new(name: 'VirtualInterfaceTestHistory')
|
223
|
+
VirtualInterfaceTestHistoryList = Shapes::ListShape.new(name: 'VirtualInterfaceTestHistoryList')
|
208
224
|
VirtualInterfaceType = Shapes::StringShape.new(name: 'VirtualInterfaceType')
|
209
225
|
VirtualInterfaces = Shapes::StructureShape.new(name: 'VirtualInterfaces')
|
210
226
|
|
@@ -281,6 +297,8 @@ module Aws::DirectConnect
|
|
281
297
|
BGPPeer.add_member(:aws_device_v2, Shapes::ShapeRef.new(shape: AwsDeviceV2, location_name: "awsDeviceV2"))
|
282
298
|
BGPPeer.struct_class = Types::BGPPeer
|
283
299
|
|
300
|
+
BGPPeerIdList.member = Shapes::ShapeRef.new(shape: BGPPeerId)
|
301
|
+
|
284
302
|
BGPPeerList.member = Shapes::ShapeRef.new(shape: BGPPeer)
|
285
303
|
|
286
304
|
ConfirmConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location_name: "connectionId"))
|
@@ -646,6 +664,18 @@ module Aws::DirectConnect
|
|
646
664
|
Lags.add_member(:lags, Shapes::ShapeRef.new(shape: LagList, location_name: "lags"))
|
647
665
|
Lags.struct_class = Types::Lags
|
648
666
|
|
667
|
+
ListVirtualInterfaceTestHistoryRequest.add_member(:test_id, Shapes::ShapeRef.new(shape: TestId, location_name: "testId"))
|
668
|
+
ListVirtualInterfaceTestHistoryRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, location_name: "virtualInterfaceId"))
|
669
|
+
ListVirtualInterfaceTestHistoryRequest.add_member(:bgp_peers, Shapes::ShapeRef.new(shape: BGPPeerIdList, location_name: "bgpPeers"))
|
670
|
+
ListVirtualInterfaceTestHistoryRequest.add_member(:status, Shapes::ShapeRef.new(shape: FailureTestHistoryStatus, location_name: "status"))
|
671
|
+
ListVirtualInterfaceTestHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultSetSize, location_name: "maxResults"))
|
672
|
+
ListVirtualInterfaceTestHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
673
|
+
ListVirtualInterfaceTestHistoryRequest.struct_class = Types::ListVirtualInterfaceTestHistoryRequest
|
674
|
+
|
675
|
+
ListVirtualInterfaceTestHistoryResponse.add_member(:virtual_interface_test_history, Shapes::ShapeRef.new(shape: VirtualInterfaceTestHistoryList, location_name: "virtualInterfaceTestHistory"))
|
676
|
+
ListVirtualInterfaceTestHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
677
|
+
ListVirtualInterfaceTestHistoryResponse.struct_class = Types::ListVirtualInterfaceTestHistoryResponse
|
678
|
+
|
649
679
|
Loa.add_member(:loa_content, Shapes::ShapeRef.new(shape: LoaContent, location_name: "loaContent"))
|
650
680
|
Loa.add_member(:loa_content_type, Shapes::ShapeRef.new(shape: LoaContentType, location_name: "loaContentType"))
|
651
681
|
Loa.struct_class = Types::Loa
|
@@ -753,6 +783,20 @@ module Aws::DirectConnect
|
|
753
783
|
|
754
784
|
RouteFilterPrefixList.member = Shapes::ShapeRef.new(shape: RouteFilterPrefix)
|
755
785
|
|
786
|
+
StartBgpFailoverTestRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, required: true, location_name: "virtualInterfaceId"))
|
787
|
+
StartBgpFailoverTestRequest.add_member(:bgp_peers, Shapes::ShapeRef.new(shape: BGPPeerIdList, location_name: "bgpPeers"))
|
788
|
+
StartBgpFailoverTestRequest.add_member(:test_duration_in_minutes, Shapes::ShapeRef.new(shape: TestDuration, location_name: "testDurationInMinutes"))
|
789
|
+
StartBgpFailoverTestRequest.struct_class = Types::StartBgpFailoverTestRequest
|
790
|
+
|
791
|
+
StartBgpFailoverTestResponse.add_member(:virtual_interface_test, Shapes::ShapeRef.new(shape: VirtualInterfaceTestHistory, location_name: "virtualInterfaceTest"))
|
792
|
+
StartBgpFailoverTestResponse.struct_class = Types::StartBgpFailoverTestResponse
|
793
|
+
|
794
|
+
StopBgpFailoverTestRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, required: true, location_name: "virtualInterfaceId"))
|
795
|
+
StopBgpFailoverTestRequest.struct_class = Types::StopBgpFailoverTestRequest
|
796
|
+
|
797
|
+
StopBgpFailoverTestResponse.add_member(:virtual_interface_test, Shapes::ShapeRef.new(shape: VirtualInterfaceTestHistory, location_name: "virtualInterfaceTest"))
|
798
|
+
StopBgpFailoverTestResponse.struct_class = Types::StopBgpFailoverTestResponse
|
799
|
+
|
756
800
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
757
801
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
|
758
802
|
Tag.struct_class = Types::Tag
|
@@ -829,6 +873,18 @@ module Aws::DirectConnect
|
|
829
873
|
|
830
874
|
VirtualInterfaceList.member = Shapes::ShapeRef.new(shape: VirtualInterface)
|
831
875
|
|
876
|
+
VirtualInterfaceTestHistory.add_member(:test_id, Shapes::ShapeRef.new(shape: TestId, location_name: "testId"))
|
877
|
+
VirtualInterfaceTestHistory.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, location_name: "virtualInterfaceId"))
|
878
|
+
VirtualInterfaceTestHistory.add_member(:bgp_peers, Shapes::ShapeRef.new(shape: BGPPeerIdList, location_name: "bgpPeers"))
|
879
|
+
VirtualInterfaceTestHistory.add_member(:status, Shapes::ShapeRef.new(shape: FailureTestHistoryStatus, location_name: "status"))
|
880
|
+
VirtualInterfaceTestHistory.add_member(:owner_account, Shapes::ShapeRef.new(shape: OwnerAccount, location_name: "ownerAccount"))
|
881
|
+
VirtualInterfaceTestHistory.add_member(:test_duration_in_minutes, Shapes::ShapeRef.new(shape: TestDuration, location_name: "testDurationInMinutes"))
|
882
|
+
VirtualInterfaceTestHistory.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "startTime"))
|
883
|
+
VirtualInterfaceTestHistory.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "endTime"))
|
884
|
+
VirtualInterfaceTestHistory.struct_class = Types::VirtualInterfaceTestHistory
|
885
|
+
|
886
|
+
VirtualInterfaceTestHistoryList.member = Shapes::ShapeRef.new(shape: VirtualInterfaceTestHistory)
|
887
|
+
|
832
888
|
VirtualInterfaces.add_member(:virtual_interfaces, Shapes::ShapeRef.new(shape: VirtualInterfaceList, location_name: "virtualInterfaces"))
|
833
889
|
VirtualInterfaces.struct_class = Types::VirtualInterfaces
|
834
890
|
|
@@ -1354,6 +1410,36 @@ module Aws::DirectConnect
|
|
1354
1410
|
o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
|
1355
1411
|
end)
|
1356
1412
|
|
1413
|
+
api.add_operation(:list_virtual_interface_test_history, Seahorse::Model::Operation.new.tap do |o|
|
1414
|
+
o.name = "ListVirtualInterfaceTestHistory"
|
1415
|
+
o.http_method = "POST"
|
1416
|
+
o.http_request_uri = "/"
|
1417
|
+
o.input = Shapes::ShapeRef.new(shape: ListVirtualInterfaceTestHistoryRequest)
|
1418
|
+
o.output = Shapes::ShapeRef.new(shape: ListVirtualInterfaceTestHistoryResponse)
|
1419
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
|
1420
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
|
1421
|
+
end)
|
1422
|
+
|
1423
|
+
api.add_operation(:start_bgp_failover_test, Seahorse::Model::Operation.new.tap do |o|
|
1424
|
+
o.name = "StartBgpFailoverTest"
|
1425
|
+
o.http_method = "POST"
|
1426
|
+
o.http_request_uri = "/"
|
1427
|
+
o.input = Shapes::ShapeRef.new(shape: StartBgpFailoverTestRequest)
|
1428
|
+
o.output = Shapes::ShapeRef.new(shape: StartBgpFailoverTestResponse)
|
1429
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
|
1430
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
|
1431
|
+
end)
|
1432
|
+
|
1433
|
+
api.add_operation(:stop_bgp_failover_test, Seahorse::Model::Operation.new.tap do |o|
|
1434
|
+
o.name = "StopBgpFailoverTest"
|
1435
|
+
o.http_method = "POST"
|
1436
|
+
o.http_request_uri = "/"
|
1437
|
+
o.input = Shapes::ShapeRef.new(shape: StopBgpFailoverTestRequest)
|
1438
|
+
o.output = Shapes::ShapeRef.new(shape: StopBgpFailoverTestResponse)
|
1439
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
|
1440
|
+
o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
|
1441
|
+
end)
|
1442
|
+
|
1357
1443
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1358
1444
|
o.name = "TagResource"
|
1359
1445
|
o.http_method = "POST"
|