Skip to content

Commit f148a8f

Browse files
author
Jacob Logan
committed
update cli-legacy relative links
1 parent 74a76dc commit f148a8f

File tree

9 files changed

+9
-13
lines changed

9 files changed

+9
-13
lines changed

src/fragments/lib-v1/auth/native_common/delete_user/common.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Depending on your application, data associated with your user may be stored in o
1010

1111
<Callout warning>
1212

13-
Before invoking the “delete user” API, you can first delete associated user data from the GraphQL API. For example, if you are using Amplify CLI's [GraphQL transformer](https://docs.amplify.aws/cli-legacy/graphql-transformer/overview/) to persist user data via [owner based access control](/[platform]/build-a-backend/graphqlapi/customize-auth//#per-user--owner-based-data-access), you could follow [these instructions](https://gist.github.com/aws-amplify-ops/27954c421bd72930874d48c15c284807) to delete associated user data.
13+
Before invoking the “delete user” API, you can first delete associated user data from the GraphQL API. For example, if you are using Amplify CLI's [GraphQL transformer](https://docs.amplify.aws/cli-legacy/overview/) to persist user data via [owner based access control](/[platform]/build-a-backend/graphqlapi/customize-auth//#per-user--owner-based-data-access), you could follow [these instructions](https://gist.github.com/aws-amplify-ops/27954c421bd72930874d48c15c284807) to delete associated user data.
1414

1515
This allows you to address any guidelines that require your app to delete data associated with a user who deletes their account.
1616

src/pages/[platform]/build-a-backend/graphqlapi/client-code-generation/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert url={'/[platform]/cli-legacy/graphql-transformer/codegen'} />
33+
<MigrationAlert url={'/[platform]/cli-legacy/codegen'} />
3434

3535
"Codegen" generates native code for Swift (iOS), Java (Android), and JavaScript that represent your GraphQL API's data models. It can also generate GraphQL statements (queries, mutations, and subscriptions) so that you don't have to hand code them.
3636

src/pages/[platform]/build-a-backend/graphqlapi/connect-machine-learning-services/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert
34-
url={'/[platform]/cli-legacy/graphql-transformer/predictions'}
35-
/>
33+
<MigrationAlert url={'/[platform]/cli-legacy/predictions'} />
3634

3735
Amplify allows you to identify text on an image, identify labels on an image, translate text, and synthesize speech from text with the `@predictions` directive.
3836

src/pages/[platform]/build-a-backend/graphqlapi/custom-business-logic/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ export function getStaticProps(context) {
3131
}
3232

3333
<MigrationAlert
34-
url={
35-
'/[platform]/[platform]/tools/cli-legacy/graphql-transformer/function-directive/'
36-
}
34+
url={'/[platform]/[platform]/tools/cli-legacy/function-directive/'}
3735
/>
3836

3937
Define your custom business logic in a Lambda function resolver, HTTP resolver, or VTL resolver and expose them in a GraphQL query or mutation. Extend or override Amplify-generated GraphQL resolvers to optimize for your specific use cases.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert url={'/cli-legacy/graphql-transformer/auth'} />
33+
<MigrationAlert url={'/cli-legacy/auth'} />
3434

3535
Use the `@auth` directive to configure authorization rules for public, sign-in user, per user, and per user group data access. **Authorization rules operate on the deny-by-default principle**. Meaning that if an authorization rule is not specifically configured, it is denied.
3636

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert url={'/[platform]/cli-legacy/graphql-transformer/key'} />
33+
<MigrationAlert url={'/[platform]/cli-legacy/key'} />
3434

3535
Amplify automatically creates Amazon DynamoDB database tables for GraphQL types annotated with the `@model` directive in your GraphQL schema. You can create relations between the data models via the `@hasOne`, `@hasMany`, `@belongsTo`, and `@manyToMany` directives.
3636

src/pages/[platform]/build-a-backend/graphqlapi/search-and-result-aggregations/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
<MigrationAlert url={'/[platform]/cli-legacy/graphql-transformer/searchable'} />
33+
<MigrationAlert url={'/[platform]/cli-legacy/searchable'} />
3434

3535
Add the `@searchable` directive to an `@model` type to enable OpenSearch-based data search and result aggregations. This gives you the ability to:
3636

src/pages/[platform]/tools/cli/project/troubleshooting/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To debug deployment issues, it's helpful to understand the [file structure of yo
4646
To debug deployment issues in projects with GraphQL API, it's helpful to understand the various artifacts generated by Amplify in a GraphQL project.
4747

4848
1. GraphQL schema VTL generation: The Amplify CLI GraphQL workflow uses the [AWS AppSync service](https://docs.aws.amazon.com/appsync/latest/devguide/system-overview-and-architecture.html) to provision the GraphQL API. The `amplify api gql-compile` command transpiles the GraphQL schema provided by the developer and generates all the artifacts required to deploy the API in AWS.
49-
- Directives like [@model](/[platform]/build-a-backend/graphqlapi/data-modeling//), [@function](/[platform]/tools/cli-legacy/graphql-transformer/function-directive//), [@auth](/cli/graphql/authorization-rules/), and [@searchable](/[platform]/build-a-backend/graphqlapi/search-and-result-aggregations/) in the GraphQL schema are used to generate CloudFormation and provision AWS resources.
49+
- Directives like [@model](/[platform]/build-a-backend/graphqlapi/data-modeling//), [@function](/[platform]/tools/cli-legacy/function-directive//), [@auth](/cli/graphql/authorization-rules/), and [@searchable](/[platform]/build-a-backend/graphqlapi/search-and-result-aggregations/) in the GraphQL schema are used to generate CloudFormation and provision AWS resources.
5050
- The GraphQL resolvers for Query, Mutation or Subscription are converted into [VTL (Velocity Template Language)](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference-programming-guide.html) files. AWS AppSync uses VTL to translate GraphQL requests from clients into a request to your data source.
5151
1. GraphQL schema client-side code generation: The Amplify CLI GraphQL workflow allows developers to generate client-side code for web and mobile clients using the `amplify codegen` command. Read the [Amplify code generation documentation](/[platform]/build-a-backend/graphqlapi/client-code-generation/) prior to debugging any client-side code generation issues.
5252

src/pages/[platform]/tools/console/data/data-model/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Skip ahead to [relationships](/[platform]/tools/console/data/relationships/) or
5151

5252
## Data modeling in Amplify Studio
5353

54-
The Studio data model designer provides a visual way to define your app's data model, relationships, and authorization rules. Studio generates a `schema.graphql` GraphQL Transform for the data model you create, and adds this to your Amplify project. To learn more about how the GraphQl transform works, see [GraphQL Transform Overview](/[platform]/tools/cli-legacy/graphql-transformer/overview/).
54+
The Studio data model designer provides a visual way to define your app's data model, relationships, and authorization rules. Studio generates a `schema.graphql` GraphQL Transform for the data model you create, and adds this to your Amplify project. To learn more about how the GraphQl transform works, see [GraphQL Transform Overview](/[platform]/tools/cli-legacy/overview/).
5555

5656
![Screen recording of the process for adding a data model in data modelling page](/images/console/datamodel.gif)
5757

0 commit comments

Comments
 (0)