/** * @return Default client using the {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and * {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain */ public static AmazonDynamoDBStreams defaultClient() { return standard().build(); }
/** * @return Default client using the {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and * {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain */ public static AmazonDynamoDBStreams defaultClient() { return standard().build(); }
public static AmazonDynamoDBStreamsClient createDynamoDBStreamsClient() { BasicCredentialsProvider credentials = BasicCredentialsProvider.standard(); AmazonDynamoDBStreamsClient client = !credentials.isValid() ? null : (AmazonDynamoDBStreamsClient) AmazonDynamoDBStreamsClientBuilder.standard() .withCredentials(credentials) .withRegion("eu-west-1") .build(); return client; }
public static AmazonDynamoDBStreamsClient createDynamoDBStreamsClient() { BasicCredentialsProvider credentials = BasicCredentialsProvider.standard(); AmazonDynamoDBStreamsClient client = !credentials.isValid() ? null : (AmazonDynamoDBStreamsClient) AmazonDynamoDBStreamsClientBuilder.standard() .withCredentials(credentials) .withRegion("eu-west-1") .build(); return client; }
.withEndpointConfiguration(streamsEndpointConfiguration) .withClientConfiguration(streamsClientConfig) .build();