搜索插件、代码仓与 APP 分类

插件详情v2.0.0

aws_amplify_api

AWS Amplify 的 AWS API 客户端(由 SDK API 规范生成)。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
63
喜欢数
2
Pub 分数
130

安装插件

flutter pub add aws_amplify_api

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个 Flutter/Dart 包,提供从官方 AWS SDK API 规范生成的 AWS Amplify API 客户端。它可实现与 AWS Amplify 服务的无缝集成,使开发者能够与后端 API 交互、执行 CRUD 操作,并在多个平台上管理身份验证和数据同步。该包支持 Android、iOS、Web、macOS、Windows 和 Linux,非常适合需要 AWS 驱动后端功能的跨平台应用。

适合场景

  • 与 AWS Amplify 托管的 API 集成
  • 使用 AWS 后端构建跨平台应用
  • 管理基于API的数据工作流
  • 通过 AWS Cognito 启用安全身份验证
  • 在设备间同步数据

主要特点

  • 源自官方 AWS SDK 规范
  • 跨平台支持
  • 无缝集成 AWS Amplify
  • 类型安全的 API 调用
  • 内置错误处理
  • 支持 GraphQL 和 REST API

适合对象

  • 使用 AWS Amplify 的 Flutter 开发人员
  • 需要云支持的数据存储的应用程序
  • 构建可扩展的移动和Web应用的团队
  • 需要安全用户认证的项目
  • 利用AWS无服务器架构的开发者

使用建议

  • 项目中需要设置 AWS Amplify
  • 依赖 AWS 网络连接
  • 可能需要额外配置以支持复杂的认证流程
  • 由于 SDK 生成导致包体积过大
  • 与原始 HTTP 客户端相比,自定义选项有限

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

High-level APIs for Amazon Web Services (AWS) in Dart

This repository contains a single Dart package, aws_client, which bundles auto-generated clients for all supported AWS APIs together with the shared runtime, DynamoDB document client and credential providers.

  • aws_client — the published package with all AWS API clients
  • Code generator — generates aws_client from the AWS SDK for JavaScript API models

Development

Generate the APIs

Generated sources are checked into the repository. To regenerate them, run the following command with the working directory set to the generator folder:

dart bin/generate.dart generate

This downloads the JSON API definitions (if needed) and regenerates the aws_client package and its protocol conformance test suite. See the generator README for more options.

TODO

  • Implement EC2 protocol

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。