create_topic
async
¶
create_topic(
aws_account_id: AwsAccountId,
topic_id: TopicId,
topic: TopicDetails,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
tags: Optional[TagList] = None,
folder_arns: Optional[FolderArnList] = None,
custom_instructions: Optional[CustomInstructions] = None,
) -> CreateTopicResponse
Creates a new Q topic.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that you want to create a topic in.
-
topic_id(TopicId) –The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
topic(TopicDetails) –The definition of a topic to create.
-
tags(Optional[TagList], default:None) –Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
-
folder_arns(Optional[FolderArnList], default:None) –The Folder ARN of the folder that you want the topic to reside in.
-
custom_instructions(Optional[CustomInstructions], default:None) –Custom instructions for the topic.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceExistsException–The resource specified already exists.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 | |