Struct aws_sdk_amplify::client::fluent_builders::GenerateAccessLogs
source · pub struct GenerateAccessLogs { /* 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 GenerateAccessLogs
impl GenerateAccessLogs
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GenerateAccessLogs, AwsResponseRetryClassifier>, SdkError<GenerateAccessLogsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GenerateAccessLogs, AwsResponseRetryClassifier>, SdkError<GenerateAccessLogsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GenerateAccessLogsOutput, SdkError<GenerateAccessLogsError>>
pub async fn send(
self
) -> Result<GenerateAccessLogsOutput, SdkError<GenerateAccessLogsError>>
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 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 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 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 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.
Trait Implementations§
source§impl Clone for GenerateAccessLogs
impl Clone for GenerateAccessLogs
source§fn clone(&self) -> GenerateAccessLogs
fn clone(&self) -> GenerateAccessLogs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more