aws_sdk_tnb/client/
update_sol_network_instance.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 [`UpdateSolNetworkInstance`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ns_instance_id(impl Into<String>)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::ns_instance_id) / [`set_ns_instance_id(Option<String>)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::set_ns_instance_id):<br>required: **true**<br><p>ID of the network instance.</p><br>
7    ///   - [`update_type(UpdateSolNetworkType)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::update_type) / [`set_update_type(Option<UpdateSolNetworkType>)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::set_update_type):<br>required: **true**<br><p>The type of update.</p> <ul>  <li>   <p>Use the <code>MODIFY_VNF_INFORMATION</code> update type, to update a specific network function configuration, in the network instance.</p></li>  <li>   <p>Use the <code>UPDATE_NS</code> update type, to update the network instance to a new network service descriptor.</p></li> </ul><br>
8    ///   - [`modify_vnf_info_data(UpdateSolNetworkModify)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::modify_vnf_info_data) / [`set_modify_vnf_info_data(Option<UpdateSolNetworkModify>)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::set_modify_vnf_info_data):<br>required: **false**<br><p>Identifies the network function information parameters and/or the configurable properties of the network function to be modified.</p> <p>Include this property only if the update type is <code>MODIFY_VNF_INFORMATION</code>.</p><br>
9    ///   - [`update_ns(UpdateSolNetworkServiceData)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::update_ns) / [`set_update_ns(Option<UpdateSolNetworkServiceData>)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::set_update_ns):<br>required: **false**<br><p>Identifies the network service descriptor and the configurable properties of the descriptor, to be used for the update.</p> <p>Include this property only if the update type is <code>UPDATE_NS</code>.</p><br>
10    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::set_tags):<br>required: **false**<br><p>A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are only applied to the network operation that is created. These tags are not applied to the network instance. Use tags to search and filter your resources or track your Amazon Web Services costs.</p><br>
11    /// - On success, responds with [`UpdateSolNetworkInstanceOutput`](crate::operation::update_sol_network_instance::UpdateSolNetworkInstanceOutput) with field(s):
12    ///   - [`ns_lcm_op_occ_id(Option<String>)`](crate::operation::update_sol_network_instance::UpdateSolNetworkInstanceOutput::ns_lcm_op_occ_id): <p>The identifier of the network operation.</p>
13    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::update_sol_network_instance::UpdateSolNetworkInstanceOutput::tags): <p>A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are only applied to the network operation that is created. These tags are not applied to the network instance. Use tags to search and filter your resources or track your Amazon Web Services costs.</p>
14    /// - On failure, responds with [`SdkError<UpdateSolNetworkInstanceError>`](crate::operation::update_sol_network_instance::UpdateSolNetworkInstanceError)
15    pub fn update_sol_network_instance(&self) -> crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder {
16        crate::operation::update_sol_network_instance::builders::UpdateSolNetworkInstanceFluentBuilder::new(self.handle.clone())
17    }
18}