Package org.apache.iceberg.aws
Class AssumeRoleAwsClientFactory
java.lang.Object
org.apache.iceberg.aws.AssumeRoleAwsClientFactory
- All Implemented Interfaces:
Serializable
,AwsClientFactory
- Direct Known Subclasses:
LakeFormationAwsClientFactory
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder & software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder>
TapplyAssumeRoleConfigurations
(T clientBuilder) protected AwsProperties
software.amazon.awssdk.services.dynamodb.DynamoDbClient
dynamo()
Create a Amazon DynamoDB clientsoftware.amazon.awssdk.services.glue.GlueClient
glue()
create a AWS Glue clientprotected HttpClientProperties
void
initialize
(Map<String, String> properties) Initialize AWS client factory from catalog properties.software.amazon.awssdk.services.kms.KmsClient
kms()
Create a AWS KMS clientprotected String
region()
software.amazon.awssdk.services.s3.S3Client
s3()
create a Amazon S3 clientprotected S3FileIOProperties
-
Constructor Details
-
AssumeRoleAwsClientFactory
public AssumeRoleAwsClientFactory()
-
-
Method Details
-
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
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
-
awsProperties
-
httpClientProperties
-
s3FileIOProperties
-