blib/lib/Paws/EMR/CreateStudioSessionMapping.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::CreateStudioSessionMapping;
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 => 'CreateStudioSessionMapping');
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::CreateStudioSessionMapping - Arguments for method CreateStudioSessionMapping on L<Paws::EMR>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method CreateStudioSessionMapping on the
26 L<Amazon Elastic MapReduce|Paws::EMR> service. Use the attributes of this class
27 as arguments to method CreateStudioSessionMapping.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStudioSessionMapping.
30  
31 =head1 SYNOPSIS
32  
33 my $elasticmapreduce = Paws->service('EMR');
34 $elasticmapreduce->CreateStudioSessionMapping(
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/CreateStudioSessionMapping>
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 IdentityId => Str
49  
50 The globally unique identifier (GUID) of the user or group from the AWS
51 SSO Identity Store. For more 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. For more information, see UserName
63 (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName)
64 and DisplayName
65 (https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName)
66 in the I<AWS SSO Identity Store API Reference>. Either C<IdentityName>
67 or C<IdentityId> must be specified.
68  
69  
70  
71 =head2 B<REQUIRED> IdentityType => Str
72  
73 Specifies whether the identity to map to the Amazon EMR Studio is a
74 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) for the session policy that will be
81 applied to the user or group. Session policies refine Studio user
82 permissions without the need to use multiple IAM user roles.
83  
84  
85  
86 =head2 B<REQUIRED> StudioId => Str
87  
88 The ID of the Amazon EMR Studio to which the user or group will be
89 mapped.
90  
91  
92  
93  
94 =head1 SEE ALSO
95  
96 This class forms part of L<Paws>, documenting arguments for method CreateStudioSessionMapping in L<Paws::EMR>
97  
98 =head1 BUGS and CONTRIBUTIONS
99  
100 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
101  
102 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
103  
104 =cut
105