Skip to main content

aws_sdk_mgn/client/
update_network_migration_mapper_segment.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 [`UpdateNetworkMigrationMapperSegment`](crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`network_migration_definition_id(impl Into<String>)`](crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::network_migration_definition_id) / [`set_network_migration_definition_id(Option<String>)`](crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::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::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::network_migration_execution_id) / [`set_network_migration_execution_id(Option<String>)`](crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::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::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::segment_id) / [`set_segment_id(Option<String>)`](crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::set_segment_id):<br>required: **true**<br><p>The unique identifier of the segment to update.</p><br>
9    ///   - [`scope_tags(impl Into<String>, impl Into<String>)`](crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::scope_tags) / [`set_scope_tags(Option<HashMap::<String, String>>)`](crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::set_scope_tags):<br>required: **false**<br><p>The updated scope tags for the segment.</p><br>
10    /// - On success, responds with [`UpdateNetworkMigrationMapperSegmentOutput`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput) with field(s):
11    ///   - [`job_id(Option<String>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::job_id): <p>The unique identifier of the job that created this segment.</p>
12    ///   - [`network_migration_execution_id(Option<String>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::network_migration_execution_id): <p>The unique identifier of the network migration execution.</p>
13    ///   - [`network_migration_definition_id(Option<String>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::network_migration_definition_id): <p>The unique identifier of the network migration definition.</p>
14    ///   - [`segment_id(Option<String>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::segment_id): <p>The unique identifier of the segment.</p>
15    ///   - [`segment_type(Option<NetworkMigrationMapperSegmentType>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::segment_type): <p>The category of the network migration segment. A segment groups the network constructs (such as VPCs, subnets, and security groups) that are migrated together. Valid values: <code>WORKLOAD</code>, <code>APPLIANCE</code>.</p>
16    ///   - [`name(Option<String>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::name): <p>The name of the segment.</p>
17    ///   - [`description(Option<String>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::description): <p>A description of the segment.</p>
18    ///   - [`logical_id(Option<String>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::logical_id): <p>The logical identifier for the segment in the infrastructure code.</p>
19    ///   - [`checksum(Option<Checksum>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::checksum): <p>The checksum of the segment data for integrity verification.</p>
20    ///   - [`output_s3_configuration(Option<S3Configuration>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::output_s3_configuration): <p>The S3 location where segment artifacts are stored.</p>
21    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::created_at): <p>The timestamp when the segment was created.</p>
22    ///   - [`updated_at(Option<DateTime>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::updated_at): <p>The timestamp when the segment was last updated.</p>
23    ///   - [`scope_tags(Option<HashMap::<String, String>>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::scope_tags): <p>Scope tags for the segment.</p>
24    ///   - [`target_account(Option<String>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::target_account): <p>The target AWS account where this segment will be deployed.</p>
25    ///   - [`referenced_segments(Option<Vec::<String>>)`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentOutput::referenced_segments): <p>A list of other segments that this segment depends on or references.</p>
26    /// - On failure, responds with [`SdkError<UpdateNetworkMigrationMapperSegmentError>`](crate::operation::update_network_migration_mapper_segment::UpdateNetworkMigrationMapperSegmentError)
27    pub fn update_network_migration_mapper_segment(
28        &self,
29    ) -> crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder {
30        crate::operation::update_network_migration_mapper_segment::builders::UpdateNetworkMigrationMapperSegmentFluentBuilder::new(
31            self.handle.clone(),
32        )
33    }
34}