-
Notifications
You must be signed in to change notification settings - Fork 916
Added a new dualstackEnabled
property to every client builder.
#2818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This option can be used to make calls be invoked against AWS endpoints which return IPv6 records. This can also be enabled via the `AWS_USE_DUALSTACK_ENDPOINT` environment variable, `aws.useDualstackEndpoint` system property, or the `use_dualstack_endpoint` profile file property: 1. This PR builds on top of the 'endpoint variants' #2808, by specifying the DUALSTACK endpoint variant whenever the customer requests dualstack to be enabled. 2. The bulk of the files in this PR are addressing the fact that we already have service configuration for enabling dualstack for S3 and S3 control. These existing options have been deprecated in favor of the new option that works for all services.
Kudos, SonarCloud Quality Gate passed! |
joviegas
reviewed
Nov 3, 2021
codegen/src/main/java/software/amazon/awssdk/codegen/poet/builder/BaseClientBuilderClass.java
Show resolved
Hide resolved
joviegas
approved these changes
Nov 3, 2021
millems
added a commit
that referenced
this pull request
Nov 9, 2021
This option can be used to make calls be invoked against AWS endpoints which return IPv6 records. This can also be enabled via the `AWS_USE_DUALSTACK_ENDPOINT` environment variable, `aws.useDualstackEndpoint` system property, or the `use_dualstack_endpoint` profile file property: 1. This PR builds on top of the 'endpoint variants' #2808, by specifying the DUALSTACK endpoint variant whenever the customer requests dualstack to be enabled. 2. The bulk of the files in this PR are addressing the fact that we already have service configuration for enabling dualstack for S3 and S3 control. These existing options have been deprecated in favor of the new option that works for all services.
millems
added a commit
that referenced
this pull request
Nov 10, 2021
* Added support for endpoint variants in endpoint metadata: FIPS and DUALSTACK. This adds the ability to resolve fips and dualstack endpoints with a "fips enabled" or "dualstack enabled" flag. E.g. ```java URI fipsEndpoint = ServiceMetadata.of(S3Client.SERVICE_METADATA_ID) .endpointFor(ServiceEndpointKey.builder() .region(Region.US_WEST_2) .tags(EndpointTag.FIPS) .build()); ``` The following public API changes were made: 1. Added `ServiceMetadata.endpointFor(ServiceEndpointKey)` 2. Added `ServiceMetadata.signingRegion(ServiceEndpointKey)` 3. Added `PartitionMetadata.hostname(PartitionEndpointKey)` 4. Added `PartitionMetadata.dnsSuffix(PartitionEndpointKey)` 5. Added a generated `EndpointTag` class, which currently contains FIPS and DUALSTACK. 6. Removed `ServiceMetadata.computeEndpoint`, because it shouldn't have ever been public, and no one should be using it. The following module changes were made: 1. Added `regions-testing` for verifying region resolution behavior that doesn't currently exist in the endpoints.json * Added a new `dualstackEnabled` property to every client builder. (#2818) This option can be used to make calls be invoked against AWS endpoints which return IPv6 records. This can also be enabled via the `AWS_USE_DUALSTACK_ENDPOINT` environment variable, `aws.useDualstackEndpoint` system property, or the `use_dualstack_endpoint` profile file property: 1. This PR builds on top of the 'endpoint variants' #2808, by specifying the DUALSTACK endpoint variant whenever the customer requests dualstack to be enabled. 2. The bulk of the files in this PR are addressing the fact that we already have service configuration for enabling dualstack for S3 and S3 control. These existing options have been deprecated in favor of the new option that works for all services. * Added support for enabling FIPS endpoints. (#2826) This option can be used to make calls be invoked against FIPS-compliant AWS endpoints. This can also be enabled via the AWS_USE_FIPS_ENDPOINT environment variable, aws.useFipsEndpoint system property, or the use_fips_endpoint profile file property:
aws-sdk-java-automation
added a commit
that referenced
this pull request
Nov 28, 2023
…d9dc62d85 Pull request: release <- staging/587f4e0e-c6ca-4ca8-990f-cf8d9dc62d85
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This option can be used to make calls be invoked against AWS endpoints which return IPv6 records. This can also be enabled via the
AWS_USE_DUALSTACK_ENDPOINT
environment variable,aws.useDualstackEndpoint
system property, or theuse_dualstack_endpoint
profile file property: