Comments (8)
This also occurs in efs
type AccessPointAlreadyExists
(Ken Gilmer - Feb 17, 2021)
from smithy-kotlin.
this is interesting. We have a high potential of collision with exception message
parameter as well that we ought to consider.
Perhaps we should have a set of "runtime reserved" words that we maintain to rename members if they collide. Highest potential for collisions is going to be in exceptions since they inherit from a hierarchy. (Aaron Todd - Feb 17, 2021)
from smithy-kotlin.
This also occurs in macie
, example aws.sdk.kotlin.macie.model.InternalException
:
class InternalException private constructor(builder: BuilderImpl) : AwsServiceException() {
/**
* Error code for the exception
*/
val errorCode: String? = builder.errorCode
override val message: String = builder.message!!
``` (Ken Gilmer - Feb 17, 2021)
from smithy-kotlin.
This also occurs in licensemanager
aws.sdk.kotlin.licensemanager.model.FailedDependencyException
:
class FailedDependencyException private constructor(builder: BuilderImpl) : AwsServiceException() {
val errorCode: String? = builder.errorCode
...
``` (Ken Gilmer - Feb 17, 2021)
from smithy-kotlin.
Occurs in identiystore
aws.sdk.kotlin.identitystore.model.AccessDeniedException
for the shadowed requestId
property:
class AccessDeniedException private constructor(builder: BuilderImpl) : AwsServiceException() {
override val message: String = builder.message!!
/**
* <p>The identifier for each request. This value is a globally unique ID that is generated by the Identity Store service for each sent request, and is then returned inside the exception if the request fails.</p>
*/
val requestId: String? = builder.requestId
``` (Ken Gilmer - Feb 18, 2021)
from smithy-kotlin.
Also inspector
: aws.sdk.kotlin.inspector.model.AccessDeniedException
, shadowed type errorCode
:
class AccessDeniedException private constructor(builder: BuilderImpl) : AwsServiceException() {
/**
* <p>You can immediately retry your request.</p>
*/
val canRetry: Boolean? = builder.canRetry
/**
* <p>Code that indicates the type of error that is generated.</p>
*/
val errorCode: AccessDeniedErrorCode? = builder.errorCode
``` (Ken Gilmer - Feb 18, 2021)
from smithy-kotlin.
datasync
has the issue in aws.sdk.kotlin.datasync.model.InternalException
shadowing errorCode
(Ken Gilmer - Feb 18, 2021)
from smithy-kotlin.
directoryservice
has this issue in aws.sdk.kotlin.directoryservice.model.AccessDeniedException
with shadowed property requestId
(Ken Gilmer - Feb 18, 2021)
from smithy-kotlin.
Related Issues (20)
- Invalid signatures due to URL encoding changes (0.36.1-beta vs 1.0.0+) HOT 7
- Generic service-stub codegen
- Url.parse(url: String) strips @ in scenarios it shouldn't
- Signing issue when pre-computed hash provided in x-amz-content-sha256
- Union members targeting smithy.api#Unit generates extraneous structures HOT 1
- Document/disable OkHttp's automatic response decompression HOT 2
- Map shapes targeting enum keys are generated as kotlin.String HOT 1
- Support for Java interop HOT 2
- IllegalStateException "Unbalanced enter/exit" in okio AsyncTimeout
- Smithy is not compatible with OkHttp 5.0.0-alpha.14 HOT 1
- Incorrect "http.nonProxyHosts" property name HOT 1
- Telemetry provider implementation for micrometer HOT 4
- https.nonProxyHosts does not handle * wildcard HOT 1
- Check for empty proxy hosts HOT 2
- XML protocols don't generate list deserializers properly for old-style enum elements
- Deserializer for union member `Map<*, List<Enum>>` generates incorrectly
- Unions with member names matching auto-imported Kotlin symbols fail to codegen correctly
- Idempotency tokens should be ignored when applied to a nested shape
- Codegen doesn't properly handle unions with a member that has the same name as the union
- Equality and hashcode are incorrectly code generated for union members with nested blobs
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 smithy-kotlin.