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
27428 27429 27430 27431 27432 27433 27434 27435 27436 27437 27438 27439 27440 27441 27442 27443 27444 27445 27446 27447 27448 27449 27450 27451 27452 27453 27454 27455 27456 27457 27458 27459 27460 27461 27462 27463 27464 27465 27466 27467 27468 27469 27470 27471 27472 27473 27474 27475 27476 27477 27478 27479 27480 27481 27482 27483 27484 27485 27486 27487 27488 27489 27490 27491 27492 27493 27494 | |