Skip to content

Commit 0b56d43

Browse files
committed
Added images updated dir update links
1 parent 7325cc7 commit 0b56d43

File tree

8 files changed

+18
-19
lines changed

8 files changed

+18
-19
lines changed
274 KB
Loading

public/images/gen-ai/claude.png

29.2 KB
Loading

public/images/gen-ai/login-form.png

62.9 KB
Loading

src/directory/directory.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@ export const directory = {
295295
{
296296
path: 'src/pages/[platform]/build-a-backend/restapi/test-api/index.mdx'
297297
},
298+
{
299+
path: 'src/pages/[platform]/build-a-backend/restapi/gen-ai/index.mdx'
300+
},
298301
{
299302
path: 'src/pages/[platform]/build-a-backend/restapi/existing-resources/index.mdx'
300303
},

src/pages/[platform]/build-a-backend/restapi/gen-ai/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export function override(
377377

378378
Run `amplify push` to sync your changes with the cloud. Now restart your local Next.js server and try to call Amazon Bedrock again through your API route.
379379

380-
![Object with text {completion: "I'm Claude, an AI assistant created by Anthropic"}](/images/gen-ai/claude.png)
380+
![Object with text completion: "I'm Claude, an AI assistant created by Anthropic"](/images/gen-ai/claude.png)
381381

382382
## Hosting
383383

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -33,40 +33,40 @@ export function getStaticProps(context) {
3333
};
3434
}
3535

36-
The Amplify Command Line Interface (CLI) is a unified toolchain to create, integrate, and manage the AWS cloud services for your app.
36+
The Amplify Command Line Interface (CLI) is a unified toolchain to create, integrate, and manage the AWS cloud services for your app. Follow the steps in our guide to **[Install the Amplify CLI](/[platform]/tools/cli/start/set-up-cli/)**
3737

3838
![Amplify CLI feature carousel](/assets/cli-b-roll.gif)
3939

40-
<InternalLinkButton href="/cli/start/install">
41-
<span slot="text">Install Amplify CLI</span>
42-
</InternalLinkButton>
43-
4440
## Key capabilities
4541

4642
### Data modeling with GraphQL
4743

4844
At the core of most applications is one thing - the data. Easily being able to model and access data in your app allows you to focus on delivering core features and business value instead of architecting and re-architecting your back end.
4945

50-
The GraphQL Transform library allows you to deploy AWS AppSync GraphQL APIs with features like NoSQL databases, authentication, OpenSearch engines, lambda function resolvers, relationships, authorization, and more using GraphQL schema directives. [Learn more](/cli/graphql/overview)
46+
The GraphQL Transform library allows you to deploy AWS AppSync GraphQL APIs with features like NoSQL databases, authentication, OpenSearch engines, lambda function resolvers, relationships, authorization, and more using GraphQL schema directives. [Learn more](/[platform]/build-a-backend/graphqlapi/)
5147

5248
### Multiple environments
5349

54-
Amplify CLI has support for multiple environments (e.g. dev, qa, and prod). When you initialize a project with the CLI, you create an Amplify backend environment. Every Amplify backend environment is a container for the categories added to your project. You can view all the backend environments as well as the categories added in the Amplify Console. [Learn more](/cli/teams/overview)
50+
Amplify CLI has support for multiple environments (e.g. dev, qa, and prod). When you initialize a project with the CLI, you create an Amplify backend environment. Every Amplify backend environment is a container for the categories added to your project. You can view all the backend environments as well as the categories added in the Amplify Console. [Learn more](/[platform]/tools/cli/teams/)
5551

5652
### Extensibility
5753

5854
Ship fullstack web and mobile apps that you’ll never outgrow, powered by AWS Amplify. AWS Amplify’s extensibility features give developers the flexibility to customize their AWS backend and deployment capabilities. Reconfigure Amplify-generated backend resources to optimize for specific use cases, or modify Amplify's deployment operations to comply with your enterprise DevOps guidelines as your needs evolve.
5955

60-
1. [Override generated resources](/cli/auth/override) - Modify fine-grained backend resource settings and override via CDK. Amplify does the heavy lifting for you. For example, use Amplify to add new Cognito resources with default settings to your backend. Override just the settings you want with 'amplify override auth'. Override [project-level (IAM roles)](/cli/project/override), [auth (Cognito)](/cli/auth/override), and [storage (S3 and DynamoDB)](/cli/storage/override) resources.
61-
2. [Add custom AWS resources](/cli/custom/cdk) - The Amplify CLI provides the ability to add custom AWS resources with [CDK](/cli/custom/cdk) or [CloudFormation](/cli/custom/cloudformation). Running the 'amplify add custom' command in your Amplify project provides CDK or CloudFormation starter files along with mechanisms to reference other Amplify-generated resources.
62-
3. [Import existing AWS resources](/cli/auth/import) - Integrate your existing resources, such as [Amazon Cognito user pool and federated identities (identity pool)](/cli/auth/import), or [Storage resources like DynamoDB + S3](/cli/storage/import), into an Amplify project. For example, use your existing Cognito resources as an authentication mechanism for your GraphQL API, Storage (S3), and more.
63-
4. [Command hooks](/cli/project/command-hooks) - Use Command Hooks to execute custom scripts before, during, and after Amplify CLI commands ('amplify push', 'amplify api gql-compile', and more). Trigger validation checks, run credential scans, or clean-up build artifacts during deployment. Extend Amplify’s best-practice defaults to meet your security guidelines and operational requirements.
56+
1. [Override generated resources](/[platform]/build-a-backend/auth/override-cognito/) - Modify fine-grained backend resource settings and override via CDK. Amplify does the heavy lifting for you. For example, use Amplify to add new Cognito resources with default settings to your backend. Override just the settings you want with 'amplify override auth'. Override [project-level (IAM roles)](/[platform]/tools/cli/project/override-iam/), [auth (Cognito)](/[platform]/build-a-backend/auth/override-cognito/), and [storage (S3 and DynamoDB)](/[platform]/build-a-backend/storage/modify-amplify-generated-resources/) resources.
57+
58+
2. [Add custom AWS resources](/[platform]/tools/cli/custom/cdk/) - The Amplify CLI provides the ability to add custom AWS resources with [CDK](/[platform]/tools/cli/custom/cdk/) or [CloudFormation](/[platform]/tools/cli/custom/cloudformation/). Running the 'amplify add custom' command in your Amplify project provides CDK or CloudFormation starter files along with mechanisms to reference other Amplify-generated resources.
59+
60+
3. [Import existing AWS resources](/[platform]/build-a-backend/auth/import-existing-resources) - Integrate your existing resources, such as [Amazon Cognito user pool and federated identities (identity pool)](/[platform]/build-a-backend/auth/import-existing-resources/), or [Storage resources like DynamoDB + S3](/[platform]/build-a-backend/storage/import/), into an Amplify project. For example, use your existing Cognito resources as an authentication mechanism for your GraphQL API, Storage (S3), and more.
61+
62+
4. [Command hooks](/[platform]/tools/cli/project/command-hooks/) - Use Command Hooks to execute custom scripts before, during, and after Amplify CLI commands ('amplify push', 'amplify api gql-compile', and more). Trigger validation checks, run credential scans, or clean-up build artifacts during deployment. Extend Amplify’s best-practice defaults to meet your security guidelines and operational requirements.
63+
6464
5. Export Amplify project to CDK - Use Amplify with existing DevOps tools or integrate into your existing deployment systems. Amplifys export feature lets you export your Amplify project to your preferred tooling using CDK. Export Amplify CLI build artifacts, including CloudFormation templates, GraphQL API resolver code, Lambda function assets, and client-side code generation.
6565

6666

6767
### Local mocking
6868

69-
Amplify supports running a local server for mocking and testing your application before pushing to the cloud with certain categories, including API (AWS AppSync), Storage (Amazon DynamoDB and Amazon S3), Functions (AWS Lambda), and Hosting. After running amplify init you can run the following to start a mock server. [Learn more](/cli/usage/mock)
69+
Amplify supports running a local server for mocking and testing your application before pushing to the cloud with certain categories, including API (AWS AppSync), Storage (Amazon DynamoDB and Amazon S3), Functions (AWS Lambda), and Hosting. After running amplify init you can run the following to start a mock server. [Learn more](/[platform]/tools/cli/usage/mock/)
7070

7171
```bash
7272
amplify mock

src/pages/[platform]/tools/cli/start/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getChildPageNodes } from '@/utils/getChildPageNodes';
33

44
export const meta = {
55
title: 'Start',
6-
description: 'Start',
6+
description: 'Get started with Amplify CLI unified toolchain to create, integrate, and manage services for your app.',
77
platforms: [
88
'android',
99
'angular',

src/pages/[platform]/tools/cli/usage/mock/index.mdx

+1-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ export function getStaticProps(context) {
3030
};
3131
}
3232

33-
It is highly recommended that you complete the Getting Started section of Amplify setup before using local mocking.
34-
35-
<InternalLinkButton href="/start">
36-
<span slot="text">Get Started</span>
37-
</InternalLinkButton>
33+
It is highly recommended that you complete the **[Getting Started](/[platform]/start/getting-started/)** section of Amplify setup before using local mocking.
3834

3935
In order to quickly test and debug without pushing all changes in your project to the cloud, Amplify supports _Local Mocking and Testing_ for certain categories including API (AWS AppSync), Storage (Amazon DynamoDB and Amazon S3), and Functions (AWS Lambda). This includes using directives from the GraphQL Transformer, editing & debug resolvers, hot reloading, JWT mocking of authorization checks, and even performing S3 operations such as uploading and downloading content.
4036

0 commit comments

Comments
 (0)