Lists the principals that you have shared resources with or that have shared resources with you.
ram_list_principals(resourceOwner, resourceArn, principals,
resourceType, resourceShareArns, nextToken, maxResults)
A list with the following syntax:
list(
principals = list(
list(
id = "string",
resourceShareArn = "string",
creationTime = as.POSIXct(
"2015-01-01"
),
lastUpdatedTime = as.POSIXct(
"2015-01-01"
),
external = TRUE|FALSE
)
),
nextToken = "string"
)
[required] The type of owner.
The Amazon Resource Name (ARN) of the resource.
The principals.
The resource type.
Valid values: codebuild:Project
| codebuild:ReportGroup
|
ec2:CapacityReservation
| ec2:DedicatedHost
| ec2:Subnet
|
ec2:TrafficMirrorTarget
| ec2:TransitGateway
|
imagebuilder:Component
| imagebuilder:Image
|
imagebuilder:ImageRecipe
| license-manager:LicenseConfiguration
I
resource-groups:Group
| rds:Cluster
| route53resolver:ResolverRule
The Amazon Resource Names (ARN) of the resource shares.
The token for the next page of results.
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
svc$list_principals(
resourceOwner = "SELF"|"OTHER-ACCOUNTS",
resourceArn = "string",
principals = list(
"string"
),
resourceType = "string",
resourceShareArns = list(
"string"
),
nextToken = "string",
maxResults = 123
)