blib/lib/Paws/AutoScaling/DescribeScalingActivities.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/AutoScaling/DescribePolicies.pm ↑ Summary blib/lib/Paws/AutoScaling/DescribeScalingProcessTypes.pm »
1  
2 package Paws::AutoScaling::DescribeScalingActivities;
3 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 has ActivityIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5 2 has AutoScalingGroupName => (is => 'ro', isa => 'Str');
6 2 has IncludeDeletedGroups => (is => 'ro', isa => 'Bool');
7 2 has MaxRecords => (is => 'ro', isa => 'Int');
8 2 has NextToken => (is => 'ro', isa => 'Str');
9  
10 2 ▶ use MooseX::ClassAttribute;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 2 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeScalingActivities');
13 2 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AutoScaling::ActivitiesType');
14 2 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribeScalingActivitiesResult');
15 2 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::AutoScaling::DescribeScalingActivities - Arguments for method DescribeScalingActivities on L<Paws::AutoScaling>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeScalingActivities on the
26 L<Auto Scaling|Paws::AutoScaling> service. Use the attributes of this class
27 as arguments to method DescribeScalingActivities.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeScalingActivities.
30  
31 =head1 SYNOPSIS
32  
33 my $autoscaling = Paws->service('AutoScaling');
34 # To describe the scaling activities for an Auto Scaling group
35 # This example describes the scaling activities for the specified Auto Scaling
36 # group.
37 my $ActivitiesType = $autoscaling->DescribeScalingActivities(
38 'AutoScalingGroupName' => 'my-auto-scaling-group' );
39  
40 # Results:
41 my $Activities = $ActivitiesType->Activities;
42  
43 # Returns a L<Paws::AutoScaling::ActivitiesType> object.
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/autoscaling/DescribeScalingActivities>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 ActivityIds => ArrayRef[Str|Undef]
52  
53 The activity IDs of the desired scaling activities. If you omit this
54 parameter, all activities for the past six weeks are described. If
55 unknown activities are requested, they are ignored with no error. If
56 you specify an Auto Scaling group, the results are limited to that
57 group.
58  
59 Array Members: Maximum number of 50 IDs.
60  
61  
62  
63 =head2 AutoScalingGroupName => Str
64  
65 The name of the Auto Scaling group.
66  
67  
68  
69 =head2 IncludeDeletedGroups => Bool
70  
71 Indicates whether to include scaling activity from deleted Auto Scaling
72 groups.
73  
74  
75  
76 =head2 MaxRecords => Int
77  
78 The maximum number of items to return with this call. The default value
79 is C<100> and the maximum value is C<100>.
80  
81  
82  
83 =head2 NextToken => Str
84  
85 The token for the next set of items to return. (You received this token
86 from a previous call.)
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method DescribeScalingActivities in L<Paws::AutoScaling>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102  
« blib/lib/Paws/AutoScaling/DescribePolicies.pm ↑ Summary blib/lib/Paws/AutoScaling/DescribeScalingProcessTypes.pm »