From a8ff25efb8382674dc76ecf47c1a6ec77a1474ed Mon Sep 17 00:00:00 2001 From: Pranav Malewadkar <7400617+pranavosu@users.noreply.github.com> Date: Mon, 26 Jan 2026 20:52:07 -0800 Subject: [PATCH] fix: clarify amplifyApiEnvironmentName is always NONE in DynamoDB table names --- .../data/custom-business-logic/batch-ddb-operations/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/[platform]/build-a-backend/data/custom-business-logic/batch-ddb-operations/index.mdx b/src/pages/[platform]/build-a-backend/data/custom-business-logic/batch-ddb-operations/index.mdx index 7a1ed30efc5..551b4ab6d5e 100644 --- a/src/pages/[platform]/build-a-backend/data/custom-business-logic/batch-ddb-operations/index.mdx +++ b/src/pages/[platform]/build-a-backend/data/custom-business-logic/batch-ddb-operations/index.mdx @@ -109,9 +109,9 @@ Amplify will store some values in the resolver context stash that can be accesse | Name | Description | | ------------------------- | -------------------------------------------- | | awsAppsyncApiId | The ID of the AppSync API. | -| amplifyApiEnvironmentName | The Amplify api environment name. (`NONE` in sandbox) | +| amplifyApiEnvironmentName | The Amplify API environment name. This value is always `NONE`. | -The Amplify generated DynamoDB table names can be constructed from the variables in the context stash. The table name is in the format `--`. For example, the table name for the `Post` model would be `Post-123456-dev` where `123456` is the AppSync API ID and `dev` is the Amplify API environment name. +The Amplify generated DynamoDB table names can be constructed from the variables in the context stash. The table name is in the format `--NONE`. For example, the table name for the `Post` model would be `Post-abc123def456-NONE` where `abc123def456` is the AppSync API ID. ```ts title="amplify/data/BatchCreatePostHandler.js" import { util } from '@aws-appsync/utils';