Struct aws_sdk_amplify::operation::generate_access_logs::builders::GenerateAccessLogsFluentBuilder
source · pub struct GenerateAccessLogsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GenerateAccessLogs.
Returns the website access logs for a specific time range using a presigned URL.
Implementations§
source§impl GenerateAccessLogsFluentBuilder
impl GenerateAccessLogsFluentBuilder
sourcepub fn as_input(&self) -> &GenerateAccessLogsInputBuilder
pub fn as_input(&self) -> &GenerateAccessLogsInputBuilder
Access the GenerateAccessLogs as a reference.
sourcepub async fn send(
self
) -> Result<GenerateAccessLogsOutput, SdkError<GenerateAccessLogsError, HttpResponse>>
pub async fn send( self ) -> Result<GenerateAccessLogsOutput, SdkError<GenerateAccessLogsError, 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<GenerateAccessLogsOutput, GenerateAccessLogsError, Self>
pub fn customize( self ) -> CustomizableOperation<GenerateAccessLogsOutput, GenerateAccessLogsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time at which the logs should start. The time range specified is inclusive of the start time.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time at which the logs should start. The time range specified is inclusive of the start time.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The time at which the logs should start. The time range specified is inclusive of the start time.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The time at which the logs should end. The time range specified is inclusive of the end time.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time at which the logs should end. The time range specified is inclusive of the end time.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The time at which the logs should end. The time range specified is inclusive of the end time.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain.
sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The unique ID for an Amplify app.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID for an Amplify app.
Trait Implementations§
source§impl Clone for GenerateAccessLogsFluentBuilder
impl Clone for GenerateAccessLogsFluentBuilder
source§fn clone(&self) -> GenerateAccessLogsFluentBuilder
fn clone(&self) -> GenerateAccessLogsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more