You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: serialize rest json error code header (#2166)
* chore: short-circuit ssdk-incompatible integrations (#2167)
* chore: disable idempotency autofill import when not generating a client (#2181)
* Support generating non-AWS client (#2222)
* feat(config-resolver): make region optional for non-AWS client
* feat(codegen): skip integrations that are not relevant for non-AWS services
This is an initial version to get a working version of generated code
that compiles without manual edits in smithy-typescript-ssdk-demo. I
expect to make updates to this logic.
* chore(codegen): address code comments
The minor ones from adamthom-amzn#1
* fix(codegen): use SigV4Trait check instead of ServiceTrait
AddAwsRuntimeConfigTest is checking for some behaviors from
AddAwsAuthPlugin too, which was failing with missing aws.auth#sigv4
trait after my change. Added the trait for now to the test, but unit
tests will need to be added/refactored for all these changes.
* chore(codegen): move isAwsService check to utils class
* chore(codegen): code style formatting
* chore(codegen): check SigV4 trait for including region
* chore(codegen,config-resolver): refactor how endpoint is resolved for non-AWS client (#2287)
* chore(config-resolver): refactor EndpointsConfig for non AWS services
This reverts an earlier change to EndpointsConfig.ts and instead
provides the new functionality in separate
CustomEndpointsConfig.ts. This will be used as a separate plugin for
endpoint resolution in non AWS clients.
* feat(codegen): Use separate CustomEndpointsConfig for non-AWS clients
This depends on newly added CustomEndpointsConfig in
@aws-sdk/config-resolver package.
* test(config-resolver): add test for CustomEndpointsConfig (#2305)
Co-authored-by: Adam Thomas <[email protected]>
Co-authored-by: Jaykumar Gosar <[email protected]>
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsAuthPlugin.java
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfig.java
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddBuiltinPlugins.java
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddUserAgentDependency.java
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsEndpointGeneratorIntegration.java
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsPackageFixturesGeneratorIntegration.java
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsProtocolUtils.java
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsServiceIdIntegration.java
+1
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ public SymbolProvider decorateSymbolProvider(
44
44
returnsymbol;
45
45
}
46
46
47
+
// TODO: Should this WARNING be avoided somehow if client is not for an AWS service?
47
48
// If the SDK service ID trait is present, use that, otherwise fall back to
0 commit comments