Lists the resources that you added to a resource shares or the resources that are shared with you.
ram_list_resources(resourceOwner, principal, resourceType, resourceArns,
resourceShareArns, nextToken, maxResults)
[required] The type of owner.
The principal.
The resource type.
Valid values: ec2:CapacityReservation
\| ec2:Subnet
\|
ec2:TrafficMirrorTarget
\| ec2:TransitGateway
\|
license-manager:LicenseConfiguration
\| rds:Cluster
\|
route53resolver:ResolverRule
\| resource-groups:Group
The Amazon Resource Names (ARN) of the resources.
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_resources( resourceOwner = "SELF"|"OTHER-ACCOUNTS", principal = "string", resourceType = "string", resourceArns = list( "string" ), resourceShareArns = list( "string" ), nextToken = "string", maxResults = 123 )