aws-sdk-directconnect 1.24.0 → 1.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5684dee19e2f53acec3d1db311d36afbc354bd3d
4
- data.tar.gz: b996d66cadce3b4ff79a5ea69a4ba86cbda6ac6e
2
+ SHA256:
3
+ metadata.gz: 382a79228e7ed3f6885f2a61bf97f2b837e0d6a6cf77b9612b77981e54b41fae
4
+ data.tar.gz: 7d2bafec30bfe71f62a4f80edfebe055b0d5d567dd9f3a16c20349415334041c
5
5
  SHA512:
6
- metadata.gz: f9cea0029ccd37198e2472656497845856a218cc57be12d56e4b7c380c213d2b07da6d71555f2e771c894c40675254e928f30fd874d5da37a63faf1b0154e568
7
- data.tar.gz: 744f412926ad4ff06dd7f0985d852d260045dd3012af7e4556278babe16d7d7cd48ecd8e2aa36dbfa6155c63d6e0334ad4c9519cdcd87e41a044d96d403e1397
6
+ metadata.gz: d973b7f004de89f4f4a61d05fc3499bd7bc614536a4efd15abe2d09f9ef3f963c4a76012ba0a4993f8e9511d39df7d5e8ce6ee27d959f39d5677db6590b9baa1
7
+ data.tar.gz: b204dae9b87fcfa2e2845b924b02b46284b7e9a20d82d20d9c8f9152a8d8d06d959d811cae60f6a1b3ac1e1c99a1a7b865f9865c0186d6a7b3a6344a60a4989c
@@ -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.24.0'
48
+ GEM_VERSION = '1.29.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`.
@@ -381,6 +435,7 @@ module Aws::DirectConnect
381
435
  # * {Types::Connection#aws_device_v2 #aws_device_v2} => String
382
436
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
383
437
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
438
+ # * {Types::Connection#provider_name #provider_name} => String
384
439
  #
385
440
  # @example Request syntax with placeholder values
386
441
  #
@@ -412,6 +467,7 @@ module Aws::DirectConnect
412
467
  # resp.tags #=> Array
413
468
  # resp.tags[0].key #=> String
414
469
  # resp.tags[0].value #=> String
470
+ # resp.provider_name #=> String
415
471
  #
416
472
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect AWS API Documentation
417
473
  #
@@ -455,7 +511,7 @@ module Aws::DirectConnect
455
511
  # The dedicated VLAN provisioned to the hosted connection.
456
512
  #
457
513
  # @option params [Array<Types::Tag>] :tags
458
- # The tags to assign to the hosted connection.
514
+ # The tags associated with the connection.
459
515
  #
460
516
  # @return [Types::Connection] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
461
517
  #
@@ -475,6 +531,7 @@ module Aws::DirectConnect
475
531
  # * {Types::Connection#aws_device_v2 #aws_device_v2} => String
476
532
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
477
533
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
534
+ # * {Types::Connection#provider_name #provider_name} => String
478
535
  #
479
536
  # @example Request syntax with placeholder values
480
537
  #
@@ -512,6 +569,7 @@ module Aws::DirectConnect
512
569
  # resp.tags #=> Array
513
570
  # resp.tags[0].key #=> String
514
571
  # resp.tags[0].value #=> String
572
+ # resp.provider_name #=> String
515
573
  #
516
574
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection AWS API Documentation
517
575
  #
@@ -907,6 +965,7 @@ module Aws::DirectConnect
907
965
  # * {Types::Connection#aws_device_v2 #aws_device_v2} => String
908
966
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
909
967
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
968
+ # * {Types::Connection#provider_name #provider_name} => String
910
969
  #
911
970
  # @example Request syntax with placeholder values
912
971
  #
@@ -935,6 +994,7 @@ module Aws::DirectConnect
935
994
  # resp.tags #=> Array
936
995
  # resp.tags[0].key #=> String
937
996
  # resp.tags[0].value #=> String
997
+ # resp.provider_name #=> String
938
998
  #
939
999
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag AWS API Documentation
940
1000
  #
@@ -979,6 +1039,7 @@ module Aws::DirectConnect
979
1039
  # * {Types::Connection#aws_device_v2 #aws_device_v2} => String
980
1040
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
981
1041
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
1042
+ # * {Types::Connection#provider_name #provider_name} => String
982
1043
  #
983
1044
  # @example Request syntax with placeholder values
984
1045
  #
@@ -1007,6 +1068,7 @@ module Aws::DirectConnect
1007
1068
  # resp.tags #=> Array
1008
1069
  # resp.tags[0].key #=> String
1009
1070
  # resp.tags[0].value #=> String
1071
+ # resp.provider_name #=> String
1010
1072
  #
1011
1073
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection AWS API Documentation
1012
1074
  #
@@ -1382,7 +1444,11 @@ module Aws::DirectConnect
1382
1444
  # The ID of the LAG.
1383
1445
  #
1384
1446
  # @option params [Array<Types::Tag>] :tags
1385
- # The tags to assign to the connection.
1447
+ # The tags to associate with the lag.
1448
+ #
1449
+ # @option params [String] :provider_name
1450
+ # The name of the service provider associated with the requested
1451
+ # connection.
1386
1452
  #
1387
1453
  # @return [Types::Connection] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1388
1454
  #
@@ -1402,6 +1468,7 @@ module Aws::DirectConnect
1402
1468
  # * {Types::Connection#aws_device_v2 #aws_device_v2} => String
1403
1469
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
1404
1470
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
1471
+ # * {Types::Connection#provider_name #provider_name} => String
1405
1472
  #
1406
1473
  # @example Request syntax with placeholder values
1407
1474
  #
@@ -1416,6 +1483,7 @@ module Aws::DirectConnect
1416
1483
  # value: "TagValue",
1417
1484
  # },
1418
1485
  # ],
1486
+ # provider_name: "ProviderName",
1419
1487
  # })
1420
1488
  #
1421
1489
  # @example Response structure
@@ -1438,6 +1506,7 @@ module Aws::DirectConnect
1438
1506
  # resp.tags #=> Array
1439
1507
  # resp.tags[0].key #=> String
1440
1508
  # resp.tags[0].value #=> String
1509
+ # resp.provider_name #=> String
1441
1510
  #
1442
1511
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection AWS API Documentation
1443
1512
  #
@@ -1508,6 +1577,9 @@ module Aws::DirectConnect
1508
1577
  # @option params [Array<Types::RouteFilterPrefix>] :add_allowed_prefixes_to_direct_connect_gateway
1509
1578
  # The Amazon VPC prefixes to advertise to the Direct Connect gateway
1510
1579
  #
1580
+ # This parameter is required when you create an association to a transit
1581
+ # gateway.
1582
+ #
1511
1583
  # For information about how to set the prefixes, see [Allowed
