get_network_resources
async
¶
get_network_resources(
global_network_id: GlobalNetworkId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = 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,
) -> GetNetworkResourcesResponse
Describes the network resources for the specified global network.
The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.
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 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 resource.
-
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/async_network_manager.py
5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 | |