Conversation
…rverless client
- Remove custom mwaaserverless-2024-07-26.normal-edited-2.json service model
- Replace create_airflow_serverless_client() with boto3.client('mwaa-serverless', ...)
- Remove all 'aws configure add-model --service-name mwaaserverless-internal' steps
from GitHub workflows and git-templates
- Add domain_id, project_id, domain_region to all SageMakerNotebookOperator tasks
in workflow YAMLs (examples, tests)
- Remove now-redundant EnvironmentVariables block from create_workflow()
- Update integration test helpers and scripts to use boto3 mwaa-serverless client
- Update docs and steering files to reflect new service name
e837bb5 to
7e5587f
Compare
vasu2856
reviewed
Apr 15, 2026
- Removed hardcoded 'us-east-1' fallback from create_airflow_serverless_client - Now raises ValueError if region is not provided and not in boto session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the pre-GA private
mwaaserverless-internalservice with the publicmwaa-serverlessboto3 client, and updates allSageMakerNotebookOperatortasks to use the newdomain_id,project_id,domain_regionparameters.Changes
Core client replacement
mwaaserverless-2024-07-26.normal-edited-2.jsonservice model filecreate_airflow_serverless_client()with a simpleboto3.client('mwaa-serverless', ...)GitHub workflows & git-templates
aws configure add-model --service-name mwaaserverless-internalsteps from:.github/workflows/smus-bundle-deploy.yml.github/workflows/smus-direct-deploy.yml.github/workflows/smus-multi-env-reusable.yml.github/workflows/pr-tests.ymlgit-templates/smus-deploy-reusable.ymlgit-templates/smus-multi-env-reusable.ymlSageMakerNotebookOperator task params
domain_id,project_id,domain_regionto allSageMakerNotebookOperatortasks in:examples/analytic-workflow/data-notebooks/workflows/parallel_notebooks_workflow.yamlexamples/analytic-workflow/ml/training/workflows/ml_training_workflow.yamlexamples/analytic-workflow/ml/deployment/workflows/ml_deployment_workflow.yamlexamples/analytic-workflow/genai/workflows/genai_dev_workflow.yamltests/integration/basic_app/code/src/basic_test_workflow.yamltests/integration/basic_app/code/src/expected_failure_workflow.yamlEnvironmentVariablesblock fromcreate_workflow()(domain context is now passed directly via operator params)Integration tests & scripts
tests/integration/base.py,tests/scripts/download_workflow_outputs_from_xcom.py,tests/test_notebook_download.py, andtests/integration/examples-analytics-workflows/ml/test_ml_deployment_workflow.pyto useboto3.client('mwaa-serverless', ...)Docs
README.mdanddocs/getting-started/quickstart.mdexamples to include the new operator paramsdeveloper/AmazonQ.mdand.kiro/steering/aws-config.mdto reflect new service name