[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-aws-sdk-swift-usage":3,"mdc-y98740-key":35,"related-org-aws-aws-sdk-swift-usage":1257,"related-repo-aws-aws-sdk-swift-usage":1428},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"aws-sdk-swift-usage","write Swift code using AWS SDK","AWS SDK for Swift development patterns. Use when writing Swift code that uses AWS services via aws-sdk-swift package.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"aws","AWS (Amazon)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faws.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Swift","swift","tag",{"name":17,"slug":18,"type":15},"Engineering","engineering",{"name":20,"slug":21,"type":15},"SDK","sdk",{"name":23,"slug":8,"type":15},"AWS",1822,"https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws","2026-07-12T08:42:19.923596",null,157,[],{"repoUrl":25,"stars":24,"forks":28,"topics":31,"description":32},[],"Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS","https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws\u002Ftree\u002FHEAD\u002Fskills\u002Fcore-skills\u002Faws-sdk-swift-usage","---\nname: aws-sdk-swift-usage\ndescription: |\n  AWS SDK for Swift development patterns. Use when writing Swift code that uses AWS services via aws-sdk-swift package.\n---\n\n# AWS SDK for Swift\n\n## Async Code Structure\n\nAll SDK operations are async. Use `@main` entry point:\n\n```swift\n@main\nstruct Main {\n    static func main() async throws {\n        let client = try await S3Client()\n        \u002F\u002F ... async operations\n    }\n}\n```\n\n## CRITICAL: Use Struct Config Types\n\nNEVER use `S3ClientConfiguration` or `DynamoDBClientConfiguration` - these are DEPRECATED classes.\n\nALWAYS use the struct-based config types:\n\n- `S3Client.S3ClientConfig` (not S3ClientConfiguration)\n- `DynamoDBClient.DynamoDBClientConfig` (not DynamoDBClientConfiguration)  \n- `STSClient.STSClientConfig` (not STSClientConfiguration)\n\nConfig parameters MUST be in declaration order. Region is ALWAYS required when creating a config. Check the service client source for exact order.\n\n```swift\n\u002F\u002F CORRECT - struct config\nlet config = try await S3Client.S3ClientConfig(region: \"us-west-2\")\nlet client = S3Client(config: config)\n\n\u002F\u002F WRONG - deprecated class\n\u002F\u002F let config = try await S3Client.S3ClientConfiguration(region: \"us-west-2\")\n```\n\n## Client Creation\n\nAll service clients follow the same pattern: `\u003CService>Client` with `\u003CService>Client.\u003CService>ClientConfig`.\n\nModel types (structs\u002Fenums used in requests\u002Fresponses) are namespaced under `\u003CService>ClientTypes`:\n\n- `S3ClientTypes.Bucket`, `S3ClientTypes.Object`\n- `DynamoDBClientTypes.AttributeValue`\n- `CloudWatchClientTypes.MetricDatum`, `CloudWatchClientTypes.Dimension`\n\n```swift\nimport AWSS3\nimport AWSDynamoDB\n\n\u002F\u002F Simple - auto-detects region\nlet s3 = try await S3Client()\nlet dynamo = try await DynamoDBClient()\n\n\u002F\u002F With region\nlet s3 = try S3Client(region: \"us-west-2\")\n\n\u002F\u002F With config - parameters must be in declaration order\nlet config = try await S3Client.S3ClientConfig(\n    useFIPS: true,\n    awsRetryMode: .adaptive,\n    maxAttempts: 5,\n    region: \"us-west-2\"\n)\nlet client = S3Client(config: config)\n\n\u002F\u002F With custom endpoint and credentials\nlet config = try await S3Client.S3ClientConfig(\n    awsCredentialIdentityResolver: resolver,\n    region: \"us-west-2\",\n    endpoint: \"https:\u002F\u002Fs3.custom-endpoint.com\"\n)\n```\n\nCommon config parameters (MUST follow declaration order):\n\n- `awsCredentialIdentityResolver` - Custom credentials\n- `useFIPS` - Enable FIPS endpoints\n- `useDualStack` - Enable dual-stack endpoints\n- `awsRetryMode` - Retry strategy (.adaptive, .standard, .legacy)\n- `maxAttempts` - Max retry attempts\n- `region` - AWS region\n- `httpClientEngine` - Custom HTTP client (requires HttpClientConfiguration parameter):\n\n  ```swift\n  import ClientRuntime\n  let httpConfig = HttpClientConfiguration()\n  let httpClient = URLSessionHTTPClient(httpClientConfiguration: httpConfig)\n  let config = try await S3Client.S3ClientConfig(\n      region: \"us-east-1\",\n      httpClientEngine: httpClient\n  )\n  ```\n\n- `endpoint` - Custom endpoint URL\n\nFor service-specific config options or exact parameter order, check `Sources\u002FServices\u002FAWS\u003CService>\u002FSources\u002FAWS\u003CService>\u002F\u003CService>Client.swift` in the SDK.\n\n## Credential Resolvers\n\n```swift\nimport AWSSDKIdentity\nimport SmithyIdentity\n\n\u002F\u002F Static credentials - pass credential object directly\nlet creds = AWSCredentialIdentity(accessKey: \"AKIA...\", secret: \"...\")\nlet resolver = StaticAWSCredentialIdentityResolver(creds)\n\n\u002F\u002F Assume role - REQUIRES underlying resolver\nlet underlying = try DefaultAWSCredentialIdentityResolverChain()\nlet resolver = try STSAssumeRoleAWSCredentialIdentityResolver(\n    awsCredentialIdentityResolver: underlying,\n    roleArn: \"arn:aws:iam::123456789012:role\u002FMyRole\",\n    sessionName: \"session-name\"\n)\n\n\u002F\u002F Use in config\nlet config = try await S3Client.S3ClientConfig(\n    awsCredentialIdentityResolver: resolver,\n    region: \"us-west-2\"\n)\n```\n\n## Waiters\n\nImport `SmithyWaitersAPI`. WaiterOptions requires `maxWaitTime` parameter:\n\n```swift\nimport AWSS3\nimport SmithyWaitersAPI\n\nlet client = try await S3Client()\n_ = try await client.waitUntilBucketExists(\n    options: WaiterOptions(maxWaitTime: 120.0),\n    input: HeadBucketInput(bucket: \"my-bucket\")\n)\n```\n\n## Pagination\n\n```swift\nlet input = ListObjectsV2Input(bucket: \"my-bucket\")\nfor try await page in client.listObjectsV2Paginated(input: input) {\n    for object in page.contents ?? [] {\n        print(object.key ?? \"\")\n    }\n}\n```\n\n## Presigned URLs\n\n```swift\nlet url = try await client.presignedURLForGetObject(\n    input: GetObjectInput(bucket: \"my-bucket\", key: \"file.pdf\"),\n    expiration: 3600\n)\n```\n\n## Common Operations\n\n```swift\n\u002F\u002F Put object\n_ = try await client.putObject(input: PutObjectInput(\n    body: .data(data),\n    bucket: \"bucket\",\n    key: \"key\"\n))\n\n\u002F\u002F Get object\nlet output = try await client.getObject(input: GetObjectInput(bucket: \"bucket\", key: \"key\"))\nlet data = try await output.body?.readData()\n\n\u002F\u002F List buckets\nlet response = try await client.listBuckets(input: ListBucketsInput())\nfor bucket in response.buckets ?? [] {\n    print(bucket.name ?? \"\")\n}\n```\n",{"data":36,"body":37},{"name":4,"description":6},{"type":38,"children":39},"root",[40,49,56,71,146,152,173,178,216,221,277,283,304,317,362,580,585,737,750,756,915,921,942,1010,1016,1069,1075,1113,1119,1251],{"type":41,"tag":42,"props":43,"children":45},"element","h1",{"id":44},"aws-sdk-for-swift",[46],{"type":47,"value":48},"text","AWS SDK for Swift",{"type":41,"tag":50,"props":51,"children":53},"h2",{"id":52},"async-code-structure",[54],{"type":47,"value":55},"Async Code Structure",{"type":41,"tag":57,"props":58,"children":59},"p",{},[60,62,69],{"type":47,"value":61},"All SDK operations are async. Use ",{"type":41,"tag":63,"props":64,"children":66},"code",{"className":65},[],[67],{"type":47,"value":68},"@main",{"type":47,"value":70}," entry point:",{"type":41,"tag":72,"props":73,"children":77},"pre",{"className":74,"code":75,"language":14,"meta":76,"style":76},"language-swift shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","@main\nstruct Main {\n    static func main() async throws {\n        let client = try await S3Client()\n        \u002F\u002F ... async operations\n    }\n}\n","",[78],{"type":41,"tag":63,"props":79,"children":80},{"__ignoreMap":76},[81,92,101,110,119,128,137],{"type":41,"tag":82,"props":83,"children":86},"span",{"class":84,"line":85},"line",1,[87],{"type":41,"tag":82,"props":88,"children":89},{},[90],{"type":47,"value":91},"@main\n",{"type":41,"tag":82,"props":93,"children":95},{"class":84,"line":94},2,[96],{"type":41,"tag":82,"props":97,"children":98},{},[99],{"type":47,"value":100},"struct Main {\n",{"type":41,"tag":82,"props":102,"children":104},{"class":84,"line":103},3,[105],{"type":41,"tag":82,"props":106,"children":107},{},[108],{"type":47,"value":109},"    static func main() async throws {\n",{"type":41,"tag":82,"props":111,"children":113},{"class":84,"line":112},4,[114],{"type":41,"tag":82,"props":115,"children":116},{},[117],{"type":47,"value":118},"        let client = try await S3Client()\n",{"type":41,"tag":82,"props":120,"children":122},{"class":84,"line":121},5,[123],{"type":41,"tag":82,"props":124,"children":125},{},[126],{"type":47,"value":127},"        \u002F\u002F ... async operations\n",{"type":41,"tag":82,"props":129,"children":131},{"class":84,"line":130},6,[132],{"type":41,"tag":82,"props":133,"children":134},{},[135],{"type":47,"value":136},"    }\n",{"type":41,"tag":82,"props":138,"children":140},{"class":84,"line":139},7,[141],{"type":41,"tag":82,"props":142,"children":143},{},[144],{"type":47,"value":145},"}\n",{"type":41,"tag":50,"props":147,"children":149},{"id":148},"critical-use-struct-config-types",[150],{"type":47,"value":151},"CRITICAL: Use Struct Config Types",{"type":41,"tag":57,"props":153,"children":154},{},[155,157,163,165,171],{"type":47,"value":156},"NEVER use ",{"type":41,"tag":63,"props":158,"children":160},{"className":159},[],[161],{"type":47,"value":162},"S3ClientConfiguration",{"type":47,"value":164}," or ",{"type":41,"tag":63,"props":166,"children":168},{"className":167},[],[169],{"type":47,"value":170},"DynamoDBClientConfiguration",{"type":47,"value":172}," - these are DEPRECATED classes.",{"type":41,"tag":57,"props":174,"children":175},{},[176],{"type":47,"value":177},"ALWAYS use the struct-based config types:",{"type":41,"tag":179,"props":180,"children":181},"ul",{},[182,194,205],{"type":41,"tag":183,"props":184,"children":185},"li",{},[186,192],{"type":41,"tag":63,"props":187,"children":189},{"className":188},[],[190],{"type":47,"value":191},"S3Client.S3ClientConfig",{"type":47,"value":193}," (not S3ClientConfiguration)",{"type":41,"tag":183,"props":195,"children":196},{},[197,203],{"type":41,"tag":63,"props":198,"children":200},{"className":199},[],[201],{"type":47,"value":202},"DynamoDBClient.DynamoDBClientConfig",{"type":47,"value":204}," (not DynamoDBClientConfiguration)",{"type":41,"tag":183,"props":206,"children":207},{},[208,214],{"type":41,"tag":63,"props":209,"children":211},{"className":210},[],[212],{"type":47,"value":213},"STSClient.STSClientConfig",{"type":47,"value":215}," (not STSClientConfiguration)",{"type":41,"tag":57,"props":217,"children":218},{},[219],{"type":47,"value":220},"Config parameters MUST be in declaration order. Region is ALWAYS required when creating a config. Check the service client source for exact order.",{"type":41,"tag":72,"props":222,"children":224},{"className":74,"code":223,"language":14,"meta":76,"style":76},"\u002F\u002F CORRECT - struct config\nlet config = try await S3Client.S3ClientConfig(region: \"us-west-2\")\nlet client = S3Client(config: config)\n\n\u002F\u002F WRONG - deprecated class\n\u002F\u002F let config = try await S3Client.S3ClientConfiguration(region: \"us-west-2\")\n",[225],{"type":41,"tag":63,"props":226,"children":227},{"__ignoreMap":76},[228,236,244,252,261,269],{"type":41,"tag":82,"props":229,"children":230},{"class":84,"line":85},[231],{"type":41,"tag":82,"props":232,"children":233},{},[234],{"type":47,"value":235},"\u002F\u002F CORRECT - struct config\n",{"type":41,"tag":82,"props":237,"children":238},{"class":84,"line":94},[239],{"type":41,"tag":82,"props":240,"children":241},{},[242],{"type":47,"value":243},"let config = try await S3Client.S3ClientConfig(region: \"us-west-2\")\n",{"type":41,"tag":82,"props":245,"children":246},{"class":84,"line":103},[247],{"type":41,"tag":82,"props":248,"children":249},{},[250],{"type":47,"value":251},"let client = S3Client(config: config)\n",{"type":41,"tag":82,"props":253,"children":254},{"class":84,"line":112},[255],{"type":41,"tag":82,"props":256,"children":258},{"emptyLinePlaceholder":257},true,[259],{"type":47,"value":260},"\n",{"type":41,"tag":82,"props":262,"children":263},{"class":84,"line":121},[264],{"type":41,"tag":82,"props":265,"children":266},{},[267],{"type":47,"value":268},"\u002F\u002F WRONG - deprecated class\n",{"type":41,"tag":82,"props":270,"children":271},{"class":84,"line":130},[272],{"type":41,"tag":82,"props":273,"children":274},{},[275],{"type":47,"value":276},"\u002F\u002F let config = try await S3Client.S3ClientConfiguration(region: \"us-west-2\")\n",{"type":41,"tag":50,"props":278,"children":280},{"id":279},"client-creation",[281],{"type":47,"value":282},"Client Creation",{"type":41,"tag":57,"props":284,"children":285},{},[286,288,294,296,302],{"type":47,"value":287},"All service clients follow the same pattern: ",{"type":41,"tag":63,"props":289,"children":291},{"className":290},[],[292],{"type":47,"value":293},"\u003CService>Client",{"type":47,"value":295}," with ",{"type":41,"tag":63,"props":297,"children":299},{"className":298},[],[300],{"type":47,"value":301},"\u003CService>Client.\u003CService>ClientConfig",{"type":47,"value":303},".",{"type":41,"tag":57,"props":305,"children":306},{},[307,309,315],{"type":47,"value":308},"Model types (structs\u002Fenums used in requests\u002Fresponses) are namespaced under ",{"type":41,"tag":63,"props":310,"children":312},{"className":311},[],[313],{"type":47,"value":314},"\u003CService>ClientTypes",{"type":47,"value":316},":",{"type":41,"tag":179,"props":318,"children":319},{},[320,337,346],{"type":41,"tag":183,"props":321,"children":322},{},[323,329,331],{"type":41,"tag":63,"props":324,"children":326},{"className":325},[],[327],{"type":47,"value":328},"S3ClientTypes.Bucket",{"type":47,"value":330},", ",{"type":41,"tag":63,"props":332,"children":334},{"className":333},[],[335],{"type":47,"value":336},"S3ClientTypes.Object",{"type":41,"tag":183,"props":338,"children":339},{},[340],{"type":41,"tag":63,"props":341,"children":343},{"className":342},[],[344],{"type":47,"value":345},"DynamoDBClientTypes.AttributeValue",{"type":41,"tag":183,"props":347,"children":348},{},[349,355,356],{"type":41,"tag":63,"props":350,"children":352},{"className":351},[],[353],{"type":47,"value":354},"CloudWatchClientTypes.MetricDatum",{"type":47,"value":330},{"type":41,"tag":63,"props":357,"children":359},{"className":358},[],[360],{"type":47,"value":361},"CloudWatchClientTypes.Dimension",{"type":41,"tag":72,"props":363,"children":365},{"className":74,"code":364,"language":14,"meta":76,"style":76},"import AWSS3\nimport AWSDynamoDB\n\n\u002F\u002F Simple - auto-detects region\nlet s3 = try await S3Client()\nlet dynamo = try await DynamoDBClient()\n\n\u002F\u002F With region\nlet s3 = try S3Client(region: \"us-west-2\")\n\n\u002F\u002F With config - parameters must be in declaration order\nlet config = try await S3Client.S3ClientConfig(\n    useFIPS: true,\n    awsRetryMode: .adaptive,\n    maxAttempts: 5,\n    region: \"us-west-2\"\n)\nlet client = S3Client(config: config)\n\n\u002F\u002F With custom endpoint and credentials\nlet config = try await S3Client.S3ClientConfig(\n    awsCredentialIdentityResolver: resolver,\n    region: \"us-west-2\",\n    endpoint: \"https:\u002F\u002Fs3.custom-endpoint.com\"\n)\n",[366],{"type":41,"tag":63,"props":367,"children":368},{"__ignoreMap":76},[369,377,385,392,400,408,416,423,432,441,449,458,467,476,485,494,503,512,520,528,537,545,554,563,572],{"type":41,"tag":82,"props":370,"children":371},{"class":84,"line":85},[372],{"type":41,"tag":82,"props":373,"children":374},{},[375],{"type":47,"value":376},"import AWSS3\n",{"type":41,"tag":82,"props":378,"children":379},{"class":84,"line":94},[380],{"type":41,"tag":82,"props":381,"children":382},{},[383],{"type":47,"value":384},"import AWSDynamoDB\n",{"type":41,"tag":82,"props":386,"children":387},{"class":84,"line":103},[388],{"type":41,"tag":82,"props":389,"children":390},{"emptyLinePlaceholder":257},[391],{"type":47,"value":260},{"type":41,"tag":82,"props":393,"children":394},{"class":84,"line":112},[395],{"type":41,"tag":82,"props":396,"children":397},{},[398],{"type":47,"value":399},"\u002F\u002F Simple - auto-detects region\n",{"type":41,"tag":82,"props":401,"children":402},{"class":84,"line":121},[403],{"type":41,"tag":82,"props":404,"children":405},{},[406],{"type":47,"value":407},"let s3 = try await S3Client()\n",{"type":41,"tag":82,"props":409,"children":410},{"class":84,"line":130},[411],{"type":41,"tag":82,"props":412,"children":413},{},[414],{"type":47,"value":415},"let dynamo = try await DynamoDBClient()\n",{"type":41,"tag":82,"props":417,"children":418},{"class":84,"line":139},[419],{"type":41,"tag":82,"props":420,"children":421},{"emptyLinePlaceholder":257},[422],{"type":47,"value":260},{"type":41,"tag":82,"props":424,"children":426},{"class":84,"line":425},8,[427],{"type":41,"tag":82,"props":428,"children":429},{},[430],{"type":47,"value":431},"\u002F\u002F With region\n",{"type":41,"tag":82,"props":433,"children":435},{"class":84,"line":434},9,[436],{"type":41,"tag":82,"props":437,"children":438},{},[439],{"type":47,"value":440},"let s3 = try S3Client(region: \"us-west-2\")\n",{"type":41,"tag":82,"props":442,"children":444},{"class":84,"line":443},10,[445],{"type":41,"tag":82,"props":446,"children":447},{"emptyLinePlaceholder":257},[448],{"type":47,"value":260},{"type":41,"tag":82,"props":450,"children":452},{"class":84,"line":451},11,[453],{"type":41,"tag":82,"props":454,"children":455},{},[456],{"type":47,"value":457},"\u002F\u002F With config - parameters must be in declaration order\n",{"type":41,"tag":82,"props":459,"children":461},{"class":84,"line":460},12,[462],{"type":41,"tag":82,"props":463,"children":464},{},[465],{"type":47,"value":466},"let config = try await S3Client.S3ClientConfig(\n",{"type":41,"tag":82,"props":468,"children":470},{"class":84,"line":469},13,[471],{"type":41,"tag":82,"props":472,"children":473},{},[474],{"type":47,"value":475},"    useFIPS: true,\n",{"type":41,"tag":82,"props":477,"children":479},{"class":84,"line":478},14,[480],{"type":41,"tag":82,"props":481,"children":482},{},[483],{"type":47,"value":484},"    awsRetryMode: .adaptive,\n",{"type":41,"tag":82,"props":486,"children":488},{"class":84,"line":487},15,[489],{"type":41,"tag":82,"props":490,"children":491},{},[492],{"type":47,"value":493},"    maxAttempts: 5,\n",{"type":41,"tag":82,"props":495,"children":497},{"class":84,"line":496},16,[498],{"type":41,"tag":82,"props":499,"children":500},{},[501],{"type":47,"value":502},"    region: \"us-west-2\"\n",{"type":41,"tag":82,"props":504,"children":506},{"class":84,"line":505},17,[507],{"type":41,"tag":82,"props":508,"children":509},{},[510],{"type":47,"value":511},")\n",{"type":41,"tag":82,"props":513,"children":515},{"class":84,"line":514},18,[516],{"type":41,"tag":82,"props":517,"children":518},{},[519],{"type":47,"value":251},{"type":41,"tag":82,"props":521,"children":523},{"class":84,"line":522},19,[524],{"type":41,"tag":82,"props":525,"children":526},{"emptyLinePlaceholder":257},[527],{"type":47,"value":260},{"type":41,"tag":82,"props":529,"children":531},{"class":84,"line":530},20,[532],{"type":41,"tag":82,"props":533,"children":534},{},[535],{"type":47,"value":536},"\u002F\u002F With custom endpoint and credentials\n",{"type":41,"tag":82,"props":538,"children":540},{"class":84,"line":539},21,[541],{"type":41,"tag":82,"props":542,"children":543},{},[544],{"type":47,"value":466},{"type":41,"tag":82,"props":546,"children":548},{"class":84,"line":547},22,[549],{"type":41,"tag":82,"props":550,"children":551},{},[552],{"type":47,"value":553},"    awsCredentialIdentityResolver: resolver,\n",{"type":41,"tag":82,"props":555,"children":557},{"class":84,"line":556},23,[558],{"type":41,"tag":82,"props":559,"children":560},{},[561],{"type":47,"value":562},"    region: \"us-west-2\",\n",{"type":41,"tag":82,"props":564,"children":566},{"class":84,"line":565},24,[567],{"type":41,"tag":82,"props":568,"children":569},{},[570],{"type":47,"value":571},"    endpoint: \"https:\u002F\u002Fs3.custom-endpoint.com\"\n",{"type":41,"tag":82,"props":573,"children":575},{"class":84,"line":574},25,[576],{"type":41,"tag":82,"props":577,"children":578},{},[579],{"type":47,"value":511},{"type":41,"tag":57,"props":581,"children":582},{},[583],{"type":47,"value":584},"Common config parameters (MUST follow declaration order):",{"type":41,"tag":179,"props":586,"children":587},{},[588,599,610,621,632,643,654,726],{"type":41,"tag":183,"props":589,"children":590},{},[591,597],{"type":41,"tag":63,"props":592,"children":594},{"className":593},[],[595],{"type":47,"value":596},"awsCredentialIdentityResolver",{"type":47,"value":598}," - Custom credentials",{"type":41,"tag":183,"props":600,"children":601},{},[602,608],{"type":41,"tag":63,"props":603,"children":605},{"className":604},[],[606],{"type":47,"value":607},"useFIPS",{"type":47,"value":609}," - Enable FIPS endpoints",{"type":41,"tag":183,"props":611,"children":612},{},[613,619],{"type":41,"tag":63,"props":614,"children":616},{"className":615},[],[617],{"type":47,"value":618},"useDualStack",{"type":47,"value":620}," - Enable dual-stack endpoints",{"type":41,"tag":183,"props":622,"children":623},{},[624,630],{"type":41,"tag":63,"props":625,"children":627},{"className":626},[],[628],{"type":47,"value":629},"awsRetryMode",{"type":47,"value":631}," - Retry strategy (.adaptive, .standard, .legacy)",{"type":41,"tag":183,"props":633,"children":634},{},[635,641],{"type":41,"tag":63,"props":636,"children":638},{"className":637},[],[639],{"type":47,"value":640},"maxAttempts",{"type":47,"value":642}," - Max retry attempts",{"type":41,"tag":183,"props":644,"children":645},{},[646,652],{"type":41,"tag":63,"props":647,"children":649},{"className":648},[],[650],{"type":47,"value":651},"region",{"type":47,"value":653}," - AWS region",{"type":41,"tag":183,"props":655,"children":656},{},[657,663,665],{"type":41,"tag":63,"props":658,"children":660},{"className":659},[],[661],{"type":47,"value":662},"httpClientEngine",{"type":47,"value":664}," - Custom HTTP client (requires HttpClientConfiguration parameter):",{"type":41,"tag":72,"props":666,"children":668},{"className":74,"code":667,"language":14,"meta":76,"style":76},"import ClientRuntime\nlet httpConfig = HttpClientConfiguration()\nlet httpClient = URLSessionHTTPClient(httpClientConfiguration: httpConfig)\nlet config = try await S3Client.S3ClientConfig(\n    region: \"us-east-1\",\n    httpClientEngine: httpClient\n)\n",[669],{"type":41,"tag":63,"props":670,"children":671},{"__ignoreMap":76},[672,680,688,696,703,711,719],{"type":41,"tag":82,"props":673,"children":674},{"class":84,"line":85},[675],{"type":41,"tag":82,"props":676,"children":677},{},[678],{"type":47,"value":679},"import ClientRuntime\n",{"type":41,"tag":82,"props":681,"children":682},{"class":84,"line":94},[683],{"type":41,"tag":82,"props":684,"children":685},{},[686],{"type":47,"value":687},"let httpConfig = HttpClientConfiguration()\n",{"type":41,"tag":82,"props":689,"children":690},{"class":84,"line":103},[691],{"type":41,"tag":82,"props":692,"children":693},{},[694],{"type":47,"value":695},"let httpClient = URLSessionHTTPClient(httpClientConfiguration: httpConfig)\n",{"type":41,"tag":82,"props":697,"children":698},{"class":84,"line":112},[699],{"type":41,"tag":82,"props":700,"children":701},{},[702],{"type":47,"value":466},{"type":41,"tag":82,"props":704,"children":705},{"class":84,"line":121},[706],{"type":41,"tag":82,"props":707,"children":708},{},[709],{"type":47,"value":710},"    region: \"us-east-1\",\n",{"type":41,"tag":82,"props":712,"children":713},{"class":84,"line":130},[714],{"type":41,"tag":82,"props":715,"children":716},{},[717],{"type":47,"value":718},"    httpClientEngine: httpClient\n",{"type":41,"tag":82,"props":720,"children":721},{"class":84,"line":139},[722],{"type":41,"tag":82,"props":723,"children":724},{},[725],{"type":47,"value":511},{"type":41,"tag":183,"props":727,"children":728},{},[729,735],{"type":41,"tag":63,"props":730,"children":732},{"className":731},[],[733],{"type":47,"value":734},"endpoint",{"type":47,"value":736}," - Custom endpoint URL",{"type":41,"tag":57,"props":738,"children":739},{},[740,742,748],{"type":47,"value":741},"For service-specific config options or exact parameter order, check ",{"type":41,"tag":63,"props":743,"children":745},{"className":744},[],[746],{"type":47,"value":747},"Sources\u002FServices\u002FAWS\u003CService>\u002FSources\u002FAWS\u003CService>\u002F\u003CService>Client.swift",{"type":47,"value":749}," in the SDK.",{"type":41,"tag":50,"props":751,"children":753},{"id":752},"credential-resolvers",[754],{"type":47,"value":755},"Credential Resolvers",{"type":41,"tag":72,"props":757,"children":759},{"className":74,"code":758,"language":14,"meta":76,"style":76},"import AWSSDKIdentity\nimport SmithyIdentity\n\n\u002F\u002F Static credentials - pass credential object directly\nlet creds = AWSCredentialIdentity(accessKey: \"AKIA...\", secret: \"...\")\nlet resolver = StaticAWSCredentialIdentityResolver(creds)\n\n\u002F\u002F Assume role - REQUIRES underlying resolver\nlet underlying = try DefaultAWSCredentialIdentityResolverChain()\nlet resolver = try STSAssumeRoleAWSCredentialIdentityResolver(\n    awsCredentialIdentityResolver: underlying,\n    roleArn: \"arn:aws:iam::123456789012:role\u002FMyRole\",\n    sessionName: \"session-name\"\n)\n\n\u002F\u002F Use in config\nlet config = try await S3Client.S3ClientConfig(\n    awsCredentialIdentityResolver: resolver,\n    region: \"us-west-2\"\n)\n",[760],{"type":41,"tag":63,"props":761,"children":762},{"__ignoreMap":76},[763,771,779,786,794,802,810,817,825,833,841,849,857,865,872,879,887,894,901,908],{"type":41,"tag":82,"props":764,"children":765},{"class":84,"line":85},[766],{"type":41,"tag":82,"props":767,"children":768},{},[769],{"type":47,"value":770},"import AWSSDKIdentity\n",{"type":41,"tag":82,"props":772,"children":773},{"class":84,"line":94},[774],{"type":41,"tag":82,"props":775,"children":776},{},[777],{"type":47,"value":778},"import SmithyIdentity\n",{"type":41,"tag":82,"props":780,"children":781},{"class":84,"line":103},[782],{"type":41,"tag":82,"props":783,"children":784},{"emptyLinePlaceholder":257},[785],{"type":47,"value":260},{"type":41,"tag":82,"props":787,"children":788},{"class":84,"line":112},[789],{"type":41,"tag":82,"props":790,"children":791},{},[792],{"type":47,"value":793},"\u002F\u002F Static credentials - pass credential object directly\n",{"type":41,"tag":82,"props":795,"children":796},{"class":84,"line":121},[797],{"type":41,"tag":82,"props":798,"children":799},{},[800],{"type":47,"value":801},"let creds = AWSCredentialIdentity(accessKey: \"AKIA...\", secret: \"...\")\n",{"type":41,"tag":82,"props":803,"children":804},{"class":84,"line":130},[805],{"type":41,"tag":82,"props":806,"children":807},{},[808],{"type":47,"value":809},"let resolver = StaticAWSCredentialIdentityResolver(creds)\n",{"type":41,"tag":82,"props":811,"children":812},{"class":84,"line":139},[813],{"type":41,"tag":82,"props":814,"children":815},{"emptyLinePlaceholder":257},[816],{"type":47,"value":260},{"type":41,"tag":82,"props":818,"children":819},{"class":84,"line":425},[820],{"type":41,"tag":82,"props":821,"children":822},{},[823],{"type":47,"value":824},"\u002F\u002F Assume role - REQUIRES underlying resolver\n",{"type":41,"tag":82,"props":826,"children":827},{"class":84,"line":434},[828],{"type":41,"tag":82,"props":829,"children":830},{},[831],{"type":47,"value":832},"let underlying = try DefaultAWSCredentialIdentityResolverChain()\n",{"type":41,"tag":82,"props":834,"children":835},{"class":84,"line":443},[836],{"type":41,"tag":82,"props":837,"children":838},{},[839],{"type":47,"value":840},"let resolver = try STSAssumeRoleAWSCredentialIdentityResolver(\n",{"type":41,"tag":82,"props":842,"children":843},{"class":84,"line":451},[844],{"type":41,"tag":82,"props":845,"children":846},{},[847],{"type":47,"value":848},"    awsCredentialIdentityResolver: underlying,\n",{"type":41,"tag":82,"props":850,"children":851},{"class":84,"line":460},[852],{"type":41,"tag":82,"props":853,"children":854},{},[855],{"type":47,"value":856},"    roleArn: \"arn:aws:iam::123456789012:role\u002FMyRole\",\n",{"type":41,"tag":82,"props":858,"children":859},{"class":84,"line":469},[860],{"type":41,"tag":82,"props":861,"children":862},{},[863],{"type":47,"value":864},"    sessionName: \"session-name\"\n",{"type":41,"tag":82,"props":866,"children":867},{"class":84,"line":478},[868],{"type":41,"tag":82,"props":869,"children":870},{},[871],{"type":47,"value":511},{"type":41,"tag":82,"props":873,"children":874},{"class":84,"line":487},[875],{"type":41,"tag":82,"props":876,"children":877},{"emptyLinePlaceholder":257},[878],{"type":47,"value":260},{"type":41,"tag":82,"props":880,"children":881},{"class":84,"line":496},[882],{"type":41,"tag":82,"props":883,"children":884},{},[885],{"type":47,"value":886},"\u002F\u002F Use in config\n",{"type":41,"tag":82,"props":888,"children":889},{"class":84,"line":505},[890],{"type":41,"tag":82,"props":891,"children":892},{},[893],{"type":47,"value":466},{"type":41,"tag":82,"props":895,"children":896},{"class":84,"line":514},[897],{"type":41,"tag":82,"props":898,"children":899},{},[900],{"type":47,"value":553},{"type":41,"tag":82,"props":902,"children":903},{"class":84,"line":522},[904],{"type":41,"tag":82,"props":905,"children":906},{},[907],{"type":47,"value":502},{"type":41,"tag":82,"props":909,"children":910},{"class":84,"line":530},[911],{"type":41,"tag":82,"props":912,"children":913},{},[914],{"type":47,"value":511},{"type":41,"tag":50,"props":916,"children":918},{"id":917},"waiters",[919],{"type":47,"value":920},"Waiters",{"type":41,"tag":57,"props":922,"children":923},{},[924,926,932,934,940],{"type":47,"value":925},"Import ",{"type":41,"tag":63,"props":927,"children":929},{"className":928},[],[930],{"type":47,"value":931},"SmithyWaitersAPI",{"type":47,"value":933},". WaiterOptions requires ",{"type":41,"tag":63,"props":935,"children":937},{"className":936},[],[938],{"type":47,"value":939},"maxWaitTime",{"type":47,"value":941}," parameter:",{"type":41,"tag":72,"props":943,"children":945},{"className":74,"code":944,"language":14,"meta":76,"style":76},"import AWSS3\nimport SmithyWaitersAPI\n\nlet client = try await S3Client()\n_ = try await client.waitUntilBucketExists(\n    options: WaiterOptions(maxWaitTime: 120.0),\n    input: HeadBucketInput(bucket: \"my-bucket\")\n)\n",[946],{"type":41,"tag":63,"props":947,"children":948},{"__ignoreMap":76},[949,956,964,971,979,987,995,1003],{"type":41,"tag":82,"props":950,"children":951},{"class":84,"line":85},[952],{"type":41,"tag":82,"props":953,"children":954},{},[955],{"type":47,"value":376},{"type":41,"tag":82,"props":957,"children":958},{"class":84,"line":94},[959],{"type":41,"tag":82,"props":960,"children":961},{},[962],{"type":47,"value":963},"import SmithyWaitersAPI\n",{"type":41,"tag":82,"props":965,"children":966},{"class":84,"line":103},[967],{"type":41,"tag":82,"props":968,"children":969},{"emptyLinePlaceholder":257},[970],{"type":47,"value":260},{"type":41,"tag":82,"props":972,"children":973},{"class":84,"line":112},[974],{"type":41,"tag":82,"props":975,"children":976},{},[977],{"type":47,"value":978},"let client = try await S3Client()\n",{"type":41,"tag":82,"props":980,"children":981},{"class":84,"line":121},[982],{"type":41,"tag":82,"props":983,"children":984},{},[985],{"type":47,"value":986},"_ = try await client.waitUntilBucketExists(\n",{"type":41,"tag":82,"props":988,"children":989},{"class":84,"line":130},[990],{"type":41,"tag":82,"props":991,"children":992},{},[993],{"type":47,"value":994},"    options: WaiterOptions(maxWaitTime: 120.0),\n",{"type":41,"tag":82,"props":996,"children":997},{"class":84,"line":139},[998],{"type":41,"tag":82,"props":999,"children":1000},{},[1001],{"type":47,"value":1002},"    input: HeadBucketInput(bucket: \"my-bucket\")\n",{"type":41,"tag":82,"props":1004,"children":1005},{"class":84,"line":425},[1006],{"type":41,"tag":82,"props":1007,"children":1008},{},[1009],{"type":47,"value":511},{"type":41,"tag":50,"props":1011,"children":1013},{"id":1012},"pagination",[1014],{"type":47,"value":1015},"Pagination",{"type":41,"tag":72,"props":1017,"children":1019},{"className":74,"code":1018,"language":14,"meta":76,"style":76},"let input = ListObjectsV2Input(bucket: \"my-bucket\")\nfor try await page in client.listObjectsV2Paginated(input: input) {\n    for object in page.contents ?? [] {\n        print(object.key ?? \"\")\n    }\n}\n",[1020],{"type":41,"tag":63,"props":1021,"children":1022},{"__ignoreMap":76},[1023,1031,1039,1047,1055,1062],{"type":41,"tag":82,"props":1024,"children":1025},{"class":84,"line":85},[1026],{"type":41,"tag":82,"props":1027,"children":1028},{},[1029],{"type":47,"value":1030},"let input = ListObjectsV2Input(bucket: \"my-bucket\")\n",{"type":41,"tag":82,"props":1032,"children":1033},{"class":84,"line":94},[1034],{"type":41,"tag":82,"props":1035,"children":1036},{},[1037],{"type":47,"value":1038},"for try await page in client.listObjectsV2Paginated(input: input) {\n",{"type":41,"tag":82,"props":1040,"children":1041},{"class":84,"line":103},[1042],{"type":41,"tag":82,"props":1043,"children":1044},{},[1045],{"type":47,"value":1046},"    for object in page.contents ?? [] {\n",{"type":41,"tag":82,"props":1048,"children":1049},{"class":84,"line":112},[1050],{"type":41,"tag":82,"props":1051,"children":1052},{},[1053],{"type":47,"value":1054},"        print(object.key ?? \"\")\n",{"type":41,"tag":82,"props":1056,"children":1057},{"class":84,"line":121},[1058],{"type":41,"tag":82,"props":1059,"children":1060},{},[1061],{"type":47,"value":136},{"type":41,"tag":82,"props":1063,"children":1064},{"class":84,"line":130},[1065],{"type":41,"tag":82,"props":1066,"children":1067},{},[1068],{"type":47,"value":145},{"type":41,"tag":50,"props":1070,"children":1072},{"id":1071},"presigned-urls",[1073],{"type":47,"value":1074},"Presigned URLs",{"type":41,"tag":72,"props":1076,"children":1078},{"className":74,"code":1077,"language":14,"meta":76,"style":76},"let url = try await client.presignedURLForGetObject(\n    input: GetObjectInput(bucket: \"my-bucket\", key: \"file.pdf\"),\n    expiration: 3600\n)\n",[1079],{"type":41,"tag":63,"props":1080,"children":1081},{"__ignoreMap":76},[1082,1090,1098,1106],{"type":41,"tag":82,"props":1083,"children":1084},{"class":84,"line":85},[1085],{"type":41,"tag":82,"props":1086,"children":1087},{},[1088],{"type":47,"value":1089},"let url = try await client.presignedURLForGetObject(\n",{"type":41,"tag":82,"props":1091,"children":1092},{"class":84,"line":94},[1093],{"type":41,"tag":82,"props":1094,"children":1095},{},[1096],{"type":47,"value":1097},"    input: GetObjectInput(bucket: \"my-bucket\", key: \"file.pdf\"),\n",{"type":41,"tag":82,"props":1099,"children":1100},{"class":84,"line":103},[1101],{"type":41,"tag":82,"props":1102,"children":1103},{},[1104],{"type":47,"value":1105},"    expiration: 3600\n",{"type":41,"tag":82,"props":1107,"children":1108},{"class":84,"line":112},[1109],{"type":41,"tag":82,"props":1110,"children":1111},{},[1112],{"type":47,"value":511},{"type":41,"tag":50,"props":1114,"children":1116},{"id":1115},"common-operations",[1117],{"type":47,"value":1118},"Common Operations",{"type":41,"tag":72,"props":1120,"children":1122},{"className":74,"code":1121,"language":14,"meta":76,"style":76},"\u002F\u002F Put object\n_ = try await client.putObject(input: PutObjectInput(\n    body: .data(data),\n    bucket: \"bucket\",\n    key: \"key\"\n))\n\n\u002F\u002F Get object\nlet output = try await client.getObject(input: GetObjectInput(bucket: \"bucket\", key: \"key\"))\nlet data = try await output.body?.readData()\n\n\u002F\u002F List buckets\nlet response = try await client.listBuckets(input: ListBucketsInput())\nfor bucket in response.buckets ?? [] {\n    print(bucket.name ?? \"\")\n}\n",[1123],{"type":41,"tag":63,"props":1124,"children":1125},{"__ignoreMap":76},[1126,1134,1142,1150,1158,1166,1174,1181,1189,1197,1205,1212,1220,1228,1236,1244],{"type":41,"tag":82,"props":1127,"children":1128},{"class":84,"line":85},[1129],{"type":41,"tag":82,"props":1130,"children":1131},{},[1132],{"type":47,"value":1133},"\u002F\u002F Put object\n",{"type":41,"tag":82,"props":1135,"children":1136},{"class":84,"line":94},[1137],{"type":41,"tag":82,"props":1138,"children":1139},{},[1140],{"type":47,"value":1141},"_ = try await client.putObject(input: PutObjectInput(\n",{"type":41,"tag":82,"props":1143,"children":1144},{"class":84,"line":103},[1145],{"type":41,"tag":82,"props":1146,"children":1147},{},[1148],{"type":47,"value":1149},"    body: .data(data),\n",{"type":41,"tag":82,"props":1151,"children":1152},{"class":84,"line":112},[1153],{"type":41,"tag":82,"props":1154,"children":1155},{},[1156],{"type":47,"value":1157},"    bucket: \"bucket\",\n",{"type":41,"tag":82,"props":1159,"children":1160},{"class":84,"line":121},[1161],{"type":41,"tag":82,"props":1162,"children":1163},{},[1164],{"type":47,"value":1165},"    key: \"key\"\n",{"type":41,"tag":82,"props":1167,"children":1168},{"class":84,"line":130},[1169],{"type":41,"tag":82,"props":1170,"children":1171},{},[1172],{"type":47,"value":1173},"))\n",{"type":41,"tag":82,"props":1175,"children":1176},{"class":84,"line":139},[1177],{"type":41,"tag":82,"props":1178,"children":1179},{"emptyLinePlaceholder":257},[1180],{"type":47,"value":260},{"type":41,"tag":82,"props":1182,"children":1183},{"class":84,"line":425},[1184],{"type":41,"tag":82,"props":1185,"children":1186},{},[1187],{"type":47,"value":1188},"\u002F\u002F Get object\n",{"type":41,"tag":82,"props":1190,"children":1191},{"class":84,"line":434},[1192],{"type":41,"tag":82,"props":1193,"children":1194},{},[1195],{"type":47,"value":1196},"let output = try await client.getObject(input: GetObjectInput(bucket: \"bucket\", key: \"key\"))\n",{"type":41,"tag":82,"props":1198,"children":1199},{"class":84,"line":443},[1200],{"type":41,"tag":82,"props":1201,"children":1202},{},[1203],{"type":47,"value":1204},"let data = try await output.body?.readData()\n",{"type":41,"tag":82,"props":1206,"children":1207},{"class":84,"line":451},[1208],{"type":41,"tag":82,"props":1209,"children":1210},{"emptyLinePlaceholder":257},[1211],{"type":47,"value":260},{"type":41,"tag":82,"props":1213,"children":1214},{"class":84,"line":460},[1215],{"type":41,"tag":82,"props":1216,"children":1217},{},[1218],{"type":47,"value":1219},"\u002F\u002F List buckets\n",{"type":41,"tag":82,"props":1221,"children":1222},{"class":84,"line":469},[1223],{"type":41,"tag":82,"props":1224,"children":1225},{},[1226],{"type":47,"value":1227},"let response = try await client.listBuckets(input: ListBucketsInput())\n",{"type":41,"tag":82,"props":1229,"children":1230},{"class":84,"line":478},[1231],{"type":41,"tag":82,"props":1232,"children":1233},{},[1234],{"type":47,"value":1235},"for bucket in response.buckets ?? [] {\n",{"type":41,"tag":82,"props":1237,"children":1238},{"class":84,"line":487},[1239],{"type":41,"tag":82,"props":1240,"children":1241},{},[1242],{"type":47,"value":1243},"    print(bucket.name ?? \"\")\n",{"type":41,"tag":82,"props":1245,"children":1246},{"class":84,"line":496},[1247],{"type":41,"tag":82,"props":1248,"children":1249},{},[1250],{"type":47,"value":145},{"type":41,"tag":1252,"props":1253,"children":1254},"style",{},[1255],{"type":47,"value":1256},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1258,"total":1427},[1259,1274,1289,1304,1319,1329,1344,1360,1377,1390,1402,1417],{"slug":1260,"name":1260,"fn":1261,"description":1262,"org":1263,"tags":1264,"stars":24,"repoUrl":25,"updatedAt":1273},"agents-build","add capabilities to existing agent projects","Use when adding capabilities to an existing agent project — memory, app integration, VPC, multi-agent, migration, model changes, browser, code interpreter, or resource removal. Triggers on: \"add memory\", \"remember across sessions\", \"call agent from app\", \"invoke agent from code\", \"auth to call agent\", \"streaming responses\", \"VPC\", \"VPC connectivity\", \"VPC error\", \"can't reach from VPC\", \"multi-agent\", \"A2A\", \"A2A auth\", \"orchestrator not delegating\", \"specialist not called\", \"migrate Bedrock Agent\", \"after import\", \"migration issue\", \"framework for migration\", \"change model\", \"browser tool\", \"code interpreter\", \"delete agent\", \"tear down\", \"agentcore remove\", \"cross-account memory\", \"resource-based policy on memory\", \"pay for x402 content\", \"402 Payment Required\", \"microtransactions\", \"paid API or tool\". Not for connecting to external APIs via Gateway — use agents-connect. Not for scaffolding a new project — use agents-get-started. Not for CLI\u002Fdev server errors — use agents-debug. Strands vs LangGraph in a migration context routes here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1265,1268,1271,1272],{"name":1266,"slug":1267,"type":15},"Agents","agents",{"name":1269,"slug":1270,"type":15},"Automation","automation",{"name":23,"slug":8,"type":15},{"name":17,"slug":18,"type":15},"2026-07-12T08:42:53.812877",{"slug":1275,"name":1275,"fn":1276,"description":1277,"org":1278,"tags":1279,"stars":24,"repoUrl":25,"updatedAt":1288},"agents-connect","connect agents to external services","Use when connecting your agent to external APIs, tools, or services via Gateway, or restricting tool access with Cedar policies. Handles gateway setup, target types, outbound auth (OAuth, API key, IAM), credentials, and Cedar policy authoring. Triggers on: \"connect to API\", \"add gateway\", \"connect to MCP server\", \"Lambda tools\", \"OpenAPI\", \"gateway target\", \"Cedar policy\", \"restrict tools\", \"policy engine\", \"gateway auth error\", \"store API key\", \"outbound credential\", \"env var API key\", \"API key None after deploy\", \"credential not available after deploy\", \"should this be a gateway target\", \"give my agent tools\", \"add tools to agent\". Not for inbound auth (who can call your agent) — use agents-harden. Not for debugging agent behavior — use agents-debug. Not for VPC networking errors (agent can't reach APIs due to VPC) — use agents-build. Not for creating or hosting a new MCP server project — use agents-get-started.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1280,1281,1284,1287],{"name":1266,"slug":1267,"type":15},{"name":1282,"slug":1283,"type":15},"API Development","api-development",{"name":1285,"slug":1286,"type":15},"Authentication","authentication",{"name":23,"slug":8,"type":15},"2026-07-16T06:00:38.866147",{"slug":1290,"name":1290,"fn":1291,"description":1292,"org":1293,"tags":1294,"stars":24,"repoUrl":25,"updatedAt":1303},"agents-debug","debug agent and environment issues","Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes. Also checks prerequisites when the CLI itself isn't working. Triggers on: \"agent not working\", \"wrong answer\", \"agent error\", \"tool call failing\", \"debug agent\", \"check logs\", \"read traces\", \"broken\", \"500 error\", \"424 error\", \"model access denied\", \"command not found\", \"stuck in DELETING\", \"maxVms exceeded\", \"cold start diagnosis\", \"cold start slow\", \"agentcore create error\", \"create failed\", \"exit code 7\", \"connection refused local dev\". Not for deploy failures — use agents-deploy. Not for performance tuning without errors — use agents-optimize. Not for VPC configuration — use agents-build. Not for observability setup or missing logs — use agents-optimize.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1295,1296,1297,1300],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1298,"slug":1299,"type":15},"Debugging","debugging",{"name":1301,"slug":1302,"type":15},"Observability","observability","2026-07-16T06:00:44.679093",{"slug":1305,"name":1305,"fn":1306,"description":1307,"org":1308,"tags":1309,"stars":24,"repoUrl":25,"updatedAt":1318},"agents-deploy","deploy AI agents to AWS","Use when deploying your agent to AWS, or when a deploy has failed. Handles pre-flight validation, CDK\u002FIAM\u002Fquota error diagnosis, version management, rollback, and canary deployments. Triggers on: \"deploy my agent\", \"agentcore deploy\", \"deploy failed\", \"CDK error\", \"rollback\", \"canary deploy\", \"pin version\", \"redeploy\", \"deploy stuck\". Not for production hardening — use agents-harden. Not for adding capabilities before deploy — use agents-build or agents-connect. Not for VPC configuration errors — use agents-build.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1310,1311,1312,1315],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1313,"slug":1314,"type":15},"CI\u002FCD","ci-cd",{"name":1316,"slug":1317,"type":15},"Deployment","deployment","2026-07-12T08:42:55.059577",{"slug":1320,"name":1320,"fn":1321,"description":1322,"org":1323,"tags":1324,"stars":24,"repoUrl":25,"updatedAt":1328},"agents-get-started","scaffold and deploy new agent projects","Use when a developer wants to create a new agent project or get started with AgentCore. Handles framework selection, project scaffolding, first deploy, and first invocation. Triggers on: \"build an agent\", \"create an agent\", \"get started\", \"new project\", \"agentcore create\", \"which framework\", \"Strands vs LangGraph\", \"hello world agent\", \"first agent\", \"create MCP server\", \"host MCP server\", \"agentcore dev\", \"dev server\", \"what port\", \"local development\". Not for adding capabilities to existing projects — use agents-build or agents-connect. Strands vs LangGraph in a migration context routes to agents-build, not here. Connecting to an existing MCP server routes to agents-connect, not here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1325,1326,1327],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1316,"slug":1317,"type":15},"2026-07-12T08:42:51.963247",{"slug":1330,"name":1330,"fn":1331,"description":1332,"org":1333,"tags":1334,"stars":24,"repoUrl":25,"updatedAt":1343},"agents-harden","harden agents for production","Use when preparing your agent for production — IAM scoping, inbound auth (JWT, SigV4), secrets management, cold start optimization, session lifecycle, rate limiting, input validation, and quota guidance. Triggers on: \"production checklist\", \"harden agent\", \"production ready\", \"secure agent\", \"inbound auth\", \"going live\", \"cold start optimization\", \"session lifecycle\", \"StopRuntimeSession\", \"quota\", \"throttling\", \"maxVms\", \"rate limit\", \"security audit of outbound API calls\", \"gateway target audit for production\", \"restrict who can call\", \"lock down endpoint\", \"only our app can call\". Not for Cedar tool-restriction policies — use agents-connect. Not for quality measurement — use agents-optimize. Not for outbound credential storage or API key wiring — use agents-connect. Not for A2A agent-to-agent auth — use agents-build. Cold start observation and diagnosis (not optimization) routes to agents-debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1335,1336,1337,1340],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1338,"slug":1339,"type":15},"Best Practices","best-practices",{"name":1341,"slug":1342,"type":15},"Security","security","2026-07-16T06:00:42.174705",{"slug":1345,"name":1345,"fn":1346,"description":1347,"org":1348,"tags":1349,"stars":24,"repoUrl":25,"updatedAt":1359},"agents-optimize","optimize agent quality and performance","Use when measuring or improving agent quality and performance — set up evaluators, online monitoring, CI\u002FCD quality gates, observability, or cost optimization. Triggers on: \"evaluate my agent\", \"add evaluator\", \"measure quality\", \"quality gate\", \"run evals\", \"agent too slow\", \"why is it slow\", \"reduce latency\", \"set up observability\", \"CloudWatch dashboard\", \"how much does my agent cost\", \"cost optimization\", \"logs not showing up\", \"logs missing\", \"spans not found\", \"eval failing\", \"eval error\", \"dev traces\", \"local traces\", \"agentcore dev traces\", \"traces to CloudWatch\". Not for debugging errors or crashes — use agents-debug. Slow but correct routes here; broken routes to debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1350,1351,1352,1355,1356],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1353,"slug":1354,"type":15},"Evals","evals",{"name":1301,"slug":1302,"type":15},{"name":1357,"slug":1358,"type":15},"Performance","performance","2026-07-12T08:42:56.488105",{"slug":1361,"name":1361,"fn":1362,"description":1363,"org":1364,"tags":1365,"stars":24,"repoUrl":25,"updatedAt":1376},"amazon-aurora-mysql","manage Amazon Aurora MySQL clusters","Amazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query). Trigger for Aurora MySQL cluster operations, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or MySQL upgrade planning. Aurora MySQL uses full (VPC-based) configuration — express configuration is PostgreSQL-only. For Aurora PostgreSQL, use amazon-aurora-postgresql instead. Contains safety guardrails and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1366,1367,1370,1373],{"name":23,"slug":8,"type":15},{"name":1368,"slug":1369,"type":15},"Database","database",{"name":1371,"slug":1372,"type":15},"MySQL","mysql",{"name":1374,"slug":1375,"type":15},"Serverless","serverless","2026-07-12T08:43:13.27939",{"slug":1378,"name":1378,"fn":1379,"description":1380,"org":1381,"tags":1382,"stars":24,"repoUrl":25,"updatedAt":1389},"amazon-aurora-postgresql","configure Amazon Aurora PostgreSQL clusters","Amazon Aurora PostgreSQL — creates, modifies, and advises on Aurora PostgreSQL clusters specifically (PostgreSQL-compatible engine, Aurora serverless, express configuration, pgvector, Babelfish). Trigger for Aurora PostgreSQL cluster operations, express-configuration quick-start, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or PostgreSQL upgrade planning. For Aurora MySQL, use amazon-aurora-mysql instead. Contains safety guardrails, express-first routing, and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1383,1384,1385,1388],{"name":23,"slug":8,"type":15},{"name":1368,"slug":1369,"type":15},{"name":1386,"slug":1387,"type":15},"PostgreSQL","postgresql",{"name":1374,"slug":1375,"type":15},"2026-07-16T06:00:34.789624",{"slug":1391,"name":1391,"fn":1392,"description":1393,"org":1394,"tags":1395,"stars":24,"repoUrl":25,"updatedAt":1401},"amazon-bedrock","build generative AI apps with Amazon Bedrock","Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents, Guardrails, and AgentCore. Use when invoking models, setting up Knowledge Bases, creating agents, applying guardrails, deploying to AgentCore, migrating\u002Fporting\u002Fconverting a Bedrock Agent (including inline agents) to an AgentCore Harness, troubleshooting Bedrock errors (ThrottlingException, AccessDeniedException), or choosing models (Claude, Llama, Nova, Titan). ALSO USE for prompt caching setup and debugging, quota health checks and throttling diagnosis, cost attribution and tracking, migrating between Claude model generations (4.5 to 4.6 to 4.7), chunking strategies, API selection (Converse vs InvokeModel), guardrail capabilities, and model selection. Also covers AgentCore Payments setup (x402, microtransactions, Payment Manager, Connector, Instrument, Coinbase CDP, Stripe Privy, 402 Payment Required, pay for content, paid endpoint, agent payments). NOT for custom model training, Rekognition, or Comprehend.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1396,1397,1398],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1399,"slug":1400,"type":15},"LLM","llm","2026-07-25T05:30:35.20899",{"slug":1403,"name":1403,"fn":1404,"description":1405,"org":1406,"tags":1407,"stars":24,"repoUrl":25,"updatedAt":1416},"amazon-documentdb","manage Amazon DocumentDB clusters","Manages Amazon DocumentDB end-to-end — serverless-on-8.0 cluster setup, TLS\u002FVPC\u002Fdriver config, flexible-schema and vector-search data modeling, MongoDB compatibility assessment, DMS-based migration, slow-query diagnosis, major version upgrades (4.0→5.0→8.0), Well-Architected reviews (41-check wa_review.py), cost estimation, and security hardening. Retrieve for every DocumentDB question and when the user asks to set up or migrate MongoDB to AWS — DocumentDB is AWS's MongoDB-compatible managed database. Triggers: JSON document store, document database, MongoDB on AWS, Nested fields, Lambda cannot connect, TLS handshake, VPC port 27017, IAM auth, Secrets Manager, encryption at rest, $graphLookup, flexible schema, COLLSCAN, compound index, DMS migration, CDC cutover, $vectorSearch, RAG, Global Clusters, DR replication, cost sizing, audit, health check, production-readiness.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1408,1409,1410,1413],{"name":23,"slug":8,"type":15},{"name":1368,"slug":1369,"type":15},{"name":1411,"slug":1412,"type":15},"MongoDB","mongodb",{"name":1414,"slug":1415,"type":15},"NoSQL","nosql","2026-07-12T08:43:00.455878",{"slug":1418,"name":1418,"fn":1419,"description":1420,"org":1421,"tags":1422,"stars":24,"repoUrl":25,"updatedAt":1426},"amazon-dynamodb","design and debug DynamoDB data layers","Designs, reviews, and debugs DynamoDB data layers from design axioms — enumerates access patterns, chooses partition\u002Fsort keys and GSIs, decides single-table vs. multi-table, configures Streams, Global Tables, TTL, and zero-ETL integrations to OpenSearch\u002FRedshift\u002FSageMaker Lakehouse, and produces a defensible data-layer design with a monthly cost estimate and optional live validation. Applies whenever a user is designing, reviewing, or refactoring anything backed by DynamoDB — schemas, access patterns, GSIs, single- vs. multi-table choices, Streams consumers, transactional outboxes, Global Tables, zero-ETL pipelines — even when they don't say \"axioms\" or \"design review.\" Also applies when debugging hot partitions, throttling, unbounded Scans, LWW conflicts, or surprise bills on DynamoDB workloads.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1423,1424,1425],{"name":23,"slug":8,"type":15},{"name":1368,"slug":1369,"type":15},{"name":1414,"slug":1415,"type":15},"2026-07-16T06:00:37.690386",115,{"items":1429,"total":1479},[1430,1437,1444,1451,1458,1464,1471],{"slug":1260,"name":1260,"fn":1261,"description":1262,"org":1431,"tags":1432,"stars":24,"repoUrl":25,"updatedAt":1273},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1433,1434,1435,1436],{"name":1266,"slug":1267,"type":15},{"name":1269,"slug":1270,"type":15},{"name":23,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"slug":1275,"name":1275,"fn":1276,"description":1277,"org":1438,"tags":1439,"stars":24,"repoUrl":25,"updatedAt":1288},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1440,1441,1442,1443],{"name":1266,"slug":1267,"type":15},{"name":1282,"slug":1283,"type":15},{"name":1285,"slug":1286,"type":15},{"name":23,"slug":8,"type":15},{"slug":1290,"name":1290,"fn":1291,"description":1292,"org":1445,"tags":1446,"stars":24,"repoUrl":25,"updatedAt":1303},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1447,1448,1449,1450],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1298,"slug":1299,"type":15},{"name":1301,"slug":1302,"type":15},{"slug":1305,"name":1305,"fn":1306,"description":1307,"org":1452,"tags":1453,"stars":24,"repoUrl":25,"updatedAt":1318},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1454,1455,1456,1457],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1313,"slug":1314,"type":15},{"name":1316,"slug":1317,"type":15},{"slug":1320,"name":1320,"fn":1321,"description":1322,"org":1459,"tags":1460,"stars":24,"repoUrl":25,"updatedAt":1328},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1461,1462,1463],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1316,"slug":1317,"type":15},{"slug":1330,"name":1330,"fn":1331,"description":1332,"org":1465,"tags":1466,"stars":24,"repoUrl":25,"updatedAt":1343},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1467,1468,1469,1470],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1338,"slug":1339,"type":15},{"name":1341,"slug":1342,"type":15},{"slug":1345,"name":1345,"fn":1346,"description":1347,"org":1472,"tags":1473,"stars":24,"repoUrl":25,"updatedAt":1359},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1474,1475,1476,1477,1478],{"name":1266,"slug":1267,"type":15},{"name":23,"slug":8,"type":15},{"name":1353,"slug":1354,"type":15},{"name":1301,"slug":1302,"type":15},{"name":1357,"slug":1358,"type":15},114]