create_application
async
¶
create_application(
*,
config_overrides: Optional[AsyncAppStreamClientConfig] = None,
name: Optional[Name] = None,
display_name: Optional[DisplayName] = None,
description: Optional[Description] = None,
icon_s3_location: Optional[S3Location] = None,
launch_path: Optional[String] = None,
working_directory: Optional[String] = None,
launch_parameters: Optional[String] = None,
platforms: Optional[Platforms] = None,
instance_families: Optional[StringList] = None,
app_block_arn: Optional[Arn] = None,
tags: Optional[Tags] = None,
) -> CreateApplicationResult
Creates an application.
Applications are a WorkSpaces Applications resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch.
This is only supported for Elastic fleets.
Parameters:
-
name(Optional[Name], default:None) –The name of the application. This name is visible to users when display name is not specified.
-
display_name(Optional[DisplayName], default:None) –The display name of the application. This name is visible to users in the application catalog.
-
description(Optional[Description], default:None) –The description of the application.
-
icon_s3_location(Optional[S3Location], default:None) –The location in S3 of the application icon.
-
launch_path(Optional[String], default:None) –The launch path of the application.
-
working_directory(Optional[String], default:None) –The working directory of the application.
-
launch_parameters(Optional[String], default:None) –The launch parameters of the application.
-
platforms(Optional[Platforms], default:None) –The platforms the application supports. WINDOWS_SERVER_2019, AMAZON_LINUX2 and UBUNTU_PRO_2404 are supported for Elastic fleets.
-
instance_families(Optional[StringList], default:None) –The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
-
app_block_arn(Optional[Arn], default:None) –The app block ARN to which the application should be associated
-
tags(Optional[Tags], default:None) –The tags assigned to the application.
Raises:
-
ConcurrentModificationException–An API error occurred. Wait a few minutes and try again.
-
LimitExceededException–The requested limit exceeds the permitted limit for an account.
-
OperationNotPermittedException–The attempted operation is not permitted.
-
ResourceAlreadyExistsException–The specified resource already exists.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appstream/_services/async_app_stream.py
1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 | |