aws-sdk-directconnect 1.25.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
- SHA1:
3
- metadata.gz: 832b7e66c0bfd75d8566193a9a109e1badf5fe2b
4
- data.tar.gz: 2bb8f856aa9eaa896e7073e35369c93227595e5a
2
+ SHA256:
3
+ metadata.gz: cbe16a90195190606064fe78c0725f279a1fe0f2dd794590e16d365bb490921d
4
+ data.tar.gz: f7941d3bb066111e062315952dac66eb0bbb23eefd86b421f13a87d430beeee2
5
5
  SHA512:
6
- metadata.gz: 891b44d0a510b1b8b7a44de457e459d6a1a7262e68bd96d883e6ad27ad6a5dcc9d9ab0f47a58c9d5952fa2cada4d828ffeec1d503bce2f32a0c13a01a15946ee
7
- data.tar.gz: f6d8903f79cccd38e4b5ac4a51affa1ee3f564a8ab7be353b01e445eb02ff8098e7b804906731db2a40ec705bebbab4e616f40fcebd383bead6f65a3fcc21046
6
+ metadata.gz: dea3b5f13d5bf375ddd9b97ca42582f2ab95987fdfd3241678ddadff40444cd49bc8136f39498cb4a7448d8de5e95377544ad7c8ba1494ba31c2fb606a4195cd
7
+ data.tar.gz: 7458c1cef62a31ca7242a0dd9dcaa03dd69332ab8241784c3273fb2be73d6d27163afb2e00db3964e863bec2c8c5ab22b0b1495ca698ebc82fca92d584f9367d
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-directconnect/customizations'
24
24
  # methods each accept a hash of request parameters and return a response
25
25
  # structure.
26
26
  #
27
+ # direct_connect = Aws::DirectConnect::Client.new
28
+ # resp = direct_connect.accept_direct_connect_gateway_association_proposal(params)
29
+ #
27
30
  # See {Client} for more information.
28
31
  #
29
32
  # # Errors
30
33
  #
31
- # Errors returned from AWS Direct Connect all
32
- # extend {Errors::ServiceError}.
34
+ # Errors returned from AWS Direct Connect are defined in the
35
+ # {Errors} module and all extend {Errors::ServiceError}.
33
36
  #
34
37
  # begin
35
38
  # # do stuff
36
39
  # rescue Aws::DirectConnect::Errors::ServiceError
37
- # # rescues all service API errors
40
+ # # rescues all AWS Direct Connect API errors
38
41
  # end
39
42
  #
40
43
  # See {Errors} for more information.
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-directconnect/customizations'
42
45
  # @service
43
46
  module Aws::DirectConnect
44
47
 
45
- GEM_VERSION = '1.25.0'
48
+ GEM_VERSION = '1.30.0'
46
49
 
47
50
  end
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
30
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:directconnect)
31
31
 
32
32
  module Aws::DirectConnect
33
+ # An API client for DirectConnect. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::DirectConnect::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
41
+ # For details on configuring region and credentials see
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
+ #
44
+ # See {#initialize} for a full list of supported configuration options.
33
45
  class Client < Seahorse::Client::Base
34
46
 
35
47
  include Aws::ClientStubs
@@ -93,7 +105,7 @@ module Aws::DirectConnect
93
105
  # @option options [required, String] :region
94
106
  # The AWS region to connect to. The configured `:region` is
95
107
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
97
109
  #
98
110
  # * `Aws.config[:region]`
99
111
  # * `ENV['AWS_REGION']`
@@ -108,6 +120,12 @@ module Aws::DirectConnect
108
120
  # When set to `true`, a thread polling for endpoints will be running in
109
121
  # the background every 60 secs (default). Defaults to `false`.
110
122
  #
123
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
124
+ # Used only in `adaptive` retry mode. When true, the request will sleep
125
+ # until there is sufficent client side capacity to retry the request.
126
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
127
+ # not retry instead of sleeping.
128
+ #
111
129
  # @option options [Boolean] :client_side_monitoring (false)
