add_parameter
Adds a parameter to a QuickSight analysis for dynamic filtering; automatically backs up the definition before changes.
Instructions
Add a parameter to a QuickSight analysis.
WARNING: This modifies the analysis definition. A backup is automatically created before making changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes | The QuickSight analysis ID. | |
| parameter_definition | Yes | JSON string of the parameter declaration. Must contain one of: StringParameterDeclaration, IntegerParameterDeclaration, DecimalParameterDeclaration, or DateTimeParameterDeclaration. Example for a string parameter: {"StringParameterDeclaration": { "ParameterValueType": "SINGLE_VALUED", "Name": "market", "DefaultValues": {"StaticValues": ["All"]}, "ValueWhenUnset": {"ValueWhenUnsetOption": "RECOMMENDED_VALUE"} }} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||