« blib/lib/Paws/AppStream/CreateImageBuilderStreamingURLResult.pm
↑ Summary
blib/lib/Paws/AppStream/CreateStackResult.pm »
| 1 | |||
| 2 | package Paws::AppStream::CreateStack; | ||
| 3 | use Moose; | ||
| 4 | has AccessEndpoints => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::AccessEndpoint]'); | ||
| 5 | has ApplicationSettings => (is => 'ro', isa => 'Paws::AppStream::ApplicationSettings'); | ||
| 6 | has Description => (is => 'ro', isa => 'Str'); | ||
| 7 | has DisplayName => (is => 'ro', isa => 'Str'); | ||
| 8 | has EmbedHostDomains => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 9 | has FeedbackURL => (is => 'ro', isa => 'Str'); | ||
| 10 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 11 | has RedirectURL => (is => 'ro', isa => 'Str'); | ||
| 12 | has StorageConnectors => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::StorageConnector]'); | ||
| 13 | has Tags => (is => 'ro', isa => 'Paws::AppStream::Tags'); | ||
| 14 | has UserSettings => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::UserSetting]'); | ||
| 15 | |||
| 16 | use MooseX::ClassAttribute; | ||
| 17 | |||
| 18 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateStack'); | ||
| 19 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppStream::CreateStackResult'); | ||
| 20 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 21 | 1; | ||
| 22 | |||
| 23 | ### main pod documentation begin ### | ||
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | Paws::AppStream::CreateStack - Arguments for method CreateStack on L<Paws::AppStream> | ||
| 28 | |||
| 29 | =head1 DESCRIPTION | ||
| 30 | |||
| 31 | This class represents the parameters used for calling the method CreateStack on the | ||
| 32 | L<Amazon AppStream|Paws::AppStream> service. Use the attributes of this class | ||
| 33 | as arguments to method CreateStack. | ||
| 34 | |||
| 35 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStack. | ||
| 36 | |||
| 37 | =head1 SYNOPSIS | ||
| 38 | |||
| 39 | my $appstream2 = Paws->service('AppStream'); | ||
| 40 | my $CreateStackResult = $appstream2->CreateStack( | ||
| 41 | Name => 'MyName', | ||
| 42 | AccessEndpoints => [ | ||
| 43 | { | ||
| 44 | EndpointType => 'STREAMING', # values: STREAMING | ||
| 45 | VpceId => 'MyString', # min: 1; OPTIONAL | ||
| 46 | }, | ||
| 47 | ... | ||
| 48 | ], # OPTIONAL | ||
| 49 | ApplicationSettings => { | ||
| 50 | Enabled => 1, | ||
| 51 | SettingsGroup => 'MySettingsGroup', # max: 100; OPTIONAL | ||
| 52 | }, # OPTIONAL | ||
| 53 | Description => 'MyDescription', # OPTIONAL | ||
| 54 | DisplayName => 'MyDisplayName', # OPTIONAL | ||
| 55 | EmbedHostDomains => [ | ||
| 56 | 'MyEmbedHostDomain', ... # max: 128 | ||
| 57 | ], # OPTIONAL | ||
| 58 | FeedbackURL => 'MyFeedbackURL', # OPTIONAL | ||
| 59 | RedirectURL => 'MyRedirectURL', # OPTIONAL | ||
| 60 | StorageConnectors => [ | ||
| 61 | { | ||
| 62 | ConnectorType => | ||
| 63 | 'HOMEFOLDERS', # values: HOMEFOLDERS, GOOGLE_DRIVE, ONE_DRIVE | ||
| 64 | Domains => [ | ||
| 65 | 'MyDomain', ... # min: 1, max: 64 | ||
| 66 | ], # max: 50; OPTIONAL | ||
| 67 | ResourceIdentifier => | ||
| 68 | 'MyResourceIdentifier', # min: 1, max: 2048; OPTIONAL | ||
| 69 | }, | ||
| 70 | ... | ||
| 71 | ], # OPTIONAL | ||
| 72 | Tags => { | ||
| 73 | 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 | ||
| 74 | }, # OPTIONAL | ||
| 75 | UserSettings => [ | ||
| 76 | { | ||
| 77 | Action => 'CLIPBOARD_COPY_FROM_LOCAL_DEVICE' | ||
| 78 | , # values: CLIPBOARD_COPY_FROM_LOCAL_DEVICE, CLIPBOARD_COPY_TO_LOCAL_DEVICE, FILE_UPLOAD, FILE_DOWNLOAD, PRINTING_TO_LOCAL_DEVICE, DOMAIN_PASSWORD_SIGNIN, DOMAIN_SMART_CARD_SIGNIN | ||
| 79 | Permission => 'ENABLED', # values: ENABLED, DISABLED | ||
| 80 | |||
| 81 | }, | ||
| 82 | ... | ||
| 83 | ], # OPTIONAL | ||
| 84 | ); | ||
| 85 | |||
| 86 | # Results: | ||
| 87 | my $Stack = $CreateStackResult->Stack; | ||
| 88 | |||
| 89 | # Returns a L<Paws::AppStream::CreateStackResult> object. | ||
| 90 | |||
| 91 | 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. | ||
| 92 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appstream2/CreateStack> | ||
| 93 | |||
| 94 | =head1 ATTRIBUTES | ||
| 95 | |||
| 96 | |||
| 97 | =head2 AccessEndpoints => ArrayRef[L<Paws::AppStream::AccessEndpoint>] | ||
| 98 | |||
| 99 | The list of interface VPC endpoint (interface endpoint) objects. Users | ||
| 100 | of the stack can connect to AppStream 2.0 only through the specified | ||
| 101 | endpoints. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head2 ApplicationSettings => L<Paws::AppStream::ApplicationSettings> | ||
| 106 | |||
| 107 | The persistent application settings for users of a stack. When these | ||
| 108 | settings are enabled, changes that users make to applications and | ||
| 109 | Windows settings are automatically saved after each session and applied | ||
| 110 | to the next session. | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | =head2 Description => Str | ||
| 115 | |||
| 116 | The description to display. | ||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head2 DisplayName => Str | ||
| 121 | |||
| 122 | The stack name to display. | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | =head2 EmbedHostDomains => ArrayRef[Str|Undef] | ||
| 127 | |||
| 128 | The domains where AppStream 2.0 streaming sessions can be embedded in | ||
| 129 | an iframe. You must approve the domains that you want to host embedded | ||
| 130 | AppStream 2.0 streaming sessions. | ||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | =head2 FeedbackURL => Str | ||
| 135 | |||
| 136 | The URL that users are redirected to after they click the Send Feedback | ||
| 137 | link. If no URL is specified, no Send Feedback link is displayed. | ||
| 138 | |||
| 139 | |||
| 140 | |||
| 141 | =head2 B<REQUIRED> Name => Str | ||
| 142 | |||
| 143 | The name of the stack. | ||
| 144 | |||
| 145 | |||
| 146 | |||
| 147 | =head2 RedirectURL => Str | ||
| 148 | |||
| 149 | The URL that users are redirected to after their streaming session | ||
| 150 | ends. | ||
| 151 | |||
| 152 | |||
| 153 | |||
| 154 | =head2 StorageConnectors => ArrayRef[L<Paws::AppStream::StorageConnector>] | ||
| 155 | |||
| 156 | The storage connectors to enable. | ||
| 157 | |||
| 158 | |||
| 159 | |||
| 160 | =head2 Tags => L<Paws::AppStream::Tags> | ||
| 161 | |||
| 162 | The tags to associate with the stack. A tag is a key-value pair, and | ||
| 163 | the value is optional. For example, Environment=Test. If you do not | ||
| 164 | specify a value, Environment=. | ||
| 165 | |||
| 166 | If you do not specify a value, the value is set to an empty string. | ||
| 167 | |||
| 168 | Generally allowed characters are: letters, numbers, and spaces | ||
| 169 | representable in UTF-8, and the following special characters: | ||
| 170 | |||
| 171 | _ . : / = + \ - @ | ||
| 172 | |||
| 173 | For more information about tags, see Tagging Your Resources | ||
| 174 | (https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html) | ||
| 175 | in the I<Amazon AppStream 2.0 Administration Guide>. | ||
| 176 | |||
| 177 | |||
| 178 | |||
| 179 | =head2 UserSettings => ArrayRef[L<Paws::AppStream::UserSetting>] | ||
| 180 | |||
| 181 | The actions that are enabled or disabled for users during their | ||
| 182 | streaming sessions. By default, these actions are enabled. | ||
| 183 | |||
| 184 | |||
| 185 | |||
| 186 | |||
| 187 | =head1 SEE ALSO | ||
| 188 | |||
| 189 | This class forms part of L<Paws>, documenting arguments for method CreateStack in L<Paws::AppStream> | ||
| 190 | |||
| 191 | =head1 BUGS and CONTRIBUTIONS | ||
| 192 | |||
| 193 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 194 | |||
| 195 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 196 | |||
| 197 | =cut | ||
| 198 |