list_network_migration_mapper_segment_constructs
async
¶
list_network_migration_mapper_segment_constructs(
network_migration_execution_id: NetworkMigrationExecutionID,
network_migration_definition_id: NetworkMigrationDefinitionID,
segment_id: SegmentID,
*,
config_overrides: Optional[AsyncmgnClientConfig] = None,
filters: Optional[ListNetworkMigrationMapperSegmentConstructsFilters] = None,
max_results: Optional[MaxResultsType] = None,
next_token: Optional[PaginationToken] = None,
) -> ListNetworkMigrationMapperSegmentConstructsResponse
Lists constructs within a mapper segment, representing individual infrastructure components like VPCs, subnets, or security groups.
Parameters:
-
network_migration_execution_id(NetworkMigrationExecutionID) –The unique identifier of the network migration execution.
-
network_migration_definition_id(NetworkMigrationDefinitionID) –The unique identifier of the network migration definition.
-
segment_id(SegmentID) –The unique identifier of the segment to list constructs for.
-
filters(Optional[ListNetworkMigrationMapperSegmentConstructsFilters], default:None) –Filters to apply when listing constructs, such as construct type or ID.
-
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:
Sample ListNetworkMigrationMapperSegmentConstructs call with properties enabled
>>> await client.list_network_migration_mapper_segment_constructs(network_migration_execution_id='01234567-abcd-abcd-abcd-0123456789ab', network_migration_definition_id='nmd-01234567891234567', segment_id='12345678-abcd-abcd-efab-0123456789ab')
Sample ListNetworkMigrationMapperSegmentConstructs call with properties disabled (default)
>>> await client.list_network_migration_mapper_segment_constructs(network_migration_execution_id='01234567-abcd-abcd-abcd-0123456789ab', network_migration_definition_id='nmd-01234567891234567', segment_id='12345678-abcd-abcd-efab-0123456789ab')
Source code in docs_src/capo_mgn/_services/async_mgn.py
4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 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 | |