1512
1584
  # Prefixes][1] in the *AWS Direct Connect User Guide*.
1513
1585
  #
@@ -1672,7 +1744,10 @@ module Aws::DirectConnect
1672
1744
  # The ID of the LAG.
1673
1745
  #
1674
1746
  # @option params [Array<Types::Tag>] :tags
1675
- # The tags to assign to the interconnect,
1747
+ # The tags to associate with the interconnect.
1748
+ #
1749
+ # @option params [String] :provider_name
1750
+ # The name of the service provider associated with the interconnect.
1676
1751
  #
1677
1752
  # @return [Types::Interconnect] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1678
1753
  #
@@ -1689,6 +1764,7 @@ module Aws::DirectConnect
1689
1764
  # * {Types::Interconnect#aws_device_v2 #aws_device_v2} => String
1690
1765
  # * {Types::Interconnect#has_logical_redundancy #has_logical_redundancy} => String
1691
1766
  # * {Types::Interconnect#tags #tags} => Array&lt;Types::Tag&gt;
1767
+ # * {Types::Interconnect#provider_name #provider_name} => String
1692
1768
  #
1693
1769
  # @example Request syntax with placeholder values
1694
1770
  #
@@ -1703,6 +1779,7 @@ module Aws::DirectConnect
1703
1779
  # value: "TagValue",
1704
1780
  # },
1705
1781
  # ],
1782
+ # provider_name: "ProviderName",
1706
1783
  # })
1707
1784
  #
1708
1785
  # @example Response structure
@@ -1722,6 +1799,7 @@ module Aws::DirectConnect
1722
1799
  # resp.tags #=> Array
1723
1800
  # resp.tags[0].key #=> String
1724
1801
  # resp.tags[0].value #=> String
1802
+ # resp.provider_name #=> String
1725
1803
  #
1726
1804
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect AWS API Documentation
1727
1805
  #
@@ -1778,14 +1856,13 @@ module Aws::DirectConnect
1778
1856
  # The ID of an existing connection to migrate to the LAG.
1779
1857
  #
1780
1858
  # @option params [Array<Types::Tag>] :tags
1781
- # The tags to assign to the link aggregation group (LAG).
1859
+ # The tags to associate with the LAG.
1782
1860
  #
1783
1861
  # @option params [Array<Types::Tag>] :child_connection_tags
1784
- # The tags to assign to the child connections of the LAG. Only newly
1785
- # created child connections as the result of creating a LAG connection
1786
- # are assigned the provided tags. The tags are not assigned to an
1787
- # existing connection that is provided via the “connectionId” parameter
1788
- # that will be migrated to the LAG.
1862
+ # The tags to associate with the automtically created LAGs.
1863
+ #
1864
+ # @option params [String] :provider_name
1865
+ # The name of the service provider associated with the LAG.
1789
1866
  #
1790
1867
  # @return [Types::Lag] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1791
1868
  #
@@ -1805,6 +1882,7 @@ module Aws::DirectConnect
1805
1882
  # * {Types::Lag#jumbo_frame_capable #jumbo_frame_capable} => Boolean
1806
1883
  # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
1807
1884
  # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt;
1885
+ # * {Types::Lag#provider_name #provider_name} => String
1808
1886
  #
1809
1887
  # @example Request syntax with placeholder values
1810
1888
  #
@@ -1826,6 +1904,7 @@ module Aws::DirectConnect
1826
1904
  # value: "TagValue",
1827
1905
  # },
1828
1906
  # ],
1907
+ # provider_name: "ProviderName",
1829
1908
  # })
1830
1909
  #
1831
1910
  # @example Response structure
@@ -1860,12 +1939,14 @@ module Aws::DirectConnect
1860
1939
  # resp.connections[0].tags #=> Array
1861
1940
  # resp.connections[0].tags[0].key #=> String
1862
1941
  # resp.connections[0].tags[0].value #=> String
1942
+ # resp.connections[0].provider_name #=> String
1863
1943
  # resp.allows_hosted_connections #=> Boolean
1864
1944
  # resp.jumbo_frame_capable #=> Boolean
1865
1945
  # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
1866
1946
  # resp.tags #=> Array
1867
1947
  # resp.tags[0].key #=> String
1868
1948
  # resp.tags[0].value #=> String
1949
+ # resp.provider_name #=> String
1869
1950
  #
1870
1951
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag AWS API Documentation
1871
1952
  #
@@ -2305,6 +2386,7 @@ module Aws::DirectConnect
2305
2386
  # * {Types::Connection#aws_device_v2 #aws_device_v2} => String
2306
2387
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
2307
2388
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
2389
+ # * {Types::Connection#provider_name #provider_name} => String
2308
2390
  #
2309
2391
  # @example Request syntax with placeholder values
2310
2392
  #
@@ -2332,6 +2414,7 @@ module Aws::DirectConnect
2332
2414
  # resp.tags #=> Array
2333
2415
  # resp.tags[0].key #=> String
2334
2416
  # resp.tags[0].value #=> String
2417
+ # resp.provider_name #=> String
2335
2418
  #
2336
2419
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection AWS API Documentation
2337
2420
  #
@@ -2344,8 +2427,8 @@ module Aws::DirectConnect
2344
2427
 
2345
2428
  # Deletes the specified Direct Connect gateway. You must first delete
2346
2429
  # all virtual interfaces that are attached to the Direct Connect gateway
2347
- # and disassociate all virtual private gateways that are associated with
2348
- # the Direct Connect gateway.
2430
+ # and disassociate all virtual private gateways associated with the
2431
+ # Direct Connect gateway.
2349
2432
  #
2350
2433
  # @option params [required, String] :direct_connect_gateway_id
2351
2434
  # The ID of the Direct Connect gateway.
@@ -2381,6 +2464,11 @@ module Aws::DirectConnect
2381
2464
  # Deletes the association between the specified Direct Connect gateway
2382
2465
  # and virtual private gateway.
2383
2466
  #
2467
+ # We recommend that you specify the `associationID` to delete the
2468
+ # association. Alternatively, if you own virtual gateway and a Direct
2469
+ # Connect gateway association, you can specify the `virtualGatewayId`
2470
+ # and `directConnectGatewayId` to delete an association.
2471
+ #
2384
2472
  # @option params [String] :association_id
2385
2473
  # The ID of the Direct Connect gateway association.
2386
2474
  #
@@ -2524,6 +2612,7 @@ module Aws::DirectConnect
2524
2612
  # * {Types::Lag#jumbo_frame_capable #jumbo_frame_capable} => Boolean
2525
2613
  # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
2526
2614
  # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt;
2615
+ # * {Types::Lag#provider_name #provider_name} => String
2527
2616
  #
2528
2617
  # @example Request syntax with placeholder values
2529
2618
  #
@@ -2563,12 +2652,14 @@ module Aws::DirectConnect
2563
2652
  # resp.connections[0].tags #=> Array
