aws-sdk-directconnect 1.26.0 → 1.31.1

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: 0526e42aed97e3704e3bada0960df9b2a0b7ad69
4
- data.tar.gz: 709943c375bbc7ec512f762aef45b44b9d759c7a
2
+ SHA256:
3
+ metadata.gz: 2c0dec623c064e0abff38f515e548dd1b804fac7084cfba7f34ac3b8f6e00707
4
+ data.tar.gz: 8fa2fafd28e90d89355a94df0d002a6befd77035028946e8a03e0c0159305253
5
5
  SHA512:
6
- metadata.gz: 6d01c10150f060a2a3f6fca163fd4169e88f319325e131e75d33832b3009fd1dc38ac46595a4ddb6dc6cc85de29a08f93d635db992ba38d8213255011d44a95e
7
- data.tar.gz: 24534dfab4bd39578b78fbdbf30953c8c90b82dae1ce971cbd35310aff468df805a4c51a9812cc977a93af87957aba63851b4608d8187d15fbbbd18cbc216774
6
+ metadata.gz: 61b653f05ee8cb0490d0fa104c8cc9cb343ab4ca370bda03f0094a29de791738c1650f2f4ded9972ee37d79ba70f2942a07c3d9512da7cd1eee858ae5a78766b
7
+ data.tar.gz: 28518a86bfc056296f35a826f47609a66bc72b0aa22898df7fe0ee2d40810c26689a1a52f9c9da24138f74e4f09a8dc9810f5a9f280659620b580ff7ba6c1b2a
@@ -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.26.0'
48
+ GEM_VERSION = '1.31.1'
46
49
 
47
50
  end
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
30
 
30
31
  Aws::Plugins::GlobalConfiguration.add_identifier(:directconnect)
31
32
 
32
33
  module Aws::DirectConnect
34
+ # An API client for DirectConnect. To construct a client, you need to configure a `:region` and `:credentials`.
35
+ #
36
+ # client = Aws::DirectConnect::Client.new(
37
+ # region: region_name,
38
+ # credentials: credentials,
39
+ # # ...
40
+ # )
41
+ #
42
+ # For details on configuring region and credentials see
43
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
44
+ #
45
+ # See {#initialize} for a full list of supported configuration options.
33
46
  class Client < Seahorse::Client::Base
34
47
 
35
48
  include Aws::ClientStubs
@@ -57,6 +70,7 @@ module Aws::DirectConnect
57
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
60
74
  add_plugin(Aws::Plugins::SignatureV4)
61
75
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
62
76
 
@@ -93,7 +107,7 @@ module Aws::DirectConnect
93
107
  # @option options [required, String] :region
94
108
  # The AWS region to connect to. The configured `:region` is
95
109
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
97
111
  #
98
112
  # * `Aws.config[:region]`
99
113
  # * `ENV['AWS_REGION']`
@@ -108,6 +122,12 @@ module Aws::DirectConnect
108
122
  # When set to `true`, a thread polling for endpoints will be running in
109
123
  # the background every 60 secs (default). Defaults to `false`.
110
124
  #
125
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
126
+ # Used only in `adaptive` retry mode. When true, the request will sleep
127
+ # until there is sufficent client side capacity to retry the request.
128
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
129
+ # not retry instead of sleeping.
130
+ #
111
131
  # @option options [Boolean] :client_side_monitoring (false)
112
132
  # When `true`, client-side metrics will be collected for all API requests from
113
133
  # this client.
@@ -132,6 +152,10 @@ module Aws::DirectConnect
132
152
  # When `true`, an attempt is made to coerce request parameters into
133
153
  # the required types.
134
154
  #
155
+ # @option options [Boolean] :correct_clock_skew (true)
156
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
157
+ # a clock skew correction and retry requests with skewed client clocks.
158
+ #
135
159
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
160
  # Set to true to disable SDK automatically adding host prefix
137
161
  # to default service endpoint when available.
