aws-sdk-directconnect 1.55.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fc7c28b6d9f941c6e004300471a95044021f494c713e04baf70f54783fb3b04
4
- data.tar.gz: c13c35c23e11c321000e331e9cf9f4fb082c1e7d873887b346d4080ff431740a
3
+ metadata.gz: c08011dff778ececcb12a571649a003d09fb561b9a569ac3ecbeeded24aba0a1
4
+ data.tar.gz: d00084e5213c3f81391b4e0daad1753dc9973a188289322e6ee344cc71bfcdfd
5
5
  SHA512:
6
- metadata.gz: ad770f90e7099b78f39c46d69bdb2e87ffb93d8813aa6d0520f4c7eedd9b79198068e010cb3f54304f84e8fe3524dc753c61aa914eb31592d3c9e94c5fd67271
7
- data.tar.gz: 122caf1011ea94dce6f34a55ad39815bfe443ff7e632b666d0856f0ca4e79f882841393eb9545fbed6901d57de2e94b0272d85c64269254492a50f2379820f73
6
+ metadata.gz: 0ae99d32d566719f115eb1d1e141063af97ffd5fae081eb32e1589d03b1523b39efb5ad0d854c34c6b6949a30a0f88a5ea70767b31c3d8df0bf80680faaac5cc
7
+ data.tar.gz: 6a943bee9334cd197833f33d956fa298aac1a5c15370f20e516a55dca67faff30bc8d3c4ba03ed81c24caea73c957b441c43b82d14d966a5b063f693690fa391
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2023-03-14)
5
+ ------------------
6
+
7
+ * Feature - describe-direct-connect-gateway-associations includes a new status, updating, indicating that the association is currently in-process of updating.
8
+
9
+ 1.56.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.55.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -355,4 +367,4 @@ Unreleased Changes
355
367
  1.0.0.rc1 (2016-12-05)
356
368
  ------------------
357
369
 
358
- * Feature - Initial preview release of the `aws-sdk-directconnect` gem.
370
+ * Feature - Initial preview release of the `aws-sdk-directconnect` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.57.0
@@ -1597,10 +1597,22 @@ module Aws::DirectConnect
1597
1597
  # address. IPv6 addresses are automatically assigned from the Amazon
1598
1598
  # pool of IPv6 addresses; you cannot specify custom IPv6 addresses.
1599
1599
  #
1600
+ # If you let Amazon Web Services auto-assign IPv4 addresses, a /30 CIDR
1601
+ # will be allocated from 169.254.0.0/16. Amazon Web Services does not
1602
+ # recommend this option if you intend to use the customer router peer IP
1603
+ # address as the source and destination for traffic. Instead you should
1604
+ # use RFC 1918 or other addressing, and specify the address yourself.
1605
+ # For more information about RFC 1918 see [ Address Allocation for
1606
+ # Private Internets][1].
1607
+ #
1600
1608
  # For a public virtual interface, the Autonomous System Number (ASN)
1601
1609
  # must be private or already on the allow list for the virtual
1602
1610
  # interface.
1603
1611
  #
1612
+ #
1613
+ #
1614
+ # [1]: https://datatracker.ietf.org/doc/html/rfc1918
1615
+ #
1604
1616
  # @option params [String] :virtual_interface_id
1605
1617
  # The ID of the virtual interface.
1606
1618
  #
@@ -2540,13 +2552,14 @@ module Aws::DirectConnect
2540
2552
  # if you use the default ASN 64512 for both your the transit gateway and
2541
2553
  # Direct Connect gateway, the association request fails.
2542
2554
  #
2543
- # Setting the MTU of a virtual interface to 8500 (jumbo frames) can
2544
- # cause an update to the underlying physical connection if it wasn't
2545
- # updated to support jumbo frames. Updating the connection disrupts
2546
- # network connectivity for all virtual interfaces associated with the
2547
- # connection for up to 30 seconds. To check whether your connection
2548
- # supports jumbo frames, call DescribeConnections. To check whether your
2549
- # virtual interface supports jumbo frames, call
2555
+ # A jumbo MTU value must be either 1500 or 8500. No other values will be
2556
+ # accepted. Setting the MTU of a virtual interface to 8500 (jumbo
2557
+ # frames) can cause an update to the underlying physical connection if
2558
+ # it wasn't updated to support jumbo frames. Updating the connection
2559
+ # disrupts network connectivity for all virtual interfaces associated
2560
+ # with the connection for up to 30 seconds. To check whether your
2561
+ # connection supports jumbo frames, call DescribeConnections. To check
2562
+ # whether your virtual interface supports jumbo frames, call
2550
2563
  # DescribeVirtualInterfaces.
2551
2564
  #
2552
2565
  # @option params [required, String] :connection_id
@@ -4300,7 +4313,7 @@ module Aws::DirectConnect
4300
4313
  # The time in minutes that the virtual interface failover test will
4301
4314
  # last.
4302
4315
  #
4303
- # Maximum value: 180 minutes (3 hours).
4316
+ # Maximum value: 4,320 minutes (72 hours).
4304
4317
  #
4305
4318
  # Default: 180 minutes (3 hours).
4306
4319
  #
@@ -4893,7 +4906,7 @@ module Aws::DirectConnect
4893
4906
  params: params,
4894
4907
  config: config)
4895
4908
  context[:gem_name] = 'aws-sdk-directconnect'
4896
- context[:gem_version] = '1.55.0'
4909
+ context[:gem_version] = '1.57.0'
4897
4910
  Seahorse::Client::Request.new(handlers, context)
4898
4911
  end
4899
4912
 
@@ -9,104 +9,52 @@
9
9
 
10
10
  module Aws::DirectConnect
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://directconnect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://directconnect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://directconnect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
47
+ return Aws::Endpoints::Endpoint.new(url: "https://directconnect.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
48
+ end
49
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
50
+ return Aws::Endpoints::Endpoint.new(url: "https://directconnect.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
51
+ end
52
+ return Aws::Endpoints::Endpoint.new(url: "https://directconnect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
53
+ end
54
+ end
55
+ raise ArgumentError, "Invalid Configuration: Missing Region"
56
+ raise ArgumentError, 'No endpoint could be resolved'
24
57
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
58
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG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