self_upgrades
Creates, updates, deletes, gets or lists a self_upgrades resource.
Overview
| Name | self_upgrades |
| Type | Resource |
| Id | aws.quicksight.self_upgrades |
Fields
The following fields are returned by SELECT queries:
- list_self_upgrades
| Name | Datatype | Description |
|---|---|---|
next_token | string | The token for the next set of results, or null if there are no more results. |
request_id | string | The Amazon Web Services request ID for this operation. |
self_upgrade_request_details | array | A list of self-upgrade request details. |
status | integer | The HTTP status of the request. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_self_upgrades | select | aws_account_id, namespace, region | next-token, max-results | Lists all self-upgrade requests for a Quick account. |
update_self_upgrade | update | aws_account_id, namespace, region, UpgradeRequestId, Action | Updates a self-upgrade request for a Quick user by approving, denying, or verifying the request. |
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 |
|---|---|---|
aws_account_id | string | The ID of the Amazon Web Services account that contains the self-upgrade request. |
namespace | string | The Quick namespace for the self-upgrade request. |
region | string | AWS region (default: us-east-1) |
max-results | integer | The maximum number of results to return. |
next-token | string | The token for the next set of results, or null if there are no more results. |
SELECT examples
- list_self_upgrades
Lists all self-upgrade requests for a Quick account.
SELECT
next_token,
request_id,
self_upgrade_request_details,
status
FROM aws.quicksight.self_upgrades
WHERE aws_account_id = '{{ aws_account_id }}' -- required
AND namespace = '{{ namespace }}' -- required
AND region = '{{ region }}' -- required
AND `next-token` = '{{ next-token }}'
AND `max-results` = '{{ max-results }}'
;
UPDATE examples
- update_self_upgrade
Updates a self-upgrade request for a Quick user by approving, denying, or verifying the request.
UPDATE aws.quicksight.self_upgrades
SET
UpgradeRequestId = '{{ UpgradeRequestId }}',
Action = '{{ Action }}'
WHERE
aws_account_id = '{{ aws_account_id }}' --required
AND namespace = '{{ namespace }}' --required
AND region = '{{ region }}' --required
AND UpgradeRequestId = '{{ UpgradeRequestId }}' --required
AND Action = '{{ Action }}' --required
RETURNING
request_id,
self_upgrade_request_detail,
status;