NetworkManager.Client.get_network_resource_relationships(**kwargs)¶Gets the network resource relationships for the specified global network.
See also: AWS API Documentation
Request Syntax
response = client.get_network_resource_relationships(
GlobalNetworkId='string',
CoreNetworkId='string',
RegisteredGatewayArn='string',
AwsRegion='string',
AccountId='string',
ResourceType='string',
ResourceArn='string',
MaxResults=123,
NextToken='string'
)
[REQUIRED]
The ID of the global network.
The resource type.
The following are the supported resource types for Direct Connect:
dxcondx-gatewaydx-vifThe following are the supported resource types for Network Manager:
connectiondevicelinksiteThe following are the supported resource types for Amazon VPC:
customer-gatewaytransit-gatewaytransit-gateway-attachmenttransit-gateway-connect-peertransit-gateway-route-tablevpn-connectiondict
Response Syntax
{
'Relationships': [
{
'From': 'string',
'To': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Relationships (list) --
The resource relationships.
(dict) --
Describes a resource relationship.
From (string) --
The ARN of the resource.
To (string) --
The ARN of the resource.
NextToken (string) --
The token for the next page of results.
Exceptions
NetworkManager.Client.exceptions.ValidationExceptionNetworkManager.Client.exceptions.AccessDeniedExceptionNetworkManager.Client.exceptions.ResourceNotFoundExceptionNetworkManager.Client.exceptions.ThrottlingExceptionNetworkManager.Client.exceptions.InternalServerException