Skip to main content

limits_profiles

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

Overview

Namelimits_profiles
TypeResource
Idaws.quicksight.limits_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringThe ID of the Amazon Web Services account that contains the limits profile. (pattern: <code>^[0-9]{12}$</code>)
arnstringThe Amazon Resource Name (ARN) of the limits profile.
created_atstring (date-time)The date and time that the limits profile was created.
descriptionstringThe description of the limits profile.
profile_idstringThe unique identifier for the limits profile. (pattern: <code>lp-[a-f0-9-]+</code>)
profile_namestringThe display name of the limits profile.
resource_limitsobjectA map of resource types to their limit values.
updated_atstring (date-time)The date and time that the limits profile was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_limits_profileselectprofile_id, account_id, regionDescribes the properties of an existing limits profile.
list_limits_profilesselectaccount_id, regionresourceType, maxResults, nextTokenLists all limits profiles in an Amazon Quick Sight account. Results are paginated. Use the maxResults parameter to limit the number of results returned in a single call, and use the nextToken parameter to retrieve the next page of results.
create_limits_profileinsertaccount_id, region, profileName, resourceLimits, clientTokenCreates a limits profile that defines resource usage limits for Amazon Quick Sight users.
update_limits_profileupdateprofile_id, account_id, regionUpdates the properties of an existing limits profile.
delete_limits_profiledeleteprofile_id, account_id, regionDeletes a limits profile.

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
account_idstringThe ID of the Amazon Web Services account that contains the limits profile.
profile_idstringThe unique identifier for the limits profile to delete.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return in a single call. If you don't specify a value, the service uses the default maximum.
nextTokenstringThe token for the next set of results, or null if there are no more results.
resourceTypestringAn optional filter that limits the results to profiles that contain the specified resource type. If you don't specify a value, the operation returns all profiles.

SELECT examples

Describes the properties of an existing limits profile.

SELECT
account_id,
arn,
created_at,
description,
profile_id,
profile_name,
resource_limits,
updated_at
FROM aws.quicksight.limits_profiles
WHERE profile_id = '{{ profile_id }}' -- required
AND account_id = '{{ account_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a limits profile that defines resource usage limits for Amazon Quick Sight users.

INSERT INTO aws.quicksight.limits_profiles (
profileName,
description,
resourceLimits,
clientToken,
account_id,
region
)
SELECT
'{{ profileName }}' /* required */,
'{{ description }}',
'{{ resourceLimits }}' /* required */,
'{{ clientToken }}' /* required */,
'{{ account_id }}',
'{{ region }}'
RETURNING
arn,
profile_id
;

UPDATE examples

Updates the properties of an existing limits profile.

UPDATE aws.quicksight.limits_profiles
SET
profileName = '{{ profileName }}',
description = '{{ description }}',
resourceLimits = '{{ resourceLimits }}'
WHERE
profile_id = '{{ profile_id }}' --required
AND account_id = '{{ account_id }}' --required
AND region = '{{ region }}' --required
RETURNING
arn;

DELETE examples

Deletes a limits profile.

DELETE FROM aws.quicksight.limits_profiles
WHERE profile_id = '{{ profile_id }}' --required
AND account_id = '{{ account_id }}' --required
AND region = '{{ region }}' --required
;