@@ -139,7 +163,7 @@ module Aws::DirectConnect
139
163
  # @option options [String] :endpoint
140
164
  # The client endpoint is normally constructed from the `:region`
141
165
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
143
167
  #
144
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +178,7 @@ module Aws::DirectConnect
154
178
  # requests fetching endpoints information. Defaults to 60 sec.
155
179
  #
156
180
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
182
  #
159
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
184
  # The log formatter.
@@ -166,15 +190,29 @@ module Aws::DirectConnect
166
190
  # The Logger instance to send log messages to. If this option
167
191
  # is not set, logging will be disabled.
168
192
  #
193
+ # @option options [Integer] :max_attempts (3)
194
+ # An integer representing the maximum number attempts that will be made for
195
+ # a single request, including the initial attempt. For example,
196
+ # setting this value to 5 will result in a request being retried up to
197
+ # 4 times. Used in `standard` and `adaptive` retry modes.
198
+ #
169
199
  # @option options [String] :profile ("default")
170
200
  # Used when loading credentials from the shared credentials file
171
201
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
202
  #
203
+ # @option options [Proc] :retry_backoff
204
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
205
+ # This option is only used in the `legacy` retry mode.
206
+ #
173
207
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
208
+ # The base delay in seconds used by the default backoff function. This option
209
+ # is only used in the `legacy` retry mode.
175
210
  #
176
211
  # @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.
212
+ # A delay randomiser function used by the default backoff function.
213
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
214
+ # otherwise a Proc that takes and returns a number. This option is only used
215
+ # in the `legacy` retry mode.
178
216
  #
179
217
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
218
  #
@@ -182,11 +220,30 @@ module Aws::DirectConnect
182
220
  # The maximum number of times to retry failed requests. Only
183
221
  # ~ 500 level server errors and certain ~ 400 level client errors
184
222
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
223
+ # checksum errors, networking errors, timeout errors, auth errors,
224
+ # endpoint discovery, and errors from expired credentials.
225
+ # This option is only used in the `legacy` retry mode.
187
226
  #
188
227
  # @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.
228
+ # The maximum number of seconds to delay between retries (0 for no limit)
229
+ # used by the default backoff function. This option is only used in the
230
+ # `legacy` retry mode.
231
+ #
232
+ # @option options [String] :retry_mode ("legacy")
233
+ # Specifies which retry algorithm to use. Values are:
234
+ #
235
+ # * `legacy` - The pre-existing retry behavior. This is default value if
236
+ # no retry mode is provided.
237
+ #
238
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
239
+ # This includes support for retry quotas, which limit the number of
240
+ # unsuccessful retries a client can make.
241
+ #
242
+ # * `adaptive` - An experimental retry mode that includes all the
243
+ # functionality of `standard` mode along with automatic client side
244
+ # throttling. This is a provisional mode that may change behavior
245
+ # in the future.
246
+ #
190
247
  #
191
248
  # @option options [String] :secret_access_key
192
249
  #
@@ -219,16 +276,15 @@ module Aws::DirectConnect
219
276
  # requests through. Formatted like 'http://proxy.com:123'.
220
277
  #
221
278
  # @option options [Float] :http_open_timeout (15) The number of
222
- # seconds to wait when opening a HTTP session before rasing a
279
+ # seconds to wait when opening a HTTP session before raising a
223
280
  # `Timeout::Error`.
224
281
  #
225
282
  # @option options [Integer] :http_read_timeout (60) The default
226
283
  # 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}.
284
+ # safely be set per-request on the session.
229
285
  #
230
286
  # @option options [Float] :http_idle_timeout (5) The number of
231
- # seconds a connection is allowed to sit idble before it is
287
+ # seconds a connection is allowed to sit idle before it is
232
288
  # considered stale. Stale connections are closed and removed
233
289
  # from the pool before making a request.
234
290
  #
@@ -237,7 +293,7 @@ module Aws::DirectConnect
237
293
  # request body. This option has no effect unless the request has
