NAME
Paws::XRay::GetSamplingTargets - Arguments for method GetSamplingTargets on Paws::XRay
DESCRIPTION
This class represents the parameters used for calling the method GetSamplingTargets on the AWS X-Ray service. Use the attributes of this class as arguments to method GetSamplingTargets.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetSamplingTargets.
SYNOPSIS
my $xray = Paws->service('XRay');
my $GetSamplingTargetsResult = $xray->GetSamplingTargets(
SamplingStatisticsDocuments => [
{
ClientID => 'MyClientID', # min: 24, max: 24
RequestCount => 1,
RuleName => 'MyRuleName', # min: 1, max: 32
SampledCount => 1,
Timestamp => '1970-01-01T01:00:00',
BorrowCount => 1, # OPTIONAL
},
...
],
);
# Results:
my $LastRuleModification = $GetSamplingTargetsResult->LastRuleModification;
my $SamplingTargetDocuments =
$GetSamplingTargetsResult->SamplingTargetDocuments;
my $UnprocessedStatistics =
$GetSamplingTargetsResult->UnprocessedStatistics;
# Returns a L<Paws::XRay::GetSamplingTargetsResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/xray/GetSamplingTargets
ATTRIBUTES
REQUIRED SamplingStatisticsDocuments => ArrayRef[Paws::XRay::SamplingStatisticsDocument]
Information about rules that the service is using to sample requests.
SEE ALSO
This class forms part of Paws, documenting arguments for method GetSamplingTargets in Paws::XRay
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues