Skip to main content

delegations

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

Overview

Namedelegations
TypeResource
Idaws.auditmanager.delegations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
delegationsarrayThe list of delegations that the GetDelegations API returned.
next_tokenstringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_delegationsselectregionnextToken, maxResultsGets 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
maxResultsintegerRepresents the maximum number of results on a page or for an API request call.
nextTokenstringThe pagination token that's used to fetch the next set of results.

SELECT examples

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 }}'
;