aws ram list-principals
Lists the principals that you are sharing resources with or that are sharing resources with you. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--max-resultsSpecifies the total number of results that you want included on each page of the response.--next-tokenSpecifies that you want to receive the next page of results.--principalsSpecifies that you want to list information for only the listed principals.--resource-arnSpecifies that you want to list principal information for the resource share with the specified Amazon Resource Name (ARN).--resource-ownerSpecifies that you want to list information for only resource shares that match the following: SELF – principals that your account is sharing resources with OTHER-ACCOUNTS – principals that are sharing resources with your account--resource-share-arnsSpecifies that you want to list information for only principals associated with the resource shares specified by a list the Amazon Resource Names (ARNs).--resource-typeSpecifies that you want to list information for only principals associated with resource shares that include the specified resource type.