Skip to content

Commit c87d0bc

Browse files
authored
Merge pull request aws-amplify#6412 from aws-amplify/renbran/this-time-for-real
fix most remaining links
2 parents d55dbbe + 6263400 commit c87d0bc

File tree

26 files changed

+72
-29
lines changed

26 files changed

+72
-29
lines changed

src/fragments/lib-v1/geo/android/maps/20_display_map.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Also, check the [official MapView API reference](https://docs.maptiler.com/mapli
239239

240240
## AmplifyMapView
241241

242-
The `AmplifyMapView` provides a default search field, place markers, visualization modes (map or list) and map controls. It can be used to easily embed a place picker into any app. To use the search functionality of `AmplifyMapView`, provision a search index resource using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search) or [Use existing Amazon Location Service resources](../existing-resources).
242+
The `AmplifyMapView` provides a default search field, place markers, visualization modes (map or list) and map controls. It can be used to easily embed a place picker into any app. To use the search functionality of `AmplifyMapView`, provision a search index resource using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search) or [Use existing Amazon Location Service resources](/[platform]/prev/build-a-backend/more-features/geo/existing-resources/).
243243

244244
### Add a map to your app
245245

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
`AmplifyMapView` provides built-in location search, search field, and place markers. Follow the [AmplifyMapView section](../maps#amplifymapview) on the Maps page to setup the `AmplifyMapView`.
1+
`AmplifyMapView` provides built-in location search, search field, and place markers. Follow the [AmplifyMapView section](/[platform]/prev/build-a-backend/more-features/geo/maps#amplifymapview) on the Maps page to setup the `AmplifyMapView`.

src/fragments/lib-v1/geo/ios/maps/10_install_adapter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configure Maps](/[platform]/build-a-backend/more-features/geo/maps) or [Use existing resources](../existing-resources) guide.
1+
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configure Maps](/[platform]/build-a-backend/more-features/geo/maps) or [Use existing resources](/[platform]/prev/build-a-backend/more-features/geo/existing-resources/) guide.
22

33
<Callout warning>
44

src/fragments/lib-v1/geo/js/geofences.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Provisioning geofence resources
88

9-
First, make sure you've provisioned a geofence collection resource and configured your app using the instructions in either [Configure a Geofence Collection](/[platform]/prev/build-a-backend/more-features/geo/configure-geofencing) or [Use existing Amazon Location Service resources](../existing-resources) and you have already setup [displaying a map](../maps) in your application.
9+
First, make sure you've provisioned a geofence collection resource and configured your app using the instructions in either [Configure a Geofence Collection](/[platform]/prev/build-a-backend/more-features/geo/configure-geofencing) or [Use existing Amazon Location Service resources](/[platform]/prev/build-a-backend/more-features/geo/existing-resources/) and you have already setup [displaying a map](/[platform]/prev/build-a-backend/more-features/geo/maps) in your application.
1010

1111
## Manage Geofences in Your Application
1212

