2023/05/18 - Amazon Connect Service - 5 new api methods
Changes You can programmatically create and manage prompts using APIs, for example, to extract prompts stored within Amazon Connect and add them to your Amazon S3 bucket. AWS CloudTrail, AWS CloudFormation and tagging are supported.
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
client.create_prompt( InstanceId='string', Name='string', Description='string', S3Uri='string', Tags={ 'string': 'string' } )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
string
[REQUIRED]
The name of the prompt.
string
The description of the prompt.
string
[REQUIRED]
The URI for the S3 bucket where the prompt is stored.
dict
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
(string) --
(string) --
dict
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.
Describes the prompt.
See also: AWS API Documentation
Request Syntax
client.describe_prompt( InstanceId='string', PromptId='string' )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
string
[REQUIRED]
A unique identifier for the prompt.
dict
Response Syntax
{ 'Prompt': { 'PromptARN': 'string', 'PromptId': 'string', 'Name': 'string', 'Description': 'string', 'Tags': { 'string': 'string' } } }
Response Structure
(dict) --
Prompt (dict) --
Information about the prompt.
PromptARN (string) --
The Amazon Resource Name (ARN) of the prompt.
PromptId (string) --
A unique identifier for the prompt.
Name (string) --
The name of the prompt.
Description (string) --
A description for the prompt.
Tags (dict) --
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
(string) --
(string) --
Deletes a prompt.
See also: AWS API Documentation
Request Syntax
client.delete_prompt( InstanceId='string', PromptId='string' )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
string
[REQUIRED]
A unique identifier for the prompt.
None
Updates a prompt.
See also: AWS API Documentation
Request Syntax
client.update_prompt( InstanceId='string', PromptId='string', Name='string', Description='string', S3Uri='string' )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
string
[REQUIRED]
A unique identifier for the prompt.
string
The name of the prompt.
string
A description of the prompt.
string
The URI for the S3 bucket where the prompt is stored.
dict
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.
Gets the prompt file.
See also: AWS API Documentation
Request Syntax
client.get_prompt_file( InstanceId='string', PromptId='string' )
string
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
string
[REQUIRED]
A unique identifier for the prompt.
dict
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.