1741 lines
62 KiB
JSON
1741 lines
62 KiB
JSON
{
|
|
"component": {
|
|
"kind": "component",
|
|
"name": "aws-bedrock",
|
|
"title": "AWS Bedrock",
|
|
"description": "Invoke Model of AWS Bedrock service.",
|
|
"deprecated": false,
|
|
"firstVersion": "3.10.0",
|
|
"label": "ai,cloud",
|
|
"javaType": "org.apache.camel.component.aws2.bedrock.runtime.BedrockComponent",
|
|
"supportLevel": "Stable",
|
|
"nativeSupported": true,
|
|
"metadata": {
|
|
"quarkusVersion": "3.36.0",
|
|
"camelArtifact": "org.apache.camel:camel-aws-bedrock",
|
|
"camelVersion": "4.20.0"
|
|
},
|
|
"groupId": "org.apache.camel.quarkus",
|
|
"artifactId": "camel-quarkus-aws-bedrock",
|
|
"version": "4.20.0 (CEQ 3.36.0)",
|
|
"scheme": "aws-bedrock",
|
|
"extendsScheme": "",
|
|
"syntax": "aws-bedrock:label",
|
|
"async": false,
|
|
"api": false,
|
|
"consumerOnly": false,
|
|
"producerOnly": true,
|
|
"lenientProperties": false,
|
|
"browsable": false,
|
|
"remote": true
|
|
},
|
|
"componentProperties": {
|
|
"configuration": {
|
|
"index": 0,
|
|
"kind": "property",
|
|
"displayName": "Configuration",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "Component configuration"
|
|
},
|
|
"guardrailIdentifier": {
|
|
"index": 1,
|
|
"kind": "property",
|
|
"displayName": "Guardrail Identifier",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The identifier (ID or ARN) for the guardrail to apply to the model invocation"
|
|
},
|
|
"guardrailTrace": {
|
|
"index": 2,
|
|
"kind": "property",
|
|
"displayName": "Guardrail Trace",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Whether to return trace information from the guardrail"
|
|
},
|
|
"guardrailVersion": {
|
|
"index": 3,
|
|
"kind": "property",
|
|
"displayName": "Guardrail Version",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "DRAFT",
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The version of the guardrail to use. Defaults to DRAFT."
|
|
},
|
|
"includeStreamingMetadata": {
|
|
"index": 4,
|
|
"kind": "property",
|
|
"displayName": "Include Streaming Metadata",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Whether to include streaming metadata in the response headers (completion reason, token count, chunk count)"
|
|
},
|
|
"lazyStartProducer": {
|
|
"index": 5,
|
|
"kind": "property",
|
|
"displayName": "Lazy Start Producer",
|
|
"group": "producer",
|
|
"label": "producer",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
|
},
|
|
"modelId": {
|
|
"index": 6,
|
|
"kind": "property",
|
|
"displayName": "Model Id",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": true,
|
|
"type": "enum",
|
|
"javaType": "java.lang.String",
|
|
"enum": [
|
|
"amazon.titan-text-express-v1",
|
|
"amazon.titan-text-lite-v1",
|
|
"amazon.titan-image-generator-v1",
|
|
"amazon.titan-embed-text-v1",
|
|
"amazon.titan-embed-image-v1",
|
|
"amazon.titan-text-premier-v1:0",
|
|
"amazon.titan-embed-text-v2:0",
|
|
"amazon.titan-image-generator-v2:0",
|
|
"amazon.nova-canvas-v1:0",
|
|
"amazon.nova-lite-v1:0",
|
|
"amazon.nova-micro-v1:0",
|
|
"amazon.nova-premier-v1:0",
|
|
"amazon.nova-pro-v1:0",
|
|
"amazon.nova-reel-v1:0",
|
|
"amazon.nova-reel-v1:1",
|
|
"amazon.nova-sonic-v1:0",
|
|
"amazon.rerank-v1:0",
|
|
"ai21.jamba-1-5-large-v1:0",
|
|
"ai21.jamba-1-5-mini-v1:0",
|
|
"anthropic.claude-3-sonnet-20240229-v1:0",
|
|
"anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
"anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
"anthropic.claude-3-haiku-20240307-v1:0",
|
|
"anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
"anthropic.claude-3-opus-20240229-v1:0",
|
|
"anthropic.claude-3-7-sonnet-20250219-v1:0",
|
|
"anthropic.claude-opus-4-20250514-v1:0",
|
|
"anthropic.claude-sonnet-4-20250514-v1:0",
|
|
"cohere.command-r-plus-v1:0",
|
|
"cohere.command-r-v1:0",
|
|
"cohere.embed-english-v3",
|
|
"cohere.embed-multilingual-v3",
|
|
"cohere.rerank-v3-5:0",
|
|
"meta.llama3-8b-instruct-v1:0",
|
|
"meta.llama3-70b-instruct-v1:0",
|
|
"meta.llama3-1-8b-instruct-v1:0",
|
|
"meta.llama3-1-70b-instruct-v1:0",
|
|
"meta.llama3-1-405b-instruct-v1:0",
|
|
"meta.llama3-2-1b-instruct-v1:0",
|
|
"meta.llama3-2-3b-instruct-v1:0",
|
|
"meta.llama3-2-11b-instruct-v1:0",
|
|
"meta.llama3-2-90b-instruct-v1:0",
|
|
"meta.llama3-3-70b-instruct-v1:0",
|
|
"meta.llama4-maverick-17b-instruct-v1:0",
|
|
"meta.llama4-scout-17b-instruct-v1:0",
|
|
"mistral.mistral-7b-instruct-v0:2",
|
|
"mistral.mixtral-8x7b-instruct-v0:1",
|
|
"mistral.mistral-large-2402-v1:0",
|
|
"mistral.mistral-large-2407-v1:0",
|
|
"mistral.mistral-small-2402-v1:0",
|
|
"mistral.pixtral-large-2502-v1:0",
|
|
"stability.sd3-5-large-v1:0",
|
|
"stability.stable-image-control-sketch-v1:0",
|
|
"stability.stable-image-control-structure-v1:0",
|
|
"stability.stable-image-core-v1:1"
|
|
],
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Define the model Id we are going to use"
|
|
},
|
|
"operation": {
|
|
"index": 7,
|
|
"kind": "property",
|
|
"displayName": "Operation",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": true,
|
|
"type": "enum",
|
|
"javaType": "org.apache.camel.component.aws2.bedrock.runtime.BedrockOperations",
|
|
"enum": [
|
|
"invokeTextModel",
|
|
"invokeImageModel",
|
|
"invokeEmbeddingsModel",
|
|
"invokeTextModelStreaming",
|
|
"invokeImageModelStreaming",
|
|
"invokeEmbeddingsModelStreaming",
|
|
"converse",
|
|
"converseStream",
|
|
"applyGuardrail"
|
|
],
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The operation to perform"
|
|
},
|
|
"overrideEndpoint": {
|
|
"index": 8,
|
|
"kind": "property",
|
|
"displayName": "Override Endpoint",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option"
|
|
},
|
|
"pojoRequest": {
|
|
"index": 9,
|
|
"kind": "property",
|
|
"displayName": "Pojo Request",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "If we want to use a POJO request as body or not"
|
|
},
|
|
"profileCredentialsName": {
|
|
"index": 10,
|
|
"kind": "property",
|
|
"displayName": "Profile Credentials Name",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "false",
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "If using a profile credentials provider, this parameter will set the profile name"
|
|
},
|
|
"region": {
|
|
"index": 11,
|
|
"kind": "property",
|
|
"displayName": "Region",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "enum",
|
|
"javaType": "java.lang.String",
|
|
"enum": [
|
|
"us-east-1",
|
|
"us-east-2",
|
|
"us-west-2",
|
|
"us-gov-west-1",
|
|
"ap-northeast-1",
|
|
"ap-northeast-2",
|
|
"ap-south-1",
|
|
"ap-southeast-1",
|
|
"ap-southeast-2",
|
|
"ca-central-1",
|
|
"eu-central-1",
|
|
"eu-central-2",
|
|
"eu-west-1",
|
|
"eu-west-2",
|
|
"eu-west-3",
|
|
"sa-east-1"
|
|
],
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The region in which Bedrock client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"
|
|
},
|
|
"streamOutputMode": {
|
|
"index": 12,
|
|
"kind": "property",
|
|
"displayName": "Stream Output Mode",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "enum",
|
|
"javaType": "java.lang.String",
|
|
"enum": [
|
|
"complete",
|
|
"chunks"
|
|
],
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "complete",
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The streaming output mode (complete or chunks). In complete mode, the full response is accumulated and returned as a single message. In chunks mode, each chunk is emitted as a separate exchange."
|
|
},
|
|
"uriEndpointOverride": {
|
|
"index": 13,
|
|
"kind": "property",
|
|
"displayName": "Uri Endpoint Override",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"
|
|
},
|
|
"useDefaultCredentialsProvider": {
|
|
"index": 14,
|
|
"kind": "property",
|
|
"displayName": "Use Default Credentials Provider",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set whether the Bedrock client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in."
|
|
},
|
|
"useProfileCredentialsProvider": {
|
|
"index": 15,
|
|
"kind": "property",
|
|
"displayName": "Use Profile Credentials Provider",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set whether the Bedrock client should expect to load credentials through a profile credentials provider."
|
|
},
|
|
"autowiredEnabled": {
|
|
"index": 16,
|
|
"kind": "property",
|
|
"displayName": "Autowired Enabled",
|
|
"group": "advanced",
|
|
"label": "advanced",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."
|
|
},
|
|
"bedrockRuntimeAsyncClient": {
|
|
"index": 17,
|
|
"kind": "property",
|
|
"displayName": "Bedrock Runtime Async Client",
|
|
"group": "advanced",
|
|
"label": "advanced",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": true,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To use an existing configured AWS Bedrock Runtime Async client for streaming operations"
|
|
},
|
|
"bedrockRuntimeClient": {
|
|
"index": 18,
|
|
"kind": "property",
|
|
"displayName": "Bedrock Runtime Client",
|
|
"group": "advanced",
|
|
"label": "advanced",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": true,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To use an existing configured AWS Bedrock Runtime client"
|
|
},
|
|
"healthCheckConsumerEnabled": {
|
|
"index": 19,
|
|
"kind": "property",
|
|
"displayName": "Health Check Consumer Enabled",
|
|
"group": "health",
|
|
"label": "health",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"description": "Used for enabling or disabling all consumer based health checks from this component"
|
|
},
|
|
"healthCheckProducerEnabled": {
|
|
"index": 20,
|
|
"kind": "property",
|
|
"displayName": "Health Check Producer Enabled",
|
|
"group": "health",
|
|
"label": "health",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true."
|
|
},
|
|
"proxyHost": {
|
|
"index": 21,
|
|
"kind": "property",
|
|
"displayName": "Proxy Host",
|
|
"group": "proxy",
|
|
"label": "proxy",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To define a proxy host when instantiating the Bedrock client"
|
|
},
|
|
"proxyPort": {
|
|
"index": 22,
|
|
"kind": "property",
|
|
"displayName": "Proxy Port",
|
|
"group": "proxy",
|
|
"label": "proxy",
|
|
"required": false,
|
|
"type": "integer",
|
|
"javaType": "java.lang.Integer",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To define a proxy port when instantiating the Bedrock client"
|
|
},
|
|
"proxyProtocol": {
|
|
"index": 23,
|
|
"kind": "property",
|
|
"displayName": "Proxy Protocol",
|
|
"group": "proxy",
|
|
"label": "proxy",
|
|
"required": false,
|
|
"type": "enum",
|
|
"javaType": "software.amazon.awssdk.core.Protocol",
|
|
"enum": [
|
|
"HTTP",
|
|
"HTTPS"
|
|
],
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "HTTPS",
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To define a proxy protocol when instantiating the Bedrock client"
|
|
},
|
|
"accessKey": {
|
|
"index": 24,
|
|
"kind": "property",
|
|
"displayName": "Access Key",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": true,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Amazon AWS Access Key"
|
|
},
|
|
"secretKey": {
|
|
"index": 25,
|
|
"kind": "property",
|
|
"displayName": "Secret Key",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": true,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Amazon AWS Secret Key"
|
|
},
|
|
"sessionToken": {
|
|
"index": 26,
|
|
"kind": "property",
|
|
"displayName": "Session Token",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": true,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Amazon AWS Session Token used when the user needs to assume an IAM role"
|
|
},
|
|
"trustAllCertificates": {
|
|
"index": 27,
|
|
"kind": "property",
|
|
"displayName": "Trust All Certificates",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "If we want to trust all certificates in case of overriding the endpoint"
|
|
},
|
|
"useSessionCredentials": {
|
|
"index": 28,
|
|
"kind": "property",
|
|
"displayName": "Use Session Credentials",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set whether the Bedrock client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume an IAM role for doing operations in Bedrock."
|
|
}
|
|
},
|
|
"headers": {
|
|
"CamelAwsBedrockOperation": {
|
|
"index": 0,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The operation we want to perform",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#OPERATION"
|
|
},
|
|
"CamelAwsBedrockContentType": {
|
|
"index": 1,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The model content type",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#MODEL_CONTENT_TYPE"
|
|
},
|
|
"CamelAwsBedrockAcceptContentType": {
|
|
"index": 2,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The model accept content type",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#MODEL_ACCEPT_CONTENT_TYPE"
|
|
},
|
|
"CamelAwsBedrockStreamOutputMode": {
|
|
"index": 3,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The streaming output mode (complete or chunks)",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#STREAM_OUTPUT_MODE"
|
|
},
|
|
"CamelAwsBedrockCompletionReason": {
|
|
"index": 4,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The completion reason for streaming response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#STREAMING_COMPLETION_REASON"
|
|
},
|
|
"CamelAwsBedrockTokenCount": {
|
|
"index": 5,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Integer",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The number of tokens generated in streaming response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#STREAMING_TOKEN_COUNT"
|
|
},
|
|
"CamelAwsBedrockChunkCount": {
|
|
"index": 6,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Integer",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The number of chunks received in streaming response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#STREAMING_CHUNK_COUNT"
|
|
},
|
|
"CamelAwsBedrockConverseMessages": {
|
|
"index": 7,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "List<Message>",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The conversation messages for Converse API",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#CONVERSE_MESSAGES"
|
|
},
|
|
"CamelAwsBedrockConverseSystem": {
|
|
"index": 8,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "List<SystemContentBlock>",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The system prompts for Converse API",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#CONVERSE_SYSTEM"
|
|
},
|
|
"CamelAwsBedrockConverseInferenceConfig": {
|
|
"index": 9,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "InferenceConfiguration",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The inference configuration for Converse API",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#CONVERSE_INFERENCE_CONFIG"
|
|
},
|
|
"CamelAwsBedrockConverseToolConfig": {
|
|
"index": 10,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "ToolConfiguration",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The tool configuration for Converse API",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#CONVERSE_TOOL_CONFIG"
|
|
},
|
|
"CamelAwsBedrockConverseAdditionalFields": {
|
|
"index": 11,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "software.amazon.awssdk.core.document.Document",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The additional model request fields for Converse API",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#CONVERSE_ADDITIONAL_MODEL_REQUEST_FIELDS"
|
|
},
|
|
"CamelAwsBedrockConverseStopReason": {
|
|
"index": 12,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The stop reason from Converse API response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#CONVERSE_STOP_REASON"
|
|
},
|
|
"CamelAwsBedrockConverseUsage": {
|
|
"index": 13,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "TokenUsage",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The usage metrics from Converse API response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#CONVERSE_USAGE"
|
|
},
|
|
"CamelAwsBedrockConverseOutputMessage": {
|
|
"index": 14,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "Message",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The output message from Converse API response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#CONVERSE_OUTPUT_MESSAGE"
|
|
},
|
|
"CamelAwsBedrockGuardrailConfig": {
|
|
"index": 15,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "GuardrailConfiguration",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The guardrail configuration to apply to the request",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#GUARDRAIL_CONFIG"
|
|
},
|
|
"CamelAwsBedrockGuardrailContent": {
|
|
"index": 16,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "List<GuardrailContentBlock>",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The content blocks for ApplyGuardrail operation",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#GUARDRAIL_CONTENT"
|
|
},
|
|
"CamelAwsBedrockGuardrailSource": {
|
|
"index": 17,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The source type for ApplyGuardrail operation (INPUT or OUTPUT)",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#GUARDRAIL_SOURCE"
|
|
},
|
|
"CamelAwsBedrockGuardrailOutput": {
|
|
"index": 18,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "GuardrailAssessment",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The guardrail assessment output from the response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#GUARDRAIL_OUTPUT"
|
|
},
|
|
"CamelAwsBedrockGuardrailTrace": {
|
|
"index": 19,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "GuardrailTrace",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The trace information from guardrail evaluation",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#GUARDRAIL_TRACE"
|
|
},
|
|
"CamelAwsBedrockGuardrailAssessments": {
|
|
"index": 20,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "List<GuardrailAssessment>",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The guardrail assessments from ApplyGuardrail response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#GUARDRAIL_ASSESSMENTS"
|
|
},
|
|
"CamelAwsBedrockGuardrailUsage": {
|
|
"index": 21,
|
|
"kind": "header",
|
|
"displayName": "",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"javaType": "GuardrailUsage",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"description": "The guardrail usage metrics from ApplyGuardrail response",
|
|
"constantName": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConstants#GUARDRAIL_USAGE"
|
|
}
|
|
},
|
|
"properties": {
|
|
"label": {
|
|
"index": 0,
|
|
"kind": "path",
|
|
"displayName": "Label",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": true,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Logical name"
|
|
},
|
|
"guardrailIdentifier": {
|
|
"index": 1,
|
|
"kind": "parameter",
|
|
"displayName": "Guardrail Identifier",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The identifier (ID or ARN) for the guardrail to apply to the model invocation"
|
|
},
|
|
"guardrailTrace": {
|
|
"index": 2,
|
|
"kind": "parameter",
|
|
"displayName": "Guardrail Trace",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Whether to return trace information from the guardrail"
|
|
},
|
|
"guardrailVersion": {
|
|
"index": 3,
|
|
"kind": "parameter",
|
|
"displayName": "Guardrail Version",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "DRAFT",
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The version of the guardrail to use. Defaults to DRAFT."
|
|
},
|
|
"includeStreamingMetadata": {
|
|
"index": 4,
|
|
"kind": "parameter",
|
|
"displayName": "Include Streaming Metadata",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": true,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Whether to include streaming metadata in the response headers (completion reason, token count, chunk count)"
|
|
},
|
|
"modelId": {
|
|
"index": 5,
|
|
"kind": "parameter",
|
|
"displayName": "Model Id",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": true,
|
|
"type": "enum",
|
|
"javaType": "java.lang.String",
|
|
"enum": [
|
|
"amazon.titan-text-express-v1",
|
|
"amazon.titan-text-lite-v1",
|
|
"amazon.titan-image-generator-v1",
|
|
"amazon.titan-embed-text-v1",
|
|
"amazon.titan-embed-image-v1",
|
|
"amazon.titan-text-premier-v1:0",
|
|
"amazon.titan-embed-text-v2:0",
|
|
"amazon.titan-image-generator-v2:0",
|
|
"amazon.nova-canvas-v1:0",
|
|
"amazon.nova-lite-v1:0",
|
|
"amazon.nova-micro-v1:0",
|
|
"amazon.nova-premier-v1:0",
|
|
"amazon.nova-pro-v1:0",
|
|
"amazon.nova-reel-v1:0",
|
|
"amazon.nova-reel-v1:1",
|
|
"amazon.nova-sonic-v1:0",
|
|
"amazon.rerank-v1:0",
|
|
"ai21.jamba-1-5-large-v1:0",
|
|
"ai21.jamba-1-5-mini-v1:0",
|
|
"anthropic.claude-3-sonnet-20240229-v1:0",
|
|
"anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
"anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
"anthropic.claude-3-haiku-20240307-v1:0",
|
|
"anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
"anthropic.claude-3-opus-20240229-v1:0",
|
|
"anthropic.claude-3-7-sonnet-20250219-v1:0",
|
|
"anthropic.claude-opus-4-20250514-v1:0",
|
|
"anthropic.claude-sonnet-4-20250514-v1:0",
|
|
"cohere.command-r-plus-v1:0",
|
|
"cohere.command-r-v1:0",
|
|
"cohere.embed-english-v3",
|
|
"cohere.embed-multilingual-v3",
|
|
"cohere.rerank-v3-5:0",
|
|
"meta.llama3-8b-instruct-v1:0",
|
|
"meta.llama3-70b-instruct-v1:0",
|
|
"meta.llama3-1-8b-instruct-v1:0",
|
|
"meta.llama3-1-70b-instruct-v1:0",
|
|
"meta.llama3-1-405b-instruct-v1:0",
|
|
"meta.llama3-2-1b-instruct-v1:0",
|
|
"meta.llama3-2-3b-instruct-v1:0",
|
|
"meta.llama3-2-11b-instruct-v1:0",
|
|
"meta.llama3-2-90b-instruct-v1:0",
|
|
"meta.llama3-3-70b-instruct-v1:0",
|
|
"meta.llama4-maverick-17b-instruct-v1:0",
|
|
"meta.llama4-scout-17b-instruct-v1:0",
|
|
"mistral.mistral-7b-instruct-v0:2",
|
|
"mistral.mixtral-8x7b-instruct-v0:1",
|
|
"mistral.mistral-large-2402-v1:0",
|
|
"mistral.mistral-large-2407-v1:0",
|
|
"mistral.mistral-small-2402-v1:0",
|
|
"mistral.pixtral-large-2502-v1:0",
|
|
"stability.sd3-5-large-v1:0",
|
|
"stability.stable-image-control-sketch-v1:0",
|
|
"stability.stable-image-control-structure-v1:0",
|
|
"stability.stable-image-core-v1:1"
|
|
],
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Define the model Id we are going to use"
|
|
},
|
|
"operation": {
|
|
"index": 6,
|
|
"kind": "parameter",
|
|
"displayName": "Operation",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": true,
|
|
"type": "enum",
|
|
"javaType": "org.apache.camel.component.aws2.bedrock.runtime.BedrockOperations",
|
|
"enum": [
|
|
"invokeTextModel",
|
|
"invokeImageModel",
|
|
"invokeEmbeddingsModel",
|
|
"invokeTextModelStreaming",
|
|
"invokeImageModelStreaming",
|
|
"invokeEmbeddingsModelStreaming",
|
|
"converse",
|
|
"converseStream",
|
|
"applyGuardrail"
|
|
],
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The operation to perform"
|
|
},
|
|
"overrideEndpoint": {
|
|
"index": 7,
|
|
"kind": "parameter",
|
|
"displayName": "Override Endpoint",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option"
|
|
},
|
|
"pojoRequest": {
|
|
"index": 8,
|
|
"kind": "parameter",
|
|
"displayName": "Pojo Request",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "If we want to use a POJO request as body or not"
|
|
},
|
|
"profileCredentialsName": {
|
|
"index": 9,
|
|
"kind": "parameter",
|
|
"displayName": "Profile Credentials Name",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "false",
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "If using a profile credentials provider, this parameter will set the profile name"
|
|
},
|
|
"region": {
|
|
"index": 10,
|
|
"kind": "parameter",
|
|
"displayName": "Region",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "enum",
|
|
"javaType": "java.lang.String",
|
|
"enum": [
|
|
"us-east-1",
|
|
"us-east-2",
|
|
"us-west-2",
|
|
"us-gov-west-1",
|
|
"ap-northeast-1",
|
|
"ap-northeast-2",
|
|
"ap-south-1",
|
|
"ap-southeast-1",
|
|
"ap-southeast-2",
|
|
"ca-central-1",
|
|
"eu-central-1",
|
|
"eu-central-2",
|
|
"eu-west-1",
|
|
"eu-west-2",
|
|
"eu-west-3",
|
|
"sa-east-1"
|
|
],
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The region in which Bedrock client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"
|
|
},
|
|
"streamOutputMode": {
|
|
"index": 11,
|
|
"kind": "parameter",
|
|
"displayName": "Stream Output Mode",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "enum",
|
|
"javaType": "java.lang.String",
|
|
"enum": [
|
|
"complete",
|
|
"chunks"
|
|
],
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "complete",
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "The streaming output mode (complete or chunks). In complete mode, the full response is accumulated and returned as a single message. In chunks mode, each chunk is emitted as a separate exchange."
|
|
},
|
|
"uriEndpointOverride": {
|
|
"index": 12,
|
|
"kind": "parameter",
|
|
"displayName": "Uri Endpoint Override",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"
|
|
},
|
|
"useDefaultCredentialsProvider": {
|
|
"index": 13,
|
|
"kind": "parameter",
|
|
"displayName": "Use Default Credentials Provider",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set whether the Bedrock client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in."
|
|
},
|
|
"useProfileCredentialsProvider": {
|
|
"index": 14,
|
|
"kind": "parameter",
|
|
"displayName": "Use Profile Credentials Provider",
|
|
"group": "producer",
|
|
"label": "",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set whether the Bedrock client should expect to load credentials through a profile credentials provider."
|
|
},
|
|
"lazyStartProducer": {
|
|
"index": 15,
|
|
"kind": "parameter",
|
|
"displayName": "Lazy Start Producer",
|
|
"group": "producer (advanced)",
|
|
"label": "producer,advanced",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."
|
|
},
|
|
"bedrockRuntimeAsyncClient": {
|
|
"index": 16,
|
|
"kind": "parameter",
|
|
"displayName": "Bedrock Runtime Async Client",
|
|
"group": "advanced",
|
|
"label": "advanced",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": true,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To use an existing configured AWS Bedrock Runtime Async client for streaming operations"
|
|
},
|
|
"bedrockRuntimeClient": {
|
|
"index": 17,
|
|
"kind": "parameter",
|
|
"displayName": "Bedrock Runtime Client",
|
|
"group": "advanced",
|
|
"label": "advanced",
|
|
"required": false,
|
|
"type": "object",
|
|
"javaType": "software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient",
|
|
"deprecated": false,
|
|
"deprecationNote": "",
|
|
"autowired": true,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To use an existing configured AWS Bedrock Runtime client"
|
|
},
|
|
"proxyHost": {
|
|
"index": 18,
|
|
"kind": "parameter",
|
|
"displayName": "Proxy Host",
|
|
"group": "proxy",
|
|
"label": "proxy",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To define a proxy host when instantiating the Bedrock client"
|
|
},
|
|
"proxyPort": {
|
|
"index": 19,
|
|
"kind": "parameter",
|
|
"displayName": "Proxy Port",
|
|
"group": "proxy",
|
|
"label": "proxy",
|
|
"required": false,
|
|
"type": "integer",
|
|
"javaType": "java.lang.Integer",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To define a proxy port when instantiating the Bedrock client"
|
|
},
|
|
"proxyProtocol": {
|
|
"index": 20,
|
|
"kind": "parameter",
|
|
"displayName": "Proxy Protocol",
|
|
"group": "proxy",
|
|
"label": "proxy",
|
|
"required": false,
|
|
"type": "enum",
|
|
"javaType": "software.amazon.awssdk.core.Protocol",
|
|
"enum": [
|
|
"HTTP",
|
|
"HTTPS"
|
|
],
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": "HTTPS",
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "To define a proxy protocol when instantiating the Bedrock client"
|
|
},
|
|
"accessKey": {
|
|
"index": 21,
|
|
"kind": "parameter",
|
|
"displayName": "Access Key",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": true,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Amazon AWS Access Key"
|
|
},
|
|
"secretKey": {
|
|
"index": 22,
|
|
"kind": "parameter",
|
|
"displayName": "Secret Key",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": true,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Amazon AWS Secret Key"
|
|
},
|
|
"sessionToken": {
|
|
"index": 23,
|
|
"kind": "parameter",
|
|
"displayName": "Session Token",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "string",
|
|
"javaType": "java.lang.String",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": true,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Amazon AWS Session Token used when the user needs to assume an IAM role"
|
|
},
|
|
"trustAllCertificates": {
|
|
"index": 24,
|
|
"kind": "parameter",
|
|
"displayName": "Trust All Certificates",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "If we want to trust all certificates in case of overriding the endpoint"
|
|
},
|
|
"useSessionCredentials": {
|
|
"index": 25,
|
|
"kind": "parameter",
|
|
"displayName": "Use Session Credentials",
|
|
"group": "security",
|
|
"label": "security",
|
|
"required": false,
|
|
"type": "boolean",
|
|
"javaType": "boolean",
|
|
"deprecated": false,
|
|
"autowired": false,
|
|
"secret": false,
|
|
"defaultValue": false,
|
|
"configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration",
|
|
"configurationField": "configuration",
|
|
"description": "Set whether the Bedrock client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume an IAM role for doing operations in Bedrock."
|
|
}
|
|
},
|
|
"propertiesSchema": {
|
|
"properties": {
|
|
"label": {
|
|
"title": "Label",
|
|
"description": "Logical name",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"guardrailIdentifier": {
|
|
"title": "Guardrail Identifier",
|
|
"description": "The identifier (ID or ARN) for the guardrail to apply to the model invocation",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"guardrailTrace": {
|
|
"title": "Guardrail Trace",
|
|
"description": "Whether to return trace information from the guardrail",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": false
|
|
},
|
|
"guardrailVersion": {
|
|
"title": "Guardrail Version",
|
|
"description": "The version of the guardrail to use. Defaults to DRAFT.",
|
|
"type": "string",
|
|
"$comment": "group:producer",
|
|
"default": "DRAFT"
|
|
},
|
|
"includeStreamingMetadata": {
|
|
"title": "Include Streaming Metadata",
|
|
"description": "Whether to include streaming metadata in the response headers (completion reason, token count, chunk count)",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": true
|
|
},
|
|
"modelId": {
|
|
"title": "Model Id",
|
|
"description": "Define the model Id we are going to use",
|
|
"type": "string",
|
|
"enum": [
|
|
"amazon.titan-text-express-v1",
|
|
"amazon.titan-text-lite-v1",
|
|
"amazon.titan-image-generator-v1",
|
|
"amazon.titan-embed-text-v1",
|
|
"amazon.titan-embed-image-v1",
|
|
"amazon.titan-text-premier-v1:0",
|
|
"amazon.titan-embed-text-v2:0",
|
|
"amazon.titan-image-generator-v2:0",
|
|
"amazon.nova-canvas-v1:0",
|
|
"amazon.nova-lite-v1:0",
|
|
"amazon.nova-micro-v1:0",
|
|
"amazon.nova-premier-v1:0",
|
|
"amazon.nova-pro-v1:0",
|
|
"amazon.nova-reel-v1:0",
|
|
"amazon.nova-reel-v1:1",
|
|
"amazon.nova-sonic-v1:0",
|
|
"amazon.rerank-v1:0",
|
|
"ai21.jamba-1-5-large-v1:0",
|
|
"ai21.jamba-1-5-mini-v1:0",
|
|
"anthropic.claude-3-sonnet-20240229-v1:0",
|
|
"anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
"anthropic.claude-3-5-sonnet-20241022-v2:0",
|
|
"anthropic.claude-3-haiku-20240307-v1:0",
|
|
"anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
"anthropic.claude-3-opus-20240229-v1:0",
|
|
"anthropic.claude-3-7-sonnet-20250219-v1:0",
|
|
"anthropic.claude-opus-4-20250514-v1:0",
|
|
"anthropic.claude-sonnet-4-20250514-v1:0",
|
|
"cohere.command-r-plus-v1:0",
|
|
"cohere.command-r-v1:0",
|
|
"cohere.embed-english-v3",
|
|
"cohere.embed-multilingual-v3",
|
|
"cohere.rerank-v3-5:0",
|
|
"meta.llama3-8b-instruct-v1:0",
|
|
"meta.llama3-70b-instruct-v1:0",
|
|
"meta.llama3-1-8b-instruct-v1:0",
|
|
"meta.llama3-1-70b-instruct-v1:0",
|
|
"meta.llama3-1-405b-instruct-v1:0",
|
|
"meta.llama3-2-1b-instruct-v1:0",
|
|
"meta.llama3-2-3b-instruct-v1:0",
|
|
"meta.llama3-2-11b-instruct-v1:0",
|
|
"meta.llama3-2-90b-instruct-v1:0",
|
|
"meta.llama3-3-70b-instruct-v1:0",
|
|
"meta.llama4-maverick-17b-instruct-v1:0",
|
|
"meta.llama4-scout-17b-instruct-v1:0",
|
|
"mistral.mistral-7b-instruct-v0:2",
|
|
"mistral.mixtral-8x7b-instruct-v0:1",
|
|
"mistral.mistral-large-2402-v1:0",
|
|
"mistral.mistral-large-2407-v1:0",
|
|
"mistral.mistral-small-2402-v1:0",
|
|
"mistral.pixtral-large-2502-v1:0",
|
|
"stability.sd3-5-large-v1:0",
|
|
"stability.stable-image-control-sketch-v1:0",
|
|
"stability.stable-image-control-structure-v1:0",
|
|
"stability.stable-image-core-v1:1"
|
|
],
|
|
"$comment": "group:producer"
|
|
},
|
|
"operation": {
|
|
"title": "Operation",
|
|
"description": "The operation to perform",
|
|
"type": "string",
|
|
"enum": [
|
|
"invokeTextModel",
|
|
"invokeImageModel",
|
|
"invokeEmbeddingsModel",
|
|
"invokeTextModelStreaming",
|
|
"invokeImageModelStreaming",
|
|
"invokeEmbeddingsModelStreaming",
|
|
"converse",
|
|
"converseStream",
|
|
"applyGuardrail"
|
|
],
|
|
"$comment": "group:producer"
|
|
},
|
|
"overrideEndpoint": {
|
|
"title": "Override Endpoint",
|
|
"description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": false
|
|
},
|
|
"pojoRequest": {
|
|
"title": "Pojo Request",
|
|
"description": "If we want to use a POJO request as body or not",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": false
|
|
},
|
|
"profileCredentialsName": {
|
|
"title": "Profile Credentials Name",
|
|
"description": "If using a profile credentials provider, this parameter will set the profile name",
|
|
"type": "string",
|
|
"$comment": "group:producer",
|
|
"default": "false"
|
|
},
|
|
"region": {
|
|
"title": "Region",
|
|
"description": "The region in which Bedrock client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id()",
|
|
"type": "string",
|
|
"enum": [
|
|
"us-east-1",
|
|
"us-east-2",
|
|
"us-west-2",
|
|
"us-gov-west-1",
|
|
"ap-northeast-1",
|
|
"ap-northeast-2",
|
|
"ap-south-1",
|
|
"ap-southeast-1",
|
|
"ap-southeast-2",
|
|
"ca-central-1",
|
|
"eu-central-1",
|
|
"eu-central-2",
|
|
"eu-west-1",
|
|
"eu-west-2",
|
|
"eu-west-3",
|
|
"sa-east-1"
|
|
],
|
|
"$comment": "group:producer"
|
|
},
|
|
"streamOutputMode": {
|
|
"title": "Stream Output Mode",
|
|
"description": "The streaming output mode (complete or chunks). In complete mode, the full response is accumulated and returned as a single message. In chunks mode, each chunk is emitted as a separate exchange.",
|
|
"type": "string",
|
|
"enum": [
|
|
"complete",
|
|
"chunks"
|
|
],
|
|
"$comment": "group:producer",
|
|
"default": "complete"
|
|
},
|
|
"uriEndpointOverride": {
|
|
"title": "Uri Endpoint Override",
|
|
"description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option",
|
|
"type": "string",
|
|
"$comment": "group:producer"
|
|
},
|
|
"useDefaultCredentialsProvider": {
|
|
"title": "Use Default Credentials Provider",
|
|
"description": "Set whether the Bedrock client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": false
|
|
},
|
|
"useProfileCredentialsProvider": {
|
|
"title": "Use Profile Credentials Provider",
|
|
"description": "Set whether the Bedrock client should expect to load credentials through a profile credentials provider.",
|
|
"type": "boolean",
|
|
"$comment": "group:producer",
|
|
"default": false
|
|
},
|
|
"lazyStartProducer": {
|
|
"title": "Lazy Start Producer",
|
|
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.",
|
|
"type": "boolean",
|
|
"$comment": "group:producer (advanced)",
|
|
"default": false
|
|
},
|
|
"bedrockRuntimeAsyncClient": {
|
|
"title": "Bedrock Runtime Async Client",
|
|
"description": "To use an existing configured AWS Bedrock Runtime Async client for streaming operations",
|
|
"type": "string",
|
|
"$comment": "group:advanced",
|
|
"format": "bean:software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient"
|
|
},
|
|
"bedrockRuntimeClient": {
|
|
"title": "Bedrock Runtime Client",
|
|
"description": "To use an existing configured AWS Bedrock Runtime client",
|
|
"type": "string",
|
|
"$comment": "group:advanced",
|
|
"format": "bean:software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient"
|
|
},
|
|
"proxyHost": {
|
|
"title": "Proxy Host",
|
|
"description": "To define a proxy host when instantiating the Bedrock client",
|
|
"type": "string",
|
|
"$comment": "group:proxy"
|
|
},
|
|
"proxyPort": {
|
|
"title": "Proxy Port",
|
|
"description": "To define a proxy port when instantiating the Bedrock client",
|
|
"type": "integer",
|
|
"$comment": "group:proxy"
|
|
},
|
|
"proxyProtocol": {
|
|
"title": "Proxy Protocol",
|
|
"description": "To define a proxy protocol when instantiating the Bedrock client",
|
|
"type": "string",
|
|
"enum": [
|
|
"HTTP",
|
|
"HTTPS"
|
|
],
|
|
"$comment": "group:proxy",
|
|
"default": "HTTPS"
|
|
},
|
|
"accessKey": {
|
|
"title": "Access Key",
|
|
"description": "Amazon AWS Access Key",
|
|
"type": "string",
|
|
"$comment": "group:security",
|
|
"format": "password"
|
|
},
|
|
"secretKey": {
|
|
"title": "Secret Key",
|
|
"description": "Amazon AWS Secret Key",
|
|
"type": "string",
|
|
"$comment": "group:security",
|
|
"format": "password"
|
|
},
|
|
"sessionToken": {
|
|
"title": "Session Token",
|
|
"description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
|
|
"type": "string",
|
|
"$comment": "group:security",
|
|
"format": "password"
|
|
},
|
|
"trustAllCertificates": {
|
|
"title": "Trust All Certificates",
|
|
"description": "If we want to trust all certificates in case of overriding the endpoint",
|
|
"type": "boolean",
|
|
"$comment": "group:security",
|
|
"default": false
|
|
},
|
|
"useSessionCredentials": {
|
|
"title": "Use Session Credentials",
|
|
"description": "Set whether the Bedrock client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume an IAM role for doing operations in Bedrock.",
|
|
"type": "boolean",
|
|
"$comment": "group:security",
|
|
"default": false
|
|
}
|
|
},
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": [
|
|
"label",
|
|
"modelId",
|
|
"operation"
|
|
]
|
|
}
|
|
} |