@@ -29,7 +29,7 @@ Then, import [AmplifyGeofenceControl](https://github.com/aws-amplify/maplibre-gl
2929

3030
<Block name="Javascript">
3131

32-
**Note:** When using the existing [maps implementation/](../maps) you can add the Geofence control to an existing map
32+
**Note:** When using the existing [maps implementation/](/[platform]/prev/build-a-backend/more-features/geo/maps) you can add the Geofence control to an existing map
3333

3434
```diff
3535
import { useEffect, useRef } from "react";

src/fragments/lib-v1/geo/js/maps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Display a map
88

9-
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configuring Maps](/[platform]/build-a-backend/more-features/geo/maps) or [Use existing resources](../existing-resources) guide.
9+
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configuring Maps](/[platform]/build-a-backend/more-features/geo/maps) or [Use existing resources](/[platform]/prev/build-a-backend/more-features/geo/existing-resources/) guide.
1010

1111
<Callout>
1212

src/fragments/lib-v1/geo/js/search.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Add location search functionality on a map
88

9-
First, make sure you've provisioned a search index resource and configured your app using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search) or [Use existing Amazon Location Service resources](../existing-resources) and you have already setup [displaying a map](../maps) in your application.
9+
First, make sure you've provisioned a search index resource and configured your app using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search) or [Use existing Amazon Location Service resources](/[platform]/prev/build-a-backend/more-features/geo/existing-resources/) and you have already setup [displaying a map](/[platform]/prev/build-a-backend/more-features/geo/maps) in your application.
1010

1111
<Callout>
1212

src/fragments/lib-v1/geo/native_common/search/common.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Add location search functionality on a map
22

3-
First, make sure you've provisioned a search index resource and configured your app using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search) or [Use existing Amazon Location Service resources](../existing-resources) and you have already setup [displaying a map](../maps) in your application.
3+
First, make sure you've provisioned a search index resource and configured your app using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search) or [Use existing Amazon Location Service resources](/[platform]/prev/build-a-backend/more-features/geo/existing-resources/) and you have already setup [displaying a map](/[platform]/prev/build-a-backend/more-features/geo/maps) in your application.
44

55
import android1 from '/src/fragments/lib-v1/geo/android/search/30_location_search_map.mdx';
66

src/fragments/lib/geo/android/maps/20_display_map.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Also, check the [official MapView API reference](https://docs.maptiler.com/mapli
239239

240240
## AmplifyMapView
241241

242-
The `AmplifyMapView` provides a default search field, place markers, visualization modes (map or list) and map controls. It can be used to easily embed a place picker into any app. To use the search functionality of `AmplifyMapView`, provision a search index resource using the instructions in either [Configure Location Search](../configure-location-search) or [Use existing Amazon Location Service resources](../existing-resources).
242+
The `AmplifyMapView` provides a default search field, place markers, visualization modes (map or list) and map controls. It can be used to easily embed a place picker into any app. To use the search functionality of `AmplifyMapView`, provision a search index resource using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search/) or [Use existing Amazon Location Service resources](/[platform]/build-a-backend/more-features/geo/existing-resources/).
243243

244244
### Add a map to your app
245245

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
`AmplifyMapView` provides built-in location search, search field, and place markers. Follow the [AmplifyMapView section](../maps#amplifymapview) on the Maps page to setup the `AmplifyMapView`.
1+
`AmplifyMapView` provides built-in location search, search field, and place markers. Follow the [AmplifyMapView section](/[platform]/build-a-backend/more-features/geo/maps#amplifymapview) on the Maps page to setup the `AmplifyMapView`.

src/fragments/lib/geo/ios/maps/10_install_adapter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ framework may be used in order to display maps on macOS applications.
88

99
</Callout>
1010

11-
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configure maps](../configure-maps) or [Use existing resources](../existing-resources) guide.
11+
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configure maps](/[platform]/build-a-backend/more-features/geo/configure-maps/) or [Use existing resources](/[platform]/build-a-backend/more-features/geo/existing-resources/) guide.
1212

1313
Amplify-MapLibre is an open source adapter that enables the popular MapLibre SDK to work seamlessly with Amplify Geo.
1414

src/fragments/lib/geo/js/geofences.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Provisioning geofence resources
88

9-
First, make sure you've provisioned a geofence collection resource and configured your app using the instructions in either [Configure a geofence collection](../configure-geofencing) or [Use existing Amazon Location Service resources](../existing-resources) and you have already setup [displaying a map](../maps) in your application.
9+
First, make sure you've provisioned a geofence collection resource and configured your app using the instructions in either [Configure a geofence collection](/[platform]/build-a-backend/more-features/geo/configure-geofencing/) or [Use existing Amazon Location Service resources](/[platform]/build-a-backend/more-features/geo/existing-resources/) and you have already setup [displaying a map](/[platform]/build-a-backend/more-features/geo/maps) in your application.
1010

1111
## Manage Geofences in Your Application
1212

@@ -20,15 +20,15 @@ npm install aws-amplify @aws-amplify/geo @aws-amplify/ui-react @aws-amplify/ui-r
2020

2121
> **Note:** Make sure that `maplibre-gl-js-amplify` version `4.0.0` or above and `aws-amplify @aws-amplify/geo` version `6.0.0` or above are installed.
2222
23-
First, create a map onto which you want to add the geofence management component. See the guide on [creating and displaying maps](../maps).
23+
First, create a map onto which you want to add the geofence management component. See the guide on [creating and displaying maps](/[platform]/build-a-backend/more-features/geo/maps).
2424

2525
Then, import [AmplifyGeofenceControl](https://github.com/aws-amplify/maplibre-gl-js-amplify/blob/geo/API.md#amplifygeofencecontrol) from "maplibre-gl-js-amplify", create a new instance of this control and add it to your MapLibre map instance.
2626

2727
<BlockSwitcher>
2828

2929
<Block name="Javascript">
3030

31-
**Note:** When using the existing [maps implementation](../maps) you can add the Geofence control to an existing map
31+
**Note:** When using the existing [maps implementation](/[platform]/build-a-backend/more-features/geo/maps) you can add the Geofence control to an existing map
3232

3333
```diff
3434
import { useEffect, useRef } from "react";

src/fragments/lib/geo/js/maps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Display a map
88

9-
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configure maps](../configure-maps) or [Use existing resources](../existing-resources) guide.
9+
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configure maps](/[platform]/build-a-backend/more-features/geo/configure-maps/) or [Use existing resources](/[platform]/build-a-backend/more-features/geo/existing-resources/) guide.
1010

