iron-spi-aws/src/main/java/io/axway/iron/spi/aws/kinesis/AwsKinesisUtils.java
public static AmazonKinesis buildKinesisClient(@Nullable String accessKey, @Nullable String secretKey, //
                                                   @Nullable String endpoint, @Nullable Integer port, @Nullable String region) {
        AmazonKinesisClientBuilder builder = AmazonKinesisClientBuilder.standard();
        setAws(builder, accessKey, secretKey, endpoint, port, region);
        return builder.build();
    }
public static AmazonKinesis buildKinesisClient(@Nullable String accessKey, @Nullable String secretKey, //
                                                   @Nullable String endpoint, @Nullable Integer port, @Nullable String region) {
        AmazonKinesisClientBuilder builder = AmazonKinesisClientBuilder.standard();
        setAws(builder, accessKey, secretKey, endpoint, port, region);
        return builder.build();
    }
Create a AmazonKinesis client configured with some optional properties (can also be configured using environment variables):

@param accessKey - aws access key (optional)
@param secretKey - aws secret key (optional)
@param endpoint - kinesis endpoint (optional*)
@param port - kinesis port (optional*)
@param region - aws region (optional*)
(*) to configure the endpoint, endpoint, port and region must be provided.
@return a configured AmazonKinesis client