get_network_resource_relationships
¶
get_network_resource_relationships(
global_network_id: GlobalNetworkId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
core_network_id: Optional[CoreNetworkId] = None,
registered_gateway_arn: Optional[ResourceArn] = None,
aws_region: Optional[ExternalRegionCode] = None,
account_id: Optional[AWSAccountId] = None,
resource_type: Optional[ConstrainedString] = None,
resource_arn: Optional[ResourceArn] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> GetNetworkResourceRelationshipsResponse
Gets the network resource relationships for the specified global network.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network.
-
core_network_id(Optional[CoreNetworkId], default:None) –The ID of a core network.
-
registered_gateway_arn(Optional[ResourceArn], default:None) –The ARN of the registered gateway.
-
aws_region(Optional[ExternalRegionCode], default:None) –The Amazon Web Services Region.
-
account_id(Optional[AWSAccountId], default:None) –The Amazon Web Services account ID.
-
resource_type(Optional[ConstrainedString], default:None) –The resource type.
The following are the supported resource types for Direct Connect:
-
dxcon -
dx-gateway -
dx-vif
The following are the supported resource types for Network Manager:
-
attachment -
connect-peer -
connection -
core-network -
device -
link -
peering -
site
The following are the supported resource types for Amazon VPC:
-
customer-gateway -
transit-gateway -
transit-gateway-attachment -
transit-gateway-connect-peer -
transit-gateway-route-table -
vpn-connection
-
-
resource_arn(Optional[ResourceArn], default:None) –The ARN of the gateway.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkmanager/_services/network_manager.py
4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 | |