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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