aws-sdk-directconnect 1.27.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b576e411da2453a038b324f17ca91d19ad810225
4
- data.tar.gz: 233a655e2421004d0640b98eedd9d8d482b8210e
2
+ SHA256:
3
+ metadata.gz: edcce4747d8d0bf3eaedb6d7c8e341ef36be9966cae7962872bb8b355f9872cf
4
+ data.tar.gz: 1af27966d3c7989e08e17b0f54e5485cb7a9b8d920c369dd785b31278589f22c
5
5
  SHA512:
6
- metadata.gz: '0178d1b9ba97302f8db1a5a8771949056a69f346f2fa452e1f628ed93abfa1f3f6dabfd4f781f4aecfc84498fe0ffc6b6820fc1c24e1aa68d53d87660c28e909'
7
- data.tar.gz: 6790c0e3e1824ab2a15162df929e2f3547b4d0451190716f8b01c63091462cc60d05d98f60ca1348d0fa0d10008d0a2c4a8cef84e0ad29a292086d41dc5791d0
6
+ metadata.gz: 6f128b3747347c038dbc4522b474088fc02939b3096202b62c74b9929d6acc685f714c8e0dcbac2f9fbf17c4d0f691c9b1df81deaf40adf75a35830d1f952ac6
7
+ data.tar.gz: f8bfd35ca6e4b9aa94df8b5931ed6fe91946e2c2e4648c49cf4226faf7690888bea01972195afba9f17b43b46f1b6b63cc58e7d4ca219f6e944ec18310a7b989
@@ -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.27.0'
50
+ GEM_VERSION = '1.32.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
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:directconnect)
32
35
  module Aws::DirectConnect
33
36
  # An API client for DirectConnect. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::DirectConnect::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::DirectConnect::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -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
 
@@ -105,7 +109,7 @@ module Aws::DirectConnect
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -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 avalid 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
@@ -176,7 +180,7 @@ module Aws::DirectConnect
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -229,15 +233,19 @@ module Aws::DirectConnect
229
233
  #
230
234
  # @option options [String] :retry_mode ("legacy")
231
235
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
236
+ #
237
+ # * `legacy` - The pre-existing retry behavior. This is default value if
238
+ # no retry mode is provided.
239
+ #
240
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
241
+ # This includes support for retry quotas, which limit the number of
242
+ # unsuccessful retries a client can make.
243
+ #
244
+ # * `adaptive` - An experimental retry mode that includes all the
245
+ # functionality of `standard` mode along with automatic client side
246
+ # throttling. This is a provisional mode that may change behavior
247
+ # in the future.
248
+ #
241
249
  #
242
250
  # @option options [String] :secret_access_key
243
251
  #
@@ -275,8 +283,7 @@ module Aws::DirectConnect
275
283
  #
276
284
  # @option options [Integer] :http_read_timeout (60) The default
277
285
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
286
+ # safely be set per-request on the session.
280
287
  #
281
288
  # @option options [Float] :http_idle_timeout (5) The number of
282
289
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +295,7 @@ module Aws::DirectConnect
288
295
  # request body. This option has no effect unless the request has
289
296
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
297
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
298
+ # request on the session.
292
299
  #
293
300
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
301
  # HTTP debug output will be sent to the `:logger`.
@@ -1963,6 +1970,15 @@ module Aws::DirectConnect
1963
1970
  # Connecting the private virtual interface to a VGW only provides access
1964
1971
  # to a single VPC within the same Region.
1965
1972
  #
1973
+ # Setting the MTU of a virtual interface to 9001 (jumbo frames) can
1974
+ # cause an update to the underlying physical connection if it wasn't
1975
+ # updated to support jumbo frames. Updating the connection disrupts
1976
+ # network connectivity for all virtual interfaces associated with the
1977
+ # connection for up to 30 seconds. To check whether your connection
1978
+ # supports jumbo frames, call DescribeConnections. To check whether your
1979
+ # virtual interface supports jumbo frames, call
1980
+ # DescribeVirtualInterfaces.
1981
+ #
1966
1982
  # @option params [required, String] :connection_id
1967
1983
  # The ID of the connection.
1968
1984
  #
@@ -2195,6 +2211,15 @@ module Aws::DirectConnect
2195
2211
  # if you use the default ASN 64512 for both your the transit gateway and
2196
2212
  # Direct Connect gateway, the association request fails.
2197
2213
  #
2214
+ # Setting the MTU of a virtual interface to 8500 (jumbo frames) can
2215
+ # cause an update to the underlying physical connection if it wasn't
2216
+ # updated to support jumbo frames. Updating the connection disrupts
2217
+ # network connectivity for all virtual interfaces associated with the
2218
+ # connection for up to 30 seconds. To check whether your connection
2219
+ # supports jumbo frames, call DescribeConnections. To check whether your
2220
+ # virtual interface supports jumbo frames, call
2221
+ # DescribeVirtualInterfaces.
2222
+ #
2198
2223
  # @option params [required, String] :connection_id
