update_stack
¶
update_stack(
*,
config_overrides: Optional[AppStreamClientConfig] = 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/app_stream.py
7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 | |