2564
2653
  # resp.connections[0].tags[0].key #=> String
2565
2654
  # resp.connections[0].tags[0].value #=> String
2655
+ # resp.connections[0].provider_name #=> String
2566
2656
  # resp.allows_hosted_connections #=> Boolean
2567
2657
  # resp.jumbo_frame_capable #=> Boolean
2568
2658
  # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
2569
2659
  # resp.tags #=> Array
2570
2660
  # resp.tags[0].key #=> String
2571
2661
  # resp.tags[0].value #=> String
2662
+ # resp.provider_name #=> String
2572
2663
  #
2573
2664
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag AWS API Documentation
2574
2665
  #
@@ -2696,6 +2787,7 @@ module Aws::DirectConnect
2696
2787
  # resp.connections[0].tags #=> Array
2697
2788
  # resp.connections[0].tags[0].key #=> String
2698
2789
  # resp.connections[0].tags[0].value #=> String
2790
+ # resp.connections[0].provider_name #=> String
2699
2791
  #
2700
2792
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections AWS API Documentation
2701
2793
  #
@@ -2749,6 +2841,7 @@ module Aws::DirectConnect
2749
2841
  # resp.connections[0].tags #=> Array
2750
2842
  # resp.connections[0].tags[0].key #=> String
2751
2843
  # resp.connections[0].tags[0].value #=> String
2844
+ # resp.connections[0].provider_name #=> String
2752
2845
  #
2753
2846
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect AWS API Documentation
2754
2847
  #
@@ -3053,6 +3146,7 @@ module Aws::DirectConnect
3053
3146
  # resp.connections[0].tags #=> Array
3054
3147
  # resp.connections[0].tags[0].key #=> String
3055
3148
  # resp.connections[0].tags[0].value #=> String
3149
+ # resp.connections[0].provider_name #=> String
3056
3150
  #
3057
3151
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections AWS API Documentation
3058
3152
  #
@@ -3150,6 +3244,7 @@ module Aws::DirectConnect
3150
3244
  # resp.interconnects[0].tags #=> Array
3151
3245
  # resp.interconnects[0].tags[0].key #=> String
3152
3246
  # resp.interconnects[0].tags[0].value #=> String
3247
+ # resp.interconnects[0].provider_name #=> String
3153
3248
  #
3154
3249
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects AWS API Documentation
3155
3250
  #
@@ -3208,12 +3303,14 @@ module Aws::DirectConnect
3208
3303
  # resp.lags[0].connections[0].tags #=> Array
3209
3304
  # resp.lags[0].connections[0].tags[0].key #=> String
3210
3305
  # resp.lags[0].connections[0].tags[0].value #=> String
3306
+ # resp.lags[0].connections[0].provider_name #=> String
3211
3307
  # resp.lags[0].allows_hosted_connections #=> Boolean
3212
3308
  # resp.lags[0].jumbo_frame_capable #=> Boolean
3213
3309
  # resp.lags[0].has_logical_redundancy #=> String, one of "unknown", "yes", "no"
3214
3310
  # resp.lags[0].tags #=> Array
3215
3311
  # resp.lags[0].tags[0].key #=> String
3216
3312
  # resp.lags[0].tags[0].value #=> String
3313
+ # resp.lags[0].provider_name #=> String
3217
3314
  #
3218
3315
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags AWS API Documentation
3219
3316
  #
@@ -3293,6 +3390,8 @@ module Aws::DirectConnect
3293
3390
  # resp.locations[0].region #=> String
3294
3391
  # resp.locations[0].available_port_speeds #=> Array
3295
3392
  # resp.locations[0].available_port_speeds[0] #=> String
3393
+ # resp.locations[0].available_providers #=> Array
3394
+ # resp.locations[0].available_providers[0] #=> String
3296
3395
  #
3297
3396
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations AWS API Documentation
3298
3397
  #
@@ -3473,6 +3572,7 @@ module Aws::DirectConnect
3473
3572
  # * {Types::Connection#aws_device_v2 #aws_device_v2} => String
3474
3573
  # * {Types::Connection#has_logical_redundancy #has_logical_redundancy} => String
3475
3574
  # * {Types::Connection#tags #tags} => Array&lt;Types::Tag&gt;
3575
+ # * {Types::Connection#provider_name #provider_name} => String
3476
3576
  #
3477
3577
  # @example Request syntax with placeholder values
3478
3578
  #
@@ -3501,6 +3601,7 @@ module Aws::DirectConnect
3501
3601
  # resp.tags #=> Array
3502
3602
  # resp.tags[0].key #=> String
3503
3603
  # resp.tags[0].value #=> String
3604
+ # resp.provider_name #=> String
3504
3605
  #
3505
3606
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag AWS API Documentation
3506
3607
  #
@@ -3522,7 +3623,7 @@ module Aws::DirectConnect
3522
3623
  # The Amazon Resource Name (ARN) of the resource.
3523
3624
  #
3524
3625
  # @option params [required, Array<Types::Tag>] :tags
3525
- # The tags to assign.
3626
+ # The tags to add.
3526
3627
  #
3527
3628
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3528
3629
  #
@@ -3680,6 +3781,7 @@ module Aws::DirectConnect
3680
3781
  # * {Types::Lag#jumbo_frame_capable #jumbo_frame_capable} => Boolean
3681
3782
  # * {Types::Lag#has_logical_redundancy #has_logical_redundancy} => String
3682
3783
  # * {Types::Lag#tags #tags} => Array&lt;Types::Tag&gt;
3784
+ # * {Types::Lag#provider_name #provider_name} => String
3683
3785
  #
3684
3786
  # @example Request syntax with placeholder values
3685
3787
  #
@@ -3721,12 +3823,14 @@ module Aws::DirectConnect
3721
3823
  # resp.connections[0].tags #=> Array
3722
3824
  # resp.connections[0].tags[0].key #=> String
3723
3825
  # resp.connections[0].tags[0].value #=> String
3826
+ # resp.connections[0].provider_name #=> String
3724
3827
  # resp.allows_hosted_connections #=> Boolean
3725
3828
  # resp.jumbo_frame_capable #=> Boolean
3726
3829
  # resp.has_logical_redundancy #=> String, one of "unknown", "yes", "no"
3727
3830
  # resp.tags #=> Array
3728
3831
  # resp.tags[0].key #=> String
3729
3832
  # resp.tags[0].value #=> String
3833
+ # resp.provider_name #=> String
3730
3834
  #
3731
3835
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag AWS API Documentation
3732
3836
  #
@@ -3851,7 +3955,7 @@ module Aws::DirectConnect
3851
3955
  params: params,
3852
3956
  config: config)
3853
3957
  context[:gem_name] = 'aws-sdk-directconnect'
