Package org.apache.iceberg.aws
Class AssumeRoleAwsClientFactory
- java.lang.Object
-
- org.apache.iceberg.aws.AssumeRoleAwsClientFactory
-
- All Implemented Interfaces:
java.io.Serializable
,AwsClientFactory
- Direct Known Subclasses:
LakeFormationAwsClientFactory
public class AssumeRoleAwsClientFactory extends java.lang.Object implements AwsClientFactory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssumeRoleAwsClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder & software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder>
TapplyAssumeRoleConfigurations(T clientBuilder)
protected AwsProperties
awsProperties()
software.amazon.awssdk.services.dynamodb.DynamoDbClient
dynamo()
Create a Amazon DynamoDB clientsoftware.amazon.awssdk.services.glue.GlueClient
glue()
create a AWS Glue clientvoid
initialize(java.util.Map<java.lang.String,java.lang.String> properties)
Initialize AWS client factory from catalog properties.software.amazon.awssdk.services.kms.KmsClient
kms()
Create a AWS KMS clientprotected java.lang.String
region()
software.amazon.awssdk.services.s3.S3Client
s3()
create a Amazon S3 client
-
-
-
Method Detail
-
s3
public software.amazon.awssdk.services.s3.S3Client s3()
Description copied from interface:AwsClientFactory
create a Amazon S3 client- Specified by:
s3
in interfaceAwsClientFactory
- Returns:
- s3 client
-
glue
public software.amazon.awssdk.services.glue.GlueClient glue()
Description copied from interface:AwsClientFactory
create a AWS Glue client- Specified by:
glue
in interfaceAwsClientFactory
- Returns:
- glue client
-
kms
public software.amazon.awssdk.services.kms.KmsClient kms()
Description copied from interface:AwsClientFactory
Create a AWS KMS client- Specified by:
kms
in interfaceAwsClientFactory
- Returns:
- kms client
-
dynamo
public software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamo()
Description copied from interface:AwsClientFactory
Create a Amazon DynamoDB client- Specified by:
dynamo
in interfaceAwsClientFactory
- Returns:
- dynamoDB client
-
initialize
public void initialize(java.util.Map<java.lang.String,java.lang.String> properties)
Description copied from interface:AwsClientFactory
Initialize AWS client factory from catalog properties.- Specified by:
initialize
in interfaceAwsClientFactory
- Parameters:
properties
- catalog properties
-
applyAssumeRoleConfigurations
protected <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder & software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder> T applyAssumeRoleConfigurations(T clientBuilder)
-
region
protected java.lang.String region()
-
awsProperties
protected AwsProperties awsProperties()
-
-