aws_sdk_tnb/client/
get_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 [`GetSolNetworkInstance`](crate::operation::get_sol_network_instance::builders::GetSolNetworkInstanceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ns_instance_id(impl Into<String>)`](crate::operation::get_sol_network_instance::builders::GetSolNetworkInstanceFluentBuilder::ns_instance_id) / [`set_ns_instance_id(Option<String>)`](crate::operation::get_sol_network_instance::builders::GetSolNetworkInstanceFluentBuilder::set_ns_instance_id):<br>required: **true**<br><p>ID of the network instance.</p><br>
7    /// - On success, responds with [`GetSolNetworkInstanceOutput`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput) with field(s):
8    ///   - [`id(String)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::id): <p>Network instance ID.</p>
9    ///   - [`arn(String)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::arn): <p>Network instance ARN.</p>
10    ///   - [`ns_instance_name(String)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::ns_instance_name): <p>Network instance name.</p>
11    ///   - [`ns_instance_description(String)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::ns_instance_description): <p>Network instance description.</p>
12    ///   - [`nsd_id(String)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::nsd_id): <p>Network service descriptor ID.</p>
13    ///   - [`nsd_info_id(String)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::nsd_info_id): <p>Network service descriptor info ID.</p>
14    ///   - [`ns_state(Option<NsState>)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::ns_state): <p>Network instance state.</p>
15    ///   - [`lcm_op_info(Option<LcmOperationInfo>)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::lcm_op_info): <p>Lifecycle management operation details on the network instance.</p> <p>Lifecycle management operations are deploy, update, or delete operations.</p>
16    ///   - [`metadata(Option<GetSolNetworkInstanceMetadata>)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::metadata): <p>The metadata of a network instance.</p> <p>A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.</p>
17    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceOutput::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. You can use tags to search and filter your resources or track your Amazon Web Services costs.</p>
18    /// - On failure, responds with [`SdkError<GetSolNetworkInstanceError>`](crate::operation::get_sol_network_instance::GetSolNetworkInstanceError)
19    pub fn get_sol_network_instance(&self) -> crate::operation::get_sol_network_instance::builders::GetSolNetworkInstanceFluentBuilder {
20        crate::operation::get_sol_network_instance::builders::GetSolNetworkInstanceFluentBuilder::new(self.handle.clone())
21    }
22}