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 {
38
38
import { Modal } from '@/components/Modal' ;
39
39
import { Gen1Banner } from '@/components/Gen1Banner' ;
40
40
import { PinpointEOLBanner } from '@/components/PinpointEOLBanner' ;
41
+ import { LexV1EOLBanner } from '../LexV1EOLBanner' ;
41
42
import { ApiModalProvider } from '../ApiDocs/ApiModalProvider' ;
42
43
43
44
export const Layout = ( {
@@ -287,6 +288,9 @@ export const Layout = ({
287
288
asPathWithNoHash . includes ( '/in-app-messaging/' ) ) && (
288
289
< PinpointEOLBanner />
289
290
) }
291
+ { asPathWithNoHash . includes ( '/interactions/' ) && (
292
+ < LexV1EOLBanner />
293
+ ) }
290
294
{ children }
291
295
{ showNextPrev && < NextPrevious /> }
292
296
</ 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