Skip to content

feature request: Support Third Party HTTP calls in Step Functions #10906

@marc2982

Description

@marc2982

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

Hi,

In my step functions I am using an HTTP Task to call a third-party API but it seems that it's not implemented.

Error: creating Step Functions State Machine (test-step-function-us-east-1): InvalidDefinition: Error=NotImplementedError Args=["Unsupported service: 'http'."] in definition '{
     "Call third-party API": {
       "Type": "Task",
       "Resource": "arn:aws:states:::http:invoke",
       "Parameters": {
         "ApiEndpoint": "<localstack api url>",
         "Method": "POST",
         "Authentication": {
           "ConnectionArn": "<arn>"
         },
         "RequestBody": {
           "client_id": "fake_client_id",
           "client_secret": "fake_client_secret",
           "audience": "fake_audience",
           "grant_type": "client_credentials",
         }
       },
       "ResultSelector": {
         "AccessToken.$": "$.ResponseBody.access_token"
       },
       "ResultPath": "$.OAuthToken"
     },

Thank you!

🧑‍💻 Implementation

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

aws:stepfunctionsAWS Step Functionsstatus: backlogTriaged but not yet being worked ontype: featureNew feature, or improvement to an existing feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions