@Internal public class AWSAsyncSinkUtil extends AWSGeneralUtil
| Constructor and Description |
|---|
AWSAsyncSinkUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <S extends software.amazon.awssdk.core.SdkClient,T extends software.amazon.awssdk.awscore.client.builder.AwsAsyncClientBuilder<? extends T,S> & software.amazon.awssdk.awscore.client.builder.AwsClientBuilder<? extends T,S>> |
createAwsAsyncClient(Properties configProps,
software.amazon.awssdk.http.async.SdkAsyncHttpClient httpClient,
T clientBuilder,
String awsUserAgentPrefixFormat,
String awsClientUserAgentPrefix) |
static <S extends software.amazon.awssdk.core.SdkClient,T extends software.amazon.awssdk.awscore.client.builder.AwsAsyncClientBuilder<? extends T,S> & software.amazon.awssdk.awscore.client.builder.AwsClientBuilder<? extends T,S>> |
createAwsAsyncClient(Properties configProps,
software.amazon.awssdk.core.client.config.SdkClientConfiguration clientConfiguration,
software.amazon.awssdk.http.async.SdkAsyncHttpClient httpClient,
T clientBuilder,
String awsUserAgentPrefixFormat,
String awsClientUserAgentPrefix) |
static String |
formatFlinkUserAgentPrefix(String userAgentFormat)
Creates a user agent prefix for Flink.
|
closeResources, createAsyncHttpClient, createAsyncHttpClient, createAsyncHttpClient, createAsyncHttpClient, getCredentialProviderType, getCredentialsProvider, getCredentialsProvider, getCredentialsProvider, getProfileCredentialProvider, getRegion, isValidRegion, validateAwsConfiguration, validateAwsCredentialspublic static String formatFlinkUserAgentPrefix(String userAgentFormat)
userAgentFormat - flink user agent prefix format with placeholders for version and
commit id.public static <S extends software.amazon.awssdk.core.SdkClient,T extends software.amazon.awssdk.awscore.client.builder.AwsAsyncClientBuilder<? extends T,S> & software.amazon.awssdk.awscore.client.builder.AwsClientBuilder<? extends T,S>> S createAwsAsyncClient(Properties configProps, software.amazon.awssdk.http.async.SdkAsyncHttpClient httpClient, T clientBuilder, String awsUserAgentPrefixFormat, String awsClientUserAgentPrefix)
configProps - configuration propertieshttpClient - the underlying HTTP client used to talk to AWSpublic static <S extends software.amazon.awssdk.core.SdkClient,T extends software.amazon.awssdk.awscore.client.builder.AwsAsyncClientBuilder<? extends T,S> & software.amazon.awssdk.awscore.client.builder.AwsClientBuilder<? extends T,S>> S createAwsAsyncClient(Properties configProps, software.amazon.awssdk.core.client.config.SdkClientConfiguration clientConfiguration, software.amazon.awssdk.http.async.SdkAsyncHttpClient httpClient, T clientBuilder, String awsUserAgentPrefixFormat, String awsClientUserAgentPrefix)
configProps - configuration propertiesclientConfiguration - the AWS SDK v2 config to instantiate the clienthttpClient - the underlying HTTP client used to talk to AWSCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.