Skip to content

List Permission Associations

ram_list_permission_associations R Documentation

Lists information about the managed permission and its associations to any resource shares that use this managed permission

Description

Lists information about the managed permission and its associations to any resource shares that use this managed permission. This lets you see which resource shares use which versions of the specified managed permission.

Usage

ram_list_permission_associations(permissionArn, permissionVersion,
  associationStatus, resourceType, featureSet, defaultVersion, nextToken,
  maxResults)

Arguments

permissionArn

Specifies the Amazon Resource Name (ARN) of the managed permission.

permissionVersion

Specifies that you want to list only those associations with resource shares that use this version of the managed permission. If you don't provide a value for this parameter, then the operation returns information about associations with resource shares that use any version of the managed permission.

associationStatus

Specifies that you want to list only those associations with resource shares that match this status.

resourceType

Specifies that you want to list only those associations with resource shares that include at least one resource of this resource type.

featureSet

Specifies that you want to list only those associations with resource shares that have a featureSet with this value.

defaultVersion

When true, specifies that you want to list only those associations with resource shares that use the default version of the specified managed permission.

When false (the default value), lists associations with resource shares that use any version of the specified managed permission.

nextToken

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

maxResults

Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

Value

A list with the following syntax:

list(
  permissions = list(
    list(
      arn = "string",
      permissionVersion = "string",
      defaultVersion = TRUE|FALSE,
      resourceType = "string",
      status = "string",
      featureSet = "CREATED_FROM_POLICY"|"PROMOTING_TO_STANDARD"|"STANDARD",
      lastUpdatedTime = as.POSIXct(
        "2015-01-01"
      ),
      resourceShareArn = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_permission_associations(
  permissionArn = "string",
  permissionVersion = 123,
  associationStatus = "ASSOCIATING"|"ASSOCIATED"|"FAILED"|"DISASSOCIATING"|"DISASSOCIATED",
  resourceType = "string",
  featureSet = "CREATED_FROM_POLICY"|"PROMOTING_TO_STANDARD"|"STANDARD",
  defaultVersion = TRUE|FALSE,
  nextToken = "string",
  maxResults = 123
)