Skip to content

Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image

Description

Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.

Usage

workspaces_describe_workspace_image_permissions(ImageId, NextToken,
  MaxResults)

Arguments

  • ImageId

    [required] The identifier of the image.

  • NextToken

    If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

  • MaxResults

    The maximum number of items to return.

Value

A list with the following syntax:

list(
  ImageId = "string",
  ImagePermissions = list(
    list(
      SharedAccountId = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_workspace_image_permissions(
  ImageId = "string",
  NextToken = "string",
  MaxResults = 123
)