Skip to main content

aws_sdk_mgn/client/
get_network_migration_mapper_segment_construct.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetNetworkMigrationMapperSegmentConstruct`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`network_migration_definition_id(impl Into<String>)`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::network_migration_definition_id) / [`set_network_migration_definition_id(Option<String>)`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::set_network_migration_definition_id):<br>required: **true**<br><p>The unique identifier of the network migration definition.</p><br>
7    ///   - [`network_migration_execution_id(impl Into<String>)`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::network_migration_execution_id) / [`set_network_migration_execution_id(Option<String>)`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::set_network_migration_execution_id):<br>required: **true**<br><p>The unique identifier of the network migration execution.</p><br>
8    ///   - [`segment_id(impl Into<String>)`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::segment_id) / [`set_segment_id(Option<String>)`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::set_segment_id):<br>required: **true**<br><p>The unique identifier of the mapper segment.</p><br>
9    ///   - [`construct_id(impl Into<String>)`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::construct_id) / [`set_construct_id(Option<String>)`](crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::set_construct_id):<br>required: **true**<br><p>The unique identifier of the construct within the segment.</p><br>
10    /// - On success, responds with [`GetNetworkMigrationMapperSegmentConstructOutput`](crate::operation::get_network_migration_mapper_segment_construct::GetNetworkMigrationMapperSegmentConstructOutput) with field(s):
11    ///   - [`construct(Option<NetworkMigrationMapperSegmentConstruct>)`](crate::operation::get_network_migration_mapper_segment_construct::GetNetworkMigrationMapperSegmentConstructOutput::construct): <p>The construct metadata including type, name, and configuration.</p>
12    /// - On failure, responds with [`SdkError<GetNetworkMigrationMapperSegmentConstructError>`](crate::operation::get_network_migration_mapper_segment_construct::GetNetworkMigrationMapperSegmentConstructError)
13    pub fn get_network_migration_mapper_segment_construct(
14        &self,
15    ) -> crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder {
16        crate::operation::get_network_migration_mapper_segment_construct::builders::GetNetworkMigrationMapperSegmentConstructFluentBuilder::new(
17            self.handle.clone(),
18        )
19    }
20}