112
130
  # When `true`, client-side metrics will be collected for all API requests from
113
131
  # this client.
@@ -132,6 +150,10 @@ module Aws::DirectConnect
132
150
  # When `true`, an attempt is made to coerce request parameters into
133
151
  # the required types.
134
152
  #
153
+ # @option options [Boolean] :correct_clock_skew (true)
154
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
155
+ # a clock skew correction and retry requests with skewed client clocks.
156
+ #
135
157
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
158
  # Set to true to disable SDK automatically adding host prefix
137
159
  # to default service endpoint when available.
@@ -139,7 +161,7 @@ module Aws::DirectConnect
139
161
  # @option options [String] :endpoint
140
162
  # The client endpoint is normally constructed from the `:region`
141
163
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
143
165
  #
144
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +176,7 @@ module Aws::DirectConnect
154
176
  # requests fetching endpoints information. Defaults to 60 sec.
155
177
  #
156
178
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
180
  #
159
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
182
  # The log formatter.
@@ -166,15 +188,29 @@ module Aws::DirectConnect
166
188
  # The Logger instance to send log messages to. If this option
167
189
  # is not set, logging will be disabled.
168
190
  #
191
+ # @option options [Integer] :max_attempts (3)
192
+ # An integer representing the maximum number attempts that will be made for
193
+ # a single request, including the initial attempt. For example,
194
+ # setting this value to 5 will result in a request being retried up to
195
+ # 4 times. Used in `standard` and `adaptive` retry modes.
196
+ #
169
197
  # @option options [String] :profile ("default")
170
198
  # Used when loading credentials from the shared credentials file
171
199
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
200
  #
201
+ # @option options [Proc] :retry_backoff
202
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
203
+ # This option is only used in the `legacy` retry mode.
204
+ #
173
205
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
206
+ # The base delay in seconds used by the default backoff function. This option
207
+ # is only used in the `legacy` retry mode.
175
208
  #
176
209
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
210
+ # A delay randomiser function used by the default backoff function.
211
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
212
+ # otherwise a Proc that takes and returns a number. This option is only used
213
+ # in the `legacy` retry mode.
178
214
  #
179
215
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
216
  #
@@ -182,11 +218,30 @@ module Aws::DirectConnect
182
218
  # The maximum number of times to retry failed requests. Only
183
219
  # ~ 500 level server errors and certain ~ 400 level client errors
184
220
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
221
+ # checksum errors, networking errors, timeout errors, auth errors,
222
+ # endpoint discovery, and errors from expired credentials.
223
+ # This option is only used in the `legacy` retry mode.
187
224
  #
188
225
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
226
+ # The maximum number of seconds to delay between retries (0 for no limit)
227
+ # used by the default backoff function. This option is only used in the
228
+ # `legacy` retry mode.
229
+ #
230
+ # @option options [String] :retry_mode ("legacy")
231
+ # Specifies which retry algorithm to use. Values are:
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
190
245
  #
191
246
  # @option options [String] :secret_access_key
192
247
  #
@@ -219,16 +274,15 @@ module Aws::DirectConnect
219
274
  # requests through. Formatted like 'http://proxy.com:123'.
220
275
  #
221
276
  # @option options [Float] :http_open_timeout (15) The number of
222
- # seconds to wait when opening a HTTP session before rasing a
277
+ # seconds to wait when opening a HTTP session before raising a
223
278
  # `Timeout::Error`.
224
279
  #
225
280
  # @option options [Integer] :http_read_timeout (60) The default
226
281
  # number of seconds to wait for response data. This value can
227
- # safely be set
228
- # per-request on the session yeidled by {#session_for}.
282
+ # safely be set per-request on the session.
229
283
  #
230
284
  # @option options [Float] :http_idle_timeout (5) The number of
