blib/lib/Paws/SSOAdmin/UpdatePermissionSet.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::SSOAdmin::UpdatePermissionSet;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str');
5 has InstanceArn => (is => 'ro', isa => 'Str', required => 1);
6 has PermissionSetArn => (is => 'ro', isa => 'Str', required => 1);
7 has RelayState => (is => 'ro', isa => 'Str');
8 has SessionDuration => (is => 'ro', isa => 'Str');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdatePermissionSet');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSOAdmin::UpdatePermissionSetResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::SSOAdmin::UpdatePermissionSet - Arguments for method UpdatePermissionSet on L<Paws::SSOAdmin>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdatePermissionSet on the
26 L<AWS Single Sign-On Admin|Paws::SSOAdmin> service. Use the attributes of this class
27 as arguments to method UpdatePermissionSet.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdatePermissionSet.
30  
31 =head1 SYNOPSIS
32  
33 my $sso = Paws->service('SSOAdmin');
34 my $UpdatePermissionSetResponse = $sso->UpdatePermissionSet(
35 InstanceArn => 'MyInstanceArn',
36 PermissionSetArn => 'MyPermissionSetArn',
37 Description => 'MyPermissionSetDescription', # OPTIONAL
38 RelayState => 'MyRelayState', # OPTIONAL
39 SessionDuration => 'MyDuration', # OPTIONAL
40 );
41  
42 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.
43 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sso/UpdatePermissionSet>
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Description => Str
49  
50 The description of the PermissionSet.
51  
52  
53  
54 =head2 B<REQUIRED> InstanceArn => Str
55  
56 The ARN of the SSO instance under which the operation will be executed.
57 For more information about ARNs, see Amazon Resource Names (ARNs) and
58 AWS Service Namespaces in the I<AWS General Reference>.
59  
60  
61  
62 =head2 B<REQUIRED> PermissionSetArn => Str
63  
64 The ARN of the permission set.
65  
66  
67  
68 =head2 RelayState => Str
69  
70 Used to redirect users within the application during the federation
71 authentication process.
72  
73  
74  
75 =head2 SessionDuration => Str
76  
77 The length of time that the application user sessions are valid for in
78 the ISO-8601 standard.
79  
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, documenting arguments for method UpdatePermissionSet in L<Paws::SSOAdmin>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94