support_permit_requests
Creates, updates, deletes, gets or lists a support_permit_requests resource.
Overview
| Name | support_permit_requests |
| Type | Resource |
| Id | aws.supportauthz.support_permit_requests |
Fields
The following fields are returned by SELECT queries:
- list_support_permit_requests
| Name | Datatype | Description |
|---|---|---|
created_at | string (date-time) | The timestamp when the request was created. |
permit | object | The permit definition specifying the authorized actions, resources, and time-window conditions for a support operator. |
request_arn | string | The ARN of the permit request. (pattern: <code>[a-zA-Z0-9:/-]{1,512}</code>) |
status | string | The current status of the permit request. (PENDING, ACCEPTED, REJECTED, CANCELLED) |
support_case_display_id | string | The display identifier of the support case associated with the request. (pattern: <code>[a-zA-Z0-9:/-]{1,512}</code>) |
updated_at | string (date-time) | The timestamp when the request was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_support_permit_requests | select | region | nextToken, maxResults, supportCaseDisplayId | Lists permit requests from AWS support operators. Use pagination to ensure that the operation returns quickly and successfully. |
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 | The maximum number of results to return in a single call. Valid range is 1 to 100. |
nextToken | string | The token for the next page of results. |
supportCaseDisplayId | string | Filters the results by support case display identifier. |
SELECT examples
- list_support_permit_requests
Lists permit requests from AWS support operators. Use pagination to ensure that the operation returns quickly and successfully.
SELECT
created_at,
permit,
request_arn,
status,
support_case_display_id,
updated_at
FROM aws.supportauthz.support_permit_requests
WHERE region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
AND supportCaseDisplayId = '{{ supportCaseDisplayId }}'
;