我正在尝试通过 Lambda 创建 AppFlow。我已经成功创建了与 Google Analytics 的连接。但是,对于实际流程本身,我遇到了这个错误:
“调用 CreateFlow 操作时发生错误 (ValidationException):创建流请求失败:Googleanalytics 源连接器不支持输出自定义文件类型”
destinationFlowConfigList=[
{
'connectorType': 'S3',
'connectorProfileName': 'Test',
'destinationConnectorProperties': {
'S3': {
'bucketName': 'test-bucket',
's3OutputFormatConfig': {
'fileType': 'JSON', #'CSV'|'JSON'|'PARQUET'
'prefixConfig': {
'prefixType': 'FILENAME', #'FILENAME'|'PATH'|'PATH_AND_FILENAME',
'prefixFormat': 'MINUTE' #'YEAR'|'MONTH'|'DAY'|'HOUR'|'MINUTE'
},
'aggregationConfig': {
'aggregationType': 'None' #'None'|'SingleFile'
}
}
}
}
},
],
tasks=[
{
"taskType": "Filter", #Arithmetic|Filter|Map|Mask|Merge|Truncate|Validate (For projection tasks, selected task type has to be filter)
"sourceFields": [
"ga:users|METRIC",
"ga:newUsers|METRIC"
],
"connectorOperator": {
"GoogleAnalytics": "PROJECTION"
}
}
我尝试将 s3OutputFormatConfig 更改为不同的文件类型无济于事。我错过了什么吗?这是唯一似乎决定文件类型的元素。此外,在线文档并没有真正的帮助。我会很感激任何帮助,请。非常感谢!