aws-sdk-directconnect 1.29.0 → 1.30.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
2
  SHA256:
3
- metadata.gz: 382a79228e7ed3f6885f2a61bf97f2b837e0d6a6cf77b9612b77981e54b41fae
4
- data.tar.gz: 7d2bafec30bfe71f62a4f80edfebe055b0d5d567dd9f3a16c20349415334041c
3
+ metadata.gz: cbe16a90195190606064fe78c0725f279a1fe0f2dd794590e16d365bb490921d
4
+ data.tar.gz: f7941d3bb066111e062315952dac66eb0bbb23eefd86b421f13a87d430beeee2
5
5
  SHA512:
6
- metadata.gz: d973b7f004de89f4f4a61d05fc3499bd7bc614536a4efd15abe2d09f9ef3f963c4a76012ba0a4993f8e9511d39df7d5e8ce6ee27d959f39d5677db6590b9baa1
7
- data.tar.gz: b204dae9b87fcfa2e2845b924b02b46284b7e9a20d82d20d9c8f9152a8d8d06d959d811cae60f6a1b3ac1e1c99a1a7b865f9865c0186d6a7b3a6344a60a4989c
6
+ metadata.gz: dea3b5f13d5bf375ddd9b97ca42582f2ab95987fdfd3241678ddadff40444cd49bc8136f39498cb4a7448d8de5e95377544ad7c8ba1494ba31c2fb606a4195cd
7
+ data.tar.gz: 7458c1cef62a31ca7242a0dd9dcaa03dd69332ab8241784c3273fb2be73d6d27163afb2e00db3964e863bec2c8c5ab22b0b1495ca698ebc82fca92d584f9367d
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-directconnect/customizations'
45
45
  # @service
46
46
  module Aws::DirectConnect
47
47
 
48
- GEM_VERSION = '1.29.0'
48
+ GEM_VERSION = '1.30.0'
49
49
 
50
50
  end
@@ -1966,6 +1966,15 @@ module Aws::DirectConnect
1966
1966
  # Connecting the private virtual interface to a VGW only provides access
1967
1967
  # to a single VPC within the same Region.
1968
1968
  #
1969
+ # Setting the MTU of a virtual interface to 9001 (jumbo frames) can
1970
+ # cause an update to the underlying physical connection if it wasn't
1971
+ # updated to support jumbo frames. Updating the connection disrupts
1972
+ # network connectivity for all virtual interfaces associated with the
1973
+ # connection for up to 30 seconds. To check whether your connection
1974
+ # supports jumbo frames, call DescribeConnections. To check whether your
1975
+ # virtual interface supports jumbo frames, call
1976
+ # DescribeVirtualInterfaces.
1977
+ #
1969
1978
  # @option params [required, String] :connection_id
1970
1979
  # The ID of the connection.
1971
1980
  #
@@ -2198,6 +2207,15 @@ module Aws::DirectConnect
2198
2207
  # if you use the default ASN 64512 for both your the transit gateway and
2199
2208
  # Direct Connect gateway, the association request fails.
2200
2209
  #
2210
+ # Setting the MTU of a virtual interface to 8500 (jumbo frames) can
2211
+ # cause an update to the underlying physical connection if it wasn't
2212
+ # updated to support jumbo frames. Updating the connection disrupts
2213
+ # network connectivity for all virtual interfaces associated with the
2214
+ # connection for up to 30 seconds. To check whether your connection
2215
+ # supports jumbo frames, call DescribeConnections. To check whether your
2216
+ # virtual interface supports jumbo frames, call
2217
+ # DescribeVirtualInterfaces.
2218
+ #
2201
2219
  # @option params [required, String] :connection_id
2202
2220
  # The ID of the connection.
2203
2221
  #
@@ -3612,6 +3630,173 @@ module Aws::DirectConnect
3612
3630
  req.send_request(options)
3613
3631
  end
3614
3632
 
