1 Answer
- Newest
- Most votes
- Most comments
0
Since you did not include your code, I can give you some boiler plate for this:
import botocore
import boto3
import json
client = boto3.client('quicksight')
# Update Spice
try:
response = client.update_spice_capacity_configuration(
AwsAccountId='123123123123',
PurchaseMode='AUTO_PURCHASE'
)
except botocore.exceptions.ClientError as error:
print(json.dumps(error.response, indent=4))
raise error
# Successful
print(json.dumps(response, indent=4))
This will either print out an error, if the call fails, or the full output of the response object.
I am using the following versions of boto3 and botocore:
- boto3==1.34.126
- botocore==1.34.126
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 months ago
Can you please post your code here - using the appropriate formatting - then we can help.