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’s 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.
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