3633
+ # Lists the virtual interface failover test history.
3634
+ #
3635
+ # @option params [String] :test_id
3636
+ # The ID of the virtual interface failover test.
3637
+ #
3638
+ # @option params [String] :virtual_interface_id
3639
+ # The ID of the virtual interface that was tested.
3640
+ #
3641
+ # @option params [Array<String>] :bgp_peers
3642
+ # The BGP peers that were placed in the DOWN state during the virtual
3643
+ # interface failover test.
3644
+ #
3645
+ # @option params [String] :status
3646
+ # The status of the virtual interface failover test.
3647
+ #
3648
+ # @option params [Integer] :max_results
3649
+ # The maximum number of results to return with a single call. To
3650
+ # retrieve the remaining results, make another call with the returned
3651
+ # `nextToken` value.
3652
+ #
3653
+ # If `MaxResults` is given a value larger than 100, only 100 results are
3654
+ # returned.
3655
+ #
3656
+ # @option params [String] :next_token
3657
+ # The token for the next page of results.
3658
+ #
3659
+ # @return [Types::ListVirtualInterfaceTestHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3660
+ #
3661
+ # * {Types::ListVirtualInterfaceTestHistoryResponse#virtual_interface_test_history #virtual_interface_test_history} => Array&lt;Types::VirtualInterfaceTestHistory&gt;
3662
+ # * {Types::ListVirtualInterfaceTestHistoryResponse#next_token #next_token} => String
3663
+ #
3664
+ # @example Request syntax with placeholder values
3665
+ #
3666
+ # resp = client.list_virtual_interface_test_history({
3667
+ # test_id: "TestId",
3668
+ # virtual_interface_id: "VirtualInterfaceId",
3669
+ # bgp_peers: ["BGPPeerId"],
3670
+ # status: "FailureTestHistoryStatus",
3671
+ # max_results: 1,
3672
+ # next_token: "PaginationToken",
3673
+ # })
3674
+ #
3675
+ # @example Response structure
3676
+ #
3677
+ # resp.virtual_interface_test_history #=> Array
3678
+ # resp.virtual_interface_test_history[0].test_id #=> String
3679
+ # resp.virtual_interface_test_history[0].virtual_interface_id #=> String
3680
+ # resp.virtual_interface_test_history[0].bgp_peers #=> Array
3681
+ # resp.virtual_interface_test_history[0].bgp_peers[0] #=> String
3682
+ # resp.virtual_interface_test_history[0].status #=> String
3683
+ # resp.virtual_interface_test_history[0].owner_account #=> String
3684
+ # resp.virtual_interface_test_history[0].test_duration_in_minutes #=> Integer
3685
+ # resp.virtual_interface_test_history[0].start_time #=> Time
3686
+ # resp.virtual_interface_test_history[0].end_time #=> Time
3687
+ # resp.next_token #=> String
3688
+ #
3689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ListVirtualInterfaceTestHistory AWS API Documentation
3690
+ #
3691
+ # @overload list_virtual_interface_test_history(params = {})
3692
+ # @param [Hash] params ({})
3693
+ def list_virtual_interface_test_history(params = {}, options = {})
3694
+ req = build_request(:list_virtual_interface_test_history, params)
3695
+ req.send_request(options)
3696
+ end
3697
+
3698
+ # Starts the virtual interface failover test that verifies your
3699
+ # configuration meets your resiliency requirements by placing the BGP
3700
+ # peering session in the DOWN state. You can then send traffic to verify
3701
+ # that there are no outages.
3702
+ #
3703
+ # You can run the test on public, private, transit, and hosted virtual
3704
+ # interfaces.
3705
+ #
3706
+ # You can use [ListVirtualInterfaceTestHistory][1] to view the virtual
3707
+ # interface test history.
3708
+ #
3709
+ # If you need to stop the test before the test interval completes, use
3710
+ # [StopBgpFailoverTest][2].
3711
+ #
3712
+ #
3713
+ #
3714
+ # [1]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_ListVirtualInterfaceTestHistory.html
3715
+ # [2]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_StopBgpFailoverTest.html
3716
+ #
3717
+ # @option params [required, String] :virtual_interface_id
3718
+ # The ID of the virtual interface you want to test.
3719
+ #
3720
+ # @option params [Array<String>] :bgp_peers
3721
+ # The BGP peers to place in the DOWN state.
3722
+ #
3723
+ # @option params [Integer] :test_duration_in_minutes
3724
+ # The time in minutes that the virtual interface failover test will
3725
+ # last.
3726
+ #
3727
+ # Maximum value: 180 minutes (3 hours).
3728
+ #
3729
+ # Default: 180 minutes (3 hours).
3730
+ #
3731
+ # @return [Types::StartBgpFailoverTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3732
+ #
3733
+ # * {Types::StartBgpFailoverTestResponse#virtual_interface_test #virtual_interface_test} => Types::VirtualInterfaceTestHistory
3734
+ #
3735
+ # @example Request syntax with placeholder values
3736
+ #
3737
+ # resp = client.start_bgp_failover_test({
3738
+ # virtual_interface_id: "VirtualInterfaceId", # required
3739
+ # bgp_peers: ["BGPPeerId"],
3740
+ # test_duration_in_minutes: 1,
3741
+ # })
3742
+ #
3743
+ # @example Response structure
3744
+ #
3745
+ # resp.virtual_interface_test.test_id #=> String
3746
+ # resp.virtual_interface_test.virtual_interface_id #=> String
3747
+ # resp.virtual_interface_test.bgp_peers #=> Array
3748
+ # resp.virtual_interface_test.bgp_peers[0] #=> String
3749
+ # resp.virtual_interface_test.status #=> String
3750
+ # resp.virtual_interface_test.owner_account #=> String
3751
+ # resp.virtual_interface_test.test_duration_in_minutes #=> Integer
3752
+ # resp.virtual_interface_test.start_time #=> Time
3753
+ # resp.virtual_interface_test.end_time #=> Time
3754
+ #
3755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StartBgpFailoverTest AWS API Documentation
3756
+ #
3757
+ # @overload start_bgp_failover_test(params = {})
3758
+ # @param [Hash] params ({})
3759
+ def start_bgp_failover_test(params = {}, options = {})
3760
+ req = build_request(:start_bgp_failover_test, params)
3761
+ req.send_request(options)
3762
+ end
3763
+
3764
+ # Stops the virtual interface failover test.
3765
+ #
3766
+ # @option params [required, String] :virtual_interface_id
3767
+ # The ID of the virtual interface you no longer want to test.
3768
+ #
3769
+ # @return [Types::StopBgpFailoverTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3770
+ #
3771
+ # * {Types::StopBgpFailoverTestResponse#virtual_interface_test #virtual_interface_test} => Types::VirtualInterfaceTestHistory
3772
+ #
3773
+ # @example Request syntax with placeholder values
3774
+ #
3775
+ # resp = client.stop_bgp_failover_test({
3776
+ # virtual_interface_id: "VirtualInterfaceId", # required
3777
+ # })
3778
+ #
3779
+ # @example Response structure
3780
+ #
3781
+ # resp.virtual_interface_test.test_id #=> String
3782
+ # resp.virtual_interface_test.virtual_interface_id #=> String
3783
+ # resp.virtual_interface_test.bgp_peers #=> Array
3784
+ # resp.virtual_interface_test.bgp_peers[0] #=> String
3785
+ # resp.virtual_interface_test.status #=> String
3786
+ # resp.virtual_interface_test.owner_account #=> String
3787
+ # resp.virtual_interface_test.test_duration_in_minutes #=> Integer
3788
+ # resp.virtual_interface_test.start_time #=> Time
3789
+ # resp.virtual_interface_test.end_time #=> Time
3790
+ #
3791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StopBgpFailoverTest AWS API Documentation
3792
+ #
3793
+ # @overload stop_bgp_failover_test(params = {})
3794
+ # @param [Hash] params ({})
3795
+ def stop_bgp_failover_test(params = {}, options = {})
3796
+ req = build_request(:stop_bgp_failover_test, params)
3797
+ req.send_request(options)
3798
+ end
3799
+
3615
3800
  # Adds the specified tags to the specified AWS Direct Connect resource.
