update_prompt
async
¶
update_prompt(
instance_id: InstanceId,
prompt_id: PromptId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
name: Optional[CommonNameLength127] = None,
description: Optional[PromptDescription] = None,
s3_uri: Optional[S3Uri] = None,
) -> UpdatePromptResponse
Updates a prompt.
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.
-
prompt_id(PromptId) –A unique identifier for the prompt.
-
name(Optional[CommonNameLength127], default:None) –The name of the prompt.
-
description(Optional[PromptDescription], default:None) –A description of the prompt.
-
s3_uri(Optional[S3Uri], default:None) –The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the GetPromptFile API instead of providing S3 URIs.
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
27799 27800 27801 27802 27803 27804 27805 27806 27807 27808 27809 27810 27811 27812 27813 27814 27815 27816 27817 27818 27819 27820 27821 27822 27823 27824 27825 27826 27827 27828 27829 27830 27831 27832 27833 27834 27835 27836 27837 27838 27839 27840 27841 27842 27843 27844 27845 27846 27847 27848 27849 27850 27851 27852 27853 27854 27855 27856 27857 27858 27859 27860 27861 27862 27863 27864 27865 27866 | |