public final class AwsV1BindingSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CREDENTIAL_PROVIDER_CLASSNAME
V1 credential provider classname: .
|
| Modifier and Type | Method and Description |
|---|---|
static software.amazon.awssdk.auth.credentials.AwsCredentialsProvider |
createAWSV1CredentialProvider(org.apache.hadoop.conf.Configuration conf,
String className,
URI uri,
String key)
Create an AWS credential provider from its class by using reflection.
|
static boolean |
isAwsV1SdkAvailable()
Is the AWS v1 SDK available?
|
public static final String CREDENTIAL_PROVIDER_CLASSNAME
public static boolean isAwsV1SdkAvailable()
public static software.amazon.awssdk.auth.credentials.AwsCredentialsProvider createAWSV1CredentialProvider(org.apache.hadoop.conf.Configuration conf,
String className,
@Nullable
URI uri,
String key)
throws IOException
conf - configurationclassName - credential classnameuri - URI of the FSkey - configuration key to useInstantiationIOException - on any instantiation failure, including v1 SDK not foundIOException - anything else.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.