Struct aws_sdk_wafv2::operation::get_logging_configuration::builders::GetLoggingConfigurationFluentBuilder
source · pub struct GetLoggingConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetLoggingConfiguration
.
Returns the LoggingConfiguration
for the specified web ACL.
Implementations§
source§impl GetLoggingConfigurationFluentBuilder
impl GetLoggingConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &GetLoggingConfigurationInputBuilder
pub fn as_input(&self) -> &GetLoggingConfigurationInputBuilder
Access the GetLoggingConfiguration as a reference.
sourcepub async fn send(
self,
) -> Result<GetLoggingConfigurationOutput, SdkError<GetLoggingConfigurationError, HttpResponse>>
pub async fn send( self, ) -> Result<GetLoggingConfigurationOutput, SdkError<GetLoggingConfigurationError, 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<GetLoggingConfigurationOutput, GetLoggingConfigurationError, Self>
pub fn customize( self, ) -> CustomizableOperation<GetLoggingConfigurationOutput, GetLoggingConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the web ACL for which you want to get the LoggingConfiguration
.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the web ACL for which you want to get the LoggingConfiguration
.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the web ACL for which you want to get the LoggingConfiguration
.
sourcepub fn log_type(self, input: LogType) -> Self
pub fn log_type(self, input: LogType) -> Self
Used to distinguish between various logging options. Currently, there is one option.
Default: WAF_LOGS
sourcepub fn set_log_type(self, input: Option<LogType>) -> Self
pub fn set_log_type(self, input: Option<LogType>) -> Self
Used to distinguish between various logging options. Currently, there is one option.
Default: WAF_LOGS
sourcepub fn get_log_type(&self) -> &Option<LogType>
pub fn get_log_type(&self) -> &Option<LogType>
Used to distinguish between various logging options. Currently, there is one option.
Default: WAF_LOGS
sourcepub fn log_scope(self, input: LogScope) -> Self
pub fn log_scope(self, input: LogScope) -> Self
The owner of the logging configuration, which must be set to CUSTOMER
for the configurations that you manage.
The log scope SECURITY_LAKE
indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see Collecting data from Amazon Web Services services in the Amazon Security Lake user guide.
Default: CUSTOMER
sourcepub fn set_log_scope(self, input: Option<LogScope>) -> Self
pub fn set_log_scope(self, input: Option<LogScope>) -> Self
The owner of the logging configuration, which must be set to CUSTOMER
for the configurations that you manage.
The log scope SECURITY_LAKE
indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see Collecting data from Amazon Web Services services in the Amazon Security Lake user guide.
Default: CUSTOMER
sourcepub fn get_log_scope(&self) -> &Option<LogScope>
pub fn get_log_scope(&self) -> &Option<LogScope>
The owner of the logging configuration, which must be set to CUSTOMER
for the configurations that you manage.
The log scope SECURITY_LAKE
indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see Collecting data from Amazon Web Services services in the Amazon Security Lake user guide.
Default: CUSTOMER
Trait Implementations§
source§impl Clone for GetLoggingConfigurationFluentBuilder
impl Clone for GetLoggingConfigurationFluentBuilder
source§fn clone(&self) -> GetLoggingConfigurationFluentBuilder
fn clone(&self) -> GetLoggingConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetLoggingConfigurationFluentBuilder
impl !RefUnwindSafe for GetLoggingConfigurationFluentBuilder
impl Send for GetLoggingConfigurationFluentBuilder
impl Sync for GetLoggingConfigurationFluentBuilder
impl Unpin for GetLoggingConfigurationFluentBuilder
impl !UnwindSafe for GetLoggingConfigurationFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more