aws2-translate/component.json

1175 lines
40 KiB
JSON
Raw Permalink Normal View History

{
"component": {
"kind": "component",
"name": "aws2-translate",
"title": "AWS Translate",
"description": "Translate texts using AWS Translate and AWS SDK version 2.x.",
"deprecated": false,
"firstVersion": "1.0.0",
"label": "cloud,management",
"javaType": "org.apache.camel.component.aws2.translate.Translate2Component",
"supportLevel": "Stable",
"nativeSupported": true,
"metadata": {
"quarkusVersion": "3.36.0",
"camelArtifact": "org.apache.camel:camel-aws2-translate",
"camelVersion": "4.20.0"
},
"groupId": "org.apache.camel.quarkus",
"artifactId": "camel-quarkus-aws2-translate",
"version": "4.20.0 (CEQ 3.36.0)",
"scheme": "aws2-translate",
"extendsScheme": "",
"syntax": "aws2-translate:label",
"async": false,
"api": false,
"consumerOnly": false,
"producerOnly": true,
"lenientProperties": false,
"browsable": false,
"remote": true
},
"componentProperties": {
"autodetectSourceLanguage": {
"index": 0,
"kind": "property",
"displayName": "Autodetect Source Language",
"group": "producer",
"label": "",
"required": false,
"type": "boolean",
"javaType": "boolean",
"deprecated": false,
"autowired": false,
"secret": false,
"defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Being able to autodetect the source language"
},
"configuration": {
"index": 1,
"kind": "property",
"displayName": "Configuration",
"group": "producer",
"label": "",
"required": false,
"type": "object",
"javaType": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"deprecated": false,
"autowired": false,
"secret": false,
"description": "Component configuration"
},
"lazyStartProducer": {
"index": 2,
"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."
},
"operation": {
"index": 3,
"kind": "property",
"displayName": "Operation",
"group": "producer",
"label": "",
"required": true,
"type": "enum",
"javaType": "org.apache.camel.component.aws2.translate.Translate2Operations",
"enum": [
"translateText"
],
"deprecated": false,
"deprecationNote": "",
"autowired": false,
"secret": false,
"defaultValue": "translateText",
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "The operation to perform"
},
"overrideEndpoint": {
"index": 4,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option"
},
"pojoRequest": {
"index": 5,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "If we want to use a POJO request as body or not"
},
"region": {
"index": 6,
"kind": "property",
"displayName": "Region",
"group": "producer",
"label": "",
"required": false,
"type": "enum",
"javaType": "java.lang.String",
"enum": [
"ap-south-2",
"ap-south-1",
"eu-south-1",
"eu-south-2",
"us-gov-east-1",
"me-central-1",
"il-central-1",
"ca-central-1",
"eu-central-1",
"us-iso-west-1",
"eu-central-2",
"eu-isoe-west-1",
"us-west-1",
"us-west-2",
"af-south-1",
"eu-north-1",
"eu-west-3",
"eu-west-2",
"eu-west-1",
"ap-northeast-3",
"ap-northeast-2",
"ap-northeast-1",
"me-south-1",
"sa-east-1",
"ap-east-1",
"cn-north-1",
"ca-west-1",
"us-gov-west-1",
"ap-southeast-1",
"ap-southeast-2",
"us-iso-east-1",
"ap-southeast-3",
"ap-southeast-4",
"us-east-1",
"us-east-2",
"cn-northwest-1",
"us-isob-east-1",
"aws-global",
"aws-cn-global",
"aws-us-gov-global",
"aws-iso-global",
"aws-iso-b-global"
],
"deprecated": false,
"autowired": false,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "The region in which the Translate 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()"
},
"sourceLanguage": {
"index": 7,
"kind": "property",
"displayName": "Source Language",
"group": "producer",
"label": "",
"required": false,
"type": "string",
"javaType": "java.lang.String",
"deprecated": false,
"autowired": false,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Source language to use"
},
"targetLanguage": {
"index": 8,
"kind": "property",
"displayName": "Target Language",
"group": "producer",
"label": "",
"required": false,
"type": "string",
"javaType": "java.lang.String",
"deprecated": false,
"autowired": false,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Target language to use"
},
"uriEndpointOverride": {
"index": 9,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"
},
"autowiredEnabled": {
"index": 10,
"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."
},
"translateClient": {
"index": 11,
"kind": "property",
"displayName": "Translate Client",
"group": "advanced",
"label": "advanced",
"required": false,
"type": "object",
"javaType": "software.amazon.awssdk.services.translate.TranslateClient",
"deprecated": false,
"deprecationNote": "",
"autowired": true,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "To use an existing configured AWS Translate client"
},
"healthCheckConsumerEnabled": {
"index": 12,
"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": 13,
"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": 14,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "To define a proxy host when instantiating the Translate client"
},
"proxyPort": {
"index": 15,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "To define a proxy port when instantiating the Translate client"
},
"proxyProtocol": {
"index": 16,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "To define a proxy protocol when instantiating the Translate client"
},
"accessKey": {
"index": 17,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Amazon AWS Access Key"
},
"profileCredentialsName": {
"index": 18,
"kind": "property",
"displayName": "Profile Credentials Name",
"group": "security",
"label": "security",
"required": false,
"type": "string",
"javaType": "java.lang.String",
"deprecated": false,
"autowired": false,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "If using a profile credentials provider, this parameter will set the profile name"
},
"secretKey": {
"index": 19,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Amazon AWS Secret Key"
},
"sessionToken": {
"index": 20,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Amazon AWS Session Token used when the user needs to assume an IAM role"
},
"trustAllCertificates": {
"index": 21,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "If we want to trust all certificates in case of overriding the endpoint"
},
"useDefaultCredentialsProvider": {
"index": 22,
"kind": "property",
"displayName": "Use Default Credentials Provider",
"group": "security",
"label": "security",
"required": false,
"type": "boolean",
"javaType": "boolean",
"deprecated": false,
"autowired": false,
"secret": false,
"defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in."
},
"useProfileCredentialsProvider": {
"index": 23,
"kind": "property",
"displayName": "Use Profile Credentials Provider",
"group": "security",
"label": "security",
"required": false,
"type": "boolean",
"javaType": "boolean",
"deprecated": false,
"autowired": false,
"secret": false,
"defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set whether the Translate client should expect to load credentials through a profile credentials provider."
},
"useSessionCredentials": {
"index": 24,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set whether the Translate 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 Translate."
}
},
"headers": {
"CamelAwsTranslateSourceLanguage": {
"index": 0,
"kind": "header",
"displayName": "",
"group": "producer",
"label": "",
"required": false,
"javaType": "String",
"deprecated": false,
"deprecationNote": "",
"autowired": false,
"secret": false,
"description": "The text source language",
"constantName": "org.apache.camel.component.aws2.translate.Translate2Constants#SOURCE_LANGUAGE"
},
"CamelAwsTranslateTargetLanguage": {
"index": 1,
"kind": "header",
"displayName": "",
"group": "producer",
"label": "",
"required": false,
"javaType": "String",
"deprecated": false,
"deprecationNote": "",
"autowired": false,
"secret": false,
"description": "The text target language",
"constantName": "org.apache.camel.component.aws2.translate.Translate2Constants#TARGET_LANGUAGE"
},
"CamelAwsTranslateTerminologyNames": {
"index": 2,
"kind": "header",
"displayName": "",
"group": "producer",
"label": "",
"required": false,
"javaType": "Collection<String>",
"deprecated": false,
"deprecationNote": "",
"autowired": false,
"secret": false,
"description": "The terminologies to use",
"constantName": "org.apache.camel.component.aws2.translate.Translate2Constants#TERMINOLOGY_NAMES"
},
"CamelAwsTranslateOperation": {
"index": 3,
"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.translate.Translate2Constants#OPERATION"
}
},
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Logical name"
},
"autodetectSourceLanguage": {
"index": 1,
"kind": "parameter",
"displayName": "Autodetect Source Language",
"group": "producer",
"label": "",
"required": false,
"type": "boolean",
"javaType": "boolean",
"deprecated": false,
"autowired": false,
"secret": false,
"defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Being able to autodetect the source language"
},
"operation": {
"index": 2,
"kind": "parameter",
"displayName": "Operation",
"group": "producer",
"label": "",
"required": true,
"type": "enum",
"javaType": "org.apache.camel.component.aws2.translate.Translate2Operations",
"enum": [
"translateText"
],
"deprecated": false,
"deprecationNote": "",
"autowired": false,
"secret": false,
"defaultValue": "translateText",
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "The operation to perform"
},
"overrideEndpoint": {
"index": 3,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option"
},
"pojoRequest": {
"index": 4,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "If we want to use a POJO request as body or not"
},
"region": {
"index": 5,
"kind": "parameter",
"displayName": "Region",
"group": "producer",
"label": "",
"required": false,
"type": "enum",
"javaType": "java.lang.String",
"enum": [
"ap-south-2",
"ap-south-1",
"eu-south-1",
"eu-south-2",
"us-gov-east-1",
"me-central-1",
"il-central-1",
"ca-central-1",
"eu-central-1",
"us-iso-west-1",
"eu-central-2",
"eu-isoe-west-1",
"us-west-1",
"us-west-2",
"af-south-1",
"eu-north-1",
"eu-west-3",
"eu-west-2",
"eu-west-1",
"ap-northeast-3",
"ap-northeast-2",
"ap-northeast-1",
"me-south-1",
"sa-east-1",
"ap-east-1",
"cn-north-1",
"ca-west-1",
"us-gov-west-1",
"ap-southeast-1",
"ap-southeast-2",
"us-iso-east-1",
"ap-southeast-3",
"ap-southeast-4",
"us-east-1",
"us-east-2",
"cn-northwest-1",
"us-isob-east-1",
"aws-global",
"aws-cn-global",
"aws-us-gov-global",
"aws-iso-global",
"aws-iso-b-global"
],
"deprecated": false,
"autowired": false,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "The region in which the Translate 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()"
},
"sourceLanguage": {
"index": 6,
"kind": "parameter",
"displayName": "Source Language",
"group": "producer",
"label": "",
"required": false,
"type": "string",
"javaType": "java.lang.String",
"deprecated": false,
"autowired": false,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Source language to use"
},
"targetLanguage": {
"index": 7,
"kind": "parameter",
"displayName": "Target Language",
"group": "producer",
"label": "",
"required": false,
"type": "string",
"javaType": "java.lang.String",
"deprecated": false,
"autowired": false,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Target language to use"
},
"uriEndpointOverride": {
"index": 8,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"
},
"lazyStartProducer": {
"index": 9,
"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."
},
"translateClient": {
"index": 10,
"kind": "parameter",
"displayName": "Translate Client",
"group": "advanced",
"label": "advanced",
"required": false,
"type": "object",
"javaType": "software.amazon.awssdk.services.translate.TranslateClient",
"deprecated": false,
"deprecationNote": "",
"autowired": true,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "To use an existing configured AWS Translate client"
},
"proxyHost": {
"index": 11,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "To define a proxy host when instantiating the Translate client"
},
"proxyPort": {
"index": 12,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "To define a proxy port when instantiating the Translate client"
},
"proxyProtocol": {
"index": 13,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "To define a proxy protocol when instantiating the Translate client"
},
"accessKey": {
"index": 14,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Amazon AWS Access Key"
},
"profileCredentialsName": {
"index": 15,
"kind": "parameter",
"displayName": "Profile Credentials Name",
"group": "security",
"label": "security",
"required": false,
"type": "string",
"javaType": "java.lang.String",
"deprecated": false,
"autowired": false,
"secret": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "If using a profile credentials provider, this parameter will set the profile name"
},
"secretKey": {
"index": 16,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Amazon AWS Secret Key"
},
"sessionToken": {
"index": 17,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Amazon AWS Session Token used when the user needs to assume an IAM role"
},
"trustAllCertificates": {
"index": 18,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "If we want to trust all certificates in case of overriding the endpoint"
},
"useDefaultCredentialsProvider": {
"index": 19,
"kind": "parameter",
"displayName": "Use Default Credentials Provider",
"group": "security",
"label": "security",
"required": false,
"type": "boolean",
"javaType": "boolean",
"deprecated": false,
"autowired": false,
"secret": false,
"defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in."
},
"useProfileCredentialsProvider": {
"index": 20,
"kind": "parameter",
"displayName": "Use Profile Credentials Provider",
"group": "security",
"label": "security",
"required": false,
"type": "boolean",
"javaType": "boolean",
"deprecated": false,
"autowired": false,
"secret": false,
"defaultValue": false,
"configurationClass": "org.apache.camel.component.aws2.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set whether the Translate client should expect to load credentials through a profile credentials provider."
},
"useSessionCredentials": {
"index": 21,
"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.translate.Translate2Configuration",
"configurationField": "configuration",
"description": "Set whether the Translate 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 Translate."
}
},
"propertiesSchema": {
"properties": {
"label": {
"title": "Label",
"description": "Logical name",
"type": "string",
"$comment": "group:producer"
},
"autodetectSourceLanguage": {
"title": "Autodetect Source Language",
"description": "Being able to autodetect the source language",
"type": "boolean",
"$comment": "group:producer",
"default": false
},
"operation": {
"title": "Operation",
"description": "The operation to perform",
"type": "string",
"enum": [
"translateText"
],
"$comment": "group:producer",
"default": "translateText"
},
"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
},
"region": {
"title": "Region",
"description": "The region in which the Translate 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": [
"ap-south-2",
"ap-south-1",
"eu-south-1",
"eu-south-2",
"us-gov-east-1",
"me-central-1",
"il-central-1",
"ca-central-1",
"eu-central-1",
"us-iso-west-1",
"eu-central-2",
"eu-isoe-west-1",
"us-west-1",
"us-west-2",
"af-south-1",
"eu-north-1",
"eu-west-3",
"eu-west-2",
"eu-west-1",
"ap-northeast-3",
"ap-northeast-2",
"ap-northeast-1",
"me-south-1",
"sa-east-1",
"ap-east-1",
"cn-north-1",
"ca-west-1",
"us-gov-west-1",
"ap-southeast-1",
"ap-southeast-2",
"us-iso-east-1",
"ap-southeast-3",
"ap-southeast-4",
"us-east-1",
"us-east-2",
"cn-northwest-1",
"us-isob-east-1",
"aws-global",
"aws-cn-global",
"aws-us-gov-global",
"aws-iso-global",
"aws-iso-b-global"
],
"$comment": "group:producer"
},
"sourceLanguage": {
"title": "Source Language",
"description": "Source language to use",
"type": "string",
"$comment": "group:producer"
},
"targetLanguage": {
"title": "Target Language",
"description": "Target language to use",
"type": "string",
"$comment": "group:producer"
},
"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"
},
"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
},
"translateClient": {
"title": "Translate Client",
"description": "To use an existing configured AWS Translate client",
"type": "string",
"$comment": "group:advanced",
"format": "bean:software.amazon.awssdk.services.translate.TranslateClient"
},
"proxyHost": {
"title": "Proxy Host",
"description": "To define a proxy host when instantiating the Translate client",
"type": "string",
"$comment": "group:proxy"
},
"proxyPort": {
"title": "Proxy Port",
"description": "To define a proxy port when instantiating the Translate client",
"type": "integer",
"$comment": "group:proxy"
},
"proxyProtocol": {
"title": "Proxy Protocol",
"description": "To define a proxy protocol when instantiating the Translate 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"
},
"profileCredentialsName": {
"title": "Profile Credentials Name",
"description": "If using a profile credentials provider, this parameter will set the profile name",
"type": "string",
"$comment": "group:security"
},
"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
},
"useDefaultCredentialsProvider": {
"title": "Use Default Credentials Provider",
"description": "Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.",
"type": "boolean",
"$comment": "group:security",
"default": false
},
"useProfileCredentialsProvider": {
"title": "Use Profile Credentials Provider",
"description": "Set whether the Translate client should expect to load credentials through a profile credentials provider.",
"type": "boolean",
"$comment": "group:security",
"default": false
},
"useSessionCredentials": {
"title": "Use Session Credentials",
"description": "Set whether the Translate 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 Translate.",
"type": "boolean",
"$comment": "group:security",
"default": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"label",
"operation"
]
}
}