1111
<Callout>
1212

src/fragments/lib/geo/js/search.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Add location search functionality on a map
88

9-
First, make sure you've provisioned a search index resource and configured your app using the instructions in either [Configure Location Search](../configure-location-search) or [Use existing Amazon Location Service resources](../existing-resources) and you have already setup [displaying a map](../maps) in your application.
9+
First, make sure you've provisioned a search index resource and configured your app using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search/) or [Use existing Amazon Location Service resources](/[platform]/build-a-backend/more-features/geo/existing-resources/) and you have already setup [displaying a map](/[platform]/build-a-backend/more-features/geo/maps) in your application.
1010

1111
<Callout>
1212

@@ -24,7 +24,7 @@ npm install @maplibre/maplibre-gl-geocoder maplibre-gl@1 maplibre-gl-js-amplify
2424

2525
> **Note:** Make sure that `maplibre-gl-js-amplify` version `4.0.0` or above is installed.
2626
27-
First, create a map onto which you want to add the location search UI component. See the guide on [creating and displaying maps](../maps).
27+
First, create a map onto which you want to add the location search UI component. See the guide on [creating and displaying maps](/[platform]/build-a-backend/more-features/geo/maps).
2828

2929
Then, use `createAmplifyGeocoder()` to get a new instance of `MaplibreGeocoder` and add the location search UI component to the map.
3030

src/fragments/lib/geo/native_common/maps/common.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ios4 from '/src/fragments/lib/geo/ios/maps/10_install_adapter.mdx';
1010

1111
## Display a map
1212

13-
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configure maps](../configure-maps) or [Use existing resources](../existing-resources) guide.
13+
First, ensure you've provisioned an Amazon Location Service Map resource and configured your app using the instructions in either [Configure maps](/[platform]/build-a-backend/more-features/geo/configure-maps/) or [Use existing resources](/[platform]/build-a-backend/more-features/geo/existing-resources/) guide.
1414

1515
import android6 from '/src/fragments/lib/geo/android/maps/20_display_map.mdx';
1616

src/fragments/lib/geo/native_common/search/common.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Add location search functionality on a map
22

3-
First, make sure you've provisioned a search index resource and configured your app using the instructions in either [Configure Location Search](../configure-location-search) or [Use existing Amazon Location Service resources](../existing-resources) and you have already setup [displaying a map](../maps) in your application.
3+
First, make sure you've provisioned a search index resource and configured your app using the instructions in either [Configure Location Search](/[platform]/build-a-backend/more-features/geo/configure-location-search/) or [Use existing Amazon Location Service resources](/[platform]/build-a-backend/more-features/geo/existing-resources/) and you have already setup [displaying a map](/[platform]/build-a-backend/more-features/geo/maps/) in your application.
44

55
import android1 from '/src/fragments/lib/geo/android/search/30_location_search_map.mdx';
66

src/fragments/lib/graphqlapi/graphql-from-node.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ For functions written using CommonJS, you will need to install version 2 of `nod
118118

119119
## Query
120120

121-
Using an API Key for authenticating your requests, you can query the GraphQL API to get a list of all `Todo`s. To paginate over the list queries, you need to pass in a `limit` and `nextToken` on the `listTodos` query. See more at [GraphQL pagination ](/[platform]/build-a-backend/graphqlapi/graphql-pagination/).
121+
Using an API Key for authenticating your requests, you can query the GraphQL API to get a list of all `Todo`s. To paginate over the list queries, you need to pass in a `limit` and `nextToken` on the `listTodos` query. See more at [GraphQL pagination ](/[platform]/build-a-backend/graphqlapi/query-data/).
122122

123123
{/* prettier-ignore */}
124124
```js

src/fragments/lib/graphqlapi/ios/upgrade-guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ If you've used the AWS AppSync SDK's caching capabilities for optimistic UI, the
7272

7373
### Complex objects support
7474

75-
If you were using complex objects in the AWS AppSync SDK for iOS (Maintenance mode), then we recommend you to follow our [Working with Files](/[platform]/build-a-backend/graphqlapi/connect-to-api) guide. This guide details the recommended path to store file metadata in your GraphQL API records and use Amplify Storage to store blob data in Amazon S3.
75+
If you were using complex objects in the AWS AppSync SDK for iOS (Maintenance mode), then we recommend you to follow our [Working with Files](/[platform]/build-a-backend/graphqlapi/working-with-files) guide. This guide details the recommended path to store file metadata in your GraphQL API records and use Amplify Storage to store blob data in Amazon S3.