3854
- context[:gem_version] = '1.24.0'
3958
+ context[:gem_version] = '1.29.0'
3855
3959
  Seahorse::Client::Request.new(handlers, context)
3856
3960
  end
3857
3961
 
@@ -167,6 +167,7 @@ module Aws::DirectConnect
167
167
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
168
168
  PartnerName = Shapes::StringShape.new(name: 'PartnerName')
169
169
  PortSpeed = Shapes::StringShape.new(name: 'PortSpeed')
170
+ ProviderList = Shapes::ListShape.new(name: 'ProviderList')
170
171
  ProviderName = Shapes::StringShape.new(name: 'ProviderName')
171
172
  Region = Shapes::StringShape.new(name: 'Region')
172
173
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
@@ -289,7 +290,7 @@ module Aws::DirectConnect
289
290
  ConfirmConnectionResponse.struct_class = Types::ConfirmConnectionResponse
290
291
 
291
292
  ConfirmPrivateVirtualInterfaceRequest.add_member(:virtual_interface_id, Shapes::ShapeRef.new(shape: VirtualInterfaceId, required: true, location_name: "virtualInterfaceId"))
292
- ConfirmPrivateVirtualInterfaceRequest.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, deprecated: true, location_name: "virtualGatewayId"))
293
+ ConfirmPrivateVirtualInterfaceRequest.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
293
294
  ConfirmPrivateVirtualInterfaceRequest.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, location_name: "directConnectGatewayId"))
294
295
  ConfirmPrivateVirtualInterfaceRequest.struct_class = Types::ConfirmPrivateVirtualInterfaceRequest
295
296
 
@@ -325,6 +326,7 @@ module Aws::DirectConnect
325
326
  Connection.add_member(:aws_device_v2, Shapes::ShapeRef.new(shape: AwsDeviceV2, location_name: "awsDeviceV2"))
326
327
  Connection.add_member(:has_logical_redundancy, Shapes::ShapeRef.new(shape: HasLogicalRedundancy, location_name: "hasLogicalRedundancy"))
327
328
  Connection.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
329
+ Connection.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderName, location_name: "providerName"))
328
330
  Connection.struct_class = Types::Connection
329
331
 
330
332
  ConnectionList.member = Shapes::ShapeRef.new(shape: Connection)
@@ -344,6 +346,7 @@ module Aws::DirectConnect
344
346
  CreateConnectionRequest.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "connectionName"))
345
347
  CreateConnectionRequest.add_member(:lag_id, Shapes::ShapeRef.new(shape: LagId, location_name: "lagId"))
346
348
  CreateConnectionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
349
+ CreateConnectionRequest.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderName, location_name: "providerName"))
347
350
  CreateConnectionRequest.struct_class = Types::CreateConnectionRequest
348
351
 
349
352
  CreateDirectConnectGatewayAssociationProposalRequest.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, required: true, location_name: "directConnectGatewayId"))
@@ -359,7 +362,7 @@ module Aws::DirectConnect
359
362
  CreateDirectConnectGatewayAssociationRequest.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, required: true, location_name: "directConnectGatewayId"))
360
363
  CreateDirectConnectGatewayAssociationRequest.add_member(:gateway_id, Shapes::ShapeRef.new(shape: GatewayIdToAssociate, location_name: "gatewayId"))
361
364
  CreateDirectConnectGatewayAssociationRequest.add_member(:add_allowed_prefixes_to_direct_connect_gateway, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, location_name: "addAllowedPrefixesToDirectConnectGateway"))
362
- CreateDirectConnectGatewayAssociationRequest.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, deprecated: true, location_name: "virtualGatewayId"))
365
+ CreateDirectConnectGatewayAssociationRequest.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
363
366
  CreateDirectConnectGatewayAssociationRequest.struct_class = Types::CreateDirectConnectGatewayAssociationRequest
364
367
 
365
368
  CreateDirectConnectGatewayAssociationResult.add_member(:direct_connect_gateway_association, Shapes::ShapeRef.new(shape: DirectConnectGatewayAssociation, location_name: "directConnectGatewayAssociation"))
@@ -377,6 +380,7 @@ module Aws::DirectConnect
377
380
  CreateInterconnectRequest.add_member(:location, Shapes::ShapeRef.new(shape: LocationCode, required: true, location_name: "location"))
378
381
  CreateInterconnectRequest.add_member(:lag_id, Shapes::ShapeRef.new(shape: LagId, location_name: "lagId"))
379
382
  CreateInterconnectRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
383
+ CreateInterconnectRequest.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderName, location_name: "providerName"))
380
384
  CreateInterconnectRequest.struct_class = Types::CreateInterconnectRequest
381
385
 
382
386
  CreateLagRequest.add_member(:number_of_connections, Shapes::ShapeRef.new(shape: Count, required: true, location_name: "numberOfConnections"))
@@ -386,6 +390,7 @@ module Aws::DirectConnect
386
390
  CreateLagRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "connectionId"))
387
391
  CreateLagRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
388
392
  CreateLagRequest.add_member(:child_connection_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "childConnectionTags"))
393
+ CreateLagRequest.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderName, location_name: "providerName"))
389
394
  CreateLagRequest.struct_class = Types::CreateLagRequest
390
395
 
391
396
  CreatePrivateVirtualInterfaceRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location_name: "connectionId"))
@@ -423,7 +428,7 @@ module Aws::DirectConnect
423
428
 
424
429
  DeleteDirectConnectGatewayAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayAssociationId, location_name: "associationId"))
425
430
  DeleteDirectConnectGatewayAssociationRequest.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, location_name: "directConnectGatewayId"))
426
- DeleteDirectConnectGatewayAssociationRequest.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, deprecated: true, location_name: "virtualGatewayId"))
431
+ DeleteDirectConnectGatewayAssociationRequest.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
427
432
  DeleteDirectConnectGatewayAssociationRequest.struct_class = Types::DeleteDirectConnectGatewayAssociationRequest
428
433
 
429
434
  DeleteDirectConnectGatewayAssociationResult.add_member(:direct_connect_gateway_association, Shapes::ShapeRef.new(shape: DirectConnectGatewayAssociation, location_name: "directConnectGatewayAssociation"))
@@ -480,7 +485,7 @@ module Aws::DirectConnect
480
485
  DescribeDirectConnectGatewayAssociationsRequest.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, location_name: "directConnectGatewayId"))
481
486
  DescribeDirectConnectGatewayAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultSetSize, location_name: "maxResults"))
482
487
  DescribeDirectConnectGatewayAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
483
- DescribeDirectConnectGatewayAssociationsRequest.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, deprecated: true, location_name: "virtualGatewayId"))
488
+ DescribeDirectConnectGatewayAssociationsRequest.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
484
489
  DescribeDirectConnectGatewayAssociationsRequest.struct_class = Types::DescribeDirectConnectGatewayAssociationsRequest
