Connect / Client / update_prompt

update_prompt#

Connect.Client.update_prompt(**kwargs)#

Updates a prompt.

See also: AWS API Documentation

Request Syntax

response = client.update_prompt(
    InstanceId='string',
    PromptId='string',
    Name='string',
    Description='string',
    S3Uri='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • PromptId (string) –

    [REQUIRED]

    A unique identifier for the prompt.

  • Name (string) – The name of the prompt.

  • Description (string) – A description of the prompt.

  • S3Uri (string) – The URI for the S3 bucket where the prompt is stored.

Return type:

dict

Returns:

Response Syntax

{
    'PromptARN': 'string',
    'PromptId': 'string'
}

Response Structure

  • (dict) –

    • PromptARN (string) –

      The Amazon Resource Name (ARN) of the prompt.

    • PromptId (string) –

      A unique identifier for the prompt.

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException