I think there must be some validation error on the backend of step function schema validation when validating NotificationChannel parameter on async Textract operations such as StartDocumentTextDetection.
On save the step function gets validated and validation error shows up:
The field "SNSTopicArn" is not supported by Step Functions /States/StartDocumentTextDetection/Parameters
For more information, see Amazon States Language
This basically disqualifies Textract with its async invocated operations from use in step functions. Workaround is probably to launch it from lambda function step.
Reproduction Steps
Create step function via aws console with this content:
On save the step function gets validated and validation error shows up:
The field "SNSTopicArn" is not supported by Step Functions /States/StartDocumentTextDetection/Parameters
For more information, see Amazon States Language
Environment
AWS Step Functions Data Science Python SDK version :
Python Version: <!-- Version of Python (run the command python3 --version) -->
I think there must be some validation error on the backend of step function schema validation when validating
NotificationChannel
parameter on async Textract operations such as StartDocumentTextDetection.According to the documentation https://docs.aws.amazon.com/textract/latest/dg/API_StartDocumentTextDetection.html the operation takes parameter
SNSTopicArn
(absolutely crucial param) but this parameter can't be configured when we try to integrate it as a step in a step function.On save the step function gets validated and validation error shows up:
This basically disqualifies Textract with its async invocated operations from use in step functions. Workaround is probably to launch it from lambda function step.
Reproduction Steps
Create step function via aws console with this content:
What did you expect to happen?
step function gets successfuly saved
What actually happened?
On save the step function gets validated and validation error shows up:
Environment
python3 --version
) -->Other
This is :bug: Bug Report