src/fragments/lib/graphqlapi/js/upgrade-guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If you've used the AWS AppSync SDK's caching capabilities for optimistic UI, the
6464

6565
### Complex objects support
6666

67-
If you were using complex objects in the AWS AppSync SDK for JavaScript (Maintenance mode), then we recommend you to follow our [Working with Files](/[platform]/build-a-backend/graphqlapi/connect-to-api/) guide. This guide details the recommended path to store file metadata in your GraphQL API records and use Amplify Storage to store blob data in Amazon S3.
67+
If you were using complex objects in the AWS AppSync SDK for JavaScript (Maintenance mode), then we recommend you to follow our [Working with Files](/[platform]/build-a-backend/graphqlapi/working-with-files/) guide. This guide details the recommended path to store file metadata in your GraphQL API records and use Amplify Storage to store blob data in Amazon S3.
6868

6969
## Option 2: Upgrade to Apollo Client with AppSync Links
7070

src/fragments/lib/troubleshooting/common/upgrading.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ Wherever you called `Amplify.configure({ aws-exports });` previously (usually in
161161

162162
If you have previously configured Amplify by passing the configuration object literal when calling the `Amplify.configure()` function, you can now configure Amplify manually with type safety. Please refer to the documentation of each category that you are using for migration.
163163

164+
<InlineFilter filters={["react", "vue", "javascript", "angular", "nextjs"]}>
165+
164166
- [Authentication - Set up and configure Amplify Auth](/[platform]/build-a-backend/auth/set-up-auth/#set-up-and-configure-amplify-auth) - see **Existing Resources** tab
165167
- [API (GraphQL) - Configure the Amplify Library](/[platform]/build-a-backend/graphqlapi/connect-to-api/#configure-the-default-authorization-mode) - see **Existing AppSync GraphQL API** tab
166168
- [API (REST) - Use existing AWS resources](/[platform]/build-a-backend/restapi/existing-resources/)
@@ -172,6 +174,21 @@ If you have previously configured Amplify by passing the configuration object li
172174
- [Analytics - Personalized recommendations](/[platform]/build-a-backend/more-features/analytics/personalize-recommendations/)
173175
- [Interactions - Set up Amplify Interactions](/[platform]/build-a-backend/more-features/interactions/set-up-interactions/)
174176

177+
</InlineFilter>
178+
179+
<InlineFilter filters={["react-native"]}>
180+
- [Authentication - Set up and configure Amplify Auth](/[platform]/build-a-backend/auth/set-up-auth/#set-up-and-configure-amplify-auth) - see **Existing Resources** tab
181+
- [API (GraphQL) - Configure the Amplify Library](/[platform]/build-a-backend/graphqlapi/connect-to-api/#configure-the-default-authorization-mode) - see **Existing AppSync GraphQL API** tab
182+
- [API (REST) - Use existing AWS resources](/[platform]/build-a-backend/restapi/existing-resources/)
183+
- [API (REST) - Define authorization rules](/[platform]/build-a-backend/restapi/customize-authz/)
184+
- [Storage - Use existing AWS resources](/[platform]/build-a-backend/storage/existing-resources/)
185+
- [Analytics - Use existing AWS resources](/[platform]/build-a-backend/more-features/analytics/existing-resources/)
186+
- [Analytics - Streaming analytics data (Kinesis)](/[platform]/build-a-backend/more-features/analytics/streaming-data/#installation-and-configuration)
187+
- [Interactions - Set up Amplify Interactions](/[platform]/build-a-backend/more-features/interactions/set-up-interactions/)
188+
189+
</InlineFilter>
190+
191+
175192
**Running Amplify on the server with NextJS**
176193

177194
To enable the use of the Amplify JavaScript library on the server, you need to set the `ssr` configuration to true in the `Amplify.configure` function.

src/pages/[platform]/build-a-backend/graphqlapi/customize-authorization-rules/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,8 +798,12 @@ These "Admin Roles" have special access privileges that are scoped based on thei
798798

799799
</BlockSwitcher>
800800

801+
<InlineFilter filters={["javascript", "vue", "angular", "react", "nextjs", "react-native"]}>
802+
801803
Refer to the [sample code](/[platform]/build-a-backend/graphqlapi/connect-from-server-runtime/#iam-authorization) to learn how to sign the request to call the GraphQL API using IAM authorization.
802804

805+
</InlineFilter>
806+
803807
### How it works
804808

805809
Definition of the `@auth` directive:

src/pages/[platform]/build-a-backend/graphqlapi/troubleshooting/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ export const meta = {
1111
'angular',
1212
'nextjs',
1313
'react',
14-
'vue'
14+
'vue',
15+
'react-native'
1516
]
1617
};
1718

0 commit comments

Comments
 (0)