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
28113 28114 28115 28116 28117 28118 28119 28120 28121 28122 28123 28124 28125 28126 28127 28128 28129 28130 28131 28132 28133 28134 28135 28136 28137 28138 28139 28140 28141 28142 28143 28144 28145 28146 28147 28148 28149 28150 28151 28152 28153 28154 28155 28156 28157 28158 28159 28160 28161 28162 28163 28164 28165 28166 28167 28168 28169 28170 28171 28172 28173 28174 28175 28176 28177 28178 28179 28180 | |