Skip to main content

pending_invitation_resources

Creates, updates, deletes, gets or lists a pending_invitation_resources resource.

Overview

Namepending_invitation_resources
TypeResource
Idaws.ram.pending_invitation_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringIf present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
resourcesarrayAn array of objects that contain the information about the resources included the specified resource share.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_pending_invitation_resourcesselectregionLists the resources in a resource share that is shared with you but for which the invitation is still PENDING. That means that you haven't accepted or rejected the invitation and the invitation hasn't expired. Always check the NextToken response parameter for a null value when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more results available. The NextToken response parameter value is null only when there are no more results to display.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the resources in a resource share that is shared with you but for which the invitation is still PENDING. That means that you haven't accepted or rejected the invitation and the invitation hasn't expired. Always check the NextToken response parameter for a null value when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more results available. The NextToken response parameter value is null only when there are no more results to display.

SELECT
next_token,
resources
FROM aws.ram.pending_invitation_resources
WHERE region = '{{ region }}' -- required
;