blib/lib/Paws/IAM/GetServiceLastAccessedDetailsWithEntities.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IAM::GetServiceLastAccessedDetailsWithEntities;
3 use Moose;
4 has JobId => (is => 'ro', isa => 'Str', required => 1);
5 has Marker => (is => 'ro', isa => 'Str');
6 has MaxItems => (is => 'ro', isa => 'Int');
7 has ServiceNamespace => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetServiceLastAccessedDetailsWithEntities');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::GetServiceLastAccessedDetailsWithEntitiesResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'GetServiceLastAccessedDetailsWithEntitiesResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::IAM::GetServiceLastAccessedDetailsWithEntities - Arguments for method GetServiceLastAccessedDetailsWithEntities on L<Paws::IAM>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method GetServiceLastAccessedDetailsWithEntities on the
25 L<AWS Identity and Access Management|Paws::IAM> service. Use the attributes of this class
26 as arguments to method GetServiceLastAccessedDetailsWithEntities.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetServiceLastAccessedDetailsWithEntities.
29  
30 =head1 SYNOPSIS
31  
32 my $iam = Paws->service('IAM');
33 my $GetServiceLastAccessedDetailsWithEntitiesResponse =
34 $iam->GetServiceLastAccessedDetailsWithEntities(
35 JobId => 'MyjobIDType',
36 ServiceNamespace => 'MyserviceNamespaceType',
37 Marker => 'MymarkerType', # OPTIONAL
38 MaxItems => 1, # OPTIONAL
39 );
40  
41 # Results:
42 my $EntityDetailsList =
43 $GetServiceLastAccessedDetailsWithEntitiesResponse->EntityDetailsList;
44 my $Error = $GetServiceLastAccessedDetailsWithEntitiesResponse->Error;
45 my $IsTruncated =
46 $GetServiceLastAccessedDetailsWithEntitiesResponse->IsTruncated;
47 my $JobCompletionDate =
48 $GetServiceLastAccessedDetailsWithEntitiesResponse->JobCompletionDate;
49 my $JobCreationDate =
50 $GetServiceLastAccessedDetailsWithEntitiesResponse->JobCreationDate;
51 my $JobStatus =
52 $GetServiceLastAccessedDetailsWithEntitiesResponse->JobStatus;
53 my $Marker = $GetServiceLastAccessedDetailsWithEntitiesResponse->Marker;
54  
55 # Returns a L<Paws::IAM::GetServiceLastAccessedDetailsWithEntitiesResponse> 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/iam/GetServiceLastAccessedDetailsWithEntities>
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 B<REQUIRED> JobId => Str
64  
65 The ID of the request generated by the
66 C<GenerateServiceLastAccessedDetails> operation.
67  
68  
69  
70 =head2 Marker => Str
71  
72 Use this parameter only when paginating results and only after you
73 receive a response indicating that the results are truncated. Set it to
74 the value of the C<Marker> element in the response that you received to
75 indicate where the next call should start.
76  
77  
78  
79 =head2 MaxItems => Int
80  
81 Use this only when paginating results to indicate the maximum number of
82 items you want in the response. If additional items exist beyond the
83 maximum you specify, the C<IsTruncated> response element is C<true>.
84  
85 If you do not include this parameter, the number of items defaults to
86 100. Note that IAM might return fewer results, even when there are more
87 results available. In that case, the C<IsTruncated> response element
88 returns C<true>, and C<Marker> contains a value to include in the
89 subsequent call that tells the service where to continue from.
90  
91  
92  
93 =head2 B<REQUIRED> ServiceNamespace => Str
94  
95 The service namespace for an AWS service. Provide the service namespace
96 to learn when the IAM entity last attempted to access the specified
97 service.
98  
99 To learn the service namespace for a service, see Actions, resources,
100 and condition keys for AWS services
101 (https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html)
102 in the I<IAM User Guide>. Choose the name of the service to view
103 details for that service. In the first paragraph, find the service
104 prefix. For example, C<(service prefix: a4b)>. For more information
105 about service namespaces, see AWS service namespaces
106 (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
107 in the I<AWS General Reference>.
108  
109  
110  
111  
112 =head1 SEE ALSO
113  
114 This class forms part of L<Paws>, documenting arguments for method GetServiceLastAccessedDetailsWithEntities in L<Paws::IAM>
115  
116 =head1 BUGS and CONTRIBUTIONS
117  
118 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
119  
120 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
121  
122 =cut
123