2199
2224
  # The ID of the connection.
2200
2225
  #
@@ -3609,6 +3634,173 @@ module Aws::DirectConnect
3609
3634
  req.send_request(options)
3610
3635
  end
3611
3636
 
3637
+ # Lists the virtual interface failover test history.
3638
+ #
3639
+ # @option params [String] :test_id
3640
+ # The ID of the virtual interface failover test.
3641
+ #
3642
+ # @option params [String] :virtual_interface_id
3643
+ # The ID of the virtual interface that was tested.
3644
+ #
3645
+ # @option params [Array<String>] :bgp_peers
3646
+ # The BGP peers that were placed in the DOWN state during the virtual
3647
+ # interface failover test.
3648
+ #
3649
+ # @option params [String] :status
3650
+ # The status of the virtual interface failover test.
3651
+ #
3652
+ # @option params [Integer] :max_results
3653
+ # The maximum number of results to return with a single call. To
3654
+ # retrieve the remaining results, make another call with the returned
3655
+ # `nextToken` value.
3656
+ #
3657
+ # If `MaxResults` is given a value larger than 100, only 100 results are
3658
+ # returned.
3659
+ #
3660
+ # @option params [String] :next_token
3661
+ # The token for the next page of results.
3662
+ #
3663
+ # @return [Types::ListVirtualInterfaceTestHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3664
+ #
3665
+ # * {Types::ListVirtualInterfaceTestHistoryResponse#virtual_interface_test_history #virtual_interface_test_history} => Array&lt;Types::VirtualInterfaceTestHistory&gt;
3666
+ # * {Types::ListVirtualInterfaceTestHistoryResponse#next_token #next_token} => String
3667
+ #
3668
+ # @example Request syntax with placeholder values
3669
+ #
3670
+ # resp = client.list_virtual_interface_test_history({
3671
+ # test_id: "TestId",
3672
+ # virtual_interface_id: "VirtualInterfaceId",
3673
+ # bgp_peers: ["BGPPeerId"],
3674
+ # status: "FailureTestHistoryStatus",
3675
+ # max_results: 1,
3676
+ # next_token: "PaginationToken",
3677
+ # })
3678
+ #
3679
+ # @example Response structure
3680
+ #
3681
+ # resp.virtual_interface_test_history #=> Array
3682
+ # resp.virtual_interface_test_history[0].test_id #=> String
3683
+ # resp.virtual_interface_test_history[0].virtual_interface_id #=> String
3684
+ # resp.virtual_interface_test_history[0].bgp_peers #=> Array
3685
+ # resp.virtual_interface_test_history[0].bgp_peers[0] #=> String
3686
+ # resp.virtual_interface_test_history[0].status #=> String
3687
+ # resp.virtual_interface_test_history[0].owner_account #=> String
3688
+ # resp.virtual_interface_test_history[0].test_duration_in_minutes #=> Integer
3689
+ # resp.virtual_interface_test_history[0].start_time #=> Time
3690
+ # resp.virtual_interface_test_history[0].end_time #=> Time
3691
+ # resp.next_token #=> String
3692
+ #
3693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ListVirtualInterfaceTestHistory AWS API Documentation
3694
+ #
3695
+ # @overload list_virtual_interface_test_history(params = {})
3696
+ # @param [Hash] params ({})
3697
+ def list_virtual_interface_test_history(params = {}, options = {})
3698
+ req = build_request(:list_virtual_interface_test_history, params)
3699
+ req.send_request(options)
3700
+ end
3701
+
3702
+ # Starts the virtual interface failover test that verifies your
3703
+ # configuration meets your resiliency requirements by placing the BGP
3704
+ # peering session in the DOWN state. You can then send traffic to verify
3705
+ # that there are no outages.
3706
+ #
3707
+ # You can run the test on public, private, transit, and hosted virtual
3708
+ # interfaces.
3709
+ #
3710
+ # You can use [ListVirtualInterfaceTestHistory][1] to view the virtual
3711
+ # interface test history.
3712
+ #
3713
+ # If you need to stop the test before the test interval completes, use
3714
+ # [StopBgpFailoverTest][2].
3715
+ #
3716
+ #
3717
+ #
3718
+ # [1]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_ListVirtualInterfaceTestHistory.html
3719
+ # [2]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_StopBgpFailoverTest.html
3720
+ #
3721
+ # @option params [required, String] :virtual_interface_id
3722
+ # The ID of the virtual interface you want to test.
3723
+ #
3724
+ # @option params [Array<String>] :bgp_peers
3725
+ # The BGP peers to place in the DOWN state.
3726
+ #
3727
+ # @option params [Integer] :test_duration_in_minutes
3728
+ # The time in minutes that the virtual interface failover test will
3729
+ # last.
3730
+ #
3731
+ # Maximum value: 180 minutes (3 hours).
3732
+ #
3733
+ # Default: 180 minutes (3 hours).
3734
+ #
3735
+ # @return [Types::StartBgpFailoverTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3736
+ #
3737
+ # * {Types::StartBgpFailoverTestResponse#virtual_interface_test #virtual_interface_test} => Types::VirtualInterfaceTestHistory
3738
+ #
3739
+ # @example Request syntax with placeholder values
3740
+ #
3741
+ # resp = client.start_bgp_failover_test({
3742
+ # virtual_interface_id: "VirtualInterfaceId", # required
3743
+ # bgp_peers: ["BGPPeerId"],
3744
+ # test_duration_in_minutes: 1,
3745
+ # })
3746
+ #
3747
+ # @example Response structure
3748
+ #
3749
+ # resp.virtual_interface_test.test_id #=> String
3750
+ # resp.virtual_interface_test.virtual_interface_id #=> String
3751
+ # resp.virtual_interface_test.bgp_peers #=> Array
3752
+ # resp.virtual_interface_test.bgp_peers[0] #=> String
3753
+ # resp.virtual_interface_test.status #=> String
3754
+ # resp.virtual_interface_test.owner_account #=> String
3755
+ # resp.virtual_interface_test.test_duration_in_minutes #=> Integer
3756
+ # resp.virtual_interface_test.start_time #=> Time
3757
+ # resp.virtual_interface_test.end_time #=> Time
3758
+ #
3759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StartBgpFailoverTest AWS API Documentation
3760
+ #
3761
+ # @overload start_bgp_failover_test(params = {})
3762
+ # @param [Hash] params ({})
3763
+ def start_bgp_failover_test(params = {}, options = {})
3764
+ req = build_request(:start_bgp_failover_test, params)
3765
+ req.send_request(options)
3766
+ end
3767
+
3768
+ # Stops the virtual interface failover test.
3769
+ #
3770
+ # @option params [required, String] :virtual_interface_id
3771
+ # The ID of the virtual interface you no longer want to test.
3772
+ #
3773
+ # @return [Types::StopBgpFailoverTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3774
+ #
3775
+ # * {Types::StopBgpFailoverTestResponse#virtual_interface_test #virtual_interface_test} => Types::VirtualInterfaceTestHistory
3776
+ #
3777
+ # @example Request syntax with placeholder values
3778
+ #
3779
+ # resp = client.stop_bgp_failover_test({
3780
+ # virtual_interface_id: "VirtualInterfaceId", # required
3781
+ # })
3782
+ #
3783
+ # @example Response structure
3784
+ #
3785
+ # resp.virtual_interface_test.test_id #=> String
3786
+ # resp.virtual_interface_test.virtual_interface_id #=> String
3787
+ # resp.virtual_interface_test.bgp_peers #=> Array
3788
+ # resp.virtual_interface_test.bgp_peers[0] #=> String
3789
+ # resp.virtual_interface_test.status #=> String
3790
+ # resp.virtual_interface_test.owner_account #=> String
3791
+ # resp.virtual_interface_test.test_duration_in_minutes #=> Integer
3792
+ # resp.virtual_interface_test.start_time #=> Time
3793
+ # resp.virtual_interface_test.end_time #=> Time
3794
+ #
3795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StopBgpFailoverTest AWS API Documentation
3796
+ #
3797
+ # @overload stop_bgp_failover_test(params = {})
3798
+ # @param [Hash] params ({})
3799
+ def stop_bgp_failover_test(params = {}, options = {})
3800
+ req = build_request(:stop_bgp_failover_test, params)
3801
+ req.send_request(options)
3802
+ end
3803
+
3612
3804
  # Adds the specified tags to the specified AWS Direct Connect resource.
3613
3805
  # Each resource can have a maximum of 50 tags.
3614
3806
  #
@@ -3847,7 +4039,7 @@ module Aws::DirectConnect
3847
4039
  # network connectivity for all virtual interfaces associated with the
3848
4040
  # connection for up to 30 seconds. To check whether your connection
3849
4041
  # supports jumbo frames, call DescribeConnections. To check whether your
3850
- # virtual interface supports jumbo frames, call
4042
+ # virtual q interface supports jumbo frames, call
3851
4043
  # DescribeVirtualInterfaces.
3852
4044
  #
3853
4045
  # @option params [required, String] :virtual_interface_id
@@ -3952,7 +4144,7 @@ module Aws::DirectConnect
3952
4144
  params: params,
3953
4145
  config: config)
3954
4146
  context[:gem_name] = 'aws-sdk-directconnect'
3955
- context[:gem_version] = '1.27.0'
4147
+ context[:gem_version] = '1.32.0'
3956
4148
  Seahorse::Client::Request.new(handlers, context)
3957
4149
  end
3958
4150
 
@@ -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"