diff --git a/src/components/Layout/Layout.tsx b/src/components/Layout/Layout.tsx index b3419509203..0ac4e8e01a3 100644 --- a/src/components/Layout/Layout.tsx +++ b/src/components/Layout/Layout.tsx @@ -37,6 +37,7 @@ import { } from '@/components/NextPrevious'; import { Modal } from '@/components/Modal'; import { Gen1Banner } from '@/components/Gen1Banner'; +import { PinpointEOLBanner } from '@/components/PinpointEOLBanner'; import { ApiModalProvider } from '../ApiDocs/ApiModalProvider'; export const Layout = ({ @@ -281,6 +282,10 @@ export const Layout = ({ {(isGen1GettingStarted || isGen1HowAmplifyWorks) && ( )} + {(asPathWithNoHash.includes('/push-notifications/') || + asPathWithNoHash.includes('/analytics/')) && ( + + )} {children} {showNextPrev && } diff --git a/src/components/PinpointEOLBanner/PinpointEOLBanner.tsx b/src/components/PinpointEOLBanner/PinpointEOLBanner.tsx new file mode 100644 index 00000000000..36c29347e5e --- /dev/null +++ b/src/components/PinpointEOLBanner/PinpointEOLBanner.tsx @@ -0,0 +1,52 @@ +import { Callout } from '@/components/Callout'; +import Link from 'next/link'; +import classNames from 'classnames'; + +export const PinpointEOLBanner = () => { + return ( + + + AWS will end support for Amazon Pinpoint on October 30, 2026, + + , and is no longer accepting any new users as of May 20 (see the linked + doc). The guidance is to use{' '} + + AWS End User Messaging + {' '} + for push notifications and SMS,{' '} + + Amazon Simple Email Service + {' '} + for sending emails,{' '} + + Amazon Connect + {' '} + for campaigns, journeys, endpoints, and engagement analytics. Pinpoint + recommends{' '} + + Amazon Kinesis + {' '} + for event collection and mobile analytics. + + ); +}; diff --git a/src/components/PinpointEOLBanner/index.ts b/src/components/PinpointEOLBanner/index.ts new file mode 100644 index 00000000000..5730022cc7b --- /dev/null +++ b/src/components/PinpointEOLBanner/index.ts @@ -0,0 +1 @@ +export { PinpointEOLBanner } from './PinpointEOLBanner';