Skip to content

Create Prompt

connect_create_prompt R Documentation

Creates a prompt

Description

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.

Usage

connect_create_prompt(InstanceId, Name, Description, S3Uri, Tags)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Name

[required] The name of the prompt.

Description

The description of the prompt.

S3Uri

[required] The URI for the S3 bucket where the prompt is stored. You can provide S3 pre-signed URLs returned by the get_prompt_file API instead of providing S3 URIs.

Tags

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

Value

A list with the following syntax:

list(
  PromptARN = "string",
  PromptId = "string"
)

Request syntax

svc$create_prompt(
  InstanceId = "string",
  Name = "string",
  Description = "string",
  S3Uri = "string",
  Tags = list(
    "string"
  )
)