3616
3801
  # Each resource can have a maximum of 50 tags.
3617
3802
  #
@@ -3850,7 +4035,7 @@ module Aws::DirectConnect
3850
4035
  # network connectivity for all virtual interfaces associated with the
3851
4036
  # connection for up to 30 seconds. To check whether your connection
3852
4037
  # supports jumbo frames, call DescribeConnections. To check whether your
3853
- # virtual interface supports jumbo frames, call
4038
+ # virtual q interface supports jumbo frames, call
3854
4039
  # DescribeVirtualInterfaces.
3855
4040
  #
3856
4041
  # @option params [required, String] :virtual_interface_id
@@ -3955,7 +4140,7 @@ module Aws::DirectConnect
3955
4140
  params: params,
3956
4141
  config: config)
3957
4142
  context[:gem_name] = 'aws-sdk-directconnect'
3958
- context[:gem_version] = '1.29.0'
4143
+ context[:gem_version] = '1.30.0'
3959
4144
  Seahorse::Client::Request.new(handlers, context)
3960
4145
  end
3961
4146
 
@@ -33,6 +33,7 @@ module Aws::DirectConnect
33
33
  BGPAuthKey = Shapes::StringShape.new(name: 'BGPAuthKey')
34
34
  BGPPeer = Shapes::StructureShape.new(name: 'BGPPeer')
35
35
  BGPPeerId = Shapes::StringShape.new(name: 'BGPPeerId')
36
+ BGPPeerIdList = Shapes::ListShape.new(name: 'BGPPeerIdList')
36
37
  BGPPeerList = Shapes::ListShape.new(name: 'BGPPeerList')
37
38
  BGPPeerState = Shapes::StringShape.new(name: 'BGPPeerState')
38
39
  BGPStatus = Shapes::StringShape.new(name: 'BGPStatus')
@@ -126,7 +127,9 @@ module Aws::DirectConnect
126
127
  DirectConnectServerException = Shapes::StructureShape.new(name: 'DirectConnectServerException')
127
128
  DisassociateConnectionFromLagRequest = Shapes::StructureShape.new(name: 'DisassociateConnectionFromLagRequest')
128
129
  DuplicateTagKeysException = Shapes::StructureShape.new(name: 'DuplicateTagKeysException')
