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!

feita há 4 anos560 visualizações
1 Resposta
0

Answer my own question, it looks something like this:

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

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas