Skip to content

Conversation

@michaelraney
Copy link
Contributor

When specifying the sigv4 authentication via the configuration file results in exception if the region name is not provided. This is a different default behavior than the programmatic instantiation. The following change will attempt to read the aws region from the environment variables/aws sdk configuration if no region is specified.

Description of changes:
passes null if region is not found in the configuration
new test using configuration

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Currently the default behavior for specifying a connect requires region name. This should be the same as default constructor and attempt to retrieve it from the environment variables.
Fixed Error message text and indentation
Error Message cleanup
fixed spacing
@michaelraney
Copy link
Contributor Author

Resolved indentation and exception text

bhouse99 and others added 5 commits March 31, 2022 14:30
@dchenbec dchenbec merged commit ef22972 into aws:master Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants