Connect / Client / get_prompt_file

get_prompt_file#

Connect.Client.get_prompt_file(**kwargs)#

Gets the prompt file.

See also: AWS API Documentation

Request Syntax

response = client.get_prompt_file(
    InstanceId='string',
    PromptId='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.

Return type:

dict

Returns:

Response Syntax

{
    'PromptPresignedUrl': 'string'
}

Response Structure

  • (dict) –

    • PromptPresignedUrl (string) –

      A generated URL to the prompt that can be given to an unauthorized user so they can access the prompt in S3.

Exceptions

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException