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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected software.amazon.awssdk.services.s3.S3AsyncClientBuilderapplyAssumeRoleConfigurations(software.amazon.awssdk.services.s3.S3AsyncClientBuilder clientBuilder) protected software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilderapplyAssumeRoleConfigurations(software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilder clientBuilder) protected <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder & software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder>
TapplyAssumeRoleConfigurations(T clientBuilder) protected AwsClientPropertiesprotected AwsPropertiessoftware.amazon.awssdk.services.dynamodb.DynamoDbClientdynamo()Create a Amazon DynamoDB clientsoftware.amazon.awssdk.services.glue.GlueClientglue()create a AWS Glue clientprotected HttpClientPropertiesvoidinitialize(Map<String, String> properties) Initialize AWS client factory from catalog properties.software.amazon.awssdk.services.kms.KmsClientkms()Create a AWS KMS clientprotected Stringregion()software.amazon.awssdk.services.s3.S3Clients3()create a Amazon S3 clientsoftware.amazon.awssdk.services.s3.S3AsyncClients3Async()create a Amazon S3 async clientprotected S3FileIOProperties
-
Constructor Details
-
AssumeRoleAwsClientFactory
public AssumeRoleAwsClientFactory()
-
-
Method Details
-
s3
public software.amazon.awssdk.services.s3.S3Client s3()Description copied from interface:AwsClientFactorycreate a Amazon S3 client- Specified by:
s3in interfaceAwsClientFactory- Returns:
- s3 client
-
s3Async
public software.amazon.awssdk.services.s3.S3AsyncClient s3Async()Description copied from interface:AwsClientFactorycreate a Amazon S3 async client- Specified by:
s3Asyncin interfaceAwsClientFactory- Returns:
- s3 async client
-
glue
public software.amazon.awssdk.services.glue.GlueClient glue()Description copied from interface:AwsClientFactorycreate a AWS Glue client- Specified by:
gluein interfaceAwsClientFactory- Returns:
- glue client
-
kms
public software.amazon.awssdk.services.kms.KmsClient kms()Description copied from interface:AwsClientFactoryCreate a AWS KMS client- Specified by:
kmsin interfaceAwsClientFactory- Returns:
- kms client
-
dynamo
public software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamo()Description copied from interface:AwsClientFactoryCreate a Amazon DynamoDB client- Specified by:
dynamoin interfaceAwsClientFactory- Returns:
- dynamoDB client
-
initialize
Description copied from interface:AwsClientFactoryInitialize AWS client factory from catalog properties.- Specified by:
initializein 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) -
applyAssumeRoleConfigurations
protected software.amazon.awssdk.services.s3.S3AsyncClientBuilder applyAssumeRoleConfigurations(software.amazon.awssdk.services.s3.S3AsyncClientBuilder clientBuilder) -
applyAssumeRoleConfigurations
protected software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilder applyAssumeRoleConfigurations(software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilder clientBuilder) -
region
-
awsProperties
-
httpClientProperties
-
s3FileIOProperties
-
awsClientProperties
-