Skip to main content

self_upgrades

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

Overview

Nameself_upgrades
TypeResource
Idaws.quicksight.self_upgrades

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe token for the next set of results, or null if there are no more results.
request_idstringThe Amazon Web Services request ID for this operation.
self_upgrade_request_detailsarrayA list of self-upgrade request details.
statusintegerThe HTTP status of the request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_self_upgradesselectaws_account_id, namespace, regionnext-token, max-resultsLists all self-upgrade requests for a Quick account.
update_self_upgradeupdateaws_account_id, namespace, region, UpgradeRequestId, ActionUpdates 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.

NameDatatypeDescription
aws_account_idstringThe ID of the Amazon Web Services account that contains the self-upgrade request.
namespacestringThe Quick namespace for the self-upgrade request.
regionstringAWS region (default: us-east-1)
max-resultsintegerThe maximum number of results to return.
next-tokenstringThe token for the next set of results, or null if there are no more results.

SELECT examples

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

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;