Skip to content

Ability to get the configured region for an SdkClient #2404

Description

@etspaceman

We have a need to be able to pass meta-data like the Region in our data bodies in a programatic way. Unfortunately there is no way to retrieve the configured region today.

Describe the Feature

The ability to get the configured region for a given SdkClient. E.g.:

KinesisAsyncClient client = KinesisAsyncClient.builder().build();
Region region = client.getRegion()

Is your Feature Request related to a problem?

No

Describe alternatives you've considered

We considered using an ExecutionInterceptor for this but it would require too much of an overhaul to our library to implement this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions