UNPKG

107 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {WaiterConfiguration} from '../lib/service';
6import {ServiceConfigurationOptions} from '../lib/service';
7import {ConfigBase as Config} from '../lib/config';
8interface Blob {}
9declare class AppStream extends Service {
10 /**
11 * Constructs a service object. This object has one method for each API operation.
12 */
13 constructor(options?: AppStream.Types.ClientConfiguration)
14 config: Config & AppStream.Types.ClientConfiguration;
15 /**
16 * Associates the specified fleet with the specified stack.
17 */
18 associateFleet(params: AppStream.Types.AssociateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.AssociateFleetResult) => void): Request<AppStream.Types.AssociateFleetResult, AWSError>;
19 /**
20 * Associates the specified fleet with the specified stack.
21 */
22 associateFleet(callback?: (err: AWSError, data: AppStream.Types.AssociateFleetResult) => void): Request<AppStream.Types.AssociateFleetResult, AWSError>;
23 /**
24 * Associates the specified users with the specified stacks. Users in a user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
25 */
26 batchAssociateUserStack(params: AppStream.Types.BatchAssociateUserStackRequest, callback?: (err: AWSError, data: AppStream.Types.BatchAssociateUserStackResult) => void): Request<AppStream.Types.BatchAssociateUserStackResult, AWSError>;
27 /**
28 * Associates the specified users with the specified stacks. Users in a user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
29 */
30 batchAssociateUserStack(callback?: (err: AWSError, data: AppStream.Types.BatchAssociateUserStackResult) => void): Request<AppStream.Types.BatchAssociateUserStackResult, AWSError>;
31 /**
32 * Disassociates the specified users from the specified stacks.
33 */
34 batchDisassociateUserStack(params: AppStream.Types.BatchDisassociateUserStackRequest, callback?: (err: AWSError, data: AppStream.Types.BatchDisassociateUserStackResult) => void): Request<AppStream.Types.BatchDisassociateUserStackResult, AWSError>;
35 /**
36 * Disassociates the specified users from the specified stacks.
37 */
38 batchDisassociateUserStack(callback?: (err: AWSError, data: AppStream.Types.BatchDisassociateUserStackResult) => void): Request<AppStream.Types.BatchDisassociateUserStackResult, AWSError>;
39 /**
40 * Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.
41 */
42 copyImage(params: AppStream.Types.CopyImageRequest, callback?: (err: AWSError, data: AppStream.Types.CopyImageResponse) => void): Request<AppStream.Types.CopyImageResponse, AWSError>;
43 /**
44 * Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.
45 */
46 copyImage(callback?: (err: AWSError, data: AppStream.Types.CopyImageResponse) => void): Request<AppStream.Types.CopyImageResponse, AWSError>;
47 /**
48 * Creates a Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
49 */
50 createDirectoryConfig(params: AppStream.Types.CreateDirectoryConfigRequest, callback?: (err: AWSError, data: AppStream.Types.CreateDirectoryConfigResult) => void): Request<AppStream.Types.CreateDirectoryConfigResult, AWSError>;
51 /**
52 * Creates a Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
53 */
54 createDirectoryConfig(callback?: (err: AWSError, data: AppStream.Types.CreateDirectoryConfigResult) => void): Request<AppStream.Types.CreateDirectoryConfigResult, AWSError>;
55 /**
56 * Creates a fleet. A fleet consists of streaming instances that run a specified image.
57 */
58 createFleet(params: AppStream.Types.CreateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.CreateFleetResult) => void): Request<AppStream.Types.CreateFleetResult, AWSError>;
59 /**
60 * Creates a fleet. A fleet consists of streaming instances that run a specified image.
61 */
62 createFleet(callback?: (err: AWSError, data: AppStream.Types.CreateFleetResult) => void): Request<AppStream.Types.CreateFleetResult, AWSError>;
63 /**
64 * Creates an image builder. An image builder is a virtual machine that is used to create an image. The initial state of the builder is PENDING. When it is ready, the state is RUNNING.
65 */
66 createImageBuilder(params: AppStream.Types.CreateImageBuilderRequest, callback?: (err: AWSError, data: AppStream.Types.CreateImageBuilderResult) => void): Request<AppStream.Types.CreateImageBuilderResult, AWSError>;
67 /**
68 * Creates an image builder. An image builder is a virtual machine that is used to create an image. The initial state of the builder is PENDING. When it is ready, the state is RUNNING.
69 */
70 createImageBuilder(callback?: (err: AWSError, data: AppStream.Types.CreateImageBuilderResult) => void): Request<AppStream.Types.CreateImageBuilderResult, AWSError>;
71 /**
72 * Creates a URL to start an image builder streaming session.
73 */
74 createImageBuilderStreamingURL(params: AppStream.Types.CreateImageBuilderStreamingURLRequest, callback?: (err: AWSError, data: AppStream.Types.CreateImageBuilderStreamingURLResult) => void): Request<AppStream.Types.CreateImageBuilderStreamingURLResult, AWSError>;
75 /**
76 * Creates a URL to start an image builder streaming session.
77 */
78 createImageBuilderStreamingURL(callback?: (err: AWSError, data: AppStream.Types.CreateImageBuilderStreamingURLResult) => void): Request<AppStream.Types.CreateImageBuilderStreamingURLResult, AWSError>;
79 /**
80 * Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
81 */
82 createStack(params: AppStream.Types.CreateStackRequest, callback?: (err: AWSError, data: AppStream.Types.CreateStackResult) => void): Request<AppStream.Types.CreateStackResult, AWSError>;
83 /**
84 * Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
85 */
86 createStack(callback?: (err: AWSError, data: AppStream.Types.CreateStackResult) => void): Request<AppStream.Types.CreateStackResult, AWSError>;
87 /**
88 * Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
89 */
90 createStreamingURL(params: AppStream.Types.CreateStreamingURLRequest, callback?: (err: AWSError, data: AppStream.Types.CreateStreamingURLResult) => void): Request<AppStream.Types.CreateStreamingURLResult, AWSError>;
91 /**
92 * Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
93 */
94 createStreamingURL(callback?: (err: AWSError, data: AppStream.Types.CreateStreamingURLResult) => void): Request<AppStream.Types.CreateStreamingURLResult, AWSError>;
95 /**
96 * Creates a usage report subscription. Usage reports are generated daily.
97 */
98 createUsageReportSubscription(params: AppStream.Types.CreateUsageReportSubscriptionRequest, callback?: (err: AWSError, data: AppStream.Types.CreateUsageReportSubscriptionResult) => void): Request<AppStream.Types.CreateUsageReportSubscriptionResult, AWSError>;
99 /**
100 * Creates a usage report subscription. Usage reports are generated daily.
101 */
102 createUsageReportSubscription(callback?: (err: AWSError, data: AppStream.Types.CreateUsageReportSubscriptionResult) => void): Request<AppStream.Types.CreateUsageReportSubscriptionResult, AWSError>;
103 /**
104 * Creates a new user in the user pool.
105 */
106 createUser(params: AppStream.Types.CreateUserRequest, callback?: (err: AWSError, data: AppStream.Types.CreateUserResult) => void): Request<AppStream.Types.CreateUserResult, AWSError>;
107 /**
108 * Creates a new user in the user pool.
109 */
110 createUser(callback?: (err: AWSError, data: AppStream.Types.CreateUserResult) => void): Request<AppStream.Types.CreateUserResult, AWSError>;
111 /**
112 * Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
113 */
114 deleteDirectoryConfig(params: AppStream.Types.DeleteDirectoryConfigRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteDirectoryConfigResult) => void): Request<AppStream.Types.DeleteDirectoryConfigResult, AWSError>;
115 /**
116 * Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
117 */
118 deleteDirectoryConfig(callback?: (err: AWSError, data: AppStream.Types.DeleteDirectoryConfigResult) => void): Request<AppStream.Types.DeleteDirectoryConfigResult, AWSError>;
119 /**
120 * Deletes the specified fleet.
121 */
122 deleteFleet(params: AppStream.Types.DeleteFleetRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteFleetResult) => void): Request<AppStream.Types.DeleteFleetResult, AWSError>;
123 /**
124 * Deletes the specified fleet.
125 */
126 deleteFleet(callback?: (err: AWSError, data: AppStream.Types.DeleteFleetResult) => void): Request<AppStream.Types.DeleteFleetResult, AWSError>;
127 /**
128 * Deletes the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.
129 */
130 deleteImage(params: AppStream.Types.DeleteImageRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteImageResult) => void): Request<AppStream.Types.DeleteImageResult, AWSError>;
131 /**
132 * Deletes the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.
133 */
134 deleteImage(callback?: (err: AWSError, data: AppStream.Types.DeleteImageResult) => void): Request<AppStream.Types.DeleteImageResult, AWSError>;
135 /**
136 * Deletes the specified image builder and releases the capacity.
137 */
138 deleteImageBuilder(params: AppStream.Types.DeleteImageBuilderRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteImageBuilderResult) => void): Request<AppStream.Types.DeleteImageBuilderResult, AWSError>;
139 /**
140 * Deletes the specified image builder and releases the capacity.
141 */
142 deleteImageBuilder(callback?: (err: AWSError, data: AppStream.Types.DeleteImageBuilderResult) => void): Request<AppStream.Types.DeleteImageBuilderResult, AWSError>;
143 /**
144 * Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.
145 */
146 deleteImagePermissions(params: AppStream.Types.DeleteImagePermissionsRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteImagePermissionsResult) => void): Request<AppStream.Types.DeleteImagePermissionsResult, AWSError>;
147 /**
148 * Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.
149 */
150 deleteImagePermissions(callback?: (err: AWSError, data: AppStream.Types.DeleteImagePermissionsResult) => void): Request<AppStream.Types.DeleteImagePermissionsResult, AWSError>;
151 /**
152 * Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.
153 */
154 deleteStack(params: AppStream.Types.DeleteStackRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteStackResult) => void): Request<AppStream.Types.DeleteStackResult, AWSError>;
155 /**
156 * Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.
157 */
158 deleteStack(callback?: (err: AWSError, data: AppStream.Types.DeleteStackResult) => void): Request<AppStream.Types.DeleteStackResult, AWSError>;
159 /**
160 * Disables usage report generation.
161 */
162 deleteUsageReportSubscription(params: AppStream.Types.DeleteUsageReportSubscriptionRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteUsageReportSubscriptionResult) => void): Request<AppStream.Types.DeleteUsageReportSubscriptionResult, AWSError>;
163 /**
164 * Disables usage report generation.
165 */
166 deleteUsageReportSubscription(callback?: (err: AWSError, data: AppStream.Types.DeleteUsageReportSubscriptionResult) => void): Request<AppStream.Types.DeleteUsageReportSubscriptionResult, AWSError>;
167 /**
168 * Deletes a user from the user pool.
169 */
170 deleteUser(params: AppStream.Types.DeleteUserRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteUserResult) => void): Request<AppStream.Types.DeleteUserResult, AWSError>;
171 /**
172 * Deletes a user from the user pool.
173 */
174 deleteUser(callback?: (err: AWSError, data: AppStream.Types.DeleteUserResult) => void): Request<AppStream.Types.DeleteUserResult, AWSError>;
175 /**
176 * Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the configuration information required to join fleets and image builders to Microsoft Active Directory domains. Although the response syntax in this topic includes the account password, this password is not returned in the actual response.
177 */
178 describeDirectoryConfigs(params: AppStream.Types.DescribeDirectoryConfigsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeDirectoryConfigsResult) => void): Request<AppStream.Types.DescribeDirectoryConfigsResult, AWSError>;
179 /**
180 * Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the configuration information required to join fleets and image builders to Microsoft Active Directory domains. Although the response syntax in this topic includes the account password, this password is not returned in the actual response.
181 */
182 describeDirectoryConfigs(callback?: (err: AWSError, data: AppStream.Types.DescribeDirectoryConfigsResult) => void): Request<AppStream.Types.DescribeDirectoryConfigsResult, AWSError>;
183 /**
184 * Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.
185 */
186 describeFleets(params: AppStream.Types.DescribeFleetsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>;
187 /**
188 * Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.
189 */
190 describeFleets(callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>;
191 /**
192 * Retrieves a list that describes one or more specified image builders, if the image builder names are provided. Otherwise, all image builders in the account are described.
193 */
194 describeImageBuilders(params: AppStream.Types.DescribeImageBuildersRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeImageBuildersResult) => void): Request<AppStream.Types.DescribeImageBuildersResult, AWSError>;
195 /**
196 * Retrieves a list that describes one or more specified image builders, if the image builder names are provided. Otherwise, all image builders in the account are described.
197 */
198 describeImageBuilders(callback?: (err: AWSError, data: AppStream.Types.DescribeImageBuildersResult) => void): Request<AppStream.Types.DescribeImageBuildersResult, AWSError>;
199 /**
200 * Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.
201 */
202 describeImagePermissions(params: AppStream.Types.DescribeImagePermissionsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeImagePermissionsResult) => void): Request<AppStream.Types.DescribeImagePermissionsResult, AWSError>;
203 /**
204 * Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.
205 */
206 describeImagePermissions(callback?: (err: AWSError, data: AppStream.Types.DescribeImagePermissionsResult) => void): Request<AppStream.Types.DescribeImagePermissionsResult, AWSError>;
207 /**
208 * Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided. Otherwise, all images in the account are described.
209 */
210 describeImages(params: AppStream.Types.DescribeImagesRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeImagesResult) => void): Request<AppStream.Types.DescribeImagesResult, AWSError>;
211 /**
212 * Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided. Otherwise, all images in the account are described.
213 */
214 describeImages(callback?: (err: AWSError, data: AppStream.Types.DescribeImagesResult) => void): Request<AppStream.Types.DescribeImagesResult, AWSError>;
215 /**
216 * Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a UserId is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
217 */
218 describeSessions(params: AppStream.Types.DescribeSessionsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeSessionsResult) => void): Request<AppStream.Types.DescribeSessionsResult, AWSError>;
219 /**
220 * Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a UserId is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
221 */
222 describeSessions(callback?: (err: AWSError, data: AppStream.Types.DescribeSessionsResult) => void): Request<AppStream.Types.DescribeSessionsResult, AWSError>;
223 /**
224 * Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
225 */
226 describeStacks(params: AppStream.Types.DescribeStacksRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeStacksResult) => void): Request<AppStream.Types.DescribeStacksResult, AWSError>;
227 /**
228 * Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
229 */
230 describeStacks(callback?: (err: AWSError, data: AppStream.Types.DescribeStacksResult) => void): Request<AppStream.Types.DescribeStacksResult, AWSError>;
231 /**
232 * Retrieves a list that describes one or more usage report subscriptions.
233 */
234 describeUsageReportSubscriptions(params: AppStream.Types.DescribeUsageReportSubscriptionsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeUsageReportSubscriptionsResult) => void): Request<AppStream.Types.DescribeUsageReportSubscriptionsResult, AWSError>;
235 /**
236 * Retrieves a list that describes one or more usage report subscriptions.
237 */
238 describeUsageReportSubscriptions(callback?: (err: AWSError, data: AppStream.Types.DescribeUsageReportSubscriptionsResult) => void): Request<AppStream.Types.DescribeUsageReportSubscriptionsResult, AWSError>;
239 /**
240 * Retrieves a list that describes the UserStackAssociation objects. You must specify either or both of the following: The stack name The user name (email address of the user associated with the stack) and the authentication type for the user
241 */
242 describeUserStackAssociations(params: AppStream.Types.DescribeUserStackAssociationsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeUserStackAssociationsResult) => void): Request<AppStream.Types.DescribeUserStackAssociationsResult, AWSError>;
243 /**
244 * Retrieves a list that describes the UserStackAssociation objects. You must specify either or both of the following: The stack name The user name (email address of the user associated with the stack) and the authentication type for the user
245 */
246 describeUserStackAssociations(callback?: (err: AWSError, data: AppStream.Types.DescribeUserStackAssociationsResult) => void): Request<AppStream.Types.DescribeUserStackAssociationsResult, AWSError>;
247 /**
248 * Retrieves a list that describes one or more specified users in the user pool.
249 */
250 describeUsers(params: AppStream.Types.DescribeUsersRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeUsersResult) => void): Request<AppStream.Types.DescribeUsersResult, AWSError>;
251 /**
252 * Retrieves a list that describes one or more specified users in the user pool.
253 */
254 describeUsers(callback?: (err: AWSError, data: AppStream.Types.DescribeUsersResult) => void): Request<AppStream.Types.DescribeUsersResult, AWSError>;
255 /**
256 * Disables the specified user in the user pool. Users can't sign in to AppStream 2.0 until they are re-enabled. This action does not delete the user.
257 */
258 disableUser(params: AppStream.Types.DisableUserRequest, callback?: (err: AWSError, data: AppStream.Types.DisableUserResult) => void): Request<AppStream.Types.DisableUserResult, AWSError>;
259 /**
260 * Disables the specified user in the user pool. Users can't sign in to AppStream 2.0 until they are re-enabled. This action does not delete the user.
261 */
262 disableUser(callback?: (err: AWSError, data: AppStream.Types.DisableUserResult) => void): Request<AppStream.Types.DisableUserResult, AWSError>;
263 /**
264 * Disassociates the specified fleet from the specified stack.
265 */
266 disassociateFleet(params: AppStream.Types.DisassociateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.DisassociateFleetResult) => void): Request<AppStream.Types.DisassociateFleetResult, AWSError>;
267 /**
268 * Disassociates the specified fleet from the specified stack.
269 */
270 disassociateFleet(callback?: (err: AWSError, data: AppStream.Types.DisassociateFleetResult) => void): Request<AppStream.Types.DisassociateFleetResult, AWSError>;
271 /**
272 * Enables a user in the user pool. After being enabled, users can sign in to AppStream 2.0 and open applications from the stacks to which they are assigned.
273 */
274 enableUser(params: AppStream.Types.EnableUserRequest, callback?: (err: AWSError, data: AppStream.Types.EnableUserResult) => void): Request<AppStream.Types.EnableUserResult, AWSError>;
275 /**
276 * Enables a user in the user pool. After being enabled, users can sign in to AppStream 2.0 and open applications from the stacks to which they are assigned.
277 */
278 enableUser(callback?: (err: AWSError, data: AppStream.Types.EnableUserResult) => void): Request<AppStream.Types.EnableUserResult, AWSError>;
279 /**
280 * Immediately stops the specified streaming session.
281 */
282 expireSession(params: AppStream.Types.ExpireSessionRequest, callback?: (err: AWSError, data: AppStream.Types.ExpireSessionResult) => void): Request<AppStream.Types.ExpireSessionResult, AWSError>;
283 /**
284 * Immediately stops the specified streaming session.
285 */
286 expireSession(callback?: (err: AWSError, data: AppStream.Types.ExpireSessionResult) => void): Request<AppStream.Types.ExpireSessionResult, AWSError>;
287 /**
288 * Retrieves the name of the fleet that is associated with the specified stack.
289 */
290 listAssociatedFleets(params: AppStream.Types.ListAssociatedFleetsRequest, callback?: (err: AWSError, data: AppStream.Types.ListAssociatedFleetsResult) => void): Request<AppStream.Types.ListAssociatedFleetsResult, AWSError>;
291 /**
292 * Retrieves the name of the fleet that is associated with the specified stack.
293 */
294 listAssociatedFleets(callback?: (err: AWSError, data: AppStream.Types.ListAssociatedFleetsResult) => void): Request<AppStream.Types.ListAssociatedFleetsResult, AWSError>;
295 /**
296 * Retrieves the name of the stack with which the specified fleet is associated.
297 */
298 listAssociatedStacks(params: AppStream.Types.ListAssociatedStacksRequest, callback?: (err: AWSError, data: AppStream.Types.ListAssociatedStacksResult) => void): Request<AppStream.Types.ListAssociatedStacksResult, AWSError>;
299 /**
300 * Retrieves the name of the stack with which the specified fleet is associated.
301 */
302 listAssociatedStacks(callback?: (err: AWSError, data: AppStream.Types.ListAssociatedStacksResult) => void): Request<AppStream.Types.ListAssociatedStacksResult, AWSError>;
303 /**
304 * Retrieves a list of all tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
305 */
306 listTagsForResource(params: AppStream.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: AppStream.Types.ListTagsForResourceResponse) => void): Request<AppStream.Types.ListTagsForResourceResponse, AWSError>;
307 /**
308 * Retrieves a list of all tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
309 */
310 listTagsForResource(callback?: (err: AWSError, data: AppStream.Types.ListTagsForResourceResponse) => void): Request<AppStream.Types.ListTagsForResourceResponse, AWSError>;
311 /**
312 * Starts the specified fleet.
313 */
314 startFleet(params: AppStream.Types.StartFleetRequest, callback?: (err: AWSError, data: AppStream.Types.StartFleetResult) => void): Request<AppStream.Types.StartFleetResult, AWSError>;
315 /**
316 * Starts the specified fleet.
317 */
318 startFleet(callback?: (err: AWSError, data: AppStream.Types.StartFleetResult) => void): Request<AppStream.Types.StartFleetResult, AWSError>;
319 /**
320 * Starts the specified image builder.
321 */
322 startImageBuilder(params: AppStream.Types.StartImageBuilderRequest, callback?: (err: AWSError, data: AppStream.Types.StartImageBuilderResult) => void): Request<AppStream.Types.StartImageBuilderResult, AWSError>;
323 /**
324 * Starts the specified image builder.
325 */
326 startImageBuilder(callback?: (err: AWSError, data: AppStream.Types.StartImageBuilderResult) => void): Request<AppStream.Types.StartImageBuilderResult, AWSError>;
327 /**
328 * Stops the specified fleet.
329 */
330 stopFleet(params: AppStream.Types.StopFleetRequest, callback?: (err: AWSError, data: AppStream.Types.StopFleetResult) => void): Request<AppStream.Types.StopFleetResult, AWSError>;
331 /**
332 * Stops the specified fleet.
333 */
334 stopFleet(callback?: (err: AWSError, data: AppStream.Types.StopFleetResult) => void): Request<AppStream.Types.StopFleetResult, AWSError>;
335 /**
336 * Stops the specified image builder.
337 */
338 stopImageBuilder(params: AppStream.Types.StopImageBuilderRequest, callback?: (err: AWSError, data: AppStream.Types.StopImageBuilderResult) => void): Request<AppStream.Types.StopImageBuilderResult, AWSError>;
339 /**
340 * Stops the specified image builder.
341 */
342 stopImageBuilder(callback?: (err: AWSError, data: AppStream.Types.StopImageBuilderResult) => void): Request<AppStream.Types.StopImageBuilderResult, AWSError>;
343 /**
344 * Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value. To list the current tags for your resources, use ListTagsForResource. To disassociate tags from your resources, use UntagResource. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
345 */
346 tagResource(params: AppStream.Types.TagResourceRequest, callback?: (err: AWSError, data: AppStream.Types.TagResourceResponse) => void): Request<AppStream.Types.TagResourceResponse, AWSError>;
347 /**
348 * Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value. To list the current tags for your resources, use ListTagsForResource. To disassociate tags from your resources, use UntagResource. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
349 */
350 tagResource(callback?: (err: AWSError, data: AppStream.Types.TagResourceResponse) => void): Request<AppStream.Types.TagResourceResponse, AWSError>;
351 /**
352 * Disassociates one or more specified tags from the specified AppStream 2.0 resource. To list the current tags for your resources, use ListTagsForResource. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
353 */
354 untagResource(params: AppStream.Types.UntagResourceRequest, callback?: (err: AWSError, data: AppStream.Types.UntagResourceResponse) => void): Request<AppStream.Types.UntagResourceResponse, AWSError>;
355 /**
356 * Disassociates one or more specified tags from the specified AppStream 2.0 resource. To list the current tags for your resources, use ListTagsForResource. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
357 */
358 untagResource(callback?: (err: AWSError, data: AppStream.Types.UntagResourceResponse) => void): Request<AppStream.Types.UntagResourceResponse, AWSError>;
359 /**
360 * Updates the specified Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
361 */
362 updateDirectoryConfig(params: AppStream.Types.UpdateDirectoryConfigRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateDirectoryConfigResult) => void): Request<AppStream.Types.UpdateDirectoryConfigResult, AWSError>;
363 /**
364 * Updates the specified Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
365 */
366 updateDirectoryConfig(callback?: (err: AWSError, data: AppStream.Types.UpdateDirectoryConfigResult) => void): Request<AppStream.Types.UpdateDirectoryConfigResult, AWSError>;
367 /**
368 * Updates the specified fleet. If the fleet is in the STOPPED state, you can update any attribute except the fleet name. If the fleet is in the RUNNING state, you can update the DisplayName, ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, and DisconnectTimeoutInSeconds attributes. If the fleet is in the STARTING or STOPPING state, you can't update it.
369 */
370 updateFleet(params: AppStream.Types.UpdateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateFleetResult) => void): Request<AppStream.Types.UpdateFleetResult, AWSError>;
371 /**
372 * Updates the specified fleet. If the fleet is in the STOPPED state, you can update any attribute except the fleet name. If the fleet is in the RUNNING state, you can update the DisplayName, ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, and DisconnectTimeoutInSeconds attributes. If the fleet is in the STARTING or STOPPING state, you can't update it.
373 */
374 updateFleet(callback?: (err: AWSError, data: AppStream.Types.UpdateFleetResult) => void): Request<AppStream.Types.UpdateFleetResult, AWSError>;
375 /**
376 * Adds or updates permissions for the specified private image.
377 */
378 updateImagePermissions(params: AppStream.Types.UpdateImagePermissionsRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateImagePermissionsResult) => void): Request<AppStream.Types.UpdateImagePermissionsResult, AWSError>;
379 /**
380 * Adds or updates permissions for the specified private image.
381 */
382 updateImagePermissions(callback?: (err: AWSError, data: AppStream.Types.UpdateImagePermissionsResult) => void): Request<AppStream.Types.UpdateImagePermissionsResult, AWSError>;
383 /**
384 * Updates the specified fields for the specified stack.
385 */
386 updateStack(params: AppStream.Types.UpdateStackRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateStackResult) => void): Request<AppStream.Types.UpdateStackResult, AWSError>;
387 /**
388 * Updates the specified fields for the specified stack.
389 */
390 updateStack(callback?: (err: AWSError, data: AppStream.Types.UpdateStackResult) => void): Request<AppStream.Types.UpdateStackResult, AWSError>;
391 /**
392 * Waits for the fleetStarted state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times).
393 */
394 waitFor(state: "fleetStarted", params: AppStream.Types.DescribeFleetsRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>;
395 /**
396 * Waits for the fleetStarted state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times).
397 */
398 waitFor(state: "fleetStarted", callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>;
399 /**
400 * Waits for the fleetStopped state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times).
401 */
402 waitFor(state: "fleetStopped", params: AppStream.Types.DescribeFleetsRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>;
403 /**
404 * Waits for the fleetStopped state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times).
405 */
406 waitFor(state: "fleetStopped", callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>;
407}
408declare namespace AppStream {
409 export interface AccessEndpoint {
410 /**
411 * The type of interface endpoint.
412 */
413 EndpointType: AccessEndpointType;
414 /**
415 * The identifier (ID) of the VPC in which the interface endpoint is used.
416 */
417 VpceId?: String;
418 }
419 export type AccessEndpointList = AccessEndpoint[];
420 export type AccessEndpointType = "STREAMING"|string;
421 export type AccountName = string;
422 export type AccountPassword = string;
423 export type Action = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE"|"CLIPBOARD_COPY_TO_LOCAL_DEVICE"|"FILE_UPLOAD"|"FILE_DOWNLOAD"|"PRINTING_TO_LOCAL_DEVICE"|string;
424 export interface Application {
425 /**
426 * The name of the application.
427 */
428 Name?: String;
429 /**
430 * The application name to display.
431 */
432 DisplayName?: String;
433 /**
434 * The URL for the application icon. This URL might be time-limited.
435 */
436 IconURL?: String;
437 /**
438 * The path to the application executable in the instance.
439 */
440 LaunchPath?: String;
441 /**
442 * The arguments that are passed to the application at launch.
443 */
444 LaunchParameters?: String;
445 /**
446 * If there is a problem, the application can be disabled after image creation.
447 */
448 Enabled?: Boolean;
449 /**
450 * Additional attributes that describe the application.
451 */
452 Metadata?: Metadata;
453 }
454 export interface ApplicationSettings {
455 /**
456 * Enables or disables persistent application settings for users during their streaming sessions.
457 */
458 Enabled: Boolean;
459 /**
460 * The path prefix for the S3 bucket where users’ persistent application settings are stored. You can allow the same persistent application settings to be used across multiple stacks by specifying the same settings group for each stack.
461 */
462 SettingsGroup?: SettingsGroup;
463 }
464 export interface ApplicationSettingsResponse {
465 /**
466 * Specifies whether persistent application settings are enabled for users during their streaming sessions.
467 */
468 Enabled?: Boolean;
469 /**
470 * The path prefix for the S3 bucket where users’ persistent application settings are stored.
471 */
472 SettingsGroup?: SettingsGroup;
473 /**
474 * The S3 bucket where users’ persistent application settings are stored. When persistent application settings are enabled for the first time for an account in an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account and the Region.
475 */
476 S3BucketName?: String;
477 }
478 export type Applications = Application[];
479 export type AppstreamAgentVersion = string;
480 export type Arn = string;
481 export type ArnList = Arn[];
482 export interface AssociateFleetRequest {
483 /**
484 * The name of the fleet.
485 */
486 FleetName: String;
487 /**
488 * The name of the stack.
489 */
490 StackName: String;
491 }
492 export interface AssociateFleetResult {
493 }
494 export type AuthenticationType = "API"|"SAML"|"USERPOOL"|string;
495 export type AwsAccountId = string;
496 export type AwsAccountIdList = AwsAccountId[];
497 export interface BatchAssociateUserStackRequest {
498 /**
499 * The list of UserStackAssociation objects.
500 */
501 UserStackAssociations: UserStackAssociationList;
502 }
503 export interface BatchAssociateUserStackResult {
504 /**
505 * The list of UserStackAssociationError objects.
506 */
507 errors?: UserStackAssociationErrorList;
508 }
509 export interface BatchDisassociateUserStackRequest {
510 /**
511 * The list of UserStackAssociation objects.
512 */
513 UserStackAssociations: UserStackAssociationList;
514 }
515 export interface BatchDisassociateUserStackResult {
516 /**
517 * The list of UserStackAssociationError objects.
518 */
519 errors?: UserStackAssociationErrorList;
520 }
521 export type Boolean = boolean;
522 export type BooleanObject = boolean;
523 export interface ComputeCapacity {
524 /**
525 * The desired number of streaming instances.
526 */
527 DesiredInstances: Integer;
528 }
529 export interface ComputeCapacityStatus {
530 /**
531 * The desired number of streaming instances.
532 */
533 Desired: Integer;
534 /**
535 * The total number of simultaneous streaming instances that are running.
536 */
537 Running?: Integer;
538 /**
539 * The number of instances in use for streaming.
540 */
541 InUse?: Integer;
542 /**
543 * The number of currently available instances that can be used to stream sessions.
544 */
545 Available?: Integer;
546 }
547 export interface CopyImageRequest {
548 /**
549 * The name of the image to copy.
550 */
551 SourceImageName: Name;
552 /**
553 * The name that the image will have when it is copied to the destination.
554 */
555 DestinationImageName: Name;
556 /**
557 * The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.
558 */
559 DestinationRegion: RegionName;
560 /**
561 * The description that the image will have when it is copied to the destination.
562 */
563 DestinationImageDescription?: Description;
564 }
565 export interface CopyImageResponse {
566 /**
567 * The name of the destination image.
568 */
569 DestinationImageName?: Name;
570 }
571 export interface CreateDirectoryConfigRequest {
572 /**
573 * The fully qualified name of the directory (for example, corp.example.com).
574 */
575 DirectoryName: DirectoryName;
576 /**
577 * The distinguished names of the organizational units for computer accounts.
578 */
579 OrganizationalUnitDistinguishedNames: OrganizationalUnitDistinguishedNamesList;
580 /**
581 * The credentials for the service account used by the fleet or image builder to connect to the directory.
582 */
583 ServiceAccountCredentials: ServiceAccountCredentials;
584 }
585 export interface CreateDirectoryConfigResult {
586 /**
587 * Information about the directory configuration.
588 */
589 DirectoryConfig?: DirectoryConfig;
590 }
591 export interface CreateFleetRequest {
592 /**
593 * A unique name for the fleet.
594 */
595 Name: Name;
596 /**
597 * The name of the image used to create the fleet.
598 */
599 ImageName?: String;
600 /**
601 * The ARN of the public, private, or shared image to use.
602 */
603 ImageArn?: Arn;
604 /**
605 * The instance type to use when launching fleet instances. The following instance types are available: stream.standard.medium stream.standard.large stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge
606 */
607 InstanceType: String;
608 /**
609 * The fleet type. ALWAYS_ON Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps. ON_DEMAND Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.
610 */
611 FleetType?: FleetType;
612 /**
613 * The desired capacity for the fleet.
614 */
615 ComputeCapacity: ComputeCapacity;
616 /**
617 * The VPC configuration for the fleet.
618 */
619 VpcConfig?: VpcConfig;
620 /**
621 * The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. Specify a value between 600 and 360000.
622 */
623 MaxUserDurationInSeconds?: Integer;
624 /**
625 * The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance. Specify a value between 60 and 360000.
626 */
627 DisconnectTimeoutInSeconds?: Integer;
628 /**
629 * The description to display.
630 */
631 Description?: Description;
632 /**
633 * The fleet name to display.
634 */
635 DisplayName?: DisplayName;
636 /**
637 * Enables or disables default internet access for the fleet.
638 */
639 EnableDefaultInternetAccess?: BooleanObject;
640 /**
641 * The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain.
642 */
643 DomainJoinInfo?: DomainJoinInfo;
644 /**
645 * The tags to associate with the fleet. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=. If you do not specify a value, the value is set to an empty string. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters: _ . : / = + \ - @ For more information, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
646 */
647 Tags?: Tags;
648 /**
649 * The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected. To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0. If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.
650 */
651 IdleDisconnectTimeoutInSeconds?: Integer;
652 /**
653 * The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance. For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
654 */
655 IamRoleArn?: Arn;
656 }
657 export interface CreateFleetResult {
658 /**
659 * Information about the fleet.
660 */
661 Fleet?: Fleet;
662 }
663 export interface CreateImageBuilderRequest {
664 /**
665 * A unique name for the image builder.
666 */
667 Name: Name;
668 /**
669 * The name of the image used to create the image builder.
670 */
671 ImageName?: String;
672 /**
673 * The ARN of the public, private, or shared image to use.
674 */
675 ImageArn?: Arn;
676 /**
677 * The instance type to use when launching the image builder. The following instance types are available: stream.standard.medium stream.standard.large stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge
678 */
679 InstanceType: String;
680 /**
681 * The description to display.
682 */
683 Description?: Description;
684 /**
685 * The image builder name to display.
686 */
687 DisplayName?: DisplayName;
688 /**
689 * The VPC configuration for the image builder. You can specify only one subnet.
690 */
691 VpcConfig?: VpcConfig;
692 /**
693 * The Amazon Resource Name (ARN) of the IAM role to apply to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance. For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
694 */
695 IamRoleArn?: Arn;
696 /**
697 * Enables or disables default internet access for the image builder.
698 */
699 EnableDefaultInternetAccess?: BooleanObject;
700 /**
701 * The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
702 */
703 DomainJoinInfo?: DomainJoinInfo;
704 /**
705 * The version of the AppStream 2.0 agent to use for this image builder. To use the latest version of the AppStream 2.0 agent, specify [LATEST].
706 */
707 AppstreamAgentVersion?: AppstreamAgentVersion;
708 /**
709 * The tags to associate with the image builder. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters: _ . : / = + \ - @ If you do not specify a value, the value is set to an empty string. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
710 */
711 Tags?: Tags;
712 /**
713 * The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the image builder only through the specified endpoints.
714 */
715 AccessEndpoints?: AccessEndpointList;
716 }
717 export interface CreateImageBuilderResult {
718 /**
719 * Information about the image builder.
720 */
721 ImageBuilder?: ImageBuilder;
722 }
723 export interface CreateImageBuilderStreamingURLRequest {
724 /**
725 * The name of the image builder.
726 */
727 Name: String;
728 /**
729 * The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.
730 */
731 Validity?: Long;
732 }
733 export interface CreateImageBuilderStreamingURLResult {
734 /**
735 * The URL to start the AppStream 2.0 streaming session.
736 */
737 StreamingURL?: String;
738 /**
739 * The elapsed time, in seconds after the Unix epoch, when this URL expires.
740 */
741 Expires?: Timestamp;
742 }
743 export interface CreateStackRequest {
744 /**
745 * The name of the stack.
746 */
747 Name: Name;
748 /**
749 * The description to display.
750 */
751 Description?: Description;
752 /**
753 * The stack name to display.
754 */
755 DisplayName?: DisplayName;
756 /**
757 * The storage connectors to enable.
758 */
759 StorageConnectors?: StorageConnectorList;
760 /**
761 * The URL that users are redirected to after their streaming session ends.
762 */
763 RedirectURL?: RedirectURL;
764 /**
765 * The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
766 */
767 FeedbackURL?: FeedbackURL;
768 /**
769 * The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
770 */
771 UserSettings?: UserSettingList;
772 /**
773 * The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.
774 */
775 ApplicationSettings?: ApplicationSettings;
776 /**
777 * The tags to associate with the stack. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=. If you do not specify a value, the value is set to an empty string. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters: _ . : / = + \ - @ For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
778 */
779 Tags?: Tags;
780 /**
781 * The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
782 */
783 AccessEndpoints?: AccessEndpointList;
784 /**
785 * The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
786 */
787 EmbedHostDomains?: EmbedHostDomains;
788 }
789 export interface CreateStackResult {
790 /**
791 * Information about the stack.
792 */
793 Stack?: Stack;
794 }
795 export interface CreateStreamingURLRequest {
796 /**
797 * The name of the stack.
798 */
799 StackName: String;
800 /**
801 * The name of the fleet.
802 */
803 FleetName: String;
804 /**
805 * The identifier of the user.
806 */
807 UserId: StreamingUrlUserId;
808 /**
809 * The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant.
810 */
811 ApplicationId?: String;
812 /**
813 * The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
814 */
815 Validity?: Long;
816 /**
817 * The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.
818 */
819 SessionContext?: String;
820 }
821 export interface CreateStreamingURLResult {
822 /**
823 * The URL to start the AppStream 2.0 streaming session.
824 */
825 StreamingURL?: String;
826 /**
827 * The elapsed time, in seconds after the Unix epoch, when this URL expires.
828 */
829 Expires?: Timestamp;
830 }
831 export interface CreateUsageReportSubscriptionRequest {
832 }
833 export interface CreateUsageReportSubscriptionResult {
834 /**
835 * The Amazon S3 bucket where generated reports are stored. If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.
836 */
837 S3BucketName?: String;
838 /**
839 * The schedule for generating usage reports.
840 */
841 Schedule?: UsageReportSchedule;
842 }
843 export interface CreateUserRequest {
844 /**
845 * The email address of the user. Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
846 */
847 UserName: Username;
848 /**
849 * The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent. The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
850 */
851 MessageAction?: MessageAction;
852 /**
853 * The first name, or given name, of the user.
854 */
855 FirstName?: UserAttributeValue;
856 /**
857 * The last name, or surname, of the user.
858 */
859 LastName?: UserAttributeValue;
860 /**
861 * The authentication type for the user. You must specify USERPOOL.
862 */
863 AuthenticationType: AuthenticationType;
864 }
865 export interface CreateUserResult {
866 }
867 export interface DeleteDirectoryConfigRequest {
868 /**
869 * The name of the directory configuration.
870 */
871 DirectoryName: DirectoryName;
872 }
873 export interface DeleteDirectoryConfigResult {
874 }
875 export interface DeleteFleetRequest {
876 /**
877 * The name of the fleet.
878 */
879 Name: String;
880 }
881 export interface DeleteFleetResult {
882 }
883 export interface DeleteImageBuilderRequest {
884 /**
885 * The name of the image builder.
886 */
887 Name: Name;
888 }
889 export interface DeleteImageBuilderResult {
890 /**
891 * Information about the image builder.
892 */
893 ImageBuilder?: ImageBuilder;
894 }
895 export interface DeleteImagePermissionsRequest {
896 /**
897 * The name of the private image.
898 */
899 Name: Name;
900 /**
901 * The 12-digit identifier of the AWS account for which to delete image permissions.
902 */
903 SharedAccountId: AwsAccountId;
904 }
905 export interface DeleteImagePermissionsResult {
906 }
907 export interface DeleteImageRequest {
908 /**
909 * The name of the image.
910 */
911 Name: Name;
912 }
913 export interface DeleteImageResult {
914 /**
915 * Information about the image.
916 */
917 Image?: Image;
918 }
919 export interface DeleteStackRequest {
920 /**
921 * The name of the stack.
922 */
923 Name: String;
924 }
925 export interface DeleteStackResult {
926 }
927 export interface DeleteUsageReportSubscriptionRequest {
928 }
929 export interface DeleteUsageReportSubscriptionResult {
930 }
931 export interface DeleteUserRequest {
932 /**
933 * The email address of the user. Users' email addresses are case-sensitive.
934 */
935 UserName: Username;
936 /**
937 * The authentication type for the user. You must specify USERPOOL.
938 */
939 AuthenticationType: AuthenticationType;
940 }
941 export interface DeleteUserResult {
942 }
943 export interface DescribeDirectoryConfigsRequest {
944 /**
945 * The directory names.
946 */
947 DirectoryNames?: DirectoryNameList;
948 /**
949 * The maximum size of each page of results.
950 */
951 MaxResults?: Integer;
952 /**
953 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
954 */
955 NextToken?: String;
956 }
957 export interface DescribeDirectoryConfigsResult {
958 /**
959 * Information about the directory configurations. Note that although the response syntax in this topic includes the account password, this password is not returned in the actual response.
960 */
961 DirectoryConfigs?: DirectoryConfigList;
962 /**
963 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
964 */
965 NextToken?: String;
966 }
967 export interface DescribeFleetsRequest {
968 /**
969 * The names of the fleets to describe.
970 */
971 Names?: StringList;
972 /**
973 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
974 */
975 NextToken?: String;
976 }
977 export interface DescribeFleetsResult {
978 /**
979 * Information about the fleets.
980 */
981 Fleets?: FleetList;
982 /**
983 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
984 */
985 NextToken?: String;
986 }
987 export interface DescribeImageBuildersRequest {
988 /**
989 * The names of the image builders to describe.
990 */
991 Names?: StringList;
992 /**
993 * The maximum size of each page of results.
994 */
995 MaxResults?: Integer;
996 /**
997 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
998 */
999 NextToken?: String;
1000 }
1001 export interface DescribeImageBuildersResult {
1002 /**
1003 * Information about the image builders.
1004 */
1005 ImageBuilders?: ImageBuilderList;
1006 /**
1007 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1008 */
1009 NextToken?: String;
1010 }
1011 export interface DescribeImagePermissionsRequest {
1012 /**
1013 * The name of the private image for which to describe permissions. The image must be one that you own.
1014 */
1015 Name: Name;
1016 /**
1017 * The maximum size of each page of results.
1018 */
1019 MaxResults?: MaxResults;
1020 /**
1021 * The 12-digit identifier of one or more AWS accounts with which the image is shared.
1022 */
1023 SharedAwsAccountIds?: AwsAccountIdList;
1024 /**
1025 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1026 */
1027 NextToken?: String;
1028 }
1029 export interface DescribeImagePermissionsResult {
1030 /**
1031 * The name of the private image.
1032 */
1033 Name?: Name;
1034 /**
1035 * The permissions for a private image that you own.
1036 */
1037 SharedImagePermissionsList?: SharedImagePermissionsList;
1038 /**
1039 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1040 */
1041 NextToken?: String;
1042 }
1043 export type DescribeImagesMaxResults = number;
1044 export interface DescribeImagesRequest {
1045 /**
1046 * The names of the public or private images to describe.
1047 */
1048 Names?: StringList;
1049 /**
1050 * The ARNs of the public, private, and shared images to describe.
1051 */
1052 Arns?: ArnList;
1053 /**
1054 * The type of image (public, private, or shared) to describe.
1055 */
1056 Type?: VisibilityType;
1057 /**
1058 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1059 */
1060 NextToken?: String;
1061 /**
1062 * The maximum size of each page of results.
1063 */
1064 MaxResults?: DescribeImagesMaxResults;
1065 }
1066 export interface DescribeImagesResult {
1067 /**
1068 * Information about the images.
1069 */
1070 Images?: ImageList;
1071 /**
1072 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1073 */
1074 NextToken?: String;
1075 }
1076 export interface DescribeSessionsRequest {
1077 /**
1078 * The name of the stack. This value is case-sensitive.
1079 */
1080 StackName: String;
1081 /**
1082 * The name of the fleet. This value is case-sensitive.
1083 */
1084 FleetName: String;
1085 /**
1086 * The user identifier.
1087 */
1088 UserId?: UserId;
1089 /**
1090 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1091 */
1092 NextToken?: String;
1093 /**
1094 * The size of each page of results. The default value is 20 and the maximum value is 50.
1095 */
1096 Limit?: Integer;
1097 /**
1098 * The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.
1099 */
1100 AuthenticationType?: AuthenticationType;
1101 }
1102 export interface DescribeSessionsResult {
1103 /**
1104 * Information about the streaming sessions.
1105 */
1106 Sessions?: SessionList;
1107 /**
1108 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1109 */
1110 NextToken?: String;
1111 }
1112 export interface DescribeStacksRequest {
1113 /**
1114 * The names of the stacks to describe.
1115 */
1116 Names?: StringList;
1117 /**
1118 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1119 */
1120 NextToken?: String;
1121 }
1122 export interface DescribeStacksResult {
1123 /**
1124 * Information about the stacks.
1125 */
1126 Stacks?: StackList;
1127 /**
1128 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1129 */
1130 NextToken?: String;
1131 }
1132 export interface DescribeUsageReportSubscriptionsRequest {
1133 /**
1134 * The maximum size of each page of results.
1135 */
1136 MaxResults?: Integer;
1137 /**
1138 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1139 */
1140 NextToken?: String;
1141 }
1142 export interface DescribeUsageReportSubscriptionsResult {
1143 /**
1144 * Information about the usage report subscription.
1145 */
1146 UsageReportSubscriptions?: UsageReportSubscriptionList;
1147 /**
1148 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1149 */
1150 NextToken?: String;
1151 }
1152 export interface DescribeUserStackAssociationsRequest {
1153 /**
1154 * The name of the stack that is associated with the user.
1155 */
1156 StackName?: String;
1157 /**
1158 * The email address of the user who is associated with the stack. Users' email addresses are case-sensitive.
1159 */
1160 UserName?: Username;
1161 /**
1162 * The authentication type for the user who is associated with the stack. You must specify USERPOOL.
1163 */
1164 AuthenticationType?: AuthenticationType;
1165 /**
1166 * The maximum size of each page of results.
1167 */
1168 MaxResults?: MaxResults;
1169 /**
1170 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1171 */
1172 NextToken?: String;
1173 }
1174 export interface DescribeUserStackAssociationsResult {
1175 /**
1176 * The UserStackAssociation objects.
1177 */
1178 UserStackAssociations?: UserStackAssociationList;
1179 /**
1180 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1181 */
1182 NextToken?: String;
1183 }
1184 export interface DescribeUsersRequest {
1185 /**
1186 * The authentication type for the users in the user pool to describe. You must specify USERPOOL.
1187 */
1188 AuthenticationType: AuthenticationType;
1189 /**
1190 * The maximum size of each page of results.
1191 */
1192 MaxResults?: Integer;
1193 /**
1194 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1195 */
1196 NextToken?: String;
1197 }
1198 export interface DescribeUsersResult {
1199 /**
1200 * Information about users in the user pool.
1201 */
1202 Users?: UserList;
1203 /**
1204 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1205 */
1206 NextToken?: String;
1207 }
1208 export type Description = string;
1209 export interface DirectoryConfig {
1210 /**
1211 * The fully qualified name of the directory (for example, corp.example.com).
1212 */
1213 DirectoryName: DirectoryName;
1214 /**
1215 * The distinguished names of the organizational units for computer accounts.
1216 */
1217 OrganizationalUnitDistinguishedNames?: OrganizationalUnitDistinguishedNamesList;
1218 /**
1219 * The credentials for the service account used by the fleet or image builder to connect to the directory.
1220 */
1221 ServiceAccountCredentials?: ServiceAccountCredentials;
1222 /**
1223 * The time the directory configuration was created.
1224 */
1225 CreatedTime?: Timestamp;
1226 }
1227 export type DirectoryConfigList = DirectoryConfig[];
1228 export type DirectoryName = string;
1229 export type DirectoryNameList = DirectoryName[];
1230 export interface DisableUserRequest {
1231 /**
1232 * The email address of the user. Users' email addresses are case-sensitive.
1233 */
1234 UserName: Username;
1235 /**
1236 * The authentication type for the user. You must specify USERPOOL.
1237 */
1238 AuthenticationType: AuthenticationType;
1239 }
1240 export interface DisableUserResult {
1241 }
1242 export interface DisassociateFleetRequest {
1243 /**
1244 * The name of the fleet.
1245 */
1246 FleetName: String;
1247 /**
1248 * The name of the stack.
1249 */
1250 StackName: String;
1251 }
1252 export interface DisassociateFleetResult {
1253 }
1254 export type DisplayName = string;
1255 export type Domain = string;
1256 export interface DomainJoinInfo {
1257 /**
1258 * The fully qualified name of the directory (for example, corp.example.com).
1259 */
1260 DirectoryName?: DirectoryName;
1261 /**
1262 * The distinguished name of the organizational unit for computer accounts.
1263 */
1264 OrganizationalUnitDistinguishedName?: OrganizationalUnitDistinguishedName;
1265 }
1266 export type DomainList = Domain[];
1267 export type EmbedHostDomain = string;
1268 export type EmbedHostDomains = EmbedHostDomain[];
1269 export interface EnableUserRequest {
1270 /**
1271 * The email address of the user. Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
1272 */
1273 UserName: Username;
1274 /**
1275 * The authentication type for the user. You must specify USERPOOL.
1276 */
1277 AuthenticationType: AuthenticationType;
1278 }
1279 export interface EnableUserResult {
1280 }
1281 export interface ExpireSessionRequest {
1282 /**
1283 * The identifier of the streaming session.
1284 */
1285 SessionId: String;
1286 }
1287 export interface ExpireSessionResult {
1288 }
1289 export type FeedbackURL = string;
1290 export interface Fleet {
1291 /**
1292 * The Amazon Resource Name (ARN) for the fleet.
1293 */
1294 Arn: Arn;
1295 /**
1296 * The name of the fleet.
1297 */
1298 Name: String;
1299 /**
1300 * The fleet name to display.
1301 */
1302 DisplayName?: String;
1303 /**
1304 * The description to display.
1305 */
1306 Description?: String;
1307 /**
1308 * The name of the image used to create the fleet.
1309 */
1310 ImageName?: String;
1311 /**
1312 * The ARN for the public, private, or shared image.
1313 */
1314 ImageArn?: Arn;
1315 /**
1316 * The instance type to use when launching fleet instances. The following instance types are available: stream.standard.medium stream.standard.large stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge
1317 */
1318 InstanceType: String;
1319 /**
1320 * The fleet type. ALWAYS_ON Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps. ON_DEMAND Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.
1321 */
1322 FleetType?: FleetType;
1323 /**
1324 * The capacity status for the fleet.
1325 */
1326 ComputeCapacityStatus: ComputeCapacityStatus;
1327 /**
1328 * The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. Specify a value between 600 and 360000.
1329 */
1330 MaxUserDurationInSeconds?: Integer;
1331 /**
1332 * The amount of time that a streaming session remains active after users disconnect. If they try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance. Specify a value between 60 and 360000.
1333 */
1334 DisconnectTimeoutInSeconds?: Integer;
1335 /**
1336 * The current state for the fleet.
1337 */
1338 State: FleetState;
1339 /**
1340 * The VPC configuration for the fleet.
1341 */
1342 VpcConfig?: VpcConfig;
1343 /**
1344 * The time the fleet was created.
1345 */
1346 CreatedTime?: Timestamp;
1347 /**
1348 * The fleet errors.
1349 */
1350 FleetErrors?: FleetErrors;
1351 /**
1352 * Indicates whether default internet access is enabled for the fleet.
1353 */
1354 EnableDefaultInternetAccess?: BooleanObject;
1355 /**
1356 * The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain.
1357 */
1358 DomainJoinInfo?: DomainJoinInfo;
1359 /**
1360 * The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected. To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0. If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.
1361 */
1362 IdleDisconnectTimeoutInSeconds?: Integer;
1363 /**
1364 * The ARN of the IAM role that is applied to the fleet. To assume a role, the fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance. For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
1365 */
1366 IamRoleArn?: Arn;
1367 }
1368 export type FleetAttribute = "VPC_CONFIGURATION"|"VPC_CONFIGURATION_SECURITY_GROUP_IDS"|"DOMAIN_JOIN_INFO"|"IAM_ROLE_ARN"|string;
1369 export type FleetAttributes = FleetAttribute[];
1370 export interface FleetError {
1371 /**
1372 * The error code.
1373 */
1374 ErrorCode?: FleetErrorCode;
1375 /**
1376 * The error message.
1377 */
1378 ErrorMessage?: String;
1379 }
1380 export type FleetErrorCode = "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION"|"IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION"|"IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION"|"NETWORK_INTERFACE_LIMIT_EXCEEDED"|"INTERNAL_SERVICE_ERROR"|"IAM_SERVICE_ROLE_IS_MISSING"|"MACHINE_ROLE_IS_MISSING"|"STS_DISABLED_IN_REGION"|"SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES"|"IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION"|"SUBNET_NOT_FOUND"|"IMAGE_NOT_FOUND"|"INVALID_SUBNET_CONFIGURATION"|"SECURITY_GROUPS_NOT_FOUND"|"IGW_NOT_ATTACHED"|"IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION"|"DOMAIN_JOIN_ERROR_FILE_NOT_FOUND"|"DOMAIN_JOIN_ERROR_ACCESS_DENIED"|"DOMAIN_JOIN_ERROR_LOGON_FAILURE"|"DOMAIN_JOIN_ERROR_INVALID_PARAMETER"|"DOMAIN_JOIN_ERROR_MORE_DATA"|"DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN"|"DOMAIN_JOIN_ERROR_NOT_SUPPORTED"|"DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME"|"DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED"|"DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED"|"DOMAIN_JOIN_NERR_PASSWORD_EXPIRED"|"DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"|string;
1381 export type FleetErrors = FleetError[];
1382 export type FleetList = Fleet[];
1383 export type FleetState = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|string;
1384 export type FleetType = "ALWAYS_ON"|"ON_DEMAND"|string;
1385 export interface Image {
1386 /**
1387 * The name of the image.
1388 */
1389 Name: String;
1390 /**
1391 * The ARN of the image.
1392 */
1393 Arn?: Arn;
1394 /**
1395 * The ARN of the image from which this image was created.
1396 */
1397 BaseImageArn?: Arn;
1398 /**
1399 * The image name to display.
1400 */
1401 DisplayName?: String;
1402 /**
1403 * The image starts in the PENDING state. If image creation succeeds, the state is AVAILABLE. If image creation fails, the state is FAILED.
1404 */
1405 State?: ImageState;
1406 /**
1407 * Indicates whether the image is public or private.
1408 */
1409 Visibility?: VisibilityType;
1410 /**
1411 * Indicates whether an image builder can be launched from this image.
1412 */
1413 ImageBuilderSupported?: Boolean;
1414 /**
1415 * The name of the image builder that was used to create the private image. If the image is shared, this value is null.
1416 */
1417 ImageBuilderName?: String;
1418 /**
1419 * The operating system platform of the image.
1420 */
1421 Platform?: PlatformType;
1422 /**
1423 * The description to display.
1424 */
1425 Description?: String;
1426 /**
1427 * The reason why the last state change occurred.
1428 */
1429 StateChangeReason?: ImageStateChangeReason;
1430 /**
1431 * The applications associated with the image.
1432 */
1433 Applications?: Applications;
1434 /**
1435 * The time the image was created.
1436 */
1437 CreatedTime?: Timestamp;
1438 /**
1439 * The release date of the public base image. For private images, this date is the release date of the base image from which the image was created.
1440 */
1441 PublicBaseImageReleasedDate?: Timestamp;
1442 /**
1443 * The version of the AppStream 2.0 agent to use for instances that are launched from this image.
1444 */
1445 AppstreamAgentVersion?: AppstreamAgentVersion;
1446 /**
1447 * The permissions to provide to the destination AWS account for the specified image.
1448 */
1449 ImagePermissions?: ImagePermissions;
1450 }
1451 export interface ImageBuilder {
1452 /**
1453 * The name of the image builder.
1454 */
1455 Name: String;
1456 /**
1457 * The ARN for the image builder.
1458 */
1459 Arn?: Arn;
1460 /**
1461 * The ARN of the image from which this builder was created.
1462 */
1463 ImageArn?: Arn;
1464 /**
1465 * The description to display.
1466 */
1467 Description?: String;
1468 /**
1469 * The image builder name to display.
1470 */
1471 DisplayName?: String;
1472 /**
1473 * The VPC configuration of the image builder.
1474 */
1475 VpcConfig?: VpcConfig;
1476 /**
1477 * The instance type for the image builder. The following instance types are available: stream.standard.medium stream.standard.large stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge
1478 */
1479 InstanceType?: String;
1480 /**
1481 * The operating system platform of the image builder.
1482 */
1483 Platform?: PlatformType;
1484 /**
1485 * The ARN of the IAM role that is applied to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance. For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
1486 */
1487 IamRoleArn?: Arn;
1488 /**
1489 * The state of the image builder.
1490 */
1491 State?: ImageBuilderState;
1492 /**
1493 * The reason why the last state change occurred.
1494 */
1495 StateChangeReason?: ImageBuilderStateChangeReason;
1496 /**
1497 * The time stamp when the image builder was created.
1498 */
1499 CreatedTime?: Timestamp;
1500 /**
1501 * Enables or disables default internet access for the image builder.
1502 */
1503 EnableDefaultInternetAccess?: BooleanObject;
1504 /**
1505 * The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
1506 */
1507 DomainJoinInfo?: DomainJoinInfo;
1508 NetworkAccessConfiguration?: NetworkAccessConfiguration;
1509 /**
1510 * The image builder errors.
1511 */
1512 ImageBuilderErrors?: ResourceErrors;
1513 /**
1514 * The version of the AppStream 2.0 agent that is currently being used by the image builder.
1515 */
1516 AppstreamAgentVersion?: AppstreamAgentVersion;
1517 /**
1518 * The list of virtual private cloud (VPC) interface endpoint objects. Administrators can connect to the image builder only through the specified endpoints.
1519 */
1520 AccessEndpoints?: AccessEndpointList;
1521 }
1522 export type ImageBuilderList = ImageBuilder[];
1523 export type ImageBuilderState = "PENDING"|"UPDATING_AGENT"|"RUNNING"|"STOPPING"|"STOPPED"|"REBOOTING"|"SNAPSHOTTING"|"DELETING"|"FAILED"|string;
1524 export interface ImageBuilderStateChangeReason {
1525 /**
1526 * The state change reason code.
1527 */
1528 Code?: ImageBuilderStateChangeReasonCode;
1529 /**
1530 * The state change reason message.
1531 */
1532 Message?: String;
1533 }
1534 export type ImageBuilderStateChangeReasonCode = "INTERNAL_ERROR"|"IMAGE_UNAVAILABLE"|string;
1535 export type ImageList = Image[];
1536 export interface ImagePermissions {
1537 /**
1538 * Indicates whether the image can be used for a fleet.
1539 */
1540 allowFleet?: BooleanObject;
1541 /**
1542 * Indicates whether the image can be used for an image builder.
1543 */
1544 allowImageBuilder?: BooleanObject;
1545 }
1546 export type ImageState = "PENDING"|"AVAILABLE"|"FAILED"|"COPYING"|"DELETING"|string;
1547 export interface ImageStateChangeReason {
1548 /**
1549 * The state change reason code.
1550 */
1551 Code?: ImageStateChangeReasonCode;
1552 /**
1553 * The state change reason message.
1554 */
1555 Message?: String;
1556 }
1557 export type ImageStateChangeReasonCode = "INTERNAL_ERROR"|"IMAGE_BUILDER_NOT_AVAILABLE"|"IMAGE_COPY_FAILURE"|string;
1558 export type Integer = number;
1559 export interface LastReportGenerationExecutionError {
1560 /**
1561 * The error code for the error that is returned when a usage report can't be generated.
1562 */
1563 ErrorCode?: UsageReportExecutionErrorCode;
1564 /**
1565 * The error message for the error that is returned when a usage report can't be generated.
1566 */
1567 ErrorMessage?: String;
1568 }
1569 export type LastReportGenerationExecutionErrors = LastReportGenerationExecutionError[];
1570 export interface ListAssociatedFleetsRequest {
1571 /**
1572 * The name of the stack.
1573 */
1574 StackName: String;
1575 /**
1576 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1577 */
1578 NextToken?: String;
1579 }
1580 export interface ListAssociatedFleetsResult {
1581 /**
1582 * The name of the fleet.
1583 */
1584 Names?: StringList;
1585 /**
1586 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1587 */
1588 NextToken?: String;
1589 }
1590 export interface ListAssociatedStacksRequest {
1591 /**
1592 * The name of the fleet.
1593 */
1594 FleetName: String;
1595 /**
1596 * The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
1597 */
1598 NextToken?: String;
1599 }
1600 export interface ListAssociatedStacksResult {
1601 /**
1602 * The name of the stack.
1603 */
1604 Names?: StringList;
1605 /**
1606 * The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
1607 */
1608 NextToken?: String;
1609 }
1610 export interface ListTagsForResourceRequest {
1611 /**
1612 * The Amazon Resource Name (ARN) of the resource.
1613 */
1614 ResourceArn: Arn;
1615 }
1616 export interface ListTagsForResourceResponse {
1617 /**
1618 * The information about the tags.
1619 */
1620 Tags?: Tags;
1621 }
1622 export type Long = number;
1623 export type MaxResults = number;
1624 export type MessageAction = "SUPPRESS"|"RESEND"|string;
1625 export type Metadata = {[key: string]: String};
1626 export type Name = string;
1627 export interface NetworkAccessConfiguration {
1628 /**
1629 * The private IP address of the elastic network interface that is attached to instances in your VPC.
1630 */
1631 EniPrivateIpAddress?: String;
1632 /**
1633 * The resource identifier of the elastic network interface that is attached to instances in your VPC. All network interfaces have the eni-xxxxxxxx resource identifier.
1634 */
1635 EniId?: String;
1636 }
1637 export type OrganizationalUnitDistinguishedName = string;
1638 export type OrganizationalUnitDistinguishedNamesList = OrganizationalUnitDistinguishedName[];
1639 export type Permission = "ENABLED"|"DISABLED"|string;
1640 export type PlatformType = "WINDOWS"|"WINDOWS_SERVER_2016"|"WINDOWS_SERVER_2019"|string;
1641 export type RedirectURL = string;
1642 export type RegionName = string;
1643 export interface ResourceError {
1644 /**
1645 * The error code.
1646 */
1647 ErrorCode?: FleetErrorCode;
1648 /**
1649 * The error message.
1650 */
1651 ErrorMessage?: String;
1652 /**
1653 * The time the error occurred.
1654 */
1655 ErrorTimestamp?: Timestamp;
1656 }
1657 export type ResourceErrors = ResourceError[];
1658 export type ResourceIdentifier = string;
1659 export type SecurityGroupIdList = String[];
1660 export interface ServiceAccountCredentials {
1661 /**
1662 * The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
1663 */
1664 AccountName: AccountName;
1665 /**
1666 * The password for the account.
1667 */
1668 AccountPassword: AccountPassword;
1669 }
1670 export interface Session {
1671 /**
1672 * The identifier of the streaming session.
1673 */
1674 Id: String;
1675 /**
1676 * The identifier of the user for whom the session was created.
1677 */
1678 UserId: UserId;
1679 /**
1680 * The name of the stack for the streaming session.
1681 */
1682 StackName: String;
1683 /**
1684 * The name of the fleet for the streaming session.
1685 */
1686 FleetName: String;
1687 /**
1688 * The current state of the streaming session.
1689 */
1690 State: SessionState;
1691 /**
1692 * Specifies whether a user is connected to the streaming session.
1693 */
1694 ConnectionState?: SessionConnectionState;
1695 /**
1696 * The time when a streaming instance is dedicated for the user.
1697 */
1698 StartTime?: Timestamp;
1699 /**
1700 * The time when the streaming session is set to expire. This time is based on the MaxUserDurationinSeconds value, which determines the maximum length of time that a streaming session can run. A streaming session might end earlier than the time specified in SessionMaxExpirationTime, when the DisconnectTimeOutInSeconds elapses or the user chooses to end his or her session. If the DisconnectTimeOutInSeconds elapses, or the user chooses to end his or her session, the streaming instance is terminated and the streaming session ends.
1701 */
1702 MaxExpirationTime?: Timestamp;
1703 /**
1704 * The authentication method. The user is authenticated using a streaming URL (API) or SAML 2.0 federation (SAML).
1705 */
1706 AuthenticationType?: AuthenticationType;
1707 /**
1708 * The network details for the streaming session.
1709 */
1710 NetworkAccessConfiguration?: NetworkAccessConfiguration;
1711 }
1712 export type SessionConnectionState = "CONNECTED"|"NOT_CONNECTED"|string;
1713 export type SessionList = Session[];
1714 export type SessionState = "ACTIVE"|"PENDING"|"EXPIRED"|string;
1715 export type SettingsGroup = string;
1716 export interface SharedImagePermissions {
1717 /**
1718 * The 12-digit identifier of the AWS account with which the image is shared.
1719 */
1720 sharedAccountId: AwsAccountId;
1721 /**
1722 * Describes the permissions for a shared image.
1723 */
1724 imagePermissions: ImagePermissions;
1725 }
1726 export type SharedImagePermissionsList = SharedImagePermissions[];
1727 export interface Stack {
1728 /**
1729 * The ARN of the stack.
1730 */
1731 Arn?: Arn;
1732 /**
1733 * The name of the stack.
1734 */
1735 Name: String;
1736 /**
1737 * The description to display.
1738 */
1739 Description?: String;
1740 /**
1741 * The stack name to display.
1742 */
1743 DisplayName?: String;
1744 /**
1745 * The time the stack was created.
1746 */
1747 CreatedTime?: Timestamp;
1748 /**
1749 * The storage connectors to enable.
1750 */
1751 StorageConnectors?: StorageConnectorList;
1752 /**
1753 * The URL that users are redirected to after their streaming session ends.
1754 */
1755 RedirectURL?: RedirectURL;
1756 /**
1757 * The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
1758 */
1759 FeedbackURL?: FeedbackURL;
1760 /**
1761 * The errors for the stack.
1762 */
1763 StackErrors?: StackErrors;
1764 /**
1765 * The actions that are enabled or disabled for users during their streaming sessions. By default these actions are enabled.
1766 */
1767 UserSettings?: UserSettingList;
1768 /**
1769 * The persistent application settings for users of the stack.
1770 */
1771 ApplicationSettings?: ApplicationSettingsResponse;
1772 /**
1773 * The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
1774 */
1775 AccessEndpoints?: AccessEndpointList;
1776 /**
1777 * The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
1778 */
1779 EmbedHostDomains?: EmbedHostDomains;
1780 }
1781 export type StackAttribute = "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"|string;
1782 export type StackAttributes = StackAttribute[];
1783 export interface StackError {
1784 /**
1785 * The error code.
1786 */
1787 ErrorCode?: StackErrorCode;
1788 /**
1789 * The error message.
1790 */
1791 ErrorMessage?: String;
1792 }
1793 export type StackErrorCode = "STORAGE_CONNECTOR_ERROR"|"INTERNAL_SERVICE_ERROR"|string;
1794 export type StackErrors = StackError[];
1795 export type StackList = Stack[];
1796 export interface StartFleetRequest {
1797 /**
1798 * The name of the fleet.
1799 */
1800 Name: String;
1801 }
1802 export interface StartFleetResult {
1803 }
1804 export interface StartImageBuilderRequest {
1805 /**
1806 * The name of the image builder.
1807 */
1808 Name: String;
1809 /**
1810 * The version of the AppStream 2.0 agent to use for this image builder. To use the latest version of the AppStream 2.0 agent, specify [LATEST].
1811 */
1812 AppstreamAgentVersion?: AppstreamAgentVersion;
1813 }
1814 export interface StartImageBuilderResult {
1815 /**
1816 * Information about the image builder.
1817 */
1818 ImageBuilder?: ImageBuilder;
1819 }
1820 export interface StopFleetRequest {
1821 /**
1822 * The name of the fleet.
1823 */
1824 Name: String;
1825 }
1826 export interface StopFleetResult {
1827 }
1828 export interface StopImageBuilderRequest {
1829 /**
1830 * The name of the image builder.
1831 */
1832 Name: String;
1833 }
1834 export interface StopImageBuilderResult {
1835 /**
1836 * Information about the image builder.
1837 */
1838 ImageBuilder?: ImageBuilder;
1839 }
1840 export interface StorageConnector {
1841 /**
1842 * The type of storage connector.
1843 */
1844 ConnectorType: StorageConnectorType;
1845 /**
1846 * The ARN of the storage connector.
1847 */
1848 ResourceIdentifier?: ResourceIdentifier;
1849 /**
1850 * The names of the domains for the account.
1851 */
1852 Domains?: DomainList;
1853 }
1854 export type StorageConnectorList = StorageConnector[];
1855 export type StorageConnectorType = "HOMEFOLDERS"|"GOOGLE_DRIVE"|"ONE_DRIVE"|string;
1856 export type StreamingUrlUserId = string;
1857 export type String = string;
1858 export type StringList = String[];
1859 export type SubnetIdList = String[];
1860 export type TagKey = string;
1861 export type TagKeyList = TagKey[];
1862 export interface TagResourceRequest {
1863 /**
1864 * The Amazon Resource Name (ARN) of the resource.
1865 */
1866 ResourceArn: Arn;
1867 /**
1868 * The tags to associate. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=. If you do not specify a value, the value is set to an empty string. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters: _ . : / = + \ - @
1869 */
1870 Tags: Tags;
1871 }
1872 export interface TagResourceResponse {
1873 }
1874 export type TagValue = string;
1875 export type Tags = {[key: string]: TagValue};
1876 export type Timestamp = Date;
1877 export interface UntagResourceRequest {
1878 /**
1879 * The Amazon Resource Name (ARN) of the resource.
1880 */
1881 ResourceArn: Arn;
1882 /**
1883 * The tag keys for the tags to disassociate.
1884 */
1885 TagKeys: TagKeyList;
1886 }
1887 export interface UntagResourceResponse {
1888 }
1889 export interface UpdateDirectoryConfigRequest {
1890 /**
1891 * The name of the Directory Config object.
1892 */
1893 DirectoryName: DirectoryName;
1894 /**
1895 * The distinguished names of the organizational units for computer accounts.
1896 */
1897 OrganizationalUnitDistinguishedNames?: OrganizationalUnitDistinguishedNamesList;
1898 /**
1899 * The credentials for the service account used by the fleet or image builder to connect to the directory.
1900 */
1901 ServiceAccountCredentials?: ServiceAccountCredentials;
1902 }
1903 export interface UpdateDirectoryConfigResult {
1904 /**
1905 * Information about the Directory Config object.
1906 */
1907 DirectoryConfig?: DirectoryConfig;
1908 }
1909 export interface UpdateFleetRequest {
1910 /**
1911 * The name of the image used to create the fleet.
1912 */
1913 ImageName?: String;
1914 /**
1915 * The ARN of the public, private, or shared image to use.
1916 */
1917 ImageArn?: Arn;
1918 /**
1919 * A unique name for the fleet.
1920 */
1921 Name?: String;
1922 /**
1923 * The instance type to use when launching fleet instances. The following instance types are available: stream.standard.medium stream.standard.large stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge
1924 */
1925 InstanceType?: String;
1926 /**
1927 * The desired capacity for the fleet.
1928 */
1929 ComputeCapacity?: ComputeCapacity;
1930 /**
1931 * The VPC configuration for the fleet.
1932 */
1933 VpcConfig?: VpcConfig;
1934 /**
1935 * The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. Specify a value between 600 and 360000.
1936 */
1937 MaxUserDurationInSeconds?: Integer;
1938 /**
1939 * The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance. Specify a value between 60 and 360000.
1940 */
1941 DisconnectTimeoutInSeconds?: Integer;
1942 /**
1943 * Deletes the VPC association for the specified fleet.
1944 */
1945 DeleteVpcConfig?: Boolean;
1946 /**
1947 * The description to display.
1948 */
1949 Description?: Description;
1950 /**
1951 * The fleet name to display.
1952 */
1953 DisplayName?: DisplayName;
1954 /**
1955 * Enables or disables default internet access for the fleet.
1956 */
1957 EnableDefaultInternetAccess?: BooleanObject;
1958 /**
1959 * The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain.
1960 */
1961 DomainJoinInfo?: DomainJoinInfo;
1962 /**
1963 * The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected. To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0. If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.
1964 */
1965 IdleDisconnectTimeoutInSeconds?: Integer;
1966 /**
1967 * The fleet attributes to delete.
1968 */
1969 AttributesToDelete?: FleetAttributes;
1970 /**
1971 * The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance. For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
1972 */
1973 IamRoleArn?: Arn;
1974 }
1975 export interface UpdateFleetResult {
1976 /**
1977 * Information about the fleet.
1978 */
1979 Fleet?: Fleet;
1980 }
1981 export interface UpdateImagePermissionsRequest {
1982 /**
1983 * The name of the private image.
1984 */
1985 Name: Name;
1986 /**
1987 * The 12-digit identifier of the AWS account for which you want add or update image permissions.
1988 */
1989 SharedAccountId: AwsAccountId;
1990 /**
1991 * The permissions for the image.
1992 */
1993 ImagePermissions: ImagePermissions;
1994 }
1995 export interface UpdateImagePermissionsResult {
1996 }
1997 export interface UpdateStackRequest {
1998 /**
1999 * The stack name to display.
2000 */
2001 DisplayName?: DisplayName;
2002 /**
2003 * The description to display.
2004 */
2005 Description?: Description;
2006 /**
2007 * The name of the stack.
2008 */
2009 Name: String;
2010 /**
2011 * The storage connectors to enable.
2012 */
2013 StorageConnectors?: StorageConnectorList;
2014 /**
2015 * Deletes the storage connectors currently enabled for the stack.
2016 */
2017 DeleteStorageConnectors?: Boolean;
2018 /**
2019 * The URL that users are redirected to after their streaming session ends.
2020 */
2021 RedirectURL?: RedirectURL;
2022 /**
2023 * The URL that users are redirected to after they choose the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
2024 */
2025 FeedbackURL?: FeedbackURL;
2026 /**
2027 * The stack attributes to delete.
2028 */
2029 AttributesToDelete?: StackAttributes;
2030 /**
2031 * The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
2032 */
2033 UserSettings?: UserSettingList;
2034 /**
2035 * The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.
2036 */
2037 ApplicationSettings?: ApplicationSettings;
2038 /**
2039 * The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
2040 */
2041 AccessEndpoints?: AccessEndpointList;
2042 /**
2043 * The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
2044 */
2045 EmbedHostDomains?: EmbedHostDomains;
2046 }
2047 export interface UpdateStackResult {
2048 /**
2049 * Information about the stack.
2050 */
2051 Stack?: Stack;
2052 }
2053 export type UsageReportExecutionErrorCode = "RESOURCE_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_SERVICE_ERROR"|string;
2054 export type UsageReportSchedule = "DAILY"|string;
2055 export interface UsageReportSubscription {
2056 /**
2057 * The Amazon S3 bucket where generated reports are stored. If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.
2058 */
2059 S3BucketName?: String;
2060 /**
2061 * The schedule for generating usage reports.
2062 */
2063 Schedule?: UsageReportSchedule;
2064 /**
2065 * The time when the last usage report was generated.
2066 */
2067 LastGeneratedReportDate?: Timestamp;
2068 /**
2069 * The errors that were returned if usage reports couldn't be generated.
2070 */
2071 SubscriptionErrors?: LastReportGenerationExecutionErrors;
2072 }
2073 export type UsageReportSubscriptionList = UsageReportSubscription[];
2074 export interface User {
2075 /**
2076 * The ARN of the user.
2077 */
2078 Arn?: Arn;
2079 /**
2080 * The email address of the user. Users' email addresses are case-sensitive.
2081 */
2082 UserName?: Username;
2083 /**
2084 * Specifies whether the user in the user pool is enabled.
2085 */
2086 Enabled?: Boolean;
2087 /**
2088 * The status of the user in the user pool. The status can be one of the following: UNCONFIRMED – The user is created but not confirmed. CONFIRMED – The user is confirmed. ARCHIVED – The user is no longer active. COMPROMISED – The user is disabled because of a potential security threat. UNKNOWN – The user status is not known.
2089 */
2090 Status?: String;
2091 /**
2092 * The first name, or given name, of the user.
2093 */
2094 FirstName?: UserAttributeValue;
2095 /**
2096 * The last name, or surname, of the user.
2097 */
2098 LastName?: UserAttributeValue;
2099 /**
2100 * The date and time the user was created in the user pool.
2101 */
2102 CreatedTime?: Timestamp;
2103 /**
2104 * The authentication type for the user.
2105 */
2106 AuthenticationType: AuthenticationType;
2107 }
2108 export type UserAttributeValue = string;
2109 export type UserId = string;
2110 export type UserList = User[];
2111 export interface UserSetting {
2112 /**
2113 * The action that is enabled or disabled.
2114 */
2115 Action: Action;
2116 /**
2117 * Indicates whether the action is enabled or disabled.
2118 */
2119 Permission: Permission;
2120 }
2121 export type UserSettingList = UserSetting[];
2122 export interface UserStackAssociation {
2123 /**
2124 * The name of the stack that is associated with the user.
2125 */
2126 StackName: String;
2127 /**
2128 * The email address of the user who is associated with the stack. Users' email addresses are case-sensitive.
2129 */
2130 UserName: Username;
2131 /**
2132 * The authentication type for the user.
2133 */
2134 AuthenticationType: AuthenticationType;
2135 /**
2136 * Specifies whether a welcome email is sent to a user after the user is created in the user pool.
2137 */
2138 SendEmailNotification?: Boolean;
2139 }
2140 export interface UserStackAssociationError {
2141 /**
2142 * Information about the user and associated stack.
2143 */
2144 UserStackAssociation?: UserStackAssociation;
2145 /**
2146 * The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
2147 */
2148 ErrorCode?: UserStackAssociationErrorCode;
2149 /**
2150 * The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
2151 */
2152 ErrorMessage?: String;
2153 }
2154 export type UserStackAssociationErrorCode = "STACK_NOT_FOUND"|"USER_NAME_NOT_FOUND"|"INTERNAL_ERROR"|string;
2155 export type UserStackAssociationErrorList = UserStackAssociationError[];
2156 export type UserStackAssociationList = UserStackAssociation[];
2157 export type Username = string;
2158 export type VisibilityType = "PUBLIC"|"PRIVATE"|"SHARED"|string;
2159 export interface VpcConfig {
2160 /**
2161 * The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.
2162 */
2163 SubnetIds?: SubnetIdList;
2164 /**
2165 * The identifiers of the security groups for the fleet or image builder.
2166 */
2167 SecurityGroupIds?: SecurityGroupIdList;
2168 }
2169 /**
2170 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2171 */
2172 export type apiVersion = "2016-12-01"|"latest"|string;
2173 export interface ClientApiVersions {
2174 /**
2175 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2176 */
2177 apiVersion?: apiVersion;
2178 }
2179 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
2180 /**
2181 * Contains interfaces for use with the AppStream client.
2182 */
2183 export import Types = AppStream;
2184}
2185export = AppStream;