diff --git a/src/components/Layout/Layout.tsx b/src/components/Layout/Layout.tsx index 1f7bb77bd8f..4c52931c8e9 100644 --- a/src/components/Layout/Layout.tsx +++ b/src/components/Layout/Layout.tsx @@ -38,6 +38,7 @@ import { import { Modal } from '@/components/Modal'; import { Gen1Banner } from '@/components/Gen1Banner'; import { PinpointEOLBanner } from '@/components/PinpointEOLBanner'; +import { LexV1EOLBanner } from '../LexV1EOLBanner'; import { ApiModalProvider } from '../ApiDocs/ApiModalProvider'; export const Layout = ({ @@ -287,6 +288,9 @@ export const Layout = ({ asPathWithNoHash.includes('/in-app-messaging/')) && ( )} + {asPathWithNoHash.includes('/interactions/') && ( + + )} {children} {showNextPrev && } diff --git a/src/components/LexV1EOLBanner/LexV1EOLBanner.tsx b/src/components/LexV1EOLBanner/LexV1EOLBanner.tsx new file mode 100644 index 00000000000..4a5b271534a --- /dev/null +++ b/src/components/LexV1EOLBanner/LexV1EOLBanner.tsx @@ -0,0 +1,26 @@ +import { Callout } from '@/components/Callout'; +import Link from 'next/link'; +import classNames from 'classnames'; + +export const LexV1EOLBanner = () => { + return ( + + + AWS will end support for Amazon Lex V1 on September 15, 2025, + + , and is no longer accepting any new users as of March 31. The guidance is + to migrate to{' '} + + Amazon Lex V2. + {' '} + + ); +}; diff --git a/src/components/LexV1EOLBanner/index.ts b/src/components/LexV1EOLBanner/index.ts new file mode 100644 index 00000000000..f1fe40b0cf1 --- /dev/null +++ b/src/components/LexV1EOLBanner/index.ts @@ -0,0 +1 @@ +export { LexV1EOLBanner } from './LexV1EOLBanner';