blib/lib/Paws/WorkDocs/DescribeResourcePermissions.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::WorkDocs::DescribeResourcePermissions;
3 use Moose;
4 has AuthenticationToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Authentication');
5 has Limit => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'limit');
6 has Marker => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'marker');
7 has PrincipalId => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'principalId');
8 has ResourceId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'ResourceId', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeResourcePermissions');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/api/v1/resources/{ResourceId}/permissions');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WorkDocs::DescribeResourcePermissionsResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::WorkDocs::DescribeResourcePermissions - Arguments for method DescribeResourcePermissions on L<Paws::WorkDocs>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method DescribeResourcePermissions on the
27 L<Amazon WorkDocs|Paws::WorkDocs> service. Use the attributes of this class
28 as arguments to method DescribeResourcePermissions.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeResourcePermissions.
31  
32 =head1 SYNOPSIS
33  
34 my $workdocs = Paws->service('WorkDocs');
35 my $DescribeResourcePermissionsResponse =
36 $workdocs->DescribeResourcePermissions(
37 ResourceId => 'MyResourceIdType',
38 AuthenticationToken => 'MyAuthenticationHeaderType', # OPTIONAL
39 Limit => 1, # OPTIONAL
40 Marker => 'MyPageMarkerType', # OPTIONAL
41 PrincipalId => 'MyIdType', # OPTIONAL
42 );
43  
44 # Results:
45 my $Marker = $DescribeResourcePermissionsResponse->Marker;
46 my $Principals = $DescribeResourcePermissionsResponse->Principals;
47  
48 # Returns a L<Paws::WorkDocs::DescribeResourcePermissionsResponse> object.
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/workdocs/DescribeResourcePermissions>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 AuthenticationToken => Str
57  
58 Amazon WorkDocs authentication token. Not required when using AWS
59 administrator credentials to access the API.
60  
61  
62  
63 =head2 Limit => Int
64  
65 The maximum number of items to return with this call.
66  
67  
68  
69 =head2 Marker => Str
70  
71 The marker for the next set of results. (You received this marker from
72 a previous call)
73  
74  
75  
76 =head2 PrincipalId => Str
77  
78 The ID of the principal to filter permissions by.
79  
80  
81  
82 =head2 B<REQUIRED> ResourceId => Str
83  
84 The ID of the resource.
85  
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, documenting arguments for method DescribeResourcePermissions in L<Paws::WorkDocs>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100