130
+ EndTime = Shapes::TimestampShape.new(name: 'EndTime')
129
131
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
132
+ FailureTestHistoryStatus = Shapes::StringShape.new(name: 'FailureTestHistoryStatus')
130
133
  GatewayIdToAssociate = Shapes::StringShape.new(name: 'GatewayIdToAssociate')
131
134
  GatewayIdentifier = Shapes::StringShape.new(name: 'GatewayIdentifier')
132
135
  GatewayType = Shapes::StringShape.new(name: 'GatewayType')
@@ -144,6 +147,8 @@ module Aws::DirectConnect
144
147
  LagName = Shapes::StringShape.new(name: 'LagName')
145
148
  LagState = Shapes::StringShape.new(name: 'LagState')
146
149
  Lags = Shapes::StructureShape.new(name: 'Lags')
150
+ ListVirtualInterfaceTestHistoryRequest = Shapes::StructureShape.new(name: 'ListVirtualInterfaceTestHistoryRequest')
151
+ ListVirtualInterfaceTestHistoryResponse = Shapes::StructureShape.new(name: 'ListVirtualInterfaceTestHistoryResponse')
147
152
  Loa = Shapes::StructureShape.new(name: 'Loa')
148
153
  LoaContent = Shapes::BlobShape.new(name: 'LoaContent')
149
154
  LoaContentType = Shapes::StringShape.new(name: 'LoaContentType')
@@ -177,7 +182,12 @@ module Aws::DirectConnect
177
182
  RouteFilterPrefix = Shapes::StructureShape.new(name: 'RouteFilterPrefix')
178
183
  RouteFilterPrefixList = Shapes::ListShape.new(name: 'RouteFilterPrefixList')
179
184
  RouterConfig = Shapes::StringShape.new(name: 'RouterConfig')
185
+ StartBgpFailoverTestRequest = Shapes::StructureShape.new(name: 'StartBgpFailoverTestRequest')
186
+ StartBgpFailoverTestResponse = Shapes::StructureShape.new(name: 'StartBgpFailoverTestResponse')
187
+ StartTime = Shapes::TimestampShape.new(name: 'StartTime')
180
188
  StateChangeError = Shapes::StringShape.new(name: 'StateChangeError')
189
+ StopBgpFailoverTestRequest = Shapes::StructureShape.new(name: 'StopBgpFailoverTestRequest')
190
+ StopBgpFailoverTestResponse = Shapes::StructureShape.new(name: 'StopBgpFailoverTestResponse')
181
191
  Tag = Shapes::StructureShape.new(name: 'Tag')
182
192
  TagKey = Shapes::StringShape.new(name: 'TagKey')
183
193
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -185,6 +195,8 @@ module Aws::DirectConnect
185
195
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
186
196
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
187
197
  TagValue = Shapes::StringShape.new(name: 'TagValue')
198
+ TestDuration = Shapes::IntegerShape.new(name: 'TestDuration')
199
+ TestId = Shapes::StringShape.new(name: 'TestId')
188
200
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
189
201
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
190
202
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
@@ -205,6 +217,8 @@ module Aws::DirectConnect
205
217
  VirtualInterfaceName = Shapes::StringShape.new(name: 'VirtualInterfaceName')
206
218
  VirtualInterfaceRegion = Shapes::StringShape.new(name: 'VirtualInterfaceRegion')
207
219
  VirtualInterfaceState = Shapes::StringShape.new(name: 'VirtualInterfaceState')
220
+ VirtualInterfaceTestHistory = Shapes::StructureShape.new(name: 'VirtualInterfaceTestHistory')
221
+ VirtualInterfaceTestHistoryList = Shapes::ListShape.new(name: 'VirtualInterfaceTestHistoryList')
208
222
  VirtualInterfaceType = Shapes::StringShape.new(name: 'VirtualInterfaceType')
209
223
  VirtualInterfaces = Shapes::StructureShape.new(name: 'VirtualInterfaces')
210
224
 
@@ -281,6 +295,8 @@ module Aws::DirectConnect
281
295
  BGPPeer.add_member(:aws_device_v2, Shapes::ShapeRef.new(shape: AwsDeviceV2, location_name: "awsDeviceV2"))
282
296
  BGPPeer.struct_class = Types::BGPPeer
283
297
 
298
+ BGPPeerIdList.member = Shapes::ShapeRef.new(shape: BGPPeerId)
299
+
284
300
  BGPPeerList.member = Shapes::ShapeRef.new(shape: BGPPeer)
285
301
 
286
302
  ConfirmConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location_name: "connectionId"))
@@ -646,6 +662,18 @@ module Aws::DirectConnect
646
662
  Lags.add_member(:lags, Shapes::ShapeRef.new(shape: LagList, location_name: "lags"))
647
663
  Lags.struct_class = Types::Lags
648
664
 
