Connect / Client / create_prompt
create_prompt#
- Connect.Client.create_prompt(**kwargs)#
- Creates a prompt. For more information about prompts, such as supported file types and maximum length, see Create prompts in the Amazon Connect Administrator Guide. - See also: AWS API Documentation - Request Syntax- response = client.create_prompt( InstanceId='string', Name='string', Description='string', S3Uri='string', Tags={ 'string': '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. 
- Name (string) – - [REQUIRED] - The name of the prompt. 
- Description (string) – The description of the prompt. 
- S3Uri (string) – - [REQUIRED] - 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. 
- Tags (dict) – - The tags used to organize, track, or control access for this resource. For example, { “Tags”: {“key1”:”value1”, “key2”:”value2”} }. - (string) – - (string) – 
 
 
 
- 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.DuplicateResourceException
- Connect.Client.exceptions.InvalidRequestException
- Connect.Client.exceptions.InvalidParameterException
- Connect.Client.exceptions.LimitExceededException
- Connect.Client.exceptions.ThrottlingException
- Connect.Client.exceptions.InternalServiceException