lib/aws-sdk-controltower/endpoints.rb in aws-sdk-controltower-1.13.0 vs lib/aws-sdk-controltower/endpoints.rb in aws-sdk-controltower-1.14.0

- old
+ new

@@ -206,9 +206,23 @@ endpoint: endpoint, ) end end + class UpdateEnabledControl + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ControlTower::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 UpdateLandingZone def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end