485
490
 
486
491
  DescribeDirectConnectGatewayAssociationsResult.add_member(:direct_connect_gateway_associations, Shapes::ShapeRef.new(shape: DirectConnectGatewayAssociationList, location_name: "directConnectGatewayAssociations"))
@@ -556,7 +561,7 @@ module Aws::DirectConnect
556
561
  DirectConnectGatewayAssociation.add_member(:associated_gateway, Shapes::ShapeRef.new(shape: AssociatedGateway, location_name: "associatedGateway"))
557
562
  DirectConnectGatewayAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayAssociationId, location_name: "associationId"))
558
563
  DirectConnectGatewayAssociation.add_member(:allowed_prefixes_to_direct_connect_gateway, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, location_name: "allowedPrefixesToDirectConnectGateway"))
559
- DirectConnectGatewayAssociation.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, deprecated: true, location_name: "virtualGatewayId"))
564
+ DirectConnectGatewayAssociation.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
560
565
  DirectConnectGatewayAssociation.add_member(:virtual_gateway_region, Shapes::ShapeRef.new(shape: VirtualGatewayRegion, deprecated: true, location_name: "virtualGatewayRegion"))
561
566
  DirectConnectGatewayAssociation.add_member(:virtual_gateway_owner_account, Shapes::ShapeRef.new(shape: OwnerAccount, location_name: "virtualGatewayOwnerAccount"))
562
567
  DirectConnectGatewayAssociation.struct_class = Types::DirectConnectGatewayAssociation
@@ -594,6 +599,8 @@ module Aws::DirectConnect
594
599
  DisassociateConnectionFromLagRequest.add_member(:lag_id, Shapes::ShapeRef.new(shape: LagId, required: true, location_name: "lagId"))
595
600
  DisassociateConnectionFromLagRequest.struct_class = Types::DisassociateConnectionFromLagRequest
596
601
 
602
+ DuplicateTagKeysException.struct_class = Types::DuplicateTagKeysException
603
+
597
604
  Interconnect.add_member(:interconnect_id, Shapes::ShapeRef.new(shape: InterconnectId, location_name: "interconnectId"))
598
605
  Interconnect.add_member(:interconnect_name, Shapes::ShapeRef.new(shape: InterconnectName, location_name: "interconnectName"))
599
606
  Interconnect.add_member(:interconnect_state, Shapes::ShapeRef.new(shape: InterconnectState, location_name: "interconnectState"))
@@ -607,6 +614,7 @@ module Aws::DirectConnect
607
614
  Interconnect.add_member(:aws_device_v2, Shapes::ShapeRef.new(shape: AwsDeviceV2, location_name: "awsDeviceV2"))
608
615
  Interconnect.add_member(:has_logical_redundancy, Shapes::ShapeRef.new(shape: HasLogicalRedundancy, location_name: "hasLogicalRedundancy"))
609
616
  Interconnect.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
617
+ Interconnect.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderName, location_name: "providerName"))
610
618
  Interconnect.struct_class = Types::Interconnect
611
619
 
612
620
  InterconnectList.member = Shapes::ShapeRef.new(shape: Interconnect)
@@ -630,6 +638,7 @@ module Aws::DirectConnect
630
638
  Lag.add_member(:jumbo_frame_capable, Shapes::ShapeRef.new(shape: JumboFrameCapable, location_name: "jumboFrameCapable"))
631
639
  Lag.add_member(:has_logical_redundancy, Shapes::ShapeRef.new(shape: HasLogicalRedundancy, location_name: "hasLogicalRedundancy"))
632
640
  Lag.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
641
+ Lag.add_member(:provider_name, Shapes::ShapeRef.new(shape: ProviderName, location_name: "providerName"))
633
642
  Lag.struct_class = Types::Lag
634
643
 
635
644
  LagList.member = Shapes::ShapeRef.new(shape: Lag)
@@ -645,6 +654,7 @@ module Aws::DirectConnect
645
654
  Location.add_member(:location_name, Shapes::ShapeRef.new(shape: LocationName, location_name: "locationName"))
646
655
  Location.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "region"))
647
656
  Location.add_member(:available_port_speeds, Shapes::ShapeRef.new(shape: AvailablePortSpeeds, location_name: "availablePortSpeeds"))
657
+ Location.add_member(:available_providers, Shapes::ShapeRef.new(shape: ProviderList, location_name: "availableProviders"))
648
658
  Location.struct_class = Types::Location
649
659
 
650
660
  LocationList.member = Shapes::ShapeRef.new(shape: Location)
@@ -667,7 +677,7 @@ module Aws::DirectConnect
667
677
  NewPrivateVirtualInterface.add_member(:amazon_address, Shapes::ShapeRef.new(shape: AmazonAddress, location_name: "amazonAddress"))
668
678
  NewPrivateVirtualInterface.add_member(:customer_address, Shapes::ShapeRef.new(shape: CustomerAddress, location_name: "customerAddress"))
669
679
  NewPrivateVirtualInterface.add_member(:address_family, Shapes::ShapeRef.new(shape: AddressFamily, location_name: "addressFamily"))
670
- NewPrivateVirtualInterface.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, deprecated: true, location_name: "virtualGatewayId"))
680
+ NewPrivateVirtualInterface.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
671
681
  NewPrivateVirtualInterface.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, location_name: "directConnectGatewayId"))
672
682
  NewPrivateVirtualInterface.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
673
683
  NewPrivateVirtualInterface.struct_class = Types::NewPrivateVirtualInterface
@@ -728,6 +738,8 @@ module Aws::DirectConnect
728
738
  NewTransitVirtualInterfaceAllocation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
729
739
  NewTransitVirtualInterfaceAllocation.struct_class = Types::NewTransitVirtualInterfaceAllocation
730
740
 
741
+ ProviderList.member = Shapes::ShapeRef.new(shape: ProviderName)
742
+
731
743
  ResourceArnList.member = Shapes::ShapeRef.new(shape: ResourceArn)
732
744
 
733
745
  ResourceTag.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
@@ -755,6 +767,8 @@ module Aws::DirectConnect
755
767
 
756
768
  TagResourceResponse.struct_class = Types::TagResourceResponse
757
769
 
770
+ TooManyTagsException.struct_class = Types::TooManyTagsException
771
+
758
772
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
759
773
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
760
774
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -778,7 +792,7 @@ module Aws::DirectConnect
778
792
  UpdateVirtualInterfaceAttributesRequest.add_member(:mtu, Shapes::ShapeRef.new(shape: MTU, location_name: "mtu"))
779
793
  UpdateVirtualInterfaceAttributesRequest.struct_class = Types::UpdateVirtualInterfaceAttributesRequest
780
794
 