231
- # seconds a connection is allowed to sit idble before it is
285
+ # seconds a connection is allowed to sit idle before it is
232
286
  # considered stale. Stale connections are closed and removed
233
287
  # from the pool before making a request.
234
288
  #
@@ -237,7 +291,7 @@ module Aws::DirectConnect
237
291
  # request body. This option has no effect unless the request has
238
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
293
  # disables this behaviour. This value can safely be set per
240
- # request on the session yeidled by {#session_for}.
294
+ # request on the session.
241
295
  #
242
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
297
  # HTTP debug output will be sent to the `:logger`.
@@ -1912,6 +1966,15 @@ module Aws::DirectConnect
1912
1966
  # Connecting the private virtual interface to a VGW only provides access
1913
1967
  # to a single VPC within the same Region.
1914
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
+ #
1915
1978
  # @option params [required, String] :connection_id
1916
1979
  # The ID of the connection.
1917
1980
  #
@@ -2144,6 +2207,15 @@ module Aws::DirectConnect
2144
2207
  # if you use the default ASN 64512 for both your the transit gateway and
2145
2208
  # Direct Connect gateway, the association request fails.
2146
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
+ #
2147
2219
  # @option params [required, String] :connection_id
2148
2220
  # The ID of the connection.
2149
2221
  #
@@ -3558,6 +3630,173 @@ module Aws::DirectConnect
3558
3630
  req.send_request(options)
3559
3631
  end
3560
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
+
3561
3800
  # Adds the specified tags to the specified AWS Direct Connect resource.
3562
3801
  # Each resource can have a maximum of 50 tags.
3563
3802
  #
@@ -3796,7 +4035,7 @@ module Aws::DirectConnect
3796
4035
  # network connectivity for all virtual interfaces associated with the
3797
4036
  # connection for up to 30 seconds. To check whether your connection
3798
4037
  # supports jumbo frames, call DescribeConnections. To check whether your
3799
- # virtual interface supports jumbo frames, call
4038
+ # virtual q interface supports jumbo frames, call
3800
4039
  # DescribeVirtualInterfaces.
3801
4040
  #
3802
4041
  # @option params [required, String] :virtual_interface_id
@@ -3901,7 +4140,7 @@ module Aws::DirectConnect
3901
4140
  params: params,
3902
4141
  config: config)
3903
4142
  context[:gem_name] = 'aws-sdk-directconnect'
3904
- context[:gem_version] = '1.25.0'
4143
+ context[:gem_version] = '1.30.0'
3905
4144
  Seahorse::Client::Request.new(handlers, context)
3906
4145
  end
3907
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"))
@@ -599,6 +615,8 @@ module Aws::DirectConnect
599
615
  DisassociateConnectionFromLagRequest.add_member(:lag_id, Shapes::ShapeRef.new(shape: LagId, required: true, location_name: "lagId"))
600
616
  DisassociateConnectionFromLagRequest.struct_class = Types::DisassociateConnectionFromLagRequest
601
617
 
618
+ DuplicateTagKeysException.struct_class = Types::DuplicateTagKeysException
619
+
602
620
  Interconnect.add_member(:interconnect_id, Shapes::ShapeRef.new(shape: InterconnectId, location_name: "interconnectId"))
603
621
  Interconnect.add_member(:interconnect_name, Shapes::ShapeRef.new(shape: InterconnectName, location_name: "interconnectName"))
604
622
  Interconnect.add_member(:interconnect_state, Shapes::ShapeRef.new(shape: InterconnectState, location_name: "interconnectState"))
@@ -644,6 +662,18 @@ module Aws::DirectConnect
644
662
  Lags.add_member(:lags, Shapes::ShapeRef.new(shape: LagList, location_name: "lags"))
645
663
  Lags.struct_class = Types::Lags
646
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
+
647
677
  Loa.add_member(:loa_content, Shapes::ShapeRef.new(shape: LoaContent, location_name: "loaContent"))
