create_topic
¶
create_topic(
aws_account_id: AwsAccountId,
topic_id: TopicId,
topic: TopicDetails,
*,
config_overrides: Optional[QuickSightClientConfig] = 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/quick_sight.py
3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 | |