238
294
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
295
  # disables this behaviour. This value can safely be set per
240
- # request on the session yeidled by {#session_for}.
296
+ # request on the session.
241
297
  #
242
298
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
299
  # HTTP debug output will be sent to the `:logger`.
@@ -1912,6 +1968,15 @@ module Aws::DirectConnect
1912
1968
  # Connecting the private virtual interface to a VGW only provides access
1913
1969
  # to a single VPC within the same Region.
1914
1970
  #
1971
+ # Setting the MTU of a virtual interface to 9001 (jumbo frames) can
1972
+ # cause an update to the underlying physical connection if it wasn't
1973
+ # updated to support jumbo frames. Updating the connection disrupts
1974
+ # network connectivity for all virtual interfaces associated with the
1975
+ # connection for up to 30 seconds. To check whether your connection
1976
+ # supports jumbo frames, call DescribeConnections. To check whether your
1977
+ # virtual interface supports jumbo frames, call
1978
+ # DescribeVirtualInterfaces.
1979
+ #
1915
1980
  # @option params [required, String] :connection_id
1916
1981
  # The ID of the connection.
1917
1982
  #
@@ -2144,6 +2209,15 @@ module Aws::DirectConnect
2144
2209
  # if you use the default ASN 64512 for both your the transit gateway and
2145
2210
  # Direct Connect gateway, the association request fails.
2146
2211
  #
2212
+ # Setting the MTU of a virtual interface to 8500 (jumbo frames) can
2213
+ # cause an update to the underlying physical connection if it wasn't
2214
+ # updated to support jumbo frames. Updating the connection disrupts
2215
+ # network connectivity for all virtual interfaces associated with the
2216
+ # connection for up to 30 seconds. To check whether your connection
2217
+ # supports jumbo frames, call DescribeConnections. To check whether your
2218
+ # virtual interface supports jumbo frames, call
2219
+ # DescribeVirtualInterfaces.
2220
+ #
2147
2221
  # @option params [required, String] :connection_id
2148
2222
  # The ID of the connection.
2149
2223
  #
@@ -3558,6 +3632,173 @@ module Aws::DirectConnect
3558
3632
  req.send_request(options)
3559
3633
  end
3560
3634
 
