aws ram list-pending-invitation-resources
Lists the resources in a resource share that is shared with you but for which the invitation is still PENDING. AWS CLI reference
4 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.--resource-region-scopeSpecifies that you want the results to include only resources that have the specified scope.--resource-share-invitation-arnSpecifies the Amazon Resource Name (ARN) of the invitation.