public class AssumeRoleProvider extends AssumeRoleBaseProvider
Modifier and Type | Class and Description |
---|---|
static class |
AssumeRoleProvider.AssumeRoleResponse
Object representation of response XML of AssumeRole API.
|
AssumeRoleBaseProvider.Response
DEFAULT_DURATION_SECONDS
Constructor and Description |
---|
AssumeRoleProvider(String stsEndpoint,
String accessKey,
String secretKey,
Integer durationSeconds,
String policy,
String region,
String roleArn,
String roleSessionName,
String externalId,
okhttp3.OkHttpClient customHttpClient) |
Modifier and Type | Method and Description |
---|---|
protected okhttp3.Request |
getRequest() |
protected Class<? extends AssumeRoleBaseProvider.Response> |
getResponseClass() |
fetch, getValidDurationSeconds, newUrlBuilder, parseResponse
public AssumeRoleProvider(@Nonnull String stsEndpoint, @Nonnull String accessKey, @Nonnull String secretKey, @Nullable Integer durationSeconds, @Nullable String policy, @Nullable String region, @Nullable String roleArn, @Nullable String roleSessionName, @Nullable String externalId, @Nullable okhttp3.OkHttpClient customHttpClient) throws NoSuchAlgorithmException
NoSuchAlgorithmException
protected okhttp3.Request getRequest()
getRequest
in class AssumeRoleBaseProvider
protected Class<? extends AssumeRoleBaseProvider.Response> getResponseClass()
getResponseClass
in class AssumeRoleBaseProvider