File Coverage

blib/lib/Paws/AppStream/Session.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::AppStream::Session;
2 1     1   822 use Moose;
  1         5  
  1         12  
3             has AuthenticationType => (is => 'ro', isa => 'Str');
4             has FleetName => (is => 'ro', isa => 'Str', required => 1);
5             has Id => (is => 'ro', isa => 'Str', required => 1);
6             has StackName => (is => 'ro', isa => 'Str', required => 1);
7             has State => (is => 'ro', isa => 'Str', required => 1);
8             has UserId => (is => 'ro', isa => 'Str', required => 1);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::AppStream::Session
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::AppStream::Session object:
27              
28             $service_obj->Method(Att1 => { AuthenticationType => $value, ..., UserId => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::AppStream::Session object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->AuthenticationType
36              
37             =head1 DESCRIPTION
38              
39             Contains the parameters for a streaming session.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 AuthenticationType => Str
45              
46             The authentication method of the user for whom the session was created.
47             It can be C<API> for a user authenticated using a streaming URL or
48             C<SAML> for a SAML federated user.
49              
50              
51             =head2 B<REQUIRED> FleetName => Str
52              
53             The name of the fleet for which the streaming session was created.
54              
55              
56             =head2 B<REQUIRED> Id => Str
57              
58             The unique ID for a streaming session.
59              
60              
61             =head2 B<REQUIRED> StackName => Str
62              
63             The name of the stack for which the streaming session was created.
64              
65              
66             =head2 B<REQUIRED> State => Str
67              
68             The current state of the streaming session.
69              
70              
71             =head2 B<REQUIRED> UserId => Str
72              
73             The identifier of the user for whom the session was created.
74              
75              
76              
77             =head1 SEE ALSO
78              
79             This class forms part of L<Paws>, describing an object used in L<Paws::AppStream>
80              
81             =head1 BUGS and CONTRIBUTIONS
82              
83             The source code is located here: https://github.com/pplu/aws-sdk-perl
84              
85             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
86              
87             =cut
88