:doc:`Connect <../../connect>` / Client / create_prompt

*************
create_prompt
*************



.. py:method:: Connect.Client.create_prompt(**kwargs)

  

  Creates a prompt. For more information about prompts, such as supported file types and maximum length, see `Create prompts <https://docs.aws.amazon.com/connect/latest/adminguide/prompts.html>`__ in the *Amazon Connect Administrator Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreatePrompt>`_  


  **Request Syntax**
  ::

    response = client.create_prompt(
        InstanceId='string',
        Name='string',
        Description='string',
        S3Uri='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

  
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the prompt.

    

  
  :type Description: string
  :param Description: 

    The description of the prompt.

    

  
  :type S3Uri: string
  :param S3Uri: **[REQUIRED]** 

    The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the `GetPromptFile <https://docs.aws.amazon.com/connect/latest/APIReference/API_GetPromptFile.html>`__ API instead of providing S3 URIs.

    

  
  :type Tags: dict
  :param Tags: 

    The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :rtype: 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**
  
  *   :py:class:`Connect.Client.exceptions.DuplicateResourceException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Connect.Client.exceptions.LimitExceededException`

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  