List of usage examples for com.amazonaws.services.codepipeline.model AWSSessionCredentials getSessionToken
public String getSessionToken()
The token for the session.
From source file:jetbrains.buildServer.codepipeline.CodePipelineBuildListener.java
License:Apache License
@NotNull private AmazonS3Client getArtifactS3Client(@NotNull AWSSessionCredentials artifactCredentials, @NotNull Map<String, String> params) { return AWSClients.fromBasicSessionCredentials(artifactCredentials.getAccessKeyId(), artifactCredentials.getSecretAccessKey(), artifactCredentials.getSessionToken(), AWSCommonParams.getRegionName(params)).createS3Client(); }