781
- VirtualGateway.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, deprecated: true, location_name: "virtualGatewayId"))
795
+ VirtualGateway.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
782
796
  VirtualGateway.add_member(:virtual_gateway_state, Shapes::ShapeRef.new(shape: VirtualGatewayState, location_name: "virtualGatewayState"))
783
797
  VirtualGateway.struct_class = Types::VirtualGateway
784
798
 
@@ -804,7 +818,7 @@ module Aws::DirectConnect
804
818
  VirtualInterface.add_member(:customer_router_config, Shapes::ShapeRef.new(shape: RouterConfig, location_name: "customerRouterConfig"))
805
819
  VirtualInterface.add_member(:mtu, Shapes::ShapeRef.new(shape: MTU, location_name: "mtu"))
806
820
  VirtualInterface.add_member(:jumbo_frame_capable, Shapes::ShapeRef.new(shape: JumboFrameCapable, location_name: "jumboFrameCapable"))
807
- VirtualInterface.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, deprecated: true, location_name: "virtualGatewayId"))
821
+ VirtualInterface.add_member(:virtual_gateway_id, Shapes::ShapeRef.new(shape: VirtualGatewayId, location_name: "virtualGatewayId"))
808
822
  VirtualInterface.add_member(:direct_connect_gateway_id, Shapes::ShapeRef.new(shape: DirectConnectGatewayId, location_name: "directConnectGatewayId"))
809
823
  VirtualInterface.add_member(:route_filter_prefixes, Shapes::ShapeRef.new(shape: RouteFilterPrefixList, location_name: "routeFilterPrefixes"))
810
824
  VirtualInterface.add_member(:bgp_peers, Shapes::ShapeRef.new(shape: BGPPeerList, location_name: "bgpPeers"))
@@ -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 ({})
@@ -159,7 +159,7 @@ module Aws::DirectConnect
159
159
  # @return [Integer]
160
160
  #
161
161
  # @!attribute [rw] tags
162
- # The tags to assign to the hosted connection.
162
+ # The tags associated with the connection.
163
163
  # @return [Array<Types::Tag>]
164
164
  #
165
165
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnectionRequest AWS API Documentation
@@ -854,9 +854,13 @@ module Aws::DirectConnect
854
854
  # @return [String]
855
855
  #
856
856
  # @!attribute [rw] tags
857
- # Any tags assigned to the connection.
857
+ # The tags associated with the connection.
858
858
  # @return [Array<Types::Tag>]
859
859
  #
860
+ # @!attribute [rw] provider_name
861
+ # The name of the service provider associated with the connection.
862
+ # @return [String]
863
+ #
860
864
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Connection AWS API Documentation
861
865
  #
862
866
  class Connection < Struct.new(
@@ -875,7 +879,8 @@ module Aws::DirectConnect
875
879
  :jumbo_frame_capable,
876
880
  :aws_device_v2,
877
881
  :has_logical_redundancy,
878
- :tags)
882
+ :tags,
883
+ :provider_name)
879
884
  include Aws::Structure
880
885
  end
881
886
 
@@ -945,6 +950,7 @@ module Aws::DirectConnect
945
950
  # value: "TagValue",
946
951
  # },
947
952
  # ],
953
+ # provider_name: "ProviderName",
948
954
  # }
949
955
  #
950
956
  # @!attribute [rw] location
@@ -964,9 +970,14 @@ module Aws::DirectConnect
964
970
  # @return [String]
965
971
  #
966
972
  # @!attribute [rw] tags
967
- # The tags to assign to the connection.
973
+ # The tags to associate with the lag.
968
974
  # @return [Array<Types::Tag>]
969
975
  #
976
+ # @!attribute [rw] provider_name
977
+ # The name of the service provider associated with the requested
978
+ # connection.
979
+ # @return [String]
980
+ #
970
981
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnectionRequest AWS API Documentation
971
982
  #
972
983
  class CreateConnectionRequest < Struct.new(
@@ -974,7 +985,8 @@ module Aws::DirectConnect
974
985
  :bandwidth,
975
986
  :connection_name,
976
987
  :lag_id,
977
- :tags)
988
+ :tags,
989
+ :provider_name)
978
990
  include Aws::Structure
979
991
  end
980
992
 
@@ -1065,6 +1077,9 @@ module Aws::DirectConnect
1065
1077
  # @!attribute [rw] add_allowed_prefixes_to_direct_connect_gateway
1066
1078
  # The Amazon VPC prefixes to advertise to the Direct Connect gateway
1067
1079
  #
1080
+ # This parameter is required when you create an association to a
1081
+ # transit gateway.
1082
+ #
1068
1083
  # For information about how to set the prefixes, see [Allowed
1069
1084
  # Prefixes][1] in the *AWS Direct Connect User Guide*.
1070
1085
  #
@@ -1150,6 +1165,7 @@ module Aws::DirectConnect
1150
1165
  # value: "TagValue",
1151
1166
  # },
1152
1167
  # ],
1168
+ # provider_name: "ProviderName",
1153
1169
  # }
1154
1170
  #
1155
1171
  # @!attribute [rw] interconnect_name
@@ -1169,9 +1185,13 @@ module Aws::DirectConnect
1169
1185
  # @return [String]
1170
1186
  #
1171
1187
  # @!attribute [rw] tags
1172
- # The tags to assign to the interconnect,
1188
+ # The tags to associate with the interconnect.
1173
1189
  # @return [Array<Types::Tag>]
1174
1190
  #
1191
+ # @!attribute [rw] provider_name
1192
+ # The name of the service provider associated with the interconnect.
1193
+ # @return [String]
1194
+ #
1175
1195
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnectRequest AWS API Documentation
1176
1196
  #
1177
1197
  class CreateInterconnectRequest < Struct.new(
@@ -1179,7 +1199,8 @@ module Aws::DirectConnect
1179
1199
  :bandwidth,
1180
1200
  :location,
1181
1201
  :lag_id,
1182
- :tags)
1202
+ :tags,
1203
+ :provider_name)
1183
1204
  include Aws::Structure
1184
1205
  end
1185
1206
 
@@ -1204,6 +1225,7 @@ module Aws::DirectConnect
1204
1225
  # value: "TagValue",
1205
1226
  # },
1206
1227
  # ],
1228
+ # provider_name: "ProviderName",
1207
1229
  # }
1208
1230
  #
1209
1231
  # @!attribute [rw] number_of_connections
@@ -1230,17 +1252,17 @@ module Aws::DirectConnect
1230
1252
  # @return [String]
1231
1253
  #
1232
1254
  # @!attribute [rw] tags
1233
- # The tags to assign to the link aggregation group (LAG).
1255
+ # The tags to associate with the LAG.
1234
1256
  # @return [Array<Types::Tag>]
1235
1257
  #
1236
1258
  # @!attribute [rw] child_connection_tags
