aws_sdk_networkfirewall/client/
describe_proxy_configuration.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 [`DescribeProxyConfiguration`](crate::operation::describe_proxy_configuration::builders::DescribeProxyConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`proxy_configuration_name(impl Into<String>)`](crate::operation::describe_proxy_configuration::builders::DescribeProxyConfigurationFluentBuilder::proxy_configuration_name) / [`set_proxy_configuration_name(Option<String>)`](crate::operation::describe_proxy_configuration::builders::DescribeProxyConfigurationFluentBuilder::set_proxy_configuration_name):<br>required: **false**<br><p>The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.</p> <p>You must specify the ARN or the name, and you can specify both.</p><br>
7    ///   - [`proxy_configuration_arn(impl Into<String>)`](crate::operation::describe_proxy_configuration::builders::DescribeProxyConfigurationFluentBuilder::proxy_configuration_arn) / [`set_proxy_configuration_arn(Option<String>)`](crate::operation::describe_proxy_configuration::builders::DescribeProxyConfigurationFluentBuilder::set_proxy_configuration_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of a proxy configuration.</p> <p>You must specify the ARN or the name, and you can specify both.</p><br>
8    /// - On success, responds with [`DescribeProxyConfigurationOutput`](crate::operation::describe_proxy_configuration::DescribeProxyConfigurationOutput) with field(s):
9    ///   - [`proxy_configuration(Option<ProxyConfiguration>)`](crate::operation::describe_proxy_configuration::DescribeProxyConfigurationOutput::proxy_configuration): <p>The configuration for the specified proxy configuration.</p>
10    ///   - [`update_token(Option<String>)`](crate::operation::describe_proxy_configuration::DescribeProxyConfigurationOutput::update_token): <p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.</p> <p>To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.</p>
11    /// - On failure, responds with [`SdkError<DescribeProxyConfigurationError>`](crate::operation::describe_proxy_configuration::DescribeProxyConfigurationError)
12    pub fn describe_proxy_configuration(&self) -> crate::operation::describe_proxy_configuration::builders::DescribeProxyConfigurationFluentBuilder {
13        crate::operation::describe_proxy_configuration::builders::DescribeProxyConfigurationFluentBuilder::new(self.handle.clone())
14    }
15}