File Coverage

blib/lib/Paws/Shield/CreateSubscription.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Shield::CreateSubscription;
3 1     1   391 use Moose;
  1         3  
  1         7  
4              
5 1     1   6547 use MooseX::ClassAttribute;
  1         2  
  1         10  
6              
7             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateSubscription');
8             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Shield::CreateSubscriptionResponse');
9             class_has _result_key => (isa => 'Str', is => 'ro');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Shield::CreateSubscription - Arguments for method CreateSubscription on Paws::Shield
17              
18             =head1 DESCRIPTION
19              
20             This class represents the parameters used for calling the method CreateSubscription on the
21             AWS Shield service. Use the attributes of this class
22             as arguments to method CreateSubscription.
23              
24             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateSubscription.
25              
26             As an example:
27              
28             $service_obj->CreateSubscription(Att1 => $value1, Att2 => $value2, ...);
29              
30             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.
31              
32             =head1 ATTRIBUTES
33              
34              
35              
36             =head1 SEE ALSO
37              
38             This class forms part of L<Paws>, documenting arguments for method CreateSubscription in L<Paws::Shield>
39              
40             =head1 BUGS and CONTRIBUTIONS
41              
42             The source code is located here: https://github.com/pplu/aws-sdk-perl
43              
44             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
45              
46             =cut
47