1237
- # The tags to assign to the child connections of the LAG. Only newly
1238
- # created child connections as the result of creating a LAG connection
1239
- # are assigned the provided tags. The tags are not assigned to an
1240
- # existing connection that is provided via the “connectionId”
1241
- # parameter that will be migrated to the LAG.
1259
+ # The tags to associate with the automtically created LAGs.
1242
1260
  # @return [Array<Types::Tag>]
1243
1261
  #
1262
+ # @!attribute [rw] provider_name
1263
+ # The name of the service provider associated with the LAG.
1264
+ # @return [String]
1265
+ #
1244
1266
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLagRequest AWS API Documentation
1245
1267
  #
1246
1268
  class CreateLagRequest < Struct.new(
@@ -1250,7 +1272,8 @@ module Aws::DirectConnect
1250
1272
  :lag_name,
1251
1273
  :connection_id,
1252
1274
  :tags,
1253
- :child_connection_tags)
1275
+ :child_connection_tags,
1276
+ :provider_name)
1254
1277
  include Aws::Structure
1255
1278
  end
1256
1279
 
@@ -2423,7 +2446,7 @@ module Aws::DirectConnect
2423
2446
  # @return [String]
2424
2447
  #
2425
2448
  # @!attribute [rw] attachment_type
2426
- # The interface type.
2449
+ # The type of attachment.
2427
2450
  # @return [String]
2428
2451
  #
2429
2452
  # @!attribute [rw] state_change_error
@@ -2479,6 +2502,12 @@ module Aws::DirectConnect
2479
2502
  include Aws::Structure
2480
2503
  end
2481
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
+
2482
2511
  # Information about an interconnect.
2483
2512
  #
2484
2513
  # @!attribute [rw] interconnect_id
@@ -2552,9 +2581,13 @@ module Aws::DirectConnect
2552
2581
  # @return [String]
2553
2582
  #
2554
2583
  # @!attribute [rw] tags
2555
- # Any tags assigned to the interconnect.
2584
+ # The tags associated with the interconnect.
2556
2585
  # @return [Array<Types::Tag>]
2557
2586
  #
2587
+ # @!attribute [rw] provider_name
2588
+ # The name of the service provider associated with the interconnect.
2589
+ # @return [String]
2590
+ #
2558
2591
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Interconnect AWS API Documentation
2559
2592
  #
2560
2593
  class Interconnect < Struct.new(
@@ -2570,7 +2603,8 @@ module Aws::DirectConnect
2570
2603
  :jumbo_frame_capable,
2571
2604
  :aws_device_v2,
2572
2605
  :has_logical_redundancy,
2573
- :tags)
2606
+ :tags,
2607
+ :provider_name)
2574
2608
  include Aws::Structure
2575
2609
  end
2576
2610
 
@@ -2669,9 +2703,13 @@ module Aws::DirectConnect
2669
2703
  # @return [String]
2670
2704
  #
2671
2705
  # @!attribute [rw] tags
2672
- # Any tags assigned to link aggregation group (LAG).
2706
+ # The tags associated with the LAG.
2673
2707
  # @return [Array<Types::Tag>]
2674
2708
  #
2709
+ # @!attribute [rw] provider_name
2710
+ # The name of the service provider associated with the LAG.
2711
+ # @return [String]
2712
+ #
2675
2713
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lag AWS API Documentation
2676
2714
  #
2677
2715
  class Lag < Struct.new(
@@ -2690,7 +2728,8 @@ module Aws::DirectConnect
2690
2728
  :allows_hosted_connections,
2691
2729
  :jumbo_frame_capable,
2692
2730
  :has_logical_redundancy,
2693
- :tags)
2731
+ :tags,
2732
+ :provider_name)
2694
2733
  include Aws::Structure
2695
2734
  end
2696
2735
 
@@ -2744,13 +2783,18 @@ module Aws::DirectConnect
2744
2783
  # The available port speeds for the location.
2745
2784
  # @return [Array<String>]
2746
2785
  #
2786
+ # @!attribute [rw] available_providers
2787
+ # The name of the service provider for the location.
2788
+ # @return [Array<String>]
2789
+ #
2747
2790
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Location AWS API Documentation
2748
2791
  #
2749
2792
  class Location < Struct.new(
2750
2793
  :location_code,
2751
2794
  :location_name,
2752
2795
  :region,
2753
- :available_port_speeds)
2796
+ :available_port_speeds,
2797
+ :available_providers)
2754
2798
  include Aws::Structure
2755
2799
  end
2756
2800
 
@@ -2847,6 +2891,8 @@ module Aws::DirectConnect
2847
2891
  # @!attribute [rw] asn
2848
2892
  # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2849
2893
  # configuration.
2894
+ #
2895
+ # The valid values are 1-2147483647.
2850
2896
  # @return [Integer]
2851
2897
  #
2852
2898
  # @!attribute [rw] mtu
@@ -2881,7 +2927,7 @@ module Aws::DirectConnect
2881
2927
  # @return [String]
2882
2928
  #
2883
2929
  # @!attribute [rw] tags
2884
- # Any tags assigned to the private virtual interface.
2930
+ # The tags associated with the private virtual interface.
2885
2931
  # @return [Array<Types::Tag>]
2886
2932
  #
2887
2933
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterface AWS API Documentation
@@ -2935,6 +2981,8 @@ module Aws::DirectConnect
2935
2981
  # @!attribute [rw] asn
2936
2982
  # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2937
2983
  # configuration.
2984
+ #
2985
+ # The valid values are 1-2147483647.
2938
2986
  # @return [Integer]
2939
2987
  #
2940
2988
  # @!attribute [rw] mtu
@@ -2961,8 +3009,7 @@ module Aws::DirectConnect
2961
3009
  # @return [String]
2962
3010
  #
2963
3011
  # @!attribute [rw] tags
2964
- # Any tags assigned to the private virtual interface to be provisioned
2965
- # on a connection.
3012
+ # The tags associated with the private virtual interface.
2966
3013
  # @return [Array<Types::Tag>]
2967
3014
  #
2968
3015
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterfaceAllocation AWS API Documentation
@@ -3017,6 +3064,8 @@ module Aws::DirectConnect
3017
3064
  # @!attribute [rw] asn
3018
3065
  # The autonomous system (AS) number for Border Gateway Protocol (BGP)
3019
3066
  # configuration.
3067
+ #
3068
+ # The valid values are 1-2147483647.
3020
3069
  # @return [Integer]
3021
3070
  #
3022
3071
  # @!attribute [rw] auth_key
@@ -3043,7 +3092,7 @@ module Aws::DirectConnect
3043
3092
  # @return [Array<Types::RouteFilterPrefix>]
3044
3093
  #
3045
3094
  # @!attribute [rw] tags
3046
- # Any tags assigned to the public virtual interface.
3095
+ # The tags associated with the public virtual interface.
3047
3096
  # @return [Array<Types::Tag>]
