workspaces_update_workspace_image_permission: Shares or unshares an image with one account in the same...

View source: R/workspaces_operations.R

workspaces_update_workspace_image_permissionR Documentation

Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image

Description

Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.

See https://www.paws-r-sdk.com/docs/workspaces_update_workspace_image_permission/ for full documentation.

Usage

workspaces_update_workspace_image_permission(
  ImageId,
  AllowCopyImage,
  SharedAccountId
)

Arguments

ImageId

[required] The identifier of the image.

AllowCopyImage

[required] The permission to copy the image. This permission can be revoked only after an image has been shared.

SharedAccountId

[required] The identifier of the Amazon Web Services account to share or unshare the image with.

Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.


paws.end.user.computing documentation built on Sept. 12, 2023, 1:17 a.m.