648
678
  Loa.add_member(:loa_content_type, Shapes::ShapeRef.new(shape: LoaContentType, location_name: "loaContentType"))
649
679
  Loa.struct_class = Types::Loa
@@ -751,6 +781,20 @@ module Aws::DirectConnect
751
781
 
752
782
  RouteFilterPrefixList.member = Shapes::ShapeRef.new(shape: RouteFilterPrefix)
753
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
+
754
798
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
755
799
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
756
800
  Tag.struct_class = Types::Tag
@@ -765,6 +809,8 @@ module Aws::DirectConnect
765
809
 
766
810
  TagResourceResponse.struct_class = Types::TagResourceResponse
767
811
 
812
+ TooManyTagsException.struct_class = Types::TooManyTagsException
813
+
768
814
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
769
815
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
770
816
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -825,6 +871,18 @@ module Aws::DirectConnect
825
871
 
826
872
  VirtualInterfaceList.member = Shapes::ShapeRef.new(shape: VirtualInterface)
827
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
+
828
886
  VirtualInterfaces.add_member(:virtual_interfaces, Shapes::ShapeRef.new(shape: VirtualInterfaceList, location_name: "virtualInterfaces"))
829
887
  VirtualInterfaces.struct_class = Types::VirtualInterfaces
830
888
 
@@ -1350,6 +1408,36 @@ module Aws::DirectConnect
1350
1408
  o.errors << Shapes::ShapeRef.new(shape: DirectConnectClientException)
1351
1409
  end)
1352
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
+
1353
1441
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1354
1442
  o.name = "TagResource"
1355
1443
  o.http_method = "POST"
@@ -6,6 +6,32 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::DirectConnect
9
+
10
+ # When DirectConnect returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::DirectConnect::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all DirectConnect errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::DirectConnect::Errors::ServiceError
18
+ # # rescues all DirectConnect API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {DirectConnectClientException}
29
+ # * {DirectConnectServerException}
30
+ # * {DuplicateTagKeysException}
31
+ # * {TooManyTagsException}
32
+ #
33
+ # Additionally, error classes are dynamically generated for service errors based on the error code
34
+ # if they are not defined above.
9
35
  module Errors
10
36
 
11
37
  extend Aws::Errors::DynamicErrors
@@ -23,7 +49,6 @@ module Aws::DirectConnect
23
49
  def message
24
50
  @message || @data[:message]
25
51
  end
26
-
27
52
  end
28
53
 
29
54
  class DirectConnectServerException < ServiceError
@@ -39,7 +64,26 @@ module Aws::DirectConnect
39
64
  def message
40
65
  @message || @data[:message]
41
66
  end
67
+ end
42
68
 
69
+ class DuplicateTagKeysException < ServiceError
70
+
71
+ # @param [Seahorse::Client::RequestContext] context
72
+ # @param [String] message
73
+ # @param [Aws::DirectConnect::Types::DuplicateTagKeysException] data
74
+ def initialize(context, message, data = Aws::EmptyStructure.new)
75
+ super(context, message, data)
76
+ end
77
+ end
78
+
79
+ class TooManyTagsException < ServiceError
80
+
81
+ # @param [Seahorse::Client::RequestContext] context
82
+ # @param [String] message
83
+ # @param [Aws::DirectConnect::Types::TooManyTagsException] data
84
+ def initialize(context, message, data = Aws::EmptyStructure.new)
85
+ super(context, message, data)
86
+ end
43
87
  end
44
88
 
45
89
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::DirectConnect
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -2502,6 +2502,12 @@ module Aws::DirectConnect
2502
2502
  include Aws::Structure
2503
2503
  end
2504
2504
 
2505
+ # A tag key was specified more than once.
2506
+ #
2507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DuplicateTagKeysException AWS API Documentation
2508
+ #
2509
+ class DuplicateTagKeysException < Aws::EmptyStructure; end
2510
+
2505
2511
  # Information about an interconnect.
