@Override
    public ListPendingInvitationResourcesResult listPendingInvitationResources(ListPendingInvitationResourcesRequest request) {
        request = beforeClientExecution(request);
        return executeListPendingInvitationResources(request);
    }
<p>
Lists the resources in a resource share that is shared with you but for which the invitation is still
<code>PENDING</code>. That means that you haven't accepted or rejected the invitation and the invitation hasn't
expired.
</p>

@param listPendingInvitationResourcesRequest
@return Result of the ListPendingInvitationResources operation returned by the service.
@throws MalformedArnException
        The operation failed because the specified <a
        href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name
        (ARN)</a> has a format that isn't valid.
@throws InvalidNextTokenException
        The operation failed because the specified value for <code>NextToken</code> isn't valid. You must specify
        a value you received in the <code>NextToken</code> response of a previous call to this operation.
@throws InvalidParameterException
        The operation failed because a parameter you specified isn't valid.
@throws ServerInternalException
        The operation failed because the service could not respond to the request due to an internal problem. Try
        again later.
@throws ServiceUnavailableException
        The operation failed because the service isn't available. Try again later.
@throws ResourceShareInvitationArnNotFoundException
        The operation failed because the specified <a
        href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name
        (ARN)</a> for an invitation was not found.
@throws MissingRequiredParameterException
        The operation failed because a required input parameter is missing.
@throws ResourceShareInvitationAlreadyRejectedException
        The operation failed because the specified invitation was already rejected.
@throws ResourceShareInvitationExpiredException
        The operation failed because the specified invitation is past its expiration date and time.
@sample AWSRAM.ListPendingInvitationResources
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources"
     target="_top">AWS API Documentation</a>
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/AWSRAMClient.java