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',
    'LastModifiedTime': datetime(2015, 1, 1),
    'LastModifiedRegion': '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.

    • LastModifiedTime (datetime) –

      The timestamp when this resource was last modified.

    • LastModifiedRegion (string) –

      The Amazon Web Services Region where this resource was last modified.

Exceptions

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException