# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::ControlTower # @api private module Endpoints class CreateLandingZone 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 DeleteLandingZone 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 DisableBaseline 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 DisableControl 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 EnableBaseline 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 EnableControl 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 GetBaseline 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 GetBaselineOperation 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 GetControlOperation 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 GetEnabledBaseline 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 GetEnabledControl 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 GetLandingZone 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 GetLandingZoneOperation 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 ListBaselines 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 ListEnabledBaselines 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 ListEnabledControls 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 ListLandingZones 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 ListTagsForResource 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 ResetEnabledBaseline 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 ResetLandingZone 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 TagResource 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 UntagResource 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 UpdateEnabledBaseline 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 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 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 end end