update_prompt
¶
update_prompt(
instance_id: InstanceId,
prompt_id: PromptId,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
27739 27740 27741 27742 27743 27744 27745 27746 27747 27748 27749 27750 27751 27752 27753 27754 27755 27756 27757 27758 27759 27760 27761 27762 27763 27764 27765 27766 27767 27768 27769 27770 27771 27772 27773 27774 27775 27776 27777 27778 27779 27780 27781 27782 27783 27784 27785 27786 27787 27788 27789 27790 27791 27792 27793 27794 27795 27796 27797 27798 27799 27800 27801 27802 27803 27804 27805 | |