3048
3097
  #
3049
3098
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterface AWS API Documentation
@@ -3099,6 +3148,8 @@ module Aws::DirectConnect
3099
3148
  # @!attribute [rw] asn
3100
3149
  # The autonomous system (AS) number for Border Gateway Protocol (BGP)
3101
3150
  # configuration.
3151
+ #
3152
+ # The valid values are 1-2147483647.
3102
3153
  # @return [Integer]
3103
3154
  #
3104
3155
  # @!attribute [rw] auth_key
@@ -3125,8 +3176,7 @@ module Aws::DirectConnect
3125
3176
  # @return [Array<Types::RouteFilterPrefix>]
3126
3177
  #
3127
3178
  # @!attribute [rw] tags
3128
- # Any tags assigned to the public virtual interface to be provisioned
3129
- # on a connection.
3179
+ # The tags associated with the public virtual interface.
3130
3180
  # @return [Array<Types::Tag>]
3131
3181
  #
3132
3182
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterfaceAllocation AWS API Documentation
@@ -3144,7 +3194,7 @@ module Aws::DirectConnect
3144
3194
  include Aws::Structure
3145
3195
  end
3146
3196
 
3147
- # Information about the transit virtual interface.
3197
+ # Information about a transit virtual interface.
3148
3198
  #
3149
3199
  # @note When making an API call, you may pass NewTransitVirtualInterface
3150
3200
  # data as a hash:
@@ -3178,15 +3228,19 @@ module Aws::DirectConnect
3178
3228
  # @!attribute [rw] asn
3179
3229
  # The autonomous system (AS) number for Border Gateway Protocol (BGP)
3180
3230
  # configuration.
3231
+ #
3232
+ # The valid values are 1-2147483647.
3181
3233
  # @return [Integer]
3182
3234
  #
3183
3235
  # @!attribute [rw] mtu
3184
3236
  # The maximum transmission unit (MTU), in bytes. The supported values
3185
- # are 1500 and 8500. The default value is 1500.
3237
+ # are 1500 and 9001. The default value is 1500.
3186
3238
  # @return [Integer]
3187
3239
  #
3188
3240
  # @!attribute [rw] auth_key
3189
- # The authentication key for BGP configuration.
3241
+ # The authentication key for BGP configuration. This string has a
3242
+ # minimum length of 6 characters and and a maximun lenth of 80
3243
+ # characters.
3190
3244
  # @return [String]
3191
3245
  #
3192
3246
  # @!attribute [rw] amazon_address
@@ -3206,7 +3260,7 @@ module Aws::DirectConnect
3206
3260
  # @return [String]
3207
3261
  #
3208
3262
  # @!attribute [rw] tags
3209
- # Any tags assigned to the transit virtual interface.
3263
+ # The tags associated with the transitive virtual interface.
3210
3264
  # @return [Array<Types::Tag>]
3211
3265
  #
3212
3266
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewTransitVirtualInterface AWS API Documentation
@@ -3225,7 +3279,8 @@ module Aws::DirectConnect
3225
3279
  include Aws::Structure
3226
3280
  end
3227
3281
 
3228
- # Information about a transit virtual interface.
3282
+ # Information about a transit virtual interface to be provisioned on a
3283
+ # connection.
3229
3284
  #
3230
3285
  # @note When making an API call, you may pass NewTransitVirtualInterfaceAllocation
3231
3286
  # data as a hash:
@@ -3258,15 +3313,19 @@ module Aws::DirectConnect
3258
3313
  # @!attribute [rw] asn
3259
3314
  # The autonomous system (AS) number for Border Gateway Protocol (BGP)
3260
3315
  # configuration.
3316
+ #
3317
+ # The valid values are 1-2147483647.
3261
3318
  # @return [Integer]
3262
3319
  #
3263
3320
  # @!attribute [rw] mtu
3264
3321
  # The maximum transmission unit (MTU), in bytes. The supported values
3265
- # are 1500 and 8500. The default value is 1500.
3322
+ # are 1500 and 9001. The default value is 1500.
3266
3323
  # @return [Integer]
3267
3324
  #
3268
3325
  # @!attribute [rw] auth_key
3269
- # The authentication key for BGP configuration.
3326
+ # The authentication key for BGP configuration. This string has a
3327
+ # minimum length of 6 characters and and a maximun lenth of 80
3328
+ # characters.
3270
3329
  # @return [String]
3271
3330
  #
3272
3331
  # @!attribute [rw] amazon_address
@@ -3282,7 +3341,7 @@ module Aws::DirectConnect
3282
3341
  # @return [String]
3283
3342
  #
3284
3343
  # @!attribute [rw] tags
3285
- # Any tags assigned to the transit virtual interface.
3344
+ # The tags associated with the transitive virtual interface.
3286
3345
  # @return [Array<Types::Tag>]
3287
3346
  #
3288
3347
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewTransitVirtualInterfaceAllocation AWS API Documentation
@@ -3385,7 +3444,7 @@ module Aws::DirectConnect
3385
3444
  # @return [String]
3386
3445
  #
3387
3446
  # @!attribute [rw] tags
3388
- # The tags to assign.
3447
+ # The tags to add.
3389
3448
  # @return [Array<Types::Tag>]
3390
3449
  #
3391
3450
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceRequest AWS API Documentation
@@ -3400,6 +3459,12 @@ module Aws::DirectConnect
3400
3459
  #
3401
3460
  class TagResourceResponse < Aws::EmptyStructure; end
3402
3461
 
3462
+ # You have reached the limit on the number of tags that can be assigned.
3463
+ #
3464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TooManyTagsException AWS API Documentation
3465
+ #
3466
+ class TooManyTagsException < Aws::EmptyStructure; end
3467
+
3403
3468
  # @note When making an API call, you may pass UntagResourceRequest
3404
3469
  # data as a hash:
3405
3470
  #
@@ -3611,6 +3676,8 @@ module Aws::DirectConnect
3611
3676
  # @!attribute [rw] asn
3612
3677
  # The autonomous system (AS) number for Border Gateway Protocol (BGP)
3613
3678
  # configuration.
3679
+ #
3680
+ # The valid values are 1-2147483647.
3614
3681
  # @return [Integer]
3615
3682
  #
3616
3683
  # @!attribute [rw] amazon_side_asn
@@ -3713,7 +3780,7 @@ module Aws::DirectConnect
3713
3780
  # @return [String]
3714
3781
  #
3715
3782
  # @!attribute [rw] tags
3716
- # Any tags assigned to the virtual interface.
3783
+ # The tags associated with the virtual interface.
3717
3784
  # @return [Array<Types::Tag>]
3718
3785
  #
3719
3786
  # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterface AWS API Documentation
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.24.0
4
+ version: 1.29.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-07-25 00:00:00.000000000 Z
11
+ date: 2020-05-28 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