Updates an existing agent¶
Description¶
Updates an existing agent.
Usage¶
quicksight_update_agent(AgentId, AwsAccountId, Name, Description,
IconId, StarterPrompts, WelcomeMessage, CustomPromptInput, SpacesToAdd,
SpacesToRemove, ActionConnectorsToAdd, ActionConnectorsToRemove)
Arguments¶
-
AgentId[required] The unique identifier for the agent to update.
-
AwsAccountId[required] The ID of the Amazon Web Services account that contains the agent.
-
Name[required] The name of the agent.
-
DescriptionA description of the agent.
-
IconIdThe icon identifier for the agent.
-
StarterPromptsA list of starter prompts that are displayed to users when they begin interacting with the agent.
-
WelcomeMessageThe welcome message that is displayed when a user starts a conversation with the agent.
-
CustomPromptInputThe custom prompt configuration for the agent.
-
SpacesToAddThe Amazon Resource Names (ARNs) of the spaces to attach to the agent.
-
SpacesToRemoveThe Amazon Resource Names (ARNs) of the spaces to detach from the agent.
-
ActionConnectorsToAddThe Amazon Resource Names (ARNs) of the action connectors to attach to the agent.
-
ActionConnectorsToRemoveThe Amazon Resource Names (ARNs) of the action connectors to detach from the agent.
Value¶
A list with the following syntax:
list(
Arn = "string",
AgentId = "string",
AgentStatus = "ACTIVE"|"UPDATING"|"FAILED"|"CREATING",
FailedToAddSpaces = list(
list(
Arn = "string",
ErrorMessage = "string",
ErrorCode = "string"
)
),
FailedToRemoveSpaces = list(
list(
Arn = "string",
ErrorMessage = "string",
ErrorCode = "string"
)
),
FailedToAddActionConnectors = list(
list(
Arn = "string",
ErrorMessage = "string",
ErrorCode = "string"
)
),
FailedToRemoveActionConnectors = list(
list(
Arn = "string",
ErrorMessage = "string",
ErrorCode = "string"
)
),
RequestId = "string"
)
Request syntax¶
svc$update_agent(
AgentId = "string",
AwsAccountId = "string",
Name = "string",
Description = "string",
IconId = "string",
StarterPrompts = list(
"string"
),
WelcomeMessage = "string",
CustomPromptInput = list(
ExistingPrompt = list(
ModelProfileId = "string",
SubscriptionId = "string",
QbsAwsAccountId = "string"
),
NewPrompt = list(
ResponseLength = "string",
OutputStyle = "string",
Identity = "string",
Tone = "string",
CustomInstructions = "string"
)
),
SpacesToAdd = list(
"string"
),
SpacesToRemove = list(
"string"
),
ActionConnectorsToAdd = list(
"string"
),
ActionConnectorsToRemove = list(
"string"
)
)