Skip to main content

received_data_grants

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

Overview

Namereceived_data_grants
TypeResource
Idaws.dataexchange.received_data_grants

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
acceptance_statestringThe acceptance state of the data grant. (PENDING_RECEIVER_ACCEPTANCE, ACCEPTED)
accepted_atstring (date-time)The timestamp of when the data grant was accepted.
arnstringThe Amazon Resource Name (ARN) of the data grant.
created_atstring (date-time)The timestamp of when the data grant was created.
data_set_idstringThe ID of the data set associated to the data grant. (pattern: <code>[a-zA-Z0-9]{30,40}</code>)
descriptionstringThe description of the data grant.
ends_atstring (date-time)The timestamp of when access to the associated data set ends.
grant_distribution_scopestringThe distribution scope for the data grant. (AWS_ORGANIZATION, NONE)
idstringThe ID of the data grant. (pattern: <code>[a-zA-Z0-9]{30,40}</code>)
namestringThe name of the data grant.
receiver_principalstringThe Amazon Web Services account ID of the data grant receiver. (pattern: <code>\d{12}</code>)
sender_principalstringThe Amazon Web Services account ID of the data grant sender. (pattern: <code>\d{12}</code>)
updated_atstring (date-time)The timestamp of when the data grant was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_received_data_grantselectdata_grant_arn, regionThis operation returns information about a received data grant.
list_received_data_grantsselectregionmaxResults, nextToken, acceptanceStateThis operation returns information about all received data grants.

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
data_grant_arnstringThe Amazon Resource Name (ARN) of the data grant.
regionstringAWS region (default: us-east-1)
acceptanceStatearrayThe acceptance state of the data grants to list.
maxResultsintegerThe maximum number of results to be included in the next page.
nextTokenstringThe pagination token used to retrieve the next page of results for this operation.

SELECT examples

This operation returns information about a received data grant.

SELECT
acceptance_state,
accepted_at,
arn,
created_at,
data_set_id,
description,
ends_at,
grant_distribution_scope,
id,
name,
receiver_principal,
sender_principal,
updated_at
FROM aws.dataexchange.received_data_grants
WHERE data_grant_arn = '{{ data_grant_arn }}' -- required
AND region = '{{ region }}' -- required
;