delegations
Creates, updates, deletes, gets or lists a delegations resource.
Overview
| Name | delegations |
| Type | Resource |
| Id | aws.auditmanager.delegations |
Fields
The following fields are returned by SELECT queries:
- get_delegations
| Name | Datatype | Description |
|---|---|---|
delegations | array | The list of delegations that the GetDelegations API returned. |
next_token | string | The pagination token that's used to fetch the next set of results. (pattern: <code>^[A-Za-z0-9+/=]*$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_delegations | select | region | nextToken, maxResults | Gets a list of delegations from an audit owner to a delegate. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
maxResults | integer | Represents the maximum number of results on a page or for an API request call. |
nextToken | string | The pagination token that's used to fetch the next set of results. |
SELECT examples
- get_delegations
Gets a list of delegations from an audit owner to a delegate.
SELECT
delegations,
next_token
FROM aws.auditmanager.delegations
WHERE region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;