File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed
Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ import {
3838import { Modal } from '@/components/Modal' ;
3939import { Gen1Banner } from '@/components/Gen1Banner' ;
4040import { PinpointEOLBanner } from '@/components/PinpointEOLBanner' ;
41+ import { LexV1EOLBanner } from '../LexV1EOLBanner' ;
4142import { ApiModalProvider } from '../ApiDocs/ApiModalProvider' ;
4243
4344export const Layout = ( {
@@ -287,6 +288,9 @@ export const Layout = ({
287288 asPathWithNoHash . includes ( '/in-app-messaging/' ) ) && (
288289 < PinpointEOLBanner />
289290 ) }
291+ { asPathWithNoHash . includes ( '/interactions/' ) && (
292+ < LexV1EOLBanner />
293+ ) }
290294 { children }
291295 { showNextPrev && < NextPrevious /> }
292296 </ Flex >
Original file line number Diff line number Diff line change 1+ import { Callout } from '@/components/Callout' ;
2+ import Link from 'next/link' ;
3+ import classNames from 'classnames' ;
4+
5+ export const LexV1EOLBanner = ( ) => {
6+ return (
7+ < Callout backgroundColor = "background.error" >
8+ < Link
9+ href = "https://docs.aws.amazon.com/lex/latest/dg/migrate.html"
10+ passHref
11+ className = { classNames ( 'amplify-link' ) }
12+ >
13+ AWS will end support for Amazon Lex V1 on September 15, 2025,
14+ </ Link >
15+ , and is no longer accepting any new users as of March 31. The guidance is
16+ to migrate to{ ' ' }
17+ < Link
18+ href = "https://docs.aws.amazon.com/lexv2/latest/dg/getting-started.html"
19+ passHref
20+ className = { classNames ( 'amplify-link' ) }
21+ >
22+ Amazon Lex V2.
23+ </ Link > { ' ' }
24+ </ Callout >
25+ ) ;
26+ } ;
Original file line number Diff line number Diff line change 1+ export { LexV1EOLBanner } from './LexV1EOLBanner' ;
You can’t perform that action at this time.
0 commit comments