Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Aws Sdk Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-aws-sdk-knowledge-patch)
---
name: aws-sdk-knowledge-patch
description: AWS SDK
version: null
license: MIT
metadata:
author: Nevaberry
---
# AWS SDK compatibility guidance
Load this skill when updating AWS SDK dependencies, configuring clients,
or working with the service APIs indexed below. Use the quick references
for migration and configuration decisions, and the topic files for full
API details, conditions, examples, and release attributions.
## Reference index
| Reference | Topics |
| --- | --- |
| [Lifecycle, runtimes, and packaging](references/lifecycle-runtimes-and-packaging.md) | SDK maintenance and retirement, .NET migration, bundlers, TypeScript, Node.js and Python support, service admission changes |
| [Client configuration, authentication, retries, and transport](references/client-configuration-auth-and-retries.md) | Signing preferences, credential refresh, retry defaults and quotas, endpoints, CBOR, TLS, checksums, URL signing |
| [Compute, deployment, and networking](references/compute-deployment-and-networking.md) | EC2, ECS, EKS, Auto Scaling, CloudFormation, Batch, routing, load balancers, deployment tools, WorkSpaces, recovery |
| [Data, marketplace, and customer-facing services](references/data-marketplace-and-customer-services.md) | Databases, Glue, DataZone, EMR, MSK, QuickSight, Connect, Marketplace, billing, media, IoT, location |
| [Observability, security, and governance](references/observability-security-and-governance.md) | CloudWatch, IAM, STS, Cognito, keys, certificates, GuardDuty, WAF, organization policies, resource discovery |
| [Serverless, AI runtimes, storage, and CDK](references/serverless-ai-storage-and-cdk.md) | Lambda, AgentCore, Agent Registry, Bedrock, SageMaker, S3, storage transfers, Kinesis, EventBridge, MWAA, CDK |
## Breaking changes and deprecations
### JavaScript packaging and removed clients
Starting in 3.1076.0, configure bundlers to resolve the SDK's `dist-es`
build. The `dist-cjs` build dropped bundler support, and 3.1077.0 removes
the remaining React Native instructions for bundling it.
The 3.1077.0 release removes `@aws-sdk/client-iot-events`,
`@aws-sdk/client-iot-events-data`, `@aws-sdk/client-panorama`, and
`@aws-sdk/client-simspaceweaver` from the SDK release.
Version 3.1155.0 drops `@aws-sdk/client-finspace`,
`@aws-sdk/client-finspace-data`, and `@aws-sdk/client-tnb` following their
service shutdowns.
### .NET package and collection migration
Upgrade every `AWSSDK.*` package reference to 4.0.0 or later together.
Mixing V3 and V4 service packages in one application causes conflicts
with the shared `AWSSDK.Core` dependency.
Request and response collection properties default to `null`, so check
for null before iterating them. To retain V3's empty-collection
initialization during migration, set the static switch below.
```csharp
Amazon.AWSConfigs.InitializeCollections = true;
```
### Maintenance and retirement
Maintenance releases are limited to critical bug fixes and security
updates, so support for new Regions and service API changes freezes when
maintenance begins. End of support stops releases, and published versions
remain available through public package managers.
The lifecycle reference gives the retirement dates and statuses for .NET,
Go, JavaScript, Tools for PowerShell, and CLI, plus runtime support schedules.
### API migrations and limits
For new Marketplace SaaS integrations, `ResolveCustomer` omits
`CustomerIdentifier`. Use `CustomerAWSAccountId` and `LicenseArn` in
`BatchMeterUsage` for these integrations.
Read the guardrails list in GuardDuty AI Protection findings. The singular
`GuardrailArn` and `GuardrailVersion` fields are deprecated.
RTB Fabric `GetResponderGateway` removed `inboundLinksCount`; read
`linksRequestedCount` in its place.
The `resources` field in EKS `EncryptionConfig` is deprecated. Clusters
running Kubernetes 1.28 or later apply envelope encryption to all
Kubernetes API data by default.
For EMR on EKS, the upper limit for both `maxInQueueDepth` and
`maxConcurrency` drops from 10,000 to 1,000.
STS raises the maximum session token size to 4,096 bytes and removes the
packed policy size limit. `PackedPolicySize` is deprecated. Use
`MinimumSessionTokenSize` to request a minimum and read `SessionTokenSize`
and `SessionTokenUtilization` from the response.
## Client configuration and transport
### Authentication preferences
Set `auth_scheme_preference` in shared config,
`AWS_AUTH_SCHEME_PREFERENCE` in the environment, or
`aws.authSchemePreference` as a JVM property in Java 2.x and Kotlin.
The SDK tries comma-separated `sigv4`, `sigv4a`, and `httpBearerAuth`
choices in listed order, ignoring spaces and tabs. If unset, or if the
service offers none of the preferred schemes, service-model defaults apply.
Set `sigv4a_signing_region_set` in shared config or
`AWS_SIGV4A_SIGNING_REGION_SET` in the environment. The comma-separated
Region list supplies the default only when SigV4a is selected. If unset,
the request determines the Region set.
These signing settings are supported in CLI v2 and the Rust SDK. Go v1,
Java 1.x, JavaScript 2.x, .NET 3.x, and Tools for PowerShell V4 lack support.
Their newer major versions support the settings.
### Endpoints, credentials, and protocols
The STS rollout announcement set `regional` as the new default for the
Python, PHP, C++, and .NET SDKs and Tools for PowerShell. Set `legacy`
where supported to keep previous endpoint behavior. CLI v1 defaults to
the global endpoint.
Starting in 3.1159.0, cached S3 Express sessions are scoped by caller
identity. A client using multiple identities keeps separate sessions.
Starting in 3.1167.0, `@aws-sdk/credential-provider-login` refreshes
credentials in the sign-in Region recorded in the cache.
Starting in 3.1162.0, generated clients set a service-specific default
socket timeout. The client reference lists Smithy RPC v2 CBOR additions
and removals by client; account for CBOR when decoding or mocking traffic
from the clients identified there.
The planned post-quantum TLS rollout for public HTTPS endpoints requires
TLS 1.3 or later and a client TLS stack supporting hybrid ECDH and ML-KEM
key agreement. SDK and CLI deployments may need TLS dependency updates.
## Retry behavior
The announced November 2026 rollout changes `standard` and `adaptive`
behavior, including explicitly selected modes. SDKs and tools that
defaulted to `legacy`, including Java 2.x, Python, Ruby, PHP, C++, and the
CLI, move to `standard` by default. JavaScript v3 enables the behavior
by default in 3.1166.0.
On releases with opt-in support, enable the update before rollout with:
```sh
export AWS_NEW_RETRIES_2026=true
```
After rollout the flag is ignored. Override individual settings such as
`max_attempts` or backoff, or set `AWS_RETRY_MODE=legacy` where supported
to restore legacy behavior.
The updated quota has 500 tokens, charging 14 for a transient-error retry
and 5 for a throttling retry. Their jittered backoffs start from 50 ms and
1,000 ms base delays, respectively. Quota exhaustion can stop retries
before the attempt limit.
DynamoDB and DynamoDB Streams default to four total attempts and a 25 ms
transient-error base delay. Long-poll operations such as SQS
`ReceiveMessage` apply a backoff delay before returning an error when the
retry quota is depleted.
## Deployment and service controls
CloudFormation `CreateStack` and `UpdateStack` run pre-deployment validation
automatically unless `DisableValidation: true` is passed. Set
`DeploymentConfig` to opt into Express mode, which completes stack
operations once resource configuration is applied.
Set `ForceRollback` in `ContinueUpdateRollback` to complete rollback when
individual resources cannot be reverted. CloudFormation records those
resources as skipped.
ECS rolling deployments can configure the percentage of tasks that must
be healthy for success. Choose `BLOCKING` to wait for cleanup of previous
service revisions or `DEFERRED` to run cleanup asynchronously.
## Storage and data operations
Version 3.1152.0 publishes `@aws-sdk/lib-transfer-manager` as a preview
package. The storage reference covers directory uploads, file and directory
downloads, worker-thread downloads, the opt-in `O_DIRECT` path, byte-range
handling, checksums, and `UploadPart` retries with their release conditions.
Create a dedicated S3 vector bucket and index through `s3vectors`. Set
the dimension to the embedding model's output length and choose cosine
or Euclidean distance. An index supports up to 2 billion vectors;
`--top-k` accepts up to 100. A vector supports 50 metadata keys, with up
to 10 designated non-filterable at index creation. Metadata prefiltering
for filtered queries can improve recall.
DynamoDB batch-get paginators are available for both the low-level and
document clients in 3.1155.0. Use a paginator to iterate results across
requests when a batch has unprocessed keys. `ExportTableToPointInTime`
accepts `FilterExpression`, `ProjectionExpression`, and
`KeyConditionExpression` to select the data written to S3.
## Lambda durable execution and AgentCore
Durable execution is a creation-time setting. Bundle the durable execution
SDK with the deployment and use a supported runtime, such as the launch
runtimes Node.js 22/24 and Python 3.13/3.14.
Replay starts at the handler entry point and skips completed steps.
Exceptions inside a step trigger its retry strategy; unhandled exceptions
outside a step fail the execution. `context.logger` suppresses duplicate
logs during replay.
Invoke a published function version to keep replay on the same code.
Reuse the same durable execution name to make repeated invocations return
the existing execution. The serverless reference includes callback,
suspension, local-testing, and status-event guidance.
AgentCore Gateway exposes Smithy service models, Lambda functions, and
OpenAPI specifications through MCP. Inbound caller authorization and
outbound authentication to the target are configured independently.
In limited preview, a Gateway can disable pagination on MCP tool listing
and return the entire list in one response.
Adding a strategy to an existing AgentCore Memory store applies it to new
events. Use `IngestData` to write data directly to long-term memory.
The starter toolkit enables observability in its generated configuration
by default. Runtime trace delivery to CloudWatch requires enabling
account-wide Transaction Search and granting the execution role telemetry
permissions.