list_network_migration_insights
async
¶
list_network_migration_insights(
network_migration_definition_id: NetworkMigrationDefinitionID,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
network_migration_execution_id: Optional[NetworkMigrationExecutionID] = None,
producer_id: Optional[InsightProducerID] = None,
segment_id: Optional[SegmentID] = None,
construct_id: Optional[ConstructID] = None,
filters: Optional[ListNetworkMigrationInsightsFilters] = None,
max_results: Optional[MaxResultsType] = None,
next_token: Optional[PaginationToken] = None,
) -> ListNetworkMigrationInsightsResponse
Lists network migration insights for a network migration definition.
Parameters:
-
network_migration_definition_id(NetworkMigrationDefinitionID) –The unique identifier of the network migration definition.
-
network_migration_execution_id(Optional[NetworkMigrationExecutionID], default:None) –The unique identifier of the network migration execution to narrow the results to.
-
producer_id(Optional[InsightProducerID], default:None) –The identifier of the job or API request to narrow the results to.
-
segment_id(Optional[SegmentID], default:None) –The unique identifier of the segment to narrow the results to.
-
construct_id(Optional[ConstructID], default:None) –The unique identifier of the construct to narrow the results to.
-
filters(Optional[ListNetworkMigrationInsightsFilters], default:None) –Filters to apply when listing insights.
-
max_results(Optional[MaxResultsType], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[PaginationToken], default:None) –The token for the next page of results.
Raises:
-
AccessDeniedException–Operation denied due to a file permission or access check error.
-
ResourceNotFoundException–Resource not found exception.
-
ThrottlingException–Reached throttling quota exception.
-
ValidationException–Validate exception.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List the WARNING insights a mapping job recorded for one construct
>>> await client.list_network_migration_insights(network_migration_definition_id='nmd-54cf850b22f7cf65e', network_migration_execution_id='b1235ba8-398e-4ef0-b803-78c8c85b5021', producer_id='f7aa9266-b070-421b-a630-e503783b7f12', filters={'insightTypes': ['WARNING']})
Source code in docs_src/capo_mgn/_services/async_mgn.py
4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 | |