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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则