delete_gateway_route
async
¶
delete_gateway_route(
gateway_route_name: ResourceName,
mesh_name: ResourceName,
virtual_gateway_name: ResourceName,
*,
config_overrides: Optional[AsyncAppMeshClientConfig] = None,
mesh_owner: Optional[AccountId] = None,
) -> DeleteGatewayRouteOutput
Deletes an existing gateway route.
Parameters:
-
gateway_route_name(ResourceName) –The name of the gateway route to delete.
-
mesh_name(ResourceName) –The name of the service mesh to delete the gateway route from.
-
virtual_gateway_name(ResourceName) –The name of the virtual gateway to delete the route from.
-
mesh_owner(Optional[AccountId], default:None) –The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
Raises:
-
BadRequestException–The request syntax was malformed. Check your request syntax and try again.
-
ForbiddenException–You don't have permissions to perform this action.
-
InternalServerErrorException–The request processing has failed because of an unknown error, exception, or failure.
-
NotFoundException–The specified resource doesn't exist. Check your request syntax and try again.
-
ResourceInUseException–You can't delete the specified resource because it's in use or required by another resource.
-
ServiceUnavailableException–The request has failed due to a temporary failure of the service.
-
TooManyRequestsException–The maximum request rate permitted by the App Mesh APIs has been exceeded for your account. For best results, use an increasing or variable sleep interval between requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_app_mesh/_services/async_app_mesh.py
1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 | |