3635
+ # Lists the virtual interface failover test history.
3636
+ #
3637
+ # @option params [String] :test_id
3638
+ # The ID of the virtual interface failover test.
3639
+ #
3640
+ # @option params [String] :virtual_interface_id
3641
+ # The ID of the virtual interface that was tested.
3642
+ #
3643
+ # @option params [Array<String>] :bgp_peers
3644
+ # The BGP peers that were placed in the DOWN state during the virtual
3645
+ # interface failover test.
3646
+ #
3647
+ # @option params [String] :status
3648
+ # The status of the virtual interface failover test.
3649
+ #
3650
+ # @option params [Integer] :max_results
3651
+ # The maximum number of results to return with a single call. To
3652
+ # retrieve the remaining results, make another call with the returned
3653
+ # `nextToken` value.
3654
+ #
3655
+ # If `MaxResults` is given a value larger than 100, only 100 results are
3656
+ # returned.
3657
+ #
3658
+ # @option params [String] :next_token
3659
+ # The token for the next page of results.
3660
+ #
3661
+ # @return [Types::ListVirtualInterfaceTestHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3662
+ #
3663
+ # * {Types::ListVirtualInterfaceTestHistoryResponse#virtual_interface_test_history #virtual_interface_test_history} => Array&lt;Types::VirtualInterfaceTestHistory&gt;
3664
+ # * {Types::ListVirtualInterfaceTestHistoryResponse#next_token #next_token} => String
3665
+ #
3666
+ # @example Request syntax with placeholder values
3667
+ #
3668
+ # resp = client.list_virtual_interface_test_history({
3669
+ # test_id: "TestId",
3670
+ # virtual_interface_id: "VirtualInterfaceId",
3671
+ # bgp_peers: ["BGPPeerId"],
3672
+ # status: "FailureTestHistoryStatus",
3673
+ # max_results: 1,
3674
+ # next_token: "PaginationToken",
3675
+ # })
3676
+ #
3677
+ # @example Response structure
3678
+ #
3679
+ # resp.virtual_interface_test_history #=> Array
3680
+ # resp.virtual_interface_test_history[0].test_id #=> String
3681
+ # resp.virtual_interface_test_history[0].virtual_interface_id #=> String
3682
+ # resp.virtual_interface_test_history[0].bgp_peers #=> Array
3683
+ # resp.virtual_interface_test_history[0].bgp_peers[0] #=> String
3684
+ # resp.virtual_interface_test_history[0].status #=> String
3685
+ # resp.virtual_interface_test_history[0].owner_account #=> String
3686
+ # resp.virtual_interface_test_history[0].test_duration_in_minutes #=> Integer
3687
+ # resp.virtual_interface_test_history[0].start_time #=> Time
3688
+ # resp.virtual_interface_test_history[0].end_time #=> Time
3689
+ # resp.next_token #=> String
3690
+ #
3691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ListVirtualInterfaceTestHistory AWS API Documentation
3692
+ #
3693
+ # @overload list_virtual_interface_test_history(params = {})
3694
+ # @param [Hash] params ({})
3695
+ def list_virtual_interface_test_history(params = {}, options = {})
3696
+ req = build_request(:list_virtual_interface_test_history, params)
3697
+ req.send_request(options)
3698
+ end
3699
+
3700
+ # Starts the virtual interface failover test that verifies your
3701
+ # configuration meets your resiliency requirements by placing the BGP
3702
+ # peering session in the DOWN state. You can then send traffic to verify
3703
+ # that there are no outages.
3704
+ #
3705
+ # You can run the test on public, private, transit, and hosted virtual
3706
+ # interfaces.
3707
+ #
3708
+ # You can use [ListVirtualInterfaceTestHistory][1] to view the virtual
3709
+ # interface test history.
3710
+ #
3711
+ # If you need to stop the test before the test interval completes, use
3712
+ # [StopBgpFailoverTest][2].
3713
+ #
3714
+ #
3715
+ #
3716
+ # [1]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_ListVirtualInterfaceTestHistory.html
3717
+ # [2]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_StopBgpFailoverTest.html
3718
+ #
3719
+ # @option params [required, String] :virtual_interface_id
3720
+ # The ID of the virtual interface you want to test.
3721
+ #
3722
+ # @option params [Array<String>] :bgp_peers
3723
+ # The BGP peers to place in the DOWN state.
3724
+ #
3725
+ # @option params [Integer] :test_duration_in_minutes
3726
+ # The time in minutes that the virtual interface failover test will
3727
+ # last.
3728
+ #
3729
+ # Maximum value: 180 minutes (3 hours).
3730
+ #
3731
+ # Default: 180 minutes (3 hours).
3732
+ #
3733
+ # @return [Types::StartBgpFailoverTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3734
+ #
3735
+ # * {Types::StartBgpFailoverTestResponse#virtual_interface_test #virtual_interface_test} => Types::VirtualInterfaceTestHistory
3736
+ #
3737
+ # @example Request syntax with placeholder values
3738
+ #
3739
+ # resp = client.start_bgp_failover_test({
3740
+ # virtual_interface_id: "VirtualInterfaceId", # required
3741
+ # bgp_peers: ["BGPPeerId"],
3742
+ # test_duration_in_minutes: 1,
3743
+ # })
3744
+ #
3745
+ # @example Response structure
3746
+ #
3747
+ # resp.virtual_interface_test.test_id #=> String
3748
+ # resp.virtual_interface_test.virtual_interface_id #=> String
3749
+ # resp.virtual_interface_test.bgp_peers #=> Array
3750
+ # resp.virtual_interface_test.bgp_peers[0] #=> String
3751
+ # resp.virtual_interface_test.status #=> String
3752
+ # resp.virtual_interface_test.owner_account #=> String
3753
+ # resp.virtual_interface_test.test_duration_in_minutes #=> Integer
3754
+ # resp.virtual_interface_test.start_time #=> Time
3755
+ # resp.virtual_interface_test.end_time #=> Time
3756
+ #
3757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StartBgpFailoverTest AWS API Documentation
3758
+ #
3759
+ # @overload start_bgp_failover_test(params = {})
3760
+ # @param [Hash] params ({})
3761
+ def start_bgp_failover_test(params = {}, options = {})
3762
+ req = build_request(:start_bgp_failover_test, params)
3763
+ req.send_request(options)
3764
+ end
3765
+
3766
+ # Stops the virtual interface failover test.
3767
+ #
3768
+ # @option params [required, String] :virtual_interface_id
3769
+ # The ID of the virtual interface you no longer want to test.
3770
+ #
3771
+ # @return [Types::StopBgpFailoverTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3772
+ #
3773
+ # * {Types::StopBgpFailoverTestResponse#virtual_interface_test #virtual_interface_test} => Types::VirtualInterfaceTestHistory
3774
+ #
3775
+ # @example Request syntax with placeholder values
3776
+ #
3777
+ # resp = client.stop_bgp_failover_test({
3778
+ # virtual_interface_id: "VirtualInterfaceId", # required
3779
+ # })
3780
+ #
3781
+ # @example Response structure
3782
+ #
3783
+ # resp.virtual_interface_test.test_id #=> String
3784
+ # resp.virtual_interface_test.virtual_interface_id #=> String
3785
+ # resp.virtual_interface_test.bgp_peers #=> Array
3786
+ # resp.virtual_interface_test.bgp_peers[0] #=> String
3787
+ # resp.virtual_interface_test.status #=> String
3788
+ # resp.virtual_interface_test.owner_account #=> String
3789
+ # resp.virtual_interface_test.test_duration_in_minutes #=> Integer
3790
+ # resp.virtual_interface_test.start_time #=> Time
3791
+ # resp.virtual_interface_test.end_time #=> Time
3792
+ #
3793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StopBgpFailoverTest AWS API Documentation
3794
+ #
3795
+ # @overload stop_bgp_failover_test(params = {})
3796
+ # @param [Hash] params ({})
3797
+ def stop_bgp_failover_test(params = {}, options = {})
3798
+ req = build_request(:stop_bgp_failover_test, params)
3799
+ req.send_request(options)
3800
+ end
3801
+
3561
3802
  # Adds the specified tags to the specified AWS Direct Connect resource.
3562
3803
  # Each resource can have a maximum of 50 tags.
3563
3804
  #
@@ -3796,7 +4037,7 @@ module Aws::DirectConnect
3796
4037
  # network connectivity for all virtual interfaces associated with the
3797
4038
  # connection for up to 30 seconds. To check whether your connection
3798
4039
  # supports jumbo frames, call DescribeConnections. To check whether your
3799
- # virtual interface supports jumbo frames, call
4040
+ # virtual q interface supports jumbo frames, call
3800
4041
  # DescribeVirtualInterfaces.
3801
4042
  #
3802
4043
  # @option params [required, String] :virtual_interface_id
@@ -3901,7 +4142,7 @@ module Aws::DirectConnect
3901
4142
  params: params,
3902
4143
  config: config)
3903
4144
  context[:gem_name] = 'aws-sdk-directconnect'
3904
- context[:gem_version] = '1.26.0'
4145
+ context[:gem_version] = '1.31.1'
3905
4146
  Seahorse::Client::Request.new(handlers, context)
3906
4147
  end
3907
4148
 
@@ -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.26.0
4
+ version: 1.31.1
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-23 00:00:00.000000000 Z
11
+ date: 2020-06-11 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.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