blib/lib/Paws/AppStream/UpdateStack.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AppStream::UpdateStack;
3 use Moose;
4 has AccessEndpoints => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::AccessEndpoint]');
5 has ApplicationSettings => (is => 'ro', isa => 'Paws::AppStream::ApplicationSettings');
6 has AttributesToDelete => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7 has DeleteStorageConnectors => (is => 'ro', isa => 'Bool');
8 has Description => (is => 'ro', isa => 'Str');
9 has DisplayName => (is => 'ro', isa => 'Str');
10 has EmbedHostDomains => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
11 has FeedbackURL => (is => 'ro', isa => 'Str');
12 has Name => (is => 'ro', isa => 'Str', required => 1);
13 has RedirectURL => (is => 'ro', isa => 'Str');
14 has StorageConnectors => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::StorageConnector]');
15 has UserSettings => (is => 'ro', isa => 'ArrayRef[Paws::AppStream::UserSetting]');
16  
17 use MooseX::ClassAttribute;
18  
19 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateStack');
20 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AppStream::UpdateStackResult');
21 class_has _result_key => (isa => 'Str', is => 'ro');
22 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::AppStream::UpdateStack - Arguments for method UpdateStack on L<Paws::AppStream>
29  
30 =head1 DESCRIPTION
31  
32 This class represents the parameters used for calling the method UpdateStack on the
33 L<Amazon AppStream|Paws::AppStream> service. Use the attributes of this class
34 as arguments to method UpdateStack.
35  
36 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateStack.
37  
38 =head1 SYNOPSIS
39  
40 my $appstream2 = Paws->service('AppStream');
41 my $UpdateStackResult = $appstream2->UpdateStack(
42 Name => 'MyString',
43 AccessEndpoints => [
44 {
45 EndpointType => 'STREAMING', # values: STREAMING
46 VpceId => 'MyString', # min: 1
47 },
48 ...
49 ], # OPTIONAL
50 ApplicationSettings => {
51 Enabled => 1,
52 SettingsGroup => 'MySettingsGroup', # max: 100; OPTIONAL
53 }, # OPTIONAL
54 AttributesToDelete => [
55 'STORAGE_CONNECTORS',
56 ... # values: STORAGE_CONNECTORS, STORAGE_CONNECTOR_HOMEFOLDERS, STORAGE_CONNECTOR_GOOGLE_DRIVE, STORAGE_CONNECTOR_ONE_DRIVE, REDIRECT_URL, FEEDBACK_URL, THEME_NAME, USER_SETTINGS, EMBED_HOST_DOMAINS, IAM_ROLE_ARN, ACCESS_ENDPOINTS
57 ], # OPTIONAL
58 DeleteStorageConnectors => 1, # OPTIONAL
59 Description => 'MyDescription', # OPTIONAL
60 DisplayName => 'MyDisplayName', # OPTIONAL
61 EmbedHostDomains => [
62 'MyEmbedHostDomain', ... # max: 128
63 ], # OPTIONAL
64 FeedbackURL => 'MyFeedbackURL', # OPTIONAL
65 RedirectURL => 'MyRedirectURL', # OPTIONAL
66 StorageConnectors => [
67 {
68 ConnectorType =>
69 'HOMEFOLDERS', # values: HOMEFOLDERS, GOOGLE_DRIVE, ONE_DRIVE
70 Domains => [
71 'MyDomain', ... # min: 1, max: 64
72 ], # max: 50; OPTIONAL
73 ResourceIdentifier =>
74 'MyResourceIdentifier', # min: 1, max: 2048; OPTIONAL
75 },
76 ...
77 ], # OPTIONAL
78 UserSettings => [
79 {
80 Action => 'CLIPBOARD_COPY_FROM_LOCAL_DEVICE'
81 , # 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
82 Permission => 'ENABLED', # values: ENABLED, DISABLED
83  
84 },
85 ...
86 ], # OPTIONAL
87 );
88  
89 # Results:
90 my $Stack = $UpdateStackResult->Stack;
91  
92 # Returns a L<Paws::AppStream::UpdateStackResult> object.
93  
94 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.
95 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/appstream2/UpdateStack>
96  
97 =head1 ATTRIBUTES
98  
99  
100 =head2 AccessEndpoints => ArrayRef[L<Paws::AppStream::AccessEndpoint>]
101  
102 The list of interface VPC endpoint (interface endpoint) objects. Users
103 of the stack can connect to AppStream 2.0 only through the specified
104 endpoints.
105  
106  
107  
108 =head2 ApplicationSettings => L<Paws::AppStream::ApplicationSettings>
109  
110 The persistent application settings for users of a stack. When these
111 settings are enabled, changes that users make to applications and
112 Windows settings are automatically saved after each session and applied
113 to the next session.
114  
115  
116  
117 =head2 AttributesToDelete => ArrayRef[Str|Undef]
118  
119 The stack attributes to delete.
120  
121  
122  
123 =head2 DeleteStorageConnectors => Bool
124  
125 Deletes the storage connectors currently enabled for the stack.
126  
127  
128  
129 =head2 Description => Str
130  
131 The description to display.
132  
133  
134  
135 =head2 DisplayName => Str
136  
137 The stack name to display.
138  
139  
140  
141 =head2 EmbedHostDomains => ArrayRef[Str|Undef]
142  
143 The domains where AppStream 2.0 streaming sessions can be embedded in
144 an iframe. You must approve the domains that you want to host embedded
145 AppStream 2.0 streaming sessions.
146  
147  
148  
149 =head2 FeedbackURL => Str
150  
151 The URL that users are redirected to after they choose the Send
152 Feedback link. If no URL is specified, no Send Feedback link is
153 displayed.
154  
155  
156  
157 =head2 B<REQUIRED> Name => Str
158  
159 The name of the stack.
160  
161  
162  
163 =head2 RedirectURL => Str
164  
165 The URL that users are redirected to after their streaming session
166 ends.
167  
168  
169  
170 =head2 StorageConnectors => ArrayRef[L<Paws::AppStream::StorageConnector>]
171  
172 The storage connectors to enable.
173  
174  
175  
176 =head2 UserSettings => ArrayRef[L<Paws::AppStream::UserSetting>]
177  
178 The actions that are enabled or disabled for users during their
179 streaming sessions. By default, these actions are enabled.
180  
181  
182  
183  
184 =head1 SEE ALSO
185  
186 This class forms part of L<Paws>, documenting arguments for method UpdateStack in L<Paws::AppStream>
187  
188 =head1 BUGS and CONTRIBUTIONS
189  
190 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
191  
192 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
193  
194 =cut
195