list_network_migration_insights
¶
list_network_migration_insights(
network_migration_definition_id: NetworkMigrationDefinitionID,
*,
config_overrides: Optional[mgnClientConfig] = 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
>>> 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/mgn.py
4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 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 | |