Learn R Programming

paws.security.identity (version 0.1.8)

ram_list_principals: Lists the principals that you have shared resources with or that have shared resources with you

Description

Lists the principals that you have shared resources with or that have shared resources with you.

Usage

ram_list_principals(resourceOwner, resourceArn, principals,
  resourceType, resourceShareArns, nextToken, maxResults)

Arguments

resourceOwner

[required] The type of owner.

resourceArn

The Amazon Resource Name (ARN) of the resource.

principals

The principals.

resourceType

The resource type.

Valid values: ec2:CapacityReservation \| ec2:Subnet \| ec2:TrafficMirrorTarget \| ec2:TransitGateway \| license-manager:LicenseConfiguration \| rds:Cluster \| route53resolver:ResolverRule I resource-groups:Group

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_principals(
  resourceOwner = "SELF"|"OTHER-ACCOUNTS",
  resourceArn = "string",
  principals = list(
    "string"
  ),
  resourceType = "string",
  resourceShareArns = list(
    "string"
  ),
  nextToken = "string",
  maxResults = 123
)