lib/aws-sdk-datazone/endpoints.rb in aws-sdk-datazone-1.16.0 vs lib/aws-sdk-datazone/endpoints.rb in aws-sdk-datazone-1.17.0

- old
+ new

@@ -725,9 +725,22 @@ endpoint: endpoint, ) end end + class GetEnvironmentCredentials + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::DataZone::EndpointParameters.new( + region: context.config.region, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetEnvironmentProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end