lib/aws-sdk-mediaconvert/plugins/endpoints.rb in aws-sdk-mediaconvert-1.121.0 vs lib/aws-sdk-mediaconvert/plugins/endpoints.rb in aws-sdk-mediaconvert-1.122.0

- old
+ new

@@ -23,19 +23,20 @@ end # @api private class Handler < Seahorse::Client::Handler def call(context) - # If endpoint was discovered, do not resolve or apply the endpoint. unless context[:discovered_endpoint] params = parameters_for_operation(context) endpoint = context.config.endpoint_provider.resolve_endpoint(params) context.http_request.endpoint = endpoint.url apply_endpoint_headers(context, endpoint.headers) + + context[:endpoint_params] = params + context[:endpoint_properties] = endpoint.properties end - context[:endpoint_params] = params context[:auth_scheme] = Aws::Endpoints.resolve_auth_scheme(context, endpoint) @handler.call(context) end