2506
2512
  #
2507
2513
  # @!attribute [rw] interconnect_id
@@ -2738,6 +2744,77 @@ module Aws::DirectConnect
2738
2744
  include Aws::Structure
2739
2745
  end
2740
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
+
2741
2818
  # Information about a Letter of Authorization - Connecting Facility
2742
2819
  # Assignment (LOA-CFA) for a connection.
2743
2820
  #
@@ -2876,6 +2953,8 @@ module Aws::DirectConnect
2876
2953
  #
2877
2954
  # @!attribute [rw] virtual_interface_name
2878
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 (-).
2879
2958
  # @return [String]
2880
2959
  #
2881
2960
  # @!attribute [rw] vlan
@@ -2966,6 +3045,8 @@ module Aws::DirectConnect
2966
3045
  #
2967
3046
  # @!attribute [rw] virtual_interface_name
2968
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 (-).
2969
3050
  # @return [String]
2970
3051
  #
2971
3052
  # @!attribute [rw] vlan
@@ -3049,6 +3130,8 @@ module Aws::DirectConnect
3049
3130
  #
3050
3131
  # @!attribute [rw] virtual_interface_name
3051
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 (-).
3052
3135
  # @return [String]
3053
3136
  #
3054
3137
  # @!attribute [rw] vlan
@@ -3133,6 +3216,8 @@ module Aws::DirectConnect
3133
3216
  #
3134
3217
  # @!attribute [rw] virtual_interface_name
3135
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 (-).
3136
3221
  # @return [String]
3137
3222
  #
3138
3223
  # @!attribute [rw] vlan
@@ -3213,6 +3298,8 @@ module Aws::DirectConnect
3213
3298
  #
3214
3299
  # @!attribute [rw] virtual_interface_name
3215
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 (-).
3216
3303
  # @return [String]
3217
3304
  #
3218
3305
  # @!attribute [rw] vlan
@@ -3298,6 +3385,8 @@ module Aws::DirectConnect
3298
3385
  #
3299
3386
  # @!attribute [rw] virtual_interface_name
3300
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 (-).
3301
3390
  # @return [String]
3302
3391
  #
3303
3392
  # @!attribute [rw] vlan
@@ -3394,6 +3483,81 @@ module Aws::DirectConnect
3394
3483
  include Aws::Structure
3395
3484
  end
3396
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
+
3397
3561
  # Information about a tag.
3398
3562
  #
3399
3563
  # @note When making an API call, you may pass Tag
@@ -3453,6 +3617,12 @@ module Aws::DirectConnect
3453
3617
  #
3454
3618
  class TagResourceResponse < Aws::EmptyStructure; end
3455
3619
 
3620
+ # You have reached the limit on the number of tags that can be assigned.
3621
+ #
3622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TooManyTagsException AWS API Documentation
3623
+ #
3624
+ class TooManyTagsException < Aws::EmptyStructure; end
3625
+
3456
3626
  # @note When making an API call, you may pass UntagResourceRequest
3457
3627
  # data as a hash:
3458
3628
  #
@@ -3655,6 +3825,8 @@ module Aws::DirectConnect
3655
3825
  #
3656
3826
  # @!attribute [rw] virtual_interface_name
3657
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 (-).
3658
3830
  # @return [String]
3659
3831
  #
3660
3832
  # @!attribute [rw] vlan
@@ -3801,6 +3973,55 @@ module Aws::DirectConnect
3801
3973
  include Aws::Structure
3802
3974
  end
3803
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
+
3804
4025
  # @!attribute [rw] virtual_interfaces
3805
4026
  # The virtual interfaces
3806
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.25.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: 2019-10-07 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.61.1
22
+ version: 3.71.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.61.1
32
+ version: 3.71.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - AWS Direct Connect