{ "version":"2.0", "metadata":{ "apiVersion":"2023-06-05", "auth":["aws.auth#sigv4"], "endpointPrefix":"bedrock-agent", "protocol":"rest-json", "protocols":["rest-json"], "serviceFullName":"Agents for Amazon Bedrock", "serviceId":"Bedrock Agent", "signatureVersion":"v4", "signingName":"bedrock", "uid":"bedrock-agent-2023-06-05" }, "operations":{ "AssociateAgentCollaborator":{ "name":"AssociateAgentCollaborator", "http":{ "method":"PUT", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", "responseCode":200 }, "input":{"shape":"AssociateAgentCollaboratorRequest"}, "output":{"shape":"AssociateAgentCollaboratorResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"
Makes an agent a collaborator for another agent.
", "idempotent":true }, "AssociateAgentKnowledgeBase":{ "name":"AssociateAgentKnowledgeBase", "http":{ "method":"PUT", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", "responseCode":200 }, "input":{"shape":"AssociateAgentKnowledgeBaseRequest"}, "output":{"shape":"AssociateAgentKnowledgeBaseResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Associates a knowledge base with an agent. If a knowledge base is associated and its indexState is set to Enabled, the agent queries the knowledge base for information to augment its response to the user.
Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.
Specify the following fields for security purposes.
agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.
(Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.
(Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session.
To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration object. For more information, see Configure memory.
To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts.
If your agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot.
The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.
Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.
To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.UserInput.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group with the parentActionGroupSignature field set to AMAZON.CodeInterpreter.
You must leave the description, apiSchema, and actionGroupExecutor fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
Creates an alias of an agent that can be used to deploy the agent.
", "idempotent":true }, "CreateDataSource":{ "name":"CreateDataSource", "http":{ "method":"PUT", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/", "responseCode":200 }, "input":{"shape":"CreateDataSourceRequest"}, "output":{"shape":"CreateDataSourceResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Connects a knowledge base to a data source. You specify the configuration for the specific data source service in the dataSourceConfiguration field.
You can't change the chunkingConfiguration after you create the data source connector.
Creates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent":true }, "CreateFlowAlias":{ "name":"CreateFlowAlias", "http":{ "method":"POST", "requestUri":"/flows/{flowIdentifier}/aliases", "responseCode":201 }, "input":{"shape":"CreateFlowAliasRequest"}, "output":{"shape":"CreateFlowAliasResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Creates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent":true }, "CreateFlowVersion":{ "name":"CreateFlowVersion", "http":{ "method":"POST", "requestUri":"/flows/{flowIdentifier}/versions", "responseCode":201 }, "input":{"shape":"CreateFlowVersionRequest"}, "output":{"shape":"CreateFlowVersionResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Creates a version of the flow that you can deploy. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent":true }, "CreateKnowledgeBase":{ "name":"CreateKnowledgeBase", "http":{ "method":"PUT", "requestUri":"/knowledgebases/", "responseCode":202 }, "input":{"shape":"CreateKnowledgeBaseRequest"}, "output":{"shape":"CreateKnowledgeBaseResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Creates a knowledge base. A knowledge base contains your data sources so that Large Language Models (LLMs) can use your data. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up a knowledge base.
To create a managed knowledge base, provide a managedKnowledgeBaseConfiguration during creation. For more information, see Build a managed knowledge base.
Provide the name and an optional description.
Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the roleArn field.
For managed knowledge bases, set embeddingModelType to MANAGED to use the service-managed embedding model, or CUSTOM with an embeddingModelArn to use your own. To use your own KMS key for encryption, provide the ARN in serverSideEncryptionConfiguration. No vector store configuration is required for managed knowledge bases.
For self-managed knowledge bases, provide the embedding model to use in the embeddingModelArn field in the knowledgeBaseConfiguration object.
For self-managed knowledge bases, provide the configuration for your vector store in the storageConfiguration object.
For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration object. For more information, see Create a vector store in Amazon OpenSearch Service.
For an Amazon Aurora database, use the RdsConfiguration object. For more information, see Create a vector store in Amazon Aurora.
For a Pinecone database, use the pineconeConfiguration object. For more information, see Create a vector store in Pinecone.
For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration object. For more information, see Create a vector store in Redis Enterprise Cloud.
Creates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent":true }, "CreatePromptVersion":{ "name":"CreatePromptVersion", "http":{ "method":"POST", "requestUri":"/prompts/{promptIdentifier}/versions", "responseCode":201 }, "input":{"shape":"CreatePromptVersionRequest"}, "output":{"shape":"CreatePromptVersionResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Creates a static snapshot of your prompt that can be deployed to production. For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
", "idempotent":true }, "DeleteAgent":{ "name":"DeleteAgent", "http":{ "method":"DELETE", "requestUri":"/agents/{agentId}/", "responseCode":202 }, "input":{"shape":"DeleteAgentRequest"}, "output":{"shape":"DeleteAgentResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes an agent.
", "idempotent":true }, "DeleteAgentActionGroup":{ "name":"DeleteAgentActionGroup", "http":{ "method":"DELETE", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", "responseCode":204 }, "input":{"shape":"DeleteAgentActionGroupRequest"}, "output":{"shape":"DeleteAgentActionGroupResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes an action group in an agent.
", "idempotent":true }, "DeleteAgentAlias":{ "name":"DeleteAgentAlias", "http":{ "method":"DELETE", "requestUri":"/agents/{agentId}/agentaliases/{agentAliasId}/", "responseCode":202 }, "input":{"shape":"DeleteAgentAliasRequest"}, "output":{"shape":"DeleteAgentAliasResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Deletes an alias of an agent.
", "idempotent":true }, "DeleteAgentVersion":{ "name":"DeleteAgentVersion", "http":{ "method":"DELETE", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/", "responseCode":202 }, "input":{"shape":"DeleteAgentVersionRequest"}, "output":{"shape":"DeleteAgentVersionResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes a version of an agent.
", "idempotent":true }, "DeleteDataSource":{ "name":"DeleteDataSource", "http":{ "method":"DELETE", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", "responseCode":202 }, "input":{"shape":"DeleteDataSourceRequest"}, "output":{"shape":"DeleteDataSourceResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes a data source from a knowledge base.
", "idempotent":true }, "DeleteFlow":{ "name":"DeleteFlow", "http":{ "method":"DELETE", "requestUri":"/flows/{flowIdentifier}/", "responseCode":200 }, "input":{"shape":"DeleteFlowRequest"}, "output":{"shape":"DeleteFlowResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes a flow.
", "idempotent":true }, "DeleteFlowAlias":{ "name":"DeleteFlowAlias", "http":{ "method":"DELETE", "requestUri":"/flows/{flowIdentifier}/aliases/{aliasIdentifier}", "responseCode":200 }, "input":{"shape":"DeleteFlowAliasRequest"}, "output":{"shape":"DeleteFlowAliasResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes an alias of a flow.
", "idempotent":true }, "DeleteFlowVersion":{ "name":"DeleteFlowVersion", "http":{ "method":"DELETE", "requestUri":"/flows/{flowIdentifier}/versions/{flowVersion}/", "responseCode":200 }, "input":{"shape":"DeleteFlowVersionRequest"}, "output":{"shape":"DeleteFlowVersionResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes a version of a flow.
", "idempotent":true }, "DeleteKnowledgeBase":{ "name":"DeleteKnowledgeBase", "http":{ "method":"DELETE", "requestUri":"/knowledgebases/{knowledgeBaseId}", "responseCode":202 }, "input":{"shape":"DeleteKnowledgeBaseRequest"}, "output":{"shape":"DeleteKnowledgeBaseResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
", "idempotent":true }, "DeleteKnowledgeBaseDocuments":{ "name":"DeleteKnowledgeBaseDocuments", "http":{ "method":"POST", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/deleteDocuments", "responseCode":202 }, "input":{"shape":"DeleteKnowledgeBaseDocumentsRequest"}, "output":{"shape":"DeleteKnowledgeBaseDocumentsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Deletes documents from a data source and syncs the changes to the knowledge base that is connected to it. For more information, see Ingest changes directly into a knowledge base in the Amazon Bedrock User Guide.
", "idempotent":true }, "DeletePrompt":{ "name":"DeletePrompt", "http":{ "method":"DELETE", "requestUri":"/prompts/{promptIdentifier}/", "responseCode":200 }, "input":{"shape":"DeletePromptRequest"}, "output":{"shape":"DeletePromptResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Deletes a prompt or a version of it, depending on whether you include the promptVersion field or not. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.
Removes the resource policy associated with a knowledge base. After deletion, other AWS accounts can no longer access the knowledge base using cross-account permissions.
", "idempotent":true }, "DisassociateAgentCollaborator":{ "name":"DisassociateAgentCollaborator", "http":{ "method":"DELETE", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", "responseCode":204 }, "input":{"shape":"DisassociateAgentCollaboratorRequest"}, "output":{"shape":"DisassociateAgentCollaboratorResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Disassociates an agent collaborator.
", "idempotent":true }, "DisassociateAgentKnowledgeBase":{ "name":"DisassociateAgentKnowledgeBase", "http":{ "method":"DELETE", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", "responseCode":204 }, "input":{"shape":"DisassociateAgentKnowledgeBaseRequest"}, "output":{"shape":"DisassociateAgentKnowledgeBaseResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Disassociates a knowledge base from an agent.
", "idempotent":true }, "GetAgent":{ "name":"GetAgent", "http":{ "method":"GET", "requestUri":"/agents/{agentId}/", "responseCode":200 }, "input":{"shape":"GetAgentRequest"}, "output":{"shape":"GetAgentResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Gets information about an agent.
", "readonly":true }, "GetAgentActionGroup":{ "name":"GetAgentActionGroup", "http":{ "method":"GET", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", "responseCode":200 }, "input":{"shape":"GetAgentActionGroupRequest"}, "output":{"shape":"GetAgentActionGroupResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Gets information about an action group for an agent.
", "readonly":true }, "GetAgentAlias":{ "name":"GetAgentAlias", "http":{ "method":"GET", "requestUri":"/agents/{agentId}/agentaliases/{agentAliasId}/", "responseCode":200 }, "input":{"shape":"GetAgentAliasRequest"}, "output":{"shape":"GetAgentAliasResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Gets information about an alias of an agent.
", "readonly":true }, "GetAgentCollaborator":{ "name":"GetAgentCollaborator", "http":{ "method":"GET", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", "responseCode":200 }, "input":{"shape":"GetAgentCollaboratorRequest"}, "output":{"shape":"GetAgentCollaboratorResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Retrieves information about an agent's collaborator.
", "readonly":true }, "GetAgentKnowledgeBase":{ "name":"GetAgentKnowledgeBase", "http":{ "method":"GET", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", "responseCode":200 }, "input":{"shape":"GetAgentKnowledgeBaseRequest"}, "output":{"shape":"GetAgentKnowledgeBaseResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Gets information about a knowledge base associated with an agent.
", "readonly":true }, "GetAgentVersion":{ "name":"GetAgentVersion", "http":{ "method":"GET", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/", "responseCode":200 }, "input":{"shape":"GetAgentVersionRequest"}, "output":{"shape":"GetAgentVersionResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Gets details about a version of an agent.
", "readonly":true }, "GetDataSource":{ "name":"GetDataSource", "http":{ "method":"GET", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", "responseCode":200 }, "input":{"shape":"GetDataSourceRequest"}, "output":{"shape":"GetDataSourceResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Gets information about a data source.
", "readonly":true }, "GetFlow":{ "name":"GetFlow", "http":{ "method":"GET", "requestUri":"/flows/{flowIdentifier}/", "responseCode":200 }, "input":{"shape":"GetFlowRequest"}, "output":{"shape":"GetFlowResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Retrieves information about a flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "readonly":true }, "GetFlowAlias":{ "name":"GetFlowAlias", "http":{ "method":"GET", "requestUri":"/flows/{flowIdentifier}/aliases/{aliasIdentifier}", "responseCode":200 }, "input":{"shape":"GetFlowAliasRequest"}, "output":{"shape":"GetFlowAliasResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Retrieves information about a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "readonly":true }, "GetFlowVersion":{ "name":"GetFlowVersion", "http":{ "method":"GET", "requestUri":"/flows/{flowIdentifier}/versions/{flowVersion}/", "responseCode":200 }, "input":{"shape":"GetFlowVersionRequest"}, "output":{"shape":"GetFlowVersionResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Retrieves information about a version of a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "readonly":true }, "GetIngestionJob":{ "name":"GetIngestionJob", "http":{ "method":"GET", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}", "responseCode":200 }, "input":{"shape":"GetIngestionJobRequest"}, "output":{"shape":"GetIngestionJobResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Gets information about a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.
", "readonly":true }, "GetKnowledgeBase":{ "name":"GetKnowledgeBase", "http":{ "method":"GET", "requestUri":"/knowledgebases/{knowledgeBaseId}", "responseCode":200 }, "input":{"shape":"GetKnowledgeBaseRequest"}, "output":{"shape":"GetKnowledgeBaseResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Gets information about a knowledge base.
", "readonly":true }, "GetKnowledgeBaseDocuments":{ "name":"GetKnowledgeBaseDocuments", "http":{ "method":"POST", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/getDocuments", "responseCode":200 }, "input":{"shape":"GetKnowledgeBaseDocumentsRequest"}, "output":{"shape":"GetKnowledgeBaseDocumentsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Retrieves specific documents from a data source that is connected to a knowledge base. For more information, see Ingest changes directly into a knowledge base in the Amazon Bedrock User Guide.
", "readonly":true }, "GetPrompt":{ "name":"GetPrompt", "http":{ "method":"GET", "requestUri":"/prompts/{promptIdentifier}/", "responseCode":200 }, "input":{"shape":"GetPromptRequest"}, "output":{"shape":"GetPromptResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Retrieves information about the working draft (DRAFT version) of a prompt or a version of it, depending on whether you include the promptVersion field or not. For more information, see View information about prompts using Prompt management and View information about a version of your prompt in the Amazon Bedrock User Guide.
Retrieves the resource policy associated with a knowledge base.
", "readonly":true }, "IngestKnowledgeBaseDocuments":{ "name":"IngestKnowledgeBaseDocuments", "http":{ "method":"PUT", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", "responseCode":202 }, "input":{"shape":"IngestKnowledgeBaseDocumentsRequest"}, "output":{"shape":"IngestKnowledgeBaseDocumentsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Ingests documents directly into the knowledge base that is connected to the data source. The dataSourceType specified in the content for each document must match the type of the data source that you specify in the header. For more information, see Ingest changes directly into a knowledge base in the Amazon Bedrock User Guide.
Lists the action groups for an agent and information about each one.
", "readonly":true }, "ListAgentAliases":{ "name":"ListAgentAliases", "http":{ "method":"POST", "requestUri":"/agents/{agentId}/agentaliases/", "responseCode":200 }, "input":{"shape":"ListAgentAliasesRequest"}, "output":{"shape":"ListAgentAliasesResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Lists the aliases of an agent and information about each one.
", "readonly":true }, "ListAgentCollaborators":{ "name":"ListAgentCollaborators", "http":{ "method":"POST", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", "responseCode":200 }, "input":{"shape":"ListAgentCollaboratorsRequest"}, "output":{"shape":"ListAgentCollaboratorsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Retrieve a list of an agent's collaborators.
", "readonly":true }, "ListAgentKnowledgeBases":{ "name":"ListAgentKnowledgeBases", "http":{ "method":"POST", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", "responseCode":200 }, "input":{"shape":"ListAgentKnowledgeBasesRequest"}, "output":{"shape":"ListAgentKnowledgeBasesResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Lists knowledge bases associated with an agent and information about each one.
", "readonly":true }, "ListAgentVersions":{ "name":"ListAgentVersions", "http":{ "method":"POST", "requestUri":"/agents/{agentId}/agentversions/", "responseCode":200 }, "input":{"shape":"ListAgentVersionsRequest"}, "output":{"shape":"ListAgentVersionsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Lists the versions of an agent and information about each version.
", "readonly":true }, "ListAgents":{ "name":"ListAgents", "http":{ "method":"POST", "requestUri":"/agents/", "responseCode":200 }, "input":{"shape":"ListAgentsRequest"}, "output":{"shape":"ListAgentsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"Lists the agents belonging to an account and information about each agent.
", "readonly":true }, "ListDataSources":{ "name":"ListDataSources", "http":{ "method":"POST", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/", "responseCode":200 }, "input":{"shape":"ListDataSourcesRequest"}, "output":{"shape":"ListDataSourcesResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Lists the data sources in a knowledge base and information about each one.
", "readonly":true }, "ListFlowAliases":{ "name":"ListFlowAliases", "http":{ "method":"GET", "requestUri":"/flows/{flowIdentifier}/aliases", "responseCode":200 }, "input":{"shape":"ListFlowAliasesRequest"}, "output":{"shape":"ListFlowAliasesResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Returns a list of aliases for a flow.
", "readonly":true }, "ListFlowVersions":{ "name":"ListFlowVersions", "http":{ "method":"GET", "requestUri":"/flows/{flowIdentifier}/versions", "responseCode":200 }, "input":{"shape":"ListFlowVersionsRequest"}, "output":{"shape":"ListFlowVersionsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Returns a list of information about each flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "readonly":true }, "ListFlows":{ "name":"ListFlows", "http":{ "method":"GET", "requestUri":"/flows/", "responseCode":200 }, "input":{"shape":"ListFlowsRequest"}, "output":{"shape":"ListFlowsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"Returns a list of flows and information about each flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "readonly":true }, "ListIngestionJobs":{ "name":"ListIngestionJobs", "http":{ "method":"POST", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", "responseCode":200 }, "input":{"shape":"ListIngestionJobsRequest"}, "output":{"shape":"ListIngestionJobsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Lists the data ingestion jobs for a data source. The list also includes information about each job.
", "readonly":true }, "ListKnowledgeBaseDocuments":{ "name":"ListKnowledgeBaseDocuments", "http":{ "method":"POST", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", "responseCode":200 }, "input":{"shape":"ListKnowledgeBaseDocumentsRequest"}, "output":{"shape":"ListKnowledgeBaseDocumentsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Retrieves all the documents contained in a data source that is connected to a knowledge base. For more information, see Ingest changes directly into a knowledge base in the Amazon Bedrock User Guide.
", "readonly":true }, "ListKnowledgeBases":{ "name":"ListKnowledgeBases", "http":{ "method":"POST", "requestUri":"/knowledgebases/", "responseCode":200 }, "input":{"shape":"ListKnowledgeBasesRequest"}, "output":{"shape":"ListKnowledgeBasesResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"Lists the knowledge bases in an account. The list also includesinformation about each knowledge base.
", "readonly":true }, "ListPrompts":{ "name":"ListPrompts", "http":{ "method":"GET", "requestUri":"/prompts/", "responseCode":200 }, "input":{"shape":"ListPromptsRequest"}, "output":{"shape":"ListPromptsResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Returns either information about the working draft (DRAFT version) of each prompt in an account, or information about of all versions of a prompt, depending on whether you include the promptIdentifier field or not. For more information, see View information about prompts using Prompt management in the Amazon Bedrock User Guide.
List all the tags for the resource you specify.
", "readonly":true }, "PrepareAgent":{ "name":"PrepareAgent", "http":{ "method":"POST", "requestUri":"/agents/{agentId}/", "responseCode":202 }, "input":{"shape":"PrepareAgentRequest"}, "output":{"shape":"PrepareAgentResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Creates a DRAFT version of the agent that can be used for internal testing.
Prepares the DRAFT version of a flow so that it can be invoked. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
Associates a resource policy with a knowledge base. A resource policy allows other AWS accounts to access the knowledge base. For more information, see Cross-account access for knowledge bases.
", "idempotent":true }, "StartIngestionJob":{ "name":"StartIngestionJob", "http":{ "method":"PUT", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", "responseCode":202 }, "input":{"shape":"StartIngestionJobRequest"}, "output":{"shape":"StartIngestionJobResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Begins a data ingestion job. Data sources are ingested into your knowledge base so that Large Language Models (LLMs) can use your data.
", "idempotent":true }, "StopIngestionJob":{ "name":"StopIngestionJob", "http":{ "method":"POST", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}/stop", "responseCode":202 }, "input":{"shape":"StopIngestionJobRequest"}, "output":{"shape":"StopIngestionJobResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Stops a currently running data ingestion job. You can send a StartIngestionJob request again to ingest the rest of your data when you are ready.
Associate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"} ], "documentation":"Remove tags from a resource.
", "idempotent":true }, "UpdateAgent":{ "name":"UpdateAgent", "http":{ "method":"PUT", "requestUri":"/agents/{agentId}/", "responseCode":202 }, "input":{"shape":"UpdateAgentRequest"}, "output":{"shape":"UpdateAgentResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Updates the configuration of an agent.
", "idempotent":true }, "UpdateAgentActionGroup":{ "name":"UpdateAgentActionGroup", "http":{ "method":"PUT", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", "responseCode":200 }, "input":{"shape":"UpdateAgentActionGroupRequest"}, "output":{"shape":"UpdateAgentActionGroupResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Updates the configuration for an action group for an agent.
", "idempotent":true }, "UpdateAgentAlias":{ "name":"UpdateAgentAlias", "http":{ "method":"PUT", "requestUri":"/agents/{agentId}/agentaliases/{agentAliasId}/", "responseCode":202 }, "input":{"shape":"UpdateAgentAliasRequest"}, "output":{"shape":"UpdateAgentAliasResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Updates configurations for an alias of an agent.
", "idempotent":true }, "UpdateAgentCollaborator":{ "name":"UpdateAgentCollaborator", "http":{ "method":"PUT", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", "responseCode":200 }, "input":{"shape":"UpdateAgentCollaboratorRequest"}, "output":{"shape":"UpdateAgentCollaboratorResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Updates an agent's collaborator.
", "idempotent":true }, "UpdateAgentKnowledgeBase":{ "name":"UpdateAgentKnowledgeBase", "http":{ "method":"PUT", "requestUri":"/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", "responseCode":200 }, "input":{"shape":"UpdateAgentKnowledgeBaseRequest"}, "output":{"shape":"UpdateAgentKnowledgeBaseResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Updates the configuration for a knowledge base that has been associated with an agent.
", "idempotent":true }, "UpdateDataSource":{ "name":"UpdateDataSource", "http":{ "method":"PUT", "requestUri":"/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", "responseCode":200 }, "input":{"shape":"UpdateDataSourceRequest"}, "output":{"shape":"UpdateDataSourceResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Updates the configurations for a data source connector.
You can't change the chunkingConfiguration after you create the data source connector. Specify the existing chunkingConfiguration.
Modifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent":true }, "UpdateFlowAlias":{ "name":"UpdateFlowAlias", "http":{ "method":"PUT", "requestUri":"/flows/{flowIdentifier}/aliases/{aliasIdentifier}", "responseCode":200 }, "input":{"shape":"UpdateFlowAliasRequest"}, "output":{"shape":"UpdateFlowAliasResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent":true }, "UpdateKnowledgeBase":{ "name":"UpdateKnowledgeBase", "http":{ "method":"PUT", "requestUri":"/knowledgebases/{knowledgeBaseId}", "responseCode":202 }, "input":{"shape":"UpdateKnowledgeBaseRequest"}, "output":{"shape":"UpdateKnowledgeBaseResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"} ], "documentation":"Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same.
You can change the following fields:
name
description
roleArn
You can't change the knowledgeBaseConfiguration or storageConfiguration fields, so you must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.
Modifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
", "idempotent":true }, "ValidateFlowDefinition":{ "name":"ValidateFlowDefinition", "http":{ "method":"POST", "requestUri":"/flows/validate-definition", "responseCode":200 }, "input":{"shape":"ValidateFlowDefinitionRequest"}, "output":{"shape":"ValidateFlowDefinitionResponse"}, "errors":[ {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"}, {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"Validates the definition of a flow.
", "readonly":true } }, "shapes":{ "APISchema":{ "type":"structure", "members":{ "s3":{ "shape":"S3Identifier", "documentation":"Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
" }, "payload":{ "shape":"Payload", "documentation":"The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
" } }, "documentation":"Contains details about the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas. You can either include the schema directly in the payload field or you can upload it to an S3 bucket and specify the S3 bucket location in the s3 field.
The access level for an access control entry.
", "enum":[ "ALLOW", "DENY" ] }, "AccessControlPrincipalType":{ "type":"string", "documentation":"The type of principal in an access control entry.
", "enum":["USER"] }, "AccessDeniedException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"The request is denied because of missing access permissions.
", "error":{ "httpStatusCode":403, "senderFault":true }, "exception":true }, "ActionGroupExecutor":{ "type":"structure", "members":{ "lambda":{ "shape":"LambdaArn", "documentation":"The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
" }, "customControl":{ "shape":"CustomControlMethod", "documentation":"To return the action group invocation results directly in the InvokeAgent response, specify RETURN_CONTROL.
Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
", "union":true }, "ActionGroupSignature":{ "type":"string", "enum":[ "AMAZON.UserInput", "AMAZON.CodeInterpreter", "ANTHROPIC.Computer", "ANTHROPIC.Bash", "ANTHROPIC.TextEditor" ] }, "ActionGroupSignatureParams":{ "type":"map", "key":{"shape":"ActionGroupSignatureParamsKeyString"}, "value":{"shape":"ActionGroupSignatureParamsValueString"} }, "ActionGroupSignatureParamsKeyString":{ "type":"string", "max":100, "min":0 }, "ActionGroupSignatureParamsValueString":{ "type":"string", "max":100, "min":0 }, "ActionGroupState":{ "type":"string", "enum":[ "ENABLED", "DISABLED" ] }, "ActionGroupSummaries":{ "type":"list", "member":{"shape":"ActionGroupSummary"}, "max":10, "min":0 }, "ActionGroupSummary":{ "type":"structure", "required":[ "actionGroupId", "actionGroupName", "actionGroupState", "updatedAt" ], "members":{ "actionGroupId":{ "shape":"Id", "documentation":"The unique identifier of the action group.
" }, "actionGroupName":{ "shape":"Name", "documentation":"The name of the action group.
" }, "actionGroupState":{ "shape":"ActionGroupState", "documentation":"Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" }, "description":{ "shape":"Description", "documentation":"The description of the action group.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the action group was last updated.
" } }, "documentation":"Contains details about an action group.
" }, "AdditionalModelRequestFields":{ "type":"map", "key":{"shape":"AdditionalModelRequestFieldsKey"}, "value":{"shape":"AdditionalModelRequestFieldsValue"} }, "AdditionalModelRequestFieldsKey":{ "type":"string", "max":100, "min":1 }, "AdditionalModelRequestFieldsValue":{ "type":"structure", "members":{}, "document":true }, "Agent":{ "type":"structure", "required":[ "agentId", "agentName", "agentArn", "agentVersion", "agentStatus", "idleSessionTTLInSeconds", "agentResourceRoleArn", "createdAt", "updatedAt" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
" }, "agentName":{ "shape":"Name", "documentation":"The name of the agent.
" }, "agentArn":{ "shape":"AgentArn", "documentation":"The Amazon Resource Name (ARN) of the agent.
" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The version of the agent.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" }, "instruction":{ "shape":"Instruction", "documentation":"Instructions that tell the agent what it should do and how it should interact with users.
" }, "agentStatus":{ "shape":"AgentStatus", "documentation":"The status of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent is being created.
PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED – The agent API operation failed.
UPDATING – The agent is being updated.
DELETING – The agent is being deleted.
The foundation model used for orchestration by the agent.
" }, "description":{ "shape":"Description", "documentation":"The description of the agent.
" }, "orchestrationType":{ "shape":"OrchestrationType", "documentation":"Specifies the orchestration strategy for the agent.
" }, "customOrchestration":{ "shape":"CustomOrchestration", "documentation":"Contains custom orchestration configurations for the agent.
" }, "idleSessionTTLInSeconds":{ "shape":"SessionTTL", "documentation":"The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
" }, "agentResourceRoleArn":{ "shape":"AgentRoleArn", "documentation":"The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the agent was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the agent was last updated.
" }, "preparedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the agent was last prepared.
" }, "failureReasons":{ "shape":"FailureReasons", "documentation":"Contains reasons that the agent-related API that you invoked failed.
" }, "recommendedActions":{ "shape":"RecommendedActions", "documentation":"Contains recommended actions to take for the agent-related API that you invoked to succeed.
" }, "promptOverrideConfiguration":{ "shape":"PromptOverrideConfiguration", "documentation":"Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
" }, "guardrailConfiguration":{ "shape":"GuardrailConfiguration", "documentation":"Details about the guardrail associated with the agent.
" }, "memoryConfiguration":{ "shape":"MemoryConfiguration", "documentation":"Contains memory configuration for the agent.
" }, "agentCollaboration":{ "shape":"AgentCollaboration", "documentation":"The agent's collaboration settings.
" } }, "documentation":"Contains details about an agent.
" }, "AgentActionGroup":{ "type":"structure", "required":[ "agentId", "agentVersion", "actionGroupId", "actionGroupName", "createdAt", "updatedAt", "actionGroupState" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent to which the action group belongs.
" }, "agentVersion":{ "shape":"Version", "documentation":"The version of the agent to which the action group belongs.
" }, "actionGroupId":{ "shape":"Id", "documentation":"The unique identifier of the action group.
" }, "actionGroupName":{ "shape":"Name", "documentation":"The name of the action group.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" }, "description":{ "shape":"Description", "documentation":"The description of the action group.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the action group was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the action group was last updated.
" }, "parentActionSignature":{ "shape":"ActionGroupSignature", "documentation":"If this field is set as AMAZON.UserInput, the agent can request the user for additional information when trying to complete a task. The description, apiSchema, and actionGroupExecutor fields must be blank for this action group.
During orchestration, if the agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
" }, "parentActionGroupSignatureParams":{ "shape":"ActionGroupSignatureParams", "documentation":"The configuration settings for a computer use action.
Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
" }, "apiSchema":{ "shape":"APISchema", "documentation":"Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
" }, "functionSchema":{ "shape":"FunctionSchema", "documentation":"Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
" }, "actionGroupState":{ "shape":"ActionGroupState", "documentation":"Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" } }, "documentation":"Contains details about an action group.
" }, "AgentAlias":{ "type":"structure", "required":[ "agentId", "agentAliasId", "agentAliasName", "agentAliasArn", "routingConfiguration", "createdAt", "updatedAt", "agentAliasStatus" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
" }, "agentAliasId":{ "shape":"AgentAliasId", "documentation":"The unique identifier of the alias of the agent.
" }, "agentAliasName":{ "shape":"Name", "documentation":"The name of the alias of the agent.
" }, "agentAliasArn":{ "shape":"AgentAliasArn", "documentation":"The Amazon Resource Name (ARN) of the alias of the agent.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" }, "description":{ "shape":"Description", "documentation":"The description of the alias of the agent.
" }, "routingConfiguration":{ "shape":"AgentAliasRoutingConfiguration", "documentation":"Contains details about the routing configuration of the alias.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias of the agent was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias was last updated.
" }, "agentAliasHistoryEvents":{ "shape":"AgentAliasHistoryEvents", "documentation":"Contains details about the history of the alias.
" }, "agentAliasStatus":{ "shape":"AgentAliasStatus", "documentation":"The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
DISSOCIATED - The agent alias has no version associated with it.
Information on the failure of Provisioned Throughput assigned to an agent alias.
" }, "aliasInvocationState":{ "shape":"AliasInvocationState", "documentation":"The invocation state for the agent alias. If the agent alias is running, the value is ACCEPT_INVOCATIONS. If the agent alias is paused, the value is REJECT_INVOCATIONS. Use the UpdateAgentAlias operation to change the invocation state.
Contains details about an alias of an agent.
" }, "AgentAliasArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}" }, "AgentAliasHistoryEvent":{ "type":"structure", "members":{ "routingConfiguration":{ "shape":"AgentAliasRoutingConfiguration", "documentation":"Contains details about the version of the agent with which the alias is associated.
" }, "endDate":{ "shape":"DateTimestamp", "documentation":"The date that the alias stopped being associated to the version in the routingConfiguration object
The date that the alias began being associated to the version in the routingConfiguration object.
Contains details about the history of the alias.
" }, "AgentAliasHistoryEvents":{ "type":"list", "member":{"shape":"AgentAliasHistoryEvent"}, "max":10, "min":0 }, "AgentAliasId":{ "type":"string", "max":10, "min":10, "pattern":"(\\bTSTALIASID\\b|[0-9a-zA-Z]+)" }, "AgentAliasRoutingConfiguration":{ "type":"list", "member":{"shape":"AgentAliasRoutingConfigurationListItem"}, "max":1, "min":0 }, "AgentAliasRoutingConfigurationListItem":{ "type":"structure", "members":{ "agentVersion":{ "shape":"Version", "documentation":"The version of the agent with which the alias is associated.
" }, "provisionedThroughput":{ "shape":"ProvisionedModelIdentifier", "documentation":"Information on the Provisioned Throughput assigned to an agent alias.
" } }, "documentation":"Contains details about the routing configuration of the alias.
" }, "AgentAliasStatus":{ "type":"string", "enum":[ "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED" ] }, "AgentAliasSummaries":{ "type":"list", "member":{"shape":"AgentAliasSummary"}, "max":10, "min":0 }, "AgentAliasSummary":{ "type":"structure", "required":[ "agentAliasId", "agentAliasName", "agentAliasStatus", "createdAt", "updatedAt" ], "members":{ "agentAliasId":{ "shape":"AgentAliasId", "documentation":"Contains details about
" }, "agentAliasName":{ "shape":"Name", "documentation":"The name of the alias.
" }, "description":{ "shape":"Description", "documentation":"The description of the alias.
" }, "routingConfiguration":{ "shape":"AgentAliasRoutingConfiguration", "documentation":"Contains details about the version of the agent with which the alias is associated.
" }, "agentAliasStatus":{ "shape":"AgentAliasStatus", "documentation":"The status of the alias.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias of the agent was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias was last updated.
" }, "aliasInvocationState":{ "shape":"AliasInvocationState", "documentation":"The invocation state for the agent alias. If the agent alias is running, the value is ACCEPT_INVOCATIONS. If the agent alias is paused, the value is REJECT_INVOCATIONS. Use the UpdateAgentAlias operation to change the invocation state.
Contains details about an alias of an agent.
" }, "AgentArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}" }, "AgentCollaboration":{ "type":"string", "enum":[ "SUPERVISOR", "SUPERVISOR_ROUTER", "DISABLED" ] }, "AgentCollaborator":{ "type":"structure", "required":[ "agentId", "agentVersion", "agentDescriptor", "collaboratorId", "collaborationInstruction", "collaboratorName", "createdAt", "lastUpdatedAt" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The collaborator's agent ID.
" }, "agentVersion":{ "shape":"Version", "documentation":"The collaborator's agent version.
" }, "agentDescriptor":{ "shape":"AgentDescriptor", "documentation":"The collaborator's agent descriptor.
" }, "collaboratorId":{ "shape":"Id", "documentation":"The collaborator's collaborator ID.
" }, "collaborationInstruction":{ "shape":"CollaborationInstruction", "documentation":"The collaborator's instructions.
" }, "collaboratorName":{ "shape":"Name", "documentation":"The collaborator's collaborator name.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"When the collaborator was created.
" }, "lastUpdatedAt":{ "shape":"DateTimestamp", "documentation":"When the collaborator was updated.
" }, "relayConversationHistory":{ "shape":"RelayConversationHistory", "documentation":"The collaborator's relay conversation history.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"The collaborator's client token.
" } }, "documentation":"An agent collaborator.
" }, "AgentCollaboratorSummaries":{ "type":"list", "member":{"shape":"AgentCollaboratorSummary"}, "max":10, "min":0 }, "AgentCollaboratorSummary":{ "type":"structure", "required":[ "agentId", "agentVersion", "collaboratorId", "agentDescriptor", "collaborationInstruction", "relayConversationHistory", "collaboratorName", "createdAt", "lastUpdatedAt" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The collaborator's agent ID.
" }, "agentVersion":{ "shape":"Version", "documentation":"The collaborator's agent version.
" }, "collaboratorId":{ "shape":"Id", "documentation":"The collaborator's ID.
" }, "agentDescriptor":{ "shape":"AgentDescriptor", "documentation":"The collaborator's agent descriptor.
" }, "collaborationInstruction":{ "shape":"CollaborationInstruction", "documentation":"The collaborator's collaboration instruction.
" }, "relayConversationHistory":{ "shape":"RelayConversationHistory", "documentation":"The collaborator's relay conversation history.
" }, "collaboratorName":{ "shape":"Name", "documentation":"The collaborator's name.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"When the collaborator was created.
" }, "lastUpdatedAt":{ "shape":"DateTimestamp", "documentation":"When the collaborator was last updated.
" } }, "documentation":"An agent collaborator summary.
" }, "AgentDescriptor":{ "type":"structure", "members":{ "aliasArn":{ "shape":"AgentAliasArn", "documentation":"The agent's alias ARN.
" } }, "documentation":"An agent descriptor.
" }, "AgentFlowNodeConfiguration":{ "type":"structure", "required":["agentAliasArn"], "members":{ "agentAliasArn":{ "shape":"FlowAgentAliasArn", "documentation":"The Amazon Resource Name (ARN) of the alias of the agent to invoke.
" } }, "documentation":"Defines an agent node in your flow. You specify the agent to invoke at this point in the flow. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
" }, "AgentKnowledgeBase":{ "type":"structure", "required":[ "agentId", "agentVersion", "knowledgeBaseId", "description", "createdAt", "updatedAt", "knowledgeBaseState" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent with which the knowledge base is associated.
" }, "agentVersion":{ "shape":"Version", "documentation":"The version of the agent with which the knowledge base is associated.
" }, "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the association between the agent and the knowledge base.
" }, "description":{ "shape":"Description", "documentation":"The description of the association between the agent and the knowledge base.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the association between the agent and the knowledge base was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the association between the agent and the knowledge base was last updated.
" }, "knowledgeBaseState":{ "shape":"KnowledgeBaseState", "documentation":"Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
" } }, "documentation":"Contains details about a knowledge base that is associated with an agent.
" }, "AgentKnowledgeBaseSummaries":{ "type":"list", "member":{"shape":"AgentKnowledgeBaseSummary"}, "max":10, "min":0 }, "AgentKnowledgeBaseSummary":{ "type":"structure", "required":[ "knowledgeBaseId", "knowledgeBaseState", "updatedAt" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base associated with an agent.
" }, "description":{ "shape":"Description", "documentation":"The description of the knowledge base associated with an agent.
" }, "knowledgeBaseState":{ "shape":"KnowledgeBaseState", "documentation":"Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the knowledge base associated with an agent was last updated.
" } }, "documentation":"Contains details about a knowledge base associated with an agent.
" }, "AgentRoleArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+" }, "AgentStatus":{ "type":"string", "enum":[ "CREATING", "PREPARING", "PREPARED", "NOT_PREPARED", "DELETING", "FAILED", "VERSIONING", "UPDATING" ] }, "AgentSummaries":{ "type":"list", "member":{"shape":"AgentSummary"}, "max":10, "min":0 }, "AgentSummary":{ "type":"structure", "required":[ "agentId", "agentName", "agentStatus", "updatedAt" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
" }, "agentName":{ "shape":"Name", "documentation":"The name of the agent.
" }, "agentStatus":{ "shape":"AgentStatus", "documentation":"The status of the agent.
" }, "description":{ "shape":"Description", "documentation":"The description of the agent.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the agent was last updated.
" }, "latestAgentVersion":{ "shape":"Version", "documentation":"The latest version of the agent.
" }, "guardrailConfiguration":{ "shape":"GuardrailConfiguration", "documentation":"Details about the guardrail associated with the agent.
" } }, "documentation":"Contains details about an agent.
" }, "AgentVersion":{ "type":"structure", "required":[ "agentId", "agentName", "agentArn", "version", "agentStatus", "idleSessionTTLInSeconds", "agentResourceRoleArn", "createdAt", "updatedAt" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent that the version belongs to.
" }, "agentName":{ "shape":"Name", "documentation":"The name of the agent that the version belongs to.
" }, "agentArn":{ "shape":"AgentArn", "documentation":"The Amazon Resource Name (ARN) of the agent that the version belongs to.
" }, "version":{ "shape":"NumericalVersion", "documentation":"The version number.
" }, "instruction":{ "shape":"Instruction", "documentation":"The instructions provided to the agent.
" }, "agentStatus":{ "shape":"AgentStatus", "documentation":"The status of the agent that the version belongs to.
" }, "foundationModel":{ "shape":"ModelIdentifier", "documentation":"The foundation model that the version invokes.
" }, "description":{ "shape":"Description", "documentation":"The description of the version.
" }, "idleSessionTTLInSeconds":{ "shape":"SessionTTL", "documentation":"The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
" }, "agentResourceRoleArn":{ "shape":"AgentRoleArn", "documentation":"The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the version was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the version was last updated.
" }, "failureReasons":{ "shape":"FailureReasons", "documentation":"A list of reasons that the API operation on the version failed.
" }, "recommendedActions":{ "shape":"RecommendedActions", "documentation":"A list of recommended actions to take for the failed API operation on the version to succeed.
" }, "promptOverrideConfiguration":{ "shape":"PromptOverrideConfiguration", "documentation":"Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
" }, "guardrailConfiguration":{ "shape":"GuardrailConfiguration", "documentation":"Details about the guardrail associated with the agent.
" }, "memoryConfiguration":{ "shape":"MemoryConfiguration", "documentation":"Contains details of the memory configuration on the version of the agent.
" }, "agentCollaboration":{ "shape":"AgentCollaboration", "documentation":"The agent's collaboration settings.
" } }, "documentation":"Contains details about a version of an agent.
" }, "AgentVersionSummaries":{ "type":"list", "member":{"shape":"AgentVersionSummary"}, "max":10, "min":0 }, "AgentVersionSummary":{ "type":"structure", "required":[ "agentName", "agentStatus", "agentVersion", "createdAt", "updatedAt" ], "members":{ "agentName":{ "shape":"Name", "documentation":"The name of the agent to which the version belongs.
" }, "agentStatus":{ "shape":"AgentStatus", "documentation":"The status of the agent to which the version belongs.
" }, "agentVersion":{ "shape":"Version", "documentation":"The version of the agent.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the version was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the version was last updated.
" }, "description":{ "shape":"Description", "documentation":"The description of the version of the agent.
" }, "guardrailConfiguration":{ "shape":"GuardrailConfiguration", "documentation":"Details about the guardrail associated with the agent.
" } }, "documentation":"Contains details about a version of an agent.
" }, "AliasInvocationState":{ "type":"string", "documentation":"Enum representing the invocation state of an agent alias
", "enum":[ "ACCEPT_INVOCATIONS", "REJECT_INVOCATIONS" ] }, "AnyToolChoice":{ "type":"structure", "members":{}, "documentation":"Defines tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. For more information, see Use a tool to complete an Amazon Bedrock model response.
" }, "AssociateAgentCollaboratorRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "agentDescriptor", "collaboratorName", "collaborationInstruction" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The agent's ID.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"An agent version.
", "location":"uri", "locationName":"agentVersion" }, "agentDescriptor":{ "shape":"AgentDescriptor", "documentation":"The alias of the collaborator agent.
" }, "collaboratorName":{ "shape":"Name", "documentation":"A name for the collaborator.
" }, "collaborationInstruction":{ "shape":"CollaborationInstruction", "documentation":"Instruction for the collaborator.
" }, "relayConversationHistory":{ "shape":"RelayConversationHistory", "documentation":"A relay conversation history for the collaborator.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A client token.
", "idempotencyToken":true } } }, "AssociateAgentCollaboratorResponse":{ "type":"structure", "required":["agentCollaborator"], "members":{ "agentCollaborator":{ "shape":"AgentCollaborator", "documentation":"Details about the collaborator.
" } } }, "AssociateAgentKnowledgeBaseRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "knowledgeBaseId", "description" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent with which you want to associate the knowledge base.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The version of the agent with which you want to associate the knowledge base.
", "location":"uri", "locationName":"agentVersion" }, "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base to associate with the agent.
" }, "description":{ "shape":"Description", "documentation":"A description of what the agent should use the knowledge base for.
" }, "knowledgeBaseState":{ "shape":"KnowledgeBaseState", "documentation":"Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
" } } }, "AssociateAgentKnowledgeBaseResponse":{ "type":"structure", "required":["agentKnowledgeBase"], "members":{ "agentKnowledgeBase":{ "shape":"AgentKnowledgeBase", "documentation":"Contains details about the knowledge base that has been associated with the agent.
" } } }, "AudioConfiguration":{ "type":"structure", "required":["segmentationConfiguration"], "members":{ "segmentationConfiguration":{ "shape":"AudioSegmentationConfiguration", "documentation":"Configuration for segmenting audio content during processing.
" } }, "documentation":"Configuration settings for processing audio content in multimodal knowledge bases.
" }, "AudioConfigurations":{ "type":"list", "member":{ "shape":"AudioConfiguration", "documentation":"Audio configuration for multi modal ingestion.
" }, "max":1, "min":1 }, "AudioExtractionConfiguration":{ "type":"structure", "required":["audioExtractionStatus"], "members":{ "audioExtractionStatus":{ "shape":"EnabledOrDisabledState", "documentation":"Whether audio extraction is enabled or disabled.
" } }, "documentation":"Configuration for audio extraction.
" }, "AudioSegmentationConfiguration":{ "type":"structure", "required":["fixedLengthDuration"], "members":{ "fixedLengthDuration":{ "shape":"AudioSegmentationConfigurationFixedLengthDurationInteger", "documentation":"The duration in seconds for each audio segment. Audio files will be divided into chunks of this length for processing.
" } }, "documentation":"Configuration for segmenting audio content during multimodal knowledge base ingestion. Determines how audio files are divided into chunks for processing.
" }, "AudioSegmentationConfigurationFixedLengthDurationInteger":{ "type":"integer", "box":true, "max":30, "min":1 }, "AutoToolChoice":{ "type":"structure", "members":{}, "documentation":"Defines tools. The model automatically decides whether to call a tool or to generate text instead. For more information, see Use a tool to complete an Amazon Bedrock model response.
" }, "AwsDataCatalogTableName":{ "type":"string", "max":200, "min":1, "pattern":".*\\.*" }, "AwsDataCatalogTableNames":{ "type":"list", "member":{"shape":"AwsDataCatalogTableName"}, "max":1000, "min":1 }, "BasePromptTemplate":{ "type":"string", "max":100000, "min":1, "sensitive":true }, "BedrockDataAutomationConfiguration":{ "type":"structure", "members":{ "parsingModality":{ "shape":"ParsingModality", "documentation":"Specifies whether to enable parsing of multimodal data, including both text and/or images.
" } }, "documentation":"Contains configurations for using Amazon Bedrock Data Automation as the parser for ingesting your data sources.
" }, "BedrockEmbeddingModelArn":{ "type":"string", "max":2048, "min":20, "pattern":"(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?" }, "BedrockEmbeddingModelConfiguration":{ "type":"structure", "members":{ "dimensions":{ "shape":"Dimensions", "documentation":"The dimensions details for the vector configuration used on the Bedrock embeddings model.
" }, "embeddingDataType":{ "shape":"EmbeddingDataType", "documentation":"The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See Supported embeddings models for information on the available models and their vector data types.
" }, "audio":{ "shape":"AudioConfigurations", "documentation":"Configuration settings for processing audio content in multimodal knowledge bases.
" }, "video":{ "shape":"VideoConfigurations", "documentation":"Configuration settings for processing video content in multimodal knowledge bases.
" } }, "documentation":"The vector configuration details for the Bedrock embeddings model.
" }, "BedrockFoundationModelConfiguration":{ "type":"structure", "required":["modelArn"], "members":{ "modelArn":{ "shape":"BedrockModelArn", "documentation":"The ARN of the foundation model to use for parsing.
" }, "parsingPrompt":{ "shape":"ParsingPrompt", "documentation":"Instructions for interpreting the contents of a document.
" }, "parsingModality":{ "shape":"ParsingModality", "documentation":"Specifies whether to enable parsing of multimodal data, including both text and/or images.
" } }, "documentation":"Settings for a foundation model used to parse documents for a data source.
" }, "BedrockFoundationModelContextEnrichmentConfiguration":{ "type":"structure", "required":[ "enrichmentStrategyConfiguration", "modelArn" ], "members":{ "enrichmentStrategyConfiguration":{ "shape":"EnrichmentStrategyConfiguration", "documentation":"The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
" }, "modelArn":{ "shape":"BedrockModelArn", "documentation":"The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
" } }, "documentation":"Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.
" }, "BedrockModelArn":{ "type":"string", "max":2048, "min":1, "pattern":"(arn:aws(-[^:]{1,12})?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?" }, "BedrockRerankingModelArn":{ "type":"string", "max":2048, "min":1, "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/(.*))?" }, "Boolean":{ "type":"boolean", "box":true }, "BucketOwnerAccountId":{ "type":"string", "max":12, "min":12, "pattern":"[0-9]{12}" }, "ByteContentBlob":{ "type":"blob", "max":5242880, "min":1, "sensitive":true }, "ByteContentDoc":{ "type":"structure", "required":[ "mimeType", "data" ], "members":{ "mimeType":{ "shape":"ByteContentDocMimeTypeString", "documentation":"The MIME type of the content. For a list of MIME types, see Media Types. The following MIME types are supported:
text/plain
text/html
text/csv
text/vtt
message/rfc822
application/xhtml+xml
application/pdf
application/msword
application/vnd.ms-word.document.macroenabled.12
application/vnd.ms-word.template.macroenabled.12
application/vnd.ms-excel
application/vnd.ms-excel.addin.macroenabled.12
application/vnd.ms-excel.sheet.macroenabled.12
application/vnd.ms-excel.template.macroenabled.12
application/vnd.ms-excel.sheet.binary.macroenabled.12
application/vnd.ms-spreadsheetml
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.openxmlformats-officedocument.spreadsheetml.template
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/vnd.openxmlformats-officedocument.wordprocessingml.template
The base64-encoded string of the content.
" } }, "documentation":"Contains information about content defined inline in bytes.
" }, "ByteContentDocMimeTypeString":{ "type":"string", "pattern":".*[a-z]{1,20}/.{1,20}.*" }, "CachePointBlock":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"CachePointType", "documentation":"Indicates that the CachePointBlock is of the default type
" } }, "documentation":"Indicates where a cache checkpoint is located. All information before this checkpoint is cached to be accessed on subsequent requests.
" }, "CachePointType":{ "type":"string", "enum":["default"] }, "ChatPromptTemplateConfiguration":{ "type":"structure", "required":["messages"], "members":{ "messages":{ "shape":"Messages", "documentation":"Contains messages in the chat for the prompt.
" }, "system":{ "shape":"SystemContentBlocks", "documentation":"Contains system prompts to provide context to the model or to describe how it should behave.
" }, "inputVariables":{ "shape":"PromptInputVariablesList", "documentation":"An array of the variables in the prompt template.
" }, "toolConfiguration":{ "shape":"ToolConfiguration", "documentation":"Configuration information for the tools that the model can use when generating a response.
" } }, "documentation":"Contains configurations to use a prompt in a conversational format. For more information, see Create a prompt using Prompt management.
", "sensitive":true }, "ChunkingConfiguration":{ "type":"structure", "required":["chunkingStrategy"], "members":{ "chunkingStrategy":{ "shape":"ChunkingStrategy", "documentation":"Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk.
FIXED_SIZE – Amazon Bedrock splits your source data into chunks of the approximate size that you set in the fixedSizeChunkingConfiguration.
HIERARCHICAL – Split documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
SEMANTIC – Split documents into chunks based on groups of similar content derived with natural language processing.
NONE – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files.
Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
" }, "semanticChunkingConfiguration":{ "shape":"SemanticChunkingConfiguration", "documentation":"Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing.
" } }, "documentation":"Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
" }, "ChunkingStrategy":{ "type":"string", "enum":[ "FIXED_SIZE", "NONE", "HIERARCHICAL", "SEMANTIC" ] }, "ClientToken":{ "type":"string", "max":256, "min":33, "pattern":"[a-zA-Z0-9](-*[a-zA-Z0-9]){0,256}" }, "CollaborationInstruction":{ "type":"string", "max":4000, "min":1, "sensitive":true }, "CollectorFlowNodeConfiguration":{ "type":"structure", "members":{}, "documentation":"Defines a collector node in your flow. This node takes an iteration of inputs and consolidates them into an array in the output. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
" }, "ColumnName":{ "type":"string", "max":63, "min":0, "pattern":"[a-zA-Z0-9_\\-]+" }, "ConcurrencyType":{ "type":"string", "enum":[ "Automatic", "Manual" ] }, "ConditionFlowNodeConfiguration":{ "type":"structure", "required":["conditions"], "members":{ "conditions":{ "shape":"FlowConditions", "documentation":"An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
" } }, "documentation":"Defines a condition node in your flow. You can specify conditions that determine which node comes next in the flow. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
" }, "ConflictException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"There was a conflict performing an operation.
", "error":{ "httpStatusCode":409, "senderFault":true }, "exception":true }, "ConfluenceAuthType":{ "type":"string", "enum":[ "BASIC", "OAUTH2_CLIENT_CREDENTIALS" ] }, "ConfluenceCrawlerConfiguration":{ "type":"structure", "members":{ "filterConfiguration":{ "shape":"CrawlFilterConfiguration", "documentation":"The configuration of filtering the Confluence content. For example, configuring regular expression patterns to include or exclude certain content.
" } }, "documentation":"The configuration of the Confluence content. For example, configuring specific types of Confluence content.
" }, "ConfluenceDataSourceConfiguration":{ "type":"structure", "required":["sourceConfiguration"], "members":{ "sourceConfiguration":{ "shape":"ConfluenceSourceConfiguration", "documentation":"The endpoint information to connect to your Confluence data source.
" }, "crawlerConfiguration":{ "shape":"ConfluenceCrawlerConfiguration", "documentation":"The configuration of the Confluence content. For example, configuring specific types of Confluence content.
" } }, "documentation":"The configuration information to connect to Confluence as your data source for self-managed knowledge bases.
" }, "ConfluenceHostType":{ "type":"string", "enum":["SAAS"] }, "ConfluenceSourceConfiguration":{ "type":"structure", "required":[ "hostUrl", "hostType", "authType", "credentialsSecretArn" ], "members":{ "hostUrl":{ "shape":"HttpsUrl", "documentation":"The Confluence host URL or instance URL.
" }, "hostType":{ "shape":"ConfluenceHostType", "documentation":"The supported host type, whether online/cloud or server/on-premises.
" }, "authType":{ "shape":"ConfluenceAuthType", "documentation":"The supported authentication type to authenticate and connect to your Confluence instance.
" }, "credentialsSecretArn":{ "shape":"SecretArn", "documentation":"The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your Confluence instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Confluence connection configuration.
" } }, "documentation":"The endpoint information to connect to your Confluence data source.
" }, "ContentBlock":{ "type":"structure", "members":{ "text":{ "shape":"String", "documentation":"The text in the message.
" }, "cachePoint":{ "shape":"CachePointBlock", "documentation":"Creates a cache checkpoint within a message.
" } }, "documentation":"Contains the content for the message you pass to, or receive from a model. For more information, see Create a prompt using Prompt management.
", "sensitive":true, "union":true }, "ContentBlocks":{ "type":"list", "member":{"shape":"ContentBlock"} }, "ContentDataSourceType":{ "type":"string", "enum":[ "CUSTOM", "S3" ] }, "ContextEnrichmentConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"ContextEnrichmentType", "documentation":"The method used for context enrichment. It must be Amazon Bedrock foundation models.
" }, "bedrockFoundationModelConfiguration":{ "shape":"BedrockFoundationModelContextEnrichmentConfiguration", "documentation":"The configuration of the Amazon Bedrock foundation model used for context enrichment.
" } }, "documentation":"Context enrichment configuration is used to provide additional context to the RAG application.
" }, "ContextEnrichmentType":{ "type":"string", "enum":["BEDROCK_FOUNDATION_MODEL"] }, "ConversationRole":{ "type":"string", "enum":[ "user", "assistant" ] }, "CrawlFilterConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"CrawlFilterConfigurationType", "documentation":"The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content.
The configuration of filtering certain objects or content types of the data source.
" } }, "documentation":"The configuration of filtering the data source content. For example, configuring regular expression patterns to include or exclude certain content.
" }, "CrawlFilterConfigurationType":{ "type":"string", "enum":["PATTERN"] }, "CreateAgentActionGroupRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "actionGroupName" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent for which to create the action group.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The version of the agent for which to create the action group.
", "location":"uri", "locationName":"agentVersion" }, "actionGroupName":{ "shape":"Name", "documentation":"The name to give the action group.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "description":{ "shape":"Description", "documentation":"A description of the action group.
" }, "parentActionGroupSignature":{ "shape":"ActionGroupSignature", "documentation":"Specify a built-in or computer use action for this action group. If you specify a value, you must leave the description, apiSchema, and actionGroupExecutor fields empty for this action group.
To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to AMAZON.CodeInterpreter.
To allow your agent to use an Anthropic computer use tool, specify one of the following values.
Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. When operating computer use functionality, we recommend taking additional security precautions, such as executing computer actions in virtual environments with restricted data access and limited internet connectivity. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.
ANTHROPIC.Computer - Gives the agent permission to use the mouse and keyboard and take screenshots.
ANTHROPIC.TextEditor - Gives the agent permission to view, create and edit files.
ANTHROPIC.Bash - Gives the agent permission to run commands in a bash shell.
The configuration settings for a computer use action.
Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
" }, "apiSchema":{ "shape":"APISchema", "documentation":"Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
" }, "actionGroupState":{ "shape":"ActionGroupState", "documentation":"Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" }, "functionSchema":{ "shape":"FunctionSchema", "documentation":"Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
" } } }, "CreateAgentActionGroupResponse":{ "type":"structure", "required":["agentActionGroup"], "members":{ "agentActionGroup":{ "shape":"AgentActionGroup", "documentation":"Contains details about the action group that was created.
" } } }, "CreateAgentAliasRequest":{ "type":"structure", "required":[ "agentId", "agentAliasName" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
", "location":"uri", "locationName":"agentId" }, "agentAliasName":{ "shape":"Name", "documentation":"The name of the alias.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "description":{ "shape":"Description", "documentation":"A description of the alias of the agent.
" }, "routingConfiguration":{ "shape":"AgentAliasRoutingConfiguration", "documentation":"Contains details about the routing configuration of the alias.
" }, "tags":{ "shape":"TagsMap", "documentation":"Any tags that you want to attach to the alias of the agent.
" } } }, "CreateAgentAliasResponse":{ "type":"structure", "required":["agentAlias"], "members":{ "agentAlias":{ "shape":"AgentAlias", "documentation":"Contains details about the alias that was created.
" } } }, "CreateAgentRequest":{ "type":"structure", "required":["agentName"], "members":{ "agentName":{ "shape":"Name", "documentation":"A name for the agent that you create.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "instruction":{ "shape":"Instruction", "documentation":"Instructions that tell the agent what it should do and how it should interact with users.
" }, "foundationModel":{ "shape":"ModelIdentifier", "documentation":"The identifier for the model that you want to be used for orchestration by the agent you create.
The modelId to provide depends on the type of model or throughput that you use:
If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see Amazon Bedrock base model IDs (on-demand throughput) in the Amazon Bedrock User Guide.
If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see Supported Regions and models for cross-region inference in the Amazon Bedrock User Guide.
If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see Run inference using a Provisioned Throughput in the Amazon Bedrock User Guide.
If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see Use a custom model in Amazon Bedrock in the Amazon Bedrock User Guide.
If you use an imported model, specify the ARN of the imported model. You can get the model ARN from a successful call to CreateModelImportJob or from the Imported models page in the Amazon Bedrock console.
A description of the agent.
" }, "orchestrationType":{ "shape":"OrchestrationType", "documentation":" Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default.
Contains details of the custom orchestration configured for the agent.
" }, "idleSessionTTLInSeconds":{ "shape":"SessionTTL", "documentation":"The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
" }, "agentResourceRoleArn":{ "shape":"AgentRoleArn", "documentation":"The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
" }, "tags":{ "shape":"TagsMap", "documentation":"Any tags that you want to attach to the agent.
" }, "promptOverrideConfiguration":{ "shape":"PromptOverrideConfiguration", "documentation":"Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
" }, "guardrailConfiguration":{ "shape":"GuardrailConfiguration", "documentation":"The unique Guardrail configuration assigned to the agent when it is created.
" }, "memoryConfiguration":{ "shape":"MemoryConfiguration", "documentation":"Contains the details of the memory configured for the agent.
" }, "agentCollaboration":{ "shape":"AgentCollaboration", "documentation":"The agent's collaboration role.
" } } }, "CreateAgentResponse":{ "type":"structure", "required":["agent"], "members":{ "agent":{ "shape":"Agent", "documentation":"Contains details about the agent created.
" } } }, "CreateDataSourceRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "name", "dataSourceConfiguration" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base to which to add the data source.
", "location":"uri", "locationName":"knowledgeBaseId" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "name":{ "shape":"Name", "documentation":"The name of the data source.
" }, "description":{ "shape":"Description", "documentation":"A description of the data source.
" }, "dataSourceConfiguration":{ "shape":"DataSourceConfiguration", "documentation":"The connection configuration for the data source.
" }, "dataDeletionPolicy":{ "shape":"DataDeletionPolicy", "documentation":"The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all data from your data source that’s converted into vector embeddings upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all data from your data source that’s converted into vector embeddings upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted if you delete a knowledge base or data source resource.
For managed knowledge bases, the only supported option is DELETE, which is also the default.
Contains details about the server-side encryption for the data source.
" }, "vectorIngestionConfiguration":{ "shape":"VectorIngestionConfiguration", "documentation":"Contains details about how to ingest the documents in the data source.
" } } }, "CreateDataSourceResponse":{ "type":"structure", "required":["dataSource"], "members":{ "dataSource":{ "shape":"DataSource", "documentation":"Contains details about the data source.
" } } }, "CreateFlowAliasRequest":{ "type":"structure", "required":[ "name", "routingConfiguration", "flowIdentifier" ], "members":{ "name":{ "shape":"Name", "documentation":"A name for the alias.
" }, "description":{ "shape":"Description", "documentation":"A description for the alias.
" }, "routingConfiguration":{ "shape":"FlowAliasRoutingConfiguration", "documentation":"Contains information about the version to which to map the alias.
" }, "concurrencyConfiguration":{ "shape":"FlowAliasConcurrencyConfiguration", "documentation":"The configuration that specifies how nodes in the flow are executed in parallel.
" }, "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow for which to create an alias.
", "location":"uri", "locationName":"flowIdentifier" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "tags":{ "shape":"TagsMap", "documentation":"Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.
" } } }, "CreateFlowAliasResponse":{ "type":"structure", "required":[ "name", "routingConfiguration", "flowId", "id", "arn", "createdAt", "updatedAt" ], "members":{ "name":{ "shape":"Name", "documentation":"The name of the alias.
" }, "description":{ "shape":"Description", "documentation":"The description of the alias.
" }, "routingConfiguration":{ "shape":"FlowAliasRoutingConfiguration", "documentation":"Contains information about the version that the alias is mapped to.
" }, "concurrencyConfiguration":{ "shape":"FlowAliasConcurrencyConfiguration", "documentation":"The configuration that specifies how nodes in the flow are executed in parallel.
" }, "flowId":{ "shape":"FlowId", "documentation":"The unique identifier of the flow that the alias belongs to.
" }, "id":{ "shape":"FlowAliasId", "documentation":"The unique identifier of the alias.
" }, "arn":{ "shape":"FlowAliasArn", "documentation":"The Amazon Resource Name (ARN) of the alias.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias of the flow was last updated.
" } } }, "CreateFlowRequest":{ "type":"structure", "required":[ "name", "executionRoleArn" ], "members":{ "name":{ "shape":"FlowName", "documentation":"A name for the flow.
" }, "description":{ "shape":"FlowDescription", "documentation":"A description for the flow.
" }, "executionRoleArn":{ "shape":"FlowExecutionRoleArn", "documentation":"The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
" }, "definition":{ "shape":"FlowDefinition", "documentation":"A definition of the nodes and connections between nodes in the flow.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "tags":{ "shape":"TagsMap", "documentation":"Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon Bedrock.
" } } }, "CreateFlowResponse":{ "type":"structure", "required":[ "name", "executionRoleArn", "id", "arn", "status", "createdAt", "updatedAt", "version" ], "members":{ "name":{ "shape":"FlowName", "documentation":"The name of the flow.
" }, "description":{ "shape":"FlowDescription", "documentation":"The description of the flow.
" }, "executionRoleArn":{ "shape":"FlowExecutionRoleArn", "documentation":"The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
" }, "id":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "arn":{ "shape":"FlowArn", "documentation":"The Amazon Resource Name (ARN) of the flow.
" }, "status":{ "shape":"FlowStatus", "documentation":"The status of the flow. When you submit this request, the status will be NotPrepared. If creation fails, the status becomes Failed.
The time at which the flow was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the flow was last updated.
" }, "version":{ "shape":"DraftVersion", "documentation":"The version of the flow. When you create a flow, the version created is the DRAFT version.
A definition of the nodes and connections between nodes in the flow.
" } } }, "CreateFlowVersionRequest":{ "type":"structure", "required":["flowIdentifier"], "members":{ "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow that you want to create a version of.
", "location":"uri", "locationName":"flowIdentifier" }, "description":{ "shape":"FlowDescription", "documentation":"A description of the version of the flow.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true } } }, "CreateFlowVersionResponse":{ "type":"structure", "required":[ "name", "executionRoleArn", "id", "arn", "status", "createdAt", "version" ], "members":{ "name":{ "shape":"FlowName", "documentation":"The name of the version.
" }, "description":{ "shape":"FlowDescription", "documentation":"The description of the version.
" }, "executionRoleArn":{ "shape":"FlowExecutionRoleArn", "documentation":"The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The KMS key that the flow is encrypted with.
" }, "id":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "arn":{ "shape":"FlowArn", "documentation":"The Amazon Resource Name (ARN) of the flow.
" }, "status":{ "shape":"FlowStatus", "documentation":"The status of the flow.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the flow was created.
" }, "version":{ "shape":"NumericalVersion", "documentation":"The version of the flow that was created. Versions are numbered incrementally, starting from 1.
" }, "definition":{ "shape":"FlowDefinition", "documentation":"A definition of the nodes and connections in the flow.
" } } }, "CreateKnowledgeBaseRequest":{ "type":"structure", "required":[ "name", "roleArn", "knowledgeBaseConfiguration" ], "members":{ "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "name":{ "shape":"Name", "documentation":"A name for the knowledge base.
" }, "description":{ "shape":"Description", "documentation":"A description of the knowledge base.
" }, "roleArn":{ "shape":"KnowledgeBaseRoleArn", "documentation":"The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
" }, "knowledgeBaseConfiguration":{ "shape":"KnowledgeBaseConfiguration", "documentation":"Contains details about the embeddings model used for the knowledge base.
" }, "storageConfiguration":{ "shape":"StorageConfiguration", "documentation":"Contains details about the configuration of the vector database used for the knowledge base.
" }, "tags":{ "shape":"TagsMap", "documentation":"Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.
" } } }, "CreateKnowledgeBaseResponse":{ "type":"structure", "required":["knowledgeBase"], "members":{ "knowledgeBase":{ "shape":"KnowledgeBase", "documentation":"Contains details about the knowledge base.
" } } }, "CreatePromptRequest":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"PromptName", "documentation":"A name for the prompt.
" }, "description":{ "shape":"PromptDescription", "documentation":"A description for the prompt.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
" }, "defaultVariant":{ "shape":"PromptVariantName", "documentation":"The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
A list of objects, each containing details about a variant of the prompt.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "tags":{ "shape":"TagsMap", "documentation":"Any tags that you want to attach to the prompt. For more information, see Tagging resources in Amazon Bedrock.
" } } }, "CreatePromptResponse":{ "type":"structure", "required":[ "name", "id", "arn", "version", "createdAt", "updatedAt" ], "members":{ "name":{ "shape":"PromptName", "documentation":"The name of the prompt.
" }, "description":{ "shape":"PromptDescription", "documentation":"The description of the prompt.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key that you encrypted the prompt with.
" }, "defaultVariant":{ "shape":"PromptVariantName", "documentation":"The name of the default variant for your prompt.
" }, "variants":{ "shape":"PromptVariantList", "documentation":"A list of objects, each containing details about a variant of the prompt.
" }, "id":{ "shape":"PromptId", "documentation":"The unique identifier of the prompt.
" }, "arn":{ "shape":"PromptArn", "documentation":"The Amazon Resource Name (ARN) of the prompt.
" }, "version":{ "shape":"Version", "documentation":"The version of the prompt. When you create a prompt, the version created is the DRAFT version.
The time at which the prompt was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the prompt was last updated.
" } } }, "CreatePromptVersionRequest":{ "type":"structure", "required":["promptIdentifier"], "members":{ "promptIdentifier":{ "shape":"PromptIdentifier", "documentation":"The unique identifier of the prompt that you want to create a version of.
", "location":"uri", "locationName":"promptIdentifier" }, "description":{ "shape":"PromptDescription", "documentation":"A description for the version of the prompt.
" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "tags":{ "shape":"TagsMap", "documentation":"Any tags that you want to attach to the version of the prompt. For more information, see Tagging resources in Amazon Bedrock.
" } } }, "CreatePromptVersionResponse":{ "type":"structure", "required":[ "name", "id", "arn", "version", "createdAt", "updatedAt" ], "members":{ "name":{ "shape":"PromptName", "documentation":"The name of the prompt.
" }, "description":{ "shape":"PromptDescription", "documentation":"A description for the version.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key to encrypt the version of the prompt.
" }, "defaultVariant":{ "shape":"PromptVariantName", "documentation":"The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
A list of objects, each containing details about a variant of the prompt.
" }, "id":{ "shape":"PromptId", "documentation":"The unique identifier of the prompt.
" }, "arn":{ "shape":"PromptArn", "documentation":"The Amazon Resource Name (ARN) of the version of the prompt.
" }, "version":{ "shape":"Version", "documentation":"The version of the prompt that was created. Versions are numbered incrementally, starting from 1.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the prompt was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the prompt was last updated.
" } } }, "CreationMode":{ "type":"string", "enum":[ "DEFAULT", "OVERRIDDEN" ] }, "CuratedQueries":{ "type":"list", "member":{"shape":"CuratedQuery"}, "max":10, "min":0 }, "CuratedQuery":{ "type":"structure", "required":[ "naturalLanguage", "sql" ], "members":{ "naturalLanguage":{ "shape":"NaturalLanguageString", "documentation":"An example natural language query.
" }, "sql":{ "shape":"SqlString", "documentation":"The SQL equivalent of the natural language query.
" } }, "documentation":"Contains configurations for a query, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
" }, "CustomContent":{ "type":"structure", "required":[ "customDocumentIdentifier", "sourceType" ], "members":{ "customDocumentIdentifier":{ "shape":"CustomDocumentIdentifier", "documentation":"A unique identifier for the document.
" }, "sourceType":{ "shape":"CustomSourceType", "documentation":"The source of the data to ingest.
" }, "s3Location":{ "shape":"CustomS3Location", "documentation":"Contains information about the Amazon S3 location of the file from which to ingest data.
" }, "inlineContent":{ "shape":"InlineContent", "documentation":"Contains information about content defined inline to ingest into a knowledge base.
" } }, "documentation":"Contains information about the content to ingest into a knowledge base connected to a custom data source. Choose a sourceType and include the field that corresponds to it.
The identifier of the document to ingest into a custom data source.
" } }, "documentation":"Contains information about the identifier of the document to ingest into a custom data source.
" }, "CustomDocumentIdentifierIdString":{ "type":"string", "max":2048, "min":1 }, "CustomOrchestration":{ "type":"structure", "members":{ "executor":{ "shape":"OrchestrationExecutor", "documentation":"The structure of the executor invoking the actions in custom orchestration.
" } }, "documentation":"Details of custom orchestration.
" }, "CustomS3Location":{ "type":"structure", "required":["uri"], "members":{ "uri":{ "shape":"S3ObjectUri", "documentation":"The S3 URI of the file containing the content to ingest.
" }, "bucketOwnerAccountId":{ "shape":"BucketOwnerAccountId", "documentation":"The identifier of the Amazon Web Services account that owns the S3 bucket containing the content to ingest.
" } }, "documentation":"Contains information about the Amazon S3 location of the file containing the content to ingest into a knowledge base connected to a custom data source.
" }, "CustomSourceType":{ "type":"string", "enum":[ "IN_LINE", "S3_LOCATION" ] }, "CustomTransformationConfiguration":{ "type":"structure", "required":[ "intermediateStorage", "transformations" ], "members":{ "intermediateStorage":{ "shape":"IntermediateStorage", "documentation":"An S3 bucket path for input and output objects.
" }, "transformations":{ "shape":"Transformations", "documentation":"A Lambda function that processes documents.
" } }, "documentation":"Settings for customizing steps in the data source content ingestion pipeline.
You can configure the data source to process documents with a Lambda function after they are parsed and converted into chunks. When you add a post-chunking transformation, the service stores chunked documents in an S3 bucket and invokes a Lambda function to process them.
To process chunked documents with a Lambda function, define an S3 bucket path for input and output objects, and a transformation that specifies the Lambda function to invoke. You can use the Lambda function to customize how chunks are split, and the metadata for each chunk.
" }, "CyclicConnectionFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection that causes the cycle in the flow.
" } }, "documentation":"Details about a cyclic connection detected in the flow.
" }, "Data":{ "type":"string", "max":5242880, "min":1, "sensitive":true }, "DataDeletionPolicy":{ "type":"string", "enum":[ "RETAIN", "DELETE" ] }, "DataSource":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "name", "status", "dataSourceConfiguration", "createdAt", "updatedAt" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base to which the data source belongs.
" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source.
" }, "name":{ "shape":"Name", "documentation":"The name of the data source.
" }, "status":{ "shape":"DataSourceStatus", "documentation":"The status of the data source. The following statuses are possible:
Available – The data source has been created and is ready for ingestion into the knowledge base.
Deleting – The data source is being deleted.
The description of the data source.
" }, "dataSourceConfiguration":{ "shape":"DataSourceConfiguration", "documentation":"The connection configuration for the data source.
" }, "serverSideEncryptionConfiguration":{ "shape":"ServerSideEncryptionConfiguration", "documentation":"Contains details about the configuration of the server-side encryption.
" }, "vectorIngestionConfiguration":{ "shape":"VectorIngestionConfiguration", "documentation":"Contains details about how to ingest the documents in the data source.
" }, "dataDeletionPolicy":{ "shape":"DataDeletionPolicy", "documentation":"The data deletion policy for the data source.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the data source was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the data source was last updated.
" }, "failureReasons":{ "shape":"FailureReasons", "documentation":"The detailed reasons on the failure to delete a data source.
" } }, "documentation":"Contains details about a data source.
" }, "DataSourceConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"DataSourceType", "documentation":"The type of data source.
" }, "managedKnowledgeBaseConnectorConfiguration":{ "shape":"ManagedKnowledgeBaseConnectorConfiguration", "documentation":"Contains the configuration for a data source that connects a managed knowledge base to a supported data source connector. Specify this object when the data source type is MANAGED_KNOWLEDGE_BASE_CONNECTOR.
The configuration information to connect to Amazon S3 as your data source for self-managed knowledge bases. To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration.
" }, "webConfiguration":{ "shape":"WebDataSourceConfiguration", "documentation":"The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs.
To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. Web crawler data source connector for self-managed knowledge bases is in preview release and is subject to change.
The configuration information to connect to Confluence as your data source for self-managed knowledge bases.
To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. Confluence data source connector for self-managed knowledge bases is in preview release and is subject to change.
The configuration information to connect to Salesforce as your data source.
Salesforce data source connector for self-managed knowledge bases is in preview release and is subject to change.
The configuration information to connect to SharePoint as your data source for self-managed knowledge bases.
To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration. SharePoint data source connector for self-managed knowledge bases is in preview release and is subject to change.
The connection configuration for the data source.
" }, "DataSourceStatus":{ "type":"string", "enum":[ "AVAILABLE", "DELETING", "DELETE_UNSUCCESSFUL", "CREATING", "UPDATING", "FAILED" ] }, "DataSourceSummaries":{ "type":"list", "member":{"shape":"DataSourceSummary"} }, "DataSourceSummary":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "name", "status", "updatedAt" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base to which the data source belongs.
" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source.
" }, "name":{ "shape":"Name", "documentation":"The name of the data source.
" }, "status":{ "shape":"DataSourceStatus", "documentation":"The status of the data source.
" }, "description":{ "shape":"Description", "documentation":"The description of the data source.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the data source was last updated.
" } }, "documentation":"Contains details about a data source.
" }, "DataSourceType":{ "type":"string", "enum":[ "S3", "WEB", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "CUSTOM", "REDSHIFT_METADATA", "MANAGED_KNOWLEDGE_BASE_CONNECTOR" ] }, "DateTimestamp":{ "type":"timestamp", "timestampFormat":"iso8601" }, "DeleteAgentActionGroupRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "actionGroupId" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent that the action group belongs to.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The version of the agent that the action group belongs to.
", "location":"uri", "locationName":"agentVersion" }, "actionGroupId":{ "shape":"Id", "documentation":"The unique identifier of the action group to delete.
", "location":"uri", "locationName":"actionGroupId" }, "skipResourceInUseCheck":{ "shape":"Boolean", "documentation":"By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
The unique identifier of the agent that the alias belongs to.
", "location":"uri", "locationName":"agentId" }, "agentAliasId":{ "shape":"AgentAliasId", "documentation":"The unique identifier of the alias to delete.
", "location":"uri", "locationName":"agentAliasId" } } }, "DeleteAgentAliasResponse":{ "type":"structure", "required":[ "agentId", "agentAliasId", "agentAliasStatus" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent that the alias belongs to.
" }, "agentAliasId":{ "shape":"AgentAliasId", "documentation":"The unique identifier of the alias that was deleted.
" }, "agentAliasStatus":{ "shape":"AgentAliasStatus", "documentation":"The status of the alias.
" } } }, "DeleteAgentRequest":{ "type":"structure", "required":["agentId"], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent to delete.
", "location":"uri", "locationName":"agentId" }, "skipResourceInUseCheck":{ "shape":"Boolean", "documentation":"By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
The unique identifier of the agent that was deleted.
" }, "agentStatus":{ "shape":"AgentStatus", "documentation":"The status of the agent.
" } } }, "DeleteAgentVersionRequest":{ "type":"structure", "required":[ "agentId", "agentVersion" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent that the version belongs to.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"NumericalVersion", "documentation":"The version of the agent to delete.
", "location":"uri", "locationName":"agentVersion" }, "skipResourceInUseCheck":{ "shape":"Boolean", "documentation":"By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
The unique identifier of the agent that the version belongs to.
" }, "agentVersion":{ "shape":"NumericalVersion", "documentation":"The version that was deleted.
" }, "agentStatus":{ "shape":"AgentStatus", "documentation":"The status of the agent version.
" } } }, "DeleteDataSourceRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base from which to delete the data source.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source to delete.
", "location":"uri", "locationName":"dataSourceId" } } }, "DeleteDataSourceResponse":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "status" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base to which the data source that was deleted belonged.
" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source that was deleted.
" }, "status":{ "shape":"DataSourceStatus", "documentation":"The status of the data source.
" } } }, "DeleteFlowAliasRequest":{ "type":"structure", "required":[ "flowIdentifier", "aliasIdentifier" ], "members":{ "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow that the alias belongs to.
", "location":"uri", "locationName":"flowIdentifier" }, "aliasIdentifier":{ "shape":"FlowAliasIdentifier", "documentation":"The unique identifier of the alias to be deleted.
", "location":"uri", "locationName":"aliasIdentifier" } } }, "DeleteFlowAliasResponse":{ "type":"structure", "required":[ "flowId", "id" ], "members":{ "flowId":{ "shape":"FlowId", "documentation":"The unique identifier of the flow that the alias belongs to.
" }, "id":{ "shape":"FlowAliasId", "documentation":"The unique identifier of the flow.
" } } }, "DeleteFlowRequest":{ "type":"structure", "required":["flowIdentifier"], "members":{ "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow.
", "location":"uri", "locationName":"flowIdentifier" }, "skipResourceInUseCheck":{ "shape":"Boolean", "documentation":"By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
The unique identifier of the flow.
" } } }, "DeleteFlowVersionRequest":{ "type":"structure", "required":[ "flowIdentifier", "flowVersion" ], "members":{ "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow whose version that you want to delete
", "location":"uri", "locationName":"flowIdentifier" }, "flowVersion":{ "shape":"NumericalVersion", "documentation":"The version of the flow that you want to delete.
", "location":"uri", "locationName":"flowVersion" }, "skipResourceInUseCheck":{ "shape":"Boolean", "documentation":"By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.
The unique identifier of the flow.
" }, "version":{ "shape":"NumericalVersion", "documentation":"The version of the flow being deleted.
" } } }, "DeleteKnowledgeBaseDocumentsRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "documentIdentifiers" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base that is connected to the data source.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source that contains the documents.
", "location":"uri", "locationName":"dataSourceId" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "documentIdentifiers":{ "shape":"DocumentIdentifiers", "documentation":"A list of objects, each of which contains information to identify a document to delete.
" } } }, "DeleteKnowledgeBaseDocumentsResponse":{ "type":"structure", "members":{ "documentDetails":{ "shape":"KnowledgeBaseDocumentDetails", "documentation":"A list of objects, each of which contains information about the documents that were deleted.
" } } }, "DeleteKnowledgeBaseRequest":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base to delete.
", "location":"uri", "locationName":"knowledgeBaseId" } } }, "DeleteKnowledgeBaseResponse":{ "type":"structure", "required":[ "knowledgeBaseId", "status" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base that was deleted.
" }, "status":{ "shape":"KnowledgeBaseStatus", "documentation":"The status of the knowledge base and whether it has been successfully deleted.
" } } }, "DeletePromptRequest":{ "type":"structure", "required":["promptIdentifier"], "members":{ "promptIdentifier":{ "shape":"PromptIdentifier", "documentation":"The unique identifier of the prompt.
", "location":"uri", "locationName":"promptIdentifier" }, "promptVersion":{ "shape":"NumericalVersion", "documentation":"The version of the prompt to delete. To delete the prompt, omit this field.
", "location":"querystring", "locationName":"promptVersion" } } }, "DeletePromptResponse":{ "type":"structure", "required":["id"], "members":{ "id":{ "shape":"PromptId", "documentation":"The unique identifier of the prompt that was deleted.
" }, "version":{ "shape":"NumericalVersion", "documentation":"The version of the prompt that was deleted.
" } } }, "DeleteResourcePolicyRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"The Amazon Resource Name (ARN) of the knowledge base to remove the resource policy from.
", "location":"uri", "locationName":"resourceArn" }, "expectedRevisionId":{ "shape":"RevisionId", "documentation":"The expected revision identifier of the resource policy. Use this to prevent conflicts when multiple users update the same policy concurrently.
", "location":"querystring", "locationName":"expectedRevisionId" } } }, "DeleteResourcePolicyResponse":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"The ARN of the knowledge base that the resource policy was removed from.
" }, "revisionId":{ "shape":"RevisionId", "documentation":"The revision identifier after the resource policy was deleted.
" } } }, "DeletionProtectionConfiguration":{ "type":"structure", "required":["deletionProtectionStatus"], "members":{ "deletionProtectionStatus":{ "shape":"EnabledOrDisabledState", "documentation":"Enable or disable deletion protection for the connector.
" }, "deletionProtectionThreshold":{ "shape":"DeletionProtectionConfigurationDeletionProtectionThresholdInteger", "documentation":"The threshold is the maximum percentage of documents that a sync job can delete from your index. If a sync would delete more than this percentage, the sync skips its delete phase, leaving your indexed documents in place. Not supported for the Custom connector.
" } }, "documentation":"Configuration for deletion protection.
" }, "DeletionProtectionConfigurationDeletionProtectionThresholdInteger":{ "type":"integer", "box":true, "max":100, "min":0 }, "Description":{ "type":"string", "max":200, "min":1 }, "DescriptionString":{ "type":"string", "max":200, "min":1 }, "Dimensions":{ "type":"integer", "box":true, "max":4096, "min":0 }, "DisassociateAgentCollaboratorRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "collaboratorId" ], "members":{ "agentId":{ "shape":"Id", "documentation":"An agent ID.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The agent's version.
", "location":"uri", "locationName":"agentVersion" }, "collaboratorId":{ "shape":"Id", "documentation":"The collaborator's ID.
", "location":"uri", "locationName":"collaboratorId" } } }, "DisassociateAgentCollaboratorResponse":{ "type":"structure", "members":{} }, "DisassociateAgentKnowledgeBaseRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "knowledgeBaseId" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent from which to disassociate the knowledge base.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The version of the agent from which to disassociate the knowledge base.
", "location":"uri", "locationName":"agentVersion" }, "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base to disassociate.
", "location":"uri", "locationName":"knowledgeBaseId" } } }, "DisassociateAgentKnowledgeBaseResponse":{ "type":"structure", "members":{} }, "Document":{ "type":"structure", "members":{}, "document":true }, "DocumentAccessControlEntry":{ "type":"structure", "required":[ "name", "type", "access" ], "members":{ "name":{ "shape":"DocumentAccessControlEntryNameString", "documentation":"The user identifier.
" }, "type":{ "shape":"AccessControlPrincipalType", "documentation":"The type of principal.
" }, "access":{ "shape":"AccessControlAccess", "documentation":"Whether to allow or deny access.
" } }, "documentation":"An access control entry specifying a principal and their access level.
", "sensitive":true }, "DocumentAccessControlEntryNameString":{ "type":"string", "max":256, "min":1 }, "DocumentAccessControlList":{ "type":"list", "member":{"shape":"DocumentAccessControlEntry"}, "documentation":"List of access control entries for a document.
", "min":1 }, "DocumentContent":{ "type":"structure", "required":["dataSourceType"], "members":{ "dataSourceType":{ "shape":"ContentDataSourceType", "documentation":"The type of data source that is connected to the knowledge base to which to ingest this document.
" }, "custom":{ "shape":"CustomContent", "documentation":"Contains information about the content to ingest into a knowledge base connected to a custom data source.
" }, "s3":{ "shape":"S3Content", "documentation":"Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source
" } }, "documentation":"Contains information about the content of a document. Choose a dataSourceType and include the field that corresponds to it.
The type of data source connected to the knowledge base that contains the document.
" }, "s3":{ "shape":"S3Location", "documentation":"Contains information that identifies the document in an S3 data source.
" }, "custom":{ "shape":"CustomDocumentIdentifier", "documentation":"Contains information that identifies the document in a custom data source.
" } }, "documentation":"Contains information that identifies the document.
" }, "DocumentIdentifiers":{ "type":"list", "member":{"shape":"DocumentIdentifier"}, "max":10, "min":1 }, "DocumentMetadata":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"MetadataSourceType", "documentation":"The type of the source source from which to add metadata.
" }, "inlineAttributes":{ "shape":"DocumentMetadataInlineAttributesList", "documentation":"An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.
" }, "s3Location":{ "shape":"CustomS3Location", "documentation":"The Amazon S3 location of the file containing metadata to associate with the content to ingest.
" }, "accessControlList":{ "shape":"DocumentAccessControlList", "documentation":"Access control list for the document. Used when metadata type is IN_LINE_ATTRIBUTE.
" } }, "documentation":"Contains information about the metadata associate with the content to ingest into a knowledge base. Choose a type and include the field that corresponds to it.
The name of the node containing the duplicate condition expressions.
" }, "expression":{ "shape":"FlowConditionExpression", "documentation":"The duplicated condition expression.
" } }, "documentation":"Details about duplicate condition expressions found in a condition node.
" }, "DuplicateConnectionsFlowValidationDetails":{ "type":"structure", "required":[ "source", "target" ], "members":{ "source":{ "shape":"FlowNodeName", "documentation":"The name of the source node where the duplicate connection starts.
" }, "target":{ "shape":"FlowNodeName", "documentation":"The name of the target node where the duplicate connection ends.
" } }, "documentation":"Details about duplicate connections found between two nodes in the flow.
" }, "EmbeddingDataType":{ "type":"string", "documentation":"Bedrock models embedding data type. Can be either float32 or binary.
", "enum":[ "FLOAT32", "BINARY" ] }, "EmbeddingModelConfiguration":{ "type":"structure", "members":{ "bedrockEmbeddingModelConfiguration":{ "shape":"BedrockEmbeddingModelConfiguration", "documentation":"The vector configuration details on the Bedrock embeddings model.
" } }, "documentation":"The configuration details for the embeddings model.
" }, "EmbeddingModelType":{ "type":"string", "documentation":"Choose CUSTOM to provide your own Bedrock embedding model ARN. Choose MANAGED to use a service-managed embedding model. For more information, see Embedding model options.
The method used for the context enrichment strategy.
" } }, "documentation":"The strategy used for performing context enrichment.
" }, "EnrichmentStrategyMethod":{ "type":"string", "enum":["CHUNK_ENTITY_EXTRACTION"] }, "ErrorMessage":{ "type":"string", "max":2048, "min":0 }, "FailureReason":{ "type":"string", "max":2048, "min":0 }, "FailureReasons":{ "type":"list", "member":{"shape":"FailureReason"}, "max":2048, "min":0 }, "FieldForReranking":{ "type":"structure", "required":["fieldName"], "members":{ "fieldName":{ "shape":"FieldForRerankingFieldNameString", "documentation":"The name of the metadata field to include or exclude during reranking.
" } }, "documentation":"Specifies a metadata field to include or exclude during the reranking process.
" }, "FieldForRerankingFieldNameString":{ "type":"string", "max":2000, "min":1 }, "FieldName":{ "type":"string", "max":2048, "min":0, "pattern":".*" }, "FieldsForReranking":{ "type":"list", "member":{"shape":"FieldForReranking"}, "max":100, "min":1, "sensitive":true }, "FilterList":{ "type":"list", "member":{"shape":"FilterPattern"}, "max":25, "min":1, "sensitive":true }, "FilterPattern":{ "type":"string", "max":1000, "min":1, "sensitive":true }, "FilteredObjectType":{ "type":"string", "max":50, "min":1, "sensitive":true }, "FixedSizeChunkingConfiguration":{ "type":"structure", "required":[ "maxTokens", "overlapPercentage" ], "members":{ "maxTokens":{ "shape":"FixedSizeChunkingConfigurationMaxTokensInteger", "documentation":"The maximum number of tokens to include in a chunk.
" }, "overlapPercentage":{ "shape":"FixedSizeChunkingConfigurationOverlapPercentageInteger", "documentation":"The percentage of overlap between adjacent chunks of a data source.
" } }, "documentation":"Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
The type of concurrency to use for parallel node execution. Specify one of the following options:
Automatic - Amazon Bedrock determines which nodes can be executed in parallel based on the flow definition and its dependencies.
Manual - You specify which nodes can be executed in parallel.
The maximum number of nodes that can be executed concurrently in the flow.
" } }, "documentation":"Determines how multiple nodes in a flow can run in parallel. Running nodes concurrently can improve your flow's performance.
" }, "FlowAliasConcurrencyConfigurationMaxConcurrencyInteger":{ "type":"integer", "box":true, "max":100, "min":1 }, "FlowAliasId":{ "type":"string", "pattern":"(TSTALIASID|[0-9a-zA-Z]{10})" }, "FlowAliasIdentifier":{ "type":"string", "pattern":"(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10}/alias/[0-9a-zA-Z]{10})|(TSTALIASID|[0-9a-zA-Z]{10})" }, "FlowAliasRoutingConfiguration":{ "type":"list", "member":{"shape":"FlowAliasRoutingConfigurationListItem"}, "max":1, "min":1 }, "FlowAliasRoutingConfigurationListItem":{ "type":"structure", "members":{ "flowVersion":{ "shape":"Version", "documentation":"The version that the alias maps to.
" } }, "documentation":"Contains information about a version that the alias maps to.
" }, "FlowAliasSummaries":{ "type":"list", "member":{"shape":"FlowAliasSummary"}, "max":10, "min":0 }, "FlowAliasSummary":{ "type":"structure", "required":[ "name", "routingConfiguration", "flowId", "id", "arn", "createdAt", "updatedAt" ], "members":{ "name":{ "shape":"Name", "documentation":"The name of the alias.
" }, "description":{ "shape":"Description", "documentation":"A description of the alias.
" }, "routingConfiguration":{ "shape":"FlowAliasRoutingConfiguration", "documentation":"A list of configurations about the versions that the alias maps to. Currently, you can only specify one.
" }, "concurrencyConfiguration":{ "shape":"FlowAliasConcurrencyConfiguration", "documentation":"The configuration that specifies how nodes in the flow are executed concurrently.
" }, "flowId":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "id":{ "shape":"FlowAliasId", "documentation":"The unique identifier of the alias of the flow.
" }, "arn":{ "shape":"FlowAliasArn", "documentation":"The Amazon Resource Name (ARN) of the alias.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias was last updated.
" } }, "documentation":"Contains information about an alias of a flow.
This data type is used in the following API operations:
" }, "FlowArn":{ "type":"string", "pattern":"arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10}" }, "FlowCondition":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"FlowConditionName", "documentation":"A name for the condition that you can reference.
" }, "expression":{ "shape":"FlowConditionExpression", "documentation":"Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows.
" } }, "documentation":"Defines a condition in the condition node.
" }, "FlowConditionExpression":{ "type":"string", "max":64, "min":1, "sensitive":true }, "FlowConditionName":{ "type":"string", "pattern":"[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}" }, "FlowConditionalConnectionConfiguration":{ "type":"structure", "required":["condition"], "members":{ "condition":{ "shape":"FlowConditionName", "documentation":"The condition that triggers this connection. For more information about how to write conditions, see the Condition node type in the Node types topic in the Amazon Bedrock User Guide.
" } }, "documentation":"The configuration of a connection between a condition node and another node.
" }, "FlowConditions":{ "type":"list", "member":{"shape":"FlowCondition"}, "max":5, "min":1 }, "FlowConnection":{ "type":"structure", "required":[ "type", "name", "source", "target" ], "members":{ "type":{ "shape":"FlowConnectionType", "documentation":"Whether the source node that the connection begins from is a condition node (Conditional) or not (Data).
A name for the connection that you can reference.
" }, "source":{ "shape":"FlowNodeName", "documentation":"The node that the connection starts at.
" }, "target":{ "shape":"FlowNodeName", "documentation":"The node that the connection ends at.
" }, "configuration":{ "shape":"FlowConnectionConfiguration", "documentation":"The configuration of the connection.
" } }, "documentation":"Contains information about a connection between two nodes in the flow.
" }, "FlowConnectionConfiguration":{ "type":"structure", "members":{ "data":{ "shape":"FlowDataConnectionConfiguration", "documentation":"The configuration of a connection originating from a node that isn't a Condition node.
" }, "conditional":{ "shape":"FlowConditionalConnectionConfiguration", "documentation":"The configuration of a connection originating from a Condition node.
" } }, "documentation":"The configuration of the connection.
", "union":true }, "FlowConnectionName":{ "type":"string", "pattern":"[a-zA-Z]([_]?[0-9a-zA-Z]){1,100}" }, "FlowConnectionType":{ "type":"string", "enum":[ "Data", "Conditional" ] }, "FlowConnections":{ "type":"list", "member":{"shape":"FlowConnection"}, "max":20, "min":0 }, "FlowDataConnectionConfiguration":{ "type":"structure", "required":[ "sourceOutput", "targetInput" ], "members":{ "sourceOutput":{ "shape":"FlowNodeOutputName", "documentation":"The name of the output in the source node that the connection begins from.
" }, "targetInput":{ "shape":"FlowNodeInputName", "documentation":"The name of the input in the target node that the connection ends at.
" } }, "documentation":"The configuration of a connection originating from a node that isn't a Condition node.
" }, "FlowDefinition":{ "type":"structure", "members":{ "nodes":{ "shape":"FlowNodes", "documentation":"An array of node definitions in the flow.
" }, "connections":{ "shape":"FlowConnections", "documentation":"An array of connection definitions in the flow.
" } }, "documentation":"The definition of the nodes and connections between nodes in the flow.
", "sensitive":true }, "FlowDescription":{ "type":"string", "max":200, "min":1 }, "FlowExecutionRoleArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/(service-role/)?.+" }, "FlowId":{ "type":"string", "pattern":"[0-9a-zA-Z]{10}" }, "FlowIdentifier":{ "type":"string", "pattern":"(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10})|([0-9a-zA-Z]{10})" }, "FlowKnowledgeBaseId":{ "type":"string", "max":10, "min":0, "pattern":"$|^[0-9a-zA-Z]+" }, "FlowLambdaArn":{ "type":"string", "max":2048, "min":0, "pattern":"$|^arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:lambda:([a-z]{2,}-){2,}\\d:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?" }, "FlowLexBotAliasArn":{ "type":"string", "max":78, "min":0, "pattern":"$|^arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:lex:([a-z]{2,}-){2,}\\d:\\d{12}:bot-alias/[0-9a-zA-Z]+/[0-9a-zA-Z]+" }, "FlowLexBotLocaleId":{ "type":"string", "max":10, "min":0 }, "FlowName":{ "type":"string", "pattern":"([0-9a-zA-Z][_-]?){1,100}" }, "FlowNode":{ "type":"structure", "required":[ "name", "type" ], "members":{ "name":{ "shape":"FlowNodeName", "documentation":"A name for the node.
" }, "type":{ "shape":"FlowNodeType", "documentation":"The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration field.
Contains configurations for the node.
" }, "inputs":{ "shape":"FlowNodeInputs", "documentation":"An array of objects, each of which contains information about an input into the node.
" }, "outputs":{ "shape":"FlowNodeOutputs", "documentation":"A list of objects, each of which contains information about an output from the node.
" } }, "documentation":"Contains configurations about a node in the flow.
" }, "FlowNodeConfiguration":{ "type":"structure", "members":{ "input":{ "shape":"InputFlowNodeConfiguration", "documentation":"Contains configurations for an input flow node in your flow. The first node in the flow. inputs can't be specified for this node.
Contains configurations for an output flow node in your flow. The last node in the flow. outputs can't be specified for this node.
Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
" }, "condition":{ "shape":"ConditionFlowNodeConfiguration", "documentation":"Contains configurations for a condition node in your flow. Defines conditions that lead to different branches of the flow.
" }, "lex":{ "shape":"LexFlowNodeConfiguration", "documentation":"Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output.
" }, "prompt":{ "shape":"PromptFlowNodeConfiguration", "documentation":"Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node.
" }, "lambdaFunction":{ "shape":"LambdaFunctionFlowNodeConfiguration", "documentation":"Contains configurations for a Lambda function node in your flow. Invokes an Lambda function.
" }, "storage":{ "shape":"StorageFlowNodeConfiguration", "documentation":"Contains configurations for a storage node in your flow. Stores an input in an Amazon S3 location.
" }, "agent":{ "shape":"AgentFlowNodeConfiguration", "documentation":"Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
" }, "retrieval":{ "shape":"RetrievalFlowNodeConfiguration", "documentation":"Contains configurations for a retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
" }, "iterator":{ "shape":"IteratorFlowNodeConfiguration", "documentation":"Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.
The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
" }, "collector":{ "shape":"CollectorFlowNodeConfiguration", "documentation":"Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
" }, "inlineCode":{ "shape":"InlineCodeFlowNodeConfiguration", "documentation":"Contains configurations for an inline code node in your flow. Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
" }, "loop":{ "shape":"LoopFlowNodeConfiguration", "documentation":"Contains configurations for a DoWhile loop in your flow.
" }, "loopInput":{ "shape":"LoopInputFlowNodeConfiguration", "documentation":"Contains input node configurations for a DoWhile loop in your flow.
" }, "loopController":{ "shape":"LoopControllerFlowNodeConfiguration", "documentation":"Contains controller node configurations for a DoWhile loop in your flow.
" } }, "documentation":"Contains configurations for a node in your flow. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
", "union":true }, "FlowNodeIODataType":{ "type":"string", "enum":[ "String", "Number", "Boolean", "Object", "Array" ] }, "FlowNodeInput":{ "type":"structure", "required":[ "name", "type", "expression" ], "members":{ "name":{ "shape":"FlowNodeInputName", "documentation":"Specifies a name for the input that you can reference.
" }, "type":{ "shape":"FlowNodeIODataType", "documentation":"Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
" }, "expression":{ "shape":"FlowNodeInputExpression", "documentation":"An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
" }, "category":{ "shape":"FlowNodeInputCategory", "documentation":"Specifies how input data flows between iterations in a DoWhile loop.
LoopCondition - Controls whether the loop continues by evaluating condition expressions against the input data. Use this category to define the condition that determines if the loop should continue.
ReturnValueToLoopStart - Defines data to pass back to the start of the loop's next iteration. Use this category for variables that you want to update for each loop iteration.
ExitLoop - Defines the value that's available once the loop ends. Use this category to expose loop results to nodes outside the loop.
Contains configurations for an input in an Amazon Bedrock Flows node.
" }, "FlowNodeInputCategory":{ "type":"string", "enum":[ "LoopCondition", "ReturnValueToLoopStart", "ExitLoop" ] }, "FlowNodeInputExpression":{ "type":"string", "max":64, "min":1, "sensitive":true }, "FlowNodeInputName":{ "type":"string", "pattern":"[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}" }, "FlowNodeInputs":{ "type":"list", "member":{"shape":"FlowNodeInput"}, "max":20, "min":0 }, "FlowNodeName":{ "type":"string", "pattern":"[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}" }, "FlowNodeOutput":{ "type":"structure", "required":[ "name", "type" ], "members":{ "name":{ "shape":"FlowNodeOutputName", "documentation":"A name for the output that you can reference.
" }, "type":{ "shape":"FlowNodeIODataType", "documentation":"The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
" } }, "documentation":"Contains configurations for an output from a node.
" }, "FlowNodeOutputName":{ "type":"string", "pattern":"[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}" }, "FlowNodeOutputs":{ "type":"list", "member":{"shape":"FlowNodeOutput"}, "max":5, "min":0 }, "FlowNodeType":{ "type":"string", "enum":[ "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector", "InlineCode", "Loop", "LoopInput", "LoopController" ] }, "FlowNodes":{ "type":"list", "member":{"shape":"FlowNode"}, "max":40, "min":0 }, "FlowPromptArn":{ "type":"string", "pattern":"$|^(arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?)" }, "FlowPromptModelIdentifier":{ "type":"string", "max":2048, "min":0, "pattern":"$|^(arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?" }, "FlowS3BucketName":{ "type":"string", "max":63, "min":0, "pattern":"$|^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]" }, "FlowStatus":{ "type":"string", "enum":[ "Failed", "Prepared", "Preparing", "NotPrepared" ] }, "FlowSummaries":{ "type":"list", "member":{"shape":"FlowSummary"}, "max":10, "min":0 }, "FlowSummary":{ "type":"structure", "required":[ "name", "id", "arn", "status", "createdAt", "updatedAt", "version" ], "members":{ "name":{ "shape":"FlowName", "documentation":"The name of the flow.
" }, "description":{ "shape":"FlowDescription", "documentation":"A description of the flow.
" }, "id":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "arn":{ "shape":"FlowArn", "documentation":"The Amazon Resource Name (ARN) of the flow.
" }, "status":{ "shape":"FlowStatus", "documentation":"The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version.
Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing.
Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
The time at which the flow was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the flow was last updated.
" }, "version":{ "shape":"DraftVersion", "documentation":"The latest version of the flow.
" } }, "documentation":"Contains the definition of a flow.
" }, "FlowValidation":{ "type":"structure", "required":[ "message", "severity" ], "members":{ "message":{ "shape":"NonBlankString", "documentation":"A message describing the validation error.
" }, "severity":{ "shape":"FlowValidationSeverity", "documentation":"The severity of the issue described in the message.
" }, "details":{ "shape":"FlowValidationDetails", "documentation":"Specific details about the validation issue encountered in the flow.
" }, "type":{ "shape":"FlowValidationType", "documentation":"The type of validation issue encountered in the flow.
" } }, "documentation":"Contains information about validation of the flow.
This data type is used in the following API operations:
" }, "FlowValidationDetails":{ "type":"structure", "members":{ "cyclicConnection":{ "shape":"CyclicConnectionFlowValidationDetails", "documentation":"Details about a cyclic connection in the flow.
" }, "duplicateConnections":{ "shape":"DuplicateConnectionsFlowValidationDetails", "documentation":"Details about duplicate connections between nodes.
" }, "duplicateConditionExpression":{ "shape":"DuplicateConditionExpressionFlowValidationDetails", "documentation":"Details about duplicate condition expressions in a node.
" }, "unreachableNode":{ "shape":"UnreachableNodeFlowValidationDetails", "documentation":"Details about an unreachable node in the flow.
" }, "unknownConnectionSource":{ "shape":"UnknownConnectionSourceFlowValidationDetails", "documentation":"Details about an unknown source node for a connection.
" }, "unknownConnectionSourceOutput":{ "shape":"UnknownConnectionSourceOutputFlowValidationDetails", "documentation":"Details about an unknown source output for a connection.
" }, "unknownConnectionTarget":{ "shape":"UnknownConnectionTargetFlowValidationDetails", "documentation":"Details about an unknown target node for a connection.
" }, "unknownConnectionTargetInput":{ "shape":"UnknownConnectionTargetInputFlowValidationDetails", "documentation":"Details about an unknown target input for a connection.
" }, "unknownConnectionCondition":{ "shape":"UnknownConnectionConditionFlowValidationDetails", "documentation":"Details about an unknown condition for a connection.
" }, "malformedConditionExpression":{ "shape":"MalformedConditionExpressionFlowValidationDetails", "documentation":"Details about a malformed condition expression in a node.
" }, "malformedNodeInputExpression":{ "shape":"MalformedNodeInputExpressionFlowValidationDetails", "documentation":"Details about a malformed input expression in a node.
" }, "mismatchedNodeInputType":{ "shape":"MismatchedNodeInputTypeFlowValidationDetails", "documentation":"Details about mismatched input data types in a node.
" }, "mismatchedNodeOutputType":{ "shape":"MismatchedNodeOutputTypeFlowValidationDetails", "documentation":"Details about mismatched output data types in a node.
" }, "incompatibleConnectionDataType":{ "shape":"IncompatibleConnectionDataTypeFlowValidationDetails", "documentation":"Details about incompatible data types in a connection.
" }, "missingConnectionConfiguration":{ "shape":"MissingConnectionConfigurationFlowValidationDetails", "documentation":"Details about missing configuration for a connection.
" }, "missingDefaultCondition":{ "shape":"MissingDefaultConditionFlowValidationDetails", "documentation":"Details about a missing default condition in a conditional node.
" }, "missingEndingNodes":{ "shape":"MissingEndingNodesFlowValidationDetails", "documentation":"Details about missing ending nodes in the flow.
" }, "missingNodeConfiguration":{ "shape":"MissingNodeConfigurationFlowValidationDetails", "documentation":"Details about missing configuration for a node.
" }, "missingNodeInput":{ "shape":"MissingNodeInputFlowValidationDetails", "documentation":"Details about a missing required input in a node.
" }, "missingNodeOutput":{ "shape":"MissingNodeOutputFlowValidationDetails", "documentation":"Details about a missing required output in a node.
" }, "missingStartingNodes":{ "shape":"MissingStartingNodesFlowValidationDetails", "documentation":"Details about missing starting nodes in the flow.
" }, "multipleNodeInputConnections":{ "shape":"MultipleNodeInputConnectionsFlowValidationDetails", "documentation":"Details about multiple connections to a single node input.
" }, "unfulfilledNodeInput":{ "shape":"UnfulfilledNodeInputFlowValidationDetails", "documentation":"Details about an unfulfilled node input with no valid connections.
" }, "unsatisfiedConnectionConditions":{ "shape":"UnsatisfiedConnectionConditionsFlowValidationDetails", "documentation":"Details about unsatisfied conditions for a connection.
" }, "unspecified":{ "shape":"UnspecifiedFlowValidationDetails", "documentation":"Details about an unspecified validation.
" }, "unknownNodeInput":{ "shape":"UnknownNodeInputFlowValidationDetails", "documentation":"Details about an unknown input for a node.
" }, "unknownNodeOutput":{ "shape":"UnknownNodeOutputFlowValidationDetails", "documentation":"Details about an unknown output for a node.
" }, "missingLoopInputNode":{ "shape":"MissingLoopInputNodeFlowValidationDetails", "documentation":"Details about a flow that's missing a required LoopInput node in a DoWhile loop.
Details about a flow that's missing a required LoopController node in a DoWhile loop.
Details about a flow that contains multiple LoopInput nodes in a DoWhile loop.
Details about a flow that contains multiple LoopController nodes in a DoWhile loop.
Details about a flow that includes incompatible node types in a DoWhile loop.
" }, "invalidLoopBoundary":{ "shape":"InvalidLoopBoundaryFlowValidationDetails", "documentation":"Details about a flow that includes connections that violate loop boundary rules.
" } }, "documentation":"A union type containing various possible validation issues in the flow.
", "union":true }, "FlowValidationSeverity":{ "type":"string", "enum":[ "Warning", "Error" ] }, "FlowValidationType":{ "type":"string", "enum":[ "CyclicConnection", "DuplicateConnections", "DuplicateConditionExpression", "UnreachableNode", "UnknownConnectionSource", "UnknownConnectionSourceOutput", "UnknownConnectionTarget", "UnknownConnectionTargetInput", "UnknownConnectionCondition", "MalformedConditionExpression", "MalformedNodeInputExpression", "MismatchedNodeInputType", "MismatchedNodeOutputType", "IncompatibleConnectionDataType", "MissingConnectionConfiguration", "MissingDefaultCondition", "MissingEndingNodes", "MissingNodeConfiguration", "MissingNodeInput", "MissingNodeOutput", "MissingStartingNodes", "MultipleNodeInputConnections", "UnfulfilledNodeInput", "UnsatisfiedConnectionConditions", "Unspecified", "UnknownNodeInput", "UnknownNodeOutput", "MissingLoopInputNode", "MissingLoopControllerNode", "MultipleLoopInputNodes", "MultipleLoopControllerNodes", "LoopIncompatibleNodeType", "InvalidLoopBoundary" ] }, "FlowValidations":{ "type":"list", "member":{"shape":"FlowValidation"}, "max":100, "min":0 }, "FlowVersionSummaries":{ "type":"list", "member":{"shape":"FlowVersionSummary"}, "max":10, "min":0 }, "FlowVersionSummary":{ "type":"structure", "required":[ "id", "arn", "status", "createdAt", "version" ], "members":{ "id":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "arn":{ "shape":"FlowArn", "documentation":"The Amazon Resource Name (ARN) of the flow that the version belongs to.
" }, "status":{ "shape":"FlowStatus", "documentation":"The status of the flow.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at the version was created.
" }, "version":{ "shape":"NumericalVersion", "documentation":"The version of the flow.
" } }, "documentation":"Contains information about a version of a flow.
This data type is used in the following API operations:
" }, "Function":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"Name", "documentation":"A name for the function.
" }, "description":{ "shape":"FunctionDescription", "documentation":"A description of the function and its purpose.
" }, "parameters":{ "shape":"ParameterMap", "documentation":"The parameters that the agent elicits from the user to fulfill the function.
" }, "requireConfirmation":{ "shape":"RequireConfirmation", "documentation":"Contains information if user confirmation is required to invoke the function.
" } }, "documentation":"Defines parameters that the agent needs to invoke from the user to complete the function. Corresponds to an action in an action group.
This data type is used in the following API operations:
A list of functions that each define an action in the action group.
" } }, "documentation":"Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
This data type is used in the following API operations:
The unique identifier of the agent that the action group belongs to.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"Version", "documentation":"The version of the agent that the action group belongs to.
", "location":"uri", "locationName":"agentVersion" }, "actionGroupId":{ "shape":"Id", "documentation":"The unique identifier of the action group for which to get information.
", "location":"uri", "locationName":"actionGroupId" } } }, "GetAgentActionGroupResponse":{ "type":"structure", "required":["agentActionGroup"], "members":{ "agentActionGroup":{ "shape":"AgentActionGroup", "documentation":"Contains details about the action group.
" } } }, "GetAgentAliasRequest":{ "type":"structure", "required":[ "agentId", "agentAliasId" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent to which the alias to get information belongs.
", "location":"uri", "locationName":"agentId" }, "agentAliasId":{ "shape":"AgentAliasId", "documentation":"The unique identifier of the alias for which to get information.
", "location":"uri", "locationName":"agentAliasId" } } }, "GetAgentAliasResponse":{ "type":"structure", "required":["agentAlias"], "members":{ "agentAlias":{ "shape":"AgentAlias", "documentation":"Contains information about the alias.
" } } }, "GetAgentCollaboratorRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "collaboratorId" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The agent's ID.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"Version", "documentation":"The agent's version.
", "location":"uri", "locationName":"agentVersion" }, "collaboratorId":{ "shape":"Id", "documentation":"The collaborator's ID.
", "location":"uri", "locationName":"collaboratorId" } } }, "GetAgentCollaboratorResponse":{ "type":"structure", "required":["agentCollaborator"], "members":{ "agentCollaborator":{ "shape":"AgentCollaborator", "documentation":"Details about the collaborator.
" } } }, "GetAgentKnowledgeBaseRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "knowledgeBaseId" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent with which the knowledge base is associated.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"Version", "documentation":"The version of the agent with which the knowledge base is associated.
", "location":"uri", "locationName":"agentVersion" }, "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base associated with the agent.
", "location":"uri", "locationName":"knowledgeBaseId" } } }, "GetAgentKnowledgeBaseResponse":{ "type":"structure", "required":["agentKnowledgeBase"], "members":{ "agentKnowledgeBase":{ "shape":"AgentKnowledgeBase", "documentation":"Contains details about a knowledge base attached to an agent.
" } } }, "GetAgentRequest":{ "type":"structure", "required":["agentId"], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
", "location":"uri", "locationName":"agentId" } } }, "GetAgentResponse":{ "type":"structure", "required":["agent"], "members":{ "agent":{ "shape":"Agent", "documentation":"Contains details about the agent.
" } } }, "GetAgentVersionRequest":{ "type":"structure", "required":[ "agentId", "agentVersion" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"NumericalVersion", "documentation":"The version of the agent.
", "location":"uri", "locationName":"agentVersion" } } }, "GetAgentVersionResponse":{ "type":"structure", "required":["agentVersion"], "members":{ "agentVersion":{ "shape":"AgentVersion", "documentation":"Contains details about the version of the agent.
" } } }, "GetDataSourceRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base for the data source.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source.
", "location":"uri", "locationName":"dataSourceId" } } }, "GetDataSourceResponse":{ "type":"structure", "required":["dataSource"], "members":{ "dataSource":{ "shape":"DataSource", "documentation":"Contains details about the data source.
" } } }, "GetFlowAliasRequest":{ "type":"structure", "required":[ "flowIdentifier", "aliasIdentifier" ], "members":{ "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow that the alias belongs to.
", "location":"uri", "locationName":"flowIdentifier" }, "aliasIdentifier":{ "shape":"FlowAliasIdentifier", "documentation":"The unique identifier of the alias for which to retrieve information.
", "location":"uri", "locationName":"aliasIdentifier" } } }, "GetFlowAliasResponse":{ "type":"structure", "required":[ "name", "routingConfiguration", "flowId", "id", "arn", "createdAt", "updatedAt" ], "members":{ "name":{ "shape":"Name", "documentation":"The name of the alias.
" }, "description":{ "shape":"Description", "documentation":"The description of the flow.
" }, "routingConfiguration":{ "shape":"FlowAliasRoutingConfiguration", "documentation":"Contains information about the version that the alias is mapped to.
" }, "concurrencyConfiguration":{ "shape":"FlowAliasConcurrencyConfiguration", "documentation":"The configuration that specifies how nodes in the flow are executed in parallel.
" }, "flowId":{ "shape":"FlowId", "documentation":"The unique identifier of the flow that the alias belongs to.
" }, "id":{ "shape":"FlowAliasId", "documentation":"The unique identifier of the alias of the flow.
" }, "arn":{ "shape":"FlowAliasArn", "documentation":"The Amazon Resource Name (ARN) of the flow.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the flow was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias was last updated.
" } } }, "GetFlowRequest":{ "type":"structure", "required":["flowIdentifier"], "members":{ "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow.
", "location":"uri", "locationName":"flowIdentifier" }, "includedData":{ "shape":"IncludedData", "documentation":"Controls the scope of data returned. Set to METADATA_ONLY to return only resource metadata. Set to ALL_DATA or omit this field to return the full response.
The name of the flow.
" }, "description":{ "shape":"FlowDescription", "documentation":"The description of the flow.
" }, "executionRoleArn":{ "shape":"FlowExecutionRoleArn", "documentation":"The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service row for flows in the Amazon Bedrock User Guide.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.
" }, "id":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "arn":{ "shape":"FlowArn", "documentation":"The Amazon Resource Name (ARN) of the flow.
" }, "status":{ "shape":"FlowStatus", "documentation":"The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT version.
Preparing – The flow is being prepared so that the DRAFT version contains the latest changes for testing.
Prepared – The flow is prepared and the DRAFT version contains the latest changes for testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations field.
The time at which the flow was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the flow was last updated.
" }, "version":{ "shape":"DraftVersion", "documentation":"The version of the flow for which information was retrieved.
" }, "definition":{ "shape":"FlowDefinition", "documentation":"The definition of the nodes and connections between the nodes in the flow.
" }, "validations":{ "shape":"FlowValidations", "documentation":"A list of validation error messages related to the last failed operation on the flow.
" } } }, "GetFlowVersionRequest":{ "type":"structure", "required":[ "flowIdentifier", "flowVersion" ], "members":{ "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow for which to get information.
", "location":"uri", "locationName":"flowIdentifier" }, "flowVersion":{ "shape":"NumericalVersion", "documentation":"The version of the flow for which to get information.
", "location":"uri", "locationName":"flowVersion" }, "includedData":{ "shape":"IncludedData", "documentation":"Controls the scope of data returned. Set to METADATA_ONLY to return only resource metadata. Set to ALL_DATA or omit this field to return the full response.
The name of the version.
" }, "description":{ "shape":"FlowDescription", "documentation":"The description of the flow.
" }, "executionRoleArn":{ "shape":"FlowExecutionRoleArn", "documentation":"The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key that the version of the flow is encrypted with.
" }, "id":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "arn":{ "shape":"FlowArn", "documentation":"The Amazon Resource Name (ARN) of the flow.
" }, "status":{ "shape":"FlowStatus", "documentation":"The status of the flow.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the flow was created.
" }, "version":{ "shape":"NumericalVersion", "documentation":"The version of the flow for which information was retrieved.
" }, "definition":{ "shape":"FlowDefinition", "documentation":"The definition of the nodes and connections between nodes in the flow.
" } } }, "GetIngestionJobRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "ingestionJobId" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base for the data ingestion job you want to get information on.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source for the data ingestion job you want to get information on.
", "location":"uri", "locationName":"dataSourceId" }, "ingestionJobId":{ "shape":"Id", "documentation":"The unique identifier of the data ingestion job you want to get information on.
", "location":"uri", "locationName":"ingestionJobId" } } }, "GetIngestionJobResponse":{ "type":"structure", "required":["ingestionJob"], "members":{ "ingestionJob":{ "shape":"IngestionJob", "documentation":"Contains details about the data ingestion job.
" } } }, "GetKnowledgeBaseDocumentsRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "documentIdentifiers" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base that is connected to the data source.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source that contains the documents.
", "location":"uri", "locationName":"dataSourceId" }, "documentIdentifiers":{ "shape":"DocumentIdentifiers", "documentation":"A list of objects, each of which contains information to identify a document for which to retrieve information.
" } } }, "GetKnowledgeBaseDocumentsResponse":{ "type":"structure", "members":{ "documentDetails":{ "shape":"KnowledgeBaseDocumentDetails", "documentation":"A list of objects, each of which contains information about the documents that were retrieved.
" } } }, "GetKnowledgeBaseRequest":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base you want to get information on.
", "location":"uri", "locationName":"knowledgeBaseId" } } }, "GetKnowledgeBaseResponse":{ "type":"structure", "required":["knowledgeBase"], "members":{ "knowledgeBase":{ "shape":"KnowledgeBase", "documentation":"Contains details about the knowledge base.
" } } }, "GetPromptRequest":{ "type":"structure", "required":["promptIdentifier"], "members":{ "promptIdentifier":{ "shape":"PromptIdentifier", "documentation":"The unique identifier of the prompt.
", "location":"uri", "locationName":"promptIdentifier" }, "promptVersion":{ "shape":"Version", "documentation":"The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt.
", "location":"querystring", "locationName":"promptVersion" }, "includedData":{ "shape":"IncludedData", "documentation":"Controls the scope of data returned. Set to METADATA_ONLY to return only resource metadata. Set to ALL_DATA or omit this field to return the full response.
The name of the prompt.
" }, "description":{ "shape":"PromptDescription", "documentation":"The descriptino of the prompt.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key that the prompt is encrypted with.
" }, "defaultVariant":{ "shape":"PromptVariantName", "documentation":"The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
A list of objects, each containing details about a variant of the prompt.
" }, "id":{ "shape":"PromptId", "documentation":"The unique identifier of the prompt.
" }, "arn":{ "shape":"PromptArn", "documentation":"The Amazon Resource Name (ARN) of the prompt or the prompt version (if you specified a version in the request).
" }, "version":{ "shape":"Version", "documentation":"The version of the prompt.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the prompt was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the prompt was last updated.
" } } }, "GetResourcePolicyRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"The Amazon Resource Name (ARN) of the knowledge base to retrieve the resource policy for.
", "location":"uri", "locationName":"resourceArn" } } }, "GetResourcePolicyResponse":{ "type":"structure", "required":[ "resourceArn", "policy", "revisionId" ], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"The ARN of the knowledge base that the resource policy is associated with.
" }, "policy":{ "shape":"ResourcePolicy", "documentation":"The JSON-formatted resource policy associated with the knowledge base.
", "jsonvalue":true }, "revisionId":{ "shape":"RevisionId", "documentation":"The revision identifier of the resource policy.
" } } }, "GraphArn":{ "type":"string", "documentation":"ARN for Neptune Analytics graph database
", "max":255, "min":1, "pattern":"arn:aws(|-cn|-us-gov):neptune-graph:[a-zA-Z0-9-]*:[0-9]{12}:graph/g-[a-zA-Z0-9]{10}", "sensitive":true }, "GuardrailConfiguration":{ "type":"structure", "members":{ "guardrailIdentifier":{ "shape":"GuardrailIdentifier", "documentation":"The unique identifier of the guardrail.
" }, "guardrailVersion":{ "shape":"GuardrailVersion", "documentation":"The version of the guardrail.
" } }, "documentation":"Details about a guardrail associated with a resource.
" }, "GuardrailIdentifier":{ "type":"string", "max":2048, "min":0, "pattern":"(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))" }, "GuardrailVersion":{ "type":"string", "pattern":"(([0-9]{1,8})|(DRAFT))" }, "HierarchicalChunkingConfiguration":{ "type":"structure", "required":[ "levelConfigurations", "overlapTokens" ], "members":{ "levelConfigurations":{ "shape":"HierarchicalChunkingLevelConfigurations", "documentation":"Token settings for each layer.
" }, "overlapTokens":{ "shape":"HierarchicalChunkingConfigurationOverlapTokensInteger", "documentation":"The number of tokens to repeat across chunks in the same layer.
" } }, "documentation":"Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
You configure the number of tokens to overlap, or repeat across adjacent chunks. For example, if you set overlap tokens to 60, the last 60 tokens in the first chunk are also included at the beginning of the second chunk. For each layer, you must also configure the maximum number of tokens in a chunk.
" }, "HierarchicalChunkingConfigurationOverlapTokensInteger":{ "type":"integer", "box":true, "min":1 }, "HierarchicalChunkingLevelConfiguration":{ "type":"structure", "required":["maxTokens"], "members":{ "maxTokens":{ "shape":"HierarchicalChunkingLevelConfigurationMaxTokensInteger", "documentation":"The maximum number of tokens that a chunk can contain in this layer.
" } }, "documentation":"Token settings for a layer in a hierarchical chunking configuration.
" }, "HierarchicalChunkingLevelConfigurationMaxTokensInteger":{ "type":"integer", "box":true, "max":8192, "min":1 }, "HierarchicalChunkingLevelConfigurations":{ "type":"list", "member":{"shape":"HierarchicalChunkingLevelConfiguration"}, "max":2, "min":2 }, "HttpsUrl":{ "type":"string", "pattern":"https://[A-Za-z0-9][^\\s]*" }, "Id":{ "type":"string", "pattern":"[0-9a-zA-Z]{10}" }, "ImageExtractionConfiguration":{ "type":"structure", "required":["imageExtractionStatus"], "members":{ "imageExtractionStatus":{ "shape":"EnabledOrDisabledState", "documentation":"Whether image extraction is enabled or disabled.
" } }, "documentation":"Configuration for image extraction.
" }, "IncludeExclude":{ "type":"string", "enum":[ "INCLUDE", "EXCLUDE" ] }, "IncludedData":{ "type":"string", "enum":[ "ALL_DATA", "METADATA_ONLY" ] }, "IncompatibleConnectionDataTypeFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection with incompatible data types.
" } }, "documentation":"Details about incompatible data types in a connection between nodes.
" }, "IncompatibleLoopNodeType":{ "type":"string", "enum":[ "Input", "Condition", "Iterator", "Collector" ] }, "IndexArn":{ "type":"string", "sensitive":true }, "IndexName":{ "type":"string", "max":63, "min":3, "sensitive":true }, "InferenceConfiguration":{ "type":"structure", "members":{ "temperature":{ "shape":"Temperature", "documentation":"The likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options.
" }, "topP":{ "shape":"TopP", "documentation":"While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for Top P determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set topP to 0.8, the model only selects the next token from the top 80% of the probability distribution of next tokens.
While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for topK is the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set topK to 50, the model selects the next token from among the top 50 most likely choices.
The maximum number of tokens to allow in the generated response.
" }, "stopSequences":{ "shape":"StopSequences", "documentation":"A list of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.
" } }, "documentation":"Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the promptType. For more information, see Inference parameters for foundation models.
The unique identifier of the knowledge base to ingest the documents into.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source connected to the knowledge base that you're adding documents to.
", "location":"uri", "locationName":"dataSourceId" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "documents":{ "shape":"KnowledgeBaseDocuments", "documentation":"A list of objects, each of which contains information about the documents to add.
" } } }, "IngestKnowledgeBaseDocumentsResponse":{ "type":"structure", "members":{ "documentDetails":{ "shape":"KnowledgeBaseDocumentDetails", "documentation":"A list of objects, each of which contains information about the documents that were ingested.
" } } }, "IngestionJob":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "ingestionJobId", "status", "startedAt", "updatedAt" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge for the data ingestion job.
" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source for the data ingestion job.
" }, "ingestionJobId":{ "shape":"Id", "documentation":"The unique identifier of the data ingestion job.
" }, "description":{ "shape":"Description", "documentation":"The description of the data ingestion job.
" }, "status":{ "shape":"IngestionJobStatus", "documentation":"The status of the data ingestion job.
" }, "statistics":{ "shape":"IngestionJobStatistics", "documentation":"Contains statistics about the data ingestion job.
" }, "failureReasons":{ "shape":"FailureReasons", "documentation":"A list of reasons that the data ingestion job failed.
" }, "startedAt":{ "shape":"DateTimestamp", "documentation":"The time the data ingestion job started.
If you stop a data ingestion job, the startedAt time is the time the job was started before the job was stopped.
The time the data ingestion job was last updated.
If you stop a data ingestion job, the updatedAt time is the time the job was stopped.
Contains details about a data ingestion job. Data sources are ingested into a knowledge base so that Large Language Models (LLMs) can use your data.
This data type is used in the following API operations:
" }, "IngestionJobFilter":{ "type":"structure", "required":[ "attribute", "operator", "values" ], "members":{ "attribute":{ "shape":"IngestionJobFilterAttribute", "documentation":"The name of field or attribute to apply the filter.
" }, "operator":{ "shape":"IngestionJobFilterOperator", "documentation":"The operation to apply to the field or attribute.
" }, "values":{ "shape":"IngestionJobFilterValues", "documentation":"A list of values that belong to the field or attribute.
" } }, "documentation":"The definition of a filter to filter the data.
" }, "IngestionJobFilterAttribute":{ "type":"string", "enum":["STATUS"] }, "IngestionJobFilterOperator":{ "type":"string", "enum":["EQ"] }, "IngestionJobFilterValue":{ "type":"string", "max":100, "min":0, "pattern":".*" }, "IngestionJobFilterValues":{ "type":"list", "member":{"shape":"IngestionJobFilterValue"}, "max":10, "min":0 }, "IngestionJobFilters":{ "type":"list", "member":{"shape":"IngestionJobFilter"}, "max":1, "min":1 }, "IngestionJobSortBy":{ "type":"structure", "required":[ "attribute", "order" ], "members":{ "attribute":{ "shape":"IngestionJobSortByAttribute", "documentation":"The name of field or attribute to apply sorting of data.
" }, "order":{ "shape":"SortOrder", "documentation":"The order for sorting the data.
" } }, "documentation":"The parameters of sorting the data.
" }, "IngestionJobSortByAttribute":{ "type":"string", "enum":[ "STATUS", "STARTED_AT" ] }, "IngestionJobStatistics":{ "type":"structure", "members":{ "numberOfDocumentsScanned":{ "shape":"PrimitiveLong", "documentation":"The total number of source documents that were scanned. Includes new, updated, and unchanged documents.
" }, "numberOfMetadataDocumentsScanned":{ "shape":"PrimitiveLong", "documentation":"The total number of metadata files that were scanned. Includes new, updated, and unchanged files.
" }, "numberOfNewDocumentsIndexed":{ "shape":"PrimitiveLong", "documentation":"The number of new source documents in the data source that were successfully indexed.
" }, "numberOfModifiedDocumentsIndexed":{ "shape":"PrimitiveLong", "documentation":"The number of modified source documents in the data source that were successfully indexed.
" }, "numberOfMetadataDocumentsModified":{ "shape":"PrimitiveLong", "documentation":"The number of metadata files that were updated or deleted.
" }, "numberOfDocumentsDeleted":{ "shape":"PrimitiveLong", "documentation":"The number of source documents that were deleted.
" }, "numberOfDocumentsFailed":{ "shape":"PrimitiveLong", "documentation":"The number of source documents that failed to be ingested.
" }, "numberOfDocumentsSkipped":{ "shape":"PrimitiveLong", "documentation":"The number of source documents that were skipped during ingestion.
" } }, "documentation":"Contains the statistics for the data ingestion job.
" }, "IngestionJobStatus":{ "type":"string", "enum":[ "STARTING", "IN_PROGRESS", "COMPLETE", "FAILED", "STOPPING", "STOPPED" ] }, "IngestionJobSummaries":{ "type":"list", "member":{"shape":"IngestionJobSummary"} }, "IngestionJobSummary":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "ingestionJobId", "status", "startedAt", "updatedAt" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base for the data ingestion job.
" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source for the data ingestion job.
" }, "ingestionJobId":{ "shape":"Id", "documentation":"The unique identifier of the data ingestion job.
" }, "description":{ "shape":"Description", "documentation":"The description of the data ingestion job.
" }, "status":{ "shape":"IngestionJobStatus", "documentation":"The status of the data ingestion job.
" }, "startedAt":{ "shape":"DateTimestamp", "documentation":"The time the data ingestion job started.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time the data ingestion job was last updated.
" }, "statistics":{ "shape":"IngestionJobStatistics", "documentation":"Contains statistics for the data ingestion job.
" } }, "documentation":"Contains details about a data ingestion job.
" }, "InlineCode":{ "type":"string", "max":5000000, "min":0, "sensitive":true }, "InlineCodeFlowNodeConfiguration":{ "type":"structure", "required":[ "code", "language" ], "members":{ "code":{ "shape":"InlineCode", "documentation":"The code that's executed in your inline code node. The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow.
The code must be valid in the programming language that you specify.
The programming language used by your inline code node.
The code must be valid in the programming language that you specify. Currently, only Python 3 (Python_3) is supported.
Contains configurations for an inline code node in your flow. Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
" }, "InlineContent":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"InlineContentType", "documentation":"The type of inline content to define.
" }, "byteContent":{ "shape":"ByteContentDoc", "documentation":"Contains information about content defined inline in bytes.
" }, "textContent":{ "shape":"TextContentDoc", "documentation":"Contains information about content defined inline in text.
" } }, "documentation":"Contains information about content defined inline to ingest into a data source. Choose a type and include the field that corresponds to it.
Contains configurations for the input flow node for a flow. This node takes the input from flow invocation and passes it to the next node in the data type that you specify.
" }, "Instruction":{ "type":"string", "max":4000, "min":40, "sensitive":true }, "IntermediateStorage":{ "type":"structure", "required":["s3Location"], "members":{ "s3Location":{ "shape":"S3Location", "documentation":"An S3 bucket path.
" } }, "documentation":"A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline.
" }, "InternalServerException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"An internal server error occurred. Retry your request.
", "error":{"httpStatusCode":500}, "exception":true, "fault":true }, "InvalidLoopBoundaryFlowValidationDetails":{ "type":"structure", "required":[ "connection", "source", "target" ], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection that violates loop boundary rules.
" }, "source":{ "shape":"FlowNodeName", "documentation":"The source node of the connection that violates DoWhile loop boundary rules.
" }, "target":{ "shape":"FlowNodeName", "documentation":"The target node of the connection that violates DoWhile loop boundary rules.
" } }, "documentation":"Details about a flow that contains connections that violate loop boundary rules.
" }, "IteratorFlowNodeConfiguration":{ "type":"structure", "members":{}, "documentation":"Contains configurations for an iterator node in a flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.
The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
" }, "KendraIndexArn":{ "type":"string", "pattern":"arn:aws(|-cn|-us-gov):kendra:[a-z0-9-]{1,20}:([0-9]{12}|):index/([a-zA-Z0-9][a-zA-Z0-9-]{35}|[a-zA-Z0-9][a-zA-Z0-9-]{35}-[a-zA-Z0-9][a-zA-Z0-9-]{35})" }, "KendraKnowledgeBaseConfiguration":{ "type":"structure", "required":["kendraIndexArn"], "members":{ "kendraIndexArn":{ "shape":"KendraIndexArn", "documentation":"The ARN of the Amazon Kendra index.
" } }, "documentation":"Settings for an Amazon Kendra knowledge base.
" }, "Key":{ "type":"string", "max":200, "min":1, "sensitive":true }, "KmsKeyArn":{ "type":"string", "max":2048, "min":1, "pattern":"arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}" }, "KnowledgeBase":{ "type":"structure", "required":[ "knowledgeBaseId", "name", "knowledgeBaseArn", "roleArn", "knowledgeBaseConfiguration", "status", "createdAt", "updatedAt" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base.
" }, "name":{ "shape":"Name", "documentation":"The name of the knowledge base.
" }, "knowledgeBaseArn":{ "shape":"KnowledgeBaseArn", "documentation":"The Amazon Resource Name (ARN) of the knowledge base.
" }, "description":{ "shape":"Description", "documentation":"The description of the knowledge base.
" }, "roleArn":{ "shape":"KnowledgeBaseRoleArn", "documentation":"The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
" }, "knowledgeBaseConfiguration":{ "shape":"KnowledgeBaseConfiguration", "documentation":"Contains details about the embeddings configuration of the knowledge base.
" }, "storageConfiguration":{ "shape":"StorageConfiguration", "documentation":"Contains details about the storage configuration of the knowledge base.
" }, "status":{ "shape":"KnowledgeBaseStatus", "documentation":"The status of the knowledge base. The following statuses are possible:
CREATING – The knowledge base is being created.
ACTIVE – The knowledge base is ready to be queried.
DELETING – The knowledge base is being deleted.
UPDATING – The knowledge base is being updated.
FAILED – The knowledge base API operation failed.
The time the knowledge base was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time the knowledge base was last updated.
" }, "failureReasons":{ "shape":"FailureReasons", "documentation":"A list of reasons that the API operation on the knowledge base failed.
" } }, "documentation":"Contains information about a knowledge base.
" }, "KnowledgeBaseArn":{ "type":"string", "max":128, "min":0, "pattern":"arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:knowledge-base/[0-9a-zA-Z]+" }, "KnowledgeBaseConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"KnowledgeBaseType", "documentation":"The type of data that the data source is converted into for the knowledge base. Choose MANAGED to create a managed knowledge base.
Contains details about the model that's used to convert the data source into vector embeddings.
" }, "managedKnowledgeBaseConfiguration":{"shape":"ManagedKnowledgeBaseConfiguration"}, "kendraKnowledgeBaseConfiguration":{ "shape":"KendraKnowledgeBaseConfiguration", "documentation":"Settings for an Amazon Kendra knowledge base.
" }, "sqlKnowledgeBaseConfiguration":{ "shape":"SqlKnowledgeBaseConfiguration", "documentation":"Specifies configurations for a knowledge base connected to an SQL database.
" } }, "documentation":"Contains details about the vector embeddings configuration of the knowledge base.
" }, "KnowledgeBaseDocument":{ "type":"structure", "required":["content"], "members":{ "metadata":{ "shape":"DocumentMetadata", "documentation":"Contains the metadata to associate with the document.
" }, "content":{ "shape":"DocumentContent", "documentation":"Contains the content of the document.
" } }, "documentation":"Contains information about a document to ingest into a knowledge base and metadata to associate with it.
" }, "KnowledgeBaseDocumentDetail":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "status", "identifier" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The identifier of the knowledge base that the document was ingested into or deleted from.
" }, "dataSourceId":{ "shape":"Id", "documentation":"The identifier of the data source connected to the knowledge base that the document was ingested into or deleted from.
" }, "status":{ "shape":"DocumentStatus", "documentation":"The ingestion status of the document. The following statuses are possible:
STARTING – You submitted the ingestion job containing the document.
PENDING – The document is waiting to be ingested.
IN_PROGRESS – The document is being ingested.
INDEXED – The document was successfully indexed.
PARTIALLY_INDEXED – The document was partially indexed.
METADATA_PARTIALLY_INDEXED – You submitted metadata for an existing document and it was partially indexed.
METADATA_UPDATE_FAILED – You submitted a metadata update for an existing document but it failed.
FAILED – The document failed to be ingested.
NOT_FOUND – The document wasn't found.
IGNORED – The document was ignored during ingestion.
DELETING – You submitted the delete job containing the document.
DELETE_IN_PROGRESS – The document is being deleted.
Contains information that identifies the document.
" }, "statusReason":{ "shape":"String", "documentation":"The reason for the status. Appears alongside the status IGNORED.
The date and time at which the document was last updated.
" } }, "documentation":"Contains the details for a document that was ingested or deleted.
" }, "KnowledgeBaseDocumentDetails":{ "type":"list", "member":{"shape":"KnowledgeBaseDocumentDetail"} }, "KnowledgeBaseDocuments":{ "type":"list", "member":{"shape":"KnowledgeBaseDocument"}, "max":10, "min":1 }, "KnowledgeBaseFlowNodeConfiguration":{ "type":"structure", "required":["knowledgeBaseId"], "members":{ "knowledgeBaseId":{ "shape":"FlowKnowledgeBaseId", "documentation":"The unique identifier of the knowledge base to query.
" }, "modelId":{ "shape":"KnowledgeBaseModelIdentifier", "documentation":"The unique identifier of the model or inference profile to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
" }, "guardrailConfiguration":{ "shape":"GuardrailConfiguration", "documentation":"Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.
" }, "numberOfResults":{ "shape":"KnowledgeBaseFlowNodeConfigurationNumberOfResultsInteger", "documentation":"The number of results to retrieve from the knowledge base.
" }, "promptTemplate":{ "shape":"KnowledgeBasePromptTemplate", "documentation":"A custom prompt template to use with the knowledge base for generating responses.
" }, "inferenceConfiguration":{ "shape":"PromptInferenceConfiguration", "documentation":"Contains inference configurations for the prompt.
" }, "rerankingConfiguration":{ "shape":"VectorSearchRerankingConfiguration", "documentation":"The configuration for reranking the retrieved results from the knowledge base to improve relevance.
" }, "orchestrationConfiguration":{ "shape":"KnowledgeBaseOrchestrationConfiguration", "documentation":"The configuration for orchestrating the retrieval and generation process in the knowledge base node.
" } }, "documentation":"Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
" }, "KnowledgeBaseFlowNodeConfigurationNumberOfResultsInteger":{ "type":"integer", "box":true, "max":100, "min":1 }, "KnowledgeBaseModelIdentifier":{ "type":"string", "max":2048, "min":1, "pattern":"(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?" }, "KnowledgeBaseOrchestrationConfiguration":{ "type":"structure", "members":{ "promptTemplate":{ "shape":"KnowledgeBasePromptTemplate", "documentation":"A custom prompt template for orchestrating the retrieval and generation process.
" }, "inferenceConfig":{ "shape":"PromptInferenceConfiguration", "documentation":"Contains inference configurations for the prompt.
" }, "additionalModelRequestFields":{ "shape":"AdditionalModelRequestFields", "documentation":"The additional model-specific request parameters as key-value pairs to be included in the request to the foundation model.
" }, "performanceConfig":{ "shape":"PerformanceConfiguration", "documentation":"The performance configuration options for the knowledge base retrieval and generation process.
" } }, "documentation":"Configures how the knowledge base orchestrates the retrieval and generation process, allowing for customization of prompts, inference parameters, and performance settings.
" }, "KnowledgeBasePromptTemplate":{ "type":"structure", "members":{ "textPromptTemplate":{ "shape":"KnowledgeBaseTextPrompt", "documentation":"The text of the prompt template.
" } }, "documentation":"Defines a custom prompt template for orchestrating the retrieval and generation process.
" }, "KnowledgeBaseRoleArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+" }, "KnowledgeBaseState":{ "type":"string", "enum":[ "ENABLED", "DISABLED" ] }, "KnowledgeBaseStatus":{ "type":"string", "enum":[ "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL", "UPDATE_UNSUCCESSFUL" ] }, "KnowledgeBaseStorageType":{ "type":"string", "documentation":"The storage type of a knowledge base.
", "enum":[ "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS", "OPENSEARCH_MANAGED_CLUSTER", "S3_VECTORS" ] }, "KnowledgeBaseSummaries":{ "type":"list", "member":{"shape":"KnowledgeBaseSummary"} }, "KnowledgeBaseSummary":{ "type":"structure", "required":[ "knowledgeBaseId", "name", "status", "updatedAt" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base.
" }, "name":{ "shape":"Name", "documentation":"The name of the knowledge base.
" }, "description":{ "shape":"Description", "documentation":"The description of the knowledge base.
" }, "status":{ "shape":"KnowledgeBaseStatus", "documentation":"The status of the knowledge base.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time the knowledge base was last updated.
" } }, "documentation":"Contains details about a knowledge base.
" }, "KnowledgeBaseTextPrompt":{ "type":"string", "max":100000, "min":1, "sensitive":true }, "KnowledgeBaseType":{ "type":"string", "documentation":"The type of a knowledge base.
", "enum":[ "VECTOR", "KENDRA", "SQL", "MANAGED" ] }, "LambdaArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?" }, "LambdaFunctionFlowNodeConfiguration":{ "type":"structure", "required":["lambdaArn"], "members":{ "lambdaArn":{ "shape":"FlowLambdaArn", "documentation":"The Amazon Resource Name (ARN) of the Lambda function to invoke.
" } }, "documentation":"Contains configurations for a Lambda function node in the flow. You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
" }, "LexFlowNodeConfiguration":{ "type":"structure", "required":[ "botAliasArn", "localeId" ], "members":{ "botAliasArn":{ "shape":"FlowLexBotAliasArn", "documentation":"The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
" }, "localeId":{ "shape":"FlowLexBotLocaleId", "documentation":"The Region to invoke the Amazon Lex bot in.
" } }, "documentation":"Contains configurations for a Lex node in the flow. You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
" }, "ListAgentActionGroupsRequest":{ "type":"structure", "required":[ "agentId", "agentVersion" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"Version", "documentation":"The version of the agent.
", "location":"uri", "locationName":"agentVersion" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about an action group.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The unique identifier of the agent.
", "location":"uri", "locationName":"agentId" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about an alias of the agent.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The agent's ID.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"Version", "documentation":"The agent's version.
", "location":"uri", "locationName":"agentVersion" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of agent collaborators to return in one page of results.
" }, "nextToken":{ "shape":"NextToken", "documentation":"Specify the pagination token from a previous request to retrieve the next page of results.
" } } }, "ListAgentCollaboratorsResponse":{ "type":"structure", "required":["agentCollaboratorSummaries"], "members":{ "agentCollaboratorSummaries":{ "shape":"AgentCollaboratorSummaries", "documentation":"A list of collaborator summaries.
" }, "nextToken":{ "shape":"NextToken", "documentation":"Specify the pagination token from a previous request to retrieve the next page of results.
" } } }, "ListAgentKnowledgeBasesRequest":{ "type":"structure", "required":[ "agentId", "agentVersion" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent for which to return information about knowledge bases associated with it.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"Version", "documentation":"The version of the agent for which to return information about knowledge bases associated with it.
", "location":"uri", "locationName":"agentVersion" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about a knowledge base associated with the agent.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The unique identifier of the agent.
", "location":"uri", "locationName":"agentId" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about a version of the agent.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about an agent.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The unique identifier of the knowledge base for which to return a list of information.
", "location":"uri", "locationName":"knowledgeBaseId" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about a data source.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The unique identifier of the flow for which aliases are being returned.
", "location":"uri", "locationName":"flowIdentifier" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list, each member of which contains information about an alias.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The unique identifier of the flow.
", "location":"uri", "locationName":"flowIdentifier" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list, each member of which contains information about a flow.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list, each member of which contains information about a flow.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The unique identifier of the knowledge base for the list of data ingestion jobs.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source for the list of data ingestion jobs.
", "location":"uri", "locationName":"dataSourceId" }, "filters":{ "shape":"IngestionJobFilters", "documentation":"Contains information about the filters for filtering the data.
" }, "sortBy":{ "shape":"IngestionJobSortBy", "documentation":"Contains details about how to sort the data.
" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of data ingestion jobs with information about each job.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The unique identifier of the knowledge base that is connected to the data source.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source that contains the documents.
", "location":"uri", "locationName":"dataSourceId" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about the documents that were retrieved.
" }, "nextToken":{ "shape":"String", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list of knowledge bases with information about each knowledge base.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The unique identifier of the prompt for whose versions you want to return information. Omit this field to list information about all prompts in an account.
", "location":"querystring", "locationName":"promptIdentifier" }, "maxResults":{ "shape":"MaxResults", "documentation":"The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
A list, each member of which contains information about a prompt using Prompt management.
" }, "nextToken":{ "shape":"NextToken", "documentation":"If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
The Amazon Resource Name (ARN) of the resource for which to list tags.
", "location":"uri", "locationName":"resourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"TagsMap", "documentation":"The key-value pairs for the tags associated with the resource.
" } } }, "LoopControllerFlowNodeConfiguration":{ "type":"structure", "required":["continueCondition"], "members":{ "continueCondition":{ "shape":"FlowCondition", "documentation":"Specifies the condition that determines when the flow exits the DoWhile loop. The loop executes until this condition evaluates to true.
" }, "maxIterations":{ "shape":"LoopControllerFlowNodeConfigurationMaxIterationsInteger", "documentation":"Specifies the maximum number of times the DoWhile loop can iterate before the flow exits the loop.
" } }, "documentation":"Contains configurations for the controller node of a DoWhile loop in the flow.
" }, "LoopControllerFlowNodeConfigurationMaxIterationsInteger":{ "type":"integer", "box":true, "max":1000, "min":1 }, "LoopFlowNodeConfiguration":{ "type":"structure", "required":["definition"], "members":{ "definition":{ "shape":"FlowDefinition", "documentation":"The definition of the DoWhile loop nodes and connections between nodes in the flow.
" } }, "documentation":"Contains configurations for the nodes of a DoWhile loop in your flow.
A DoWhile loop is made up of the following nodes:
Loop - The container node that holds the loop's flow definition. This node encompasses the entire loop structure.
LoopInput - The entry point node for the loop. This node receives inputs from nodes outside the loop and from previous loop iterations.
Body nodes - The processing nodes that execute within each loop iteration. These can be nodes for handling data in your flow, such as a prompt or Lambda function nodes. Some node types aren't supported inside a DoWhile loop body. For more information, see LoopIncompatibleNodeTypeFlowValidationDetails.
LoopController - The node that evaluates whether the loop should continue or exit based on a condition.
These nodes work together to create a loop that runs at least once and continues until a specified condition is met or a maximum number of iterations is reached.
" }, "LoopIncompatibleNodeTypeFlowValidationDetails":{ "type":"structure", "required":[ "node", "incompatibleNodeType", "incompatibleNodeName" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The Loop container node that contains an incompatible node.
The node type of the incompatible node in the DoWhile loop. Some node types, like a condition node, aren't allowed in a DoWhile loop.
" }, "incompatibleNodeName":{ "shape":"FlowNodeName", "documentation":"The node that's incompatible in the DoWhile loop.
" } }, "documentation":"Details about a flow that contains an incompatible node in a DoWhile loop.
" }, "LoopInputFlowNodeConfiguration":{ "type":"structure", "members":{}, "documentation":"Contains configurations for the input node of a DoWhile loop in the flow.
" }, "MalformedConditionExpressionFlowValidationDetails":{ "type":"structure", "required":[ "node", "condition", "cause" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node containing the malformed condition expression.
" }, "condition":{ "shape":"FlowConditionName", "documentation":"The name of the malformed condition.
" }, "cause":{ "shape":"ErrorMessage", "documentation":"The error message describing why the condition expression is malformed.
" } }, "documentation":"Details about a malformed condition expression in a node.
" }, "MalformedNodeInputExpressionFlowValidationDetails":{ "type":"structure", "required":[ "node", "input", "cause" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node containing the malformed input expression.
" }, "input":{ "shape":"FlowNodeInputName", "documentation":"The name of the input with the malformed expression.
" }, "cause":{ "shape":"ErrorMessage", "documentation":"The error message describing why the input expression is malformed.
" } }, "documentation":"Details about a malformed input expression in a node.
" }, "ManagedKnowledgeBaseConfiguration":{ "type":"structure", "members":{ "embeddingModelType":{"shape":"EmbeddingModelType"}, "embeddingModelArn":{ "shape":"BedrockEmbeddingModelArn", "documentation":"The ARN for the embeddings model.
" }, "embeddingModelConfiguration":{"shape":"EmbeddingModelConfiguration"}, "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"} }, "documentation":"Configurations for a managed knowledge base.
" }, "ManagedKnowledgeBaseConnectorConfiguration":{ "type":"structure", "members":{ "deletionProtectionConfiguration":{ "shape":"DeletionProtectionConfiguration", "documentation":"A safeguard against accidental bulk deletion of indexed content.
" }, "mediaExtractionConfiguration":{ "shape":"MediaExtractionConfiguration", "documentation":"Configuration for extracting media (images, audio, video) from data source files.
" }, "connectorParameters":{ "shape":"Document", "documentation":"Connector-specific parameters. For more information, see Connect a data source.
" } }, "documentation":"Configuration for managed knowledge base connector data sources.
" }, "MaxRecentSessions":{ "type":"integer", "box":true, "min":1 }, "MaxResults":{ "type":"integer", "box":true, "max":1000, "min":1 }, "MaximumLength":{ "type":"integer", "box":true, "min":0 }, "MediaExtractionConfiguration":{ "type":"structure", "members":{ "imageExtractionConfiguration":{ "shape":"ImageExtractionConfiguration", "documentation":"Configuration for image extraction.
" }, "audioExtractionConfiguration":{ "shape":"AudioExtractionConfiguration", "documentation":"Configuration for audio extraction.
" }, "videoExtractionConfiguration":{ "shape":"VideoExtractionConfiguration", "documentation":"Configuration for video extraction.
" } }, "documentation":"Configuration for media extraction settings.
" }, "MemoryConfiguration":{ "type":"structure", "required":["enabledMemoryTypes"], "members":{ "enabledMemoryTypes":{ "shape":"EnabledMemoryTypes", "documentation":"The type of memory that is stored.
" }, "storageDays":{ "shape":"StorageDays", "documentation":"The number of days the agent is configured to retain the conversational context.
" }, "sessionSummaryConfiguration":{ "shape":"SessionSummaryConfiguration", "documentation":"Contains the configuration for SESSION_SUMMARY memory type enabled for the agent.
" } }, "documentation":"Details of the memory configuration.
" }, "MemoryType":{ "type":"string", "enum":["SESSION_SUMMARY"] }, "Message":{ "type":"structure", "required":[ "role", "content" ], "members":{ "role":{ "shape":"ConversationRole", "documentation":"The role that the message belongs to.
" }, "content":{ "shape":"ContentBlocks", "documentation":"The content in the message.
" } }, "documentation":"A message input or response from a model. For more information, see Create a prompt using Prompt management.
" }, "Messages":{ "type":"list", "member":{"shape":"Message"} }, "MetadataAttribute":{ "type":"structure", "required":[ "key", "value" ], "members":{ "key":{ "shape":"Key", "documentation":"The key of the metadata attribute.
" }, "value":{ "shape":"MetadataAttributeValue", "documentation":"Contains the value of the metadata attribute.
" } }, "documentation":"Contains information about a metadata attribute.
" }, "MetadataAttributeValue":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"MetadataValueType", "documentation":"The type of the metadata attribute.
" }, "numberValue":{ "shape":"NumberValue", "documentation":"The value of the numeric metadata attribute.
" }, "booleanValue":{ "shape":"Boolean", "documentation":"The value of the Boolean metadata attribute.
" }, "stringValue":{ "shape":"StringValue", "documentation":"The value of the string metadata attribute.
" }, "stringListValue":{ "shape":"MetadataAttributeValueStringListValueList", "documentation":"An array of strings that define the value of the metadata attribute.
" } }, "documentation":"Contains the value of the metadata attribute. Choose a type and include the field that corresponds to it.
The mode for selecting metadata fields for reranking.
" }, "selectiveModeConfiguration":{ "shape":"RerankingMetadataSelectiveModeConfiguration", "documentation":"The configuration for selective metadata field inclusion or exclusion during reranking.
" } }, "documentation":"Specifies how metadata fields should be handled during the reranking process.
" }, "MetadataSourceType":{ "type":"string", "enum":[ "IN_LINE_ATTRIBUTE", "S3_LOCATION" ] }, "MetadataValueType":{ "type":"string", "enum":[ "BOOLEAN", "NUMBER", "STRING", "STRING_LIST" ] }, "Microsoft365TenantId":{ "type":"string", "max":36, "min":36, "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" }, "MismatchedNodeInputTypeFlowValidationDetails":{ "type":"structure", "required":[ "node", "input", "expectedType" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node containing the input with the mismatched data type.
" }, "input":{ "shape":"FlowNodeInputName", "documentation":"The name of the input with the mismatched data type.
" }, "expectedType":{ "shape":"FlowNodeIODataType", "documentation":"The expected data type for the node input.
" } }, "documentation":"Details about mismatched input data types in a node.
" }, "MismatchedNodeOutputTypeFlowValidationDetails":{ "type":"structure", "required":[ "node", "output", "expectedType" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node containing the output with the mismatched data type.
" }, "output":{ "shape":"FlowNodeOutputName", "documentation":"The name of the output with the mismatched data type.
" }, "expectedType":{ "shape":"FlowNodeIODataType", "documentation":"The expected data type for the node output.
" } }, "documentation":"Details about mismatched output data types in a node.
" }, "MissingConnectionConfigurationFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection missing configuration.
" } }, "documentation":"Details about a connection missing required configuration.
" }, "MissingDefaultConditionFlowValidationDetails":{ "type":"structure", "required":["node"], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node missing the default condition.
" } }, "documentation":"Details about a missing default condition in a conditional node.
" }, "MissingEndingNodesFlowValidationDetails":{ "type":"structure", "members":{}, "documentation":"Details about missing ending nodes (such as FlowOutputNode) in the flow.
" }, "MissingLoopControllerNodeFlowValidationDetails":{ "type":"structure", "required":["loopNode"], "members":{ "loopNode":{ "shape":"FlowNodeName", "documentation":"The DoWhile loop in a flow that's missing a required LoopController node.
Details about a flow that's missing a required LoopController node in a DoWhile loop.
The DoWhile loop in a flow that's missing a required LoopInput node.
Details about a flow that's missing a required LoopInput node in a DoWhile loop.
The name of the node missing a required configuration.
" } }, "documentation":"Details about a node missing a required configuration.
" }, "MissingNodeInputFlowValidationDetails":{ "type":"structure", "required":[ "node", "input" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node missing the required input.
" }, "input":{ "shape":"FlowNodeInputName", "documentation":"The name of the missing input.
" } }, "documentation":"Details about a missing required input in a node.
" }, "MissingNodeOutputFlowValidationDetails":{ "type":"structure", "required":[ "node", "output" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node missing the required output.
" }, "output":{ "shape":"FlowNodeOutputName", "documentation":"The name of the missing output.
" } }, "documentation":"Details about a missing required output in a node.
" }, "MissingStartingNodesFlowValidationDetails":{ "type":"structure", "members":{}, "documentation":"Details about missing starting nodes (such as FlowInputNode) in the flow.
" }, "ModelIdentifier":{ "type":"string", "max":2048, "min":1, "pattern":"(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?" }, "MongoDbAtlasCollectionName":{ "type":"string", "max":63, "min":0, "pattern":".*" }, "MongoDbAtlasConfiguration":{ "type":"structure", "required":[ "endpoint", "databaseName", "collectionName", "vectorIndexName", "credentialsSecretArn", "fieldMapping" ], "members":{ "endpoint":{ "shape":"MongoDbAtlasEndpoint", "documentation":"The endpoint URL of your MongoDB Atlas cluster for your knowledge base.
" }, "databaseName":{ "shape":"MongoDbAtlasDatabaseName", "documentation":"The database name in your MongoDB Atlas cluster for your knowledge base.
" }, "collectionName":{ "shape":"MongoDbAtlasCollectionName", "documentation":"The collection name of the knowledge base in MongoDB Atlas.
" }, "vectorIndexName":{ "shape":"MongoDbAtlasIndexName", "documentation":"The name of the MongoDB Atlas vector search index.
" }, "credentialsSecretArn":{ "shape":"SecretArn", "documentation":"The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.
" }, "fieldMapping":{ "shape":"MongoDbAtlasFieldMapping", "documentation":"Contains the names of the fields to which to map information about the vector store.
" }, "endpointServiceName":{ "shape":"MongoDbAtlasEndpointServiceName", "documentation":"The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.
" }, "textIndexName":{ "shape":"MongoDbAtlasIndexName", "documentation":"The name of the text search index in the MongoDB collection. This is required for using the hybrid search feature.
" } }, "documentation":"Contains details about the storage configuration of the knowledge base in MongoDB Atlas.
" }, "MongoDbAtlasDatabaseName":{ "type":"string", "max":63, "min":0, "pattern":".*" }, "MongoDbAtlasEndpoint":{ "type":"string", "max":2048, "min":0, "pattern":".*" }, "MongoDbAtlasEndpointServiceName":{ "type":"string", "max":255, "min":1, "pattern":"(?:arn:aws(?:-us-gov|-cn|-iso|-iso-[a-z])*:.+:.*:\\d+:.+/.+$|[a-zA-Z0-9*]+[a-zA-Z0-9._-]*)" }, "MongoDbAtlasFieldMapping":{ "type":"structure", "required":[ "vectorField", "textField", "metadataField" ], "members":{ "vectorField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
" }, "textField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
" }, "metadataField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores metadata about the vector store.
" } }, "documentation":"Contains the names of the fields to which to map information about the vector store.
" }, "MongoDbAtlasIndexName":{ "type":"string", "max":2048, "min":0, "pattern":".*" }, "MultipleLoopControllerNodesFlowValidationDetails":{ "type":"structure", "required":["loopNode"], "members":{ "loopNode":{ "shape":"FlowNodeName", "documentation":"The DoWhile loop in a flow that contains multiple LoopController nodes.
Details about a flow that contains multiple LoopController nodes in a DoWhile loop.
The DoWhile loop in a flow that contains multiple LoopInput nodes.
Details about a flow that contains multiple LoopInput nodes in a DoWhile loop.
The name of the node containing the input with multiple connections.
" }, "input":{ "shape":"FlowNodeInputName", "documentation":"The name of the input with multiple connections to it.
" } }, "documentation":"Details about multiple connections to a single node input.
" }, "Name":{ "type":"string", "pattern":"([0-9a-zA-Z][_-]?){1,100}" }, "NaturalLanguageString":{ "type":"string", "max":1000, "min":1 }, "NeptuneAnalyticsConfiguration":{ "type":"structure", "required":[ "graphArn", "fieldMapping" ], "members":{ "graphArn":{ "shape":"GraphArn", "documentation":"The Amazon Resource Name (ARN) of the Neptune Analytics vector store.
" }, "fieldMapping":{ "shape":"NeptuneAnalyticsFieldMapping", "documentation":"Contains the names of the fields to which to map information about the vector store.
" } }, "documentation":"Contains details about the storage configuration of the knowledge base in Amazon Neptune Analytics. For more information, see Create a vector index in Amazon Neptune Analytics.
" }, "NeptuneAnalyticsFieldMapping":{ "type":"structure", "required":[ "textField", "metadataField" ], "members":{ "textField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
" }, "metadataField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores metadata about the vector store.
" } }, "documentation":"Contains the names of the fields to which to map information about the vector store.
" }, "NextToken":{ "type":"string", "max":2048, "min":1, "pattern":"\\S*" }, "NonBlankString":{ "type":"string", "pattern":"[\\s\\S]+" }, "NonEmptyString":{ "type":"string", "min":1 }, "NumberValue":{ "type":"double", "box":true, "sensitive":true }, "NumericalVersion":{ "type":"string", "pattern":"[0-9]{1,5}" }, "OpenSearchManagedClusterConfiguration":{ "type":"structure", "required":[ "domainEndpoint", "domainArn", "vectorIndexName", "fieldMapping" ], "members":{ "domainEndpoint":{ "shape":"OpenSearchManagedClusterDomainEndpoint", "documentation":"The endpoint URL the OpenSearch domain.
" }, "domainArn":{ "shape":"OpenSearchManagedClusterDomainArn", "documentation":"The Amazon Resource Name (ARN) of the OpenSearch domain.
" }, "vectorIndexName":{ "shape":"OpenSearchManagedClusterIndexName", "documentation":"The name of the vector store.
" }, "fieldMapping":{ "shape":"OpenSearchManagedClusterFieldMapping", "documentation":"Contains the names of the fields to which to map information about the vector store.
" } }, "documentation":"Contains details about the Managed Cluster configuration of the knowledge base in Amazon OpenSearch Service. For more information, see Create a vector index in OpenSearch Managed Cluster.
" }, "OpenSearchManagedClusterDomainArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:aws(|-cn|-us-gov|-iso):es:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:domain/[a-z][a-z0-9-]{3,28}" }, "OpenSearchManagedClusterDomainEndpoint":{ "type":"string", "max":2048, "min":0, "pattern":"https://.*" }, "OpenSearchManagedClusterFieldMapping":{ "type":"structure", "required":[ "vectorField", "textField", "metadataField" ], "members":{ "vectorField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
" }, "textField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
" }, "metadataField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores metadata about the vector store.
" } }, "documentation":"Contains the names of the fields to which to map information about the vector store.
" }, "OpenSearchManagedClusterIndexName":{ "type":"string", "max":2048, "min":1, "pattern":"(?![\\-_+.])[a-z0-9][a-z0-9\\-_\\.]*", "sensitive":true }, "OpenSearchServerlessCollectionArn":{ "type":"string", "max":2048, "min":0, "pattern":"arn:aws:aoss:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:collection/[a-z0-9-]{3,32}" }, "OpenSearchServerlessConfiguration":{ "type":"structure", "required":[ "collectionArn", "vectorIndexName", "fieldMapping" ], "members":{ "collectionArn":{ "shape":"OpenSearchServerlessCollectionArn", "documentation":"The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
" }, "vectorIndexName":{ "shape":"OpenSearchServerlessIndexName", "documentation":"The name of the vector store.
" }, "fieldMapping":{ "shape":"OpenSearchServerlessFieldMapping", "documentation":"Contains the names of the fields to which to map information about the vector store.
" } }, "documentation":"Contains details about the storage configuration of the knowledge base in Amazon OpenSearch Service. For more information, see Create a vector index in Amazon OpenSearch Service.
" }, "OpenSearchServerlessFieldMapping":{ "type":"structure", "required":[ "vectorField", "textField", "metadataField" ], "members":{ "vectorField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
" }, "textField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
" }, "metadataField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores metadata about the vector store.
" } }, "documentation":"Contains the names of the fields to which to map information about the vector store.
" }, "OpenSearchServerlessIndexName":{ "type":"string", "max":2048, "min":0, "pattern":".*" }, "OrchestrationExecutor":{ "type":"structure", "members":{ "lambda":{ "shape":"LambdaArn", "documentation":"The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
" } }, "documentation":"Contains details about the Lambda function containing the orchestration logic carried out upon invoking the custom orchestration.
", "union":true }, "OrchestrationType":{ "type":"string", "enum":[ "DEFAULT", "CUSTOM_ORCHESTRATION" ] }, "OutputFlowNodeConfiguration":{ "type":"structure", "members":{}, "documentation":"Contains configurations for an output flow node in the flow. You specify the data type expected for the input into the node in the type field and how to return the final output in the expression field.
A description of the parameter. Helps the foundation model determine how to elicit the parameters from the user.
" }, "type":{ "shape":"Type", "documentation":"The data type of the parameter.
" }, "required":{ "shape":"Boolean", "documentation":"Whether the parameter is required for the agent to complete the function for action group invocation.
" } }, "documentation":"Contains details about a parameter in a function for an action group.
This data type is used in the following API operations:
The parsing strategy for the data source. Only SMART_PARSING can be selected for managed knowledge bases. For more information, see Customize ingestion for managed knowledge bases.
If you specify BEDROCK_FOUNDATION_MODEL as the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.
If you specify BEDROCK_DATA_AUTOMATION as the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.
Settings for parsing document contents. If you exclude this field, the default parser converts the contents of each document into text before splitting it into chunks. Specify the parsing strategy to use in the parsingStrategy field and include the relevant configuration, or omit it to use the Amazon Bedrock default parser. For more information, see Parsing options for your data source.
If you specify BEDROCK_DATA_AUTOMATION or BEDROCK_FOUNDATION_MODEL and it fails to parse a file, the Amazon Bedrock default parser will be used instead.
Instructions for interpreting the contents of a document.
" } }, "documentation":"Instructions for interpreting the contents of a document.
" }, "ParsingPromptText":{ "type":"string", "max":10000, "min":1 }, "ParsingStrategy":{ "type":"string", "enum":[ "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING" ] }, "PatternObjectFilter":{ "type":"structure", "required":["objectType"], "members":{ "objectType":{ "shape":"FilteredObjectType", "documentation":"The supported object type or content type of the data source.
" }, "inclusionFilters":{ "shape":"FilterList", "documentation":"A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
" }, "exclusionFilters":{ "shape":"FilterList", "documentation":"A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
" } }, "documentation":"The specific filters applied to your data source content. You can filter out or include certain content.
" }, "PatternObjectFilterConfiguration":{ "type":"structure", "required":["filters"], "members":{ "filters":{ "shape":"PatternObjectFilterList", "documentation":"The configuration of specific filters applied to your data source content. You can filter out or include certain content.
" } }, "documentation":"The configuration of filtering certain objects or content types of the data source.
" }, "PatternObjectFilterList":{ "type":"list", "member":{"shape":"PatternObjectFilter"}, "max":25, "min":1, "sensitive":true }, "Payload":{ "type":"string", "sensitive":true }, "PerformanceConfigLatency":{ "type":"string", "enum":[ "standard", "optimized" ] }, "PerformanceConfiguration":{ "type":"structure", "members":{ "latency":{ "shape":"PerformanceConfigLatency", "documentation":"The latency optimization setting.
" } }, "documentation":"The performance-related configuration options for the knowledge base retrieval and generation process.
" }, "PineconeConfiguration":{ "type":"structure", "required":[ "connectionString", "credentialsSecretArn", "fieldMapping" ], "members":{ "connectionString":{ "shape":"PineconeConnectionString", "documentation":"The endpoint URL for your index management page.
" }, "credentialsSecretArn":{ "shape":"SecretArn", "documentation":"The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.
" }, "namespace":{ "shape":"PineconeNamespace", "documentation":"The namespace to be used to write new data to your database.
" }, "fieldMapping":{ "shape":"PineconeFieldMapping", "documentation":"Contains the names of the fields to which to map information about the vector store.
" } }, "documentation":"Contains details about the storage configuration of the knowledge base in Pinecone. For more information, see Create a vector index in Pinecone.
" }, "PineconeConnectionString":{ "type":"string", "max":2048, "min":0, "pattern":".*" }, "PineconeFieldMapping":{ "type":"structure", "required":[ "textField", "metadataField" ], "members":{ "textField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
" }, "metadataField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores metadata about the vector store.
" } }, "documentation":"Contains the names of the fields to which to map information about the vector store.
" }, "PineconeNamespace":{ "type":"string", "max":2048, "min":0, "pattern":".*" }, "PrepareAgentRequest":{ "type":"structure", "required":["agentId"], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent for which to create a DRAFT version.
The unique identifier of the agent for which the DRAFT version was created.
The status of the DRAFT version and whether it is ready for use.
The version of the agent.
" }, "preparedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the DRAFT version of the agent was last prepared.
The unique identifier of the flow.
", "location":"uri", "locationName":"flowIdentifier" } } }, "PrepareFlowResponse":{ "type":"structure", "required":[ "id", "status" ], "members":{ "id":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "status":{ "shape":"FlowStatus", "documentation":"The status of the flow. When you submit this request, the status will be NotPrepared. If preparation succeeds, the status becomes Prepared. If it fails, the status becomes FAILED.
The ARN of the agent with which to use the prompt.
" } }, "documentation":"Contains specifications for an Amazon Bedrock agent with which to use the prompt. For more information, see Create a prompt using Prompt management and Automate tasks in your application using conversational agents.
", "sensitive":true }, "PromptArn":{ "type":"string", "pattern":"(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?)" }, "PromptConfiguration":{ "type":"structure", "members":{ "promptType":{ "shape":"PromptType", "documentation":"The step in the agent sequence that this prompt configuration applies to.
" }, "promptCreationMode":{ "shape":"CreationMode", "documentation":"Specifies whether to override the default prompt template for this promptType. Set this value to OVERRIDDEN to use the prompt that you provide in the basePromptTemplate. If you leave it as DEFAULT, the agent uses a default prompt template.
Specifies whether to allow the agent to carry out the step specified in the promptType. If you set this value to DISABLED, the agent skips that step. The default state for each promptType is as follows.
PRE_PROCESSING – DISABLED
ORCHESTRATION – ENABLED
KNOWLEDGE_BASE_RESPONSE_GENERATION – ENABLED
POST_PROCESSING – DISABLED
Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see Prompt template placeholder variables. For more information, see Configure the prompt templates.
" }, "inferenceConfiguration":{ "shape":"InferenceConfiguration", "documentation":"Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the promptType. For more information, see Inference parameters for foundation models.
Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the promptType. If you set the field as OVERRIDDEN, the overrideLambda field in the PromptOverrideConfiguration must be specified with the ARN of a Lambda function.
The agent's foundation model.
" }, "additionalModelRequestFields":{ "shape":"Document", "documentation":"If the Converse or ConverseStream operations support the model, additionalModelRequestFields contains additional inference parameters, beyond the base set of inference parameters in the inferenceConfiguration field.
For more information, see Inference request parameters and response fields for foundation models in the Amazon Bedrock user guide.
" } }, "documentation":"Contains configurations to override a prompt template in one part of an agent sequence. For more information, see Advanced prompts.
" }, "PromptConfigurations":{ "type":"list", "member":{"shape":"PromptConfiguration"}, "max":10, "min":0 }, "PromptDescription":{ "type":"string", "max":200, "min":1 }, "PromptFlowNodeConfiguration":{ "type":"structure", "required":["sourceConfiguration"], "members":{ "sourceConfiguration":{ "shape":"PromptFlowNodeSourceConfiguration", "documentation":"Specifies whether the prompt is from Prompt management or defined inline.
" }, "guardrailConfiguration":{ "shape":"GuardrailConfiguration", "documentation":"Contains configurations for a guardrail to apply to the prompt in this node and the response generated from it.
" } }, "documentation":"Contains configurations for a prompt node in the flow. You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
" }, "PromptFlowNodeInlineConfiguration":{ "type":"structure", "required":[ "templateType", "templateConfiguration", "modelId" ], "members":{ "templateType":{ "shape":"PromptTemplateType", "documentation":"The type of prompt template.
" }, "templateConfiguration":{ "shape":"PromptTemplateConfiguration", "documentation":"Contains a prompt and variables in the prompt that can be replaced with values at runtime.
" }, "modelId":{ "shape":"FlowPromptModelIdentifier", "documentation":"The unique identifier of the model or inference profile to run inference with.
" }, "inferenceConfiguration":{ "shape":"PromptInferenceConfiguration", "documentation":"Contains inference configurations for the prompt.
" }, "additionalModelRequestFields":{ "shape":"Document", "documentation":"Additional fields to be included in the model request for the Prompt node.
" } }, "documentation":"Contains configurations for a prompt defined inline in the node.
" }, "PromptFlowNodeResourceConfiguration":{ "type":"structure", "required":["promptArn"], "members":{ "promptArn":{ "shape":"FlowPromptArn", "documentation":"The Amazon Resource Name (ARN) of the prompt from Prompt management.
" } }, "documentation":"Contains configurations for a prompt from Prompt management to use in a node.
" }, "PromptFlowNodeSourceConfiguration":{ "type":"structure", "members":{ "resource":{ "shape":"PromptFlowNodeResourceConfiguration", "documentation":"Contains configurations for a prompt from Prompt management.
" }, "inline":{ "shape":"PromptFlowNodeInlineConfiguration", "documentation":"Contains configurations for a prompt that is defined inline
" } }, "documentation":"Contains configurations for a prompt and whether it is from Prompt management or defined inline.
", "union":true }, "PromptGenAiResource":{ "type":"structure", "members":{ "agent":{ "shape":"PromptAgentResource", "documentation":"Specifies an Amazon Bedrock agent with which to use the prompt.
" } }, "documentation":"Contains specifications for a generative AI resource with which to use the prompt. For more information, see Create a prompt using Prompt management.
", "sensitive":true, "union":true }, "PromptId":{ "type":"string", "pattern":"[0-9a-zA-Z]{10}" }, "PromptIdentifier":{ "type":"string", "pattern":"([0-9a-zA-Z]{10})|(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10})(?::[0-9]{1,5})?" }, "PromptInferenceConfiguration":{ "type":"structure", "members":{ "text":{ "shape":"PromptModelInferenceConfiguration", "documentation":"Contains inference configurations for a text prompt.
" } }, "documentation":"Contains inference configurations for the prompt.
", "union":true }, "PromptInputVariable":{ "type":"structure", "members":{ "name":{ "shape":"PromptInputVariableName", "documentation":"The name of the variable.
" } }, "documentation":"Contains information about a variable in the prompt.
" }, "PromptInputVariableName":{ "type":"string", "pattern":"([0-9a-zA-Z][_-]?){1,100}" }, "PromptInputVariablesList":{ "type":"list", "member":{"shape":"PromptInputVariable"}, "max":20, "min":0, "sensitive":true }, "PromptMetadataEntry":{ "type":"structure", "required":[ "key", "value" ], "members":{ "key":{ "shape":"PromptMetadataKey", "documentation":"The key of a metadata tag for a prompt variant.
" }, "value":{ "shape":"PromptMetadataValue", "documentation":"The value of a metadata tag for a prompt variant.
" } }, "documentation":"Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see Create a prompt using Prompt management.
", "sensitive":true }, "PromptMetadataKey":{ "type":"string", "max":128, "min":1, "pattern":"[a-zA-Z0-9\\s._:/=+@-]*", "sensitive":true }, "PromptMetadataList":{ "type":"list", "member":{"shape":"PromptMetadataEntry"}, "max":50, "min":0, "sensitive":true }, "PromptMetadataValue":{ "type":"string", "max":1024, "min":0, "pattern":"[a-zA-Z0-9\\s._:/=+@-]*", "sensitive":true }, "PromptModelIdentifier":{ "type":"string", "max":2048, "min":1, "pattern":"(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?" }, "PromptModelInferenceConfiguration":{ "type":"structure", "members":{ "temperature":{ "shape":"Temperature", "documentation":"Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
" }, "topP":{ "shape":"TopP", "documentation":"The percentage of most-likely candidates that the model considers for the next token.
" }, "maxTokens":{ "shape":"MaximumLength", "documentation":"The maximum number of tokens to return in the response.
" }, "stopSequences":{ "shape":"StopSequences", "documentation":"A list of strings that define sequences after which the model will stop generating.
" } }, "documentation":"Contains inference configurations related to model inference for a prompt. For more information, see Inference parameters.
" }, "PromptName":{ "type":"string", "pattern":"([0-9a-zA-Z][_-]?){1,100}" }, "PromptOverrideConfiguration":{ "type":"structure", "required":["promptConfigurations"], "members":{ "promptConfigurations":{ "shape":"PromptConfigurations", "documentation":"Contains configurations to override a prompt template in one part of an agent sequence. For more information, see Advanced prompts.
" }, "overrideLambda":{ "shape":"LambdaArn", "documentation":"The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the promptConfigurations must contain a parserMode value that is set to OVERRIDDEN. For more information, see Parser Lambda function in Amazon Bedrock Agents.
Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
", "sensitive":true }, "PromptState":{ "type":"string", "enum":[ "ENABLED", "DISABLED" ] }, "PromptSummaries":{ "type":"list", "member":{"shape":"PromptSummary"}, "max":10, "min":0 }, "PromptSummary":{ "type":"structure", "required":[ "name", "id", "arn", "version", "createdAt", "updatedAt" ], "members":{ "name":{ "shape":"PromptName", "documentation":"The name of the prompt.
" }, "description":{ "shape":"PromptDescription", "documentation":"The description of the prompt.
" }, "id":{ "shape":"PromptId", "documentation":"The unique identifier of the prompt.
" }, "arn":{ "shape":"PromptArn", "documentation":"The Amazon Resource Name (ARN) of the prompt or the prompt version (if you specified a version in the request).
" }, "version":{ "shape":"Version", "documentation":"The version of the prompt that this summary applies to.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the prompt was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the prompt was last updated.
" } }, "documentation":"Contains information about a prompt in your Prompt management tool.
This data type is used in the following API operations:
" }, "PromptTemplateConfiguration":{ "type":"structure", "members":{ "text":{ "shape":"TextPromptTemplateConfiguration", "documentation":"Contains configurations for the text in a message for a prompt.
" }, "chat":{ "shape":"ChatPromptTemplateConfiguration", "documentation":"Contains configurations to use the prompt in a conversational format.
" } }, "documentation":"Contains the message for a prompt. For more information, see Construct and store reusable prompts with Prompt management in Amazon Bedrock.
", "union":true }, "PromptTemplateType":{ "type":"string", "enum":[ "TEXT", "CHAT" ] }, "PromptType":{ "type":"string", "enum":[ "PRE_PROCESSING", "ORCHESTRATION", "POST_PROCESSING", "KNOWLEDGE_BASE_RESPONSE_GENERATION", "MEMORY_SUMMARIZATION" ] }, "PromptVariant":{ "type":"structure", "required":[ "name", "templateType", "templateConfiguration" ], "members":{ "name":{ "shape":"PromptVariantName", "documentation":"The name of the prompt variant.
" }, "templateType":{ "shape":"PromptTemplateType", "documentation":"The type of prompt template to use.
" }, "templateConfiguration":{ "shape":"PromptTemplateConfiguration", "documentation":"Contains configurations for the prompt template.
" }, "modelId":{ "shape":"PromptModelIdentifier", "documentation":"The unique identifier of the model or inference profile with which to run inference on the prompt.
" }, "inferenceConfiguration":{ "shape":"PromptInferenceConfiguration", "documentation":"Contains inference configurations for the prompt variant.
" }, "metadata":{ "shape":"PromptMetadataList", "documentation":"An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant.
" }, "additionalModelRequestFields":{ "shape":"Document", "documentation":"Contains model-specific inference configurations that aren't in the inferenceConfiguration field. To see model-specific inference parameters, see Inference request parameters and response fields for foundation models.
Specifies a generative AI resource with which to use the prompt.
" } }, "documentation":"Contains details about a variant of the prompt.
", "sensitive":true }, "PromptVariantList":{ "type":"list", "member":{"shape":"PromptVariant"}, "max":1, "min":0, "sensitive":true }, "PromptVariantName":{ "type":"string", "pattern":"([0-9a-zA-Z][_-]?){1,100}" }, "ProvisionedModelIdentifier":{ "type":"string", "max":2048, "min":1, "pattern":"((([0-9a-zA-Z][_-]?){1,63})|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:provisioned-model/[a-z0-9]{12}))" }, "PutResourcePolicyRequest":{ "type":"structure", "required":[ "resourceArn", "policy" ], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"The Amazon Resource Name (ARN) of the knowledge base to attach the resource policy to.
", "location":"uri", "locationName":"resourceArn" }, "policy":{ "shape":"ResourcePolicy", "documentation":"The JSON-formatted resource policy to associate with the knowledge base.
", "jsonvalue":true }, "expectedRevisionId":{ "shape":"RevisionId", "documentation":"The expected revision identifier of the resource policy. Use this to prevent conflicts when multiple users update the same policy concurrently. Specify the revisionId from the most recent GetResourcePolicy or PutResourcePolicy response.
The ARN of the knowledge base that the resource policy was attached to.
" }, "revisionId":{ "shape":"RevisionId", "documentation":"The revision identifier of the resource policy. Use this value in the expectedRevisionId field of a subsequent PutResourcePolicy or DeleteResourcePolicy request.
The name of the column for which the other fields in this object apply.
" }, "description":{ "shape":"DescriptionString", "documentation":"A description of the column that helps the query engine understand the contents of the column.
" }, "inclusion":{ "shape":"IncludeExclude", "documentation":"Specifies whether to include or exclude the column during query generation. If you specify EXCLUDE, the column will be ignored. If you specify INCLUDE, all other columns in the table will be ignored.
Contains information about a column in the current table for the query engine to consider.
" }, "QueryGenerationColumnName":{ "type":"string", "max":127, "min":1 }, "QueryGenerationColumns":{ "type":"list", "member":{"shape":"QueryGenerationColumn"} }, "QueryGenerationConfiguration":{ "type":"structure", "members":{ "executionTimeoutSeconds":{ "shape":"QueryExecutionTimeoutSeconds", "documentation":"The time after which query generation will time out.
" }, "generationContext":{ "shape":"QueryGenerationContext", "documentation":"Specifies configurations for context to use during query generation.
" } }, "documentation":"Contains configurations for query generation. For more information, see Build a knowledge base by connecting to a structured data source in the Amazon Bedrock User Guide..
" }, "QueryGenerationContext":{ "type":"structure", "members":{ "tables":{ "shape":"QueryGenerationTables", "documentation":"An array of objects, each of which defines information about a table in the database.
" }, "curatedQueries":{ "shape":"CuratedQueries", "documentation":"An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
" } }, "documentation":">Contains configurations for context to use during query generation.
", "sensitive":true }, "QueryGenerationTable":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"QueryGenerationTableName", "documentation":"The name of the table for which the other fields in this object apply.
" }, "description":{ "shape":"DescriptionString", "documentation":"A description of the table that helps the query engine understand the contents of the table.
" }, "inclusion":{ "shape":"IncludeExclude", "documentation":"Specifies whether to include or exclude the table during query generation. If you specify EXCLUDE, the table will be ignored. If you specify INCLUDE, all other tables will be ignored.
An array of objects, each of which defines information about a column in the table.
" } }, "documentation":"Contains information about a table for the query engine to consider.
" }, "QueryGenerationTableName":{ "type":"string", "pattern":".*\\..*\\..*" }, "QueryGenerationTables":{ "type":"list", "member":{"shape":"QueryGenerationTable"}, "max":50, "min":0 }, "RdsArn":{ "type":"string", "pattern":"arn:aws(|-cn|-us-gov):rds:[a-zA-Z0-9-]*:[0-9]{12}:cluster:[a-zA-Z0-9-]{1,63}" }, "RdsConfiguration":{ "type":"structure", "required":[ "resourceArn", "credentialsSecretArn", "databaseName", "tableName", "fieldMapping" ], "members":{ "resourceArn":{ "shape":"RdsArn", "documentation":"The Amazon Resource Name (ARN) of the vector store.
" }, "credentialsSecretArn":{ "shape":"SecretArn", "documentation":"The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.
" }, "databaseName":{ "shape":"RdsDatabaseName", "documentation":"The name of your Amazon RDS database.
" }, "tableName":{ "shape":"RdsTableName", "documentation":"The name of the table in the database.
" }, "fieldMapping":{ "shape":"RdsFieldMapping", "documentation":"Contains the names of the fields to which to map information about the vector store.
" } }, "documentation":"Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
" }, "RdsDatabaseName":{ "type":"string", "max":63, "min":0, "pattern":"[a-zA-Z0-9_\\-]+" }, "RdsFieldMapping":{ "type":"structure", "required":[ "primaryKeyField", "vectorField", "textField", "metadataField" ], "members":{ "primaryKeyField":{ "shape":"ColumnName", "documentation":"The name of the field in which Amazon Bedrock stores the ID for each entry.
" }, "vectorField":{ "shape":"ColumnName", "documentation":"The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
" }, "textField":{ "shape":"ColumnName", "documentation":"The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
" }, "metadataField":{ "shape":"ColumnName", "documentation":"The name of the field in which Amazon Bedrock stores metadata about the vector store.
" }, "customMetadataField":{ "shape":"ColumnName", "documentation":"Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.
" } }, "documentation":"Contains the names of the fields to which to map information about the vector store.
" }, "RdsTableName":{ "type":"string", "max":63, "min":0, "pattern":"[a-zA-Z0-9_\\.\\-]+" }, "RecommendedAction":{ "type":"string", "max":2048, "min":0 }, "RecommendedActions":{ "type":"list", "member":{"shape":"RecommendedAction"}, "max":2048, "min":0 }, "RedisEnterpriseCloudConfiguration":{ "type":"structure", "required":[ "endpoint", "vectorIndexName", "credentialsSecretArn", "fieldMapping" ], "members":{ "endpoint":{ "shape":"RedisEnterpriseCloudEndpoint", "documentation":"The endpoint URL of the Redis Enterprise Cloud database.
" }, "vectorIndexName":{ "shape":"RedisEnterpriseCloudIndexName", "documentation":"The name of the vector index.
" }, "credentialsSecretArn":{ "shape":"SecretArn", "documentation":"The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database.
" }, "fieldMapping":{ "shape":"RedisEnterpriseCloudFieldMapping", "documentation":"Contains the names of the fields to which to map information about the vector store.
" } }, "documentation":"Contains details about the storage configuration of the knowledge base in Redis Enterprise Cloud. For more information, see Create a vector index in Redis Enterprise Cloud.
" }, "RedisEnterpriseCloudEndpoint":{ "type":"string", "max":2048, "min":0, "pattern":".*" }, "RedisEnterpriseCloudFieldMapping":{ "type":"structure", "required":[ "vectorField", "textField", "metadataField" ], "members":{ "vectorField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
" }, "textField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
" }, "metadataField":{ "shape":"FieldName", "documentation":"The name of the field in which Amazon Bedrock stores metadata about the vector store.
" } }, "documentation":"Contains the names of the fields to which to map information about the vector store.
" }, "RedisEnterpriseCloudIndexName":{ "type":"string", "max":2048, "min":0, "pattern":".*" }, "RedshiftClusterIdentifier":{ "type":"string", "max":63, "min":1 }, "RedshiftConfiguration":{ "type":"structure", "required":[ "storageConfigurations", "queryEngineConfiguration" ], "members":{ "storageConfigurations":{ "shape":"RedshiftQueryEngineStorageConfigurations", "documentation":"Specifies configurations for Amazon Redshift database storage.
" }, "queryEngineConfiguration":{ "shape":"RedshiftQueryEngineConfiguration", "documentation":"Specifies configurations for an Amazon Redshift query engine.
" }, "queryGenerationConfiguration":{ "shape":"QueryGenerationConfiguration", "documentation":"Specifies configurations for generating queries.
" } }, "documentation":"Contains configurations for an Amazon Redshift database. For more information, see Build a knowledge base by connecting to a structured data source in the Amazon Bedrock User Guide.
" }, "RedshiftDatabase":{ "type":"string", "max":200, "min":1 }, "RedshiftProvisionedAuthConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"RedshiftProvisionedAuthType", "documentation":"The type of authentication to use.
" }, "databaseUser":{ "shape":"String", "documentation":"The database username for authentication to an Amazon Redshift provisioned data warehouse.
" }, "usernamePasswordSecretArn":{ "shape":"SecretArn", "documentation":"The ARN of an Secrets Manager secret for authentication.
" } }, "documentation":"Contains configurations for authentication to an Amazon Redshift provisioned data warehouse. Specify the type of authentication to use in the type field and include the corresponding field. If you specify IAM authentication, you don't need to include another field.
The ID of the Amazon Redshift cluster.
" }, "authConfiguration":{ "shape":"RedshiftProvisionedAuthConfiguration", "documentation":"Specifies configurations for authentication to Amazon Redshift.
" } }, "documentation":"Contains configurations for a provisioned Amazon Redshift query engine.
" }, "RedshiftQueryEngineAwsDataCatalogStorageConfiguration":{ "type":"structure", "required":["tableNames"], "members":{ "tableNames":{ "shape":"AwsDataCatalogTableNames", "documentation":"A list of names of the tables to use.
" } }, "documentation":"Contains configurations for storage in Glue Data Catalog.
" }, "RedshiftQueryEngineConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"RedshiftQueryEngineType", "documentation":"The type of query engine.
" }, "serverlessConfiguration":{ "shape":"RedshiftServerlessConfiguration", "documentation":"Specifies configurations for a serverless Amazon Redshift query engine.
" }, "provisionedConfiguration":{ "shape":"RedshiftProvisionedConfiguration", "documentation":"Specifies configurations for a provisioned Amazon Redshift query engine.
" } }, "documentation":"Contains configurations for an Amazon Redshift query engine. Specify the type of query engine in type and include the corresponding field. For more information, see Build a knowledge base by connecting to a structured data source in the Amazon Bedrock User Guide.
The name of the Amazon Redshift database.
" } }, "documentation":"Contains configurations for storage in Amazon Redshift.
" }, "RedshiftQueryEngineStorageConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"RedshiftQueryEngineStorageType", "documentation":"The data storage service to use.
" }, "awsDataCatalogConfiguration":{ "shape":"RedshiftQueryEngineAwsDataCatalogStorageConfiguration", "documentation":"Specifies configurations for storage in Glue Data Catalog.
" }, "redshiftConfiguration":{ "shape":"RedshiftQueryEngineRedshiftStorageConfiguration", "documentation":"Specifies configurations for storage in Amazon Redshift.
" } }, "documentation":"Contains configurations for Amazon Redshift data storage. Specify the data storage service to use in the type field and include the corresponding field. For more information, see Build a knowledge base by connecting to a structured data source in the Amazon Bedrock User Guide.
The type of authentication to use.
" }, "usernamePasswordSecretArn":{ "shape":"SecretArn", "documentation":"The ARN of an Secrets Manager secret for authentication.
" } }, "documentation":"Specifies configurations for authentication to a Redshift Serverless. Specify the type of authentication to use in the type field and include the corresponding field. If you specify IAM authentication, you don't need to include another field.
The ARN of the Amazon Redshift workgroup.
" }, "authConfiguration":{ "shape":"RedshiftServerlessAuthConfiguration", "documentation":"Specifies configurations for authentication to an Amazon Redshift provisioned data warehouse.
" } }, "documentation":"Contains configurations for authentication to Amazon Redshift Serverless.
" }, "RelayConversationHistory":{ "type":"string", "enum":[ "TO_COLLABORATOR", "DISABLED" ] }, "RequireConfirmation":{ "type":"string", "documentation":"Whether the action requires user confirmation.
", "enum":[ "ENABLED", "DISABLED" ] }, "RerankingMetadataSelectionMode":{ "type":"string", "enum":[ "SELECTIVE", "ALL" ] }, "RerankingMetadataSelectiveModeConfiguration":{ "type":"structure", "members":{ "fieldsToInclude":{ "shape":"FieldsForReranking", "documentation":"Specifies the metadata fields to include in the reranking process.
" }, "fieldsToExclude":{ "shape":"FieldsForReranking", "documentation":"Specifies the metadata fields to exclude from the reranking process.
" } }, "documentation":"Configures the metadata fields to include or exclude during the reranking process when using selective mode.
", "union":true }, "ResourceArn":{ "type":"string", "max":1011, "min":20, "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:knowledge-base/[0-9a-zA-Z]+" }, "ResourceNotFoundException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "ResourcePolicy":{ "type":"string", "max":20480, "min":1, "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+" }, "RetrievalFlowNodeConfiguration":{ "type":"structure", "required":["serviceConfiguration"], "members":{ "serviceConfiguration":{ "shape":"RetrievalFlowNodeServiceConfiguration", "documentation":"Contains configurations for the service to use for retrieving data to return as the output from the node.
" } }, "documentation":"Contains configurations for a Retrieval node in a flow. This node retrieves data from the Amazon S3 location that you specify and returns it as the output.
" }, "RetrievalFlowNodeS3Configuration":{ "type":"structure", "required":["bucketName"], "members":{ "bucketName":{ "shape":"FlowS3BucketName", "documentation":"The name of the Amazon S3 bucket from which to retrieve data.
" } }, "documentation":"Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
" }, "RetrievalFlowNodeServiceConfiguration":{ "type":"structure", "members":{ "s3":{ "shape":"RetrievalFlowNodeS3Configuration", "documentation":"Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
" } }, "documentation":"Contains configurations for the service to use for retrieving data to return as the output from the node.
", "union":true }, "RevisionId":{ "type":"string", "max":255, "min":1 }, "S3BucketArn":{ "type":"string", "max":2048, "min":1, "pattern":"arn:aws(|-cn|-us-gov):s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]" }, "S3BucketName":{ "type":"string", "max":63, "min":3, "pattern":"[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]" }, "S3BucketUri":{ "type":"string", "max":2048, "min":1, "pattern":"s3://.{1,128}" }, "S3Content":{ "type":"structure", "required":["s3Location"], "members":{ "s3Location":{ "shape":"S3Location", "documentation":"The S3 location of the file containing the content to ingest.
" } }, "documentation":"Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source.
" }, "S3DataSourceConfiguration":{ "type":"structure", "required":["bucketArn"], "members":{ "bucketArn":{ "shape":"S3BucketArn", "documentation":"The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
" }, "inclusionPrefixes":{ "shape":"S3Prefixes", "documentation":"A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using prefixes.
" }, "bucketOwnerAccountId":{ "shape":"BucketOwnerAccountId", "documentation":"The account ID for the owner of the S3 bucket.
" } }, "documentation":"The configuration information to connect to Amazon S3 as your data source for self-managed knowledge bases. To configure this data source for managed knowledge bases, use managedKnowledgeBaseConnectorConfiguration.
" }, "S3Identifier":{ "type":"structure", "members":{ "s3BucketName":{ "shape":"S3BucketName", "documentation":"The name of the S3 bucket.
" }, "s3ObjectKey":{ "shape":"S3ObjectKey", "documentation":"The S3 object key for the S3 resource.
" } }, "documentation":"The identifier information for an Amazon S3 bucket.
" }, "S3Location":{ "type":"structure", "required":["uri"], "members":{ "uri":{ "shape":"S3BucketUri", "documentation":"The location's URI. For example, s3://my-bucket/chunk-processor/.
An Amazon S3 location.
" }, "S3ObjectKey":{ "type":"string", "max":1024, "min":1, "pattern":"[\\.\\-\\!\\*\\_\\'\\(\\)a-zA-Z0-9][\\.\\-\\!\\*\\_\\'\\(\\)\\/a-zA-Z0-9]*" }, "S3ObjectUri":{ "type":"string", "max":1024, "min":1, "pattern":"s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/.{1,1024}" }, "S3Prefix":{ "type":"string", "max":300, "min":1, "sensitive":true }, "S3Prefixes":{ "type":"list", "member":{"shape":"S3Prefix"}, "max":1, "min":1 }, "S3VectorsConfiguration":{ "type":"structure", "members":{ "vectorBucketArn":{ "shape":"VectorBucketArn", "documentation":"The Amazon Resource Name (ARN) of the S3 bucket where vector embeddings are stored. This bucket contains the vector data used by the knowledge base.
" }, "indexArn":{ "shape":"IndexArn", "documentation":"The Amazon Resource Name (ARN) of the vector index used for the knowledge base. This ARN identifies the specific vector index resource within Amazon Bedrock.
" }, "indexName":{ "shape":"IndexName", "documentation":"The name of the vector index used for the knowledge base. This name identifies the vector index within the Amazon Bedrock service.
" } }, "documentation":"Contains the storage configuration of the knowledge base for S3 vectors.
" }, "SalesforceAuthType":{ "type":"string", "enum":["OAUTH2_CLIENT_CREDENTIALS"] }, "SalesforceCrawlerConfiguration":{ "type":"structure", "members":{ "filterConfiguration":{ "shape":"CrawlFilterConfiguration", "documentation":"The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content.
" } }, "documentation":"The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.
" }, "SalesforceDataSourceConfiguration":{ "type":"structure", "required":["sourceConfiguration"], "members":{ "sourceConfiguration":{ "shape":"SalesforceSourceConfiguration", "documentation":"The endpoint information to connect to your Salesforce data source.
" }, "crawlerConfiguration":{ "shape":"SalesforceCrawlerConfiguration", "documentation":"The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.
" } }, "documentation":"The configuration information to connect to Salesforce as your data source.
" }, "SalesforceSourceConfiguration":{ "type":"structure", "required":[ "hostUrl", "authType", "credentialsSecretArn" ], "members":{ "hostUrl":{ "shape":"HttpsUrl", "documentation":"The Salesforce host URL or instance URL.
" }, "authType":{ "shape":"SalesforceAuthType", "documentation":"The supported authentication type to authenticate and connect to your Salesforce instance.
" }, "credentialsSecretArn":{ "shape":"SecretArn", "documentation":"The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your Salesforce instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Salesforce connection configuration.
" } }, "documentation":"The endpoint information to connect to your Salesforce data source.
" }, "SecretArn":{ "type":"string", "pattern":"arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}" }, "SeedUrl":{ "type":"structure", "members":{ "url":{ "shape":"Url", "documentation":"A seed or starting point URL.
" } }, "documentation":"The seed or starting point URL. You should be authorized to crawl the URL.
" }, "SeedUrls":{ "type":"list", "member":{"shape":"SeedUrl"}, "max":100, "min":1 }, "SemanticChunkingConfiguration":{ "type":"structure", "required":[ "maxTokens", "bufferSize", "breakpointPercentileThreshold" ], "members":{ "maxTokens":{ "shape":"SemanticChunkingConfigurationMaxTokensInteger", "documentation":"The maximum number of tokens that a chunk can contain.
" }, "bufferSize":{ "shape":"SemanticChunkingConfigurationBufferSizeInteger", "documentation":"The buffer size.
" }, "breakpointPercentileThreshold":{ "shape":"SemanticChunkingConfigurationBreakpointPercentileThresholdInteger", "documentation":"The dissimilarity threshold for splitting chunks.
" } }, "documentation":"Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing.
With semantic chunking, each sentence is compared to the next to determine how similar they are. You specify a threshold in the form of a percentile, where adjacent sentences that are less similar than that percentage of sentence pairs are divided into separate chunks. For example, if you set the threshold to 90, then the 10 percent of sentence pairs that are least similar are split. So if you have 101 sentences, 100 sentence pairs are compared, and the 10 with the least similarity are split, creating 11 chunks. These chunks are further split if they exceed the max token size.
You must also specify a buffer size, which determines whether sentences are compared in isolation, or within a moving context window that includes the previous and following sentence. For example, if you set the buffer size to 1, the embedding for sentence 10 is derived from sentences 9, 10, and 11 combined.
The Amazon Resource Name (ARN) of the KMS key used to encrypt the resource.
" } }, "documentation":"Contains the configuration for server-side encryption for your managed knowledge base.
" }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"} }, "documentation":"The number of requests exceeds the service quota. Resubmit your request later.
", "error":{ "httpStatusCode":402, "senderFault":true }, "exception":true }, "SessionSummaryConfiguration":{ "type":"structure", "members":{ "maxRecentSessions":{ "shape":"MaxRecentSessions", "documentation":"Maximum number of recent session summaries to include in the agent's prompt context.
" } }, "documentation":"Configuration for SESSION_SUMMARY memory type enabled for the agent.
" }, "SessionTTL":{ "type":"integer", "box":true, "max":5400, "min":60 }, "SharePointAuthType":{ "type":"string", "enum":[ "OAUTH2_CLIENT_CREDENTIALS", "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS" ] }, "SharePointCrawlerConfiguration":{ "type":"structure", "members":{ "filterConfiguration":{ "shape":"CrawlFilterConfiguration", "documentation":"The configuration of filtering the SharePoint content. For example, configuring regular expression patterns to include or exclude certain content.
" } }, "documentation":"The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.
" }, "SharePointDataSourceConfiguration":{ "type":"structure", "required":["sourceConfiguration"], "members":{ "sourceConfiguration":{ "shape":"SharePointSourceConfiguration", "documentation":"The endpoint information to connect to your SharePoint data source.
" }, "crawlerConfiguration":{ "shape":"SharePointCrawlerConfiguration", "documentation":"The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.
" } }, "documentation":"The configuration information to connect to SharePoint as your data source for self-managed knowledge bases.
" }, "SharePointDomain":{ "type":"string", "max":50, "min":1 }, "SharePointHostType":{ "type":"string", "enum":["ONLINE"] }, "SharePointSiteUrls":{ "type":"list", "member":{"shape":"HttpsUrl"}, "max":100, "min":1 }, "SharePointSourceConfiguration":{ "type":"structure", "required":[ "domain", "siteUrls", "hostType", "authType", "credentialsSecretArn" ], "members":{ "tenantId":{ "shape":"Microsoft365TenantId", "documentation":"The identifier of your Microsoft 365 tenant.
" }, "domain":{ "shape":"SharePointDomain", "documentation":"The domain of your SharePoint instance or site URL/URLs.
" }, "siteUrls":{ "shape":"SharePointSiteUrls", "documentation":"A list of one or more SharePoint site URLs.
" }, "hostType":{ "shape":"SharePointHostType", "documentation":"The supported host type, whether online/cloud or server/on-premises.
" }, "authType":{ "shape":"SharePointAuthType", "documentation":"The supported authentication type to authenticate and connect to your SharePoint site/sites.
" }, "credentialsSecretArn":{ "shape":"SecretArn", "documentation":"The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see SharePoint connection configuration.
" } }, "documentation":"The endpoint information to connect to your SharePoint data source.
" }, "SortOrder":{ "type":"string", "enum":[ "ASCENDING", "DESCENDING" ] }, "SpecificToolChoice":{ "type":"structure", "required":["name"], "members":{ "name":{ "shape":"ToolName", "documentation":"The name of the tool.
" } }, "documentation":"Defines a specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. For more information, see Use a tool to complete an Amazon Bedrock model response.
" }, "SqlKnowledgeBaseConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"QueryEngineType", "documentation":"The type of SQL database to connect to the knowledge base.
" }, "redshiftConfiguration":{ "shape":"RedshiftConfiguration", "documentation":"Specifies configurations for a knowledge base connected to an Amazon Redshift database.
" } }, "documentation":"Contains configurations for a knowledge base connected to an SQL database. Specify the SQL database type in the type field and include the corresponding field. For more information, see Build a knowledge base by connecting to a structured data source in the Amazon Bedrock User Guide.
The unique identifier of the knowledge base for the data ingestion job.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source you want to ingest into your knowledge base.
", "location":"uri", "locationName":"dataSourceId" }, "clientToken":{ "shape":"ClientToken", "documentation":"A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", "idempotencyToken":true }, "description":{ "shape":"Description", "documentation":"A description of the data ingestion job.
" } } }, "StartIngestionJobResponse":{ "type":"structure", "required":["ingestionJob"], "members":{ "ingestionJob":{ "shape":"IngestionJob", "documentation":"Contains information about the data ingestion job.
" } } }, "StepType":{ "type":"string", "enum":["POST_CHUNKING"] }, "StopIngestionJobRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "ingestionJobId" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base for the data ingestion job you want to stop.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source for the data ingestion job you want to stop.
", "location":"uri", "locationName":"dataSourceId" }, "ingestionJobId":{ "shape":"Id", "documentation":"The unique identifier of the data ingestion job you want to stop.
", "location":"uri", "locationName":"ingestionJobId" } } }, "StopIngestionJobResponse":{ "type":"structure", "required":["ingestionJob"], "members":{ "ingestionJob":{ "shape":"IngestionJob", "documentation":"Contains information about the stopped data ingestion job.
" } } }, "StopSequences":{ "type":"list", "member":{"shape":"String"}, "max":4, "min":0 }, "StorageConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"KnowledgeBaseStorageType", "documentation":"The vector store service in which the knowledge base is stored.
" }, "opensearchServerlessConfiguration":{ "shape":"OpenSearchServerlessConfiguration", "documentation":"Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
" }, "opensearchManagedClusterConfiguration":{ "shape":"OpenSearchManagedClusterConfiguration", "documentation":"Contains details about the storage configuration of the knowledge base in OpenSearch Managed Cluster. For more information, see Create a vector index in Amazon OpenSearch Service.
" }, "pineconeConfiguration":{ "shape":"PineconeConfiguration", "documentation":"Contains the storage configuration of the knowledge base in Pinecone.
" }, "redisEnterpriseCloudConfiguration":{ "shape":"RedisEnterpriseCloudConfiguration", "documentation":"Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
" }, "rdsConfiguration":{ "shape":"RdsConfiguration", "documentation":"Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
" }, "mongoDbAtlasConfiguration":{ "shape":"MongoDbAtlasConfiguration", "documentation":"Contains the storage configuration of the knowledge base in MongoDB Atlas.
" }, "neptuneAnalyticsConfiguration":{ "shape":"NeptuneAnalyticsConfiguration", "documentation":"Contains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune. For more information, see Create a vector index in Amazon Neptune Analytics..
" }, "s3VectorsConfiguration":{ "shape":"S3VectorsConfiguration", "documentation":"The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.
" } }, "documentation":"Contains the storage configuration of the knowledge base.
" }, "StorageDays":{ "type":"integer", "box":true, "max":365, "min":0 }, "StorageFlowNodeConfiguration":{ "type":"structure", "required":["serviceConfiguration"], "members":{ "serviceConfiguration":{ "shape":"StorageFlowNodeServiceConfiguration", "documentation":"Contains configurations for the service to use for storing the input into the node.
" } }, "documentation":"Contains configurations for a Storage node in a flow. This node stores the input in an Amazon S3 location that you specify.
" }, "StorageFlowNodeS3Configuration":{ "type":"structure", "required":["bucketName"], "members":{ "bucketName":{ "shape":"FlowS3BucketName", "documentation":"The name of the Amazon S3 bucket in which to store the input into the node.
" } }, "documentation":"Contains configurations for the Amazon S3 location in which to store the input into the node.
" }, "StorageFlowNodeServiceConfiguration":{ "type":"structure", "members":{ "s3":{ "shape":"StorageFlowNodeS3Configuration", "documentation":"Contains configurations for the Amazon S3 location in which to store the input into the node.
" } }, "documentation":"Contains configurations for the service to use for storing the input into the node.
", "union":true }, "String":{"type":"string"}, "StringValue":{ "type":"string", "max":2048, "min":1, "sensitive":true }, "SupplementalDataStorageConfiguration":{ "type":"structure", "required":["storageLocations"], "members":{ "storageLocations":{ "shape":"SupplementalDataStorageLocations", "documentation":"A list of objects specifying storage locations for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.
" } }, "documentation":"Specifies configurations for the storage location of multimedia content (images, audio, and video) extracted from multimodal documents in your data source. This content can be retrieved and returned to the end user with timestamp references for audio and video segments.
" }, "SupplementalDataStorageLocation":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"SupplementalDataStorageLocationType", "documentation":"Specifies the storage service used for this location.
" }, "s3Location":{ "shape":"S3Location", "documentation":"Contains information about the Amazon S3 location for the extracted multimedia content.
" } }, "documentation":"Contains information about a storage location for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.
" }, "SupplementalDataStorageLocationType":{ "type":"string", "enum":["S3"] }, "SupplementalDataStorageLocations":{ "type":"list", "member":{"shape":"SupplementalDataStorageLocation"}, "max":1, "min":1 }, "SupportedLanguages":{ "type":"string", "enum":["Python_3"] }, "SystemContentBlock":{ "type":"structure", "members":{ "text":{ "shape":"NonEmptyString", "documentation":"The text in the system prompt.
" }, "cachePoint":{ "shape":"CachePointBlock", "documentation":"Creates a cache checkpoint within a tool designation
" } }, "documentation":"Contains a system prompt to provide context to the model or to describe how it should behave. For more information, see Create a prompt using Prompt management.
", "sensitive":true, "union":true }, "SystemContentBlocks":{ "type":"list", "member":{"shape":"SystemContentBlock"} }, "TagKey":{ "type":"string", "max":128, "min":1, "pattern":"[a-zA-Z0-9\\s._:/=+@-]*" }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":200, "min":0 }, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"TaggableResourcesArn", "documentation":"The Amazon Resource Name (ARN) of the resource to tag.
", "location":"uri", "locationName":"resourceArn" }, "tags":{ "shape":"TagsMap", "documentation":"An object containing key-value pairs that define the tags to attach to the resource.
" } } }, "TagResourceResponse":{ "type":"structure", "members":{} }, "TagValue":{ "type":"string", "max":256, "min":0, "pattern":"[a-zA-Z0-9\\s._:/=+@-]*" }, "TaggableResourcesArn":{ "type":"string", "max":1011, "min":20, "pattern":".*(^arn:aws:bedrock:[a-zA-Z0-9-]+:/d{12}:(agent|agent-alias|knowledge-base|flow|prompt)/[A-Z0-9]{10}(?:/[A-Z0-9]{10})?$|^arn:aws:bedrock:[a-zA-Z0-9-]+:/d{12}:flow/([A-Z0-9]{10})/alias/([A-Z0-9]{10})$|^arn:aws:bedrock:[a-zA-Z0-9-]+:/d{12}:prompt/([A-Z0-9]{10})?(?::/d+)?$).*" }, "TagsMap":{ "type":"map", "key":{"shape":"TagKey"}, "value":{"shape":"TagValue"} }, "Temperature":{ "type":"float", "box":true, "max":1, "min":0 }, "TextContentDoc":{ "type":"structure", "required":["data"], "members":{ "data":{ "shape":"Data", "documentation":"The text of the content.
" } }, "documentation":"Contains information about content defined inline in text.
" }, "TextPrompt":{ "type":"string", "min":1, "sensitive":true }, "TextPromptTemplateConfiguration":{ "type":"structure", "required":["text"], "members":{ "text":{ "shape":"TextPrompt", "documentation":"The message for the prompt.
" }, "cachePoint":{ "shape":"CachePointBlock", "documentation":"A cache checkpoint within a template configuration.
" }, "inputVariables":{ "shape":"PromptInputVariablesList", "documentation":"An array of the variables in the prompt template.
" } }, "documentation":"Contains configurations for a text prompt template. To include a variable, enclose a word in double curly braces as in {{variable}}.
The number of requests exceeds the limit. Resubmit your request later.
", "error":{ "httpStatusCode":429, "senderFault":true }, "exception":true }, "Tool":{ "type":"structure", "members":{ "toolSpec":{ "shape":"ToolSpecification", "documentation":"The specification for the tool.
" }, "cachePoint":{ "shape":"CachePointBlock", "documentation":"Creates a cache checkpoint within a tool designation
" } }, "documentation":"Contains configurations for a tool that a model can use when generating a response. For more information, see Use a tool to complete an Amazon Bedrock model response.
", "union":true }, "ToolChoice":{ "type":"structure", "members":{ "auto":{ "shape":"AutoToolChoice", "documentation":"Defines tools. The model automatically decides whether to call a tool or to generate text instead.
" }, "any":{ "shape":"AnyToolChoice", "documentation":"Defines tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response.
" }, "tool":{ "shape":"SpecificToolChoice", "documentation":"Defines a specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response.
" } }, "documentation":"Defines which tools the model should request when invoked. For more information, see Use a tool to complete an Amazon Bedrock model response.
", "sensitive":true, "union":true }, "ToolConfiguration":{ "type":"structure", "required":["tools"], "members":{ "tools":{ "shape":"ToolConfigurationToolsList", "documentation":"An array of tools to pass to a model.
" }, "toolChoice":{ "shape":"ToolChoice", "documentation":"Defines which tools the model should request when invoked.
" } }, "documentation":"Configuration information for the tools that the model can use when generating a response. For more information, see Use a tool to complete an Amazon Bedrock model response.
" }, "ToolConfigurationToolsList":{ "type":"list", "member":{"shape":"Tool"}, "min":1, "sensitive":true }, "ToolInputSchema":{ "type":"structure", "members":{ "json":{ "shape":"Document", "documentation":"A JSON object defining the input schema for the tool.
" } }, "documentation":"The input schema for the tool. For more information, see Use a tool to complete an Amazon Bedrock model response.
", "union":true }, "ToolName":{ "type":"string", "max":64, "min":1, "pattern":"[a-zA-Z][a-zA-Z0-9_]*" }, "ToolSpecification":{ "type":"structure", "required":[ "name", "inputSchema" ], "members":{ "name":{ "shape":"ToolName", "documentation":"The name of the tool.
" }, "description":{ "shape":"NonEmptyString", "documentation":"The description of the tool.
" }, "inputSchema":{ "shape":"ToolInputSchema", "documentation":"The input schema for the tool.
" }, "strict":{ "shape":"Boolean", "documentation":"Whether to enforce strict JSON schema adherence for the tool input
" } }, "documentation":"Contains a specification for a tool. For more information, see Use a tool to complete an Amazon Bedrock model response.
" }, "TopK":{ "type":"integer", "box":true, "max":500, "min":0 }, "TopP":{ "type":"float", "box":true, "max":1, "min":0 }, "Transformation":{ "type":"structure", "required":[ "transformationFunction", "stepToApply" ], "members":{ "transformationFunction":{ "shape":"TransformationFunction", "documentation":"A Lambda function that processes documents.
" }, "stepToApply":{ "shape":"StepType", "documentation":"When the service applies the transformation.
" } }, "documentation":"A custom processing step for documents moving through a data source ingestion pipeline. To process documents after they have been converted into chunks, set the step to apply to POST_CHUNKING.
The Lambda function.
" } }, "documentation":"A Lambda function that processes documents.
" }, "TransformationLambdaConfiguration":{ "type":"structure", "required":["lambdaArn"], "members":{ "lambdaArn":{ "shape":"LambdaArn", "documentation":"The function's ARN identifier.
" } }, "documentation":"A Lambda function that processes documents.
" }, "Transformations":{ "type":"list", "member":{"shape":"Transformation"}, "max":1, "min":1 }, "Type":{ "type":"string", "enum":[ "string", "number", "integer", "boolean", "array" ] }, "UnfulfilledNodeInputFlowValidationDetails":{ "type":"structure", "required":[ "node", "input" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node containing the unfulfilled input.
" }, "input":{ "shape":"FlowNodeInputName", "documentation":"The name of the unfulfilled input. An input is unfulfilled if there are no data connections to it.
" } }, "documentation":"Details about an unfulfilled node input with no valid connections.
" }, "UnknownConnectionConditionFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection with the unknown condition.
" } }, "documentation":"Details about an unknown condition for a connection.
" }, "UnknownConnectionSourceFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection with the unknown source.
" } }, "documentation":"Details about an unknown source node for a connection.
" }, "UnknownConnectionSourceOutputFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection with the unknown source output.
" } }, "documentation":"Details about an unknown source output for a connection.
" }, "UnknownConnectionTargetFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection with the unknown target.
" } }, "documentation":"Details about an unknown target node for a connection.
" }, "UnknownConnectionTargetInputFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection with the unknown target input.
" } }, "documentation":"Details about an unknown target input for a connection.
" }, "UnknownNodeInputFlowValidationDetails":{ "type":"structure", "required":[ "node", "input" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the unknown input.
" }, "input":{ "shape":"FlowNodeInputName", "documentation":"The name of the node with the unknown input.
" } }, "documentation":"Details about an unknown input for a node.
" }, "UnknownNodeOutputFlowValidationDetails":{ "type":"structure", "required":[ "node", "output" ], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the node with the unknown output.
" }, "output":{ "shape":"FlowNodeOutputName", "documentation":"The name of the unknown output.
" } }, "documentation":"Details about an unknown output for a node.
" }, "UnreachableNodeFlowValidationDetails":{ "type":"structure", "required":["node"], "members":{ "node":{ "shape":"FlowNodeName", "documentation":"The name of the unreachable node.
" } }, "documentation":"Details about an unreachable node in the flow. A node is unreachable when there are no paths to it from any starting node.
" }, "UnsatisfiedConnectionConditionsFlowValidationDetails":{ "type":"structure", "required":["connection"], "members":{ "connection":{ "shape":"FlowConnectionName", "documentation":"The name of the connection with unsatisfied conditions.
" } }, "documentation":"Details about unsatisfied conditions for a connection. A condition is unsatisfied if it can never be true, for example two branches of condition node cannot be simultaneously true.
" }, "UnspecifiedFlowValidationDetails":{ "type":"structure", "members":{}, "documentation":"Details about an unspecified validation that doesn't fit other categories.
" }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"TaggableResourcesArn", "documentation":"The Amazon Resource Name (ARN) of the resource from which to remove tags.
", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeyList", "documentation":"A list of keys of the tags to remove from the resource.
", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{} }, "UpdateAgentActionGroupRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "actionGroupId", "actionGroupName" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent for which to update the action group.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The unique identifier of the agent version for which to update the action group.
", "location":"uri", "locationName":"agentVersion" }, "actionGroupId":{ "shape":"Id", "documentation":"The unique identifier of the action group.
", "location":"uri", "locationName":"actionGroupId" }, "actionGroupName":{ "shape":"Name", "documentation":"Specifies a new name for the action group.
" }, "description":{ "shape":"Description", "documentation":"Specifies a new name for the action group.
" }, "parentActionGroupSignature":{ "shape":"ActionGroupSignature", "documentation":"Update the built-in or computer use action for this action group. If you specify a value, you must leave the description, apiSchema, and actionGroupExecutor fields empty for this action group.
To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to AMAZON.CodeInterpreter.
To allow your agent to use an Anthropic computer use tool, specify one of the following values.
Computer use is a new Anthropic Claude model capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. When operating computer use functionality, we recommend taking additional security precautions, such as executing computer actions in virtual environments with restricted data access and limited internet connectivity. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.
ANTHROPIC.Computer - Gives the agent permission to use the mouse and keyboard and take screenshots.
ANTHROPIC.TextEditor - Gives the agent permission to view, create and edit files.
ANTHROPIC.Bash - Gives the agent permission to run commands in a bash shell.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
" }, "parentActionGroupSignatureParams":{ "shape":"ActionGroupSignatureParams", "documentation":"The configuration settings for a computer use action.
Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
" }, "actionGroupState":{ "shape":"ActionGroupState", "documentation":"Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" }, "apiSchema":{ "shape":"APISchema", "documentation":"Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
" }, "functionSchema":{ "shape":"FunctionSchema", "documentation":"Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
" } } }, "UpdateAgentActionGroupResponse":{ "type":"structure", "required":["agentActionGroup"], "members":{ "agentActionGroup":{ "shape":"AgentActionGroup", "documentation":"Contains details about the action group that was updated.
" } } }, "UpdateAgentAliasRequest":{ "type":"structure", "required":[ "agentId", "agentAliasId", "agentAliasName" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
", "location":"uri", "locationName":"agentId" }, "agentAliasId":{ "shape":"AgentAliasId", "documentation":"The unique identifier of the alias.
", "location":"uri", "locationName":"agentAliasId" }, "agentAliasName":{ "shape":"Name", "documentation":"Specifies a new name for the alias.
" }, "description":{ "shape":"Description", "documentation":"Specifies a new description for the alias.
" }, "routingConfiguration":{ "shape":"AgentAliasRoutingConfiguration", "documentation":"Contains details about the routing configuration of the alias.
" }, "aliasInvocationState":{ "shape":"AliasInvocationState", "documentation":"The invocation state for the agent alias. To pause the agent alias, set the value to REJECT_INVOCATIONS. To start the agent alias running again, set the value to ACCEPT_INVOCATIONS. Use the GetAgentAlias, or ListAgentAliases, operation to get the invocation state of an agent alias.
Contains details about the alias that was updated.
" } } }, "UpdateAgentCollaboratorRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "collaboratorId", "agentDescriptor", "collaboratorName", "collaborationInstruction" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The agent's ID.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The agent's version.
", "location":"uri", "locationName":"agentVersion" }, "collaboratorId":{ "shape":"Id", "documentation":"The collaborator's ID.
", "location":"uri", "locationName":"collaboratorId" }, "agentDescriptor":{ "shape":"AgentDescriptor", "documentation":"An agent descriptor for the agent collaborator.
" }, "collaboratorName":{ "shape":"Name", "documentation":"The collaborator's name.
" }, "collaborationInstruction":{ "shape":"CollaborationInstruction", "documentation":"Instruction for the collaborator.
" }, "relayConversationHistory":{ "shape":"RelayConversationHistory", "documentation":"A relay conversation history for the collaborator.
" } } }, "UpdateAgentCollaboratorResponse":{ "type":"structure", "required":["agentCollaborator"], "members":{ "agentCollaborator":{ "shape":"AgentCollaborator", "documentation":"Details about the collaborator.
" } } }, "UpdateAgentKnowledgeBaseRequest":{ "type":"structure", "required":[ "agentId", "agentVersion", "knowledgeBaseId" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent associated with the knowledge base that you want to update.
", "location":"uri", "locationName":"agentId" }, "agentVersion":{ "shape":"DraftVersion", "documentation":"The version of the agent associated with the knowledge base that you want to update.
", "location":"uri", "locationName":"agentVersion" }, "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base that has been associated with an agent.
", "location":"uri", "locationName":"knowledgeBaseId" }, "description":{ "shape":"Description", "documentation":"Specifies a new description for the knowledge base associated with an agent.
" }, "knowledgeBaseState":{ "shape":"KnowledgeBaseState", "documentation":"Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
" } } }, "UpdateAgentKnowledgeBaseResponse":{ "type":"structure", "required":["agentKnowledgeBase"], "members":{ "agentKnowledgeBase":{ "shape":"AgentKnowledgeBase", "documentation":"Contains details about the knowledge base that has been associated with an agent.
" } } }, "UpdateAgentRequest":{ "type":"structure", "required":[ "agentId", "agentName", "foundationModel", "agentResourceRoleArn" ], "members":{ "agentId":{ "shape":"Id", "documentation":"The unique identifier of the agent.
", "location":"uri", "locationName":"agentId" }, "agentName":{ "shape":"Name", "documentation":"Specifies a new name for the agent.
" }, "instruction":{ "shape":"Instruction", "documentation":"Specifies new instructions that tell the agent what it should do and how it should interact with users.
" }, "foundationModel":{ "shape":"ModelIdentifier", "documentation":"The identifier for the model that you want to be used for orchestration by the agent you create.
The modelId to provide depends on the type of model or throughput that you use:
If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see Amazon Bedrock base model IDs (on-demand throughput) in the Amazon Bedrock User Guide.
If you use an inference profile, specify the inference profile ID or its ARN. For a list of inference profile IDs, see Supported Regions and models for cross-region inference in the Amazon Bedrock User Guide.
If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see Run inference using a Provisioned Throughput in the Amazon Bedrock User Guide.
If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see Use a custom model in Amazon Bedrock in the Amazon Bedrock User Guide.
If you use an imported model, specify the ARN of the imported model. You can get the model ARN from a successful call to CreateModelImportJob or from the Imported models page in the Amazon Bedrock console.
Specifies a new description of the agent.
" }, "orchestrationType":{ "shape":"OrchestrationType", "documentation":" Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default.
Contains details of the custom orchestration configured for the agent.
" }, "idleSessionTTLInSeconds":{ "shape":"SessionTTL", "documentation":"The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
" }, "agentResourceRoleArn":{ "shape":"AgentRoleArn", "documentation":"The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
" }, "promptOverrideConfiguration":{ "shape":"PromptOverrideConfiguration", "documentation":"Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
" }, "guardrailConfiguration":{ "shape":"GuardrailConfiguration", "documentation":"The unique Guardrail configuration assigned to the agent when it is updated.
" }, "memoryConfiguration":{ "shape":"MemoryConfiguration", "documentation":"Specifies the new memory configuration for the agent.
" }, "agentCollaboration":{ "shape":"AgentCollaboration", "documentation":"The agent's collaboration role.
" } } }, "UpdateAgentResponse":{ "type":"structure", "required":["agent"], "members":{ "agent":{ "shape":"Agent", "documentation":"Contains details about the agent that was updated.
" } } }, "UpdateDataSourceRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "dataSourceId", "name", "dataSourceConfiguration" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base for the data source.
", "location":"uri", "locationName":"knowledgeBaseId" }, "dataSourceId":{ "shape":"Id", "documentation":"The unique identifier of the data source.
", "location":"uri", "locationName":"dataSourceId" }, "name":{ "shape":"Name", "documentation":"Specifies a new name for the data source.
" }, "description":{ "shape":"Description", "documentation":"Specifies a new description for the data source.
" }, "dataSourceConfiguration":{ "shape":"DataSourceConfiguration", "documentation":"The connection configuration for the data source that you want to update.
" }, "dataDeletionPolicy":{ "shape":"DataDeletionPolicy", "documentation":"The data deletion policy for the data source that you want to update.
" }, "serverSideEncryptionConfiguration":{ "shape":"ServerSideEncryptionConfiguration", "documentation":"Contains details about server-side encryption of the data source.
" }, "vectorIngestionConfiguration":{ "shape":"VectorIngestionConfiguration", "documentation":"Contains details about how to ingest the documents in the data source.
" } } }, "UpdateDataSourceResponse":{ "type":"structure", "required":["dataSource"], "members":{ "dataSource":{ "shape":"DataSource", "documentation":"Contains details about the data source.
" } } }, "UpdateFlowAliasRequest":{ "type":"structure", "required":[ "name", "routingConfiguration", "flowIdentifier", "aliasIdentifier" ], "members":{ "name":{ "shape":"Name", "documentation":"The name of the alias.
" }, "description":{ "shape":"Description", "documentation":"A description for the alias.
" }, "routingConfiguration":{ "shape":"FlowAliasRoutingConfiguration", "documentation":"Contains information about the version to which to map the alias.
" }, "concurrencyConfiguration":{ "shape":"FlowAliasConcurrencyConfiguration", "documentation":"The configuration that specifies how nodes in the flow are executed in parallel.
" }, "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow.
", "location":"uri", "locationName":"flowIdentifier" }, "aliasIdentifier":{ "shape":"FlowAliasIdentifier", "documentation":"The unique identifier of the alias.
", "location":"uri", "locationName":"aliasIdentifier" } } }, "UpdateFlowAliasResponse":{ "type":"structure", "required":[ "name", "routingConfiguration", "flowId", "id", "arn", "createdAt", "updatedAt" ], "members":{ "name":{ "shape":"Name", "documentation":"The name of the alias.
" }, "description":{ "shape":"Description", "documentation":"The description of the flow.
" }, "routingConfiguration":{ "shape":"FlowAliasRoutingConfiguration", "documentation":"Contains information about the version that the alias is mapped to.
" }, "concurrencyConfiguration":{ "shape":"FlowAliasConcurrencyConfiguration", "documentation":"The configuration that specifies how nodes in the flow are executed in parallel.
" }, "flowId":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "id":{ "shape":"FlowAliasId", "documentation":"The unique identifier of the alias.
" }, "arn":{ "shape":"FlowAliasArn", "documentation":"The Amazon Resource Name (ARN) of the flow.
" }, "createdAt":{ "shape":"DateTimestamp", "documentation":"The time at which the flow was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the alias was last updated.
" } } }, "UpdateFlowRequest":{ "type":"structure", "required":[ "name", "executionRoleArn", "flowIdentifier" ], "members":{ "name":{ "shape":"FlowName", "documentation":"A name for the flow.
" }, "description":{ "shape":"FlowDescription", "documentation":"A description for the flow.
" }, "executionRoleArn":{ "shape":"FlowExecutionRoleArn", "documentation":"The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
" }, "definition":{ "shape":"FlowDefinition", "documentation":"A definition of the nodes and the connections between the nodes in the flow.
" }, "flowIdentifier":{ "shape":"FlowIdentifier", "documentation":"The unique identifier of the flow.
", "location":"uri", "locationName":"flowIdentifier" } } }, "UpdateFlowResponse":{ "type":"structure", "required":[ "name", "executionRoleArn", "id", "arn", "status", "createdAt", "updatedAt", "version" ], "members":{ "name":{ "shape":"FlowName", "documentation":"The name of the flow.
" }, "description":{ "shape":"FlowDescription", "documentation":"The description of the flow.
" }, "executionRoleArn":{ "shape":"FlowExecutionRoleArn", "documentation":"The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.
" }, "id":{ "shape":"FlowId", "documentation":"The unique identifier of the flow.
" }, "arn":{ "shape":"FlowArn", "documentation":"The Amazon Resource Name (ARN) of the flow.
" }, "status":{ "shape":"FlowStatus", "documentation":"The status of the flow. When you submit this request, the status will be NotPrepared. If updating fails, the status becomes Failed.
The time at which the flow was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the flow was last updated.
" }, "version":{ "shape":"DraftVersion", "documentation":"The version of the flow. When you update a flow, the version updated is the DRAFT version.
A definition of the nodes and the connections between nodes in the flow.
" } } }, "UpdateKnowledgeBaseRequest":{ "type":"structure", "required":[ "knowledgeBaseId", "name", "roleArn", "knowledgeBaseConfiguration" ], "members":{ "knowledgeBaseId":{ "shape":"Id", "documentation":"The unique identifier of the knowledge base to update.
", "location":"uri", "locationName":"knowledgeBaseId" }, "name":{ "shape":"Name", "documentation":"Specifies a new name for the knowledge base.
" }, "description":{ "shape":"Description", "documentation":"Specifies a new description for the knowledge base.
" }, "roleArn":{ "shape":"KnowledgeBaseRoleArn", "documentation":"Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
" }, "knowledgeBaseConfiguration":{ "shape":"KnowledgeBaseConfiguration", "documentation":"Specifies the configuration for the embeddings model used for the knowledge base. You must use the same configuration as when the knowledge base was created.
" }, "storageConfiguration":{ "shape":"StorageConfiguration", "documentation":"Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created.
" } } }, "UpdateKnowledgeBaseResponse":{ "type":"structure", "required":["knowledgeBase"], "members":{ "knowledgeBase":{ "shape":"KnowledgeBase", "documentation":"Contains details about the knowledge base.
" } } }, "UpdatePromptRequest":{ "type":"structure", "required":[ "name", "promptIdentifier" ], "members":{ "name":{ "shape":"PromptName", "documentation":"A name for the prompt.
" }, "description":{ "shape":"PromptDescription", "documentation":"A description for the prompt.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
" }, "defaultVariant":{ "shape":"PromptVariantName", "documentation":"The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
A list of objects, each containing details about a variant of the prompt.
" }, "promptIdentifier":{ "shape":"PromptIdentifier", "documentation":"The unique identifier of the prompt.
", "location":"uri", "locationName":"promptIdentifier" } } }, "UpdatePromptResponse":{ "type":"structure", "required":[ "name", "id", "arn", "version", "createdAt", "updatedAt" ], "members":{ "name":{ "shape":"PromptName", "documentation":"The name of the prompt.
" }, "description":{ "shape":"PromptDescription", "documentation":"The description of the prompt.
" }, "customerEncryptionKeyArn":{ "shape":"KmsKeyArn", "documentation":"The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
" }, "defaultVariant":{ "shape":"PromptVariantName", "documentation":"The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
A list of objects, each containing details about a variant of the prompt.
" }, "id":{ "shape":"PromptId", "documentation":"The unique identifier of the prompt.
" }, "arn":{ "shape":"PromptArn", "documentation":"The Amazon Resource Name (ARN) of the prompt.
" }, "version":{ "shape":"Version", "documentation":"The version of the prompt. When you update a prompt, the version updated is the DRAFT version.
The time at which the prompt was created.
" }, "updatedAt":{ "shape":"DateTimestamp", "documentation":"The time at which the prompt was last updated.
" } } }, "Url":{ "type":"string", "pattern":"https?://[A-Za-z0-9][^\\s]*" }, "UrlConfiguration":{ "type":"structure", "members":{ "seedUrls":{ "shape":"SeedUrls", "documentation":"One or more seed or starting point URLs.
" } }, "documentation":"The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.
" }, "UserAgent":{ "type":"string", "max":40, "min":15, "sensitive":true }, "UserAgentHeader":{ "type":"string", "max":86, "min":61, "sensitive":true }, "ValidateFlowDefinitionRequest":{ "type":"structure", "required":["definition"], "members":{ "definition":{ "shape":"FlowDefinition", "documentation":"The definition of a flow to validate.
" } } }, "ValidateFlowDefinitionResponse":{ "type":"structure", "required":["validations"], "members":{ "validations":{ "shape":"FlowValidations", "documentation":"Contains an array of objects, each of which contains an error identified by validation.
" } } }, "ValidationException":{ "type":"structure", "members":{ "message":{"shape":"NonBlankString"}, "fieldList":{ "shape":"ValidationExceptionFieldList", "documentation":"A list of objects containing fields that caused validation errors and their corresponding validation error messages.
" } }, "documentation":"Input validation failed. Check your request parameters and retry the request.
", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "ValidationExceptionField":{ "type":"structure", "required":[ "name", "message" ], "members":{ "name":{ "shape":"NonBlankString", "documentation":"The name of the field.
" }, "message":{ "shape":"NonBlankString", "documentation":"A message describing why this field failed validation.
" } }, "documentation":"Stores information about a field passed inside a request that resulted in an validation error.
" }, "ValidationExceptionFieldList":{ "type":"list", "member":{"shape":"ValidationExceptionField"} }, "VectorBucketArn":{ "type":"string", "sensitive":true }, "VectorIngestionConfiguration":{ "type":"structure", "members":{ "chunkingConfiguration":{ "shape":"ChunkingConfiguration", "documentation":"Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
" }, "customTransformationConfiguration":{ "shape":"CustomTransformationConfiguration", "documentation":"A custom document transformer for parsed data source documents.
" }, "parsingConfiguration":{ "shape":"ParsingConfiguration", "documentation":"Configurations for a parser to use for parsing documents in your data source. If you exclude this field, the default parser will be used.
" }, "contextEnrichmentConfiguration":{ "shape":"ContextEnrichmentConfiguration", "documentation":"The context enrichment configuration used for ingestion of the data into the vector store.
" } }, "documentation":"Contains details about how to ingest the documents in a data source.
" }, "VectorKnowledgeBaseConfiguration":{ "type":"structure", "required":["embeddingModelArn"], "members":{ "embeddingModelArn":{ "shape":"BedrockEmbeddingModelArn", "documentation":"The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
" }, "embeddingModelConfiguration":{ "shape":"EmbeddingModelConfiguration", "documentation":"The embeddings model configuration details for the vector model used in Knowledge Base.
" }, "supplementalDataStorageConfiguration":{ "shape":"SupplementalDataStorageConfiguration", "documentation":"If you include multimodal data from your data source, use this object to specify configurations for the storage location of the images extracted from your documents. These images can be retrieved and returned to the end user. They can also be used in generation when using RetrieveAndGenerate.
" } }, "documentation":"Contains details about the model used to create vector embeddings for the knowledge base.
" }, "VectorSearchBedrockRerankingConfiguration":{ "type":"structure", "required":["modelConfiguration"], "members":{ "modelConfiguration":{ "shape":"VectorSearchBedrockRerankingModelConfiguration", "documentation":"Specifies the configuration for the Amazon Bedrock reranker model.
" }, "numberOfRerankedResults":{ "shape":"VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger", "documentation":"Specifies the number of results to return after reranking.
" }, "metadataConfiguration":{ "shape":"MetadataConfigurationForReranking", "documentation":"Specifies how metadata fields should be handled during the reranking process.
" } }, "documentation":"Configures the Amazon Bedrock reranker model to improve the relevance of retrieved results.
" }, "VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger":{ "type":"integer", "box":true, "max":100, "min":1 }, "VectorSearchBedrockRerankingModelConfiguration":{ "type":"structure", "required":["modelArn"], "members":{ "modelArn":{ "shape":"BedrockRerankingModelArn", "documentation":"The Amazon Resource Name (ARN) of the Amazon Bedrock reranker model.
" }, "additionalModelRequestFields":{ "shape":"AdditionalModelRequestFields", "documentation":"Specifies additional model-specific request parameters as key-value pairs that are included in the request to the Amazon Bedrock reranker model.
" } }, "documentation":"Configures the Amazon Bedrock model used for reranking retrieved results.
" }, "VectorSearchRerankingConfiguration":{ "type":"structure", "required":["type"], "members":{ "type":{ "shape":"VectorSearchRerankingConfigurationType", "documentation":"Specifies the type of reranking model to use. Currently, the only supported value is BEDROCK_RERANKING_MODEL.
Specifies the configuration for using an Amazon Bedrock reranker model to rerank retrieved results.
" } }, "documentation":"Specifies how retrieved results from a knowledge base are reranked to improve relevance.
" }, "VectorSearchRerankingConfigurationType":{ "type":"string", "enum":["BEDROCK_RERANKING_MODEL"] }, "Version":{ "type":"string", "max":5, "min":1, "pattern":"(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})" }, "VideoConfiguration":{ "type":"structure", "required":["segmentationConfiguration"], "members":{ "segmentationConfiguration":{ "shape":"VideoSegmentationConfiguration", "documentation":"Configuration for segmenting video content during processing.
" } }, "documentation":"Configuration settings for processing video content in multimodal knowledge bases.
" }, "VideoConfigurations":{ "type":"list", "member":{ "shape":"VideoConfiguration", "documentation":"Video configuration for multi modal ingestion.
" }, "max":1, "min":1 }, "VideoExtractionConfiguration":{ "type":"structure", "required":["videoExtractionStatus"], "members":{ "videoExtractionStatus":{ "shape":"EnabledOrDisabledState", "documentation":"Whether video extraction is enabled or disabled.
" } }, "documentation":"Configuration for video extraction.
" }, "VideoSegmentationConfiguration":{ "type":"structure", "required":["fixedLengthDuration"], "members":{ "fixedLengthDuration":{ "shape":"VideoSegmentationConfigurationFixedLengthDurationInteger", "documentation":"The duration in seconds for each video segment. Video files will be divided into chunks of this length for processing.
" } }, "documentation":"Configuration for segmenting video content during multimodal knowledge base ingestion. Determines how video files are divided into chunks for processing.
" }, "VideoSegmentationConfigurationFixedLengthDurationInteger":{ "type":"integer", "box":true, "max":30, "min":1 }, "WebCrawlerConfiguration":{ "type":"structure", "members":{ "crawlerLimits":{ "shape":"WebCrawlerLimits", "documentation":"The configuration of crawl limits for the web URLs.
" }, "inclusionFilters":{ "shape":"FilterList", "documentation":"A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.
" }, "exclusionFilters":{ "shape":"FilterList", "documentation":"A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.
" }, "scope":{ "shape":"WebScopeType", "documentation":"The scope of what is crawled for your URLs.
You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL \"https://docs.aws.amazon.com/bedrock/latest/userguide/\" and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain \"aws.amazon.com\" can also include sub domain \"docs.aws.amazon.com\".
" }, "userAgent":{ "shape":"UserAgent", "documentation":"Returns the user agent suffix for your web crawler.
" }, "userAgentHeader":{ "shape":"UserAgentHeader", "documentation":"A string used for identifying the crawler or bot when it accesses a web server. The user agent header value consists of the bedrockbot, UUID, and a user agent suffix for your crawler (if one is provided). By default, it is set to bedrockbot_UUID. You can optionally append a custom suffix to bedrockbot_UUID to allowlist a specific user agent permitted to access your source URLs.
The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.
" }, "WebCrawlerLimits":{ "type":"structure", "members":{ "rateLimit":{ "shape":"WebCrawlerLimitsRateLimitInteger", "documentation":"The max rate at which pages are crawled, up to 300 per minute per host.
" }, "maxPages":{ "shape":"WebCrawlerLimitsMaxPagesInteger", "documentation":"The max number of web pages crawled from your source URLs, up to 25,000 pages. If the web pages exceed this limit, the data source sync will fail and no web pages will be ingested.
" } }, "documentation":"The rate limits for the URLs that you want to crawl. You should be authorized to crawl the URLs.
" }, "WebCrawlerLimitsMaxPagesInteger":{ "type":"integer", "box":true, "min":1 }, "WebCrawlerLimitsRateLimitInteger":{ "type":"integer", "box":true, "max":300, "min":1 }, "WebDataSourceConfiguration":{ "type":"structure", "required":["sourceConfiguration"], "members":{ "sourceConfiguration":{ "shape":"WebSourceConfiguration", "documentation":"The source configuration details for the web data source.
" }, "crawlerConfiguration":{ "shape":"WebCrawlerConfiguration", "documentation":"The Web Crawler configuration details for the web data source.
" } }, "documentation":"The configuration details for the web data source.
" }, "WebScopeType":{ "type":"string", "enum":[ "HOST_ONLY", "SUBDOMAINS" ] }, "WebSourceConfiguration":{ "type":"structure", "required":["urlConfiguration"], "members":{ "urlConfiguration":{ "shape":"UrlConfiguration", "documentation":"The configuration of the URL/URLs.
" } }, "documentation":"The configuration of the URL/URLs for the web content that you want to crawl. You should be authorized to crawl the URLs.
" }, "WorkgroupArn":{ "type":"string", "pattern":"(arn:(aws(-[a-z]+)*):redshift-serverless:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:workgroup/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})" } }, "documentation":"Describes the API operations for creating and managing Amazon Bedrock agents.
" }