aws-sdk-networkmanager 1.14.0 → 1.18.0

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