What to include for stepfunctions in newer AWS Java SDK 2.x for Maven?

0

Hello.

I'm working on porting from the 1.x to the 2.x AWS Java SDK library. Most of the porting (sns, sqs, secretsmanager, etc.) has been straightforward. However, I'm having trouble finding anything for the stepfunctions client.

I've added:
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>sfn</artifactId>
</dependency>

but then, I'm at a loss for finding the new[er] equivalent for the AWSStepFunctions.java class. Oddly enough, there isn't much examples or references out there for this either. The AWS Java SDK 2.x does not have any examples either.

Thanks!

已提問 4 年前檢視次數 560 次
1 個回答
0

Answer my own question, it looks something like this:

SfnClient stepFunctionsClient = SfnClient.builder().region(Region.US_EAST_1).build();

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南