aws-sdk-lambdacore 1.0.0

AWS SDK for AWS Lambda Core
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetNetworkConnector`](crate::operation::get_network_connector::builders::GetNetworkConnectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_network_connector::builders::GetNetworkConnectorFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_network_connector::builders::GetNetworkConnectorFluentBuilder::set_identifier):<br>required: **true**<br>A flexible identifier that accepts a network connector ID, name, or ARN<br>
    /// - On success, responds with [`GetNetworkConnectorOutput`](crate::operation::get_network_connector::GetNetworkConnectorOutput) with field(s):
    ///   - [`arn(String)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::arn): <p>The Amazon Resource Name (ARN) of the network connector.</p>
    ///   - [`name(String)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::name): <p>The name of the network connector.</p>
    ///   - [`id(String)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::id): The unique identifier for a network connector, assigned by the service at creation time
    ///   - [`version(Option<i64>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::version): <p>The version number of the connector configuration, incremented on each update.</p>
    ///   - [`configuration(Option<NetworkConnectorConfiguration>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::configuration): <p>The network configuration of the connector, including VPC subnets and security groups.</p>
    ///   - [`operator_role(Option<String>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::operator_role): <p>The ARN of the IAM role that Lambda uses to manage the underlying ENI resources for this connector.</p>
    ///   - [`state(Option<NetworkConnectorState>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::state): <p>The current state of the network connector.</p>
    ///   - [`state_reason(Option<String>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::state_reason): <p>A human-readable explanation of the current state, populated when the state is <code>FAILED</code> or <code>DELETE_FAILED</code>.</p>
    ///   - [`state_reason_code(Option<NetworkConnectorStateReasonCode>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::state_reason_code): <p>A machine-readable code indicating the reason for the current state. Use this for programmatic error handling.</p>
    ///   - [`last_update_status(Option<NetworkConnectorLastUpdateStatus>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::last_update_status): <p>The status of the most recent update operation (<code>Successful</code>, <code>Failed</code>, or <code>InProgress</code>).</p>
    ///   - [`last_update_status_reason(Option<String>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::last_update_status_reason): <p>A human-readable explanation of the last update status.</p>
    ///   - [`last_update_status_reason_code(Option<NetworkConnectorLastUpdateStatusReasonCode>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::last_update_status_reason_code): <p>A machine-readable code indicating the reason for the last update status. Use this for programmatic error handling.</p>
    ///   - [`last_modified(Option<DateTime>)`](crate::operation::get_network_connector::GetNetworkConnectorOutput::last_modified): <p>The date and time when the connector configuration was last modified.</p>
    /// - On failure, responds with [`SdkError<GetNetworkConnectorError>`](crate::operation::get_network_connector::GetNetworkConnectorError)
    pub fn get_network_connector(&self) -> crate::operation::get_network_connector::builders::GetNetworkConnectorFluentBuilder {
        crate::operation::get_network_connector::builders::GetNetworkConnectorFluentBuilder::new(self.handle.clone())
    }
}