DataSubjectDocuments
DataSubjectDocuments returns document records associated with a specific email address. Used for GDPR data subject access requests via Organisation.dataSubjectConnection.
Fields
| Field | Type | Description |
|---|---|---|
email | AWSEmail | Email address searched |
firstName | String | First name of the data subject |
lastName | String | Last name |
documentName | String | Document title |
documentId | ID | Document ID |
recipientId | ID | Recipient ID |
created | AWSDateTime | When the document was created |
recipientStatus | String | Recipient's status |
documentStatus | String | Document's status |
role | String | Role played by the data subject |
groupId | String | Group the document belongs to |
Query
query SearchDataSubject($orgId: ID) {
organisation(id: $orgId) {
dataSubjectConnection(email: "jane@example.com", first: 50) {
documents {
email
firstName
lastName
documentName
documentId
recipientId
created
recipientStatus
documentStatus
role
groupId
}
totalCount
}
}
}
Related
- Organisation — accessed via organisation
- Document — the related documents
- DataStop — stop processing requests
- DataDeletion — deletion requests