blib/lib/Paws/EMR/UpdateStudioSessionMapping.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::EMR::UpdateStudioSessionMapping;
3 use Moose;
4 has IdentityId => (is => 'ro', isa => 'Str');
5 has IdentityName => (is => 'ro', isa => 'Str');
6 has IdentityType => (is => 'ro', isa => 'Str', required => 1);
7 has SessionPolicyArn => (is => 'ro', isa => 'Str', required => 1);
8 has StudioId => (is => 'ro', isa => 'Str', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateStudioSessionMapping');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::EMR::UpdateStudioSessionMapping - Arguments for method UpdateStudioSessionMapping on L<Paws::EMR>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateStudioSessionMapping on the
26 L<Amazon Elastic MapReduce|Paws::EMR> service. Use the attributes of this class
27 as arguments to method UpdateStudioSessionMapping.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateStudioSessionMapping.
30  
31 =head1 SYNOPSIS
32  
33 my $elasticmapreduce = Paws->service('EMR');
34 $elasticmapreduce->UpdateStudioSessionMapping(
35 IdentityType => 'USER',
36 SessionPolicyArn => 'MyXmlStringMaxLen256',
37 StudioId => 'MyXmlStringMaxLen256',
38 IdentityId => 'MyXmlStringMaxLen256', # OPTIONAL
39 IdentityName => 'MyXmlStringMaxLen256', # 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/elasticmapreduce/UpdateStudioSessionMapping>
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 IdentityId => Str
49  
50 The globally unique identifier (GUID) of the user or group. For more
51 information, see UserId
52 (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserId)
53 and GroupId
54 (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-GroupId)
55 in the I<AWS SSO Identity Store API Reference>. Either C<IdentityName>
56 or C<IdentityId> must be specified.
57  
58  
59  
60 =head2 IdentityName => Str
61  
62 The name of the user or group to update. For more information, see
63 UserName
64 (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName)
65 and DisplayName
66 (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName)
67 in the I<AWS SSO Identity Store API Reference>. Either C<IdentityName>
68 or C<IdentityId> must be specified.
69  
70  
71  
72 =head2 B<REQUIRED> IdentityType => Str
73  
74 Specifies whether the identity to update is a user or a group.
75  
76 Valid values are: C<"USER">, C<"GROUP">
77  
78 =head2 B<REQUIRED> SessionPolicyArn => Str
79  
80 The Amazon Resource Name (ARN) of the session policy to associate with
81 the specified user or group.
82  
83  
84  
85 =head2 B<REQUIRED> StudioId => Str
86  
87 The ID of the Amazon EMR Studio.
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method UpdateStudioSessionMapping in L<Paws::EMR>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103