« blib/lib/Paws/AppStream/CreateStackResult.pm
↑ Summary
blib/lib/Paws/AppStream/CreateStreamingURLResult.pm »
| 1 | |||
| 2 | package Paws::AppStream::CreateStreamingURL; | ||
| 3 | use Moose; | ||
| 4 | has ApplicationId => (is => 'ro', isa => 'Str'); | ||
| 5 | has FleetName => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has SessionContext => (is => 'ro', isa => 'Str'); | ||
| 7 | has StackName => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has UserId => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has Validity => (is => 'ro', isa => 'Int'); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateStreamingURL'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppStream::CreateStreamingURLResult'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::AppStream::CreateStreamingURL - Arguments for method CreateStreamingURL on L<Paws::AppStream> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method CreateStreamingURL on the | ||
| 27 | L<Amazon AppStream|Paws::AppStream> service. Use the attributes of this class | ||
| 28 | as arguments to method CreateStreamingURL. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStreamingURL. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $appstream2 = Paws->service('AppStream'); | ||
| 35 | my $CreateStreamingURLResult = $appstream2->CreateStreamingURL( | ||
| 36 | FleetName => 'MyString', | ||
| 37 | StackName => 'MyString', | ||
| 38 | UserId => 'MyStreamingUrlUserId', | ||
| 39 | ApplicationId => 'MyString', # OPTIONAL | ||
| 40 | SessionContext => 'MyString', # OPTIONAL | ||
| 41 | Validity => 1, # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $Expires = $CreateStreamingURLResult->Expires; | ||
| 46 | my $StreamingURL = $CreateStreamingURLResult->StreamingURL; | ||
| 47 | |||
| 48 | # Returns a L<Paws::AppStream::CreateStreamingURLResult> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appstream2/CreateStreamingURL> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 ApplicationId => Str | ||
| 57 | |||
| 58 | The name of the application to launch after the session starts. This is | ||
| 59 | the name that you specified as B<Name> in the Image Assistant. If your | ||
| 60 | fleet is enabled for the B<Desktop> stream view, you can also choose to | ||
| 61 | launch directly to the operating system desktop. To do so, specify | ||
| 62 | B<Desktop>. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> FleetName => Str | ||
| 67 | |||
| 68 | The name of the fleet. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 SessionContext => Str | ||
| 73 | |||
| 74 | The session context. For more information, see Session Context | ||
| 75 | (https://docs.aws.amazon.com/appstream2/latest/developerguide/managing-stacks-fleets.html#managing-stacks-fleets-parameters) | ||
| 76 | in the I<Amazon AppStream 2.0 Administration Guide>. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> StackName => Str | ||
| 81 | |||
| 82 | The name of the stack. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 B<REQUIRED> UserId => Str | ||
| 87 | |||
| 88 | The identifier of the user. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head2 Validity => Int | ||
| 93 | |||
| 94 | The time that the streaming URL will be valid, in seconds. Specify a | ||
| 95 | value between 1 and 604800 seconds. The default is 60 seconds. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head1 SEE ALSO | ||
| 101 | |||
| 102 | This class forms part of L<Paws>, documenting arguments for method CreateStreamingURL in L<Paws::AppStream> | ||
| 103 | |||
| 104 | =head1 BUGS and CONTRIBUTIONS | ||
| 105 | |||
| 106 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 107 | |||
| 108 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 109 | |||
| 110 | =cut | ||
| 111 |