665
+ ListVirtualInterfaceTestHistoryRequest.add_member(:test_id, Shapes::ShapeRef.new(shape: TestId, location_name: "testId"))
666
+ ListVirtualInterfaceTestHistoryRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, location_name: "virtualInterfaceId"))
667
+ ListVirtualInterfaceTestHistoryRequest.add_member(:bgp_peers, Shapes::ShapeRef.new(shape: BGPPeerIdList, location_name: "bgpPeers"))
668
+ ListVirtualInterfaceTestHistoryRequest.add_member(:status, Shapes::ShapeRef.new(shape: FailureTestHistoryStatus, location_name: "status"))
669
+ ListVirtualInterfaceTestHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultSetSize, location_name: "maxResults"))
670
+ ListVirtualInterfaceTestHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
671
+ ListVirtualInterfaceTestHistoryRequest.struct_class = Types::ListVirtualInterfaceTestHistoryRequest
672
+
673
+ ListVirtualInterfaceTestHistoryResponse.add_member(:virtual_interface_test_history, Shapes::ShapeRef.new(shape: VirtualInterfaceTestHistoryList, location_name: "virtualInterfaceTestHistory"))
674
+ ListVirtualInterfaceTestHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
675
+ ListVirtualInterfaceTestHistoryResponse.struct_class = Types::ListVirtualInterfaceTestHistoryResponse
676
+
649
677
  Loa.add_member(:loa_content, Shapes::ShapeRef.new(shape: LoaContent, location_name: "loaContent"))
650
678
  Loa.add_member(:loa_content_type, Shapes::ShapeRef.new(shape: LoaContentType, location_name: "loaContentType"))
651
679
  Loa.struct_class = Types::Loa
@@ -753,6 +781,20 @@ module Aws::DirectConnect
753
781
 
754
782
  RouteFilterPrefixList.member = Shapes::ShapeRef.new(shape: RouteFilterPrefix)
755
783
 
784
+ StartBgpFailoverTestRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, required: true, location_name: "virtualInterfaceId"))
785
+ StartBgpFailoverTestRequest.add_member(:bgp_peers, Shapes::ShapeRef.new(shape: BGPPeerIdList, location_name: "bgpPeers"))
786
+ StartBgpFailoverTestRequest.add_member(:test_duration_in_minutes, Shapes::ShapeRef.new(shape: TestDuration, location_name: "testDurationInMinutes"))
787
+ StartBgpFailoverTestRequest.struct_class = Types::StartBgpFailoverTestRequest
788
+
789
+ StartBgpFailoverTestResponse.add_member(:virtual_interface_test, Shapes::ShapeRef.new(shape: VirtualInterfaceTestHistory, location_name: "virtualInterfaceTest"))
790
+ StartBgpFailoverTestResponse.struct_class = Types::StartBgpFailoverTestResponse
791
+
792
+ StopBgpFailoverTestRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, required: true, location_name: "virtualInterfaceId"))
793
+ StopBgpFailoverTestRequest.struct_class = Types::StopBgpFailoverTestRequest
794
+
795
+ StopBgpFailoverTestResponse.add_member(:virtual_interface_test, Shapes::ShapeRef.new(shape: VirtualInterfaceTestHistory, location_name: "virtualInterfaceTest"))
796
+ StopBgpFailoverTestResponse.struct_class = Types::StopBgpFailoverTestResponse
797
+
756
798
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
757
799
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
758
800
  Tag.struct_class = Types::Tag
@@ -829,6 +871,18 @@ module Aws::DirectConnect
829
871
 
830
872
  VirtualInterfaceList.member = Shapes::ShapeRef.new(shape: VirtualInterface)
831
873
 
874
+ VirtualInterfaceTestHistory.add_member(:test_id, Shapes::ShapeRef.new(shape: TestId, location_name: "testId"))
875
+ VirtualInterfaceTestHistory.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, location_name: "virtualInterfaceId"))
876
+ VirtualInterfaceTestHistory.add_member(:bgp_peers, Shapes::ShapeRef.new(shape: BGPPeerIdList, location_name: "bgpPeers"))
877
+ VirtualInterfaceTestHistory.add_member(:status, Shapes::ShapeRef.new(shape: FailureTestHistoryStatus, location_name: "status"))
878
+ VirtualInterfaceTestHistory.add_member(:owner_account, Shapes::ShapeRef.new(shape: OwnerAccount, location_name: "ownerAccount"))
879
+ VirtualInterfaceTestHistory.add_member(:test_duration_in_minutes, Shapes::ShapeRef.new(shape: TestDuration, location_name: "testDurationInMinutes"))
880
+ VirtualInterfaceTestHistory.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "startTime"))
881
+ VirtualInterfaceTestHistory.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "endTime"))
882
+ VirtualInterfaceTestHistory.struct_class = Types::VirtualInterfaceTestHistory
883
+
884
+ VirtualInterfaceTestHistoryList.member = Shapes::ShapeRef.new(shape: VirtualInterfaceTestHistory)
885
+
832
886
  VirtualInterfaces.add_member(:virtual_interfaces, Shapes::ShapeRef.new(shape: VirtualInterfaceList, location_name: "virtualInterfaces"))
