aws-sdk-kotlin
                                
                                 aws-sdk-kotlin copied to clipboard
                                
                                    aws-sdk-kotlin copied to clipboard
                            
                            
                            
                        Consider returning service-generated requestId in all response types, not just errors
The Ruby v2 SDK does this, and they say this is to help customers debug problems that may not be related to service exceptions.
Acceptance criterea:
- determine if anything in our architeture would prevent this / other compat concerns
- get some customer or SDK team data about if this is something we should add to our SDK
- provide a design
I think this is something we should do FWIW.
Java V2 does as well. All responses inherit from AwsResponse (they also generate a base class response type for the service).
     java.lang.Object
        software.amazon.awssdk.core.SdkResponse
            software.amazon.awssdk.awscore.AwsResponse
                software.amazon.awssdk.services.lambda.model.LambdaResponse
                    software.amazon.awssdk.services.lambda.model.AddPermissionResponse 
AwsResponse contains a field AwsResponseMetadata
Also there is a WIP design doc that touches on this
This information will be made available through inceptors eventually, not directly in response types.
⚠️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.