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
13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 | |