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

插件详情v0.10.0

aws_client

用于访问 Amazon Web Services (AWS) API 的自动生成客户端库

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
7.3万
喜欢数
42
Pub 分数
160

安装插件

flutter pub add aws_client

插件介绍

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

aws_client 包为与 Amazon Web Services (AWS) API 交互提供自动生成的 Dart 客户端库。它使 Flutter 应用程序能够安全地从移动、Web 和桌面平台直接访问 AWS 服务,例如 S3、DynamoDB 和 Lambda。通过利用代码生成,该包确保了 API 绑定的最新性和类型安全性。开发者可以使用熟悉的 Dart 语法,以最少的样板代码将 AWS 功能集成到其应用中。该包支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux。

适合场景

  • 集成 AWS S3 进行文件存储
  • 连接到 DynamoDB 以实现 NoSQL 数据持久化
  • 从Flutter应用调用AWS Lambda函数
  • 使用 AWS 后端服务构建跨平台应用
  • 通过 AWS Cognito 启用安全身份验证

主要特点

  • 自动生成的客户端库
  • 类型安全的 API 绑定
  • 对多种 AWS 服务的支持
  • 跨平台兼容性
  • 安全的凭据管理
  • 最小化样板代码

适合对象

  • Flutter 开发人员构建云连接应用
  • 使用 AWS 作为后端基础设施的团队
  • 需要可扩展数据存储和处理的应用程序
  • 寻求跨平台 AWS 集成的开发人员
  • 需要快速 AWS API 访问的项目

使用建议

  • 需要了解 AWS IAM 角色和权限
  • 由于生成的代码,应用大小可能会增加
  • 依赖稳定的互联网连接进行AWS调用
  • 需要对网络故障进行适当的错误处理
  • 生产环境使用需要进行身份验证设置

原始 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

所属分类

依赖

依赖清单 7 项

源码仓库

使用此插件的项目

暂无相关数据。

所在榜单