Skip to content

Commit 69f2c1c

Browse files
author
aws-amplify-bot
committed
Merge remote-tracking branch 'origin/main' into pre-prod/main
2 parents f7ae17e + ebf362c commit 69f2c1c

File tree

9 files changed

+100
-1
lines changed

9 files changed

+100
-1
lines changed

src/components/Layout/Layout.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import {
3737
} from '@/components/NextPrevious';
3838
import { Modal } from '@/components/Modal';
3939
import { Gen1Banner } from '@/components/Gen1Banner';
40+
import { PinpointEOLBanner } from '@/components/PinpointEOLBanner';
4041
import { ApiModalProvider } from '../ApiDocs/ApiModalProvider';
4142

4243
export const Layout = ({
@@ -281,6 +282,10 @@ export const Layout = ({
281282
{(isGen1GettingStarted || isGen1HowAmplifyWorks) && (
282283
<Gen1Banner currentPlatform={currentPlatform} />
283284
)}
285+
{(asPathWithNoHash.includes('/push-notifications/') ||
286+
asPathWithNoHash.includes('/analytics/')) && (
287+
<PinpointEOLBanner />
288+
)}
284289
{children}
285290
{showNextPrev && <NextPrevious />}
286291
</Flex>
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
import { Callout } from '@/components/Callout';
2+
import Link from 'next/link';
3+
import classNames from 'classnames';
4+
5+
export const PinpointEOLBanner = () => {
6+
return (
7+
<Callout backgroundColor="background.error">
8+
<Link
9+
href="https://docs.aws.amazon.com/pinpoint/latest/userguide/migrate.html"
10+
passHref
11+
className={classNames('amplify-link')}
12+
>
13+
AWS will end support for Amazon Pinpoint on October 30, 2026,
14+
</Link>
15+
, and is no longer accepting any new users as of May 20 (see the linked
16+
doc). The guidance is to use{' '}
17+
<Link
18+
href="https://aws.amazon.com/end-user-messaging"
19+
passHref
20+
className={classNames('amplify-link')}
21+
>
22+
AWS End User Messaging
23+
</Link>{' '}
24+
for push notifications and SMS,{' '}
25+
<Link
26+
href="https://aws.amazon.com/ses"
27+
passHref
28+
className={classNames('amplify-link')}
29+
>
30+
Amazon Simple Email Service
31+
</Link>{' '}
32+
for sending emails,{' '}
33+
<Link
34+
href="https://aws.amazon.com/connect/outbound/"
35+
passHref
36+
className={classNames('amplify-link')}
37+
>
38+
Amazon Connect
39+
</Link>{' '}
40+
for campaigns, journeys, endpoints, and engagement analytics. Pinpoint
41+
recommends{' '}
42+
<Link
43+
href="https://aws.amazon.com/kinesis"
44+
passHref
45+
className={classNames('amplify-link')}
46+
>
47+
Amazon Kinesis
48+
</Link>{' '}
49+
for event collection and mobile analytics.
50+
</Callout>
51+
);
52+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { PinpointEOLBanner } from './PinpointEOLBanner';

src/data/api-categories.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// mapping of api categories coming in from libraries to the associated categories in the docs
22
export const API_CATEGORIES = {
33
auth: 'auth',
4-
storage: 'storage'
4+
storage: 'storage',
5+
data: 'api'
56
};
67

78
export const API_SUB_CATEGORIES = {

src/fragments/lib-v1/analytics/flutter/record.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ However, it can take upwards of 30 minutes for the event to display in the Filte
2626

2727
</Callout>
2828

29+
<Callout>
30+
31+
Security Notice: Amplify Analytics temporarily stores event data locally in an unencrypted format before sending it to Pinpoint.
32+
33+
To protect your sensitive information, please do not include any passwords, API keys, or other confidential information in your analytic events.
34+
35+
</Callout>
36+
2937
## Flush events
3038

3139
Events have default configuration to flush out to the network every 30 seconds. If you would like to change this, update `amplifyconfiguration.dart` with the value in milliseconds you would like for `autoFlushEventsInterval`. This configuration will flush events every 10 seconds:

src/fragments/lib-v1/analytics/ios/record.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ However, it can take upwards of 30 minutes for the event to display in the Filte
2323

2424
</Callout>
2525

26+
<Callout>
27+
28+
Security Notice: Amplify Analytics temporarily stores event data locally in an unencrypted format before sending it to Pinpoint.
29+
30+
To protect your sensitive information, please do not include any passwords, API keys, or other confidential information in your analytic events.
31+
32+
</Callout>
33+
2634
## Flush Events
2735

2836
Events have default configuration to flush out to the network every 60 seconds. If you would like to change this, update `amplifyconfiguration.json` with the value you would like for `autoFlushEventsInterval` like so:

src/fragments/lib/analytics/flutter/record.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ However, it can take upwards of 30 minutes for the event to display in the Filte
2626

2727
</Callout>
2828

29+
<Callout>
30+
31+
Security Notice: Amplify Analytics temporarily stores event data locally in an unencrypted format before sending it to Pinpoint.
32+
33+
To protect your sensitive information, please do not include any passwords, API keys, or other confidential information in your analytic events.
34+
35+
</Callout>
36+
2937
## Flush events
3038

3139
Events have default configuration to flush out to the network every 30 seconds. To modify the default value, assign the `autoFlushEventsInterval` property to your desired duration. The example below configures the plugin to flush events every 10 seconds.

src/fragments/lib/analytics/ios/record.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ However, it can take upwards of 30 minutes for the event to display in the Filte
1414

1515
</Callout>
1616

17+
<Callout>
18+
19+
Security Notice: Amplify Analytics temporarily stores event data locally in an unencrypted format before sending it to Pinpoint.
20+
21+
To protect your sensitive information, please do not include any passwords, API keys, or other confidential information in your analytic events.
22+
23+
</Callout>
24+
1725
## Flush Events
1826

1927
By default, events are automatically flushed out to the network every 60 seconds.

src/pages/[platform]/build-a-backend/storage/download-files/index.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,14 @@ const { body, eTag } = await downloadData({
336336

337337
Use the `downloadFile` API to download the file locally on the client.
338338

339+
<Callout>
340+
**Note:** When downloading a file that will overwrite a preexisting file, ensure that your app has the proper write permission to overwrite it. If you are attempting to write to a file that a different app already contributed to the media store, you must request user consent[as described here](https://developer.android.com/training/data-storage/shared/media#update-other-apps-files).
341+
342+
To learn more, refer to Android's developer documentation about [Scoped Storage](https://developer.android.com/training/data-storage#scoped-storage).
343+
344+
Amplify will throw a `StorageException` if it is unable to modify a preexisting file.
345+
</Callout>
346+
339347
<BlockSwitcher>
340348
<Block name="Java">
341349

0 commit comments

Comments
 (0)