833
887
  VirtualInterfaces.struct_class = Types::VirtualInterfaces
834
888
 
@@ -1354,6 +1408,36 @@ module Aws::DirectConnect
1354
1408
  o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
1355
1409
  end)
1356
1410
 
1411
+ api.add_operation(:list_virtual_interface_test_history, Seahorse::Model::Operation.new.tap do |o|
1412
+ o.name = "ListVirtualInterfaceTestHistory"
1413
+ o.http_method = "POST"
1414
+ o.http_request_uri = "/"
1415
+ o.input = Shapes::ShapeRef.new(shape: ListVirtualInterfaceTestHistoryRequest)
1416
+ o.output = Shapes::ShapeRef.new(shape: ListVirtualInterfaceTestHistoryResponse)
1417
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
1418
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
1419
+ end)
1420
+
1421
+ api.add_operation(:start_bgp_failover_test, Seahorse::Model::Operation.new.tap do |o|
1422
+ o.name = "StartBgpFailoverTest"
1423
+ o.http_method = "POST"
1424
+ o.http_request_uri = "/"
1425
+ o.input = Shapes::ShapeRef.new(shape: StartBgpFailoverTestRequest)
1426
+ o.output = Shapes::ShapeRef.new(shape: StartBgpFailoverTestResponse)
1427
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
1428
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
1429
+ end)
1430
+
1431
+ api.add_operation(:stop_bgp_failover_test, Seahorse::Model::Operation.new.tap do |o|
1432
+ o.name = "StopBgpFailoverTest"
1433
+ o.http_method = "POST"
1434
+ o.http_request_uri = "/"
1435
+ o.input = Shapes::ShapeRef.new(shape: StopBgpFailoverTestRequest)
1436
+ o.output = Shapes::ShapeRef.new(shape: StopBgpFailoverTestResponse)
1437
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectServerException)
1438
+ o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
1439
+ end)
1440
+
1357
1441
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1358
1442
  o.name = "TagResource"
1359
1443
  o.http_method = "POST"
@@ -2744,6 +2744,77 @@ module Aws::DirectConnect
2744
2744
  include Aws::Structure
2745
2745
  end
2746
2746
 
2747
+ # @note When making an API call, you may pass ListVirtualInterfaceTestHistoryRequest
2748
+ # data as a hash:
2749
+ #
2750
+ # {
2751
+ # test_id: "TestId",
2752
+ # virtual_interface_id: "VirtualInterfaceId",
2753
+ # bgp_peers: ["BGPPeerId"],
2754
+ # status: "FailureTestHistoryStatus",
2755
+ # max_results: 1,
2756
+ # next_token: "PaginationToken",
2757
+ # }
2758
+ #
2759
+ # @!attribute [rw] test_id
2760
+ # The ID of the virtual interface failover test.
2761
+ # @return [String]
2762
+ #
2763
+ # @!attribute [rw] virtual_interface_id
2764
+ # The ID of the virtual interface that was tested.
2765
+ # @return [String]
2766
+ #
2767
+ # @!attribute [rw] bgp_peers
2768
+ # The BGP peers that were placed in the DOWN state during the virtual
2769
+ # interface failover test.
2770
+ # @return [Array<String>]
2771
+ #
2772
+ # @!attribute [rw] status
2773
+ # The status of the virtual interface failover test.
2774
+ # @return [String]
2775
+ #
2776
+ # @!attribute [rw] max_results
2777
+ # The maximum number of results to return with a single call. To
2778
+ # retrieve the remaining results, make another call with the returned
2779
+ # `nextToken` value.
2780
+ #
2781
+ # If `MaxResults` is given a value larger than 100, only 100 results
2782
+ # are returned.
2783
+ # @return [Integer]
2784
+ #
2785
+ # @!attribute [rw] next_token
2786
+ # The token for the next page of results.
2787
+ # @return [String]
2788
+ #
2789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ListVirtualInterfaceTestHistoryRequest AWS API Documentation
2790
+ #
2791
+ class ListVirtualInterfaceTestHistoryRequest < Struct.new(
2792
+ :test_id,
2793
+ :virtual_interface_id,
2794
+ :bgp_peers,
2795
+ :status,
2796
+ :max_results,
2797
+ :next_token)
2798
+ include Aws::Structure
2799
+ end
2800
+
2801
+ # @!attribute [rw] virtual_interface_test_history
2802
+ # The ID of the tested virtual interface.
2803
+ # @return [Array<Types::VirtualInterfaceTestHistory>]
2804
+ #
2805
+ # @!attribute [rw] next_token
2806
+ # The token to use to retrieve the next page of results. This value is
2807
+ # `null` when there are no more results to return.
2808
+ # @return [String]
2809
+ #
2810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ListVirtualInterfaceTestHistoryResponse AWS API Documentation
2811
+ #
2812
+ class ListVirtualInterfaceTestHistoryResponse < Struct.new(
2813
+ :virtual_interface_test_history,
2814
+ :next_token)
2815
+ include Aws::Structure
2816
+ end
2817
+
2747
2818
  # Information about a Letter of Authorization - Connecting Facility
