aws-sdk-networkmanager 1.28.0 → 1.30.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkmanager/client.rb +21 -11
- data/lib/aws-sdk-networkmanager/endpoint_provider.rb +56 -53
- data/lib/aws-sdk-networkmanager/types.rb +11 -8
- data/lib/aws-sdk-networkmanager.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c416a68e716f91c1ff3a923e4c8d1c53a06040e7112b09ac7b1e5e46fa4a0a9
|
4
|
+
data.tar.gz: 299fae89bc625f24969b6c2839a60ab4a882f5a6a451922dd8b2b2ff661e1801
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6944ed92e92054f13a113ca25b510173d11d5b5523d8a668f5f82ae51e0c8c005406a56b74e5ec91fa8a364f01e9b70b2851c4233b476c26c43d860b75ceebb3
|
7
|
+
data.tar.gz: f01aa22e15a35289ce39c6a4c19a1c414f6c129ed5c678e83245c00086d76f0ed805c1335587aadf2ab80d83361894f271ed897883f5005776ccec557156dcf3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2023-03-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release includes an update to create-transit-gateway-route-table-attachment, showing example usage for TransitGatewayRouteTableArn.
|
8
|
+
|
9
|
+
1.29.0 (2023-03-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This update provides example usage for TransitGatewayRouteTableArn.
|
13
|
+
|
4
14
|
1.28.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -1184,11 +1184,11 @@ module Aws::NetworkManager
|
|
1184
1184
|
# Network Manager console. If you specify the address, the latitude and
|
1185
1185
|
# longitude are automatically calculated.
|
1186
1186
|
#
|
1187
|
-
# * `Address
|
1187
|
+
# * `Address`: The physical address of the site.
|
1188
1188
|
#
|
1189
|
-
# * `Latitude
|
1189
|
+
# * `Latitude`: The latitude of the site.
|
1190
1190
|
#
|
1191
|
-
# * `Longitude
|
1191
|
+
# * `Longitude`: The longitude of the site.
|
1192
1192
|
#
|
1193
1193
|
# @option params [Array<Types::Tag>] :tags
|
1194
1194
|
# The tags to apply to the resource during creation.
|
@@ -1377,6 +1377,8 @@ module Aws::NetworkManager
|
|
1377
1377
|
#
|
1378
1378
|
# @option params [required, String] :transit_gateway_route_table_arn
|
1379
1379
|
# The ARN of the transit gateway route table for the attachment request.
|
1380
|
+
# For example, `"TransitGatewayRouteTableArn":
|
1381
|
+
# "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"`.
|
1380
1382
|
#
|
1381
1383
|
# @option params [Array<Types::Tag>] :tags
|
1382
1384
|
# The list of key-value tags associated with the request.
|
@@ -4323,10 +4325,18 @@ module Aws::NetworkManager
|
|
4323
4325
|
req.send_request(options)
|
4324
4326
|
end
|
4325
4327
|
|
4326
|
-
# Registers a transit gateway in your global network.
|
4327
|
-
#
|
4328
|
-
#
|
4329
|
-
#
|
4328
|
+
# Registers a transit gateway in your global network. Not all Regions
|
4329
|
+
# support transit gateways for global networks. For a list of the
|
4330
|
+
# supported Regions, see [Region Availability][1] in the *Amazon Web
|
4331
|
+
# Services Transit Gateways for Global Networks User Guide*. The transit
|
4332
|
+
# gateway can be in any of the supported Amazon Web Services Regions,
|
4333
|
+
# but it must be owned by the same Amazon Web Services account that owns
|
4334
|
+
# the global network. You cannot register a transit gateway in more than
|
4335
|
+
# one global network.
|
4336
|
+
#
|
4337
|
+
#
|
4338
|
+
#
|
4339
|
+
# [1]: https://docs.aws.amazon.com/network-manager/latest/tgwnm/what-are-global-networks.html#nm-available-regions
|
4330
4340
|
#
|
4331
4341
|
# @option params [required, String] :global_network_id
|
4332
4342
|
# The ID of the global network.
|
@@ -5019,11 +5029,11 @@ module Aws::NetworkManager
|
|
5019
5029
|
# @option params [Types::Location] :location
|
5020
5030
|
# The site location:
|
5021
5031
|
#
|
5022
|
-
# * `Address
|
5032
|
+
# * `Address`: The physical address of the site.
|
5023
5033
|
#
|
5024
|
-
# * `Latitude
|
5034
|
+
# * `Latitude`: The latitude of the site.
|
5025
5035
|
#
|
5026
|
-
# * `Longitude
|
5036
|
+
# * `Longitude`: The longitude of the site.
|
5027
5037
|
#
|
5028
5038
|
# @return [Types::UpdateSiteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5029
5039
|
#
|
@@ -5145,7 +5155,7 @@ module Aws::NetworkManager
|
|
5145
5155
|
params: params,
|
5146
5156
|
config: config)
|
5147
5157
|
context[:gem_name] = 'aws-sdk-networkmanager'
|
5148
|
-
context[:gem_version] = '1.
|
5158
|
+
context[:gem_version] = '1.30.0'
|
5149
5159
|
Seahorse::Client::Request.new(handlers, context)
|
5150
5160
|
end
|
5151
5161
|
|
@@ -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
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
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.
|
28
|
-
|
29
|
-
|
30
|
-
|
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
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
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
|
-
|
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.
|
41
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
42
|
-
|
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
|
-
|
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}
|
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}
|
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}
|
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
|
-
|
68
|
-
|
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
|
-
|
74
|
-
|
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
|
-
|
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
|
@@ -1550,11 +1550,11 @@ module Aws::NetworkManager
|
|
1550
1550
|
# Network Manager console. If you specify the address, the latitude
|
1551
1551
|
# and longitude are automatically calculated.
|
1552
1552
|
#
|
1553
|
-
# * `Address
|
1553
|
+
# * `Address`: The physical address of the site.
|
1554
1554
|
#
|
1555
|
-
# * `Latitude
|
1555
|
+
# * `Latitude`: The latitude of the site.
|
1556
1556
|
#
|
1557
|
-
# * `Longitude
|
1557
|
+
# * `Longitude`: The longitude of the site.
|
1558
1558
|
# @return [Types::Location]
|
1559
1559
|
#
|
1560
1560
|
# @!attribute [rw] tags
|
@@ -1676,7 +1676,8 @@ module Aws::NetworkManager
|
|
1676
1676
|
#
|
1677
1677
|
# @!attribute [rw] transit_gateway_route_table_arn
|
1678
1678
|
# The ARN of the transit gateway route table for the attachment
|
1679
|
-
# request.
|
1679
|
+
# request. For example, `"TransitGatewayRouteTableArn":
|
1680
|
+
# "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"`.
|
1680
1681
|
# @return [String]
|
1681
1682
|
#
|
1682
1683
|
# @!attribute [rw] tags
|
@@ -5264,7 +5265,9 @@ module Aws::NetworkManager
|
|
5264
5265
|
# @return [String]
|
5265
5266
|
#
|
5266
5267
|
# @!attribute [rw] transit_gateway_route_table_arn
|
5267
|
-
# The ARN of the transit gateway attachment route table.
|
5268
|
+
# The ARN of the transit gateway attachment route table. For example,
|
5269
|
+
# `"TransitGatewayRouteTableArn":
|
5270
|
+
# "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"`.
|
5268
5271
|
# @return [String]
|
5269
5272
|
#
|
5270
5273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TransitGatewayRouteTableAttachment AWS API Documentation
|
@@ -5593,11 +5596,11 @@ module Aws::NetworkManager
|
|
5593
5596
|
# @!attribute [rw] location
|
5594
5597
|
# The site location:
|
5595
5598
|
#
|
5596
|
-
# * `Address
|
5599
|
+
# * `Address`: The physical address of the site.
|
5597
5600
|
#
|
5598
|
-
# * `Latitude
|
5601
|
+
# * `Latitude`: The latitude of the site.
|
5599
5602
|
#
|
5600
|
-
# * `Longitude
|
5603
|
+
# * `Longitude`: The longitude of the site.
|
5601
5604
|
# @return [Types::Location]
|
5602
5605
|
#
|
5603
5606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateSiteRequest AWS API Documentation
|
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.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|