aws ram get-resource-shares
Retrieves details about the resource shares that you own or that are shared with you. AWS CLI reference
9 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.--nameSpecifies the name of an individual resource share that you want to retrieve details about.--next-tokenSpecifies that you want to receive the next page of results.--permission-arnSpecifies that you want to retrieve details of only those resource shares that use the managed permission with this Amazon Resource Name (ARN).--permission-versionSpecifies that you want to retrieve details for only those resource shares that use the specified version of the managed permission.--resource-ownerSpecifies that you want to retrieve details of only those resource shares that match the following: SELF – resource shares that your account shares with other accounts OTHER-ACCOUNTS – resource shares that other accounts share with your account--resource-share-arnsSpecifies the Amazon Resource Names (ARNs) of individual resource shares that you want information about.--resource-share-statusSpecifies that you want to retrieve details of only those resource shares that have this status.--tag-filtersSpecifies that you want to retrieve details of only those resource shares that match the specified tag keys and values.