Comments (2)
It seems we had a middleware at the client level (with APIOptions
) that was misbehaving. For the record, the middleware was like this
sdkmiddleware.InitializeMiddlewareFunc(MiddlewareID, func(ctx context.Context, in sdkmiddleware.InitializeInput, next sdkmiddleware.InitializeHandler) (out sdkmiddleware.InitializeOutput, sdkMetadata sdkmiddleware.Metadata, nextErr error) {
err := doSomething(ctx) // So when the context was canceled, the `err` is valued
if err != nil { // The `err` is then evaluated
return // But we return the named output, not yet initialized, so `nextErr` is nil, and `out` is empty (untyped nil interface)
}
return next.HandleInitialize(ctx, in)
})
It might be good to have some safeguards on the SDK side, but I close it on my side because no longer relevant.
from aws-sdk-go-v2.
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
from aws-sdk-go-v2.
Related Issues (20)
- Missing json => dynamodbav v2 migration HOT 1
- DynamoDB:UpdateItem ReturnValuesOnConditionCheckFailure flag does not work HOT 5
- Get Filtered Repositories from ECR(short issue description) HOT 2
- S3: False Request and 'Object Not Found' Error When Bucket Name Matches Object Key Prefix and usePathStyle is False HOT 2
- S3: `DeleteObjects` Creates File Versions and Delete Markers Regardless of File Existence with `ObjectLockEnabledForBucket` Set to True HOT 4
- Include imitation of 10 message attributes field for sns.PublishInput in godoc HOT 2
- SSO Cache filename should be based on `sso_session` in addition to `sso_start_url` HOT 4
- PresignedPutObject ignores ChecksumAlgorithm HOT 2
- No paginator for DescribeLockedSnapshots? HOT 2
- [inspector2] GetConfiguration is missing the `ec2Configuration` object HOT 3
- Provide io.Reader wrapper around S3 SelectObjectContentEventStream
- Expand Codebuild to accept the new WebhookFilterType of `WORKFLOW_JOB_QUEUED` HOT 3
- How to set a field to NULL using the Redshift Data API? HOT 2
- Bad request when describe key pairs with empty filters slice HOT 13
- EC2Query empty list serialization behavior is incorrect HOT 1
- S3: intermittent TLS 1.3 handshake failures HOT 2
- Support generic SigV4 and SigV4A signers
- package docs for github.com/aws/aws-sdk-go-v2/aws/signer/v4 are malformed HOT 2
- Something changed from version v1.22.2 to v1.26.1 and I can't find what HOT 1
- Add public constant values for Redshift Cluster - ClusterStatus HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-go-v2.