2748
2819
  # Assignment (LOA-CFA) for a connection.
2749
2820
  #
@@ -2882,6 +2953,8 @@ module Aws::DirectConnect
2882
2953
  #
2883
2954
  # @!attribute [rw] virtual_interface_name
2884
2955
  # The name of the virtual interface assigned by the customer network.
2956
+ # The name has a maximum of 100 characters. The following are valid
2957
+ # characters: a-z, 0-9 and a hyphen (-).
2885
2958
  # @return [String]
2886
2959
  #
2887
2960
  # @!attribute [rw] vlan
@@ -2972,6 +3045,8 @@ module Aws::DirectConnect
2972
3045
  #
2973
3046
  # @!attribute [rw] virtual_interface_name
2974
3047
  # The name of the virtual interface assigned by the customer network.
3048
+ # The name has a maximum of 100 characters. The following are valid
3049
+ # characters: a-z, 0-9 and a hyphen (-).
2975
3050
  # @return [String]
2976
3051
  #
2977
3052
  # @!attribute [rw] vlan
@@ -3055,6 +3130,8 @@ module Aws::DirectConnect
3055
3130
  #
3056
3131
  # @!attribute [rw] virtual_interface_name
3057
3132
  # The name of the virtual interface assigned by the customer network.
3133
+ # The name has a maximum of 100 characters. The following are valid
3134
+ # characters: a-z, 0-9 and a hyphen (-).
3058
3135
  # @return [String]
3059
3136
  #
3060
3137
  # @!attribute [rw] vlan
@@ -3139,6 +3216,8 @@ module Aws::DirectConnect
3139
3216
  #
3140
3217
  # @!attribute [rw] virtual_interface_name
3141
3218
  # The name of the virtual interface assigned by the customer network.
3219
+ # The name has a maximum of 100 characters. The following are valid
3220
+ # characters: a-z, 0-9 and a hyphen (-).
3142
3221
  # @return [String]
3143
3222
  #
3144
3223
  # @!attribute [rw] vlan
@@ -3219,6 +3298,8 @@ module Aws::DirectConnect
3219
3298
  #
3220
3299
  # @!attribute [rw] virtual_interface_name
3221
3300
  # The name of the virtual interface assigned by the customer network.
3301
+ # The name has a maximum of 100 characters. The following are valid
3302
+ # characters: a-z, 0-9 and a hyphen (-).
3222
3303
  # @return [String]
3223
3304
  #
3224
3305
  # @!attribute [rw] vlan
@@ -3304,6 +3385,8 @@ module Aws::DirectConnect
3304
3385
  #
3305
3386
  # @!attribute [rw] virtual_interface_name
3306
3387
  # The name of the virtual interface assigned by the customer network.
3388
+ # The name has a maximum of 100 characters. The following are valid
3389
+ # characters: a-z, 0-9 and a hyphen (-).
3307
3390
  # @return [String]
3308
3391
  #
3309
3392
  # @!attribute [rw] vlan
@@ -3400,6 +3483,81 @@ module Aws::DirectConnect
3400
3483
  include Aws::Structure
3401
3484
  end
3402
3485
 
