Skip to content

Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own

Description

Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.

Usage

appstream_describe_image_permissions(Name, MaxResults,
  SharedAwsAccountIds, NextToken)

Arguments

  • Name

    [required] The name of the private image for which to describe permissions. The image must be one that you own.

  • MaxResults

    The maximum size of each page of results.

  • SharedAwsAccountIds

    The 12-digit identifier of one or more AWS accounts with which the image is shared.

  • NextToken

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

Value

A list with the following syntax:

list(
  Name = "string",
  SharedImagePermissionsList = list(
    list(
      sharedAccountId = "string",
      imagePermissions = list(
        allowFleet = TRUE|FALSE,
        allowImageBuilder = TRUE|FALSE
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_image_permissions(
  Name = "string",
  MaxResults = 123,
  SharedAwsAccountIds = list(
    "string"
  ),
  NextToken = "string"
)