Struct aws_sdk_networkfirewall::operation::update_tls_inspection_configuration::builders::UpdateTLSInspectionConfigurationFluentBuilder
source · pub struct UpdateTLSInspectionConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTLSInspectionConfiguration
.
Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by referencing it in one or more firewall policies. When you modify a TLS inspection configuration, you modify all firewall policies that use the TLS inspection configuration.
To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration
to retrieve the current TLSInspectionConfiguration
object, update the object as needed, and then provide the updated object to this call.
Implementations§
source§impl UpdateTLSInspectionConfigurationFluentBuilder
impl UpdateTLSInspectionConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTlsInspectionConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateTlsInspectionConfigurationInputBuilder
Access the UpdateTLSInspectionConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateTlsInspectionConfigurationOutput, SdkError<UpdateTLSInspectionConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateTlsInspectionConfigurationOutput, SdkError<UpdateTLSInspectionConfigurationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateTlsInspectionConfigurationOutput, UpdateTLSInspectionConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateTlsInspectionConfigurationOutput, UpdateTLSInspectionConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn tls_inspection_configuration_arn(self, input: impl Into<String>) -> Self
pub fn tls_inspection_configuration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the TLS inspection configuration.
sourcepub fn set_tls_inspection_configuration_arn(self, input: Option<String>) -> Self
pub fn set_tls_inspection_configuration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the TLS inspection configuration.
sourcepub fn get_tls_inspection_configuration_arn(&self) -> &Option<String>
pub fn get_tls_inspection_configuration_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the TLS inspection configuration.
sourcepub fn tls_inspection_configuration_name(self, input: impl Into<String>) -> Self
pub fn tls_inspection_configuration_name(self, input: impl Into<String>) -> Self
The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.
sourcepub fn set_tls_inspection_configuration_name(
self,
input: Option<String>
) -> Self
pub fn set_tls_inspection_configuration_name( self, input: Option<String> ) -> Self
The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.
sourcepub fn get_tls_inspection_configuration_name(&self) -> &Option<String>
pub fn get_tls_inspection_configuration_name(&self) -> &Option<String>
The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.
sourcepub fn tls_inspection_configuration(
self,
input: TlsInspectionConfiguration
) -> Self
pub fn tls_inspection_configuration( self, input: TlsInspectionConfiguration ) -> Self
The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse
, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration
.
Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.
To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
sourcepub fn set_tls_inspection_configuration(
self,
input: Option<TlsInspectionConfiguration>
) -> Self
pub fn set_tls_inspection_configuration( self, input: Option<TlsInspectionConfiguration> ) -> Self
The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse
, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration
.
Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.
To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
sourcepub fn get_tls_inspection_configuration(
&self
) -> &Option<TlsInspectionConfiguration>
pub fn get_tls_inspection_configuration( &self ) -> &Option<TlsInspectionConfiguration>
The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse
, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration
.
Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.
To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the TLS inspection configuration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the TLS inspection configuration.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the TLS inspection configuration.
sourcepub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
pub fn encryption_configuration(self, input: EncryptionConfiguration) -> Self
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your TLS inspection configuration.
sourcepub fn set_encryption_configuration(
self,
input: Option<EncryptionConfiguration>
) -> Self
pub fn set_encryption_configuration( self, input: Option<EncryptionConfiguration> ) -> Self
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your TLS inspection configuration.
sourcepub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
pub fn get_encryption_configuration(&self) -> &Option<EncryptionConfiguration>
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your TLS inspection configuration.
sourcepub fn update_token(self, input: impl Into<String>) -> Self
pub fn update_token(self, input: impl Into<String>) -> Self
A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.
To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the TLS inspection 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.
sourcepub fn set_update_token(self, input: Option<String>) -> Self
pub fn set_update_token(self, input: Option<String>) -> Self
A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.
To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the TLS inspection 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.
sourcepub fn get_update_token(&self) -> &Option<String>
pub fn get_update_token(&self) -> &Option<String>
A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.
To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the TLS inspection 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.
Trait Implementations§
source§impl Clone for UpdateTLSInspectionConfigurationFluentBuilder
impl Clone for UpdateTLSInspectionConfigurationFluentBuilder
source§fn clone(&self) -> UpdateTLSInspectionConfigurationFluentBuilder
fn clone(&self) -> UpdateTLSInspectionConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more