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
3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 | |