Struct aws_sdk_xray::client::fluent_builders::GetSamplingTargets
source · pub struct GetSamplingTargets { /* private fields */ }
Expand description
Fluent builder constructing a request to GetSamplingTargets
.
Requests a sampling quota for rules that the service is using to sample requests.
Implementations§
source§impl GetSamplingTargets
impl GetSamplingTargets
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetSamplingTargets, AwsResponseRetryClassifier>, SdkError<GetSamplingTargetsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetSamplingTargets, AwsResponseRetryClassifier>, SdkError<GetSamplingTargetsError>>
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<GetSamplingTargetsOutput, SdkError<GetSamplingTargetsError>>
pub async fn send(
self
) -> Result<GetSamplingTargetsOutput, SdkError<GetSamplingTargetsError>>
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 sampling_statistics_documents(
self,
input: SamplingStatisticsDocument
) -> Self
pub fn sampling_statistics_documents(
self,
input: SamplingStatisticsDocument
) -> Self
Appends an item to SamplingStatisticsDocuments
.
To override the contents of this collection use set_sampling_statistics_documents
.
Information about rules that the service is using to sample requests.
sourcepub fn set_sampling_statistics_documents(
self,
input: Option<Vec<SamplingStatisticsDocument>>
) -> Self
pub fn set_sampling_statistics_documents(
self,
input: Option<Vec<SamplingStatisticsDocument>>
) -> Self
Information about rules that the service is using to sample requests.
Trait Implementations§
source§impl Clone for GetSamplingTargets
impl Clone for GetSamplingTargets
source§fn clone(&self) -> GetSamplingTargets
fn clone(&self) -> GetSamplingTargets
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more