get_task_template
async
¶
get_task_template(
instance_id: InstanceId,
task_template_id: TaskTemplateId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
snapshot_version: Optional[SnapshotVersion] = None,
) -> GetTaskTemplateResponse
Gets details about a specific task template in the specified Connect Customer instance.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
task_template_id(TaskTemplateId) –A unique identifier for the task template.
-
snapshot_version(Optional[SnapshotVersion], default:None) –The system generated version of a task template that is associated with a task, when the task is created.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 | |