{
 "kind": "tool",
 "slug": "aws-sdk-client-s3",
 "path": "tools/aws-sdk-client-s3/",
 "name": "AWS SDK for JavaScript (S3)",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "SDKs for hosted services",
   "tools/service-sdks/"
  ]
 ],
 "lead": "Official AWS SDK for uploading, downloading and managing S3 objects.",
 "chips": [
  {
   "label": "SDKs for hosted services",
   "path": "tools/service-sdks/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @aws-sdk/client-s3"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/aws/aws-sdk-js-v3"
  },
  {
   "label": "Website",
   "href": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/aws/aws-sdk-js-v3"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Nov 23, 2026. ",
   "src": "https://github.com/aws/aws-sdk-js-v3"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "198 projects",
   "status": "info",
   "sub": "#3 of 287 in its category",
   "note": "Dependency in 198 public GitHub projects set up for AI coding agents that we scanned (3.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "yes",
   "sub": "llms.txt",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": "https://docs.aws.amazon.com/llms.txt"
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What AWS SDK for JavaScript (S3) does",
   "parts": [
    {
     "t": "prose",
     "text": "The AWS SDK for JavaScript v3 splits each service, and even the SDK core, into its own package. It drops v2's global config and runs every call through a middleware stack you can add to."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "AWS SDK for JavaScript (S3) popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "74",
       "of": "/ 100",
       "l": "Gid Score, #253 overall"
      },
      {
       "n": "78.1M",
       "l": "downloads a week, npm"
      },
      {
       "n": "3,687",
       "l": "GitHub stars"
      },
      {
       "n": "198",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How AWS SDK for JavaScript (S3) is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "AWS SDK for JavaScript (S3) is a dependency in 198 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (4.1% of the 4,867 JavaScript/TypeScript ones), #3 of 287 in sdks for hosted services.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 542; those are left out of every share on this page.",
      "The most used alternative in our scan is Supabase JS (675 projects).",
      "Projects that use it most often also use tsx (57.1%), Zod (69.2%), dotenv (51.5%).",
      "It is more common in projects set up for Kiro (9.3%) than for GitHub Copilot (2.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "136 projects, 4.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "82 projects, 3.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "79 projects, 2.6%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "35 projects, 7.4%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "23 projects, 6.9%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "14 projects, 3.0%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "13 projects, 9.3%",
       "v": "Kiro",
       "path": "agents/kiro/"
      },
      {
       "l": "13 projects, 3.8%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 57.1% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 69.2% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 51.5% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 91.4% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 53.0% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 29.3% of its projects",
       "v": "Sharp",
       "path": "tools/sharp/"
      },
      {
       "l": "In 27.8% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 26.3% of its projects",
       "v": "pg",
       "path": "tools/pg/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "AWS SDK for JavaScript (S3) in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "The core is split too, not just the services",
       "v": "Beyond one package per service, the maintainers split the SDK's core parts so a client pulls in only what it needs. Their example: a service that responds in JSON no longer needs an XML parser as a dependency."
      },
      {
       "l": "A middleware stack instead of event listeners",
       "v": "v2 let you modify requests by attaching event listeners. v3 uses a middleware stack, and the README shows adding one that logs each command's input and output. The maintainers write that this makes debugging easier, since you can see which middleware ran before an error."
      },
      {
       "l": "Per-client config, nothing global",
       "v": "In v2, settings were merged into a copy of <code>AWS.config</code>, and <code>AWS.config.update</code> only affected clients created after the call. The maintainers call this \"a frequent source of confusion\". In v3 you pass configuration to each client. You can still share one config object across clients."
      },
      {
       "l": "Faster than v2 on Node 18, per AWS",
       "v": "The Lambda section of the README says v3 performance on Node 18 improved over v2. It links an AWS benchmarking post about Lambda cold start times."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "The v2-like interface adds bundle weight",
       "v": "You can import the client by service name and call operations directly on it. The README says that if you use tree shaking, this increases bundle size compared with the modular Client plus Command interface."
      },
      {
       "l": "react-native needs three polyfills and a Metro setting",
       "v": "You must add and import <code>react-native-get-random-values</code>, <code>react-native-url-polyfill</code> and <code>web-streams-polyfill</code>. You also need to enable Package Exports Support in the Metro bundler."
      },
      {
       "l": "Lambda's included SDK is pinned to a minor version",
       "v": "The SDK that comes with the Lambda runtime is set to a specific minor version, not the latest. The maintainers write that they \"recommend that you always include the SDK modules your code uses\" in the deployment package or a Lambda layer."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Client + Command call (README getting-started, shown with DynamoDB)"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Javascript",
       "code": "const { DynamoDBClient, ListTablesCommand } = require(\"@aws-sdk/client-dynamodb\");\n\n(async () => {\n  const client = new DynamoDBClient({ region: \"us-west-2\" });\n  const command = new ListTablesCommand({});\n  try {\n    const results = await client.send(command);\n    console.log(results.TableNames.join(\"\\n\"));\n  } catch (err) {\n    console.error(err);\n  }\n})();"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about AWS SDK for JavaScript (S3)",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Packages around it",
       "items": [
        "@aws-sdk/s3-request-presigner: Presigned S3 URLs",
        "@aws-sdk/credential-providers: AWS credential loaders",
        "@aws-sdk/client-bedrock-runtime: Bedrock model client",
        "@aws-sdk/client-dynamodb: DynamoDB client",
        "@aws-sdk/lib-dynamodb: DynamoDB document client",
        "@aws-sdk/client-lambda: Lambda client"
       ]
      },
      {
       "title": "More in SDKs for hosted services",
       "path": "tools/service-sdks/",
       "items": [
        {
         "text": "Supabase SSR",
         "path": "tools/supabase-ssr/"
        },
        {
         "text": "Resend",
         "path": "tools/resend-npm/"
        },
        {
         "text": "Stripe (JavaScript)",
         "path": "tools/stripe-node/"
        },
        {
         "text": "Supabase CLI",
         "path": "tools/supabase-npm/"
        },
        {
         "text": "Stripe.js",
         "path": "tools/stripe-npm/"
        },
        {
         "text": "Google APIs Client Library",
         "path": "tools/googleapis/"
        },
        {
         "text": "google-auth",
         "path": "tools/google-auth/"
        },
        {
         "text": "Boto3",
         "path": "tools/boto3/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "AWS SDK for JavaScript (S3)",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 74",
        "78.1M/wk"
       ]
      },
      {
       "name": "Supabase JS",
       "why": "Isomorphic JavaScript SDK for Supabase backend-as-a-service.",
       "path": "tools/supabase-supabase-js/",
       "facts": [
        "MIT",
        "Gid 82",
        "67.9M/wk"
       ]
      },
      {
       "name": "Firebase",
       "why": "Google's platform SDK for realtime database, auth, hosting and serverless functions.",
       "path": "tools/firebase-node/",
       "facts": [
        "Apache-2.0",
        "Gid 70",
        "15.3M/wk"
       ]
      },
      {
       "name": "Vercel Blob",
       "why": "Vercel client library for storing and retrieving files in serverless environments.",
       "path": "tools/vercel-blob/",
       "facts": [
        "Apache-2.0",
        "Gid 56",
        "11.9M/wk"
       ]
      }
     ],
     "more": "Compare AWS SDK for JavaScript (S3) with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @aws-sdk/client-s3"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## AWS SDK for JavaScript v3\n- Install only the per-service client packages the code calls (the README's example adds `@aws-sdk/client-dynamodb`).\n- Use the modular Client + Command style: `new XClient({...})`, then `client.send(new SomeCommand({...}))`. The non-modular interface increases bundle size when tree shaking.\n- Pass configuration such as `region` to each client you create. v3 has no global configuration.\n- In Lambda, create a single client per service, per region, outside the handler. Make the API calls inside the handler.\n- In Lambda, include the SDK modules the code uses in the deployment package or a Lambda layer. Do not rely on the runtime-provided SDK.\n- Commit the lock file with the code to avoid potential breaking changes.\n- On react-native, import `react-native-get-random-values`, `react-native-url-polyfill/auto` and `web-streams-polyfill/dist/polyfill` before the SDK client, and enable Package Exports Support in Metro.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @aws-sdk/client-s3"
  ],
  [
   "Category",
   "SDKs for hosted services"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Latest version",
   "v3.1149.0, October 9, 2026"
  ],
  [
   "On GitHub since",
   "April 2017"
  ],
  [
   "Gid Score",
   "73.5"
  ],
  [
   "Rank in category",
   "#3 of 287"
  ],
  [
   "GitHub",
   "aws/aws-sdk-js-v3"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/aws.png"
}