aws-sdk-networkmanager 1.13.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkmanager/client.rb +736 -53
- data/lib/aws-sdk-networkmanager/client_api.rb +414 -0
- data/lib/aws-sdk-networkmanager/errors.rb +5 -0
- data/lib/aws-sdk-networkmanager/types.rb +1435 -223
- data/lib/aws-sdk-networkmanager.rb +1 -1
- metadata +5 -5
@@ -275,6 +275,15 @@ module Aws::NetworkManager
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -348,12 +357,7 @@ module Aws::NetworkManager
|
|
348
357
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html
|
349
358
|
#
|
350
359
|
# @option params [required, String] :customer_gateway_arn
|
351
|
-
# The Amazon Resource Name (ARN) of the customer gateway.
|
352
|
-
# information, see [Resources Defined by Amazon EC2][1].
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies
|
360
|
+
# The Amazon Resource Name (ARN) of the customer gateway.
|
357
361
|
#
|
358
362
|
# @option params [required, String] :global_network_id
|
359
363
|
# The ID of the global network.
|
@@ -570,12 +574,13 @@ module Aws::NetworkManager
|
|
570
574
|
# The ID of the global network.
|
571
575
|
#
|
572
576
|
# @option params [Types::AWSLocation] :aws_location
|
573
|
-
# The
|
577
|
+
# The Amazon Web Services location of the device, if applicable. For an
|
578
|
+
# on-premises device, you can omit this parameter.
|
574
579
|
#
|
575
580
|
# @option params [String] :description
|
576
581
|
# A description of the device.
|
577
582
|
#
|
578
|
-
#
|
583
|
+
# Constraints: Maximum length of 256 characters.
|
579
584
|
#
|
580
585
|
# @option params [String] :type
|
581
586
|
# The type of the device.
|
@@ -583,17 +588,17 @@ module Aws::NetworkManager
|
|
583
588
|
# @option params [String] :vendor
|
584
589
|
# The vendor of the device.
|
585
590
|
#
|
586
|
-
#
|
591
|
+
# Constraints: Maximum length of 128 characters.
|
587
592
|
#
|
588
593
|
# @option params [String] :model
|
589
594
|
# The model of the device.
|
590
595
|
#
|
591
|
-
#
|
596
|
+
# Constraints: Maximum length of 128 characters.
|
592
597
|
#
|
593
598
|
# @option params [String] :serial_number
|
594
599
|
# The serial number of the device.
|
595
600
|
#
|
596
|
-
#
|
601
|
+
# Constraints: Maximum length of 128 characters.
|
597
602
|
#
|
598
603
|
# @option params [Types::Location] :location
|
599
604
|
# The location of the device.
|
@@ -671,7 +676,7 @@ module Aws::NetworkManager
|
|
671
676
|
# @option params [String] :description
|
672
677
|
# A description of the global network.
|
673
678
|
#
|
674
|
-
#
|
679
|
+
# Constraints: Maximum length of 256 characters.
|
675
680
|
#
|
676
681
|
# @option params [Array<Types::Tag>] :tags
|
677
682
|
# The tags to apply to the resource during creation.
|
@@ -720,14 +725,13 @@ module Aws::NetworkManager
|
|
720
725
|
# @option params [String] :description
|
721
726
|
# A description of the link.
|
722
727
|
#
|
723
|
-
#
|
728
|
+
# Constraints: Maximum length of 256 characters.
|
724
729
|
#
|
725
730
|
# @option params [String] :type
|
726
731
|
# The type of the link.
|
727
732
|
#
|
728
|
-
# Constraints:
|
729
|
-
#
|
730
|
-
# Length Constraints: Maximum length of 128 characters.
|
733
|
+
# Constraints: Maximum length of 128 characters. Cannot include the
|
734
|
+
# following characters: \| \\ ^
|
731
735
|
#
|
732
736
|
# @option params [required, Types::Bandwidth] :bandwidth
|
733
737
|
# The upload speed and download speed in Mbps.
|
@@ -735,9 +739,8 @@ module Aws::NetworkManager
|
|
735
739
|
# @option params [String] :provider
|
736
740
|
# The provider of the link.
|
737
741
|
#
|
738
|
-
# Constraints:
|
739
|
-
#
|
740
|
-
# Length Constraints: Maximum length of 128 characters.
|
742
|
+
# Constraints: Maximum length of 128 characters. Cannot include the
|
743
|
+
# following characters: \| \\ ^
|
741
744
|
#
|
742
745
|
# @option params [required, String] :site_id
|
743
746
|
# The ID of the site.
|
@@ -803,7 +806,7 @@ module Aws::NetworkManager
|
|
803
806
|
# @option params [String] :description
|
804
807
|
# A description of your site.
|
805
808
|
#
|
806
|
-
#
|
809
|
+
# Constraints: Maximum length of 256 characters.
|
807
810
|
#
|
808
811
|
# @option params [Types::Location] :location
|
809
812
|
# The site location. This information is used for visualization in the
|
@@ -1182,12 +1185,7 @@ module Aws::NetworkManager
|
|
1182
1185
|
# The ID of the global network.
|
1183
1186
|
#
|
1184
1187
|
# @option params [required, String] :customer_gateway_arn
|
1185
|
-
# The Amazon Resource Name (ARN) of the customer gateway.
|
1186
|
-
# information, see [Resources Defined by Amazon EC2][1].
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies
|
1188
|
+
# The Amazon Resource Name (ARN) of the customer gateway.
|
1191
1189
|
#
|
1192
1190
|
# @return [Types::DisassociateCustomerGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1193
1191
|
#
|
@@ -1362,13 +1360,8 @@ module Aws::NetworkManager
|
|
1362
1360
|
# The ID of the global network.
|
1363
1361
|
#
|
1364
1362
|
# @option params [Array<String>] :customer_gateway_arns
|
1365
|
-
# One or more customer gateway Amazon Resource Names (ARNs).
|
1366
|
-
#
|
1367
|
-
# 10.
|
1368
|
-
#
|
1369
|
-
#
|
1370
|
-
#
|
1371
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies
|
1363
|
+
# One or more customer gateway Amazon Resource Names (ARNs). The maximum
|
1364
|
+
# is 10.
|
1372
1365
|
#
|
1373
1366
|
# @option params [Integer] :max_results
|
1374
1367
|
# The maximum number of results to return.
|
@@ -1607,6 +1600,565 @@ module Aws::NetworkManager
|
|
1607
1600
|
req.send_request(options)
|
1608
1601
|
end
|
1609
1602
|
|
1603
|
+
# Gets the count of network resources, by resource type, for the
|
1604
|
+
# specified global network.
|
1605
|
+
#
|
1606
|
+
# @option params [required, String] :global_network_id
|
1607
|
+
# The ID of the global network.
|
1608
|
+
#
|
1609
|
+
# @option params [String] :resource_type
|
1610
|
+
# The resource type.
|
1611
|
+
#
|
1612
|
+
# The following are the supported resource types for Direct Connect:
|
1613
|
+
#
|
1614
|
+
# * `dxcon`
|
1615
|
+
#
|
1616
|
+
# * `dx-gateway`
|
1617
|
+
#
|
1618
|
+
# * `dx-vif`
|
1619
|
+
#
|
1620
|
+
# The following are the supported resource types for Network Manager:
|
1621
|
+
#
|
1622
|
+
# * `connection`
|
1623
|
+
#
|
1624
|
+
# * `device`
|
1625
|
+
#
|
1626
|
+
# * `link`
|
1627
|
+
#
|
1628
|
+
# * `site`
|
1629
|
+
#
|
1630
|
+
# The following are the supported resource types for Amazon VPC:
|
1631
|
+
#
|
1632
|
+
# * `customer-gateway`
|
1633
|
+
#
|
1634
|
+
# * `transit-gateway`
|
1635
|
+
#
|
1636
|
+
# * `transit-gateway-attachment`
|
1637
|
+
#
|
1638
|
+
# * `transit-gateway-connect-peer`
|
1639
|
+
#
|
1640
|
+
# * `transit-gateway-route-table`
|
1641
|
+
#
|
1642
|
+
# * `vpn-connection`
|
1643
|
+
#
|
1644
|
+
# @option params [Integer] :max_results
|
1645
|
+
# The maximum number of results to return.
|
1646
|
+
#
|
1647
|
+
# @option params [String] :next_token
|
1648
|
+
# The token for the next page of results.
|
1649
|
+
#
|
1650
|
+
# @return [Types::GetNetworkResourceCountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1651
|
+
#
|
1652
|
+
# * {Types::GetNetworkResourceCountsResponse#network_resource_counts #network_resource_counts} => Array<Types::NetworkResourceCount>
|
1653
|
+
# * {Types::GetNetworkResourceCountsResponse#next_token #next_token} => String
|
1654
|
+
#
|
1655
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1656
|
+
#
|
1657
|
+
# @example Request syntax with placeholder values
|
1658
|
+
#
|
1659
|
+
# resp = client.get_network_resource_counts({
|
1660
|
+
# global_network_id: "String", # required
|
1661
|
+
# resource_type: "String",
|
1662
|
+
# max_results: 1,
|
1663
|
+
# next_token: "String",
|
1664
|
+
# })
|
1665
|
+
#
|
1666
|
+
# @example Response structure
|
1667
|
+
#
|
1668
|
+
# resp.network_resource_counts #=> Array
|
1669
|
+
# resp.network_resource_counts[0].resource_type #=> String
|
1670
|
+
# resp.network_resource_counts[0].count #=> Integer
|
1671
|
+
# resp.next_token #=> String
|
1672
|
+
#
|
1673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResourceCounts AWS API Documentation
|
1674
|
+
#
|
1675
|
+
# @overload get_network_resource_counts(params = {})
|
1676
|
+
# @param [Hash] params ({})
|
1677
|
+
def get_network_resource_counts(params = {}, options = {})
|
1678
|
+
req = build_request(:get_network_resource_counts, params)
|
1679
|
+
req.send_request(options)
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
# Gets the network resource relationships for the specified global
|
1683
|
+
# network.
|
1684
|
+
#
|
1685
|
+
# @option params [required, String] :global_network_id
|
1686
|
+
# The ID of the global network.
|
1687
|
+
#
|
1688
|
+
# @option params [String] :registered_gateway_arn
|
1689
|
+
# The ARN of the registered gateway.
|
1690
|
+
#
|
1691
|
+
# @option params [String] :aws_region
|
1692
|
+
# The Amazon Web Services Region.
|
1693
|
+
#
|
1694
|
+
# @option params [String] :account_id
|
1695
|
+
# The Amazon Web Services account ID.
|
1696
|
+
#
|
1697
|
+
# @option params [String] :resource_type
|
1698
|
+
# The resource type.
|
1699
|
+
#
|
1700
|
+
# The following are the supported resource types for Direct Connect:
|
1701
|
+
#
|
1702
|
+
# * `dxcon`
|
1703
|
+
#
|
1704
|
+
# * `dx-gateway`
|
1705
|
+
#
|
1706
|
+
# * `dx-vif`
|
1707
|
+
#
|
1708
|
+
# The following are the supported resource types for Network Manager:
|
1709
|
+
#
|
1710
|
+
# * `connection`
|
1711
|
+
#
|
1712
|
+
# * `device`
|
1713
|
+
#
|
1714
|
+
# * `link`
|
1715
|
+
#
|
1716
|
+
# * `site`
|
1717
|
+
#
|
1718
|
+
# The following are the supported resource types for Amazon VPC:
|
1719
|
+
#
|
1720
|
+
# * `customer-gateway`
|
1721
|
+
#
|
1722
|
+
# * `transit-gateway`
|
1723
|
+
#
|
1724
|
+
# * `transit-gateway-attachment`
|
1725
|
+
#
|
1726
|
+
# * `transit-gateway-connect-peer`
|
1727
|
+
#
|
1728
|
+
# * `transit-gateway-route-table`
|
1729
|
+
#
|
1730
|
+
# * `vpn-connection`
|
1731
|
+
#
|
1732
|
+
# @option params [String] :resource_arn
|
1733
|
+
# The ARN of the gateway.
|
1734
|
+
#
|
1735
|
+
# @option params [Integer] :max_results
|
1736
|
+
# The maximum number of results to return.
|
1737
|
+
#
|
1738
|
+
# @option params [String] :next_token
|
1739
|
+
# The token for the next page of results.
|
1740
|
+
#
|
1741
|
+
# @return [Types::GetNetworkResourceRelationshipsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1742
|
+
#
|
1743
|
+
# * {Types::GetNetworkResourceRelationshipsResponse#relationships #relationships} => Array<Types::Relationship>
|
1744
|
+
# * {Types::GetNetworkResourceRelationshipsResponse#next_token #next_token} => String
|
1745
|
+
#
|
1746
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1747
|
+
#
|
1748
|
+
# @example Request syntax with placeholder values
|
1749
|
+
#
|
1750
|
+
# resp = client.get_network_resource_relationships({
|
1751
|
+
# global_network_id: "String", # required
|
1752
|
+
# registered_gateway_arn: "String",
|
1753
|
+
# aws_region: "String",
|
1754
|
+
# account_id: "String",
|
1755
|
+
# resource_type: "String",
|
1756
|
+
# resource_arn: "String",
|
1757
|
+
# max_results: 1,
|
1758
|
+
# next_token: "String",
|
1759
|
+
# })
|
1760
|
+
#
|
1761
|
+
# @example Response structure
|
1762
|
+
#
|
1763
|
+
# resp.relationships #=> Array
|
1764
|
+
# resp.relationships[0].from #=> String
|
1765
|
+
# resp.relationships[0].to #=> String
|
1766
|
+
# resp.next_token #=> String
|
1767
|
+
#
|
1768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResourceRelationships AWS API Documentation
|
1769
|
+
#
|
1770
|
+
# @overload get_network_resource_relationships(params = {})
|
1771
|
+
# @param [Hash] params ({})
|
1772
|
+
def get_network_resource_relationships(params = {}, options = {})
|
1773
|
+
req = build_request(:get_network_resource_relationships, params)
|
1774
|
+
req.send_request(options)
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# Describes the network resources for the specified global network.
|
1778
|
+
#
|
1779
|
+
# The results include information from the corresponding Describe call
|
1780
|
+
# for the resource, minus any sensitive information such as pre-shared
|
1781
|
+
# keys.
|
1782
|
+
#
|
1783
|
+
# @option params [required, String] :global_network_id
|
1784
|
+
# The ID of the global network.
|
1785
|
+
#
|
1786
|
+
# @option params [String] :registered_gateway_arn
|
1787
|
+
# The ARN of the gateway.
|
1788
|
+
#
|
1789
|
+
# @option params [String] :aws_region
|
1790
|
+
# The Amazon Web Services Region.
|
1791
|
+
#
|
1792
|
+
# @option params [String] :account_id
|
1793
|
+
# The Amazon Web Services account ID.
|
1794
|
+
#
|
1795
|
+
# @option params [String] :resource_type
|
1796
|
+
# The resource type.
|
1797
|
+
#
|
1798
|
+
# The following are the supported resource types for Direct Connect:
|
1799
|
+
#
|
1800
|
+
# * `dxcon` - The definition model is [Connection][1].
|
1801
|
+
#
|
1802
|
+
# * `dx-gateway` - The definition model is [DirectConnectGateway][2].
|
1803
|
+
#
|
1804
|
+
# * `dx-vif` - The definition model is [VirtualInterface][3].
|
1805
|
+
#
|
1806
|
+
# The following are the supported resource types for Network Manager:
|
1807
|
+
#
|
1808
|
+
# * `connection` - The definition model is [Connection][4].
|
1809
|
+
#
|
1810
|
+
# * `device` - The definition model is [Device][5].
|
1811
|
+
#
|
1812
|
+
# * `link` - The definition model is [Link][6].
|
1813
|
+
#
|
1814
|
+
# * `site` - The definition model is [Site][7].
|
1815
|
+
#
|
1816
|
+
# The following are the supported resource types for Amazon VPC:
|
1817
|
+
#
|
1818
|
+
# * `customer-gateway` - The definition model is [CustomerGateway][8].
|
1819
|
+
#
|
1820
|
+
# * `transit-gateway` - The definition model is [TransitGateway][9].
|
1821
|
+
#
|
1822
|
+
# * `transit-gateway-attachment` - The definition model is
|
1823
|
+
# [TransitGatewayAttachment][10].
|
1824
|
+
#
|
1825
|
+
# * `transit-gateway-connect-peer` - The definition model is
|
1826
|
+
# [TransitGatewayConnectPeer][11].
|
1827
|
+
#
|
1828
|
+
# * `transit-gateway-route-table` - The definition model is
|
1829
|
+
# [TransitGatewayRouteTable][12].
|
1830
|
+
#
|
1831
|
+
# * `vpn-connection` - The definition model is [VpnConnection][13].
|
1832
|
+
#
|
1833
|
+
#
|
1834
|
+
#
|
1835
|
+
# [1]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_Connection.html
|
1836
|
+
# [2]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DirectConnectGateway.html
|
1837
|
+
# [3]: https://docs.aws.amazon.com/directconnect/latest/APIReference/API_VirtualInterface.html
|
1838
|
+
# [4]: https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_Connection.html
|
1839
|
+
# [5]: https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_Device.html
|
1840
|
+
# [6]: https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_Link.html
|
1841
|
+
# [7]: https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_Site.html
|
1842
|
+
# [8]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CustomerGateway.html
|
1843
|
+
# [9]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TransitGateway.html
|
1844
|
+
# [10]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TransitGatewayAttachment.html
|
1845
|
+
# [11]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TransitGatewayConnectPeer.html
|
1846
|
+
# [12]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TransitGatewayRouteTable.html
|
1847
|
+
# [13]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_VpnConnection.html
|
1848
|
+
#
|
1849
|
+
# @option params [String] :resource_arn
|
1850
|
+
# The ARN of the resource.
|
1851
|
+
#
|
1852
|
+
# @option params [Integer] :max_results
|
1853
|
+
# The maximum number of results to return.
|
1854
|
+
#
|
1855
|
+
# @option params [String] :next_token
|
1856
|
+
# The token for the next page of results.
|
1857
|
+
#
|
1858
|
+
# @return [Types::GetNetworkResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1859
|
+
#
|
1860
|
+
# * {Types::GetNetworkResourcesResponse#network_resources #network_resources} => Array<Types::NetworkResource>
|
1861
|
+
# * {Types::GetNetworkResourcesResponse#next_token #next_token} => String
|
1862
|
+
#
|
1863
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1864
|
+
#
|
1865
|
+
# @example Request syntax with placeholder values
|
1866
|
+
#
|
1867
|
+
# resp = client.get_network_resources({
|
1868
|
+
# global_network_id: "String", # required
|
1869
|
+
# registered_gateway_arn: "String",
|
1870
|
+
# aws_region: "String",
|
1871
|
+
# account_id: "String",
|
1872
|
+
# resource_type: "String",
|
1873
|
+
# resource_arn: "String",
|
1874
|
+
# max_results: 1,
|
1875
|
+
# next_token: "String",
|
1876
|
+
# })
|
1877
|
+
#
|
1878
|
+
# @example Response structure
|
1879
|
+
#
|
1880
|
+
# resp.network_resources #=> Array
|
1881
|
+
# resp.network_resources[0].registered_gateway_arn #=> String
|
1882
|
+
# resp.network_resources[0].aws_region #=> String
|
1883
|
+
# resp.network_resources[0].account_id #=> String
|
1884
|
+
# resp.network_resources[0].resource_type #=> String
|
1885
|
+
# resp.network_resources[0].resource_id #=> String
|
1886
|
+
# resp.network_resources[0].resource_arn #=> String
|
1887
|
+
# resp.network_resources[0].definition #=> String
|
1888
|
+
# resp.network_resources[0].definition_timestamp #=> Time
|
1889
|
+
# resp.network_resources[0].tags #=> Array
|
1890
|
+
# resp.network_resources[0].tags[0].key #=> String
|
1891
|
+
# resp.network_resources[0].tags[0].value #=> String
|
1892
|
+
# resp.network_resources[0].metadata #=> Hash
|
1893
|
+
# resp.network_resources[0].metadata["NetworkResourceMetadataKey"] #=> String
|
1894
|
+
# resp.next_token #=> String
|
1895
|
+
#
|
1896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResources AWS API Documentation
|
1897
|
+
#
|
1898
|
+
# @overload get_network_resources(params = {})
|
1899
|
+
# @param [Hash] params ({})
|
1900
|
+
def get_network_resources(params = {}, options = {})
|
1901
|
+
req = build_request(:get_network_resources, params)
|
1902
|
+
req.send_request(options)
|
1903
|
+
end
|
1904
|
+
|
1905
|
+
# Gets the network routes of the specified global network.
|
1906
|
+
#
|
1907
|
+
# @option params [required, String] :global_network_id
|
1908
|
+
# The ID of the global network.
|
1909
|
+
#
|
1910
|
+
# @option params [required, Types::RouteTableIdentifier] :route_table_identifier
|
1911
|
+
# The ID of the route table.
|
1912
|
+
#
|
1913
|
+
# @option params [Array<String>] :exact_cidr_matches
|
1914
|
+
# An exact CIDR block.
|
1915
|
+
#
|
1916
|
+
# @option params [Array<String>] :longest_prefix_matches
|
1917
|
+
# The most specific route that matches the traffic (longest prefix
|
1918
|
+
# match).
|
1919
|
+
#
|
1920
|
+
# @option params [Array<String>] :subnet_of_matches
|
1921
|
+
# The routes with a subnet that match the specified CIDR filter.
|
1922
|
+
#
|
1923
|
+
# @option params [Array<String>] :supernet_of_matches
|
1924
|
+
# The routes with a CIDR that encompasses the CIDR filter. Example: If
|
1925
|
+
# you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
|
1926
|
+
#
|
1927
|
+
# @option params [Array<String>] :prefix_list_ids
|
1928
|
+
# The IDs of the prefix lists.
|
1929
|
+
#
|
1930
|
+
# @option params [Array<String>] :states
|
1931
|
+
# The route states.
|
1932
|
+
#
|
1933
|
+
# @option params [Array<String>] :types
|
1934
|
+
# The route types.
|
1935
|
+
#
|
1936
|
+
# @option params [Hash<String,Array>] :destination_filters
|
1937
|
+
# Filter by route table destination. Possible Values:
|
1938
|
+
# TRANSIT\_GATEWAY\_ATTACHMENT\_ID, RESOURCE\_ID, or RESOURCE\_TYPE.
|
1939
|
+
#
|
1940
|
+
# @return [Types::GetNetworkRoutesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1941
|
+
#
|
1942
|
+
# * {Types::GetNetworkRoutesResponse#route_table_arn #route_table_arn} => String
|
1943
|
+
# * {Types::GetNetworkRoutesResponse#route_table_type #route_table_type} => String
|
1944
|
+
# * {Types::GetNetworkRoutesResponse#route_table_timestamp #route_table_timestamp} => Time
|
1945
|
+
# * {Types::GetNetworkRoutesResponse#network_routes #network_routes} => Array<Types::NetworkRoute>
|
1946
|
+
#
|
1947
|
+
# @example Request syntax with placeholder values
|
1948
|
+
#
|
1949
|
+
# resp = client.get_network_routes({
|
1950
|
+
# global_network_id: "String", # required
|
1951
|
+
# route_table_identifier: { # required
|
1952
|
+
# transit_gateway_route_table_arn: "String",
|
1953
|
+
# },
|
1954
|
+
# exact_cidr_matches: ["String"],
|
1955
|
+
# longest_prefix_matches: ["String"],
|
1956
|
+
# subnet_of_matches: ["String"],
|
1957
|
+
# supernet_of_matches: ["String"],
|
1958
|
+
# prefix_list_ids: ["String"],
|
1959
|
+
# states: ["ACTIVE"], # accepts ACTIVE, BLACKHOLE
|
1960
|
+
# types: ["PROPAGATED"], # accepts PROPAGATED, STATIC
|
1961
|
+
# destination_filters: {
|
1962
|
+
# "FilterName" => ["FilterValue"],
|
1963
|
+
# },
|
1964
|
+
# })
|
1965
|
+
#
|
1966
|
+
# @example Response structure
|
1967
|
+
#
|
1968
|
+
# resp.route_table_arn #=> String
|
1969
|
+
# resp.route_table_type #=> String, one of "TRANSIT_GATEWAY_ROUTE_TABLE"
|
1970
|
+
# resp.route_table_timestamp #=> Time
|
1971
|
+
# resp.network_routes #=> Array
|
1972
|
+
# resp.network_routes[0].destination_cidr_block #=> String
|
1973
|
+
# resp.network_routes[0].destinations #=> Array
|
1974
|
+
# resp.network_routes[0].destinations[0].transit_gateway_attachment_id #=> String
|
1975
|
+
# resp.network_routes[0].destinations[0].resource_type #=> String
|
1976
|
+
# resp.network_routes[0].destinations[0].resource_id #=> String
|
1977
|
+
# resp.network_routes[0].prefix_list_id #=> String
|
1978
|
+
# resp.network_routes[0].state #=> String, one of "ACTIVE", "BLACKHOLE"
|
1979
|
+
# resp.network_routes[0].type #=> String, one of "PROPAGATED", "STATIC"
|
1980
|
+
#
|
1981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkRoutes AWS API Documentation
|
1982
|
+
#
|
1983
|
+
# @overload get_network_routes(params = {})
|
1984
|
+
# @param [Hash] params ({})
|
1985
|
+
def get_network_routes(params = {}, options = {})
|
1986
|
+
req = build_request(:get_network_routes, params)
|
1987
|
+
req.send_request(options)
|
1988
|
+
end
|
1989
|
+
|
1990
|
+
# Gets the network telemetry of the specified global network.
|
1991
|
+
#
|
1992
|
+
# @option params [required, String] :global_network_id
|
1993
|
+
# The ID of the global network.
|
1994
|
+
#
|
1995
|
+
# @option params [String] :registered_gateway_arn
|
1996
|
+
# The ARN of the gateway.
|
1997
|
+
#
|
1998
|
+
# @option params [String] :aws_region
|
1999
|
+
# The Amazon Web Services Region.
|
2000
|
+
#
|
2001
|
+
# @option params [String] :account_id
|
2002
|
+
# The Amazon Web Services account ID.
|
2003
|
+
#
|
2004
|
+
# @option params [String] :resource_type
|
2005
|
+
# The resource type.
|
2006
|
+
#
|
2007
|
+
# The following are the supported resource types for Direct Connect:
|
2008
|
+
#
|
2009
|
+
# * `dxcon`
|
2010
|
+
#
|
2011
|
+
# * `dx-gateway`
|
2012
|
+
#
|
2013
|
+
# * `dx-vif`
|
2014
|
+
#
|
2015
|
+
# The following are the supported resource types for Network Manager:
|
2016
|
+
#
|
2017
|
+
# * `connection`
|
2018
|
+
#
|
2019
|
+
# * `device`
|
2020
|
+
#
|
2021
|
+
# * `link`
|
2022
|
+
#
|
2023
|
+
# * `site`
|
2024
|
+
#
|
2025
|
+
# The following are the supported resource types for Amazon VPC:
|
2026
|
+
#
|
2027
|
+
# * `customer-gateway`
|
2028
|
+
#
|
2029
|
+
# * `transit-gateway`
|
2030
|
+
#
|
2031
|
+
# * `transit-gateway-attachment`
|
2032
|
+
#
|
2033
|
+
# * `transit-gateway-connect-peer`
|
2034
|
+
#
|
2035
|
+
# * `transit-gateway-route-table`
|
2036
|
+
#
|
2037
|
+
# * `vpn-connection`
|
2038
|
+
#
|
2039
|
+
# @option params [String] :resource_arn
|
2040
|
+
# The ARN of the resource.
|
2041
|
+
#
|
2042
|
+
# @option params [Integer] :max_results
|
2043
|
+
# The maximum number of results to return.
|
2044
|
+
#
|
2045
|
+
# @option params [String] :next_token
|
2046
|
+
# The token for the next page of results.
|
2047
|
+
#
|
2048
|
+
# @return [Types::GetNetworkTelemetryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2049
|
+
#
|
2050
|
+
# * {Types::GetNetworkTelemetryResponse#network_telemetry #network_telemetry} => Array<Types::NetworkTelemetry>
|
2051
|
+
# * {Types::GetNetworkTelemetryResponse#next_token #next_token} => String
|
2052
|
+
#
|
2053
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2054
|
+
#
|
2055
|
+
# @example Request syntax with placeholder values
|
2056
|
+
#
|
2057
|
+
# resp = client.get_network_telemetry({
|
2058
|
+
# global_network_id: "String", # required
|
2059
|
+
# registered_gateway_arn: "String",
|
2060
|
+
# aws_region: "String",
|
2061
|
+
# account_id: "String",
|
2062
|
+
# resource_type: "String",
|
2063
|
+
# resource_arn: "String",
|
2064
|
+
# max_results: 1,
|
2065
|
+
# next_token: "String",
|
2066
|
+
# })
|
2067
|
+
#
|
2068
|
+
# @example Response structure
|
2069
|
+
#
|
2070
|
+
# resp.network_telemetry #=> Array
|
2071
|
+
# resp.network_telemetry[0].registered_gateway_arn #=> String
|
2072
|
+
# resp.network_telemetry[0].aws_region #=> String
|
2073
|
+
# resp.network_telemetry[0].account_id #=> String
|
2074
|
+
# resp.network_telemetry[0].resource_type #=> String
|
2075
|
+
# resp.network_telemetry[0].resource_id #=> String
|
2076
|
+
# resp.network_telemetry[0].resource_arn #=> String
|
2077
|
+
# resp.network_telemetry[0].address #=> String
|
2078
|
+
# resp.network_telemetry[0].health.type #=> String, one of "BGP", "IPSEC"
|
2079
|
+
# resp.network_telemetry[0].health.status #=> String, one of "UP", "DOWN"
|
2080
|
+
# resp.network_telemetry[0].health.timestamp #=> Time
|
2081
|
+
# resp.next_token #=> String
|
2082
|
+
#
|
2083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkTelemetry AWS API Documentation
|
2084
|
+
#
|
2085
|
+
# @overload get_network_telemetry(params = {})
|
2086
|
+
# @param [Hash] params ({})
|
2087
|
+
def get_network_telemetry(params = {}, options = {})
|
2088
|
+
req = build_request(:get_network_telemetry, params)
|
2089
|
+
req.send_request(options)
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
# Gets information about the specified route analysis.
|
2093
|
+
#
|
2094
|
+
# @option params [required, String] :global_network_id
|
2095
|
+
# The ID of the global network.
|
2096
|
+
#
|
2097
|
+
# @option params [required, String] :route_analysis_id
|
2098
|
+
# The ID of the route analysis.
|
2099
|
+
#
|
2100
|
+
# @return [Types::GetRouteAnalysisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2101
|
+
#
|
2102
|
+
# * {Types::GetRouteAnalysisResponse#route_analysis #route_analysis} => Types::RouteAnalysis
|
2103
|
+
#
|
2104
|
+
# @example Request syntax with placeholder values
|
2105
|
+
#
|
2106
|
+
# resp = client.get_route_analysis({
|
2107
|
+
# global_network_id: "String", # required
|
2108
|
+
# route_analysis_id: "String", # required
|
2109
|
+
# })
|
2110
|
+
#
|
2111
|
+
# @example Response structure
|
2112
|
+
#
|
2113
|
+
# resp.route_analysis.global_network_id #=> String
|
2114
|
+
# resp.route_analysis.owner_account_id #=> String
|
2115
|
+
# resp.route_analysis.route_analysis_id #=> String
|
2116
|
+
# resp.route_analysis.start_timestamp #=> Time
|
2117
|
+
# resp.route_analysis.status #=> String, one of "RUNNING", "COMPLETED", "FAILED"
|
2118
|
+
# resp.route_analysis.source.transit_gateway_attachment_arn #=> String
|
2119
|
+
# resp.route_analysis.source.transit_gateway_arn #=> String
|
2120
|
+
# resp.route_analysis.source.ip_address #=> String
|
2121
|
+
# resp.route_analysis.destination.transit_gateway_attachment_arn #=> String
|
2122
|
+
# resp.route_analysis.destination.transit_gateway_arn #=> String
|
2123
|
+
# resp.route_analysis.destination.ip_address #=> String
|
2124
|
+
# resp.route_analysis.include_return_path #=> Boolean
|
2125
|
+
# resp.route_analysis.use_middleboxes #=> Boolean
|
2126
|
+
# resp.route_analysis.forward_path.completion_status.result_code #=> String, one of "CONNECTED", "NOT_CONNECTED"
|
2127
|
+
# resp.route_analysis.forward_path.completion_status.reason_code #=> String, one of "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", "CYCLIC_PATH_DETECTED", "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND", "ROUTE_NOT_FOUND", "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", "MAX_HOPS_EXCEEDED", "POSSIBLE_MIDDLEBOX", "NO_DESTINATION_ARN_PROVIDED"
|
2128
|
+
# resp.route_analysis.forward_path.completion_status.reason_context #=> Hash
|
2129
|
+
# resp.route_analysis.forward_path.completion_status.reason_context["ReasonContextKey"] #=> String
|
2130
|
+
# resp.route_analysis.forward_path.path #=> Array
|
2131
|
+
# resp.route_analysis.forward_path.path[0].sequence #=> Integer
|
2132
|
+
# resp.route_analysis.forward_path.path[0].resource.registered_gateway_arn #=> String
|
2133
|
+
# resp.route_analysis.forward_path.path[0].resource.resource_arn #=> String
|
2134
|
+
# resp.route_analysis.forward_path.path[0].resource.resource_type #=> String
|
2135
|
+
# resp.route_analysis.forward_path.path[0].resource.definition #=> String
|
2136
|
+
# resp.route_analysis.forward_path.path[0].resource.name_tag #=> String
|
2137
|
+
# resp.route_analysis.forward_path.path[0].resource.is_middlebox #=> Boolean
|
2138
|
+
# resp.route_analysis.forward_path.path[0].destination_cidr_block #=> String
|
2139
|
+
# resp.route_analysis.return_path.completion_status.result_code #=> String, one of "CONNECTED", "NOT_CONNECTED"
|
2140
|
+
# resp.route_analysis.return_path.completion_status.reason_code #=> String, one of "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", "CYCLIC_PATH_DETECTED", "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND", "ROUTE_NOT_FOUND", "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", "MAX_HOPS_EXCEEDED", "POSSIBLE_MIDDLEBOX", "NO_DESTINATION_ARN_PROVIDED"
|
2141
|
+
# resp.route_analysis.return_path.completion_status.reason_context #=> Hash
|
2142
|
+
# resp.route_analysis.return_path.completion_status.reason_context["ReasonContextKey"] #=> String
|
2143
|
+
# resp.route_analysis.return_path.path #=> Array
|
2144
|
+
# resp.route_analysis.return_path.path[0].sequence #=> Integer
|
2145
|
+
# resp.route_analysis.return_path.path[0].resource.registered_gateway_arn #=> String
|
2146
|
+
# resp.route_analysis.return_path.path[0].resource.resource_arn #=> String
|
2147
|
+
# resp.route_analysis.return_path.path[0].resource.resource_type #=> String
|
2148
|
+
# resp.route_analysis.return_path.path[0].resource.definition #=> String
|
2149
|
+
# resp.route_analysis.return_path.path[0].resource.name_tag #=> String
|
2150
|
+
# resp.route_analysis.return_path.path[0].resource.is_middlebox #=> Boolean
|
2151
|
+
# resp.route_analysis.return_path.path[0].destination_cidr_block #=> String
|
2152
|
+
#
|
2153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetRouteAnalysis AWS API Documentation
|
2154
|
+
#
|
2155
|
+
# @overload get_route_analysis(params = {})
|
2156
|
+
# @param [Hash] params ({})
|
2157
|
+
def get_route_analysis(params = {}, options = {})
|
2158
|
+
req = build_request(:get_route_analysis, params)
|
2159
|
+
req.send_request(options)
|
2160
|
+
end
|
2161
|
+
|
1610
2162
|
# Gets information about one or more of your sites in a global network.
|
1611
2163
|
#
|
1612
2164
|
# @option params [required, String] :global_network_id
|
@@ -1794,20 +2346,15 @@ module Aws::NetworkManager
|
|
1794
2346
|
end
|
1795
2347
|
|
1796
2348
|
# Registers a transit gateway in your global network. The transit
|
1797
|
-
# gateway can be in any
|
1798
|
-
# account that owns the global network.
|
1799
|
-
# gateway in more than one global network.
|
2349
|
+
# gateway can be in any Amazon Web Services Region, but it must be owned
|
2350
|
+
# by the same Amazon Web Services account that owns the global network.
|
2351
|
+
# You cannot register a transit gateway in more than one global network.
|
1800
2352
|
#
|
1801
2353
|
# @option params [required, String] :global_network_id
|
1802
2354
|
# The ID of the global network.
|
1803
2355
|
#
|
1804
2356
|
# @option params [required, String] :transit_gateway_arn
|
1805
|
-
# The Amazon Resource Name (ARN) of the transit gateway.
|
1806
|
-
# information, see [Resources Defined by Amazon EC2][1].
|
1807
|
-
#
|
1808
|
-
#
|
1809
|
-
#
|
1810
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies
|
2357
|
+
# The Amazon Resource Name (ARN) of the transit gateway.
|
1811
2358
|
#
|
1812
2359
|
# @return [Types::RegisterTransitGatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1813
2360
|
#
|
@@ -1836,6 +2383,100 @@ module Aws::NetworkManager
|
|
1836
2383
|
req.send_request(options)
|
1837
2384
|
end
|
1838
2385
|
|
2386
|
+
# Starts analyzing the routing path between the specified source and
|
2387
|
+
# destination. For more information, see [Route Analyzer][1].
|
2388
|
+
#
|
2389
|
+
#
|
2390
|
+
#
|
2391
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/tgw/route-analyzer.html
|
2392
|
+
#
|
2393
|
+
# @option params [required, String] :global_network_id
|
2394
|
+
# The ID of the global network.
|
2395
|
+
#
|
2396
|
+
# @option params [required, Types::RouteAnalysisEndpointOptionsSpecification] :source
|
2397
|
+
# The source from which traffic originates.
|
2398
|
+
#
|
2399
|
+
# @option params [required, Types::RouteAnalysisEndpointOptionsSpecification] :destination
|
2400
|
+
# The destination.
|
2401
|
+
#
|
2402
|
+
# @option params [Boolean] :include_return_path
|
2403
|
+
# Indicates whether to analyze the return path. The default is `false`.
|
2404
|
+
#
|
2405
|
+
# @option params [Boolean] :use_middleboxes
|
2406
|
+
# Indicates whether to include the location of middlebox appliances in
|
2407
|
+
# the route analysis. The default is `false`.
|
2408
|
+
#
|
2409
|
+
# @return [Types::StartRouteAnalysisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2410
|
+
#
|
2411
|
+
# * {Types::StartRouteAnalysisResponse#route_analysis #route_analysis} => Types::RouteAnalysis
|
2412
|
+
#
|
2413
|
+
# @example Request syntax with placeholder values
|
2414
|
+
#
|
2415
|
+
# resp = client.start_route_analysis({
|
2416
|
+
# global_network_id: "String", # required
|
2417
|
+
# source: { # required
|
2418
|
+
# transit_gateway_attachment_arn: "String",
|
2419
|
+
# ip_address: "String",
|
2420
|
+
# },
|
2421
|
+
# destination: { # required
|
2422
|
+
# transit_gateway_attachment_arn: "String",
|
2423
|
+
# ip_address: "String",
|
2424
|
+
# },
|
2425
|
+
# include_return_path: false,
|
2426
|
+
# use_middleboxes: false,
|
2427
|
+
# })
|
2428
|
+
#
|
2429
|
+
# @example Response structure
|
2430
|
+
#
|
2431
|
+
# resp.route_analysis.global_network_id #=> String
|
2432
|
+
# resp.route_analysis.owner_account_id #=> String
|
2433
|
+
# resp.route_analysis.route_analysis_id #=> String
|
2434
|
+
# resp.route_analysis.start_timestamp #=> Time
|
2435
|
+
# resp.route_analysis.status #=> String, one of "RUNNING", "COMPLETED", "FAILED"
|
2436
|
+
# resp.route_analysis.source.transit_gateway_attachment_arn #=> String
|
2437
|
+
# resp.route_analysis.source.transit_gateway_arn #=> String
|
2438
|
+
# resp.route_analysis.source.ip_address #=> String
|
2439
|
+
# resp.route_analysis.destination.transit_gateway_attachment_arn #=> String
|
2440
|
+
# resp.route_analysis.destination.transit_gateway_arn #=> String
|
2441
|
+
# resp.route_analysis.destination.ip_address #=> String
|
2442
|
+
# resp.route_analysis.include_return_path #=> Boolean
|
2443
|
+
# resp.route_analysis.use_middleboxes #=> Boolean
|
2444
|
+
# resp.route_analysis.forward_path.completion_status.result_code #=> String, one of "CONNECTED", "NOT_CONNECTED"
|
2445
|
+
# resp.route_analysis.forward_path.completion_status.reason_code #=> String, one of "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", "CYCLIC_PATH_DETECTED", "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND", "ROUTE_NOT_FOUND", "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", "MAX_HOPS_EXCEEDED", "POSSIBLE_MIDDLEBOX", "NO_DESTINATION_ARN_PROVIDED"
|
2446
|
+
# resp.route_analysis.forward_path.completion_status.reason_context #=> Hash
|
2447
|
+
# resp.route_analysis.forward_path.completion_status.reason_context["ReasonContextKey"] #=> String
|
2448
|
+
# resp.route_analysis.forward_path.path #=> Array
|
2449
|
+
# resp.route_analysis.forward_path.path[0].sequence #=> Integer
|
2450
|
+
# resp.route_analysis.forward_path.path[0].resource.registered_gateway_arn #=> String
|
2451
|
+
# resp.route_analysis.forward_path.path[0].resource.resource_arn #=> String
|
2452
|
+
# resp.route_analysis.forward_path.path[0].resource.resource_type #=> String
|
2453
|
+
# resp.route_analysis.forward_path.path[0].resource.definition #=> String
|
2454
|
+
# resp.route_analysis.forward_path.path[0].resource.name_tag #=> String
|
2455
|
+
# resp.route_analysis.forward_path.path[0].resource.is_middlebox #=> Boolean
|
2456
|
+
# resp.route_analysis.forward_path.path[0].destination_cidr_block #=> String
|
2457
|
+
# resp.route_analysis.return_path.completion_status.result_code #=> String, one of "CONNECTED", "NOT_CONNECTED"
|
2458
|
+
# resp.route_analysis.return_path.completion_status.reason_code #=> String, one of "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", "CYCLIC_PATH_DETECTED", "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND", "ROUTE_NOT_FOUND", "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", "MAX_HOPS_EXCEEDED", "POSSIBLE_MIDDLEBOX", "NO_DESTINATION_ARN_PROVIDED"
|
2459
|
+
# resp.route_analysis.return_path.completion_status.reason_context #=> Hash
|
2460
|
+
# resp.route_analysis.return_path.completion_status.reason_context["ReasonContextKey"] #=> String
|
2461
|
+
# resp.route_analysis.return_path.path #=> Array
|
2462
|
+
# resp.route_analysis.return_path.path[0].sequence #=> Integer
|
2463
|
+
# resp.route_analysis.return_path.path[0].resource.registered_gateway_arn #=> String
|
2464
|
+
# resp.route_analysis.return_path.path[0].resource.resource_arn #=> String
|
2465
|
+
# resp.route_analysis.return_path.path[0].resource.resource_type #=> String
|
2466
|
+
# resp.route_analysis.return_path.path[0].resource.definition #=> String
|
2467
|
+
# resp.route_analysis.return_path.path[0].resource.name_tag #=> String
|
2468
|
+
# resp.route_analysis.return_path.path[0].resource.is_middlebox #=> Boolean
|
2469
|
+
# resp.route_analysis.return_path.path[0].destination_cidr_block #=> String
|
2470
|
+
#
|
2471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/StartRouteAnalysis AWS API Documentation
|
2472
|
+
#
|
2473
|
+
# @overload start_route_analysis(params = {})
|
2474
|
+
# @param [Hash] params ({})
|
2475
|
+
def start_route_analysis(params = {}, options = {})
|
2476
|
+
req = build_request(:start_route_analysis, params)
|
2477
|
+
req.send_request(options)
|
2478
|
+
end
|
2479
|
+
|
1839
2480
|
# Tags a specified resource.
|
1840
2481
|
#
|
1841
2482
|
# @option params [required, String] :resource_arn
|
@@ -1962,12 +2603,13 @@ module Aws::NetworkManager
|
|
1962
2603
|
# The ID of the device.
|
1963
2604
|
#
|
1964
2605
|
# @option params [Types::AWSLocation] :aws_location
|
1965
|
-
# The
|
2606
|
+
# The Amazon Web Services location of the device, if applicable. For an
|
2607
|
+
# on-premises device, you can omit this parameter.
|
1966
2608
|
#
|
1967
2609
|
# @option params [String] :description
|
1968
2610
|
# A description of the device.
|
1969
2611
|
#
|
1970
|
-
#
|
2612
|
+
# Constraints: Maximum length of 256 characters.
|
1971
2613
|
#
|
1972
2614
|
# @option params [String] :type
|
1973
2615
|
# The type of the device.
|
@@ -1975,17 +2617,17 @@ module Aws::NetworkManager
|
|
1975
2617
|
# @option params [String] :vendor
|
1976
2618
|
# The vendor of the device.
|
1977
2619
|
#
|
1978
|
-
#
|
2620
|
+
# Constraints: Maximum length of 128 characters.
|
1979
2621
|
#
|
1980
2622
|
# @option params [String] :model
|
1981
2623
|
# The model of the device.
|
1982
2624
|
#
|
1983
|
-
#
|
2625
|
+
# Constraints: Maximum length of 128 characters.
|
1984
2626
|
#
|
1985
2627
|
# @option params [String] :serial_number
|
1986
2628
|
# The serial number of the device.
|
1987
2629
|
#
|
1988
|
-
#
|
2630
|
+
# Constraints: Maximum length of 128 characters.
|
1989
2631
|
#
|
1990
2632
|
# @option params [Types::Location] :location
|
1991
2633
|
# Describes a location.
|
@@ -2059,7 +2701,7 @@ module Aws::NetworkManager
|
|
2059
2701
|
# @option params [String] :description
|
2060
2702
|
# A description of the global network.
|
2061
2703
|
#
|
2062
|
-
#
|
2704
|
+
# Constraints: Maximum length of 256 characters.
|
2063
2705
|
#
|
2064
2706
|
# @return [Types::UpdateGlobalNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2065
2707
|
#
|
@@ -2104,12 +2746,12 @@ module Aws::NetworkManager
|
|
2104
2746
|
# @option params [String] :description
|
2105
2747
|
# A description of the link.
|
2106
2748
|
#
|
2107
|
-
#
|
2749
|
+
# Constraints: Maximum length of 256 characters.
|
2108
2750
|
#
|
2109
2751
|
# @option params [String] :type
|
2110
2752
|
# The type of the link.
|
2111
2753
|
#
|
2112
|
-
#
|
2754
|
+
# Constraints: Maximum length of 128 characters.
|
2113
2755
|
#
|
2114
2756
|
# @option params [Types::Bandwidth] :bandwidth
|
2115
2757
|
# The upload and download speed in Mbps.
|
@@ -2117,7 +2759,7 @@ module Aws::NetworkManager
|
|
2117
2759
|
# @option params [String] :provider
|
2118
2760
|
# The provider of the link.
|
2119
2761
|
#
|
2120
|
-
#
|
2762
|
+
# Constraints: Maximum length of 128 characters.
|
2121
2763
|
#
|
2122
2764
|
# @return [Types::UpdateLinkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2123
2765
|
#
|
@@ -2163,6 +2805,47 @@ module Aws::NetworkManager
|
|
2163
2805
|
req.send_request(options)
|
2164
2806
|
end
|
2165
2807
|
|
2808
|
+
# Updates the resource metadata for the specified global network.
|
2809
|
+
#
|
2810
|
+
# @option params [required, String] :global_network_id
|
2811
|
+
# The ID of the global network.
|
2812
|
+
#
|
2813
|
+
# @option params [required, String] :resource_arn
|
2814
|
+
# The ARN of the resource.
|
2815
|
+
#
|
2816
|
+
# @option params [required, Hash<String,String>] :metadata
|
2817
|
+
# The resource metadata.
|
2818
|
+
#
|
2819
|
+
# @return [Types::UpdateNetworkResourceMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2820
|
+
#
|
2821
|
+
# * {Types::UpdateNetworkResourceMetadataResponse#resource_arn #resource_arn} => String
|
2822
|
+
# * {Types::UpdateNetworkResourceMetadataResponse#metadata #metadata} => Hash<String,String>
|
2823
|
+
#
|
2824
|
+
# @example Request syntax with placeholder values
|
2825
|
+
#
|
2826
|
+
# resp = client.update_network_resource_metadata({
|
2827
|
+
# global_network_id: "String", # required
|
2828
|
+
# resource_arn: "String", # required
|
2829
|
+
# metadata: { # required
|
2830
|
+
# "NetworkResourceMetadataKey" => "NetworkResourceMetadataValue",
|
2831
|
+
# },
|
2832
|
+
# })
|
2833
|
+
#
|
2834
|
+
# @example Response structure
|
2835
|
+
#
|
2836
|
+
# resp.resource_arn #=> String
|
2837
|
+
# resp.metadata #=> Hash
|
2838
|
+
# resp.metadata["NetworkResourceMetadataKey"] #=> String
|
2839
|
+
#
|
2840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateNetworkResourceMetadata AWS API Documentation
|
2841
|
+
#
|
2842
|
+
# @overload update_network_resource_metadata(params = {})
|
2843
|
+
# @param [Hash] params ({})
|
2844
|
+
def update_network_resource_metadata(params = {}, options = {})
|
2845
|
+
req = build_request(:update_network_resource_metadata, params)
|
2846
|
+
req.send_request(options)
|
2847
|
+
end
|
2848
|
+
|
2166
2849
|
# Updates the information for an existing site. To remove information
|
2167
2850
|
# for any of the parameters, specify an empty string.
|
2168
2851
|
#
|
@@ -2175,7 +2858,7 @@ module Aws::NetworkManager
|
|
2175
2858
|
# @option params [String] :description
|
2176
2859
|
# A description of your site.
|
2177
2860
|
#
|
2178
|
-
#
|
2861
|
+
# Constraints: Maximum length of 256 characters.
|
2179
2862
|
#
|
2180
2863
|
# @option params [Types::Location] :location
|
2181
2864
|
# The site location:
|
@@ -2240,7 +2923,7 @@ module Aws::NetworkManager
|
|
2240
2923
|
params: params,
|
2241
2924
|
config: config)
|
2242
2925
|
context[:gem_name] = 'aws-sdk-networkmanager'
|
2243
|
-
context[:gem_version] = '1.
|
2926
|
+
context[:gem_version] = '1.17.0'
|
2244
2927
|
Seahorse::Client::Request.new(handlers, context)
|
2245
2928
|
end
|
2246
2929
|
|