update_image_permissions
async
¶
update_image_permissions(
*,
config_overrides: Optional[AsyncAppStreamClientConfig] = None,
name: Optional[Name] = None,
shared_account_id: Optional[AwsAccountId] = None,
image_permissions: Optional[ImagePermissions] = None,
) -> UpdateImagePermissionsResult
Adds or updates permissions for the specified private image.
Parameters:
-
name(Optional[Name], default:None) –The name of the private image.
-
shared_account_id(Optional[AwsAccountId], default:None) –The 12-digit identifier of the AWS account for which you want add or update image permissions.
-
image_permissions(Optional[ImagePermissions], default:None) –The permissions for the image.
Raises:
-
LimitExceededException–The requested limit exceeds the permitted limit for an account.
-
ResourceNotAvailableException–The specified resource exists and is not in use, but isn't available.
-
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
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 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 | |