lib/aws-sdk-transfer/endpoints.rb in aws-sdk-transfer-1.75.0 vs lib/aws-sdk-transfer/endpoints.rb in aws-sdk-transfer-1.76.0
- old
+ new
@@ -682,9 +682,23 @@
endpoint: endpoint,
)
end
end
+ class TestConnection
+ def self.build(context)
+ unless context.config.regional_endpoint
+ endpoint = context.config.endpoint.to_s
+ end
+ Aws::Transfer::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: endpoint,
+ )
+ end
+ end
+
class TestIdentityProvider
def self.build(context)
unless context.config.regional_endpoint
endpoint = context.config.endpoint.to_s
end