Skip to content

feat(core): Make AmplifyOutputsData public#3292

Merged
mattcreaser merged 6 commits intomainfrom
mattcreaser/outputs-data-public
Apr 21, 2026
Merged

feat(core): Make AmplifyOutputsData public#3292
mattcreaser merged 6 commits intomainfrom
mattcreaser/outputs-data-public

Conversation

@mattcreaser
Copy link
Copy Markdown
Member

  • PR title and description conform to Pull Request guidelines.

Issue #, if available:

Description of changes:

  • Remove the @InternalAmplifyApi markers from all AmplifyOuputsData classes.
  • Add Amplify.configure(AmplifyOutputsData) API

This allows customers to configure directly in code by instantiating the AmplifyOutputsData:

val outputs = AmplifyOutputsData(
    auth = Auth(
        awsRegion = "us-east-1",
        userPoolId = "...",
        userPoolClientId = "..."
    ),
    storage = Storage(
        awsRegion = "us-east-1",
        bucketName = "myBucket"
    )
)

Amplify.configure(outputs, context)

How did you test these changes?
(Please add a line here how the changes were tested)

Documentation update required?

  • No
  • Yes Docs TODO

General Checklist

  • Added Unit Tests
  • Added Integration Tests
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Ensure commit message has the appropriate scope (e.g fix(storage): message, feat(auth): message, chore(all): message)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mattcreaser mattcreaser requested review from a team as code owners April 21, 2026 14:36
@mattcreaser mattcreaser force-pushed the mattcreaser/outputs-data-public branch from bf9cee7 to 06edbc1 Compare April 21, 2026 14:42
@mattcreaser mattcreaser changed the title feat(core): Make AmplifyOutputsData publicly constructible feat(core): Make AmplifyOutputsData public Apr 21, 2026
harsh62
harsh62 previously approved these changes Apr 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

❌ Patch coverage is 76.74419% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.78%. Comparing base (59a0879) to head (f9c7d42).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3292      +/-   ##
==========================================
+ Coverage   55.76%   55.78%   +0.02%     
==========================================
  Files        1082     1082              
  Lines       31913    31910       -3     
  Branches     4760     4755       -5     
==========================================
+ Hits        17795    17802       +7     
+ Misses      12266    12261       -5     
+ Partials     1852     1847       -5     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mattcreaser mattcreaser enabled auto-merge (squash) April 21, 2026 18:56
@mattcreaser mattcreaser merged commit 9915315 into main Apr 21, 2026
17 of 19 checks passed
@mattcreaser mattcreaser deleted the mattcreaser/outputs-data-public branch April 21, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants