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