Learn R Programming

paws.security.identity (version 0.1.0)

ram_list_resources: Lists the resources that the specified principal can access

Description

Lists the resources that the specified principal can access.

Usage

ram_list_resources(resourceOwner, principal, resourceType, resourceArns,
  resourceShareArns, nextToken, maxResults)

Arguments

resourceOwner

[required] The type of owner.

principal

The principal.

resourceType

The resource type.

resourceArns

The Amazon Resource Names (ARN) of the resources.

resourceShareArns

The Amazon Resource Names (ARN) of the resource shares.

nextToken

The token for the next page of results.

maxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Request syntax

svc$list_resources(
  resourceOwner = "SELF"|"OTHER-ACCOUNTS",
  principal = "string",
  resourceType = "string",
  resourceArns = list(
    "string"
  ),
  resourceShareArns = list(
    "string"
  ),
  nextToken = "string",
  maxResults = 123
)