# 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::AppConfig # @api private module Endpoints class CreateApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 CreateConfigurationProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 CreateDeploymentStrategy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 CreateEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 CreateExtension def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 CreateExtensionAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 CreateHostedConfigurationVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 DeleteApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 DeleteConfigurationProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 DeleteDeploymentStrategy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 DeleteEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 DeleteExtension def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 DeleteExtensionAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 DeleteHostedConfigurationVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetConfigurationProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetDeployment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetDeploymentStrategy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetExtension def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetExtensionAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 GetHostedConfigurationVersion def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ListApplications def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ListConfigurationProfiles def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ListDeploymentStrategies def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ListDeployments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ListEnvironments def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ListExtensionAssociations def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ListExtensions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ListHostedConfigurationVersions def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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::AppConfig::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 StartDeployment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 StopDeployment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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::AppConfig::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::AppConfig::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 UpdateApplication def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 UpdateConfigurationProfile def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 UpdateDeploymentStrategy def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 UpdateEnvironment def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 UpdateExtension def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 UpdateExtensionAssociation def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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 ValidateConfiguration def self.build(context) unless context.config.regional_endpoint endpoint = context.config.endpoint.to_s end Aws::AppConfig::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