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,
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.
-
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
6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 | |