update_stack
async
¶
update_stack(
*,
config_overrides: Optional[AsyncAppStreamClientConfig] = None,
display_name: Optional[DisplayName] = None,
description: Optional[Description] = None,
name: Optional[String] = None,
storage_connectors: Optional[StorageConnectorList] = None,
delete_storage_connectors: Optional[Boolean] = None,
redirect_url: Optional[RedirectURL] = None,
feedback_url: Optional[FeedbackURL] = None,
attributes_to_delete: Optional[StackAttributes] = None,
user_settings: Optional[UserSettingList] = None,
application_settings: Optional[ApplicationSettings] = None,
access_endpoints: Optional[AccessEndpointList] = None,
embed_host_domains: Optional[EmbedHostDomains] = None,
streaming_experience_settings: Optional[StreamingExperienceSettings] = None,
content_redirection: Optional[ContentRedirection] = None,
web_authn_redirection: Optional[WebAuthnRedirection] = None,
agent_access_config: Optional[AgentAccessConfigForUpdate] = None,
storage_connector_authentication: Optional[StorageConnectorAuthentication] = None,
) -> UpdateStackResult
Updates the specified fields for the specified stack.
Parameters:
-
display_name(Optional[DisplayName], default:None) –The stack name to display.
-
description(Optional[Description], default:None) –The description to display.
-
name(Optional[String], default:None) –The name of the stack.
-
storage_connectors(Optional[StorageConnectorList], default:None) –The storage connectors to enable.
-
delete_storage_connectors(Optional[Boolean], default:None) –Deletes the storage connectors currently enabled for the stack.
-
redirect_url(Optional[RedirectURL], default:None) –The URL that users are redirected to after their streaming session ends.
-
feedback_url(Optional[FeedbackURL], default:None) –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.
-
attributes_to_delete(Optional[StackAttributes], default:None) –The stack attributes to delete.
-
user_settings(Optional[UserSettingList], default:None) –The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
-
application_settings(Optional[ApplicationSettings], default:None) –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.
-
access_endpoints(Optional[AccessEndpointList], default:None) –The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to WorkSpaces Applications only through the specified endpoints.
-
embed_host_domains(Optional[EmbedHostDomains], default:None) –The domains where WorkSpaces Applications streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded WorkSpaces Applications streaming sessions.
-
streaming_experience_settings(Optional[StreamingExperienceSettings], default:None) –The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.
-
web_authn_redirection(Optional[WebAuthnRedirection], default:None) –Configuration for WebAuthn redirection between the streaming session and the user's local device. Use ProcessCompatibilityList to specify which processes can use WebAuthn redirection on Windows fleets. To remove WebAuthn redirection, use AttributesToDelete with the WEB_AUTHN_REDIRECTION value.
-
agent_access_config(Optional[AgentAccessConfigForUpdate], default:None) –The configuration for agent access on the stack. Specify this to update agent access settings. To remove agent access, use AttributesToDelete with the AGENT_ACCESS_CONFIG value.
-
storage_connector_authentication(Optional[StorageConnectorAuthentication], default:None) –Specifies whether users' cloud storage authentication persists across streaming sessions. When you specify FORCE_REAUTHENTICATION, WorkSpaces Applications removes the stored authentication for the stack's OneDrive and Google Drive connectors when a user's session ends. The user links their cloud storage again on their next session. To clear this attribute, add STORAGE_CONNECTOR_AUTHENTICATION to AttributesToDelete.
Raises:
-
ConcurrentModificationException–An API error occurred. Wait a few minutes and try again.
-
IncompatibleImageException–The image can't be updated because it's not compatible for updates.
-
InvalidAccountStatusException–The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.
-
InvalidParameterCombinationException–Indicates an incorrect combination of parameters, or a missing parameter.
-
InvalidRoleException–The specified role is invalid.
-
LimitExceededException–The requested limit exceeds the permitted limit for an account.
-
OperationNotPermittedException–The attempted operation is not permitted.
-
ResourceInUseException–The specified resource is in use.
-
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
7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 | |