From 36dc4b384087c263c29bf2259367ba6ece223b2f Mon Sep 17 00:00:00 2001 From: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:21:39 -0600 Subject: [PATCH 1/8] Update src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx --- .../in-app-messaging/in-app-messaging-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx b/src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx index 857bab1c423..d8eb1b4a9cd 100644 --- a/src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx +++ b/src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx @@ -21,7 +21,7 @@ export function getStaticProps(context) { ## Initialization and syncing messages -As of v6 of Amplify, you will now import the functional API’s directly from the `aws-amplify/in-app-messaging` path as shown below. +As of v6 of Amplify JavaScript, you will now import the functional API’s directly from the `aws-amplify/in-app-messaging` path as shown below. Note: Red lines of code are v5 and Green lines are v6. From 704a5f28354b343e64bd4f77226a3d5aa3269cca Mon Sep 17 00:00:00 2001 From: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:21:50 -0600 Subject: [PATCH 2/8] Update src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx --- .../more-features/analytics/analytics-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx b/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx index 4af0cfac87c..4d821b554c8 100644 --- a/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx +++ b/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx @@ -31,7 +31,7 @@ export function getStaticProps(context) { ## Record and Configuration APIs -As of v6 of Amplify, you will now import the functional API’s directly from the `aws-amplify/analytics` path as shown below. +As of v6 of Amplify JavaScript, you will now import the functional API’s directly from the `aws-amplify/analytics` path as shown below. Note: Red lines of code are v5 and Green lines are v6. From febd802de8ed55949d2e51187fca93b8b472bfdf Mon Sep 17 00:00:00 2001 From: Rene Brandel <4989523+renebrandel@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:21:57 -0600 Subject: [PATCH 3/8] Update src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx --- .../push-notifications-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx b/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx index 79e921c9333..58fdda2c402 100644 --- a/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx +++ b/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx @@ -21,7 +21,7 @@ export function getStaticProps(context) { ## Initialize, request permissions, and receive device tokens -As of v6 of Amplify, you will now import the functional API’s directly from the `aws-amplify/push-notifications` path as shown in the code block. You can also see the differences in APIs for initializing push notifications, asking for the permission or it's status and finally how to obtain the device token. +As of v6 of Amplify JavaScript, you will now import the functional API’s directly from the `aws-amplify/push-notifications` path as shown in the code block. You can also see the differences in APIs for initializing push notifications, asking for the permission or it's status and finally how to obtain the device token. Note: Red lines of code are v5 and Green lines are v6. From f3ddccb510a6d3d4c4dc782dd28548fd146edaa9 Mon Sep 17 00:00:00 2001 From: ManojNB Date: Mon, 4 Dec 2023 15:49:10 -0800 Subject: [PATCH 4/8] Update src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx Co-authored-by: Jim Blanchard --- .../more-features/analytics/analytics-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx b/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx index 4d821b554c8..f397f64540f 100644 --- a/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx +++ b/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx @@ -86,7 +86,7 @@ Note: Red lines of code are v5 and Green lines are v6. ``` ## Analytics.identifyUser -You can identify an user with Analytics with `identifyUser` API, +You can identify an Analytics user with the `identifyUser` API, ```ts import { identifyUser } from 'aws-amplify/analytics'; From 4a8874c3da7d44510bfac9cf128f8b95fce707da Mon Sep 17 00:00:00 2001 From: ManojNB Date: Mon, 4 Dec 2023 15:49:23 -0800 Subject: [PATCH 5/8] Update src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx Co-authored-by: Jim Blanchard --- .../more-features/analytics/analytics-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx b/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx index f397f64540f..2a7b5c9de71 100644 --- a/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx +++ b/src/pages/[platform]/build-a-backend/more-features/analytics/analytics-migration-guide/index.mdx @@ -98,7 +98,7 @@ identifyUser({ ``` ## Streaming data -You can stream analytics data to Kinesis. To configure Kinesis with Amplify, reference the [Installation and Configuration](https://docs.amplify.aws/react/build-a-backend/more-features/analytics/streaming-data/#installation-and-configuration) section of the documentation. Below is an example on how to stream data and flush events as needed, +You can stream analytics data to Kinesis. To configure Kinesis with Amplify, reference the [Installation and Configuration](https://docs.amplify.aws/react/build-a-backend/more-features/analytics/streaming-data/#installation-and-configuration) section of the documentation. Below is an example on how to stream data and flush events, ```ts import { record, flushEvents } from 'aws-amplify/analytics/kinesis'; From fbc6866987155c66b1c31b7099e34f7db47b323d Mon Sep 17 00:00:00 2001 From: ManojNB Date: Mon, 4 Dec 2023 15:50:03 -0800 Subject: [PATCH 6/8] Update src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx Co-authored-by: Jim Blanchard --- .../in-app-messaging/in-app-messaging-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx b/src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx index d8eb1b4a9cd..54232e17107 100644 --- a/src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx +++ b/src/pages/[platform]/build-a-backend/more-features/in-app-messaging/in-app-messaging-migration-guide/index.mdx @@ -70,7 +70,7 @@ const sendEvent = (eventName: string) => { ## IdentifyUser -The input format of the `identifyUser` has slightly changed. The below table shows the differences in the input type. +The input format of the `identifyUser` has changed slightly. The below table shows the differences in the input type. | Difference | v5 | v6 | | ---- | ---- | ----------- | From cce318619a3746da86e0fe9e0148efd70ff4a770 Mon Sep 17 00:00:00 2001 From: ManojNB Date: Mon, 4 Dec 2023 15:50:31 -0800 Subject: [PATCH 7/8] Update src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx Co-authored-by: Jim Blanchard --- .../push-notifications-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx b/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx index 58fdda2c402..3aa014a1847 100644 --- a/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx +++ b/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx @@ -21,7 +21,7 @@ export function getStaticProps(context) { ## Initialize, request permissions, and receive device tokens -As of v6 of Amplify JavaScript, you will now import the functional API’s directly from the `aws-amplify/push-notifications` path as shown in the code block. You can also see the differences in APIs for initializing push notifications, asking for the permission or it's status and finally how to obtain the device token. +As of v6 of Amplify JavaScript, you will now import the functional API’s directly from the `aws-amplify/push-notifications` path as shown in the code block. You can also see the differences in APIs for initializing push notifications, asking for the permission or its status and finally how to obtain the device token. Note: Red lines of code are v5 and Green lines are v6. From 342743f1f80e06db198432dc214042610eeadadc Mon Sep 17 00:00:00 2001 From: ManojNB Date: Mon, 4 Dec 2023 15:50:38 -0800 Subject: [PATCH 8/8] Update src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx Co-authored-by: Jim Blanchard --- .../push-notifications-migration-guide/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx b/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx index 3aa014a1847..02d2fc15a1c 100644 --- a/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx +++ b/src/pages/[platform]/build-a-backend/push-notifications/push-notifications-migration-guide/index.mdx @@ -127,7 +127,7 @@ const myNotificationOpenedHandler = (notification) => { ``` ## IdentityUser -Differences in identifying a user is as shown below. The input type change is identical to the changes made for the `identifyUser` of the In App Messaging category mentioned in its section. +Differences in identifying a user is as shown below. The input type change is identical to the changes made for the `identifyUser` of the In App Messaging category mentioned above. ```diff - import { Notifications } from 'aws-amplify';