create_topic_v2
async
¶
create_topic_v2(
aws_account_id: AwsAccountId,
topic_id: TopicId,
topic: TopicV2Details,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
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 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 | |