« blib/lib/Paws/XRay/UpdateGroupResult.pm
↑ Summary
blib/lib/Paws/XRay/UpdateSamplingRuleResult.pm »
| 1 | |||
| 2 | package Paws::XRay::UpdateSamplingRule; | ||
| 3 | use Moose; | ||
| 4 | has SamplingRuleUpdate => (is => 'ro', isa => 'Paws::XRay::SamplingRuleUpdate', required => 1); | ||
| 5 | |||
| 6 | use MooseX::ClassAttribute; | ||
| 7 | |||
| 8 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateSamplingRule'); | ||
| 9 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/UpdateSamplingRule'); | ||
| 10 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::XRay::UpdateSamplingRuleResult'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::XRay::UpdateSamplingRule - Arguments for method UpdateSamplingRule on L<Paws::XRay> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method UpdateSamplingRule on the | ||
| 23 | L<AWS X-Ray|Paws::XRay> service. Use the attributes of this class | ||
| 24 | as arguments to method UpdateSamplingRule. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateSamplingRule. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $xray = Paws->service('XRay'); | ||
| 31 | my $UpdateSamplingRuleResult = $xray->UpdateSamplingRule( | ||
| 32 | SamplingRuleUpdate => { | ||
| 33 | Attributes => { | ||
| 34 | 'MyAttributeKey' => | ||
| 35 | 'MyAttributeValue', # key: min: 1, max: 32, value: min: 1, max: 32 | ||
| 36 | }, # max: 5; OPTIONAL | ||
| 37 | FixedRate => 1, # OPTIONAL | ||
| 38 | HTTPMethod => 'MyHTTPMethod', # max: 10; OPTIONAL | ||
| 39 | Host => 'MyHost', # max: 64; OPTIONAL | ||
| 40 | Priority => 1, # OPTIONAL | ||
| 41 | ReservoirSize => 1, # OPTIONAL | ||
| 42 | ResourceARN => 'MyResourceARN', # max: 500; OPTIONAL | ||
| 43 | RuleARN => 'MyString', # OPTIONAL | ||
| 44 | RuleName => 'MyRuleName', # min: 1, max: 32; OPTIONAL | ||
| 45 | ServiceName => 'MyServiceName', # max: 64; OPTIONAL | ||
| 46 | ServiceType => 'MyServiceType', # max: 64; OPTIONAL | ||
| 47 | URLPath => 'MyURLPath', # max: 128; OPTIONAL | ||
| 48 | }, | ||
| 49 | |||
| 50 | ); | ||
| 51 | |||
| 52 | # Results: | ||
| 53 | my $SamplingRuleRecord = $UpdateSamplingRuleResult->SamplingRuleRecord; | ||
| 54 | |||
| 55 | # Returns a L<Paws::XRay::UpdateSamplingRuleResult> object. | ||
| 56 | |||
| 57 | 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. | ||
| 58 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/xray/UpdateSamplingRule> | ||
| 59 | |||
| 60 | =head1 ATTRIBUTES | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> SamplingRuleUpdate => L<Paws::XRay::SamplingRuleUpdate> | ||
| 64 | |||
| 65 | The rule and fields to change. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, documenting arguments for method UpdateSamplingRule in L<Paws::XRay> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |