aws_sdk_mgn/client/update_network_migration_definition.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 [`UpdateNetworkMigrationDefinition`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`network_migration_definition_id(impl Into<String>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::network_migration_definition_id) / [`set_network_migration_definition_id(Option<String>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_network_migration_definition_id):<br>required: **true**<br><p>The unique identifier of the network migration definition to update.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_name):<br>required: **false**<br><p>The updated name of the network migration definition.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_description):<br>required: **false**<br><p>The updated description of the network migration definition.</p><br>
9 /// - [`source_configurations(SourceConfiguration)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::source_configurations) / [`set_source_configurations(Option<Vec::<SourceConfiguration>>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_source_configurations):<br>required: **false**<br><p>The updated list of source configurations.</p><br>
10 /// - [`target_s3_configuration(TargetS3ConfigurationUpdate)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::target_s3_configuration) / [`set_target_s3_configuration(Option<TargetS3ConfigurationUpdate>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_target_s3_configuration):<br>required: **false**<br><p>The updated S3 configuration for storing the target network artifacts.</p><br>
11 /// - [`target_network(TargetNetworkUpdate)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::target_network) / [`set_target_network(Option<TargetNetworkUpdate>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_target_network):<br>required: **false**<br><p>The updated target network configuration.</p><br>
12 /// - [`target_deployment(TargetDeployment)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::target_deployment) / [`set_target_deployment(Option<TargetDeployment>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_target_deployment):<br>required: **false**<br><p>The updated target deployment configuration.</p><br>
13 /// - [`vpc_provisioning_strategy(VpcProvisioningStrategy)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::vpc_provisioning_strategy) / [`set_vpc_provisioning_strategy(Option<VpcProvisioningStrategy>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_vpc_provisioning_strategy):<br>required: **false**<br><p>Updates whether the migration creates new target VPCs or uses existing ones. Set to <code>USE_EXISTING</code> to migrate into existing VPCs in the target account, or to <code>CREATE_NEW</code> to provision new target VPCs.</p><br>
14 /// - [`cidr_mappings(CidrMapping)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::cidr_mappings) / [`set_cidr_mappings(Option<Vec::<CidrMapping>>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_cidr_mappings):<br>required: **false**<br><p>The updated list of CIDR mappings that map original source CIDR ranges to updated target CIDR ranges. CIDR mappings can be provided only when <code>vpcProvisioningStrategy</code> is set to <code>USE_EXISTING</code>.</p><br>
15 /// - [`scope_tags(impl Into<String>, impl Into<String>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::scope_tags) / [`set_scope_tags(Option<HashMap::<String, String>>)`](crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::set_scope_tags):<br>required: **false**<br><p>The updated scope tags for the network migration definition.</p><br>
16 /// - On success, responds with [`UpdateNetworkMigrationDefinitionOutput`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput) with field(s):
17 /// - [`arn(Option<String>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::arn): <p>The Amazon Resource Name (ARN) of the network migration definition.</p>
18 /// - [`network_migration_definition_id(Option<String>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::network_migration_definition_id): <p>The unique identifier of the network migration definition.</p>
19 /// - [`name(Option<String>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::name): <p>The name of the network migration definition.</p>
20 /// - [`description(Option<String>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::description): <p>A description of the network migration definition.</p>
21 /// - [`source_configurations(Option<Vec::<SourceConfiguration>>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::source_configurations): <p>A list of source configurations for the network migration.</p>
22 /// - [`target_s3_configuration(Option<TargetS3Configuration>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::target_s3_configuration): <p>The S3 configuration for storing the target network artifacts.</p>
23 /// - [`target_network(Option<TargetNetwork>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::target_network): <p>The target network configuration including topology and CIDR ranges.</p>
24 /// - [`target_deployment(Option<TargetDeployment>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::target_deployment): <p>The target deployment configuration for the migrated network.</p>
25 /// - [`vpc_provisioning_strategy(Option<VpcProvisioningStrategy>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::vpc_provisioning_strategy): <p>Indicates whether the migration creates new target VPCs or uses existing ones. <code>CREATE_NEW</code> provisions new target VPCs; <code>USE_EXISTING</code> migrates into existing VPCs in the target account.</p>
26 /// - [`cidr_mappings(Option<Vec::<CidrMapping>>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::cidr_mappings): <p>A list of CIDR mappings that map original source CIDR ranges to updated target CIDR ranges. CIDR mappings apply only when <code>vpcProvisioningStrategy</code> is set to <code>USE_EXISTING</code>.</p>
27 /// - [`created_at(Option<DateTime>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::created_at): <p>The timestamp when the network migration definition was created.</p>
28 /// - [`updated_at(Option<DateTime>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::updated_at): <p>The timestamp when the network migration definition was last updated.</p>
29 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::tags): <p>Tags assigned to the network migration definition.</p>
30 /// - [`scope_tags(Option<HashMap::<String, String>>)`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionOutput::scope_tags): <p>Scope tags for the network migration definition.</p>
31 /// - On failure, responds with [`SdkError<UpdateNetworkMigrationDefinitionError>`](crate::operation::update_network_migration_definition::UpdateNetworkMigrationDefinitionError)
32 pub fn update_network_migration_definition(
33 &self,
34 ) -> crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder {
35 crate::operation::update_network_migration_definition::builders::UpdateNetworkMigrationDefinitionFluentBuilder::new(self.handle.clone())
36 }
37}