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
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 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 | |