#[non_exhaustive]pub struct UpdateRealtimeLogConfigInput { /* private fields */ }
Implementations§
source§impl UpdateRealtimeLogConfigInput
impl UpdateRealtimeLogConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRealtimeLogConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRealtimeLogConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateRealtimeLogConfig
>
Examples found in repository?
src/client.rs (line 9603)
9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateRealtimeLogConfig,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateRealtimeLogConfigError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateRealtimeLogConfigOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateRealtimeLogConfigError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateRealtimeLogConfigInput
.
source§impl UpdateRealtimeLogConfigInput
impl UpdateRealtimeLogConfigInput
sourcepub fn end_points(&self) -> Option<&[EndPoint]>
pub fn end_points(&self) -> Option<&[EndPoint]>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
sourcepub fn fields(&self) -> Option<&[String]>
pub fn fields(&self) -> Option<&[String]>
A list of fields to include in each real-time log record.
For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for this real-time log configuration.
sourcepub fn sampling_rate(&self) -> Option<i64>
pub fn sampling_rate(&self) -> Option<i64>
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive.
Trait Implementations§
source§impl Clone for UpdateRealtimeLogConfigInput
impl Clone for UpdateRealtimeLogConfigInput
source§fn clone(&self) -> UpdateRealtimeLogConfigInput
fn clone(&self) -> UpdateRealtimeLogConfigInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more