Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7e7d8e6
feat(foundation): Add foundation modules to feature branch (#3193)
mattcreaser Feb 5, 2026
3a6a069
Improve error handling, client configuration, and flush concurrency
jvh-aws Feb 18, 2026
dbfa875
Merge remote-tracking branch 'origin/feat/kinesis' into jv/kinesis-im…
jvh-aws Feb 18, 2026
bf236a7
Further improve exception type hierarchy and handling
jvh-aws Feb 18, 2026
b5aedcd
Fix typos
jvh-aws Feb 18, 2026
6573c74
Adapt tests
jvh-aws Feb 18, 2026
d4c7da6
feat(foundation): Add foundation modules to feature branch (#3193)
mattcreaser Feb 5, 2026
b7abc88
feat(foundation): Add Debug Logging API (#3198)
mattcreaser Feb 19, 2026
ff21ed4
feat(foundation): Convert from Smithy credentials to AwsCredentials (…
mattcreaser Feb 19, 2026
e0cb07a
Fix publishing of KMP modules
mattcreaser Feb 19, 2026
16c96db
Add kinesis e2e test
jvh-aws Feb 20, 2026
873d185
Merge remote-tracking branch 'origin/feat/foundation' into jv/kinesis…
jvh-aws Feb 20, 2026
a4513af
Merge remote-tracking branch 'origin/mattcreaser/kmp-publishing' into…
jvh-aws Feb 20, 2026
dddca3c
fix(foundation): Fix publishing of KMP modules (#3200)
mattcreaser Feb 20, 2026
8e1fee2
Rename client to AmplifyKinesisClient, bring in foundation logger and…
jvh-aws Feb 20, 2026
f54e8dd
fix(foundation): Fix CI checks on foundation branch (#3202)
mattcreaser Feb 20, 2026
0900694
Use foundation result
jvh-aws Feb 20, 2026
b0b13f5
Merge remote-tracking branch 'origin/feat/foundation' into jv/kinesis…
jvh-aws Feb 20, 2026
e10db44
fix(foundation): Move ResultAssertions to foundation module (#3204)
mattcreaser Feb 20, 2026
66b06b4
Update androidx test dependencies
mattcreaser Feb 20, 2026
b7f2cb7
Move tests to androidHostTest root
mattcreaser Feb 20, 2026
e1b54df
Remove maxrecords from the configuration
jvh-aws Feb 23, 2026
7704855
Merge remote-tracking branch 'origin/feat/foundation' into jv/kinesis…
jvh-aws Feb 23, 2026
6c470f2
Remove maxRecords config and minor adaptions
jvh-aws Feb 23, 2026
6add29a
Merge remote-tracking branch 'origin/feat/kinesis' into jv/add-kinesi…
jvh-aws Feb 23, 2026
3e674b8
Apply reviewer comments
jvh-aws Feb 23, 2026
a2fe598
Merge remote-tracking branch 'origin/main' into jv/kinesis-merge-in-f…
jvh-aws Feb 23, 2026
701e6c5
Merge remote-tracking branch 'origin/jv/add-kinesis-e2e-test' into jv…
jvh-aws Feb 23, 2026
9283b2c
Merge remote-tracking branch 'origin/feat/kinesis' into jv/kinesis-me…
jvh-aws Feb 23, 2026
cbec7ff
Fix format
jvh-aws Feb 23, 2026
5f0c3db
Do not use type alias for amplify result
jvh-aws Feb 23, 2026
7014dbc
Move ResultAssertions to testutil
mattcreaser Feb 24, 2026
9a8b2a5
Apply suggestion from @mattcreaser
jvh-aws Feb 24, 2026
4d6349b
Apply suggestion from @mattcreaser
jvh-aws Feb 24, 2026
42baaa0
Apply suggestion from @mattcreaser
jvh-aws Feb 24, 2026
ffb367a
Apply suggestion from @mattcreaser
jvh-aws Feb 24, 2026
66a2c4b
Rename AmplifyKinesisClientConfiguration to Options
jvh-aws Feb 24, 2026
2c513df
Merge remote-tracking branch 'origin/jv/kinesis-merge-in-foundation' …
jvh-aws Feb 24, 2026
5d01dc1
Remove obsolete code and minor fixes
jvh-aws Feb 24, 2026
dd3ef5b
Merge remote-tracking branch 'origin/mattcreaser/result-assertions' i…
jvh-aws Feb 24, 2026
462f247
Update instrumentation test to use amplify result asserts
jvh-aws Feb 24, 2026
7e80c31
Use foundation amplify exception type
jvh-aws Feb 24, 2026
f1cd31a
Fix amplify exception argument ordering
jvh-aws Feb 24, 2026
cb10878
Fix further results imports and remove obsolete functions
jvh-aws Feb 25, 2026
6cd0996
Add core dependencies to e2e test
jvh-aws Feb 25, 2026
5c915bb
Add flush strategy none
jvh-aws Feb 25, 2026
fbf8300
Move default recovery suggestion to foundation
jvh-aws Feb 25, 2026
41e80e6
Add user agent to kinesis sdk client
jvh-aws Feb 26, 2026
0ff69ac
Merge branch 'feat/kinesis' into jv/kinesis-add-user-agent
jvh-aws Feb 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions aws-kinesis/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies {
implementation(project(":foundation-bridge"))

implementation(libs.androidx.appcompat)
implementation(libs.aws.http)
implementation(libs.aws.kinesis)
implementation(libs.kotlin.serializationJson)
implementation(libs.androidx.sqlite)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package com.amplifyframework.kinesis

import android.content.Context
import aws.sdk.kotlin.runtime.http.operation.customUserAgentMetadata
import aws.sdk.kotlin.services.kinesis.KinesisClient
import aws.smithy.kotlin.runtime.client.RequestInterceptorContext
import aws.smithy.kotlin.runtime.http.interceptors.HttpInterceptor
import com.amplifyframework.annotations.InternalAmplifyApi
import com.amplifyframework.foundation.credentials.AwsCredentials
import com.amplifyframework.foundation.credentials.AwsCredentialsProvider
Expand Down Expand Up @@ -75,6 +78,18 @@ class AmplifyKinesisClient(
val kinesisClient: KinesisClient = KinesisClient {
this.region = this@AmplifyKinesisClient.region
this.credentialsProvider = this@AmplifyKinesisClient.credentialsProvider.toSmithyProvider()

// Add user agent metadata for tracking Kinesis feature usage
this.interceptors += object : HttpInterceptor {
override suspend fun modifyBeforeSerialization(context: RequestInterceptorContext<Any>): Any {
context.executionContext.customUserAgentMetadata.add(
"kinesis",
BuildConfig.VERSION_NAME
)
return super.modifyBeforeSerialization(context)
}
}

options.configureClient?.applyConfiguration(this)
}

Expand Down