create_topic_v2
¶
create_topic_v2(
aws_account_id: AwsAccountId,
topic_id: TopicId,
topic: TopicV2Details,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
tags: Optional[TagList] = None,
folder_arns: Optional[FolderArnList] = None,
custom_instructions: Optional[CustomInstructions] = None,
) -> CreateTopicV2Response
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(TopicV2Details) –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 topic.
-
folder_arns(Optional[FolderArnList], default:None) –The Amazon Resource Names (ARNs) of the folders that you want the topic to reside in.
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
3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 | |