aws-sdk-networkmanager 1.28.0 → 1.29.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: c2913a23ccf20c6a0ddef15149590e505330ad66e38248c41be0cdd985bcf57e
4
- data.tar.gz: afdae5043efc0a659c698875ebdea86a9c82873e40b4b92fad796bd969c1207b
3
+ metadata.gz: 517089950509baf03bd1174917b781bdc8082cd52668645926bf8cae6a2b53e1
4
+ data.tar.gz: b3a55943afdc584d84a0195341a34b1f826fa9d79996f51decd8e9f22d82cb19
5
5
  SHA512:
6
- metadata.gz: 34384a81be3d86e49e0d6b8cec863686c1c084f2ed9dd83e2f8bbd59409ee8896965d84ecec70731804471c49ab15eefa9965131e0b266fad03e196084e23dc4
7
- data.tar.gz: 17e97619fa86b8ad47bf8bf330e5733b5f369ed0c48aae20120a7a36ae40a59d21ff62050ae4943e80592f08e367d5cfb8e68713d1997570c4e2f4deb35f38e2
6
+ metadata.gz: e3fdb5bdadc7f5ce7cec0174367effc2325f89adc80442eacb4ee3d9f486f2d1c4121dac29a9d3cd17a9b79e3b166c705894a3d4363d463486f79e1321bd7a51
7
+ data.tar.gz: 7c12ecda3caf958fb839877b896bccfb10dcca8cb37731db81c600ea6d510b3d7357d9d8de493b55bff705989d6686b3927d2c0308aa4ee218ffef3797135219
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2023-03-09)
5
+ ------------------
6
+
7
+ * Feature - This update provides example usage for TransitGatewayRouteTableArn.
8
+
4
9
  1.28.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
1
+ 1.29.0
@@ -4323,10 +4323,18 @@ module Aws::NetworkManager
4323
4323
  req.send_request(options)
4324
4324
  end
4325
4325
 
4326
- # Registers a transit gateway in your global network. The transit
4327
- # gateway can be in any Amazon Web Services Region, but it must be owned
4328
- # by the same Amazon Web Services account that owns the global network.
4329
- # You cannot register a transit gateway in more than one global network.
4326
+ # Registers a transit gateway in your global network. Not all Regions
4327
+ # support transit gateways for global networks. For a list of the
4328
+ # supported Regions, see [Region Availability][1] in the *Amazon Web
4329
+ # Services Transit Gateways for Global Networks User Guide*. The transit
4330
+ # gateway can be in any of the supported Amazon Web Services Regions,
4331
+ # but it must be owned by the same Amazon Web Services account that owns
4332
+ # the global network. You cannot register a transit gateway in more than
4333
+ # one global network.
4334
+ #
4335
+ #
4336
+ #
4337
+ # [1]: https://docs.aws.amazon.com/network-manager/latest/tgwnm/what-are-global-networks.html#nm-available-regions
4330
4338
  #
4331
4339
  # @option params [required, String] :global_network_id
4332
4340
  # The ID of the global network.
@@ -5145,7 +5153,7 @@ module Aws::NetworkManager
5145
5153
  params: params,
5146
5154
  config: config)
5147
5155
  context[:gem_name] = 'aws-sdk-networkmanager'
5148
- context[:gem_version] = '1.28.0'
5156
+ context[:gem_version] = '1.29.0'
5149
5157
  Seahorse::Client::Request.new(handlers, context)
5150
5158
  end
5151
5159
 
@@ -14,84 +14,87 @@ module Aws::NetworkManager
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
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"
26
20
  end
27
- if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
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://networkmanager-fips.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2", "signingName"=>"networkmanager"}]})
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: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
29
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
30
+ 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"))
31
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.api.aws", headers: {}, properties: {})
32
+ end
33
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
31
34
  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://networkmanager-fips.#{region}.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2", "signingName"=>"networkmanager"}]})
35
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
37
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
37
40
  end
38
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
42
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
43
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.api.aws", headers: {}, properties: {})
44
+ end
45
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ end
47
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-west-2"}]})
39
48
  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://networkmanager.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2", "signingName"=>"networkmanager"}]})
49
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
50
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
51
+ 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"))
52
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.api.aws", headers: {}, properties: {})
53
+ end
54
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
43
55
  end
44
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
56
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
57
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
58
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.amazonaws.com", headers: {}, properties: {})
59
+ end
60
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
61
+ end
62
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
63
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
64
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.api.aws", headers: {}, properties: {})
65
+ end
66
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
67
+ end
68
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-gov-west-1"}]})
45
69
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2", "signingName"=>"networkmanager"}]})
47
- end
48
- if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
49
70
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
50
71
  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"))
51
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"networkmanager"}]})
72
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
52
73
  end
53
74
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
54
75
  end
55
76
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
56
77
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
57
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"networkmanager"}]})
78
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
58
79
  end
59
80
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
60
81
  end
61
82
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
62
83
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
63
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"networkmanager"}]})
84
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
64
85
  end
65
86
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
66
87
  end
67
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"networkmanager"}]})
68
- end
69
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
70
- 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"))
71
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
88
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
89
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-west-2"}]})
72
90
  end
73
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
74
- end
75
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
76
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
77
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
91
+ if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
92
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-gov-west-1"}]})
78
93
  end
79
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
80
- end
81
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
82
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
83
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
84
- end
85
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
86
- end
87
- if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
88
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2", "signingName"=>"networkmanager"}]})
89
- end
90
- if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
91
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"networkmanager"}]})
94
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
92
95
  end
93
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
94
96
  end
97
+ raise ArgumentError, "Invalid Configuration: Missing Region"
95
98
  raise ArgumentError, 'No endpoint could be resolved'
96
99
 
97
100
  end
@@ -5264,7 +5264,9 @@ module Aws::NetworkManager
5264
5264
  # @return [String]
5265
5265
  #
5266
5266
  # @!attribute [rw] transit_gateway_route_table_arn
5267
- # The ARN of the transit gateway attachment route table.
5267
+ # The ARN of the transit gateway attachment route table. For example,
5268
+ # `"TransitGatewayRouteTableArn":
5269
+ # "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"`.
5268
5270
  # @return [String]
5269
5271
  #
5270
5272
  # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TransitGatewayRouteTableAttachment AWS API Documentation
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-networkmanager/customizations'
52
52
  # @!group service
53
53
  module Aws::NetworkManager
54
54
 
55
- GEM_VERSION = '1.28.0'
55
+ GEM_VERSION = '1.29.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-networkmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core