3486
+ # @note When making an API call, you may pass StartBgpFailoverTestRequest
3487
+ # data as a hash:
3488
+ #
3489
+ # {
3490
+ # virtual_interface_id: "VirtualInterfaceId", # required
3491
+ # bgp_peers: ["BGPPeerId"],
3492
+ # test_duration_in_minutes: 1,
3493
+ # }
3494
+ #
3495
+ # @!attribute [rw] virtual_interface_id
3496
+ # The ID of the virtual interface you want to test.
3497
+ # @return [String]
3498
+ #
3499
+ # @!attribute [rw] bgp_peers
3500
+ # The BGP peers to place in the DOWN state.
3501
+ # @return [Array<String>]
3502
+ #
3503
+ # @!attribute [rw] test_duration_in_minutes
3504
+ # The time in minutes that the virtual interface failover test will
3505
+ # last.
3506
+ #
3507
+ # Maximum value: 180 minutes (3 hours).
3508
+ #
3509
+ # Default: 180 minutes (3 hours).
3510
+ # @return [Integer]
3511
+ #
3512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StartBgpFailoverTestRequest AWS API Documentation
3513
+ #
3514
+ class StartBgpFailoverTestRequest < Struct.new(
3515
+ :virtual_interface_id,
3516
+ :bgp_peers,
3517
+ :test_duration_in_minutes)
3518
+ include Aws::Structure
3519
+ end
3520
+
3521
+ # @!attribute [rw] virtual_interface_test
3522
+ # Information about the virtual interface failover test.
3523
+ # @return [Types::VirtualInterfaceTestHistory]
3524
+ #
3525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StartBgpFailoverTestResponse AWS API Documentation
3526
+ #
3527
+ class StartBgpFailoverTestResponse < Struct.new(
3528
+ :virtual_interface_test)
3529
+ include Aws::Structure
3530
+ end
3531
+
3532
+ # @note When making an API call, you may pass StopBgpFailoverTestRequest
3533
+ # data as a hash:
3534
+ #
3535
+ # {
3536
+ # virtual_interface_id: "VirtualInterfaceId", # required
3537
+ # }
3538
+ #
3539
+ # @!attribute [rw] virtual_interface_id
3540
+ # The ID of the virtual interface you no longer want to test.
3541
+ # @return [String]
3542
+ #
3543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StopBgpFailoverTestRequest AWS API Documentation
3544
+ #
3545
+ class StopBgpFailoverTestRequest < Struct.new(
3546
+ :virtual_interface_id)
3547
+ include Aws::Structure
3548
+ end
3549
+
3550
+ # @!attribute [rw] virtual_interface_test
3551
+ # Information about the virtual interface failover test.
3552
+ # @return [Types::VirtualInterfaceTestHistory]
3553
+ #
3554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StopBgpFailoverTestResponse AWS API Documentation
3555
+ #
3556
+ class StopBgpFailoverTestResponse < Struct.new(
3557
+ :virtual_interface_test)
3558
+ include Aws::Structure
3559
+ end
3560
+
3403
3561
  # Information about a tag.
3404
3562
  #
3405
3563
  # @note When making an API call, you may pass Tag
@@ -3667,6 +3825,8 @@ module Aws::DirectConnect
3667
3825
  #
3668
3826
  # @!attribute [rw] virtual_interface_name
3669
3827
  # The name of the virtual interface assigned by the customer network.
3828
+ # The name has a maximum of 100 characters. The following are valid
3829
+ # characters: a-z, 0-9 and a hyphen (-).
3670
3830
  # @return [String]
3671
3831
  #
3672
3832
  # @!attribute [rw] vlan
@@ -3813,6 +3973,55 @@ module Aws::DirectConnect
3813
3973
  include Aws::Structure
3814
3974
  end
3815
3975
 
3976
+ # Information about the virtual interface failover test.
3977
+ #
3978
+ # @!attribute [rw] test_id
3979
+ # The ID of the virtual interface failover test.
3980
+ # @return [String]
3981
+ #
3982
+ # @!attribute [rw] virtual_interface_id
3983
+ # The ID of the tested virtual interface.
3984
+ # @return [String]
3985
+ #
3986
+ # @!attribute [rw] bgp_peers
3987
+ # The BGP peers that were put in the DOWN state as part of the virtual
3988
+ # interface failover test.
3989
+ # @return [Array<String>]
3990
+ #
3991
+ # @!attribute [rw] status
3992
+ # The status of the virtual interface failover test.
3993
+ # @return [String]
3994
+ #
3995
+ # @!attribute [rw] owner_account
3996
+ # The owner ID of the tested virtual interface.
3997
+ # @return [String]
3998
+ #
3999
+ # @!attribute [rw] test_duration_in_minutes
4000
+ # The time that the virtual interface failover test ran in minutes.
4001
+ # @return [Integer]
4002
+ #
4003
+ # @!attribute [rw] start_time
4004
+ # The time that the virtual interface moves to the DOWN state.
4005
+ # @return [Time]
4006
+ #
4007
+ # @!attribute [rw] end_time
4008
+ # The time that the virtual interface moves out of the DOWN state.
4009
+ # @return [Time]
4010
+ #
4011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterfaceTestHistory AWS API Documentation
4012
+ #
4013
+ class VirtualInterfaceTestHistory < Struct.new(
4014
+ :test_id,
4015
+ :virtual_interface_id,
4016
+ :bgp_peers,
4017
+ :status,
4018
+ :owner_account,
4019
+ :test_duration_in_minutes,
4020
+ :start_time,
4021
+ :end_time)
4022
+ include Aws::Structure
4023
+ end
4024
+
3816
4025
  # @!attribute [rw] virtual_interfaces
3817
4026
  # The virtual interfaces
3818
4027
  # @return [Array<Types::VirtualInterface>]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-directconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core