Struct aws_sdk_xray::operation::get_sampling_targets::builders::GetSamplingTargetsFluentBuilder
source · pub struct GetSamplingTargetsFluentBuilder { /* 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 GetSamplingTargetsFluentBuilder
impl GetSamplingTargetsFluentBuilder
sourcepub fn as_input(&self) -> &GetSamplingTargetsInputBuilder
pub fn as_input(&self) -> &GetSamplingTargetsInputBuilder
Access the GetSamplingTargets as a reference.
sourcepub async fn send(
self
) -> Result<GetSamplingTargetsOutput, SdkError<GetSamplingTargetsError, HttpResponse>>
pub async fn send( self ) -> Result<GetSamplingTargetsOutput, SdkError<GetSamplingTargetsError, 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<GetSamplingTargetsOutput, GetSamplingTargetsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetSamplingTargetsOutput, GetSamplingTargetsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
sourcepub fn get_sampling_statistics_documents(
&self
) -> &Option<Vec<SamplingStatisticsDocument>>
pub fn get_sampling_statistics_documents( &self ) -> &Option<Vec<SamplingStatisticsDocument>>
Information about rules that the service is using to sample requests.
Trait Implementations§
source§impl Clone for GetSamplingTargetsFluentBuilder
impl Clone for GetSamplingTargetsFluentBuilder
source§fn clone(&self) -> GetSamplingTargetsFluentBuilder
fn clone(&self) -> GetSamplingTargetsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more