update_message_template_metadata
async
¶
update_message_template_metadata(
knowledge_base_id: UuidOrArn,
message_template_id: UuidOrArnOrEitherWithQualifier,
*,
config_overrides: Optional[AsyncQConnectClientConfig] = None,
name: Optional[Name] = None,
description: Optional[Description] = None,
grouping_configuration: Optional[GroupingConfiguration] = None,
) -> UpdateMessageTemplateMetadataResponse
Updates the Amazon Q in Connect message template metadata. Note that any modification to the message template’s name, description and grouping configuration will applied to the message template pointed by the $LATEST qualifier and all available versions. Partial update is supported. If any field is not supplied, it will remain unchanged for the message template.
Parameters:
-
knowledge_base_id(UuidOrArn) –The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
message_template_id(UuidOrArnOrEitherWithQualifier) –The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.
-
name(Optional[Name], default:None) –The name of the message template.
-
description(Optional[Description], default:None) –The description of the message template.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be processed because of conflict in the current state of the resource. For example, if you're using a
CreateAPI (such asCreateAssistant) that accepts name, a conflicting resource (usually with the same name) is being created or mutated. -
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The throttling limit has been exceeded.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qconnect/_services/async_q_connect.py
7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 | |